/* ================= Limra Collection · boutique ================= */

/* Ticker */
.ticker { background: var(--night); color: var(--gold); font-size: 14px; height: 36px; overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: flex; gap: 46px; white-space: nowrap; animation: tick 40s linear infinite; padding-left: 46px; }
.ticker-track span::before { content: "✦"; margin-right: 46px; color: var(--gold-2); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(248, 244, 238, .95); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 76px; gap: 16px; }
.h-left, .h-right { display: flex; align-items: center; gap: 10px; }
.h-right { justify-content: flex-end; }
.h-link { text-decoration: none; font-size: 15px; padding: 6px 4px; position: relative; }
.h-link::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.h-link:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); display: grid; place-content: center; gap: 5px; transition: border-color .2s var(--ease); }
.burger:hover { border-color: var(--ink); }
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .2s var(--ease); }
.burger span:nth-child(2) { width: 12px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: center; text-align: center; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.brand-text { display: grid; }
.brand-name { font-family: var(--font-display); font-size: 28px; line-height: 1; white-space: nowrap; letter-spacing: .01em; }
.brand-tag { font-size: 13px; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.hdr-btn { background: transparent; }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 18px; border-radius: 999px; border: 0; background: var(--night); color: var(--ivory); transition: transform .25s var(--ease), background-color .25s var(--ease); }
.cart-btn:hover { background: var(--night-3); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 34px; height: 34px; padding: 0 9px; border-radius: 999px; background: var(--gold); color: var(--night); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.cart-btn.bump { animation: bump .6s var(--ease-spring); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-3deg); } 60% { transform: scale(.96) rotate(2deg); } }

.search-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.search-panel > .container { overflow: hidden; }
.search-panel.on { grid-template-rows: 1fr; }
.search-field { display: flex; align-items: center; gap: 14px; padding: 16px 0 12px; border-top: 1px solid var(--line); }
.search-field svg { width: 22px; height: 22px; color: var(--gold-ink); flex: none; }
.search-field input { flex: 1; border: 0; background: none; font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 28px); outline: none; min-width: 0; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; padding: 6px 0 18px; }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 6px; border-radius: 12px; border: 0; background: none; text-align: left; }
.sr-item:hover { background: var(--sand); }
.sr-item img { width: 46px; height: 58px; object-fit: cover; border-radius: 8px; }
.sr-item b { display: block; font-weight: 500; font-size: 15px; }
.sr-item small { color: var(--muted); }
.search-empty { color: var(--muted); padding: 0 0 16px; margin: 0; }

.closed-banner { background: var(--gold); color: var(--night); text-align: center; padding: 12px var(--gutter); font-weight: 500; }

/* Hero (compact) */
.hero { padding: clamp(24px, 3.5vw, 44px) 0 clamp(20px, 3vw, 36px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-kicker { margin: 0 0 14px; color: var(--gold-ink); font-size: 15px; display: flex; align-items: center; gap: 12px; }
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold-2); }
.hero-title { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .14em .1em 0; margin-right: -.14em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); animation: rise-w 1s var(--ease-out) forwards; animation-delay: var(--d); }
@keyframes rise-w { to { transform: none; } }
.hero-title em { font-style: italic; color: var(--gold-ink); }
.hero-text { color: var(--ink-2); margin: 16px 0 0; max-width: 32em; animation: fade-up .9s var(--ease-out) .5s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; animation: fade-up .9s var(--ease-out) .62s both; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); animation: fade-up .9s var(--ease-out) .74s both; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold-2); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.hero-visual { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); box-shadow: var(--shadow-1); animation: fade-up 1.1s var(--ease-out) .2s both; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.08) translateX(1%); } }

