:root {
  --ink: #111111;
  --ink-2: #3a3a3a;
  --muted: #7a7a7a;
  --line: #e7e7e7;
  --bg: #ffffff;
  --soft: #f5f5f3;
  --sapphire: #1b2a8f;   /* G.A Gems logo blue */
  --gold: #c49a3a;       /* G.A Gems logo gold */
  --sale: #a4262c;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --text: 'EB Garamond', Georgia, serif;
  --caps: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --logo: 'Marcellus', 'Cormorant Garamond', serif;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, video { max-width: 100%; display: block; }
/* photo protection: no dragging, selecting or iOS long-press "Save Image" */
img, video { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink);
  padding: 14px 28px;
  font-family: var(--text); font-size: 15px;
  transition: background .2s, color .2s;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark { width: auto; height: 50px; flex: none; }
.logo-name { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: .12em; line-height: 1; color: var(--sapphire); }
.logo-tag { font-family: var(--caps); font-size: 8.5px; letter-spacing: .26em; margin-top: 6px; color: var(--ink-2); }
.nav { display: flex; gap: 42px; font-size: 15px; white-space: nowrap; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: var(--ink); transform: scaleX(0); transition: transform .25s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-icons { display: flex; gap: 22px; align-items: center; }
.icon-btn { background: none; border: 0; padding: 4px; position: relative; color: var(--ink); display: inline-flex; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--sapphire); color: #fff;
  font-family: var(--caps); font-size: 10px; line-height: 17px; text-align: center;
}
.cart-count:empty { display: none; }
.menu-toggle { display: none; }

/* ---------- search overlay ---------- */
.search-bar { border-top: 1px solid var(--line); display: none; }
.search-bar.open { display: block; }
.search-bar form { display: flex; gap: 12px; padding: 16px 0; }
.search-bar input {
  flex: 1; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0;
  font-family: var(--text); font-size: 20px; outline: none; background: transparent;
}

/* ---------- hero ---------- */
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr .55fr;
  align-items: center; gap: 32px; min-height: 520px; padding-top: 30px; padding-bottom: 50px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 22px;
}
.hero .sub { font-size: 23px; margin: 0 0 18px; font-family: var(--serif); }
.hero p.lead { color: var(--ink-2); max-width: 440px; margin: 0 0 34px; }
.hero-gem { position: relative; width: 100%; max-width: 440px; margin-inline: auto; }
.hero-gem img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: contain;
  mix-blend-mode: multiply;
  animation: float 7s ease-in-out infinite;
}
/* single soft blue shadow just under the gem (the gem's base sits at ~77% of the photo's height) */
.hero-gem::after {
  content: ''; position: absolute; bottom: calc(23% - 30px); left: 20%; right: 20%; height: 38px;
  background: radial-gradient(ellipse, rgba(29,63,176,.30), transparent 70%);
  filter: blur(6px); pointer-events: none;
  animation: shadow 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* shadow shrinks slightly as the gem floats up */
@keyframes shadow { 0%,100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.88); opacity: .75; } }
.hero-specs .eyebrow { margin-bottom: 20px; }
.hero-specs hr { width: 28px; border: 0; border-top: 1px solid var(--ink); margin: 0 0 24px; }
.hero-specs ul { list-style: none; margin: 0; padding: 0; }
.hero-specs li { margin-bottom: 12px; color: var(--ink-2); }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 18px; padding: 30px 28px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.trust-item h3 { font-family: var(--text); font-weight: 400; font-size: 17px; margin: 0 0 4px; }
.trust-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- sections ---------- */
section.block { padding: 90px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; gap: 20px; }
.section-head h2, h2.title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 40px); margin: 0; line-height: 1.1;
}
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { display: block; }
.card-media {
  position: relative; aspect-ratio: 1.66; background: var(--soft); overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--caps); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  background: #fff; color: var(--ink); padding: 5px 9px;
}
.badge.sale { background: var(--sale); color: #fff; }
.badge.sold { background: var(--ink); color: #fff; }
.card h3 { font-family: var(--text); font-weight: 400; font-size: 17px; margin: 18px 0 4px; }
.meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0; }
.meta span + span::before { content: '|'; margin: 0 12px; color: #c9c9c9; }
.price { margin-top: 8px; font-size: 16px; display: flex; gap: 10px; align-items: baseline; }
.price del { color: var(--muted); font-size: 14px; }
.price .now.on-sale { color: var(--sale); }
.price-lkr { font-size: 14px; color: var(--muted); margin-top: 2px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price-lkr .on-sale { color: var(--sale); }
.price-lkr del { font-size: 12.5px; }
.product .price-lkr { font-size: 18px; margin: 0 0 6px; }
.product .price-lkr del { font-size: 15px; }

/* ---------- gemstones / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; background: var(--soft); }
.split p { color: var(--ink-2); }
/* About section slideshow: crossfade + slow zoom */
.slideshow { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.slideshow .slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center; opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s ease-out;
}
.slideshow .slide.active { opacity: 1; transform: scale(1); }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slide-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.12); transition: width .3s, background .3s;
}
.slide-dots button.active { width: 22px; border-radius: 4px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .slideshow .slide { transition: opacity .6s; transform: none !important; } }
.split .subtitle { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 26px 0 6px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.fact { background: #fff; padding: 34px 28px; }
.fact .num { font-family: var(--serif); font-size: 44px; line-height: 1; }
.fact p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }
.guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
/* Our Gemstones: photo in the left corner, guide on the right */
/* scroll-in text animation for the Our Gemstones section */
.fx-fade { transition-delay: .05s; }
.fx-words.reveal { opacity: 1; transform: none; }            /* the words animate, not the block */
.fx-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.fx-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.75,.25,1); transition-delay: calc(.15s + var(--i) * .07s); }
.fx-words.in .w > span { transform: none; }
.fx-guide > div.reveal { opacity: 1; transform: none; border-top: 0; position: relative; }
.fx-guide > div::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.75,.25,1) var(--d, 0s);
}
.fx-guide > div.in::before { transform: scaleX(1); }
.fx-guide > div > * { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.fx-guide > div > h3 { transition-delay: calc(var(--d, 0s) + .25s); }
.fx-guide > div > p { transition-delay: calc(var(--d, 0s) + .4s); }
.fx-guide > div.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fx-words .w > span, .fx-guide > div > *, .fx-guide > div::before { transition: none !important; transform: none !important; opacity: 1 !important; }
}
.gem-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.gem-split .gem-photo { order: 2; }   /* photo on the right on computers; phones stack it first (see media query) */
.gem-split .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; }
.gem-photo { margin: 0; background: #fff; aspect-ratio: 1; }
.gem-photo img { width: 100%; height: 100%; object-fit: contain; }
.guide div { border-top: 1px solid var(--ink); padding-top: 18px; }
.guide h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.guide p { margin: 0; font-size: 15px; color: var(--ink-2); }
.soft-bg { background: var(--soft); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.contact-list small { font-family: var(--caps); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); width: 100px; flex: none; padding-top: 4px; overflow-wrap: anywhere; line-height: 1.5; }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--caps); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: 13px 14px;
  font-family: var(--text); font-size: 16px; color: var(--ink); outline: none; border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }

