:root {
  --ink: #351326;
  --cream: #fff7e9;
  --orange: #f34618;
  --yellow: #ffb52d;
  --line: #e8d8c7;
  --muted: #6c505b;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.5 "DM Sans", Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 3px solid #1273bb; outline-offset: 3px; }
header { background: var(--cream); position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); padding: 10px max(5%, calc((100% - 1370px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 900; white-space: nowrap; }
.brand img { width: 64px; height: 58px; object-fit: contain; border-radius: 9px; }
nav { display: flex; gap: 30px; font-size: 14px; font-weight: 700; }
nav a:hover, footer a:hover { text-decoration: underline; }
.bag, .primary, .secondary, .add { min-height: 44px; border-radius: 8px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; }
.bag { background: var(--ink); color: white; padding: 8px 12px; font-size: 14px; }
.bag span { background: var(--yellow); color: var(--ink); border-radius: 20px; min-width: 23px; padding: 1px 5px; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 480px; background: var(--ink); color: var(--cream); }
.hero-copy { padding: clamp(37px, 6vw, 95px) 7vw; align-self: center; }
.hero .tag { color: var(--yellow); }
.tag { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1 { font: 900 clamp(49px, 6.8vw, 105px)/.98 "Archivo Black", Arial, sans-serif; letter-spacing: -.065em; margin: 18px 0; }
h1 em { color: var(--yellow); font-style: normal; }
.hero-copy > p:not(.tag) { max-width: 350px; margin-bottom: 24px; color: #f6ddcd; }
.primary { background: var(--yellow); color: var(--ink); padding: 12px 19px; }
.primary:hover { background: #ffc850; }
.hero-photo { width: 100%; height: 100%; min-height: 100%; object-fit: cover; display: block; }
.shop { max-width: 1515px; margin: auto; padding: 65px 5% 75px; }
.shop-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.shop-title .tag, .payments .tag { color: #9d310e; }
h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.06; letter-spacing: -.045em; margin-top: 8px; }
.search { font-size: 13px; font-weight: 700; display: grid; gap: 4px; min-width: 225px; }
input, select { border: 1px solid #c9afa7; background: white; border-radius: 7px; min-height: 42px; padding: 8px 12px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0; }
.filters button { border: 1px solid #c9afa7; border-radius: 24px; padding: 8px 13px; background: transparent; font-size: 13px; font-weight: 700; }
.filters button[aria-pressed=true] { color: white; background: var(--ink); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.product { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: white; display: flex; flex-direction: column; }
.product-image { aspect-ratio: 1; background-image: url(assets/productos.webp); background-size: 300% 200%; background-repeat: no-repeat; }
.product-details { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product .tag { color: #913315; font-size: 9px; }
.product h3 { font-size: 20px; line-height: 1.15; }
.description { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.product-bottom { margin-top: auto; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.product-bottom strong { margin-right: auto; }
.product-bottom select { min-height: 36px; padding: 3px; font-size: 13px; }
.add { background: #ffe9d6; padding: 6px 10px; font-size: 12px; min-height: 38px; }
.add:hover { background: #ffdbb8; }
.payments { background: #ffead1; padding: 50px 5%; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.payments p:not(.tag) { margin-top: 12px; color: var(--muted); }
.methods { display: flex; flex-wrap: wrap; gap: 10px; }
.methods span { border-radius: 8px; background: white; padding: 10px 12px; font-weight: 700; white-space: nowrap; }
.methods b { color: #993412; margin-right: 4px; }
footer { background: var(--ink); color: var(--cream); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px 5%; font-size: 13px; }
dialog { color: var(--ink); border: 0; border-radius: 14px; padding: 0; width: min(94vw,510px); max-height: 90dvh; background: var(--cream); }
dialog::backdrop { background: #240e20b0; }
.cart-head { position: sticky; top: 0; z-index: 1; padding: 18px 22px; background: var(--cream); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 28px; margin: 0; }
.cart-body { padding: 20px 22px; }
.cart-row, .total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-row small { display: block; color: var(--muted); }
.quantity { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.icon { min-width: 36px; min-height: 36px; padding: 3px; border: 1px solid #c9afa7; background: white; border-radius: 6px; font-weight: 800; }
.total { margin-bottom: 16px; font-size: 17px; }
#checkout label { display: block; font-weight: 700; margin-bottom: 6px; }
#checkout select, .full { width: 100%; }
.help { color: var(--muted); font-size: 13px; margin: 10px 0; }
.secondary { background: white; border-color: #c9afa7; padding: 9px; margin-top: 8px; }
.toast { position: fixed; bottom: 16px; right: 16px; z-index: 3; background: var(--ink); color: white; border-radius: 8px; padding: 10px 15px; opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.visible { opacity: 1; }
@media (max-width: 950px) { .products { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 650px) {
  header { gap: 10px; }
  nav { display: none; }
  .brand { font-size: 15px; gap: 6px; }
  .brand img { width: 50px; height: 46px; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 3/2; height: auto; }
  .hero-copy { padding: 32px 5%; }
  .shop { padding-top: 42px; }
  .shop-title { display: grid; align-items: start; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product-details { padding: 10px; }
  .product h3 { font-size: 17px; }
  .payments { align-items: start; flex-direction: column; }
}
@media (max-width: 340px) { .products { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.catalog-note { margin-bottom: 20px; color: var(--muted); }
.product-brand { aspect-ratio: 1; display: grid; place-items: center; text-align: center; padding: 12px; background: #ffe9d6; font-weight: 900; font-size: clamp(19px, 3vw, 34px); }
.catalog-source { text-decoration: underline; font-size: 12px; }