/* Collection */
.collection { padding: clamp(18px, 3vw, 34px) 0 clamp(40px, 6vw, 70px); }
.coll-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 6px; }
.coll-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.coll-head p { margin: 0; color: var(--muted); }
.toolbar { position: sticky; top: 76px; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 0; margin-bottom: 18px; background: var(--ivory); }
.filters { position: relative; display: flex; gap: 6px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 17px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 16px; font-weight: 500; transition: color .3s var(--ease), border-color .3s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip small { font-size: 12px; color: var(--muted); }
.chip[aria-pressed="true"] { color: var(--ivory); border-color: transparent; }
.chip[aria-pressed="true"] small { color: var(--gold); }
.chip.promo-chip { border-color: var(--gold-2); color: var(--gold-ink); }
.pill { position: absolute; z-index: 0; top: 0; left: 0; height: 40px; width: 0; border-radius: 999px; background: var(--night); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.sort { width: auto; min-height: 40px; padding: 6px 14px; border-radius: 999px; flex: none; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; opacity: 0; transform: translateY(26px); }
.card.in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: var(--sand); }
.card-media .open { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: zoom-in; width: 100%; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1); transform-origin: 50% 50%; transition: transform 1.1s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.4); }
.badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.badge { padding: 4px 11px; border-radius: 999px; font-size: 13px; background: var(--night); color: var(--gold); }
.badge.promo { background: #b2342a; color: #fff; }
.badge.soldout { background: var(--gold); color: var(--night); }
.badge.off { background: #8c8f99; color: #fff; }
.in-cart { position: absolute; top: 12px; right: 12px; z-index: 2; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; background: var(--gold); color: var(--night); font-size: 13px; font-weight: 600; display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--ease-spring); pointer-events: none; }
.in-cart.on { transform: scale(1); }
.card.na .card-media img { filter: grayscale(.6) opacity(.75); }
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(13, 19, 33, .14); transform: translateY(calc(100% + 14px)); transition: transform .5s var(--ease-out); }
.card:hover .quick, .card:focus-within .quick { transform: none; }
.quick .stepper { height: 40px; border-color: transparent; background: transparent; }
.quick .stepper button { width: 36px; height: 38px; }
.quick .stepper input { width: 38px; }
.quick .add-btn { flex: 1; min-height: 40px; padding: 0 12px; font-size: 15px; }
.quick .na-note { flex: 1; display: grid; place-items: center; font-size: 14px; color: var(--muted); min-height: 40px; }
.add-btn.done { background: var(--ok) !important; }
.card-body { padding: 12px 2px 0; display: grid; gap: 1px; align-content: start; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ref { font-size: 14px; color: var(--gold-ink); font-weight: 500; }
.card-body h3 { font-size: 22px; line-height: 1.18; }
.card-body p { margin: 4px 0 0; font-size: 15px; color: var(--muted); line-height: 1.45; }
.price { font-weight: 500; font-size: 15px; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 400; margin-right: 4px; }
.price small { font-weight: 400; color: var(--muted); }
.price.promo { color: #b2342a; }
.empty { padding: 50px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.link-btn { border: 0; background: none; padding: 4px 0; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--gold-ink); }
.tap-add { display: none; }
@media (hover: none) {
  .quick { display: none; }
  .tap-add { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: var(--night); color: var(--ivory); font-size: 15px; font-weight: 600; box-shadow: 0 8px 20px rgba(13, 19, 33, .25); }
  .tap-add svg { width: 18px; height: 18px; }
  .tap-add.done { background: var(--ok); }
  .tap-na { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .92); text-align: center; font-size: 13px; color: var(--ink-2); }
  .card:hover .card-media img { transform: scale(1.04); }
}
@media (hover: hover) { .tap-na { display: none; } }
.skeleton .card-media, .skeleton .line { background: linear-gradient(90deg, var(--sand) 0, #f6f0e6 50%, var(--sand) 100%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton .line { height: 13px; border-radius: 6px; margin-top: 9px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Info band */
.info { background: var(--night); color: var(--ivory); padding: 28px 0; }
.info-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 34px; }
.steps li { display: flex; align-items: center; gap: 12px; }
.steps b { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 400; }
.steps span { font-size: 15px; color: var(--on-night-2); }
.steps strong { display: block; color: var(--ivory); font-weight: 500; }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px; }
.c-link { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--ivory); text-decoration: none; font-size: 15px; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.c-link:hover { border-color: var(--gold); background: rgba(198, 164, 98, .08); }
.c-link svg { width: 18px; height: 18px; }

/* Footer */
.site-footer { background: var(--night-2); color: var(--on-night-2); padding: 22px 0 100px; font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; }
.foot-brand { font-family: var(--font-display); font-size: 22px; color: var(--ivory); }

/* Floating */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70; text-decoration: none; }
.wa-icon { position: relative; width: 58px; height: 58px; border-radius: 999px; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(31, 174, 85, .45); transition: transform .3s var(--ease-spring); }
.wa-float:hover .wa-icon { transform: scale(1.08) rotate(-8deg); }
.wa-icon svg { width: 30px; height: 30px; }
.wa-icon::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 70px); z-index: 70; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-1); display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }
body.has-cart .wa-float { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 70px); }
body.has-cart .to-top { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 140px); }
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 65; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 7px 7px 18px; border-radius: 999px; background: var(--night); color: var(--ivory); box-shadow: var(--shadow-2); border: 0; text-align: left; transform: translateY(150%); transition: transform .6s var(--ease-spring); }
.cart-bar.on { transform: none; }
.cart-bar em { font-style: normal; display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 500; }

