:root {
  --paper: #faf7f1;
  --white: #fffdf8;
  --ink: #251c1c;
  --muted: #615250;
  --berry: #351b23;
  --rose: #eab6a4;
  --line: #dfd3ca;
  --serif: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; }
button, input, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #90634d; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--serif); font-weight: 500; line-height: 1.07; }
h2 { font-size: clamp(2.3rem, 5vw, 4.05rem); letter-spacing: -.06em; }
h3 { font-size: 1.55rem; letter-spacing: -.025em; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 5rem, 1280px); margin-inline: auto; }
.preview { text-align: center; font-size: .875rem; color: var(--white); background: var(--berry); padding: .4rem 1rem; }
.skip { position: fixed; top: 1rem; left: 1rem; padding: .75rem; background: var(--white); z-index: 2; transform: translateY(-180%); }
.skip:focus { transform: none; }
.masthead { padding: .85rem clamp(1.25rem, 4vw, 4.2rem); min-height: 75px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.wordmark { text-decoration: none; font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -.065em; white-space: nowrap; }
.wordmark span { color: #9a5746; }
nav { display: flex; align-items: center; gap: 1.9rem; }
nav a, .site-footer > a:last-child { text-decoration-thickness: 1px; text-underline-offset: .28em; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.bag { justify-self: end; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; gap: .55rem; padding: .5rem 0 .5rem .5rem; }
.bag span { min-width: 1.6rem; min-height: 1.6rem; padding-inline: .2rem; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .875rem; }
.hero { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); min-height: min(43rem, 79vh); background: var(--berry); color: var(--white); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 5vw, 5.5rem); gap: 1.5rem; }
.overline { text-transform: uppercase; font-size: .875rem; letter-spacing: .15em; font-weight: 600; }
.hero-copy .overline, .hero h1 span { color: var(--rose); }
.hero h1 { font-size: clamp(3rem, 5.9vw, 6rem); line-height: .95; letter-spacing: -.07em; }
.hero-copy > p:not(.overline) { max-width: 32ch; color: #f1dfd6; margin-bottom: .4rem; }
.hero-visual { display: block; min-width: 0; min-height: 0; position: relative; background: #51303a; }
.hero-visual img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 67% 49%; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 3rem; padding: .7rem 1.25rem; border: 1px solid transparent; text-decoration: none; cursor: pointer; border-radius: 2px; font-weight: 600; }
.button.light { background: var(--white); color: var(--berry); }
.button.light:hover { background: #f1d8cc; }
.button.solid { background: var(--berry); color: var(--white); }
.button.solid:hover:not(:disabled) { background: #542a37; }
.button:disabled { opacity: .52; cursor: default; }
.full { width: 100%; }
.collection { padding-block: clamp(3rem, 7vw, 6.75rem); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(16rem, 26rem); align-items: end; gap: 1.2rem 2.5rem; }
.section-heading .overline, .model-note .overline { color: #874f42; margin-bottom: .7rem; }
.section-heading > p, .muted { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.65rem; }
.filters button { border: 1px solid var(--line); background: transparent; padding: .45rem .9rem; border-radius: 99px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--berry); color: var(--white); border-color: var(--berry); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem 1rem; }
.product { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.product button { background: transparent; border: 0; padding: 0; width: 100%; text-align: left; cursor: pointer; }
.product button:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.product-media { min-height: 10rem; aspect-ratio: 1.5; background: #eaded3; color: #614c49; display: grid; place-items: center; text-align: center; padding: 1.2rem; margin-bottom: .95rem; border: 1px solid #e2d4c9; }
.product[data-category="punto"] .product-media { background: #ded4c7; }
.product[data-category="accesorios"] .product-media { background: #ead9d5; }
.product-media.has-photo { aspect-ratio: 3 / 4; padding: 0; overflow: hidden; }
.product-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }
.item-price { margin-top: .42rem; color: var(--berry); font-weight: 650; }
.detail-photo { padding: .65rem; text-align: center; background: #eaded3; }
.detail-photo.has-photo { padding: 0; background: transparent; }
.detail-photo img { width: 100%; max-height: 31rem; object-fit: contain; background: #eaded3; }
.product small { display: block; color: var(--muted); margin-bottom: .25rem; font-size: .875rem; }
.model-note { padding-block: 3.6rem; background: #eadbd1; }
.model-layout { display: grid; grid-template-columns: 1fr minmax(16rem, 29rem); gap: 1.1rem 2.5rem; align-items: center; }
.model-layout > p { max-width: 44ch; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 7rem; padding: 1.25rem clamp(1.25rem, 4vw, 4.2rem); }
.drawer { width: min(33rem, 100%); height: 100dvh; max-height: none; max-width: none; margin: 0 0 0 auto; padding: 0; border: 0; color: var(--ink); background: var(--white); }
.drawer::backdrop { background: #22151acd; }
.drawer-bar { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.6rem; border-bottom: 1px solid var(--line); }
.close { border: 0; background: transparent; cursor: pointer; padding: .35rem .55rem; font-size: 1.7rem; line-height: 1; }
.drawer-body { padding: 1.6rem; }
.drawer-body h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 1rem; }
.drawer-body p:not(:empty) { margin-bottom: .75rem; }
.drawer-body dl { line-height: 1.55; }
.drawer-body dt { font-weight: 600; margin-top: .8rem; }
.drawer-body dd { margin: .1rem 0 .5rem; color: var(--muted); }
.cart-line { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding-block: .9rem; border-bottom: 1px solid var(--line); }
.cart-line button { border: 0; background: transparent; text-decoration: underline; cursor: pointer; }
.subtotal { display: flex; justify-content: space-between; gap: .6rem; margin-block: 1rem; }
.result { background: #eee4d6; padding: .9rem; margin-top: .9rem; }
.sr-only { width: 1px; height: 1px; overflow: hidden; position: absolute; clip-path: inset(50%); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { grid-template-columns: 1fr auto; padding: .75rem 1rem; gap: .25rem .85rem; }
  .masthead nav { grid-row: 2; grid-column: 1/-1; gap: 1.35rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 2.25rem 1.2rem 2rem; gap: 1.1rem; }
  .hero-visual { width: 100%; height: clamp(17rem, 80vw, 32rem); min-height: 0; }
  .section-heading, .model-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem .75rem; }
}
@media (max-width: 395px) {
  .product-media { min-height: 7rem; padding: .7rem; }
  .product h3 { font-size: 1.26rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