.branches-col { padding-top: 6px; }
.branches-title { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 6px; }
.branches-col .branch-list { margin-top: 0; }

.branch-list { margin-top: 10px; }
.branch-list .branch div { display: grid; gap: 2px; }
.branch-list .branch strong { font-weight: 500; }
.branch-list .branch span { color: var(--ink-2); }
.branch-list .branch a { color: var(--ink-2); font-size: 15px; }
.branch-list .branch.main small { color: var(--sapphire); }
.contact-list:empty { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d6d6d6; padding: 70px 0 30px; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--caps); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #fff; font-weight: 500; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo-name { color: #fff; }
.site-footer .logo-tag { color: var(--gold); }

.site-footer .bottom { border-top: 1px solid #2b2b2b; margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: #8a8a8a; flex-wrap: wrap; gap: 10px; }

/* ---------- shop page ---------- */
.page-head { padding: 60px 0 30px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.6vw, 58px); margin: 0; line-height: 1.05; }
.page-head p { color: var(--muted); margin: 10px 0 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; padding: 8px 16px; font-size: 14px; color: var(--ink-2);
}
.chip.active, .chip:hover { border-color: var(--ink); color: var(--ink); }
.toolbar .filters { display: flex; gap: 10px; flex-wrap: wrap; }
.toolbar select {
  border: 1px solid var(--line); padding: 9px 34px 9px 12px; font-family: var(--text); font-size: 15px; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23111' stroke-width='1.3'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; -webkit-appearance: none; border-radius: 0; cursor: pointer;
}
.toolbar select:hover, .toolbar select:focus { border-color: var(--ink); outline: none; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; padding: 50px 0 90px; }
.gallery-main { aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 1px solid transparent; background: var(--soft); aspect-ratio: 1; overflow: hidden; position: relative; }
.thumbs button.active { border-color: var(--ink); }
.thumbs img, .thumbs video { width: 100%; height: 100%; object-fit: cover; }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); font-family: var(--caps); font-size: 10px; letter-spacing: .15em; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.product h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; margin: 0 0 10px; }
.product .price { font-size: 26px; margin: 20px 0 6px; font-family: var(--serif); }
.product .price del { font-size: 20px; }
.save-note { font-family: var(--caps); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--sale); }
.specs { width: 100%; border-collapse: collapse; margin: 30px 0; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; font-size: 15.5px; }
.specs th { font-family: var(--caps); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); width: 42%; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.actions .btn { flex: 1; justify-content: center; min-width: 200px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.assure { display: grid; gap: 10px; margin-top: 30px; font-size: 14.5px; color: var(--ink-2); }
.assure div { display: flex; gap: 12px; align-items: center; }
.assure svg { width: 18px; height: 18px; flex: none; }

/* ---------- cart drawer ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 100;
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column;
}
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.drawer header h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0; }
.drawer .items { flex: 1; overflow: auto; padding: 10px 28px; }
.drawer .item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.drawer .item img { width: 76px; height: 76px; object-fit: cover; background: var(--soft); }
.drawer .item h4 { margin: 0; font-weight: 400; font-size: 15.5px; }
.drawer .item .meta { font-size: 12.5px; }
.drawer .item button { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; }
.drawer footer { padding: 24px 28px; border-top: 1px solid var(--line); }
.drawer .total { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 16px; }
.drawer footer .btn { width: 100%; justify-content: center; }
.drawer footer small { display: block; text-align: center; color: var(--muted); margin-top: 12px; font-size: 13px; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 22px; font-size: 14.5px; z-index: 200;
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- account ---------- */
.account-link.signed-in::after {
  content: ''; position: absolute; top: 2px; right: 1px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sapphire); border: 2px solid #fff;
}
.account { display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: start; padding-top: 70px; padding-bottom: 100px; }
.account h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.05; margin: 0 0 18px; }
.account-intro p { color: var(--ink-2); max-width: 460px; }
.perks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 14px; align-items: center; color: var(--ink-2); }
.perks svg { width: 22px; height: 22px; flex: none; }
.account-card { border: 1px solid var(--line); padding: 34px; background: #fff; }
.account-card .form { gap: 16px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin: -34px -34px 28px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; padding: 18px; font-family: var(--caps); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.active { color: var(--ink); border-bottom-color: var(--ink); }
.btn.block { width: 100%; justify-content: center; }
.btn.danger { background: var(--sale); border-color: var(--sale); }
.btn.danger:hover { background: #fff; color: var(--sale); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.hint { color: var(--muted); font-size: 13.5px; }
.hint.center { display: block; text-align: center; }
.form-error { color: var(--sale); font-size: 14px; margin: 0; min-height: 0; }
.form-error:empty { display: none; }
.field input:disabled { background: var(--soft); color: var(--muted); }
.card-title { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 20px; }
.row-actions { display: flex; gap: 14px; align-items: center; }
.ok { color: #1f7a4a; font-size: 14px; }
.more { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; }
.more summary { cursor: pointer; font-size: 15.5px; }
.more .form { margin-top: 16px; }
.site-footer .bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .account { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .account-card { padding: 24px; }
  .tabs { margin: -24px -24px 24px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav { gap: 26px; }
  .logo-tag { display: none; }
}
@media (max-width: 1024px) {
  .nav {
    position: fixed; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0;
    padding: 10px 24px 20px; border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1080px) {
  .nav { gap: 28px; }
  .hero .wrap { grid-template-columns: 1fr 1fr; }
  .hero-specs { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .guide { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav {
    position: fixed; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0;
    padding: 10px 20px 20px; border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .logo-tag { display: none; }
  .logo-name { font-size: 18px; }
  .header-icons { gap: 14px; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; text-align: left; padding-top: 10px; }
  .hero-gem { order: -1; }
  .hero-gem { max-width: 300px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .split, .contact-grid, .product { grid-template-columns: 1fr; gap: 36px; }
  .gem-split { grid-template-columns: 1fr; gap: 32px; }
  .gem-split .gem-photo { order: 0; }
  .facts { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .toolbar .filters, .toolbar .filters select { width: 100%; }
  .toolbar .filters select { flex: 1 1 140px; width: auto; }
}
@media (max-width: 520px) {
  .trust .wrap { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .guide, .form .row { grid-template-columns: 1fr; }
  .gem-split .guide { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .logo { gap: 10px; }
  .logo-mark { height: 36px; }
  .logo-name { font-size: 16px; letter-spacing: .08em; }
  .header-icons { gap: 8px; }
  .icon-btn svg { width: 21px; height: 21px; }
  .card h3 { font-size: 15px; }
  .meta { font-size: 12px; }
  .meta span + span::before { margin: 0 6px; }
}
