:root {
  /* Bright Lane Goods palette — matches img/brand/logo-mark.svg */
  --ink: #1b2a41;        /* Midnight Lane: text, dark surfaces, selected states */
  --ink-2: #2c3d57;
  --sun: #ffb81c;        /* Sunbeam: primary buttons, highlights */
  --sun-dark: #f2a600;
  --sunset: #e8613c;     /* Sunset: logo ground, decoration */
  --cream: #fff4e0;      /* Lane Cream */
  --accent: #c8440f;     /* Sunset darkened for text on white (links, prices) */
  --accent-dark: #a8380b;
  --price: #c8440f;
  --text: #1b2a41;
  --muted: #6b7180;
  --border: #ebe5da;
  --bg: #ffffff;
  --soft: #faf6ef;
  --star: #ffb81c;
  --danger: #e03131;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(27, 42, 65, .1);
  --serif: Fraunces, Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, system-ui, sans-serif; color: var(--text); background: var(--bg); font-size: 14px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.center { text-align: center; margin-top: 24px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: #fff; }
.link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font-size: inherit; }
.icon-btn { background: none; border: 0; padding: 6px; display: inline-flex; align-items: center; color: var(--text); position: relative; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 10px 22px; font-weight: 600; border: 1px solid transparent; transition: .2s; }
.btn--primary { background: var(--sun); color: var(--ink); box-shadow: 0 6px 16px rgba(255, 184, 28, .35); }
.btn--primary:hover { background: var(--sun-dark); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--lg { width: 100%; padding: 14px; font-size: 16px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* Header */
.header { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 40; }
.header__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.header__burger { display: none; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo img { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: -.3px; }
.logo__tag { font-size: 9.5px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.search { margin-left: auto; display: flex; align-items: center; background: var(--soft); border-radius: 8px; padding-left: 12px; color: var(--muted); }
.search input { border: 0; background: transparent; padding: 10px; outline: none; width: 160px; font: inherit; }
.search button { border: 0; background: var(--ink); color: #fff; border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { font-size: 13px; color: var(--muted); }
.cart-btn svg { width: 26px; height: 26px; color: var(--ink); }
.cart-count { position: absolute; top: -2px; right: -4px; background: var(--accent); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.4); } }

.announce { background: var(--ink); color: #fff; text-align: center; padding: 8px 16px; font-weight: 500; display: flex; gap: 8px; justify-content: center; align-items: center; }
.announce svg { fill: var(--sun); stroke: none; }
.announce b { color: var(--sun); }
.nav__inner { display: flex; flex-wrap: wrap; gap: 6px 32px; padding-top: 14px; padding-bottom: 14px; }
.nav a { color: #5e6278; font-weight: 500; font-size: 13px; text-transform: uppercase; }
.nav a:hover { color: var(--accent); }

/* Product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 24px; padding-bottom: 40px; }
.product > *, .product__left > * { min-width: 0; }
.gallery__main { aspect-ratio: 1; background: var(--soft); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; position: relative; }
.gallery__main svg, .gallery__main img { width: 90%; height: 90%; object-fit: contain; }
.gallery__main .zoom-hint { position: absolute; right: 12px; bottom: 12px; font-size: 12px; background: #fff; padding: 4px 10px; border-radius: 20px; color: var(--muted); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 72px; height: 72px; border-radius: 8px; border: 2px solid var(--border); background: var(--soft); padding: 4px; display: grid; place-items: center; }
.thumb svg, .thumb img { width: 100%; height: 100%; }
.thumb.active { border-color: var(--ink); }

.bundle { margin-top: 24px; text-align: center; }
.bundle__title { text-align: left; margin: 0 0 12px; font-size: 15px; }
.bundle__row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.bundle__item { width: 110px; text-align: center; font-size: 12px; color: var(--muted); }
.bundle__item svg { width: 110px; height: 110px; }
.bundle__plus { font-size: 22px; color: var(--muted); }
.bundle__off { font-size: 34px; font-weight: 700; line-height: 1.1; margin-left: 12px; }
.bundle__off span { display: block; }
.bundle__total { font-weight: 600; font-size: 16px; margin: 8px 0 12px; }
.bundle__total b { color: var(--price); font-size: 20px; }
.bundle__total s, .compare { color: var(--muted); }

.product__title { font-family: var(--serif); font-size: 28px; margin: 0 0 6px; line-height: 1.25; }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.rating-line b { color: var(--text); }
.stars { color: var(--star); letter-spacing: 1px; font-size: 16px; }
.stars--lg { font-size: 24px; }
.verified { display: inline-flex; align-items: center; gap: 4px; background: #e8fff3; color: #0bb783; font-weight: 600; border-radius: 20px; padding: 2px 10px 2px 6px; font-size: 12px; }
.verified svg { width: 14px; height: 14px; background: #0bb783; color: #fff; border-radius: 50%; padding: 2px; }
.price-box { background: linear-gradient(90deg, var(--cream), var(--soft)); border: 1px solid #fbe3b8; border-radius: var(--radius); padding: 14px 16px; margin: 14px 0 18px; display: flex; align-items: baseline; gap: 12px; }
.price { color: var(--price); font-size: 28px; font-weight: 700; }
.compare { font-size: 17px; }
.save { margin-left: auto; background: var(--accent); color: #fff; border-radius: 6px; font-size: 12px; font-weight: 600; padding: 2px 8px; }

.option { margin-bottom: 18px; }
.option__label { font-weight: 600; margin-bottom: 8px; }
.option__label b { font-weight: 500; }
.option__label--row { display: flex; justify-content: space-between; align-items: center; }
.option__label--row .link { font-size: 12px; font-weight: 500; }
.scroller { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.style-opt { flex: 0 0 auto; width: 76px; border: 2px solid var(--border); border-radius: 8px; background: #fff; padding: 4px; text-align: center; font-size: 10px; color: var(--muted); }
.style-opt svg, .style-opt img { width: 64px; height: 64px; margin: 0 auto; }
.style-opt.active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 184, 28, .45); color: var(--text); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.swatch.active { box-shadow: 0 0 0 2px var(--ink); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 46px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; background: #fff; font-size: 12px; }
.size.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.size:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.qty-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.qty-row .option__label { margin: 0; }
.qty { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty button { border: 0; background: #fff; width: 34px; font-size: 16px; }
.qty input { width: 44px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.timer { margin-left: auto; color: var(--accent); font-weight: 500; }
.timer b { font-variant-numeric: tabular-nums; }
.hint { text-align: center; color: var(--price); font-size: 12px; margin: 10px 0 16px; }
.hint .link { color: var(--price); }
.trust { list-style: none; padding: 14px 0 0; margin: 0 0 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12.5px; }
.trust li { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--accent); }
.trust .link { color: var(--price); text-decoration: none; }

.accordion details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.accordion summary { padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "⌄"; font-size: 18px; line-height: 1; transition: .2s; }
.accordion details[open] summary::after { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 16px 14px; color: #5e6278; }
.accordion ul { padding-left: 18px; margin: 0; }

/* Sections */
.section { padding-top: 24px; padding-bottom: 40px; }
.section__title { font-family: var(--serif); font-size: 24px; margin: 0 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.p-card { border-radius: var(--radius); overflow: hidden; transition: .2s; cursor: pointer; }
.p-card:hover { box-shadow: var(--shadow); }
.p-card__img { aspect-ratio: 1; background: var(--soft); display: grid; place-items: center; position: relative; }
.p-card__img svg, .p-card__img img { width: 85%; height: 85%; }
.p-card__badge { position: absolute; top: 10px; right: 10px; background: var(--ink); color: #fff; font-size: 10px; border-radius: 10px; padding: 1px 8px; }
.p-card__body { padding: 10px 6px; }
.p-card__name { font-weight: 600; font-size: 12px; text-transform: uppercase; min-height: 36px; }
.p-card__foot { display: flex; align-items: center; justify-content: space-between; }
.p-card__price { color: var(--price); font-weight: 700; }
.p-card__price s { color: var(--muted); font-weight: 400; font-size: 11px; margin-left: 4px; }
.p-card__cart { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--sun); color: var(--ink); display: grid; place-items: center; }
.p-card__cart svg { width: 16px; height: 16px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.reviews__summary { text-align: center; position: sticky; top: 84px; }
.reviews__score { font-family: var(--serif); font-size: 48px; font-weight: 700; line-height: 1; }
.bars { margin-top: 14px; text-align: left; }
.bar { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 6px; }
.bar__track { flex: 1; height: 8px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.bar__fill { height: 100%; background: var(--star); }
.reviews__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.review__name { font-weight: 600; }
.review__buyer { color: #0bb783; font-size: 11px; margin-left: 6px; }
.review__variant { font-size: 11px; color: var(--muted); margin: 6px 0 0; }
.review p { margin: 6px 0 0; }

/* Footer */
.footer { background: var(--ink); color: #aab3c5; margin-top: 40px; padding-top: 40px; }
.footer h4 { color: var(--sun); margin: 0 0 12px; font-size: 14px; }
.footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 32px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__bottom { border-top: 1px solid var(--ink-2); padding-top: 16px; padding-bottom: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.payments { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.payments i { font-style: normal; background: #fff; color: #1a1f71; font-weight: 700; padding: 2px 8px; border-radius: 4px; font-size: 11px; }

/* Sticky + to top */
.sticky-buy { display: none; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--sun); color: var(--ink); font-size: 18px; opacity: 0; pointer-events: none; transition: .2s; z-index: 30; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Drawer */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 100%; background: #fff; z-index: 60; transform: translateX(100%); transition: .3s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer__head h3 { margin: 0; font-family: var(--serif); font-size: 19px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px; border-top: 1px solid var(--border); }
.drawer__foot .row { display: flex; justify-content: space-between; font-size: 16px; }
.ship-progress { padding: 12px 20px; background: var(--soft); font-size: 12.5px; }
.ship-progress .track { height: 6px; background: #fff; border-radius: 3px; margin-top: 6px; overflow: hidden; }
.ship-progress .fill { height: 100%; background: var(--sun); transition: .3s; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.line__img { width: 72px; height: 72px; background: var(--soft); border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; }
.line__img svg, .line__img img { width: 90%; height: 90%; }
.line__info { flex: 1; min-width: 0; }
.line__title { font-weight: 600; font-size: 13px; }
.line__meta { color: var(--muted); font-size: 12px; }
.line__row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.line .qty button { width: 28px; }
.line .qty input { width: 34px; }
.line__remove { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.tag { display: inline-block; background: #fff4de; color: #ffa800; font-size: 10px; font-weight: 600; border-radius: 4px; padding: 0 6px; margin-left: 4px; }

/* Modals */
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 70; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal.open { display: flex; }
.modal__box { background: #fff; border-radius: 12px; padding: 24px; width: 560px; max-width: 100%; position: relative; animation: pop .2s; }
.modal__box--wide { width: 960px; }
.modal__box h3 { margin-top: 0; font-family: var(--serif); font-size: 20px; }
@keyframes pop { from { transform: translateY(12px); opacity: 0; } }
.modal__close { position: absolute; top: 12px; right: 12px; border: 0; background: var(--soft); width: 32px; height: 32px; border-radius: 50%; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: var(--soft); }

/* Forms / checkout */
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: #5e6278; }
.form input, .form select, .form textarea { font: inherit; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; outline: none; color: var(--text); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.checkout h4 { margin: 0 0 12px; }
.summary { background: var(--soft); border-radius: var(--radius); padding: 16px; align-self: start; }
.summary .row { display: flex; justify-content: space-between; margin-top: 8px; }
.summary .total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; }
.pay-step { margin-top: 16px; }
.pay-note { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin: 8px 0; }
.error { color: var(--danger); font-size: 13px; min-height: 18px; }
.success { text-align: center; padding: 20px 0; }
.success .icon { width: 72px; height: 72px; border-radius: 50%; background: #e8fff3; color: #0bb783; display: grid; place-items: center; margin: 0 auto 12px; font-size: 36px; }
.demo-banner { background: #fff4de; color: #8a6100; border-radius: 8px; padding: 10px 12px; font-size: 12px; margin-bottom: 12px; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 8px; opacity: 0; transition: .3s; z-index: 90; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 24px; }
  .product__left { display: contents; }
  .gallery { order: 1; } .product__right { order: 2; } .bundle { order: 3; margin-top: 0; }
  .reviews { grid-template-columns: 1fr; }
  .reviews__summary { position: static; }
  .checkout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header__burger { display: inline-flex; }
  .search, .lang { display: none; }
  .header__actions { margin-left: auto; }
  .logo { gap: 8px; }
  .logo img { width: 34px; height: 34px; }
  .logo__name { font-size: 20px; }
  .logo__tag { font-size: 8.5px; }
  .nav { display: none; }
  .nav.open { display: block; border-bottom: 1px solid var(--border); }
  .nav.open .nav__inner { flex-direction: column; gap: 12px; }
  .product__title { font-size: 21px; }
  .reviews__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .timer { margin-left: 0; width: 100%; }
  .form .two, .form .three { grid-template-columns: 1fr; }
  .bundle__item, .bundle__item svg { width: 80px; height: auto; }
  .bundle__off { font-size: 24px; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; z-index: 35; transform: translateY(100%); transition: .25s; }
  .sticky-buy.show { transform: none; }
  .sticky-buy b { color: var(--price); font-size: 18px; display: block; }
  .sticky-buy small { color: var(--muted); font-size: 11px; }
  .to-top { bottom: 80px; }
  body { padding-bottom: 70px; }
}
.cart-count[hidden] { display: none; }