/* Side menu */
.menu { position: fixed; top: 0; left: 0; bottom: 0; z-index: 90; width: min(360px, 88vw); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--night); color: var(--ivory); transform: translateX(-105%); transition: transform .6s var(--ease-out); visibility: hidden; }
.menu.on { transform: none; visibility: visible; }
.menu-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line-dark); }
.menu-title { font-family: var(--font-display); font-size: 24px; }
.menu .icon-btn { background: transparent; color: var(--ivory); border-color: var(--line-dark); }
.menu-body { overflow-y: auto; padding: 10px 22px 20px; }
.menu-label { margin: 18px 0 6px; font-size: 13px; color: var(--gold); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a, .menu-list button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 10px 0; border: 0; background: none; color: inherit; text-decoration: none; text-align: left; font-family: var(--font-display); font-size: 26px; border-bottom: 1px solid var(--line-dark); transition: color .2s var(--ease), padding .3s var(--ease-out); }
.menu-list a:hover, .menu-list button:hover { color: var(--gold); padding-left: 6px; }
.menu-list small { font-family: var(--font-body); font-size: 13px; color: var(--on-night-2); }
.menu-list.small a, .menu-list.small button { font-family: var(--font-body); font-size: 17px; padding: 11px 0; justify-content: flex-start; }
.menu-list.small button small { margin-left: auto; }
.menu-list svg { width: 18px; height: 18px; flex: none; }
.menu-list .soon { opacity: .5; pointer-events: none; }
.menu.on .menu-list li { animation: menu-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms + .15s); }
@keyframes menu-in { from { opacity: 0; transform: translateX(-14px); } }
.menu-settings { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 22px max(16px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line-dark); background: none; color: var(--on-night-2); font-size: 15px; text-align: left; }
.menu-settings:hover { color: var(--gold); }
.menu-settings svg { width: 20px; height: 20px; }

/* Code dialog */
.codebox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(13, 19, 33, .6); backdrop-filter: blur(4px); }
.code-card { width: min(360px, 100%); display: grid; gap: 12px; padding: 28px; border-radius: var(--radius-l); background: var(--ivory); box-shadow: var(--shadow-2); text-align: center; animation: pop-in .45s var(--ease-spring) both; }
@keyframes pop-in { from { opacity: 0; transform: scale(.92); } }
.code-card h2 { font-size: 30px; }
.code-card p { margin: 0; color: var(--muted); }
.code-input { text-align: center; font-size: 28px; letter-spacing: .4em; }
.code-err { color: var(--danger); font-size: 14px; min-height: 1em; }
.code-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Overlays */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(13, 19, 33, .5); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(500px, 100%); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--ivory); box-shadow: var(--shadow-2); transform: translateX(105%); transition: transform .65s var(--ease-out); visibility: hidden; }
.drawer.on { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px 10px; }
.drawer-head h2 { font-size: 32px; }
.drawer-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0 24px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.drawer-steps li { position: relative; padding-top: 9px; }
.drawer-steps li::before, .drawer-steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.drawer-steps li::after { background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.drawer-steps li.on { color: var(--ink); }
.drawer-steps li.on::after { transform: scaleX(1); }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; }
.pane { padding: 8px 24px 24px; animation: pane-in .5s var(--ease-out) both; }
@keyframes pane-in { from { opacity: 0; transform: translateX(26px); } }
.pane.back { animation-name: pane-back; }
@keyframes pane-back { from { opacity: 0; transform: translateX(-26px); } }
.drawer-foot { padding: 16px 24px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; }
.drawer-foot .btn { width: 100%; }
.summary { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.summary b { font-family: var(--font-display); font-weight: 400; font-size: 23px; }
.summary small { display: block; color: var(--muted); font-size: 13px; }
.line-item { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: item-in .45s var(--ease-out) both; animation-delay: var(--d, 0s); }
.line-item.leaving { animation: item-out .3s var(--ease) both; }
@keyframes item-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes item-out { to { opacity: 0; transform: translateX(36px); } }
.line-item img { width: 70px; height: 88px; object-fit: cover; border-radius: 10px; }
.line-item h3 { font-size: 19px; line-height: 1.15; }
.line-item .right { display: grid; justify-items: end; gap: 4px; }
.line-item .stepper { height: 38px; }
.line-item .stepper button { width: 34px; height: 36px; }
.line-item .stepper input { width: 38px; }
.cart-empty { text-align: center; padding: 48px 10px; color: var(--muted); }
.cart-empty svg { width: 60px; height: 60px; margin: 0 auto 16px; color: var(--gold-2); }
.cart-empty strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--ink); margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-sec { grid-column: 1 / -1; font-family: var(--font-display); font-size: 21px; margin-top: 6px; }
.recap { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--sand); font-size: 15px; }
.recap ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.recap li { display: flex; justify-content: space-between; gap: 10px; }
.success { text-align: center; padding: 30px 4px 6px; }
.success .check { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 999px; background: var(--night); color: var(--gold); display: grid; place-items: center; animation: pop .7s var(--ease-spring) both; }
.success .check svg { width: 42px; height: 42px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .4s var(--ease) forwards; }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 38px; }
.success p { color: var(--ink-2); }
.order-no { display: inline-block; margin: 8px 0 14px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--gold-2); color: var(--gold-ink); }

