/* ==== Brand tokens: change these to rebrand ==== */
:root {
  --ink: #000000;
  --text: #222222;
  --muted: #757575;
  --line: #e5e5e5;
  --soft: #f6f6f6;
  --accent: #d0021b;      /* buttons, stars, highlights */
  --accent-dark: #a80016;
  --font: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }

/* Stars: set --r (0-5) for partial fill */
.stars { --r: 4.5; display: inline-block; line-height: 1; letter-spacing: 2px; font-size: 1rem; vertical-align: middle; }
.stars::before { content: "★★★★★"; background: linear-gradient(90deg, var(--accent) calc(var(--r) / 5 * 100%), #d6d6d6 0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn-red { background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 14px 24px; font-weight: 700; cursor: pointer; transition: background .15s; }
.btn-red:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; border: 1px solid var(--ink); border-radius: 6px; padding: 12px 24px; font-weight: 700; cursor: pointer; }
.btn-outline:hover { background: var(--soft); }

/* ==== Utility bar ==== */
.utility { background: var(--ink); color: #fff; font-size: .9rem; }
.utility .wrap { display: flex; justify-content: space-between; height: 40px; align-items: center; }
.u-group { display: flex; gap: 22px; align-items: center; }
.u-group a, .bag-link { display: flex; align-items: center; gap: 6px; background: none; border: none; color: #fff; cursor: pointer; padding: 0; }
.u-group a:hover, .bag-link:hover { text-decoration: underline; }
#wishCount:not(:empty), #bagCount:not(:empty) { background: var(--accent); border-radius: 999px; font-size: .72rem; padding: 0 7px; font-weight: 700; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ==== Header ==== */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { font-size: 1.9rem; font-weight: 800; letter-spacing: .32em; color: var(--ink); }
.search { flex: 1; max-width: 360px; margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 999px; padding: 0 16px; height: 40px; color: var(--muted); }
.search input { border: none; background: none; outline: none; width: 100%; color: var(--text); }
.main-nav { display: flex; gap: 32px; height: 44px; align-items: center; font-weight: 700; font-size: .92rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { white-space: nowrap; padding: 11px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.on { border-color: var(--ink); }

/* ==== Breadcrumbs ==== */
.crumbs { font-size: .8rem; color: var(--muted); padding: 22px 0; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--text); }

/* ==== CSS bottle (replace with <img> when you have photos) ====
   Everything is in em, so set font-size on .bottle to resize it. */
.bottle { font-size: 10px; width: 9em; display: flex; flex-direction: column; align-items: center; position: relative; flex-shrink: 0; }
.bottle .cap { width: 4.4em; height: 3.4em; background: linear-gradient(90deg, #000, #3b3b3b 30%, #161616 60%, #000); border-radius: .6em .6em .2em .2em; }
.bottle .neck { width: 2.6em; height: .9em; background: linear-gradient(90deg, #aaa, #f2f2f2 40%, #8f8f8f); }
.bottle .glass { width: 9em; height: 12.5em; border-radius: 1.6em 1.6em 1.3em 1.3em; position: relative; overflow: hidden;
  background: linear-gradient(90deg, #e3e7ea 0%, #fff 16%, #f6f7f8 50%, #fff 82%, #d9dde1 100%);
  border: .14em solid #d0d5da;
  box-shadow: inset 0 0 0 .55em rgba(255,255,255,.75), inset 0 -1.4em 1.6em rgba(0,0,0,.05), 0 1.8em 2.2em -1.4em rgba(0,0,0,.4); }
.bottle .glass::before { content: ""; position: absolute; left: .9em; top: 1.2em; bottom: 1.2em; width: .5em; border-radius: 1em; background: linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.1)); z-index: 2; }
.bottle .band { position: absolute; top: 2.3em; left: -.2em; right: -.2em; height: 1.9em; background: #111; display: grid; place-items: center; }
.bottle .band span { color: #fff; font-size: .78em; letter-spacing: .3em; font-weight: 700; padding-left: .3em; }
.bottle .mark { position: absolute; top: 40%; left: 0; right: 0; text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 4.2em; line-height: 1; color: #1b1b1b; }
.bottle .sub { position: absolute; bottom: 13%; left: 0; right: 0; text-align: center; font-size: .6em; letter-spacing: .25em; text-transform: uppercase; color: #666; }
/* Navy "Intense" variant */
.bottle.navy .cap { background: linear-gradient(90deg, #070b18, #26304e 30%, #0d1328 60%, #05080f); }
.bottle.navy .glass { background: linear-gradient(90deg, #0a1229 0%, #27365f 18%, #18224a 52%, #2d3c6c 80%, #081026 100%); border-color: #081026; box-shadow: inset 0 0 0 .55em rgba(255,255,255,.06), 0 1.8em 2.2em -1.4em rgba(0,0,0,.5); }
.bottle.navy .glass::before { background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,0)); }
.bottle.navy .band { background: transparent; border-top: .06em solid rgba(255,255,255,.3); border-bottom: .06em solid rgba(255,255,255,.3); }
.bottle.navy .band span { color: #cbd3ea; }
.bottle.navy .mark { color: #e8ecf7; }
.bottle.navy .sub { color: #aab4d4; }
.bottle.frost { opacity: .5; }
.bottle.small { font-size: .55em; align-self: flex-end; margin-bottom: 4%; }

/* ==== Product layout ==== */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; gap: 32px; } }

.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-self: start; position: sticky; top: 16px; }
@media (max-width: 960px) { .gallery { position: static; } }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } .thumbs { order: 2; flex-direction: row !important; } }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb { width: 80px; height: 80px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0; cursor: pointer; overflow: hidden; position: relative; }
.thumb.on { border: 2px solid var(--ink); }
.thumb .view { position: absolute; top: 0; left: 0; width: 500px; height: 500px; transform: scale(.16); transform-origin: 0 0; display: flex !important; pointer-events: none; }
.thumb .view .bottle { font-size: 22px; }
.thumb .view .bottle.small { font-size: 12px; }

.stage { position: relative; aspect-ratio: 1; background: #fff; border-radius: 4px; overflow: hidden; }
.view { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 6%; }
.view.on { display: flex; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; } }
.stage .view .bottle { font-size: clamp(13px, 2.4vw, 26px); }
.stage .view .bottle.small { font-size: clamp(7px, 1.3vw, 14px); }
.v-angle { background: #f4f1ec; }
.v-angle .bottle { transform: rotate(-10deg); }
.v-box { background: #f7f7f7; }
.box { width: 32%; aspect-ratio: .62; background: linear-gradient(90deg, #f1f1f1, #fff 30%, #fafafa 70%, #e6e6e6); border: 1px solid #ddd; box-shadow: 0 30px 40px -25px rgba(0,0,0,.4); position: relative; display: flex; flex-direction: column; align-items: center; }
.box-band { margin-top: 22%; width: 100%; background: #111; color: #fff; text-align: center; letter-spacing: .3em; font-weight: 700; font-size: clamp(.55rem, 1vw, .95rem); padding: 6% 0; }
.box-mark { font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 4.4rem); margin-top: 18%; color: #1b1b1b; }
.box-sub { position: absolute; bottom: 9%; font-size: clamp(.45rem, .8vw, .72rem); letter-spacing: .15em; text-transform: uppercase; color: #666; }
.v-duo { gap: 4%; }
.stage .wish-btn { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; z-index: 3; }
.wish-btn svg { width: 22px; height: 22px; }
.wish-btn.on svg { fill: var(--accent); stroke: var(--accent); }
.badge { position: absolute; top: 18px; left: 18px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 3px; z-index: 3; text-transform: uppercase; letter-spacing: .05em; }

/* ==== Info column ==== */
.info .brand { font-weight: 800; font-size: 1.05rem; margin: 0 0 4px; text-decoration: underline; text-underline-offset: 3px; }
.info h1 { font-size: 1.6rem; font-weight: 400; line-height: 1.25; margin-bottom: 10px; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.rating:hover span:last-child { text-decoration: underline; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin-top: 16px; }
.instal { margin: 4px 0 24px; font-size: .88rem; color: var(--muted); }
.instal b { color: var(--text); }
.opt { border-top: 1px solid var(--line); padding: 20px 0 4px; }
.opt-label { font-size: .92rem; margin-bottom: 12px; }
.variants { display: flex; gap: 12px; }
.variant { width: 72px; height: 88px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.variant .bottle { font-size: 4px; }
.variant .bottle .mark, .variant .bottle .sub { display: none; }
.variant.on { border: 2px solid var(--ink); }
.sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.sizes button { min-width: 108px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; text-align: left; display: flex; flex-direction: column; }
.sizes button span { font-size: .82rem; color: var(--muted); }
.sizes button.on { border: 2px solid var(--ink); padding: 9px 13px; }
.buy-row { display: flex; gap: 12px; margin-top: 24px; }
.buy-row select { width: 80px; border: 1px solid #bbb; border-radius: 6px; padding: 0 12px; background: #fff; cursor: pointer; }
.buy-row .btn-red { flex: 1; font-size: 1rem; padding: 15px; }
.stock { font-size: .85rem; display: flex; align-items: center; gap: 8px; margin: 14px 0 22px; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; }
.delivery { border: 1px solid var(--line); border-radius: 6px; }
.delivery div { display: flex; gap: 14px; padding: 14px 16px; align-items: flex-start; font-size: .88rem; }
.delivery div + div { border-top: 1px solid var(--line); }
.delivery b { display: block; color: var(--ink); }
.delivery span { color: var(--muted); }
.delivery svg { margin-top: 2px; color: var(--ink); }
.accordion { margin-top: 24px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); margin-right: 4px; transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.accordion p { margin: 0 0 18px; }
.facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .9rem; }
.facts b { display: inline-block; width: 130px; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.notes div { background: var(--soft); border-radius: 6px; padding: 14px; font-size: .88rem; }
.notes b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }

/* ==== Most-Loved ==== */
.loved { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .loved { grid-template-columns: 1fr; } }
.loved-head { align-self: center; }
.loved h2 { font-size: 1.6rem; margin-bottom: 8px; }
.loved-head p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px; }
.card { cursor: pointer; font-size: .92rem; }
.card > b, .card > span:not(.stars), .card > strong { display: block; }
.card > b { color: var(--ink); }
.card > strong { color: var(--ink); margin: 2px 0 4px; }
.card > small { color: var(--muted); }
.card-img { height: 230px; display: grid; place-items: center; position: relative; margin-bottom: 14px; }
.card-img .bottle { font-size: 11px; transition: transform .25s; }
.card-img .bottle.small-card { font-size: 7px; }
.card:hover .card-img .bottle { transform: translateY(-6px); }
.quick { position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 8px); opacity: 0; background: var(--ink); color: #fff; border: none; border-radius: 6px; padding: 8px 18px; font-weight: 700; font-size: .82rem; cursor: pointer; transition: all .2s; white-space: nowrap; }
.card:hover .quick { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .quick { opacity: 1; transform: translate(-50%, 0); } }
.soldout { cursor: default; }
.oos { position: absolute; top: 46%; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.92); padding: 2px 10px; font-weight: 700; color: #888; font-size: .95rem; white-space: nowrap; }

/* ==== Reviews ==== */
.reviews { padding-top: 64px; padding-bottom: 48px; }
.reviews h2 { font-size: 1.6rem; margin-bottom: 32px; }
.rev-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; }
@media (max-width: 960px) { .rev-grid { grid-template-columns: 1fr; gap: 32px; } }
.big-score { display: flex; align-items: center; gap: 14px; }
.big-score strong { font-size: 3.4rem; font-weight: 300; color: var(--ink); line-height: 1; }
.big-score .stars { font-size: 1.3rem; }
.bars { display: grid; gap: 8px; margin: 18px 0; }
.bar { display: grid; grid-template-columns: 52px 1fr 36px; gap: 10px; align-items: center; font-size: .85rem; background: none; border: none; padding: 2px 0; cursor: pointer; text-align: left; }
.bar .track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar .track i { display: block; height: 100%; background: var(--accent); }
.bar:hover span:first-child, .bar.on span:first-child { text-decoration: underline; font-weight: 700; }
.bar span:last-child { color: var(--muted); text-align: right; }
.recommend { font-size: .9rem; margin-bottom: 20px; }
.rev-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.rev-toolbar a { color: var(--accent); text-decoration: underline; margin-left: 8px; cursor: pointer; }
.sort { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.sort select { min-width: 170px; height: 40px; border: 1px solid #999; border-radius: 6px; padding: 0 12px; font-weight: 400; background: #fff; cursor: pointer; }
.review { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
@media (max-width: 640px) { .review { grid-template-columns: 1fr; gap: 8px; } }
.review .who b { display: block; color: var(--ink); }
.review .who span { font-size: .82rem; color: var(--muted); display: block; }
.review h4 { font-weight: 800; margin: 6px 0 6px; font-size: 1rem; }
.review p { margin: 0 0 10px; }
.review .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 16px; align-items: center; }
.review .verified { color: #1f9d55; font-weight: 700; }
.helpful { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; cursor: pointer; font-size: .8rem; }
.helpful:disabled { border-color: var(--ink); cursor: default; }
#loadMore { margin-top: 24px; }
.empty { padding: 32px 0; color: var(--muted); }

.back-top { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 24px 0 48px; font-size: .92rem; }
.back-top svg { fill: currentColor; stroke: none; width: 18px; }
.back-top:hover { text-decoration: underline; }

/* ==== Footer ==== */
footer { background: var(--soft); border-top: 1px solid var(--line); font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
footer h4 { font-weight: 800; margin-bottom: 14px; font-size: .95rem; }
footer a { display: block; margin-bottom: 8px; color: #444; }
footer a:hover { text-decoration: underline; }
.news form { display: flex; gap: 8px; }
.news input { flex: 1; min-width: 0; border: 1px solid #bbb; border-radius: 6px; padding: 10px 12px; background: #fff; }
.news button { background: var(--ink); color: #fff; border: none; border-radius: 6px; padding: 0 18px; font-weight: 700; cursor: pointer; }
.foot-bottom { background: var(--ink); color: #bbb; font-size: .8rem; padding: 14px 0; }

/* ==== Sticky add-to-bag bar ==== */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.06); transform: translateY(100%); transition: transform .25s; z-index: 30; }
.sticky.show { transform: none; }
.sticky .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.sticky-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sticky-info .bottle { font-size: 3.4px; }
.sticky-info b { display: block; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-info span { font-size: .85rem; color: var(--muted); }
.sticky .btn-red { padding: 12px 32px; white-space: nowrap; }

/* ==== Bag drawer ==== */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 60; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
.drawer.show { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-weight: 800; font-size: 1.2rem; }
.drawer-head button { background: none; border: none; font-size: 1.2rem; cursor: pointer; }
.ship-bar { padding: 16px 24px; background: var(--soft); font-size: .85rem; }
.ship-bar p { margin: 0 0 8px; }
.ship-bar .track { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.ship-bar .track i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s; }
.drawer-items { flex: 1; overflow-y: auto; padding: 0 24px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: .9rem; }
.line-item .thumb-mini { width: 64px; height: 80px; display: grid; place-items: center; background: var(--soft); border-radius: 4px; }
.line-item .thumb-mini .bottle { font-size: 4px; }
.line-item .thumb-mini .bottle .mark, .line-item .thumb-mini .bottle .sub { display: none; }
.line-item b { display: block; color: var(--ink); }
.line-item span { color: var(--muted); font-size: .82rem; display: block; }
.line-item .remove { background: none; border: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .8rem; padding: 0; margin-top: 4px; }
.line-item strong { color: var(--ink); }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.subtotal { display: flex; justify-content: space-between; font-size: 1.05rem; margin-bottom: 6px; }
.subtotal b { color: var(--ink); }
