:root {
  --brand: #2457ea;
  --brand-dark: #173fbe;
  --brand-soft: #e7efff;
  --heading: #163b86;
  --ink: #243044;
  --muted: #5c6b80;
  --line: #e4edf5;
  --bg: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(18, 52, 120, 0.08);
  --radius: 16px;
  --max: 1240px;
  --header: 78px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--heading); font-weight: 560; letter-spacing: -0.02em; margin: 0; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--brand); color: white;
  padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 237, 245, .9);
}
.header-inner {
  min-height: var(--header);
  display: flex; align-items: center; gap: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { width: 42px; height: 42px; flex: none; display: block; }
.logo-mark svg { width: 42px; height: 42px; display: block; }
.logo-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: none; }
.logo-actions { display: flex; gap: 10px; align-items: center; }
.logo-change, .logo-reset {
  border: 0; background: transparent; color: var(--brand); font-size: 11px; font-weight: 650;
  padding: 0; cursor: pointer; line-height: 1;
}
.logo-reset[hidden] { display: none; }
.logo-change:hover, .logo-reset:hover { text-decoration: underline; }
.logo-custom, .custom-logo { height: 54px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.logo.has-custom .logo-mark,
.logo.has-custom > span { display: none; }
.custom-logo-link { display: flex; align-items: center; }
.logo strong {
  display: block; color: var(--brand); font-size: 15px; letter-spacing: .04em;
  font-weight: 700; font-family: var(--sans); line-height: 1.1;
}
.logo small { display: block; color: #8b97a8; font-size: 10px; letter-spacing: .01em; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; flex: 1; }
.nav a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 9px; border-radius: 999px;
  color: #31445f; font-size: 14px; font-weight: 500;
  background: transparent; border: 0; white-space: nowrap;
}
.nav a:hover, .nav-drop > button:hover { color: var(--brand); }
.nav a.is-current, .nav-drop > button.is-current { background: var(--brand-soft); color: var(--brand); }
.nav-drop { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: white; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; display: none;
}
.nav-drop:hover .submenu, .nav-drop:focus-within .submenu { display: grid; }
.submenu a { border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.submenu a:hover { background: var(--brand-soft); }

.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search {
  display: flex; align-items: center; flex: none;
  background: #fff; border: 1px solid #d7e2ef; border-radius: 999px;
  padding: 3px 3px 3px 14px; width: 220px;
}
.search input {
  border: 0; outline: 0; width: 100%; font-size: 13.5px; color: var(--ink); background: transparent;
}
.search input::placeholder { color: #93a0b3; }
.search button, .icon-round {
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--brand); color: white; display: grid; place-items: center; flex: none;
}
.search button:hover, .icon-round:hover { background: var(--brand-dark); }
.tool {
  display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap;
  color: #31445f; font-size: 14px; font-weight: 500; padding: 6px 10px 6px 4px; position: relative;
}
.tool svg { color: #3d516c; }
.tool:hover { color: var(--brand); }
.badge {
  position: absolute; top: -2px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--brand); color: white; font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: white; padding: 0;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--heading); margin: 4px auto; }

.drawer {
  display: none; border-top: 1px solid var(--line); background: white; padding: 8px 20px 18px;
}
.drawer a, .drawer button.linkish {
  display: block; width: 100%; text-align: left; padding: 12px 4px;
  border: 0; border-bottom: 1px solid var(--line); background: white;
  color: var(--ink); font-size: 16px; font-weight: 500;
}
body.nav-open .drawer { display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #d7e7f4; min-height: 560px; }
.hero-slide {
  min-height: 560px;
  background-size: cover; background-position: center right;
  display: none; position: relative;
}
.hero-slide.is-active { display: block; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(244,249,253,.96) 0%, rgba(236,245,252,.88) 28%, rgba(236,245,252,.45) 48%, rgba(255,255,255,.05) 68%);
}
.hero-inner {
  position: relative; z-index: 2;
  min-height: 560px; display: flex; align-items: center;
  padding: 54px 0 70px;
}
.hero-copy { width: min(560px, 100%); }
.eyebrow, .kicker {
  margin: 0 0 12px; color: var(--brand); font-family: var(--sans);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.12; color: #173e8c; max-width: 15ch; }
.lead { color: #4d5e74; font-size: 16.5px; max-width: 48ch; margin: 16px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border-radius: 999px; padding: 13px 22px; font-weight: 600; font-size: 14.5px;
  border: 1.5px solid transparent; transition: .18s ease;
}
.btn-primary { background: var(--brand); color: white; box-shadow: 0 8px 18px rgba(36,87,234,.25); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: rgba(255,255,255,.72); color: var(--brand); border-color: #b9cff8; }
.btn-ghost:hover { background: white; border-color: var(--brand); }
.btn-light { background: white; color: var(--brand); }
.script-line {
  position: absolute; right: 7%; top: 18%; z-index: 3;
  font-family: var(--script); color: white; font-size: clamp(34px, 4vw, 52px);
  text-shadow: 0 8px 24px rgba(0,0,0,.25); transform: rotate(-8deg); pointer-events: none;
  line-height: 1;
}
.hero-gems { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stone {
  position: absolute; object-fit: cover;
  filter: drop-shadow(0 16px 24px rgba(10, 30, 60, .28));
  border-radius: 42%;
}
.stone-pink { width: 210px; height: 190px; right: 27%; bottom: 18%; border-radius: 46% 50% 44% 48%; }
.stone-gold { width: 168px; height: 150px; right: 14%; bottom: 22%; border-radius: 48% 42% 50% 40%; }
.stone-clear { width: 150px; height: 170px; right: 36%; bottom: 8%; background: transparent; }
.wheel {
  position: absolute; right: -40px; top: 18%; width: 280px; height: 280px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #4b5563 0 18%, transparent 19%),
    repeating-conic-gradient(from 0deg, #9aa3ad 0 8deg, #6b7280 8deg 14deg);
  box-shadow: inset 0 0 0 18px #c5ccd4, 0 10px 30px rgba(0,0,0,.25);
  opacity: .95;
}
.stone-cut {
  width: 92px; height: 92px; right: 78px; top: 30%; border-radius: 30%;
  border: 3px solid rgba(255,255,255,.8); z-index: 3;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.88); color: var(--heading);
  box-shadow: 0 6px 16px rgba(0,0,0,.12); display: grid; place-items: center;
}
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
@media (max-width: 760px) {
  .hero-arrow { display: none; }
}
.hero-arrow:hover { background: white; }
.hero-dots {
  position: absolute; left: max(20px, calc((100% - var(--max)) / 2));
  bottom: 22px; z-index: 4; display: flex; gap: 8px;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(22,59,134,.25); padding: 0;
}
.hero-dots button.is-active { background: var(--brand); width: 22px; border-radius: 99px; }

/* Trust */
.trust { background: white; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; gap: 12px; align-items: center; padding: 22px 16px; }
.feature + .feature { box-shadow: inset 1px 0 0 var(--line); }
.feature svg { color: var(--brand); flex: none; }
.feature strong { display: block; color: var(--heading); font-size: 15px; font-family: var(--sans); font-weight: 650; }
.feature span { color: var(--muted); font-size: 13px; }

/* Sections */
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.15; }
.text-link { color: var(--brand); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.text-link:hover { gap: 6px; }

.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.product-card { min-width: 0; }
.media {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #eef3f7; display: block;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media.studio { background: linear-gradient(180deg, #f7f8f6, #e7eeea); }
.media.studio img { object-fit: contain; padding: 12px; }
.media.dark { background: radial-gradient(circle at 50% 45%, #2a2a2a, #070707 72%); }
.media.dark img { object-fit: contain; padding: 16px; }
.wish {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: #607089; display: grid; place-items: center;
}
.wish.is-on, .wish:hover { color: #e11d48; }
.product-card h3 {
  margin: 10px 0 8px; font-family: var(--sans); font-weight: 600; font-size: 13.5px;
  line-height: 1.35; color: #1d406f; letter-spacing: 0; min-height: 3.6em;
}
.product-card h3 a:hover { color: var(--brand); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; color: #16325c; font-size: 14.5px; }
.add-cart {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid #d5e1ee; background: white; color: #3c5270;
  display: grid; place-items: center;
}
.add-cart:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.blog-card .media { aspect-ratio: 16/11; border-radius: 16px; }
.blog-card h3 { font-family: var(--sans); font-size: 16px; line-height: 1.4; color: #1a3e78; min-height: 4.4em; margin: 12px 0 10px; letter-spacing: 0; font-weight: 650; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.blog-meta a { color: var(--brand); font-weight: 600; }

/* Gem hunting */
.hunt {
  position: relative; color: white; overflow: hidden; min-height: 360px;
  background: #12324f center/cover no-repeat;
}
.hunt::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 48, .78) 0%, rgba(8, 28, 48, .55) 42%, rgba(8, 28, 48, .15) 100%);
}
.hunt-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center; padding: 54px 0; }
.hunt .kicker { color: rgba(255,255,255,.8); margin-bottom: 6px; }
.hunt h2 { color: white; font-size: clamp(34px, 4vw, 48px); }
.hunt p { color: rgba(255,255,255,.88); max-width: 46ch; }
.polaroids { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; justify-items: center; }
.polaroid {
  background: white; padding: 8px 8px 22px; box-shadow: 0 12px 28px rgba(0,0,0,.28); width: min(210px, 100%);
}
.polaroid img { width: 100%; height: 130px; object-fit: cover; }
.polaroid:nth-child(1) { transform: rotate(-7deg); }
.polaroid:nth-child(2) { transform: rotate(5deg) translateY(-6px); }
.polaroid:nth-child(3) { transform: rotate(3deg); }
.polaroid:nth-child(4) { transform: rotate(-4deg) translateY(6px); }

/* Request */
.request { background: linear-gradient(180deg, #f8fbfe, #f3f7fb); }
.request-grid { display: grid; grid-template-columns: 280px 1fr auto; gap: 28px; align-items: center; }
.request-art { position: relative; min-height: 160px; }
.request-art img {
  width: 110px; height: 110px; object-fit: cover; border-radius: 24px;
  box-shadow: var(--shadow); position: relative; z-index: 1;
}
.sketch { position: absolute; inset: 0; opacity: .55; }
.request h2 { font-size: clamp(30px, 3vw, 38px); margin: 4px 0 8px; }
.request p { margin: 0; color: var(--muted); max-width: 52ch; }
.aside-note { color: var(--muted); font-size: 14px; max-width: 24ch; margin: 0 0 12px; }

/* Footer */
.site-footer { background: #f3f6fb; border-top: 1px solid var(--line); padding-top: 36px; color: #52637a; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .95fr 1.05fr .85fr; gap: 28px 22px; align-items: start; }
.site-footer h4 { font-family: var(--sans); font-size: 15px; color: var(--heading); margin: 0 0 10px; letter-spacing: 0; font-weight: 700; }
.footer-grid > div > a:not(.logo) { display: block; padding: 3px 0; color: #5c6d84; font-size: 13.5px; }
.footer-grid > div > a:not(.logo):hover { color: var(--brand); }
.footer-brand .logo { align-items: flex-start; }
.brand-blurb { margin: 12px 0 0; max-width: 34ch; line-height: 1.55; color: #66788e; }
.contact-line { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; line-height: 1.4; }
.contact-line svg { flex: none; margin-top: 2px; }
.contact-line a { color: #31445f; padding: 0; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: white; padding: 0; border: 0;
}
.socials a.ig { background: #e1306c; }
.socials a.fb { background: #1877f2; }
.socials a.x { background: #111; }
.socials a.pin { background: #e60023; }
.socials a.in { background: #0a66c2; }
.socials a:hover { transform: translateY(-1px); }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.pay {
  height: 28px; min-width: 46px; padding: 0 7px; border-radius: 4px; background: white; border: 1px solid #e1e8f0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.pay.visa { color: #1a1f71; font-style: italic; font-family: Georgia, serif; letter-spacing: .02em; }
.pay.mc { width: 46px; position: relative; }
.pay.mc i { width: 16px; height: 16px; border-radius: 50%; display: block; }
.pay.mc i:first-child { background: #eb001b; margin-right: -6px; }
.pay.mc i:last-child { background: #f79e1b; }
.pay.amex { background: #2e77bc; color: white; border-color: #2e77bc; font-size: 9px; }
.pay.disc { color: #f76b1c; }
.pay.dc { color: #0079be; }
.pay.onepay { color: #0f9d58; letter-spacing: 0; text-transform: lowercase; font-weight: 700; }
.fine { font-size: 12px; color: #7b8ba0; margin-top: 10px; line-height: 1.45; }
.legal {
  margin-top: 26px; border-top: 1px solid #e1eaf3;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 0 18px; font-size: 12.5px; color: #7d8da3;
}

/* Inner pages */
.page-hero { background: linear-gradient(180deg, #f4f8fd, #fff); border-bottom: 1px solid var(--line); padding: 36px 0 28px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumbs a:hover { color: var(--brand); }
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 32px 0 64px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.panel h3 { font-family: var(--sans); font-size: 15px; margin-bottom: 10px; letter-spacing: 0; }
.filter-list { display: grid; gap: 6px; }
.filter-list button, .chip {
  text-align: left; border: 1px solid transparent; background: #f5f8fc; color: #31445f;
  border-radius: 10px; padding: 8px 10px; font-weight: 550;
}
.filter-list button.is-on, .chip.is-on { background: var(--brand-soft); color: var(--brand); border-color: #c9d9fb; }
.shop-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }
.shop-bar select, .field input, .field select, .field textarea {
  width: 100%; border: 1px solid #d5e2ef; border-radius: 12px; padding: 12px 12px; font-size: 15px; color: var(--ink); background: white;
}
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shop-grid .product-card h3 { min-height: 2.8em; font-size: 15px; }
.empty { padding: 40px 10px; color: var(--muted); }

.product-page { padding-top: 28px; }
.detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 8px 0 12px; align-items: start; }
.gallery { background: #f4f7f8; border-radius: 20px; min-height: 460px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 520px; object-fit: contain; }
.gallery.dark { background: radial-gradient(circle at 50% 45%, #2a2a2a, #070707 72%); }
.gallery-note { margin: 10px 2px 0; color: var(--muted); font-size: 13px; }
.detail h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.18; }
.detail .price { font-size: 30px; margin: 8px 0 12px; display: block; color: var(--heading); }
.stock { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #146c36; font-weight: 650; font-size: 14px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 8px 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.spec-grid div { padding: 12px 14px; background: #f8fbfe; border-bottom: 1px solid var(--line); }
.spec-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.spec-grid dt { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.spec-grid dd { margin: 2px 0 0; color: #1d334f; font-weight: 650; }
.assurances { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: #3c4d63; font-size: 14px; }
.assurances li { padding-left: 22px; position: relative; }
.assurances li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.product-extra { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin: 18px 0 36px; }
.product-extra article { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: white; }
.product-extra h2 { font-family: var(--sans); font-size: 18px; letter-spacing: 0; margin-bottom: 8px; }
.product-extra p { margin: 0; color: #3c4d63; }
.related-grid { grid-template-columns: repeat(4, 1fr); }
.buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.buy-row .wish { position: static; width: 46px; height: 46px; border: 1px solid #d5e2ef; border-radius: 12px; background: white; }
.qty { display: inline-flex; border: 1px solid #d5e2ef; border-radius: 12px; overflow: hidden; }
.qty button { width: 36px; height: 42px; border: 0; background: #f6f9fc; color: var(--heading); }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 700; }
.prose { padding-bottom: 48px; color: #3c4d63; }
.prose p { margin: 0 0 12px; }
.related { padding-bottom: 64px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.frame { border-radius: 20px; overflow: hidden; min-height: 280px; }
.frame img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: white; }
.info-card h3 { font-family: var(--sans); font-size: 18px; margin-bottom: 6px; letter-spacing: 0; }
.info-card p { margin: 0; color: var(--muted); }
.about-photos { display: grid; gap: 12px; }
.about-photos img { width: 100%; height: 230px; object-fit: cover; border-radius: 18px; }
.about-photos img:first-child { height: 280px; object-fit: contain; background: #f4f7f8; padding: 12px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.contact-layout h2 { font-family: var(--sans); font-size: 22px; letter-spacing: 0; margin-bottom: 4px; }
.contact-aside ul { margin: 0 0 16px; padding-left: 18px; color: #3c4d63; }
.contact-aside li { margin: 6px 0; }
.contact-aside p { color: var(--muted); }
.panel h2 { margin-bottom: 8px; }

.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #31445f; margin-bottom: 6px; }
.notice {
  display: none; background: #e9f8ef; color: #146c36; border: 1px solid #b7e7c7;
  padding: 12px 14px; border-radius: 12px; margin-bottom: 12px;
}
.notice.show { display: block; }
.account-box { max-width: 460px; margin: 28px auto 70px; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tabs button { flex: 1; border-radius: 12px; border: 1px solid var(--line); background: white; padding: 10px; font-weight: 650; }
.tabs button.is-on { background: var(--brand); color: white; border-color: var(--brand); }

.cart-layout, .checkout-grid { display: grid; grid-template-columns: 1.4fr .7fr; gap: 22px; padding: 28px 0 64px; }
.checkout-grid { grid-template-columns: 1.1fr .8fr; }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; background: #f3f6f8; }
.summary { border: 1px solid var(--line); border-radius: 16px; padding: 18px; height: fit-content; background: #f8fbfe; }
.summary row, .sum-line { display: flex; justify-content: space-between; margin: 8px 0; }
.remove { border: 0; background: transparent; color: #b42318; font-weight: 600; padding: 0; }

.article { max-width: 820px; margin: 0 auto; padding: 28px 0 64px; }
.article img.cover { width: 100%; border-radius: 18px; height: 380px; object-fit: cover; margin: 12px 0 20px; }
.article h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }

.toast {
  position: fixed; right: 16px; bottom: 16px; background: #12315f; color: white;
  padding: 12px 14px; border-radius: 12px; box-shadow: var(--shadow); z-index: 70;
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: .2s ease;
}
.toast.show { opacity: 1; transform: none; }

/* WooCommerce shop, when this stylesheet is used as the WordPress theme */
.woocommerce ul.products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0;
}
.home .woocommerce ul.products { grid-template-columns: repeat(6, 1fr); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product a img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--sans); color: #1d406f; font-size: 15px; }
.woocommerce ul.products li.product .price { color: #16325c; font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce .single_add_to_cart_button {
  background: var(--brand) !important; color: white !important; border-radius: 999px !important; font-weight: 600;
}
.woocommerce-page .site-main { width: min(var(--max), calc(100% - 40px)); margin: 28px auto 64px; }
@media (max-width: 760px) {
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .request-grid, .hunt-inner, .detail, .layout, .cart-layout, .checkout-grid, .split, .product-extra, .contact-layout { grid-template-columns: 1fr; }
  .script-line, .wheel, .stone-cut { display: none; }
}
@media (max-width: 760px) {
  .hero-slide::before {
    background: linear-gradient(180deg, rgba(244,249,253,.96) 0%, rgba(244,249,253,.9) 42%, rgba(244,249,253,.55) 68%, rgba(244,249,253,.15) 100%);
  }
  .search { display: none; }
  .tool span { display: none; }
  .product-grid, .blog-grid, .shop-grid, .cards-3, .trust-grid, .footer-grid, .form-row, .contact-cards, .related-grid { grid-template-columns: 1fr 1fr; }
  .feature + .feature { box-shadow: none; }
  .hero, .hero-slide, .hero-inner { min-height: 460px; }
  .hero-gems { display: none; }
  .polaroids { grid-template-columns: 1fr 1fr; }
  .legal { flex-direction: column; }
}
@media (max-width: 560px) {
  .product-grid, .blog-grid, .shop-grid, .cards-3, .trust-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