/* Product modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; pointer-events: none; visibility: hidden; }
.modal.on { pointer-events: auto; visibility: visible; }
.modal-card { position: relative; width: min(1120px, 100%); height: min(760px, calc(100dvh - 48px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); border-radius: var(--radius-l); overflow: hidden; background: var(--ivory); box-shadow: var(--shadow-2); opacity: 0; transform: translateY(36px) scale(.97); transition: opacity .45s var(--ease-out), transform .65s var(--ease-out); }
.modal.on .modal-card { opacity: 1; transform: none; }
.gallery { position: relative; background: var(--sand); overflow: hidden; min-height: 0; touch-action: pan-y; cursor: zoom-in; }
.gallery-track { display: flex; height: 100%; transition: transform .65s var(--ease-out); }
.g-slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.g-slide img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery.zoom .g-slide.cur img { transform: scale(2.3); }
.gallery .icon-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .9); border-color: transparent; z-index: 2; }
.gallery .prev { left: 14px; } .gallery .next { right: 14px; }
.zoom-hint { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(13, 19, 33, .72); color: var(--ivory); font-size: 13px; pointer-events: none; transition: opacity .3s var(--ease); }
.gallery.zoom .zoom-hint { opacity: 0; }
.thumbs { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.thumbs button { width: 46px; height: 58px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--card); opacity: .75; }
.thumbs button.on { border-color: var(--gold); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; min-width: 0; }
.modal-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 20px 0; }
.modal-nav { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.modal-content { padding: 18px 36px; overflow-y: auto; }
.modal-content h2 { font-size: clamp(32px, 3.4vw, 48px); margin: 6px 0 14px; }
.modal-content .lead { color: var(--ink-2); font-size: 17px; margin: 0 0 16px; }
.m-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.spec { display: grid; grid-template-columns: auto 1fr; margin: 22px 0 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
.spec dt { color: var(--muted); padding-right: 22px; }
.spec dd { text-align: right; }
.related { margin-top: 24px; }
.related h3 { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.related-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.related-row button { border: 0; padding: 0; background: none; text-align: left; }
.related-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; transition: transform .5s var(--ease-out); }
.related-row button:hover img { transform: translateY(-4px); }
.related-row span { display: block; font-size: 13px; margin-top: 5px; line-height: 1.3; }
.modal-buy { display: flex; gap: 12px; align-items: center; padding: 16px 36px 22px; border-top: 1px solid var(--line); background: var(--card); }
.modal-buy .btn { flex: 1; min-width: 0; white-space: normal; line-height: 1.2; padding: 0 16px; }
.na-box { flex: 1; text-align: center; padding: 12px; border-radius: 12px; background: var(--sand); color: var(--ink-2); }
.in-order { color: var(--ok); font-size: 15px; margin: 16px 0 0; }
.swap { animation: swap .5s var(--ease-out) both; }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }
.fly { position: fixed; z-index: 150; border-radius: 14px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-2); }

/* Responsive */
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .header-row { height: 66px; grid-template-columns: auto minmax(0, 1fr) auto; }
  .h-link, .cart-label, .brand-tag { display: none; }
  .brand { justify-self: center; }
  .brand-name { font-size: 22px; }
  .toolbar { top: 66px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; aspect-ratio: 16 / 9; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal { padding: 0; align-items: end; }
  .modal-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 46dvh) minmax(0, 1fr); height: 94dvh; border-radius: var(--radius-l) var(--radius-l) 0 0; transform: translateY(100%); }
  .modal-content { padding: 12px 20px; }
  .modal-buy { padding: 12px 20px max(16px, env(safe-area-inset-bottom)); }
  .cart-bar { display: flex; }
  .cart-btn { padding: 0 5px 0 12px; }
  .info-grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .ticker { height: 32px; font-size: 13px; }
  .hdr-btn#igHeader { display: none; }
  .burger, .hdr-btn { width: 42px; height: 42px; }
  .cart-btn { height: 42px; }
  .cart-btn svg { display: none; }
  .hero-title { font-size: 36px; }
  .hero-text { font-size: 17px; }
  .modal-content h2 { font-size: 32px; }
  .modal-content .lead { font-size: 17px; }
  .modal-buy { gap: 8px; }
  .modal-buy .stepper button { width: 36px; }
  .modal-buy .stepper input { width: 36px; }
  .hero-facts { display: none; }
  .grid { gap: 18px 12px; }
  .card-body h3 { font-size: 19px; }
  .card-body p { font-size: 14px; }
  .ref { font-size: 13px; }
  .tap-add { height: 38px; padding: 0 12px 0 10px; font-size: 14px; right: 8px; bottom: 8px; }
  .sort { display: none; }
  .related-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-row button:nth-child(4) { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .wa-icon { width: 54px; height: 54px; }
}

