/* ============================================================
   JIN SING LI — Precious Metals Website
   Design system: clean bright white with refined gold accents
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --gold:        #b6892e;
  --gold-bright: #d4af52;
  --gold-deep:   #8a6a23;
  --gold-soft:   #fbf6e8;
  --ink:         #1c1b18;
  --ink-soft:    #6a675f;
  --ink-faint:   #9a978e;
  --line:        #e7e4dc;
  --line-soft:   #f0eee8;
  --bg:          #ffffff;
  --bg-alt:      #f8f6f1;
  --bg-dark:     #1c1b18;
  --green:       #1a7a47;
  --green-soft:  #e8f3ec;
  --red:         #c23b2e;
  --red-soft:    #f9eae8;
  --wa:          #25d366;
  --wa-dark:     #1da851;
  --shadow-sm:   0 1px 3px rgba(28,27,24,.06), 0 1px 2px rgba(28,27,24,.04);
  --shadow-md:   0 4px 16px rgba(28,27,24,.08);
  --shadow-lg:   0 12px 40px rgba(28,27,24,.12);
  --radius:      10px;
  --radius-sm:   6px;
  --serif:       'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --maxw:        1200px;
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #ece9e1; }
.section--tight { padding: 48px 0; }

/* ---------- Section heads ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 16px; }
.section-head--left { text-align: left; margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn--ghost-light:hover { background: rgba(255,255,255,.2); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 34px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Top ticker ---------- */
.ticker {
  background: var(--bg-dark);
  color: #ece9e1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(212,175,82,.25);
  overflow: hidden;
  position: sticky; top: 74px; z-index: 199;
}
.ticker__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 7px 18px; max-width: var(--maxw); margin: 0 auto;
}
.ticker__lang { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.lang-pick {
  background: none; border: none; cursor: pointer; padding: 2px 4px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; color: #8c8a82;
  transition: color .15s;
}
.lang-pick--on, .lang-pick:hover { color: var(--gold-bright); }
.lang-sep { color: #56544d; }
.ticker__price {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; transition: opacity .22s ease;
}
.tk-coin { display: flex; flex-shrink: 0; }
.tk-coin svg { width: 17px; height: 17px; }
.tk-coin--gold { color: #d4af52; }
.tk-coin--silver { color: #c9cbd0; }
.tk-name { font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.tk-sell { color: #ef9b8f; }
.tk-buy { color: #5cd39c; }
.tk-sell b, .tk-buy b { font-weight: 700; }
.tk-l { opacity: .82; }
.ticker__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ed18a; box-shadow: 0 0 0 0 rgba(78,209,138,.6);
  animation: pulse 2s infinite;
}
.ticker__dot--off { background: #b8b5ac; box-shadow: none; animation: none; }
.ticker__dot--stale { background: #e0a83a; box-shadow: none; animation: none; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(78,209,138,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(78,209,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,209,138,0); }
}

/* ---------- Header ---------- */
/* the wrapper divs must not box their content, or sticky only holds for
   their own height — display:contents lets the header + price strip stay
   stuck together across the whole page */
#site-header, #site-ticker { display: contents; }
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { height: 44px; width: auto; display: block; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.logo__sub  { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  border-radius: var(--radius-sm); transition: color .15s, background .15s;
}
.nav a:hover, .nav a.active { color: var(--ink); background: var(--bg-alt); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font-size: 14px; font-weight: 600;
  transition: border-color .15s;
}
.cart-btn:hover { border-color: var(--gold); }
.cart-btn__count {
  position: absolute; top: -8px; right: -8px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--gold); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.cart-btn__count:empty, .cart-btn__count[data-count="0"] { display: none; }

.btn-trade {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--radius-sm);
  background: var(--gold); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .12s;
}
.btn-trade:hover { background: var(--gold-deep); box-shadow: var(--shadow-md); }
.btn-trade:active { transform: translateY(1px); }

.lang-toggle {
  padding: 8px 11px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: transparent;
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
  cursor: pointer; line-height: 1; white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: #15130f;
  background-image:
    linear-gradient(100deg, rgba(13,12,10,.93) 0%, rgba(13,12,10,.80) 34%, rgba(13,12,10,.44) 62%, rgba(13,12,10,.06) 100%),
    url('../assets/showroom.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  display: flex; align-items: center;
  min-height: 564px;
  max-width: var(--maxw); margin: 0 auto; padding: 84px 24px;
}
.hero__panel {
  max-width: 600px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; background: rgba(212,175,82,.14); border: 1px solid rgba(212,175,82,.42);
  border-radius: 100px; font-size: 12.5px; font-weight: 600; color: #e7d099;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -.01em; color: #ffffff; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero__lead { font-size: 16.5px; color: #cdc9bf; margin: 18px 0 28px; max-width: 470px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.hero__stat .n { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--gold-bright); }
.hero__stat .l { font-size: 12.5px; color: #b2afa4; }

/* ---------- Price tables ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.price-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.price-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.price-card__head h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.metal-dot { width: 13px; height: 13px; border-radius: 50%; }
.metal-dot--gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); }
.metal-dot--silver { background: linear-gradient(135deg, #e8e8ea, #a9a9ad); }
.live-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft);
  padding: 4px 9px; border-radius: 100px;
}
.live-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse-g 1.8s infinite; }
.live-tag--off { color: var(--ink-faint); background: var(--bg-alt); }
.live-tag--off .dot { background: var(--ink-faint); animation: none; }
@keyframes pulse-g { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint);
  text-align: right; padding: 12px 22px; background: var(--bg-alt);
}
.price-table th:first-child { text-align: left; }
.price-table td {
  padding: 14px 22px; text-align: right; font-size: 15px;
  border-top: 1px solid var(--line-soft); font-variant-numeric: tabular-nums;
}
.price-table td:first-child { text-align: left; font-weight: 600; }
.price-table tr:hover td { background: var(--gold-soft); }
.price-table .purity-sub { font-size: 12px; color: var(--ink-faint); font-weight: 400; }
.price-buy  { color: var(--green); font-weight: 700; }
.price-sell { color: var(--ink); font-weight: 700; }
.price-card__foot {
  padding: 12px 22px; font-size: 12.5px; color: var(--ink-faint);
  border-top: 1px solid var(--line); display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 6px; background: var(--bg-alt);
}
.flash { animation: flash 1s ease; }
@keyframes flash { 0% { background: var(--gold-soft); } 100% { background: transparent; } }

/* ---------- Buy-back band ---------- */
.buyback {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.buyback__art {
  background: linear-gradient(135deg, #2a2823, #1c1b18);
  border-radius: var(--radius); padding: 44px; color: #ece9e1;
  border: 1px solid rgba(212,175,82,.2);
}
.buyback__art h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.buyback__step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.buyback__step:last-child { border-bottom: none; padding-bottom: 0; }
.buyback__step-ico {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(212,175,82,.45);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
}
.buyback__step-ico svg { width: 30px; height: 30px; }
.buyback__step-text h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.buyback__step-text p { color: #b8b5ac; font-size: 14px; line-height: 1.6; }
.buyback__jewel {
  margin-top: 6px; padding-top: 20px; text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
}
.buyback__jewel h4 { color: #fff; font-size: 16px; font-weight: 700; }
.buyback__jewel p { color: #b8b5ac; font-size: 13.5px; margin-top: 3px; }
.buyback__jewel-art { margin-top: 12px; color: var(--gold-bright); }
.buyback__jewel-art svg { width: 100%; max-width: 215px; height: auto; }
.buyback ul.checks { margin: 22px 0; }
.buyback ul.checks li {
  display: flex; gap: 12px; padding: 9px 0; color: var(--ink-soft); font-size: 15px;
}
.buyback ul.checks li svg { flex-shrink: 0; margin-top: 3px; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #ddd6c2; }
.product-card__media {
  position: relative; aspect-ratio: 1/1; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-card__media img, .product-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 100px;
}
.badge--metal { background: var(--gold-soft); color: var(--gold-deep); }
.badge--silver { background: #eef0f2; color: #5b6066; }
.badge--preorder { background: var(--ink); color: var(--gold-bright); left: auto; right: 12px; }
.badge--sold {
  position: absolute; inset: 0; background: rgba(255,255,255,.78);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--red);
  letter-spacing: .04em;
}
.product-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card__brand { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.product-card__name {
  font-family: var(--sans); font-weight: 600; font-size: 15px; margin: 5px 0 4px;
  line-height: 1.35; min-height: 40px;
}
.product-card__spec { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.product-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.product-card__price { display: flex; flex-direction: column; }
.product-card__price .amt { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.product-card__price .lbl { font-size: 11px; color: var(--ink-faint); }
.product-card__price .live { font-size: 11px; color: var(--green); font-weight: 600; }
.icon-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .12s; flex-shrink: 0;
}
.icon-btn:hover { background: var(--gold); }
.icon-btn:active { transform: scale(.92); }

/* ---------- Brand tiles ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brand-tile {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 22px; text-align: center; transition: .15s; background: var(--bg);
}
.brand-tile:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.brand-tile__logo {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--gold-soft); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--gold-deep);
}
.brand-tile h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.brand-tile p { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }

/* ---------- Trust / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  text-align: center; padding: 28px 18px;
}
.feature__ico {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
  background: var(--gold-soft); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.feature h4 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.loc-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: var(--bg); transition: .15s;
}
.loc-card:hover { box-shadow: var(--shadow-md); }
.loc-card__city {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; gap: 9px; margin-bottom: 14px;
}
.loc-card__tags { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.loc-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--gold-soft); color: var(--gold-deep); padding: 3px 8px; border-radius: 4px;
}
.loc-card__addr { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.loc-card__phone {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-weight: 600; font-size: 14.5px; color: var(--ink);
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--gold-soft); border: 1px solid #efe4c4; border-radius: var(--radius);
  padding: 22px 26px; font-size: 13px; color: var(--ink-soft); line-height: 1.7;
}
.disclaimer strong { color: var(--ink); }

.weekend-note {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px;
  background: var(--gold-soft); color: var(--gold-deep);
  border: 1px solid #efe4c4;
  padding: 7px 15px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
}
.weekend-note[hidden] { display: none; }

.chart-card {
  margin-top: 22px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.chart-card[hidden] { display: none; }
.chart-card__head h3 {
  font-family: var(--sans); font-size: 17px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.chart-card__sub { display: block; color: var(--ink-faint); font-size: 13px; margin-top: 4px; }
.price-chart-svg { width: 100%; height: auto; display: block; margin-top: 10px; }
.chart-axis { fill: #9a978e; font-family: var(--sans); font-size: 12px; }

/* ---------- Trade-online section ---------- */
.trade { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.trade .eyebrow { color: var(--gold-bright); }
.trade__text h2 { color: #fff; font-size: clamp(28px, 3.6vw, 38px); }
.trade__text p { color: #b8b5ac; font-size: 16px; margin: 14px 0 20px; max-width: 470px; }
.trade__list { margin: 0 0 26px; }
.trade__list li {
  display: flex; gap: 10px; align-items: flex-start;
  color: #d8d5cc; font-size: 14.5px; padding: 6px 0;
}
.trade__list li svg { flex-shrink: 0; margin-top: 2px; }
.trade__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trade__phone-wrap { display: flex; flex-direction: column; align-items: center; }
.trade__hint { margin-top: 16px; font-size: 13px; color: #8a8881; letter-spacing: .03em; }
.phone {
  display: block; width: 266px;
  background: linear-gradient(165deg, #34322b, #15130f);
  border-radius: 42px; padding: 12px;
  box-shadow: 0 36px 72px rgba(0,0,0,.55);
  border: 1px solid rgba(212,175,82,.22);
  transition: transform .2s ease;
}
.phone:hover { transform: translateY(-6px); }
.phone__screen {
  position: relative; background: #0b0b0d;
  border-radius: 32px; overflow: hidden;
  padding: 34px 20px 24px;
}
.phone__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 92px; height: 20px; background: #15130f; border-radius: 0 0 13px 13px;
}
.appui { text-align: center; }
.appui__logo {
  width: 76px; height: 76px; margin: 4px auto 16px;
  background: #000; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.appui__logo img { width: 58px; height: auto; }
.appui__title { font-family: var(--serif); font-size: 21px; font-weight: 700; color: #fff; }
.appui__sub { font-size: 11px; color: #8a8881; margin: 4px 0 16px; }
.appui__label { text-align: left; font-size: 10.5px; font-weight: 600; color: #cfccc4; margin-bottom: 5px; }
.appui__field {
  text-align: left; font-size: 11.5px; color: #6a675f;
  background: #161618; border: 1px solid #2b2b2d; border-radius: 8px;
  padding: 9px 11px; margin-bottom: 12px;
}
.appui__btn {
  background: #e8b932; color: #1c1b18; font-weight: 700; font-size: 13px;
  border-radius: 8px; padding: 11px; margin-top: 2px;
}
.appui__forgot { color: #e8b932; font-size: 11.5px; font-weight: 600; margin-top: 13px; }
.appui__reg { color: #8a8881; font-size: 10.5px; margin-top: 12px; }
.appui__reg span { color: #e8b932; font-weight: 600; }
.appui__pp { color: #6a675f; font-size: 10px; margin-top: 9px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #b8b5ac; padding: 60px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 {
  font-family: var(--sans); font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
}
.footer a { color: #b8b5ac; font-size: 14px; display: block; padding: 5px 0; transition: color .15s; }
.footer a:hover { color: var(--gold-bright); }
.footer__brand .logo__name { color: #fff; }
.footer__brand p { font-size: 14px; margin: 14px 0; max-width: 280px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 8px; padding: 0;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
}
.footer__social a:hover { background: var(--gold); }
.footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-faint);
}

/* ---------- Page header (sub-pages) ---------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 48px 0; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 44px); }
.page-head p { color: var(--ink-soft); margin-top: 10px; }
.breadcrumb { font-size: 13px; color: var(--ink-faint); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Catalog layout ---------- */
.catalog { display: grid; grid-template-columns: 256px 1fr; gap: 36px; align-items: start; }
.filters {
  position: sticky; top: 120px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: var(--bg);
}
.filters__group { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.filters__group:first-child { padding-top: 0; }
.filters__group:last-child { border-bottom: none; padding-bottom: 0; }
.filters__title { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.filter-opt { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.filter-opt input { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }
.filter-opt .count { margin-left: auto; font-size: 12px; color: var(--ink-faint); }
.filters__done { display: none; }
.catalog__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.catalog__count { font-size: 14px; color: var(--ink-soft); }
.catalog__count b { color: var(--ink); }
.search-box {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 13px; flex: 1; min-width: 200px; max-width: 320px;
}
.search-box input { border: none; outline: none; font-size: 14px; width: 100%; font-family: inherit; }
.select {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 13px; font-size: 14px; font-family: inherit; background: #fff;
  color: var(--ink); cursor: pointer;
}
.empty-state { text-align: center; padding: 70px 20px; color: var(--ink-soft); }
.empty-state svg { margin: 0 auto 16px; }

/* mobile filter toggle */
.filter-toggle { display: none; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pdp__media {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pdp__media img, .pdp__media svg { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp__thumb {
  width: 70px; height: 70px; padding: 0; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-alt); transition: border-color .15s;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumb:hover { border-color: var(--gold); }
.pdp__thumb.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.pdp__preorder {
  font-size: 13px; color: #2d6a9f;
  background: #eaf2f8; border: 1px solid #cfe0ec; border-radius: var(--radius-sm);
  padding: 10px 13px; margin-bottom: 14px; line-height: 1.6;
}
.pdp__brand { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.pdp h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0 14px; }
.pdp__price-box {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin: 20px 0;
}
.pdp__price { font-family: var(--serif); font-size: 36px; font-weight: 700; color: var(--ink); }
.pdp__price-note { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.pdp__price-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); font-weight: 600; margin-top: 8px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.spec-table td:first-child { color: var(--ink-soft); width: 42%; }
.spec-table td:last-child { font-weight: 600; text-align: right; }
.qty {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.qty button { width: 40px; height: 44px; font-size: 18px; color: var(--ink-soft); }
.qty button:hover { background: var(--bg-alt); color: var(--ink); }
.qty input {
  width: 50px; height: 44px; text-align: center; border: none; outline: none;
  font-size: 15px; font-weight: 600; font-family: inherit;
  border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
}
.pdp__actions { display: flex; gap: 12px; margin: 20px 0; flex-wrap: wrap; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 36px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-item__media {
  width: 88px; height: 88px; border-radius: var(--radius-sm);
  background: var(--bg-alt); border: 1px solid var(--line); overflow: hidden;
}
.cart-item__media img, .cart-item__media svg { width: 100%; height: 100%; object-fit: cover; }
.cart-item__brand { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); }
.cart-item__name { font-weight: 600; font-size: 15px; margin: 3px 0; }
.cart-item__spec { font-size: 13px; color: var(--ink-soft); }
.cart-item__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item__price { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.link-remove { font-size: 13px; color: var(--ink-faint); text-decoration: underline; }
.link-remove:hover { color: var(--red); }
.qty--sm button { width: 32px; height: 36px; font-size: 15px; }
.qty--sm input { width: 40px; height: 36px; font-size: 14px; }

.summary {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: var(--bg); position: sticky; top: 94px;
}
.summary h3 { font-size: 20px; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--ink-soft); }
.summary__row--total {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px;
  font-size: 18px; font-weight: 700; color: var(--ink);
}
.summary__row--total .v { font-family: var(--serif); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px; font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 72px; }

/* radio rows (delivery options) */
.radio-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: 8px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.radio-row:last-child { margin-bottom: 0; }
.radio-row:hover { border-color: var(--gold); }
.radio-row input { width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.radio-row > span {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; width: 100%; font-size: 13.5px;
}
.radio-row em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.radio-row:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.toast {
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: toast-in .3s ease;
}
.toast svg { color: var(--gold-bright); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37,211,102,.45);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Content blocks (about) ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 28px; margin: 36px 0 14px; }
.prose h3 { font-size: 21px; margin: 26px 0 10px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; font-size: 16px; }
.prose ul.bullets { margin: 16px 0 16px 4px; }
.prose ul.bullets li {
  padding: 7px 0 7px 26px; position: relative; color: var(--ink-soft);
}
.prose ul.bullets li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--gold);
}
.timeline { border-left: 2px solid var(--line); padding-left: 28px; margin: 24px 0; }
.timeline__item { position: relative; padding-bottom: 28px; }
.timeline__item::before {
  content: ''; position: absolute; left: -35px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--gold);
  border: 3px solid var(--bg);
}
.timeline__year { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--gold); }
.timeline__item p { margin: 4px 0 0; color: var(--ink-soft); }

/* ---------- Utilities ---------- */
.hide { display: none !important; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero__inner { padding: 56px 24px; min-height: 460px; }
  .hero__panel { max-width: 520px; }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .brand-grid, .feature-grid, .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .buyback { grid-template-columns: 1fr; gap: 28px; }
  .trade { grid-template-columns: 1fr; gap: 34px; }
  .trade__phone-wrap { order: -1; }
  .catalog { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .filters {
    position: fixed; top: 0; left: 0; bottom: 0; width: 300px; z-index: 300;
    border-radius: 0; overflow-y: auto; transform: translateX(-100%);
    transition: transform .25s ease; box-shadow: var(--shadow-lg);
  }
  .filters.open { transform: translateX(0); }
  .filters__done {
    display: block; position: sticky; bottom: 0;
    width: 100%; margin-top: 16px;
    padding: 13px; border: none; border-radius: var(--radius-sm);
    background: var(--gold); color: #fff;
    font-family: var(--sans); font-weight: 700; font-size: 15px; cursor: pointer;
  }
  .filters__done:hover { background: var(--gold-deep); }
  .filter-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600;
  }
  .filters__close { display: block; }
}

@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .nav { display: none; }
  .burger { display: flex; }
  .header__inner { height: 64px; }
  .header__actions { gap: 6px; }
  .btn-trade, .cart-btn { padding: 9px 11px; }
  .btn-trade span, .cart-btn span:not(.cart-btn__count) { display: none; }
  .lang-toggle { padding: 8px 10px; font-size: 13px; }
  .logo__mark { height: 36px; }
  .logo__name { font-size: 16.5px; white-space: nowrap; }
  .nav--open {
    display: flex; position: fixed; top: 96px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px; box-shadow: var(--shadow-lg);
  }
  .nav--open a { padding: 13px 14px; font-size: 16px; }
  .price-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature-grid, .loc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature { padding: 22px 12px; }
  .loc-card { padding: 18px 16px; }
  .loc-card__city { font-size: 17px; }
  .loc-card__addr { font-size: 13px; }
  .loc-card__phone { font-size: 13.5px; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .hero__inner { min-height: auto; padding: 44px 16px; }
  .hero__panel { max-width: 100%; }
  .hero { background-image: linear-gradient(180deg, rgba(13,12,10,.84), rgba(13,12,10,.68)), url('../assets/showroom.jpg'); }
  .ticker { font-size: 11.5px; top: 64px; }
  .ticker__bar { padding: 7px 12px; gap: 8px; }
  .ticker__price { gap: 6px; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item__media { width: 70px; height: 70px; }
  .cart-item__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .price-table th, .price-table td { padding: 12px 14px; }
  .logo__sub { display: none; }
  .section-head { margin-bottom: 32px; }
  .product-card__name { min-height: 0; }
}

@media (max-width: 420px) {
  .product-grid, .product-grid--3 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .header__inner { padding: 0 14px; }
  .btn-trade, .cart-btn { padding: 8px 10px; }
}
