:root {
  --orange: #ff914d;
  --orange-deep: #c75d2d;
  --orange-soft: #ffe0c6;
  --cream: #fffaf3;
  --paper: #f8eee3;
  --paper-deep: #eed8c5;
  --chocolate: #3b211b;
  --muted: #846d61;
  --line: rgba(59, 33, 27, 0.12);
  --white: #fffefa;
  --green: #20865b;
  --serif: "Nunito", Arial, sans-serif;
  --sans: "Nunito", Arial, sans-serif;
  --script: "Nunito", Arial, sans-serif;
  --shadow: 0 14px 35px rgba(92, 48, 27, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--chocolate);
  background: #301914;
  font-family: var(--sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
body.cart-open, body.detail-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.app-frame {
  width: min(100%, 680px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.23);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 250, 243, 0.9);
  backdrop-filter: blur(18px);
}
.brand-link { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.brand-link img { width: 43px; height: 43px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.brand-link span { color: var(--orange-deep); font-family: var(--script); font-size: 20px; line-height: 0.72; }
.brand-link b { font-size: 23px; }
.cart-trigger {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px 0 9px;
  color: var(--chocolate);
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(92, 48, 27, 0.08);
}
.cart-trigger-header { position: static; transform: none; }
.cart-trigger-floating {
  position: fixed;
  z-index: 25;
  top: auto;
  bottom: calc(18px + env(safe-area-inset-bottom));
  right: max(12px, calc((100vw - 680px) / 2 + 12px));
  width: 56px;
  height: 56px;
  min-height: 56px;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  padding: 0;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(59, 33, 27, 0.2);
  transform: none;
}
.cart-trigger-floating.is-bouncing { z-index: 45; }
body.detail-open .cart-trigger-floating { z-index: 45; }
.cart-trigger-floating > span:not(.cart-trigger-icon) { display: none; }
.cart-trigger-floating .cart-trigger-icon { font-size: 24px; }
.cart-trigger-floating strong { position: absolute; top: -5px; right: -5px; width: 22px; height: 22px; border: 2px solid var(--white); }
.cart-trigger:hover { border-color: var(--orange); }
.cart-trigger-icon { font-size: 17px; line-height: 1; }
.cart-trigger strong { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: var(--white); background: var(--orange-deep); font-size: 10px; }
.cart-trigger-floating.is-bouncing { animation: cart-bounce 980ms cubic-bezier(0.34, 1.25, 0.64, 1); }
@keyframes cart-bounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  28% { transform: translateY(-4px) rotate(-3deg); }
  52% { transform: translateY(2px) rotate(3deg); }
  74% { transform: translateY(-2px) rotate(-1.5deg); }
}
.flying-cookie { position: fixed; z-index: 100; display: grid; width: 78px; height: 78px; place-items: center; border-radius: 50%; font-size: 54px; line-height: 1; pointer-events: none; filter: drop-shadow(0 9px 9px rgba(59, 33, 27, 0.28)); transform: translate3d(0, 0, 0) scale(1) rotate(0); transition: transform 2400ms cubic-bezier(0.18, 0.78, 0.24, 1), opacity 2400ms ease; }
.flying-cookie.is-flying { opacity: 0.15; transform: translate3d(var(--travel-x), var(--travel-y), 0) scale(0.3) rotate(540deg); }

.hero { position: relative; min-height: 510px; overflow: hidden; color: var(--white); background: var(--chocolate); }
.hero-video, .hero-cover, .hero-shade { position: absolute; inset: 0; }
.hero-video { z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; filter: saturate(1.08); }
.hero-cover { z-index: 0; background-image: url("foto de capa.webp"); background-position: center 52%; background-size: cover; filter: saturate(1.08); opacity: 0; transition: opacity 220ms ease; }
.hero.video-fallback .hero-cover { opacity: 1; }
.hero-shade { z-index: 2; background: linear-gradient(180deg, rgba(32, 13, 8, 0.08) 5%, rgba(44, 18, 11, 0.18) 35%, rgba(46, 20, 13, 0.88) 100%); }
.hero-content { position: relative; z-index: 3; display: flex; min-height: 510px; flex-direction: column; justify-content: flex-end; padding: 30px 22px 26px; }
.eyebrow { margin: 0 0 8px; color: var(--orange-deep); font-size: 10px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.eyebrow-light { color: #ffd0ae; }
.hero h1 { max-width: 560px; margin: 0 0 14px; font-family: var(--serif); font-size: clamp(40px, 8vw, 62px); letter-spacing: -0.055em; line-height: 0.99; }
.hero h1 em { color: #ffb373; font-style: normal; }
.hero-copy { max-width: 430px; margin: 0 0 22px; color: #ffe9d6; font-size: 14px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-text-link { color: #fff3e9; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.hero-trust { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; color: #ffe1c8; font-size: 10px; }
.hero-trust span { padding-right: 13px; border-right: 1px solid rgba(255, 226, 203, 0.34); }
.hero-trust span:last-child { border-right: 0; }
.hero-trust b { color: var(--white); }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 0 18px; font-size: 12px; font-weight: 800; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .category-tab:focus-visible, .cart-trigger:focus-visible, .close-button:focus-visible, .detail-back:focus-visible, .add-button:focus-visible, .qty-button:focus-visible { outline: 3px solid rgba(255, 145, 77, 0.42); outline-offset: 2px; }
.button-primary { color: var(--white); background: var(--orange-deep); box-shadow: 0 9px 20px rgba(199, 93, 45, 0.28); }
.button-primary:hover { background: #a84924; }
.button-dark { color: var(--white); background: var(--chocolate); }
.button-light { color: var(--chocolate); background: var(--white); }
.button-whatsapp { width: 100%; color: var(--white); background: var(--green); box-shadow: 0 9px 20px rgba(32, 134, 91, 0.22); }

.featured-card { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 270px; margin: 18px; overflow: hidden; border-radius: 25px; background: #ffd4af; box-shadow: var(--shadow); }
.featured-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 25px 20px; }
.featured-copy h2, .section-heading h2, .info-section h2, .upsell-banner h2, .drawer-header h2, .detail-info h2 { margin: 0; font-family: var(--serif); letter-spacing: -0.05em; line-height: 1; }
.featured-copy h2 { max-width: 250px; font-size: clamp(25px, 5vw, 35px); }
.featured-copy > p:not(.eyebrow) { max-width: 300px; margin: 12px 0 12px; color: #6b4030; font-size: 12px; line-height: 1.45; }
.featured-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.featured-price del { color: #986b54; font-size: 11px; }
.featured-price strong { color: var(--orange-deep); font-size: 21px; }
.featured-image { min-height: 270px; background-image: linear-gradient(90deg, rgba(255, 212, 175, 0.05), rgba(52, 26, 17, 0.17)), url("assets/Fotos/NINHO%20C%20NUTELLA%202.JPG"); background-position: center; background-size: cover; }

.catalog-tools, .catalog-section, .info-section { padding: 25px 18px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.section-heading h2 { font-size: clamp(28px, 6vw, 38px); }
.product-count, .results-label { color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.search-box { display: flex; min-height: 55px; align-items: center; gap: 9px; border: 1px solid rgba(199, 93, 45, 0.23); border-radius: 17px; padding: 0 13px; background: var(--white); box-shadow: 0 7px 17px rgba(92, 48, 27, 0.05); }
.search-box:focus-within { border-color: var(--orange-deep); box-shadow: 0 0 0 4px rgba(255, 145, 77, 0.14); }
.search-icon { color: var(--orange-deep); font-size: 27px; line-height: 0; transform: rotate(-20deg); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--chocolate); background: transparent; font-size: 14px; }
.search-box input::placeholder { color: #a99588; }
.clear-search { width: 28px; height: 28px; border-radius: 50%; color: var(--muted); background: var(--paper); font-size: 20px; line-height: 1; }
.category-tabs { display: flex; gap: 7px; overflow-x: auto; margin: 15px -18px 0; padding: 0 18px 4px; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { flex: 0 0 auto; min-height: 38px; border: 1px solid transparent; border-radius: 999px; padding: 0 14px; color: var(--muted); background: #f2e6db; font-size: 11px; font-weight: 800; }
.category-tab.is-active { color: var(--white); background: var(--orange-deep); box-shadow: 0 6px 14px rgba(199, 93, 45, 0.2); }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 13px; }
.catalog-kicker { margin: 0; color: var(--chocolate); font-family: var(--serif); font-size: 20px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid rgba(59, 33, 27, 0.08); border-radius: 17px; background: var(--white); box-shadow: 0 7px 17px rgba(92, 48, 27, 0.07); cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 13px 25px rgba(92, 48, 27, 0.13); }
.product-card:focus-visible { outline: 3px solid rgba(255, 145, 77, 0.46); outline-offset: 2px; }
.product-photo { position: relative; display: grid; aspect-ratio: 1.22; min-height: 155px; place-items: center; overflow: hidden; background: #f5d9bd; }
.product-photo::after { position: absolute; inset: auto -20% -38% -20%; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); content: ""; transform: rotate(-8deg); }
.product-photo.has-image::after { display: none; }
.product-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.photo-tone-recheados { background: linear-gradient(135deg, #e6a57e, #8f4b36); }
.photo-tone-premium { background: linear-gradient(135deg, #d8be8b, #6d4934); }
.photo-tone-classicos { background: linear-gradient(135deg, #d8a170, #68422d); }
.photo-tone-low-carb { background: linear-gradient(135deg, #cadb9b, #7b9b5a); }
.photo-tone-mini { background: linear-gradient(135deg, #f7c2ae, #d66f68); }
.photo-tone-oriental { background: linear-gradient(135deg, #cbd3b1, #718268); }
.photo-placeholder { position: relative; z-index: 1; display: grid; place-items: center; color: rgba(255, 250, 243, 0.92); text-align: center; }
.cookie-mark { display: grid; width: 51px; height: 51px; place-items: center; border: 2px dashed rgba(255, 250, 243, 0.72); border-radius: 50%; font-size: 26px; }
.photo-note { margin-top: 5px; font-size: 9px; font-weight: 700; letter-spacing: 0.03em; }
.product-badge { position: absolute; z-index: 2; top: 8px; right: 7px; border-radius: 999px; padding: 5px 7px; color: var(--chocolate); background: rgba(255, 244, 227, 0.9); font-size: 9px; font-weight: 800; }
.product-code { position: absolute; z-index: 2; bottom: 7px; left: 7px; border-radius: 6px; padding: 4px 6px; color: var(--white); background: rgba(59, 33, 27, 0.66); font-size: 9px; font-weight: 800; }
.product-info { padding: 12px 10px 11px; }
.product-category { margin: 0 0 5px; color: var(--orange-deep); font-size: 9px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.product-info h3 { min-height: 35px; margin: 0 0 6px; font-family: var(--serif); font-size: 16px; line-height: 1.12; }
.product-desc { display: -webkit-box; min-height: 36px; margin: 0 0 10px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 7px; }
.price-wrap { display: flex; flex-direction: column; min-width: 0; }
.price-wrap del { color: #a99588; font-size: 9px; }
.price-wrap strong { color: var(--orange-deep); font-size: 15px; white-space: nowrap; }
.add-button { display: inline-flex; min-height: 33px; align-items: center; gap: 4px; border-radius: 999px; padding: 0 10px; color: var(--white); background: var(--orange-deep); font-size: 10px; font-weight: 800; white-space: nowrap; }
.add-button:hover { background: var(--chocolate); }
.empty-state { margin-top: 12px; border: 1px dashed rgba(199, 93, 45, 0.36); border-radius: 17px; padding: 32px 18px; text-align: center; background: rgba(255, 250, 243, 0.8); }
.empty-icon { display: block; margin-bottom: 9px; font-size: 37px; }
.empty-state h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 21px; }
.empty-state p { margin: 0 0 15px; color: var(--muted); font-size: 12px; }

.upsell-banner { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 30px 18px 0; border-radius: 23px; padding: 23px 20px; color: var(--white); background: var(--chocolate); }
.upsell-banner h2 { max-width: 360px; font-size: clamp(25px, 5vw, 36px); }
.upsell-banner p:not(.eyebrow) { max-width: 360px; margin: 10px 0 0; color: #f3d3bd; font-size: 12px; line-height: 1.4; }
.upsell-banner .button { flex: 0 0 auto; }

.info-section { padding-bottom: 30px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.info-card { min-height: 151px; border: 1px solid var(--line); border-radius: 17px; padding: 15px 13px; background: #fff5e9; }
.info-icon { display: grid; width: 31px; height: 31px; place-items: center; margin-bottom: 13px; border-radius: 50%; color: var(--white); background: var(--orange-deep); font-size: 16px; }
.info-card h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 17px; }
.info-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 28px 20px calc(32px + env(safe-area-inset-bottom)); color: var(--muted); text-align: center; background: #f2e1d2; }
.site-footer img { width: 53px; height: 53px; margin-bottom: 5px; border-radius: 50%; object-fit: cover; }
.site-footer p { margin: 0; color: var(--orange-deep); font-family: var(--script); font-size: 23px; font-weight: 700; }
.site-footer small { font-size: 10px; }
.wsx-watermark { position: relative; display: inline-flex; align-items: center; gap: 6px; overflow: hidden; isolation: isolate; margin-top: 14px; border: 1px solid rgba(199, 93, 45, 0.24); border-radius: 999px; padding: 5px 9px 5px 5px; color: rgba(199, 93, 45, 0.72); background: rgba(255, 250, 243, 0.32); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 15px rgba(255, 145, 77, 0.08); backdrop-filter: blur(12px); font-size: 9px; font-weight: 800; transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease; opacity: 0.78; }
.wsx-watermark::after { position: absolute; z-index: -1; top: -35%; left: -42%; width: 28%; height: 170%; background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0.06) 75%, transparent 100%); content: ""; pointer-events: none; transform: translateX(-160%) skewX(-16deg); animation: wsx-watermark-shine 5.2s ease-in-out infinite; }
@keyframes wsx-watermark-shine {
  0%, 48% { opacity: 0; transform: translateX(-160%) skewX(-16deg); }
  56% { opacity: 1; }
  72%, 100% { opacity: 0; transform: translateX(520%) skewX(-16deg); }
}
.wsx-watermark:hover { border-color: rgba(199, 93, 45, 0.52); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 18px rgba(255, 145, 77, 0.16); opacity: 1; }
.wsx-watermark-mark { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(199, 93, 45, 0.28); border-radius: 50%; color: var(--orange-deep); background: rgba(255, 255, 255, 0.48); font-size: 10px; }
.wsx-watermark-copy { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 4px; }
.wsx-watermark strong { display: block; color: var(--orange-deep); font-size: 9px; letter-spacing: 0.08em; line-height: 1; }
.wsx-watermark small { display: block; margin-top: 0; color: rgba(132, 109, 97, 0.82); font-size: 8px; font-weight: 700; line-height: 1; }

.cart-drawer, .product-detail { position: fixed; z-index: 30; inset: 0; }
.drawer-overlay, .detail-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(29, 13, 9, 0.59); }
.drawer-panel { position: absolute; inset: 0 0 0 auto; display: flex; width: min(100%, 520px); flex-direction: column; overflow-y: auto; background: var(--cream); box-shadow: -12px 0 35px rgba(0, 0, 0, 0.18); animation: drawer-in 220ms ease both; }
@keyframes drawer-in { from { transform: translateX(35px); opacity: 0.5; } to { transform: translateX(0); opacity: 1; } }
.cart-banner { display: flex; min-height: 118px; align-items: center; justify-content: center; gap: 8px; flex-direction: column; padding: 22px 18px; color: rgba(59, 33, 27, 0.62); background: linear-gradient(135deg, #ffd7b4, #f2a16f); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.cart-banner-mark { display: grid; width: 40px; height: 40px; place-items: center; border: 1px dashed rgba(59, 33, 27, 0.34); border-radius: 50%; font-size: 20px; }
.drawer-header, .detail-header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 250, 243, 0.92); backdrop-filter: blur(15px); }
.drawer-header h2 { font-size: 28px; }
.close-button { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; color: var(--chocolate); background: var(--paper); font-size: 25px; line-height: 1; }
.drawer-body { padding: 18px; }
.cart-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item-photo, .cart-item-image { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 13px; background: #e7a272; font-size: 25px; object-fit: cover; }
.cart-item h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 14px; line-height: 1.1; }
.cart-item p { margin: 0; color: var(--muted); font-size: 10px; }
.cart-item-total { color: var(--orange-deep); font-size: 12px; font-weight: 800; white-space: nowrap; }
.quantity-control { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; }
.qty-button { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--chocolate); background: var(--white); font-weight: 800; }
.quantity-control span { min-width: 15px; text-align: center; font-size: 11px; font-weight: 800; }
.cart-empty { padding: 33px 10px 23px; text-align: center; }
.cart-empty > span { font-size: 39px; }
.cart-empty h3 { margin: 9px 0 4px; font-family: var(--serif); font-size: 22px; }
.cart-empty p { margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.mini-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.mini-heading h3 { margin: 0; font-family: var(--serif); font-size: 20px; }
.mini-heading span { color: var(--muted); font-size: 9px; font-weight: 700; }
.cart-suggestions { margin-top: 24px; }
.suggestion-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.suggestion-row::-webkit-scrollbar { display: none; }
.suggestion-card { display: flex; min-width: 180px; flex: 1 0 180px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 13px; padding: 8px; text-align: left; background: var(--white); }
.suggestion-photo, .suggestion-image { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #e7a272; font-size: 18px; object-fit: cover; }
.suggestion-card strong { display: block; margin-bottom: 2px; overflow: hidden; color: var(--chocolate); font-family: var(--serif); font-size: 12px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-card small { color: var(--orange-deep); font-size: 10px; font-weight: 800; }
.suggestion-card .plus { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; margin-left: auto; border-radius: 50%; color: var(--white); background: var(--orange-deep); font-weight: 800; }
.cart-summary { margin: 25px 0 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 15px 0; }
.cart-summary > div { display: flex; align-items: center; justify-content: space-between; }
.cart-summary strong { color: var(--orange-deep); font-size: 20px; }
.cart-summary p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.checkout-form { display: grid; gap: 11px; }
.checkout-form label { display: grid; gap: 5px; color: var(--chocolate); font-size: 10px; font-weight: 800; }
.checkout-form label > span { color: var(--muted); font-weight: 500; }
.checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; outline: 0; color: var(--chocolate); background: var(--white); font-size: 12px; resize: vertical; }
.checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus { border-color: var(--orange-deep); box-shadow: 0 0 0 3px rgba(255, 145, 77, 0.13); }
.checkout-action-bar { position: sticky; z-index: 3; bottom: -18px; margin: 1px -18px -18px; border-top: 1px solid rgba(199, 93, 45, 0.16); padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 250, 243, 0.9); box-shadow: 0 -10px 22px rgba(92, 48, 27, 0.08); backdrop-filter: blur(16px); }
.form-note { display: block; color: var(--muted); font-size: 9px; line-height: 1.35; text-align: center; }

.detail-backdrop { z-index: 0; }
.detail-sheet { position: absolute; z-index: 1; inset: 4vh 0 0; width: min(100%, 680px); margin: 0 auto; overflow-y: auto; border-radius: 25px 25px 0 0; background: var(--cream); animation: sheet-in 220ms ease both; }
@keyframes sheet-in { from { transform: translateY(35px); opacity: 0.5; } to { transform: translateY(0); opacity: 1; } }
.detail-header { border-radius: 25px 25px 0 0; }
.detail-header > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.detail-back { display: inline-flex; align-items: center; gap: 6px; padding: 0; color: var(--orange-deep); background: transparent; font-size: 12px; font-weight: 800; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 18px; padding: 20px 18px 0; }
.detail-gallery { min-width: 0; }
.detail-photo { position: relative; display: grid; min-height: 280px; max-height: 58vh; aspect-ratio: 0.82; place-items: center; overflow: hidden; border-radius: 21px; background: linear-gradient(145deg, #f7ba7a, #b5522e); }
.detail-photo::before, .detail-photo::after { position: absolute; border: 1px dashed rgba(255, 250, 243, 0.58); border-radius: 50%; content: ""; }
.detail-photo::before { width: 175px; height: 175px; }
.detail-photo::after { width: 235px; height: 235px; opacity: 0.45; }
.detail-photo.has-image { background: #f5eadf; }
.detail-photo.has-image::before, .detail-photo.has-image::after { display: none; }
.detail-image { width: 100%; height: 100%; object-fit: contain; }
.detail-photo-nav { position: absolute; z-index: 1; top: 50%; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(59, 33, 27, 0.12); border-radius: 50%; color: var(--chocolate); background: rgba(255, 250, 243, 0.88); box-shadow: 0 4px 14px rgba(59, 33, 27, 0.16); font-size: 28px; line-height: 1; transform: translateY(-50%); }
.detail-photo-nav.is-previous { left: 10px; }
.detail-photo-nav.is-next { right: 10px; }
.detail-photo-count { position: absolute; right: 10px; bottom: 10px; border-radius: 999px; padding: 5px 8px; color: var(--white); background: rgba(59, 33, 27, 0.68); font-size: 10px; font-weight: 800; }
.detail-thumbs { display: flex; gap: 7px; overflow-x: auto; margin-top: 8px; padding: 2px 1px 5px; scrollbar-width: thin; }
.detail-thumb { width: 55px; height: 64px; flex: 0 0 auto; overflow: hidden; border: 2px solid transparent; border-radius: 10px; padding: 0; background: #f5eadf; opacity: 0.72; }
.detail-thumb.is-active { border-color: var(--orange-deep); opacity: 1; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-photo .photo-placeholder { z-index: 1; }
.detail-photo .cookie-mark { width: 70px; height: 70px; font-size: 34px; }
.detail-photo .photo-note { max-width: 120px; font-size: 10px; }
.detail-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.detail-info h2 { font-size: clamp(27px, 5vw, 39px); }
.detail-description { margin: 12px 0 17px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.detail-price { margin-bottom: 15px; }
.detail-price del { display: block; color: #a99588; font-size: 11px; }
.detail-price strong { color: var(--orange-deep); font-size: 23px; }
.detail-add { width: 100%; }
.detail-suggestions { padding: 22px 18px 33px; }

.toast { position: fixed; z-index: 60; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); left: 16px; width: min(100% - 32px, 430px); margin: auto; border-radius: 13px; padding: 13px 16px; color: var(--white); background: var(--chocolate); box-shadow: 0 11px 28px rgba(59, 33, 27, 0.23); font-size: 12px; font-weight: 700; text-align: center; opacity: 0; pointer-events: none; transform: translateY(13px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 540px) {
  .site-header { padding-inline: 12px; }
  .brand-link span { font-size: 18px; }
  .brand-link b { font-size: 21px; }
  .hero, .hero-content { min-height: 430px; }
  .hero-video { object-position: 10% 54%; }
  .hero-cover { position: absolute; inset: 0; height: auto; background-position: 10% 54%; }
  .hero-shade { display: block; background: linear-gradient(90deg, rgba(46, 20, 13, 0.88) 0%, rgba(46, 20, 13, 0.62) 40%, rgba(46, 20, 13, 0.08) 62%, rgba(46, 20, 13, 0) 76%, rgba(46, 20, 13, 0) 100%); }
  .hero-content { width: min(100%, 278px); padding: 22px 16px 18px; }
  .hero h1 { max-width: 245px; margin-bottom: 10px; font-size: 35px; }
  .hero-copy { max-width: 238px; margin-bottom: 16px; font-size: 11px; line-height: 1.4; }
  .hero-actions .button { min-height: 42px; padding-inline: 14px; }
  .hero-trust { max-width: 248px; gap: 7px; margin-top: 18px; }
  .hero-trust span { padding-right: 8px; font-size: 9px; }
  .featured-card { grid-template-columns: 1.15fr 0.85fr; margin-inline: 12px; }
  .featured-copy { padding: 20px 15px; }
  .featured-copy h2 { font-size: 25px; }
  .featured-copy > p:not(.eyebrow) { font-size: 10px; }
  .featured-image { min-height: 285px; }
  .catalog-tools, .catalog-section, .info-section { padding-inline: 12px; }
  .category-tabs { margin-inline: -12px; padding-inline: 12px; }
  .upsell-banner { align-items: flex-start; flex-direction: column; margin-inline: 12px; }
  .upsell-banner .button { width: 100%; }
  .detail-content { grid-template-columns: 1fr; }
  .detail-photo { min-height: 245px; max-height: 55vh; aspect-ratio: 0.9; }
  .detail-info { padding-bottom: 2px; }
}

@media (max-width: 385px) {
  .cart-trigger > span:not(.cart-trigger-icon) { display: none; }
  .product-grid { gap: 8px; }
  .product-info { padding-inline: 8px; }
  .product-info h3 { font-size: 14px; }
  .product-desc { font-size: 9px; }
  .add-button { padding-inline: 8px; }
}

@media (min-width: 681px) {
  body { position: relative; background: #f2e7db; }
  body::before, body::after { position: fixed; z-index: 0; top: 50%; width: min(30vw, 420px); height: min(76vh, 760px); border-radius: 34px; background-image: linear-gradient(rgba(255, 250, 243, 0.82), rgba(255, 250, 243, 0.82)), url("cookies animar final.png"); background-position: center; background-size: cover; box-shadow: 0 18px 42px rgba(106, 66, 42, 0.08); content: ""; filter: saturate(0.82) blur(0.4px); opacity: 0.46; pointer-events: none; transform: translateY(-50%); }
  body::before { left: max(0px, calc((100vw - 680px) / 2 - min(30vw, 420px) - 18px)); }
  body::after { right: max(0px, calc((100vw - 680px) / 2 - min(30vw, 420px) - 18px)); transform: translateY(-50%) scaleX(-1); }
  .app-frame { position: relative; z-index: 1; box-shadow: 0 0 80px rgba(106, 66, 42, 0.14); }
}