/* Article tabs + sizes */
.type-tabs { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.type-tabs::-webkit-scrollbar { display: none; }
.type-tab { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-family: var(--font-display); font-size: 21px; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease); }
.type-tab small { font-family: var(--font-body); font-size: 13px; color: var(--muted); }
.type-tab:hover { border-color: var(--ink); }
.type-tab:active { transform: scale(.97); }
.type-tab[aria-pressed="true"] { background: var(--night); color: var(--ivory); border-color: var(--night); }
.type-tab[aria-pressed="true"] small { color: var(--gold); }
.sizes-line { color: var(--gold-ink) !important; font-weight: 500; }
.size-grid { margin: 4px 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.size-title { margin: 0 0 8px !important; font-weight: 600; color: var(--ink) !important; font-size: 16px !important; }
.size-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.size-row:first-of-type { border-top: 0; }
.size-row span { font-weight: 500; }
.size-row .stepper { height: 40px; }
.li-size { display: inline-block; margin-top: 2px; padding: 2px 9px; border-radius: 999px; background: var(--sand); font-size: 13px; font-weight: 500; }
@media (max-width: 560px) { .type-tab { height: 46px; padding: 0 16px; font-size: 18px; } }

/* Nouveautés slider (hero) */
.spot { position: relative; min-width: 0; }
.spot-frame { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--night); color: var(--ivory); box-shadow: var(--shadow-2); aspect-ratio: 16 / 11; animation: fade-up 1s var(--ease-out) .2s both; }
.spot-label { position: absolute; top: 16px; left: 16px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 600; font-size: 14px; }
.spot-label::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #b2342a; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.spot-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); transform: translateX(100%); transition: transform .9s var(--ease-out); cursor: pointer; }
.spot-slide.on { transform: translateX(0); }
.spot-slide.out { transform: translateX(-100%); }
.spot-img { position: relative; background: var(--sand); overflow: hidden; }
.spot-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 6s linear; transform: scale(1); }
.spot-slide.on .spot-img img { transform: scale(1.12); }
.spot-info { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px 26px 44px; }
.spot-info .ref { color: var(--gold); }
.spot-info h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.spot-info p { margin: 0; color: var(--on-night-2); font-size: 16px; }
.spot-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.spot-sizes span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 13px; color: var(--ivory); }
.spot-info .btn { align-self: flex-start; margin-top: 8px; min-height: 46px; }
.spot-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 4; display: flex; justify-content: center; gap: 8px; }
.spot-dots button { width: 30px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(248, 244, 238, .25); overflow: hidden; position: relative; }
.spot-dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: dotfill 4.5s linear forwards; }
.spot.paused .spot-dots button.on::after { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } }
@media (max-width: 900px) {
  .spot { order: -1; }
  .spot-frame { aspect-ratio: auto; height: 520px; }
  .spot-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .spot-info { padding: 16px 18px 40px; gap: 6px; }
  .spot-info p { font-size: 15px; }
}
@media (max-width: 560px) { .spot-frame { height: 470px; } .spot-info h3 { font-size: 24px; } }
.brand-tag:empty { display: none; }
