:root {
  color-scheme: light;
  --ink: #211c17;
  --muted: #655b50;
  --gold: #805c2d;
  --gold-dark: #69481f;
  --line: #e7dccb;
  --paper: #fbf8f2;
  --display: Georgia, "Times New Roman", serif;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .52; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9a7138; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h2 { font: 400 clamp(1.8rem, 3.5vw, 2.7rem)/1.06 var(--display); letter-spacing: -.035em; }
.container { width: min(1260px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; left: 12px; top: 12px; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.announcement { background: var(--ink); color: white; text-align: center; font-size: .875rem; font-weight: 600; padding: 8px 10px; }
.announcement span { color: #e4bd7b; margin-inline: 6px; }
.site-header { background: #fffdfa; border-bottom: 1px solid var(--line); }
.header-row, .header-actions, .wordmark, .main-nav { display: flex; align-items: center; }
.header-row { min-height: 84px; justify-content: space-between; gap: 20px; }
.wordmark { gap: 9px; flex: none; }
.brand-symbol { width: 45px; height: 50px; object-fit: contain; mix-blend-mode: multiply; }
.brand-name { width: 128px; height: auto; mix-blend-mode: multiply; }
.main-nav { gap: clamp(13px, 1.75vw, 28px); font-size: .92rem; font-weight: 650; }
.main-nav a:hover, .footer a:hover { color: var(--gold); }
.main-nav .nav-offers { color: var(--gold-dark); font-weight: 750; }
.header-actions { gap: 5px; }
.icon-button, .cart-button { display: inline-flex; align-items: center; justify-content: center; border: 0; gap: 8px; min-height: 42px; }
.icon-button { width: 42px; border-radius: 50%; background: transparent; }
.icon-button:hover, .icon-button[aria-pressed="true"] { background: #f3e9d6; color: var(--gold-dark); }
.icon-button[aria-pressed="true"] use[href="#i-heart"] { fill: currentColor; }
.cart-button { padding: 5px 9px 5px 12px; border-radius: 22px; background: #f1e6d3; font-weight: 700; font-size: .88rem; }
.cart-button:hover { background: #e9d8bb; }
#cart-count { min-width: 23px; padding: 2px 5px; border-radius: 15px; color: white; background: var(--gold); text-align: center; }

.showcase { margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fffdfa; }
.showcase-slide { display: grid; grid-template-columns: .94fr 1.06fr; min-height: 465px; }
.showcase-slide.espresso { color: #fff8eb; background: radial-gradient(ellipse at 2% 100%, #403025, #211b16 64%); }
.showcase-slide.champagne { background: #f4e8d3; }
.showcase-copy { position: relative; padding: clamp(35px, 5.3vw, 76px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.showcase-copy::before { content: ""; position: absolute; inset: 17px 14px 17px 17px; border: 1px solid #ae8a5480; pointer-events: none; }
.showcase-kicker, .product-tag { display: inline-block; padding: 5px 10px; border-radius: 5px; font-size: .8rem; font-weight: 750; }
.new-tag { color: #674721; background: #f4e8d1; }
.sale-tag { color: #713324; background: #f7e4db; }
.showcase-copy h2 { max-width: 13ch; font-size: clamp(2.7rem, 5.5vw, 5.15rem); line-height: .93; letter-spacing: -.06em; margin-block: 13px; text-wrap: balance; }
.showcase-description { max-width: 31ch; line-height: 1.45; }
.showcase-copy .product-price { margin-top: 14px; font-size: 1.4rem; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.espresso .showcase-actions .primary { background: #e3c494; color: #271e16; }
.espresso .showcase-actions .primary:hover { background: #f0d8ae; }
.espresso .showcase-actions .secondary { background: transparent; border-color: #c9a56e; color: #fff8eb; }
.espresso .showcase-actions .secondary:hover { background: #493723; }
.showcase-photo { position: relative; width: 100%; min-width: 0; padding: 0; border: 0; background: #efe1d6; overflow: hidden; }
.showcase-photo:focus-visible { outline-offset: -5px; }
.showcase-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.showcase-portrait { background: linear-gradient(130deg, #6b513a, #aa8b63 52%, #503c2c); }
.showcase-portrait img { inset: 0; width: min(77%, 465px); margin-inline: auto; object-position: center 9%; }
.showcase-portrait::after { content: ""; position: absolute; inset: 17px; border: 1px solid #fff2d299; pointer-events: none; }
.showcase-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 15px; }
.showcase-dots, .showcase-navigation { display: flex; align-items: center; gap: 4px; }
.showcase-dot { display: grid; place-items: center; min-width: 36px; min-height: 42px; border: 0; padding-inline: 4px; background: transparent; border-radius: 20px; }
.showcase-dot span { width: 8px; height: 8px; border-radius: 8px; background: #b9a990; }
.showcase-dot[aria-current="true"] span { width: 24px; background: var(--gold); }
.showcase-navigation .icon-button { background: #f2e9db; color: var(--gold-dark); }
.showcase-navigation .icon-button:hover { background: #ebdbc2; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 20px; border: 1px solid transparent; border-radius: 25px; font-weight: 720; text-align: center; }
.primary { color: white; background: var(--gold); }
.primary:hover:not(:disabled) { background: var(--gold-dark); }
.secondary { background: white; border-color: var(--line); }
.secondary:hover { background: #faf2e4; border-color: #d9c29e; }

.whatsapp-help { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #f6eddf; }
.help-icon { display: grid; place-items: center; flex: 0 0 43px; height: 43px; border-radius: 50%; color: var(--gold-dark); background: #ecdbbe; }
.whatsapp-help h2 { font-size: 1.4rem; }
.whatsapp-help p { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.whatsapp-help .button { margin-inline-start: auto; flex: none; }

.collection { margin-top: 34px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.category { display: flex; overflow: hidden; isolation: isolate; align-items: center; min-height: 87px; border: 1px solid var(--line); border-radius: 9px; position: relative; }
.category span { padding: 11px 12px; font: 400 clamp(1rem, 1.65vw, 1.26rem)/1.05 var(--display); z-index: 1; }
.category img { position: absolute; right: 0; width: 46%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .2s ease; }
.category:hover img { transform: scale(1.08); }
.lilac, .lemon, .pink, .peach, .mint { background: #f3eade; }

.catalog { margin-block: 43px 53px; scroll-margin-top: 16px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.section-heading p { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.catalog-controls, .search, .select-wrap { display: flex; align-items: center; gap: 10px; }
.search, .select-wrap { border: 1px solid var(--line); background: white; min-height: 45px; border-radius: 24px; }
.search { padding: 0 13px; }
.search input { border: 0; background: transparent; width: min(26vw, 230px); color: var(--ink); font-size: .9rem; min-height: 41px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; color: var(--ink); background: transparent; border: 0; border-radius: inherit; padding: 10px 34px 10px 13px; font-size: .9rem; }
.select-wrap .icon { position: absolute; right: 10px; width: 15px; pointer-events: none; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 17px; }
.subcategory-filters { margin-top: -6px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fffdfa; }
.filter { border: 1px solid var(--line); border-radius: 20px; background: white; padding: 8px 13px; font-size: .875rem; font-weight: 650; }
.filter:hover { border-color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.product { display: flex; flex-direction: column; position: relative; min-width: 0; border: 1px solid var(--line); background: #fffdfa; border-radius: 10px; overflow: hidden; }
.product-photo { display: block; padding: 0; border: 0; background: #f2e5d6; overflow: hidden; }
.product-photo img { aspect-ratio: 1.12; object-fit: cover; object-position: center 40%; transition: transform .2s ease; }
.product[data-style="ropa"] .product-photo img { object-position: center 30%; }
.product-photo:hover img { transform: scale(1.035); }
.product-photo:focus-visible { outline-offset: -4px; }
.favorite { position: absolute; top: 9px; right: 9px; background: white; }
.product-tag { position: absolute; top: 9px; left: 9px; pointer-events: none; }
.product-info { display: flex; flex-direction: column; flex: 1; gap: 5px; padding: 13px; }
.product-brand { color: var(--gold-dark); font-size: .78rem; text-transform: uppercase; font-weight: 750; letter-spacing: .055em; }
.product h3 { font: 400 1.17rem/1.15 var(--display); }
.product-price { margin-top: auto; padding-top: 5px; font-size: 1.12rem; font-weight: 800; }
.product-price del { color: var(--muted); font-size: .84em; font-weight: 600; margin-inline-end: 8px; }
.quote-price { color: #69481f; font-size: 1rem; }
.stock { font-size: .875rem; color: #225e42; }
.stock.low { color: #894614; }
.stock.out { color: #8b2c46; }
.stock.request-stock { color: #69481f; }
.availability { display: flex; flex-wrap: wrap; gap: 4px; }
.availability-badge { padding: 3px 7px; border-radius: 14px; font-weight: 700; font-size: .8rem; }
.in-stock { background: #e3f4e9; color: #215339; }
.by-request { background: #f6ebd6; color: #69481f; }
.out-of-stock { background: #fbe7ed; color: #842c47; }
.product-actions { display: flex; gap: 5px; margin-top: 6px; }
.product-actions .button { flex: 1; min-height: 42px; font-size: .875rem; padding: 8px; }
.product-actions .icon-cart { flex: 0 0 42px; }
.product-actions .icon { width: 17px; height: 17px; }
.load-more { display: flex; margin: 22px auto 0; }
.empty { padding: 28px; text-align: center; background: #f4ecdf; border-radius: 16px; }
.empty p { margin: 8px 0 15px; }

.contact { border-radius: 20px; background: #f4ecdf; padding: clamp(19px, 4vw, 36px); margin-bottom: 35px; }
.contact-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.contact p { margin-top: 9px; color: var(--muted); }
.contact-channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; list-style: none; margin: 17px 0 0; padding: 0; }
.contact-channel { display: flex; align-items: center; gap: 9px; min-height: 66px; height: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; background: white; }
a.contact-channel:hover { border-color: var(--gold); }
.contact-channel small { display: block; color: var(--muted); line-height: 1.3; }
.channel-icon { width: 35px; height: 35px; flex: none; display: grid; place-items: center; border-radius: 10px; }
.whatsapp .channel-icon { background: #e3f4e9; color: #215339; }
.instagram .channel-icon { background: #fce7f0; color: #9b2851; }
.facebook .channel-icon { background: #e8eeff; color: #224396; }
.tiktok .channel-icon { background: #efe8f6; color: #412955; }
.contact-example { color: var(--muted); font-size: .9rem; }
.footer { background: #f5eee2; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 22px; }
.footer-brand { width: 101px; mix-blend-mode: multiply; }
.footer p, .footer a:last-child { font-size: .9rem; color: var(--muted); }

dialog { border: 1px solid var(--line); padding: 0; width: min(540px, calc(100% - 24px)); max-height: calc(100% - 24px); border-radius: 20px; color: var(--ink); background: white; }
dialog::backdrop { background: #211a14bd; }
dialog:focus-visible { outline: none; }
.drawer { inset: 0 0 0 auto; margin: 0; width: min(480px, 100%); height: 100%; max-height: 100%; max-width: 100%; border-radius: 20px 0 0 20px; }
.drawer[open] { display: flex; flex-direction: column; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { font-size: 1.55rem; }
.dialog-body { padding: 20px; }
.dialog-body p { line-height: 1.45; }
.detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.detail-body img { border-radius: 12px; max-height: 300px; object-fit: contain; background: #f5ecdf; }
.detail-media video { display: block; width: 100%; max-height: 300px; margin-top: 10px; border-radius: 10px; background: #251e17; }
.detail-body .product-price { margin-top: 0; padding: 0; }
.detail-description { color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.form, .detail-fields { display: grid; align-content: start; gap: 13px; }
.form label, .detail-fields label { display: grid; gap: 6px; font-weight: 650; }
.form select, .form textarea, .detail-fields select { padding: 9px; width: 100%; border: 1px solid #cfc0aa; border-radius: 9px; background: white; color: var(--ink); }
.full { width: 100%; }
.cart-content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cart-items { display: grid; gap: 12px; overflow-y: auto; padding: 17px; }
.cart-line { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; align-items: start; }
.cart-line img { width: 68px; height: 74px; object-fit: cover; border-radius: 9px; }
.cart-line h3 { font-size: .95rem; }
.cart-line p { color: var(--muted); font-size: .875rem; margin-top: 3px; }
.quantity { display: flex; gap: 6px; align-items: center; margin-top: 7px; }
.quantity .icon-button { width: 30px; min-height: 30px; background: #f3eadd; }
.quantity .icon { width: 16px; height: 16px; }
.remove { background: none; border: 0; padding: 4px; color: var(--gold-dark); text-decoration: underline; font-size: .85rem; }
.cart-total { margin-top: auto; padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.totals { display: grid; gap: 8px; margin: 0 0 12px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals dd { margin: 0; font-weight: 750; }
.totals .total { font-weight: 800; border-top: 1px solid var(--line); padding-top: 9px; }
.cart-empty { padding: 24px; display: grid; gap: 12px; }
.form-error { color: #8b2c46; }
.confirmed { display: grid; gap: 12px; }
.toast { position: fixed; z-index: 4; right: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 12px 17px; border-radius: 14px; background: var(--ink); color: white; box-shadow: 0 4px 20px #30251c39; }

@media (max-width: 940px) {
  .container { width: calc(100% - 42px); }
  .main-nav { gap: 12px; }
  .category img { width: 39%; }
  .category span { padding-inline: 8px; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 28px); }
  .header-row { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 9px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; gap: 19px; padding-block: 10px; }
  .showcase { margin-top: 14px; }
  .showcase-slide { min-height: 360px; }
  .category-grid { gap: 8px; }
  .category { min-height: 68px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search { flex: 1; }
  .search input { width: 100%; min-width: 0; }
}

@media (max-width: 850px) {
  .contact-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .showcase { border-radius: 20px; }
  .showcase-slide { grid-template-columns: 1fr; min-height: 0; }
  .showcase-copy { padding: 24px; min-height: 263px; }
  .showcase-copy::before, .showcase-portrait::after { inset: 10px; }
  .showcase-copy h2 { max-width: 16ch; }
  .showcase-photo { height: 225px; }
  .showcase-photo img { object-position: center 48%; }
  .showcase-portrait img { width: min(72%, 260px); object-position: center 12%; }
  .whatsapp-help { display: grid; grid-template-columns: 43px 1fr; padding: 12px; gap: 10px; }
  .whatsapp-help .button { grid-column: 1 / -1; margin-inline-start: 0; }
}

@media (max-width: 510px) {
  .brand-symbol { width: 34px; height: 38px; }
  .brand-name { width: 105px; }
  .header-actions { gap: 1px; }
  .header-actions .icon-button { width: 39px; }
  .cart-label { display: none; }
  .main-nav { gap: 11px; font-size: .875rem; }
  .collection { margin-top: 25px; }
  .category img { width: 33%; }
  .category span { font-size: .85rem; }
  .catalog { margin-top: 32px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-info { padding: 9px; }
  .showcase-actions .button { padding-inline: 12px; }
  .contact-heading, .footer-inner { align-items: flex-start; flex-direction: column; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-body img { max-height: 200px; }
}

@media (max-width: 355px) {
  .header-search { display: none; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-channels { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
