:root {
  --cream: #f7edd8;
  --cream-2: #fbf7ee;
  --paper: #fffdf8;
  --ink: #251207;
  --muted: #725f52;
  --gold: #b89a5e;
  --gold-light: #ddc891;
  --line: rgba(37, 18, 7, .12);
  --red: #9d2925;
  --green: #3d6247;
  --haribo: #db2130;
  --shadow: 0 18px 55px rgba(47, 25, 10, .11);
  --page: min(1240px, calc(100% - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans", sans-serif; overflow-x: hidden; }
body.drawer-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold-light); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -80px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 16px; }
.announcement { min-height: 38px; padding: 8px max(24px, calc((100% - 1240px) / 2)); background: var(--ink); color: #fff7e8; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.announcement p { margin: 0; display: flex; gap: 12px; align-items: center; }
.announcement strong { color: var(--gold-light); text-transform: uppercase; letter-spacing: .11em; font-size: 10px; }
.announcement span { color: rgba(255,255,255,.68); }
.announcement a, .announcement button { border: 0; background: transparent; padding: 0; color: var(--gold-light); font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.site-header { height: 82px; padding: 0 max(24px, calc((100% - 1240px) / 2)); display: grid; grid-template-columns: 220px 1fr auto; align-items: center; background: rgba(255,253,248,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(18px); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(37,18,7,.06); }
.brand-logo { align-self: stretch; display: flex; align-items: center; width: 180px; overflow: hidden; }
.brand-logo img { width: 176px; height: auto; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 38px); }
.desktop-nav a, .mobile-menu a { text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: var(--gold); transition: right .25s; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .cart-button, .menu-button { border: 0; background: transparent; cursor: pointer; }
.icon-button { width: 40px; height: 40px; border-radius: 50%; font-size: 24px; display: grid; place-items: center; }
.icon-button:hover { background: var(--cream); }
.cart-button { height: 42px; padding: 0 6px 0 16px; border: 1px solid var(--line); border-radius: 999px; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cart-button strong { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ink); }
.menu-button { display: none; width: 42px; height: 42px; padding: 11px; }
.menu-button span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s; }
.mobile-menu { display: none; }
.hero { width: var(--page); margin: 0 auto; min-height: 540px; padding: 50px clamp(28px, 4vw, 58px); position: relative; display: flex; align-items: center; overflow: hidden; border-radius: 36px 36px 10px 36px; background: var(--cream); box-shadow: var(--shadow); isolation: isolate; }
body[data-mode="wholesale"] .hero { min-height: 0; aspect-ratio: 2.12 / 1; }
.hero-copy { position: relative; z-index: 2; width: min(50%, 585px); padding: 0; }
body[data-mode="wholesale"] .hero-copy { transform: translateY(clamp(-88px, -5vw, -48px)); }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
h1, h2 { font-family: "Noto Sans", sans-serif; margin: 0; font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
h1 { font-size: clamp(40px, 4.3vw, 62px); max-width: 720px; }
h1 em, h2 em { color: var(--gold); font-weight: 700; }
.hero-lead { max-width: 570px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.65; margin: 18px 0 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.button { min-height: 48px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 25px; text-decoration: none; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s, box-shadow .2s; }
.button:not(:disabled):hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 24px rgba(37,18,7,.16); }
.button-primary:not(:disabled):hover { background: var(--gold); box-shadow: 0 12px 30px rgba(184,154,94,.3); }
.button-text { padding: 0; border-radius: 0; min-height: 36px; border-bottom: 1px solid var(--ink); }
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-full { width: 100%; }
.hero-visual { position: absolute; z-index: 0; inset: 0; height: 100%; overflow: hidden; background: var(--cream); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,253,248,.88) 0%, rgba(255,253,248,.68) 26%, rgba(255,253,248,.26) 41%, rgba(255,253,248,.03) 55%, transparent 66%); pointer-events: none; }
body[data-mode="wholesale"] .hero-visual::after { background: linear-gradient(90deg, rgba(255,253,248,.96) 0%, rgba(255,253,248,.91) 25%, rgba(255,253,248,.75) 39%, rgba(255,253,248,.42) 51%, rgba(255,253,248,.11) 65%, transparent 76%); }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
body[data-mode="wholesale"] .hero-visual > img { object-fit: cover; object-position: center bottom; }
.hero-card { position: absolute; z-index: 2; left: 24px; bottom: 24px; right: 24px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.42); border-radius: 18px; background: rgba(255,253,248,.88); backdrop-filter: blur(16px); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 18px; }
.hero-card span { grid-row: span 2; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.hero-card strong { font-family: "Noto Sans", sans-serif; font-size: 19px; }
.hero-card small { color: var(--muted); }
.trust-strip { padding: 0 max(24px, calc((100% - 1240px) / 2)); background: var(--ink); color: #fff; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip > div { min-height: 112px; display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-right: 1px solid rgba(255,255,255,.1); }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip > div > span { color: var(--gold); font-family: "Noto Sans", sans-serif; font-size: 23px; font-style: italic; }
.trust-strip p { margin: 0; display: grid; gap: 5px; }
.trust-strip strong { font-size: 13px; }
.trust-strip small { color: rgba(255,255,255,.5); line-height: 1.4; }
.shop-section, .info-section { width: var(--page); margin: 0 auto; padding: 112px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2, .shop-heading h2, .wholesale-copy h2 { font-size: clamp(40px, 5vw, 66px); }
.shop-section { padding-top: 60px; }
.shop-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.shop-heading > p { color: var(--muted); font-size: 13px; }
.brand-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.brand-selector-card { min-width: 0; padding: 0; border: 1px solid var(--line); border-radius: 24px 24px 8px 24px; overflow: hidden; position: relative; background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: transform .22s, border-color .22s, box-shadow .22s; }
.brand-selector-card:hover { transform: translateY(-3px); border-color: rgba(184,154,94,.62); box-shadow: 0 16px 38px rgba(37,18,7,.09); }
.brand-selector-card.is-active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,154,94,.18), 0 16px 38px rgba(37,18,7,.09); }
.brand-selector-card.is-active::after { content: "Seleccionada"; position: absolute; top: 12px; right: 12px; padding: 6px 9px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand-logo-panel { height: 164px; display: grid; place-items: center; padding: 18px; }
.brand-logo-panel img { width: 100%; height: 100%; object-fit: contain; }
.lindt-card .brand-logo-panel { position: relative; overflow: hidden; background: #fffaf0; padding: 0; }
.lindt-card .brand-logo-panel img { position: absolute; inset: 18px 30px; width: calc(100% - 60px); height: calc(100% - 36px); object-fit: contain; }
.haribo-card .brand-logo-panel { background: #fffdf8; padding: 10px; }
.chimbote-card .brand-logo-panel { background: #fff8ef; padding: 26px; }
.brand-selector-footer { min-height: 62px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; }
.brand-selector-footer > span { color: var(--muted); font-size: 11px; }
.brand-selector-footer strong { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.catalog-status { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; gap: 18px; }
.product-card { border: 1px solid var(--line); border-radius: 22px 22px 8px 22px; background: #fff; overflow: hidden; position: relative; transition: transform .24s, box-shadow .24s, border-color .24s; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(184,154,94,.65); box-shadow: 0 17px 40px rgba(37,18,7,.09); }
.product-media { width: calc(100% - 14px); min-width: 0; aspect-ratio: 1 / .8; margin: 7px; padding: 0; border: 0; border-radius: 15px; background: var(--cream-2); overflow: hidden; position: relative; display: grid; place-items: center; cursor: pointer; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s; filter: drop-shadow(0 10px 12px rgba(37,18,7,.16)); }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-card[data-brand="Chimbote"] .product-media { background: #fff; }
.product-card[data-brand="Chimbote"] .product-media img { padding: 8px; filter: none; object-fit: contain; }
.product-card[data-size="450"] .product-media img { width: 86%; height: 86%; transform: none; }
.product-card[data-size="450"]:hover .product-media img { transform: scale(1.02); }
.product-card[data-size="850"] .product-media img { width: 96%; height: 96%; transform: none; }
.product-card[data-size="850"]:hover .product-media img { transform: scale(1.015); }
.product-card[data-brand="Lindt"] .product-media { background: #fff; }
.product-card[data-brand="Lindt"] .product-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: none; padding: 8px; filter: none; object-fit: contain; object-position: center; transform: none; }
.product-card[data-brand="Lindt"]:hover .product-media img { transform: none; }
.product-card[data-brand="Haribo"] .product-media { background: #fff; }
.product-card[data-brand="Haribo"] .product-media img { width: 100%; height: 100%; padding: 10px; filter: none; object-fit: contain; transform: none; }
.product-card[data-brand="Haribo"]:hover .product-media img { transform: none; }
.product-placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; padding: 20px; }
.product-placeholder strong { font-family: "Noto Sans", sans-serif; font-size: 28px; font-style: italic; }
.product-placeholder small { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.product-placeholder.haribo { background: #fff4f3; color: var(--haribo); }
.product-placeholder.chimbote { background: #eef5e9; color: var(--green); }
.product-placeholder.lindt { background: #fbf2df; color: #8c6a2d; }
.product-badge { position: absolute; z-index: 2; left: 14px; top: 14px; padding: 7px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-info { padding: 12px 16px 15px; }
.product-brand { margin: 0 0 5px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.product-info h3 { margin: 0; font-family: "Noto Sans", sans-serif; font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
@media (min-width: 821px) {
  .product-card[data-brand="Lindt"] .product-info h3 { font-size: clamp(15px, 1vw, 17px); line-height: 1.2; letter-spacing: -.045em; white-space: nowrap; }
}
.product-variant { margin: 5px 0 13px; color: var(--muted); font-family: "Noto Sans", sans-serif; font-size: 12px; font-weight: 500; line-height: 1.4; }
.product-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.product-price { min-width: 0; display: grid; gap: 4px; }
.product-price span { font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.product-price small { max-width: 175px; color: var(--muted); font-size: 8px; line-height: 1.35; text-transform: uppercase; letter-spacing: .055em; }
.product-actions { display: flex; gap: 6px; }
.product-action { width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 18px; }
.product-action.add { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-action:hover { border-color: var(--gold); }
.empty-state { text-align: center; padding: 70px 20px; background: var(--cream-2); border-radius: 24px; }
.empty-state strong { font-family: "Noto Sans", sans-serif; font-size: 30px; }
.empty-state p { color: var(--muted); }
.how-section { background: var(--ink); color: #fff; padding: 104px max(24px, calc((100% - 1240px) / 2)); }
.section-heading-light h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 16px; min-height: 160px; padding: 8px 30px 8px 0; border-right: 1px solid rgba(255,255,255,.12); }
.steps li + li { padding-left: 30px; }
.steps li:last-child { border-right: 0; }
.steps li > span { width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); font-family: "Noto Sans", sans-serif; font-size: 20px; }
.steps strong { font-family: "Noto Sans", sans-serif; font-size: 22px; }
.steps p { color: rgba(255,255,255,.57); line-height: 1.65; font-size: 13px; }
.wholesale-section { width: var(--page); margin: 0 auto; padding: 116px 0; display: grid; grid-template-columns: 1fr .82fr; gap: 90px; align-items: center; }
.wholesale-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; font-size: 16px; }
.wholesale-copy ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 13px; }
.wholesale-copy li { padding-left: 25px; position: relative; }
.wholesale-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.wholesale-form { padding: 32px; border-radius: 28px 28px 8px 28px; background: var(--cream); box-shadow: var(--shadow); display: grid; gap: 18px; }
.field-group { display: grid; gap: 8px; }
.field-group label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field-group input, .field-group select { width: 100%; min-height: 50px; border: 1px solid rgba(37,18,7,.18); border-radius: 12px; padding: 0 14px; background: rgba(255,255,255,.75); outline: none; }
.field-group input:focus, .field-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,154,94,.16); }
.field-group input[readonly] { background: rgba(37,18,7,.05); color: var(--muted); }
.field-group small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.wholesale-form small { text-align: center; color: var(--muted); line-height: 1.45; }
.info-section { padding-top: 40px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.info-grid article > span { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.info-grid h3 { margin: 14px 0 10px; font-family: "Noto Sans", sans-serif; font-size: 24px; }
.info-grid p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 13px; }
.site-footer { padding: 70px max(24px, calc((100% - 1240px) / 2)) 26px; background: #160a04; color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-bottom: 54px; }
.footer-brand img { width: 190px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.55); max-width: 280px; }
.footer-main h2 { margin: 0 0 18px; font-family: "Noto Sans", sans-serif; font-size: 10px; color: var(--gold-light); letter-spacing: .14em; text-transform: uppercase; }
.footer-main > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-main a, .footer-main span { text-decoration: none; color: rgba(255,255,255,.6); font-size: 13px; }
.footer-main a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.38); font-size: 11px; }
.product-dialog { width: min(960px, calc(100% - 28px)); max-height: min(760px, calc(100vh - 28px)); padding: 0; border: 0; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); overflow: auto; }
.product-dialog::backdrop { background: rgba(18,8,3,.66); backdrop-filter: blur(6px); }
.dialog-close { position: fixed; z-index: 5; margin: 16px 0 0 min(900px, calc(100vw - 86px)); width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.14); font-size: 24px; }
.dialog-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 590px; }
.dialog-media { min-height: 590px; padding: 30px; background: var(--cream-2); display: grid; place-items: center; }
.dialog-media img { width: 100%; height: 100%; max-height: 510px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(37,18,7,.18)); }
.dialog-layout[data-brand="Chimbote"] .dialog-media { background: #fff; }
.dialog-layout[data-brand="Chimbote"] .dialog-media img { padding: 8px; filter: none; object-fit: contain; }
.dialog-layout[data-size="450"] .dialog-media img { width: 86%; height: 86%; transform: none; }
.dialog-layout[data-size="850"] .dialog-media img { width: 96%; height: 96%; transform: none; }
.dialog-layout[data-brand="Lindt"] .dialog-media { background: #fff; }
.dialog-layout[data-brand="Lindt"] .dialog-media img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: none; padding: 12px; filter: none; object-fit: contain; object-position: center; }
.dialog-layout[data-brand="Haribo"] .dialog-media { background: #fff; }
.dialog-layout[data-brand="Haribo"] .dialog-media img { width: 100%; height: 100%; padding: 12px; filter: none; object-fit: contain; transform: none; }
.dialog-media .product-placeholder { position: relative; width: 100%; min-height: 420px; border-radius: 22px; }
.dialog-copy { padding: 58px 44px 42px; display: flex; flex-direction: column; }
.dialog-copy h2 { font-family: "Noto Sans", sans-serif; font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -.035em; }
.dialog-copy .dialog-variant { color: var(--muted); font-family: "Noto Sans", sans-serif; font-size: 14px; font-weight: 500; margin: 12px 0 24px; }
.dialog-copy .dialog-description { color: var(--muted); font-family: "Noto Sans", sans-serif; line-height: 1.75; }
.dialog-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.dialog-points span { padding: 11px; border-radius: 10px; background: var(--cream-2); font-size: 11px; }
.dialog-buy { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.dialog-price { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
.dialog-price strong { font-size: 28px; line-height: 1; }
.dialog-price small { color: var(--muted); }
.drawer-overlay { position: fixed; z-index: 200; inset: 0; background: rgba(18,8,3,.52); }
.cart-drawer { position: fixed; z-index: 210; top: 0; right: 0; width: min(440px, 100%); height: 100%; background: var(--paper); transform: translateX(104%); transition: transform .32s cubic-bezier(.2,.8,.2,1); display: grid; grid-template-rows: auto 1fr auto; box-shadow: -20px 0 70px rgba(0,0,0,.2); }
.cart-drawer.is-open { transform: translateX(0); }
.cart-header { padding: 25px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.cart-header p { margin: 0 0 4px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cart-header h2 { font-size: 34px; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; font-size: 24px; }
.cart-body { padding: 20px 25px; overflow-y: auto; }
.cart-empty { min-height: 330px; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; color: var(--muted); }
.cart-empty strong { color: var(--ink); font-family: "Noto Sans", sans-serif; font-size: 25px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item-media { width: 72px; height: 72px; border-radius: 12px; background: var(--cream-2); display: grid; place-items: center; overflow: hidden; }
.cart-item-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-item-media span { font-family: "Noto Sans", sans-serif; font-size: 11px; }
.cart-item-info strong { display: block; font-family: "Noto Sans", sans-serif; font-size: 15px; font-weight: 700; line-height: 1.3; }
.cart-item-info small { color: var(--muted); font-family: "Noto Sans", sans-serif; }
.cart-item-price { display: block; margin-top: 5px; color: var(--ink); font-size: 12px; font-weight: 700; }
.cart-qty { margin-top: 9px; display: flex; align-items: center; gap: 10px; }
.cart-qty button { width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.cart-remove { padding: 3px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--red); cursor: pointer; align-self: start; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.cart-footer { padding: 20px 25px 26px; border-top: 1px solid var(--line); background: #fff; }
.cart-total { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 17px; font-size: 12px; }
.cart-total strong { text-align: right; font-size: 17px; }
.cart-footer > small { display: block; margin-top: 11px; color: var(--muted); text-align: center; line-height: 1.4; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; transform: translate(-50%, 30px); padding: 13px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; font-size: 12px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
:focus-visible { outline: 3px solid rgba(184,154,94,.52); outline-offset: 3px; }
/* ---------- Modo minorista / mayorista ---------- */
.hero-lead strong { color: var(--ink); font-weight: 700; }
.hero-modes-title { margin: 22px 0 0; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 9px; }
.hero-mode-card { display: grid; align-content: start; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px 14px 5px 14px; background: rgba(255,253,248,.74); color: var(--ink); text-align: left; cursor: pointer; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.hero-mode-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 10px 24px rgba(37,18,7,.09); }
.hero-mode-card.is-active { border-color: var(--gold); background: #fff; box-shadow: 0 10px 24px rgba(37,18,7,.1); }
.hero-mode-card.is-active strong::after { content: "Elegido"; margin-left: 7px; padding: 3px 6px; border-radius: 999px; background: var(--gold); color: #fff; font-family: "Noto Sans", sans-serif; font-size: 7px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; vertical-align: middle; }
.hero-mode-card strong { font-family: "Noto Sans", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.hero-mode-card small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.hero-mode-card > span { margin-top: 2px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hero-mode-card em { font-style: normal; }
.ws-vat-note { margin: 0 0 3px; color: var(--muted); font-size: 11px; }

body[data-mode="wholesale"] { --gold: #3d6247; --gold-light: #9dbba5; }
.mode-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 26px; }
.mode-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream-2); }
.mode-switch button { min-height: 40px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: background .2s, color .2s, box-shadow .2s; }
.mode-switch button:hover { color: var(--ink); }
.mode-switch button.is-active { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(37,18,7,.16); }
.mode-note { margin: 0; flex: 1 1 260px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.mode-note strong { color: var(--ink); }
body[data-mode="wholesale"] .product-price-row { align-items: stretch; flex-direction: column; gap: 11px; }
body[data-mode="wholesale"] .product-price small { max-width: none; }
body[data-mode="wholesale"] .product-actions { justify-content: flex-end; }
body[data-mode="wholesale"] .product-badge { background: var(--gold); }
.wholesale-cta { margin: 32px 0 0; }
.dialog-pack { margin: 0 0 16px; padding: 11px 14px; border-radius: 10px; background: var(--cream-2); color: var(--muted); font-size: 12px; }
.dialog-pack strong { color: var(--ink); }
.wholesale-summary { display: grid; gap: 9px; margin-bottom: 16px; }
.ws-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
.ws-row strong { color: var(--ink); font-size: 13px; }
.ws-row-total { padding-top: 9px; border-top: 1px solid var(--line); color: var(--ink); }
.ws-row-total strong { font-size: 19px; }
.ws-progress { margin-top: 5px; }
.ws-progress-track { display: block; height: 6px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.ws-progress-fill { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--gold); transition: width .35s ease; }
.ws-progress-note { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; }
.cart-item-price em { color: var(--muted); font-style: normal; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

@media (min-width: 1081px) {
  body[data-mode="wholesale"] .hero-copy { transform: translateY(-42px); }
}
@media (max-width: 1080px) {
  .site-header { grid-template-columns: 190px 1fr auto; }
  .desktop-nav { gap: 18px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-left: 42px; padding-right: 42px; }
  body[data-mode="wholesale"] .hero { min-height: 560px; aspect-ratio: auto; }
  body[data-mode="wholesale"] .hero-visual > img { object-fit: contain; object-position: center; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip > div:nth-child(2) { border-right: 0; }
}
@media (max-width: 820px) {
  :root { --page: min(100% - 32px, 720px); }
  .announcement span { display: none; }
  body[data-mode="wholesale"] .announcement { align-items: flex-start; flex-direction: column; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
  body[data-mode="wholesale"] .announcement p { flex-wrap: wrap; gap: 3px 10px; }
  body[data-mode="wholesale"] .announcement span { display: inline; }
  .site-header { height: 72px; grid-template-columns: 1fr auto; }
  .brand-logo { width: 156px; }
  .desktop-nav, .icon-button { display: none; }
  .menu-button { display: block; }
  .mobile-menu { display: flex; position: absolute; left: 16px; right: 16px; top: 66px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); flex-direction: column; gap: 21px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .hero { min-height: 560px; margin-top: 0; padding: 38px 26px; align-items: flex-start; }
  .hero-modes { grid-template-columns: 1fr; }
  .hero-copy { width: 100%; max-width: 540px; }
  body[data-mode="wholesale"] .hero-copy { transform: none; }
  .hero-visual { height: 100%; }
  .hero-visual::after { background: linear-gradient(180deg, rgba(255,253,248,.88) 0%, rgba(255,253,248,.72) 38%, rgba(255,253,248,.2) 62%, rgba(255,253,248,.02) 96%, transparent 100%); }
  .hero-visual > img { object-position: 72% center; }
  body[data-mode="wholesale"] .hero { min-height: 760px; }
  body[data-mode="wholesale"] .hero-visual::after { background: linear-gradient(180deg, rgba(255,253,248,.97) 0%, rgba(255,253,248,.91) 38%, rgba(255,253,248,.7) 55%, rgba(255,253,248,.2) 72%, transparent 90%); }
  body[data-mode="wholesale"] .hero-visual > img { position: absolute; top: auto; bottom: 0; height: auto; object-fit: contain; object-position: center bottom; }
  .brand-logo-panel { height: 132px; }
  .brand-selector-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 25px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .wholesale-section { grid-template-columns: 1fr; gap: 44px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-media { min-height: 380px; }
}
@media (max-width: 540px) {
  :root { --page: calc(100% - 24px); }
  .announcement { font-size: 10px; gap: 10px; padding-left: 12px; padding-right: 12px; }
  .announcement strong { font-size: 9px; }
  .site-header { padding: 0 12px; }
  .cart-button span { display: none; }
  h1 { font-size: clamp(36px, 11vw, 50px); }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero { min-height: 580px; margin-top: 0; margin-bottom: 44px; padding: 28px 18px; border-radius: 24px 24px 7px 24px; }
  .hero-visual { height: 100%; }
  .hero-visual > img { object-position: 75% center; }

  .hero-card { left: 12px; right: 12px; bottom: 12px; }
  .hero-card span { display: none; }
  .trust-strip { grid-template-columns: 1fr; padding: 0 12px; }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .shop-section, .info-section { padding: 82px 0; }
  .shop-heading { align-items: flex-start; flex-direction: column; }
  .mode-bar { gap: 12px; }
  .mode-switch { width: 100%; }
  .mode-switch button { flex: 1; padding: 0 10px; }
  .brand-selector { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 78vw); gap: 12px; margin-right: -12px; padding: 3px 12px 13px 3px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .brand-selector-card { scroll-snap-align: start; }
  .brand-logo-panel { height: 132px; }
  .brand-selector-footer { min-height: 58px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .product-card { border-radius: 16px 16px 6px 16px; }
  .product-media { width: calc(100% - 10px); margin: 5px; }
  .product-info { padding: 10px 11px 13px; }
  .product-info h3 { font-size: 15px; line-height: 1.15; }
  .product-variant { margin: 4px 0 11px; font-size: 10px; }
  .product-price span { font-size: 17px; }
  .product-action { width: 34px; height: 34px; }
  .wholesale-section { padding: 82px 0; }
  .wholesale-form { padding: 22px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .dialog-copy { padding: 38px 22px 30px; }
  .dialog-media { min-height: 310px; padding: 20px; }
  .dialog-points { grid-template-columns: 1fr; }
}



/* Checkout minorista */
.checkout-dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); overflow: auto; }
.checkout-dialog::backdrop, .payment-dialog::backdrop { background: rgba(18,8,3,.7); backdrop-filter: blur(6px); }
.checkout-close { position: sticky; float: right; top: 14px; margin: 14px 14px -56px 0; }
.checkout-form { padding: 48px; }
.checkout-heading { padding-right: 54px; margin-bottom: 32px; }
.checkout-heading h2 { margin: 4px 0 8px; font-size: clamp(34px, 5vw, 50px); letter-spacing: -.04em; }
.checkout-heading > p:last-child { color: var(--muted); line-height: 1.6; }
.checkout-section { padding: 26px 0; border-top: 1px solid var(--line); }
.checkout-section h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 17px; }
.checkout-section h3 span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-fields .field-wide { grid-column: 1 / -1; }
.checkout-fields textarea { width: 100%; resize: vertical; border: 1px solid rgba(37,18,7,.18); border-radius: 12px; padding: 13px 14px; background: rgba(255,255,255,.75); font: inherit; outline: none; }
.checkout-fields textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,154,94,.16); }
.address-search-group { position: relative; }
.address-autocomplete-mount { display: flex; align-items: center; width: 100%; min-height: 50px; }
.address-autocomplete-mount > span { display: flex; align-items: center; width: 100%; min-height: 50px; padding: 0 14px; border: 1px dashed rgba(37,18,7,.2); border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.55); font-size: 13px; }
.address-autocomplete-mount gmp-place-autocomplete { display: block; width: 100%; color-scheme: light; }
.address-search-group[data-state="ready"] #addressSearchHelp { color: #297044; }
.address-search-group[data-state="error"] #addressSearchHelp { color: #a12d25; }
.quote-button { margin-top: 18px; }
.checkout-status { min-height: 22px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.checkout-status[data-type="success"] { color: #297044; }
.checkout-status[data-type="error"] { color: #a12d25; }
.checkout-summary { display: grid; gap: 10px; padding: 20px; margin: 4px 0 18px; border-radius: 16px; background: var(--cream-2); }
.checkout-summary > div { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.checkout-summary strong { color: var(--ink); }
.checkout-summary .checkout-grand-total { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.checkout-grand-total strong { font-size: 21px; }
.secure-note { display: block; margin-top: 12px; color: var(--muted); text-align: center; line-height: 1.5; }
.payment-dialog { width: min(480px, calc(100% - 24px)); padding: 0; border: 0; border-radius: 24px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.payment-dialog-content { padding: 44px; text-align: center; }
.payment-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%; background: var(--ink); color: var(--gold); font-weight: 800; font-size: 22px; }
.payment-dialog h2 { margin-bottom: 12px; font-size: 30px; }
.payment-dialog p { margin-bottom: 26px; color: var(--muted); line-height: 1.65; }

@media (max-width: 620px) {
  .checkout-form { padding: 34px 20px 24px; }
  .checkout-fields { grid-template-columns: 1fr; }
  .checkout-fields .field-wide { grid-column: auto; }
  .checkout-heading { padding-right: 38px; }
  .payment-dialog-content { padding: 34px 22px; }
}


/* ---------- Rediseno mobile commerce-first ---------- */
.brand-tab-label,
.mobile-mode-bar,
.mobile-cart-bar { display: none; }

.announcement-mobile,
.hero-lead-mobile,
.hero-cta { display: none; }

@media (max-width: 820px) {
  html { scroll-padding-top: 124px; }
  body { padding-bottom: 18px; }
  body:has(.mobile-cart-bar:not([hidden])) { padding-bottom: 92px; }

  .announcement,
  body[data-mode="wholesale"] .announcement {
    min-height: 32px;
    padding: 7px 12px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 0;
    text-align: center;
  }
  .announcement p,
  body[data-mode="wholesale"] .announcement p {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .announcement strong { font-size: 9px; letter-spacing: .12em; }
  .announcement-desktop { display: none; }
  .announcement-mobile { display: inline; }
  .announcement span,
  .announcement [data-mode-go] { display: none !important; }

  .site-header {
    height: 64px;
    top: 0;
    padding: 0 14px 0 16px;
    grid-template-columns: 1fr auto;
  }
  .brand-logo { width: 142px; }
  .brand-logo img { width: 138px; }
  .header-actions { gap: 2px; }
  .cart-button {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    border-color: var(--line);
  }
  .cart-button span { display: none; }
  .cart-button strong { width: 34px; height: 34px; }
  .menu-button { width: 44px; height: 44px; padding: 10px; }
  .mobile-menu { top: 58px; }

  .mobile-mode-bar {
    position: sticky;
    z-index: 96;
    top: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 6px 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,253,248,.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 22px rgba(37,18,7,.05);
  }
  .mobile-mode-bar button {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
  }
  .mobile-mode-bar button.is-active {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37,18,7,.14);
  }

  .hero,
  body[data-mode="wholesale"] .hero {
    width: calc(100% - 24px);
    min-height: 0;
    aspect-ratio: auto;
    margin: 14px auto 0;
    padding: 34px 22px 30px;
    align-items: flex-start;
    border-radius: 24px;
    background:
      radial-gradient(circle at 90% 12%, rgba(221,200,145,.34), transparent 34%),
      linear-gradient(145deg, #fffdf8 0%, #f7edd8 100%);
    box-shadow: 0 14px 38px rgba(47,25,10,.08);
  }
  .hero-copy,
  body[data-mode="wholesale"] .hero-copy { width: 100%; max-width: none; transform: none; }
  .hero-visual { display: none; }
  .hero .eyebrow { margin-bottom: 13px; font-size: 9px; line-height: 1.5; }
  .hero h1 { max-width: 520px; font-size: clamp(36px, 10.8vw, 48px); line-height: .98; }
  .hero-lead-desktop { display: none; }
  .hero-lead-mobile { display: block; }
  .hero-lead { max-width: 540px; margin-top: 18px; font-size: 14px; line-height: 1.55; }
  .hero-cta { display: inline-flex; width: min(100%, 270px); margin-top: 22px; }
  .hero-modes-title,
  .hero-modes { display: none; }

  .shop-section {
    width: calc(100% - 24px);
    padding: 28px 0 72px;
  }
  .mode-bar { display: block; margin: 0 0 14px; }
  .mode-bar .mode-switch { display: none; }
  .mode-note { font-size: 11px; line-height: 1.45; }

  .brand-selector {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: initial;
    grid-auto-columns: auto;
    gap: 7px;
    margin: 0 0 16px;
    padding: 0;
    overflow: visible;
  }
  .brand-selector-card {
    min-height: 58px;
    padding: 4px 6px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    text-align: center;
    scroll-snap-align: none;
    box-shadow: none;
  }
  .brand-selector-card:hover { transform: none; box-shadow: none; }
  .brand-selector-card.is-active {
    border-color: var(--gold);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 0 0 2px rgba(184,154,94,.18), 0 6px 16px rgba(37,18,7,.08);
  }
  .brand-selector-card.is-active::after,
  .brand-selector-footer { display: none; }
  .brand-tab-label { display: none; }
  .brand-logo-panel,
  .lindt-card .brand-logo-panel,
  .haribo-card .brand-logo-panel,
  .chimbote-card .brand-logo-panel {
    position: static;
    width: 100%;
    height: 48px;
    padding: 4px 6px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: transparent;
  }
  .brand-logo-panel img,
  .lindt-card .brand-logo-panel img,
  .haribo-card .brand-logo-panel img,
  .chimbote-card .brand-logo-panel img {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    max-width: 104px;
    max-height: 40px;
    object-fit: contain;
  }
  .lindt-card .brand-logo-panel img {
    width: 100%;
    height: 44px;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center 44%;
  }
  .haribo-card .brand-logo-panel img {
    width: 100%;
    height: 44px;
    max-width: none;
    max-height: 44px;
    object-fit: contain;
  }
  .chimbote-card .brand-logo-panel img {
    width: 100%;
    height: 44px;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center 56%;
  }
  .catalog-status { margin-bottom: 12px; font-size: 10px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: 16px; }
  .product-media {
    width: calc(100% - 10px);
    margin: 5px;
    aspect-ratio: 1 / .9;
    border-radius: 12px;
  }
  .product-media img { padding: 8px; }
  .product-badge { left: 9px; top: 9px; padding: 5px 7px; font-size: 7px; }
  .product-info { padding: 9px 10px 12px; }
  .product-brand { margin-bottom: 4px; font-size: 7px; }
  .product-info h3 {
    min-height: 32px;
    font-size: 14px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-variant {
    min-height: 27px;
    margin: 4px 0 9px;
    font-size: 9px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-price-row { gap: 6px; padding-top: 9px; }
  .product-price span { font-size: clamp(16px, 4.4vw, 19px); }
  .product-price small { font-size: 7px; letter-spacing: .02em; }
  .product-action { width: 34px; height: 34px; flex: 0 0 34px; }
  .product-action:not(.add) { display: none; }
  body[data-mode="wholesale"] .product-price-row { gap: 8px; }

  .mobile-cart-bar:not([hidden]) {
    position: fixed;
    z-index: 205;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 62px;
    padding: 8px 9px 8px 17px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 18px 44px rgba(37,18,7,.28);
  }
  .mobile-cart-bar > span { display: grid; gap: 2px; text-align: left; }
  .mobile-cart-bar strong { font-size: 12px; }
  .mobile-cart-bar small { color: rgba(255,255,255,.68); font-size: 10px; }
  .mobile-cart-bar em {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    background: #fff;
    color: var(--ink);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .cart-drawer { width: 100%; }
  .checkout-dialog,
  .product-dialog {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .checkout-form { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .product-dialog .dialog-close { margin-left: calc(100vw - 60px); }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .brand-tab-label { font-size: 10px; }
  .product-grid { gap: 7px; }
  .product-info { padding-left: 8px; padding-right: 8px; }
}
