/* ==========================================================================
   LeGlamorous Jewels — public B2B website (home, collections, B2B information, contact)
   Premium, calm and spacious: large serif headings, hairline gold details, plenty of white space.
   Uses the tokens from global.css, so it always matches the portal and the admin panel.
   ========================================================================== */

body.pub { background: #FFFFFF; }
body.pub .site-header { background: rgba(255, 255, 255, .96); }
body.pub .site-footer { margin-top: 0; }

/* Header details for the public site */
.public-actions { gap: .6rem; }
.main-nav .nav-cta { display: none; }
body.pub .brand, body.pub .brand-tag { white-space: nowrap; flex-shrink: 0; }
body.pub .main-nav a { white-space: nowrap; }
/* The public header has more items than the portal header (B2B Login, Admin Login, Request Access), so it switches
   to the menu button earlier (1200px). */
@media (max-width: 1200px) {
  body.pub .menu-toggle { display: grid; }
  body.pub .main-nav { position: fixed; inset: calc(var(--header-h) + 2px) 0 auto 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: .75rem 16px 1rem; gap: 0; box-shadow: var(--shadow-md); display: none; margin: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  body.pub .main-nav.open { display: flex; }
  body.pub .main-nav a:not(.btn) { padding: .8rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  body.pub .main-nav a.active { box-shadow: none; }
  body.pub .main-nav .nav-cta { display: flex; flex-direction: column; gap: .6rem; padding-top: .9rem; }
  body.pub .main-nav .nav-cta a.btn { padding: .7rem 1rem; }
  /* the generic menu-link colour must not override the white text of the dark button */
  body.pub .main-nav .nav-cta a.btn-primary, body.pub .main-nav .nav-cta a.btn-primary:hover { color: var(--on-dark); }
  body.pub .main-nav .nav-cta a.btn-primary:hover { background: var(--onyx-3); }
  body.pub .header-actions { margin-left: auto; }
  body.pub .partner-link { display: none; }
}

/* ── Buttons on dark ──────────────────────────────────────────────────── */
.pub-hero .btn-outline, .pub-cta .btn-outline { background: transparent; color: var(--on-dark); border-color: rgba(247, 241, 230, .5); }
.pub-hero .btn-outline:hover, .pub-cta .btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.pub-hero .btn-gold, .pub-cta .btn-gold { box-shadow: 0 8px 24px rgba(201, 164, 92, .28); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.pub-hero {
  position: relative; overflow: hidden; color: var(--on-dark-2);
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(217, 185, 110, .22), transparent 62%),
    radial-gradient(700px 420px at 0% 110%, rgba(217, 185, 110, .10), transparent 60%),
    linear-gradient(180deg, #1F1A15 0%, #2A231C 100%);
}
.pub-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); opacity: .5; }
.pub-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3.5rem; align-items: center; padding-top: 5.5rem; padding-bottom: 5rem; }
.pub-hero .eyebrow { color: var(--gold-bright); }
.pub-hero h1 { color: var(--on-dark); font-size: clamp(2.7rem, 5.4vw, 4.7rem); line-height: 1.02; font-weight: 500; margin: 1rem 0 1.2rem; }
.pub-hero h1 em { color: var(--gold-bright); font-style: italic; font-weight: 500; }
.pub-lead { font-size: 1.14rem; line-height: 1.65; max-width: 560px; color: var(--on-dark-2); margin-bottom: 2rem; }
.pub-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.pub-hero-points { display: flex; gap: .6rem 1.75rem; flex-wrap: wrap; margin-top: 2.4rem; font-size: .88rem; font-weight: 600; color: var(--on-dark-2); }
.pub-hero-points span { display: inline-flex; align-items: center; gap: .5rem; }
.pub-hero-points svg { width: 18px; height: 18px; color: var(--gold-bright); }

.pub-gem { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1 / 1; justify-self: center; display: grid; place-items: center; }
.pub-gem::before, .pub-gem::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(217, 185, 110, .32); }
.pub-gem::before { inset: 0; }
.pub-gem::after { inset: 11%; border-color: rgba(217, 185, 110, .2); }
.pub-gem svg { position: relative; width: 62%; height: auto; color: var(--gold-bright); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }
.pub-gem .spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 18px 4px rgba(217, 185, 110, .55); animation: pubTwinkle 4s ease-in-out infinite; }
.pub-gem .spark.s1 { top: 14%; right: 18%; } .pub-gem .spark.s2 { bottom: 20%; left: 12%; animation-delay: 1.3s; } .pub-gem .spark.s3 { top: 46%; right: 4%; animation-delay: 2.4s; width: 5px; height: 5px; }
@keyframes pubTwinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .pub-gem .spark { animation: none; opacity: .7; } }

/* ── Trust strip ──────────────────────────────────────────────────────── */
.pub-strip { background: #fff; border-bottom: 1px solid var(--line); }
.pub-strip-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.pub-strip-item { display: flex; align-items: center; gap: .85rem; padding: 1.35rem 1.25rem; border-right: 1px solid var(--line); }
.pub-strip-item:last-child { border-right: 0; }
.pub-strip-item svg { width: 26px; height: 26px; color: var(--gold); flex: 0 0 auto; }
.pub-strip-item strong { display: block; font-size: .88rem; color: var(--ink); }
.pub-strip-item span { display: block; font-size: .78rem; color: var(--ink-3); line-height: 1.35; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.pub-section { padding: 5.5rem 0; background: #fff; }
.pub-section--ivory { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pub-section--tight { padding: 3.5rem 0; }
.pub-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.pub-head--left { margin-left: 0; text-align: left; }
.pub-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; margin: .7rem 0 .8rem; }
.pub-head p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; margin: 0; }
.pub-head .eyebrow { letter-spacing: .26em; }
.pub-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.pub-head-row .pub-head { margin: 0; text-align: left; }

/* ── Collections ──────────────────────────────────────────────────────── */
/* Public collection cards are text only: the public website never shows product or collection photos. */
.pub-collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.pub-collection { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 1.5rem; overflow: hidden; border-radius: var(--r-md); background: radial-gradient(circle at 88% 10%, #3A3026 0%, #1F1A15 72%); color: #fff; text-decoration: none !important; isolation: isolate; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.pub-collection:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pub-collection::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 1px solid rgba(217, 185, 110, .22); pointer-events: none; }
.pub-collection .pc-art { position: absolute; top: 1.15rem; right: 1.2rem; color: var(--gold-bright); opacity: .8; }
.pub-collection .pc-art svg { width: 42px; height: auto; display: block; }
.pub-collection .pc-body { position: static; padding: 0; }
.pub-collection h3 { color: #fff; font-size: 1.7rem; font-weight: 500; margin: 0 2.8rem .35rem 0; }
.pub-collection p { color: rgba(255, 255, 255, .82); font-size: .88rem; margin: 0 0 .6rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub-collection .pc-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-bright); }
.pub-collection .pc-tag svg { width: 14px; height: 14px; }
.pub-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-3); border: 1px dashed var(--line-strong); border-radius: var(--r-md); }

/* ── Feature cards ────────────────────────────────────────────────────── */
.pub-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.pub-feature { padding: 1.9rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s; }
.pub-features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pub-section--ivory .pub-feature { background: #fff; }
.pub-feature:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.pub-feature .f-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-text); display: grid; place-items: center; margin-bottom: 1.1rem; }
.pub-feature .f-icon svg { width: 24px; height: 24px; }
.pub-feature h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin-bottom: .45rem; letter-spacing: 0; }
.pub-feature p { font-size: .92rem; color: var(--ink-2); margin: 0; line-height: 1.6; }

/* ── Steps ────────────────────────────────────────────────────────────── */
.pub-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: pubstep; position: relative; }
.pub-step { position: relative; padding: 0 .25rem; }
.pub-step .num { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-text); background: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 1.1rem; position: relative; z-index: 1; }
.pub-steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); opacity: .6; }
.pub-step h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: 0; }
.pub-step p { color: var(--ink-2); font-size: .92rem; margin: 0; line-height: 1.6; }

/* ── Call to action band ──────────────────────────────────────────────── */
.pub-cta { position: relative; overflow: hidden; background: linear-gradient(135deg, #1F1A15 0%, #2E2720 100%); color: var(--on-dark-2); border-radius: var(--r-lg); padding: 3.6rem 3rem; text-align: center; }
.pub-cta::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(217, 185, 110, .22); border-radius: 50%; right: -160px; top: -240px; }
.pub-cta::after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(217, 185, 110, .15); border-radius: 50%; left: -120px; bottom: -200px; }
.pub-cta > * { position: relative; z-index: 1; }
.pub-cta h2 { color: var(--on-dark); font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 500; margin-bottom: .7rem; }
.pub-cta p { max-width: 560px; margin: 0 auto 1.8rem; color: var(--on-dark-2); }
.pub-cta .pub-actions { justify-content: center; }

/* ── Page banner (inner pages) ────────────────────────────────────────── */
.pub-banner { background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.pub-banner-inner { padding-top: 4.2rem; padding-bottom: 3.6rem; max-width: 1240px; }
.pub-banner-inner > * { max-width: 820px; }
.pub-banner h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); font-weight: 500; margin: .8rem 0 .9rem; }
.pub-banner p { color: var(--ink-2); font-size: 1.1rem; line-height: 1.7; margin: 0; max-width: 680px; }

/* ── Information page ─────────────────────────────────────────────────── */
.pub-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.pub-split h2 { font-weight: 500; }
.pub-checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.pub-checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); line-height: 1.55; }
.pub-checks svg { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.pub-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 2rem; box-shadow: var(--shadow-sm); }
.pub-panel h3 { font-weight: 500; font-size: 1.6rem; }
.pub-faq { max-width: 820px; margin: 0 auto; display: grid; gap: .75rem; }
.pub-faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.pub-faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.pub-faq summary::-webkit-details-marker { display: none; }
.pub-faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-text); line-height: 1; transition: transform .2s; }
.pub-faq details[open] summary::after { content: "–"; }
.pub-faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.pub-faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--ink-2); line-height: 1.7; }

/* ── Contact / access request form ────────────────────────────────────── */
.pub-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.pub-info-card { background: var(--onyx); color: var(--on-dark-2); border-radius: var(--r-lg); padding: 2.2rem; position: relative; overflow: hidden; }
.pub-info-card::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(217, 185, 110, .2); border-radius: 50%; right: -120px; bottom: -140px; }
.pub-info-card h2 { color: var(--on-dark); font-weight: 500; font-size: 1.9rem; }
.pub-info-card a { color: var(--gold-bright); }
.pub-info-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1rem; position: relative; z-index: 1; }
.pub-info-list li { display: flex; gap: .8rem; align-items: flex-start; }
.pub-info-list svg { width: 20px; height: 20px; color: var(--gold-bright); flex: 0 0 auto; margin-top: 2px; }
.pub-info-list strong { display: block; color: var(--on-dark); font-size: .92rem; }
.pub-next { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--onyx-3); position: relative; z-index: 1; }
.pub-next h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark); margin-bottom: .8rem; }
.pub-next ol { margin: 0; padding-left: 1.15rem; display: grid; gap: .55rem; font-size: .9rem; }
.pub-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.2rem; box-shadow: var(--shadow-md); }
.pub-form h2 { font-weight: 500; font-size: 1.9rem; margin-bottom: .3rem; }
.pub-form .sub { color: var(--ink-3); margin-bottom: 1.6rem; }
.pub-form fieldset { border: 0; padding: 0; margin: 0 0 .6rem; min-width: 0; }
.pub-form legend { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); padding: 0; margin: 1.2rem 0 .9rem; }
.pub-form legend:first-of-type { margin-top: 0; }
.pub-interest { display: flex; flex-wrap: wrap; gap: .5rem; }
.pub-interest label { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-full); font-size: .85rem; cursor: pointer; background: #fff; }
.pub-interest label:has(input:checked) { border-color: var(--gold); background: var(--gold-tint); }
.pub-interest input { width: 15px; height: 15px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pub-consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin: .4rem 0 1.2rem; }
.pub-consent input { margin-top: 3px; flex: 0 0 auto; }
.pub-success { text-align: center; padding: 2.5rem 1rem; }
.pub-success .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.pub-success .ok svg { width: 34px; height: 34px; }
.pub-success .ref { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; padding: .5rem 1.1rem; border: 1.5px dashed var(--gold); border-radius: var(--r-sm); background: var(--gold-tint); color: var(--ink); margin: .6rem 0 1.2rem; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pub-features, .pub-features--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pub-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .pub-steps::before { display: none; }
  .pub-contact { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pub-hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 3.4rem; padding-bottom: 3.2rem; }
  .pub-gem { max-width: 300px; order: -1; margin: 0 auto; }
  .pub-split { grid-template-columns: 1fr; gap: 2rem; }
  .pub-section { padding: 3.6rem 0; }
  .pub-strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .pub-strip-inner { grid-template-columns: 1fr 1fr; }
  .main-nav .nav-cta { display: flex; flex-direction: column; gap: .6rem; padding-top: .9rem; }
  .main-nav .nav-cta a.btn { border-bottom: 1.5px solid var(--line-strong); padding: .7rem 1rem; }
  .main-nav .nav-cta a.btn-primary { border-color: var(--onyx); }
}
@media (max-width: 640px) {
  .public-actions { display: none; }
  .pub-features, .pub-features--3, .pub-steps { grid-template-columns: 1fr; }
  .pub-strip-inner { grid-template-columns: 1fr; }
  .pub-form, .pub-info-card, .pub-panel { padding: 1.4rem; }
  .pub-cta { padding: 2.4rem 1.4rem; }
  .pub-collections { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
  .pub-collection { min-height: 170px; padding: 1.25rem; }
  .pub-head { margin-bottom: 2rem; }
  .pub-banner-inner { padding-top: 2.8rem; padding-bottom: 2.4rem; }
  .pub-form .form-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Dynamic Media Gallery & Showcase (Images & Videos)
   Modern luxury jewellery layout with category pills, left thumbnail sidebar,
   and prominent central media viewer with controls.
   ========================================================================== */
.pub-section--gallery {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery-wrapper {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 2rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 14px);
  padding: 1.5rem;
  box-shadow: 0 10px 30px -5px rgba(28, 24, 20, 0.06);
}
.gallery-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-right: 1px solid var(--line);
  padding-right: 1.5rem;
  max-height: 680px;
}
.gallery-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.gal-cat-btn {
  background: var(--surface-2, #faf7f2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: var(--r-full, 999px);
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.gal-cat-btn:hover {
  background: var(--gold-tint, #f7f0de);
  border-color: var(--gold);
  color: var(--ink);
}
.gal-cat-btn.active {
  background: var(--onyx, #1F1A15);
  border-color: var(--onyx);
  color: var(--gold-bright, #E8C978);
}
.gallery-thumb-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
  padding-right: 0.4rem;
  max-height: 600px;
  scrollbar-width: thin;
}
.gal-thumb-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: inherit;
}
.gal-thumb-item:hover {
  border-color: var(--gold);
  background: var(--surface-2, #faf7f2);
  transform: translateX(2px);
}
.gal-thumb-item.active {
  border-color: var(--gold);
  background: var(--gold-tint, #f7f0de);
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.15);
}
.gal-thumb-preview {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gal-thumb-preview img, .gal-thumb-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gal-thumb-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.gal-thumb-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.gal-thumb-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gal-thumb-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-text, #8a6a1f);
  letter-spacing: 0.05em;
}

/* Center main viewer */
.gallery-main-viewer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.gallery-viewer-stage {
  position: relative;
  background: #0b0c10;
  border-radius: 12px;
  min-height: 480px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}
.gal-media-holder {
  width: 100%;
  height: 100%;
  max-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.gal-stage-media {
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}
.gal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  user-select: none;
}
.gal-nav-arrow:hover {
  background: var(--gold);
  color: var(--onyx);
  transform: translateY(-50%) scale(1.08);
}
.gal-nav-prev { left: 1rem; }
.gal-nav-next { right: 1rem; }
.gal-counter {
  position: absolute;
  bottom: 0.85rem;
  right: 1rem;
  background: rgba(18, 20, 24, 0.75);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 5;
}

/* Info section below viewer */
.gallery-viewer-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.5rem 0.25rem;
}
.gal-info-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.gal-badge {
  display: inline-block;
  background: var(--gold-tint, #f7f0de);
  color: var(--gold-text, #8a6a1f);
  border: 1px solid var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-right: 0.5rem;
}
.gal-type-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--ink-3);
  font-weight: 500;
}
.gal-title {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0.4rem 0 0;
  letter-spacing: -0.01em;
}
.gal-desc {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
  max-width: 820px;
}
.gal-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Responsive Gallery */
@media (max-width: 1024px) {
  .gallery-wrapper {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .gallery-viewer-stage {
    min-height: 400px;
  }
}
@media (max-width: 820px) {
  .gallery-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .gallery-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 1.25rem;
    max-height: none;
  }
  .gallery-thumb-list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding-bottom: 0.5rem;
  }
  .gal-thumb-item {
    grid-template-columns: 56px minmax(130px, 180px);
    flex-shrink: 0;
  }
  .gallery-viewer-stage {
    min-height: 320px;
  }
}



/* ── 1. Special 2026 Showcase (Color-matched to website, Slider & Lightbox) ───── */
.pub-section--special {
  background: var(--bg, #FAF7F2);
  border-top: 1px solid var(--line, #EBE4D8);
  border-bottom: 1px solid var(--line, #EBE4D8);
  padding: 5.5rem 0;
  color: var(--ink, #1F1A15);
}
.special-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.special-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text, #9E7B34);
  margin-bottom: 0.45rem;
}
.special-title {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 500;
  color: var(--ink, #1F1A15);
  margin: 0 0 0.4rem;
  line-height: 1.08;
}
.special-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3, #766E65);
  margin: 0;
}
.special-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── 2x2 Slider Navigation Controls ── */
.special-slider-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--line, #EBE4D8);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  box-shadow: var(--shadow-sm);
}
.special-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--ink, #1F1A15);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.special-nav-btn:hover:not(:disabled) {
  background: var(--gold, #C9A45C);
  color: #FFFFFF;
  transform: scale(1.08);
}
.special-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.special-page-indicator {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2, #554E45);
  padding: 0 0.5rem;
  font-feature-settings: 'tnum';
  min-width: 52px;
  text-align: center;
}

/* ── Main Showcase Grid ── */
.special-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.28fr);
  gap: 2rem;
  align-items: stretch;
}
.special-poster-col {
  display: flex;
}
.special-poster-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  min-height: 520px;
  background: #FFFFFF;
  border: 1px solid var(--line, #EBE4D8);
  box-shadow: var(--shadow-md, 0 10px 25px rgba(31, 26, 21, 0.08));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.special-poster-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold, #C9A45C);
}
.special-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.special-poster-card:hover .special-poster-img {
  transform: scale(1.03);
}
.special-poster-zoom-pill {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 3;
  background: rgba(26, 21, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
  transition: background 0.2s, transform 0.2s;
}
.special-poster-card:hover .special-poster-zoom-pill {
  background: var(--gold, #C9A45C);
  transform: scale(1.05);
}
.special-poster-overlay {
  position: relative;
  z-index: 2;
  padding: 2.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 16, 12, 0.82) 45%, rgba(20, 16, 12, 0.98) 100%);
  color: #FFFFFF;
}
.special-poster-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E5C378;
  margin-bottom: 0.5rem;
}
.special-poster-heading {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 2rem;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.special-poster-desc {
  font-size: 0.9rem;
  color: #CBD5E1;
  margin: 0 0 1.25rem;
  line-height: 1.5;
  max-width: 420px;
}
.special-poster-cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── 2x2 Items Container & Grid ── */
.special-items-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.special-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.special-item-card {
  background: #FFFFFF;
  border: 1px solid var(--line, #EBE4D8);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.special-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold, #C9A45C);
  box-shadow: 0 12px 28px rgba(201, 164, 92, 0.18);
}
.special-item-thumb {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  background: #F8F6F2;
  overflow: hidden;
  position: relative;
}
.special-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.special-item-card:hover .special-item-thumb img {
  transform: scale(1.05);
}
.special-item-zoom-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink, #1F1A15);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.special-item-card:hover .special-item-zoom-badge {
  opacity: 1;
  transform: scale(1);
  color: var(--gold-text, #9E7B34);
}
.special-item-body {
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  background: #FFFFFF;
}
.special-item-title {
  font-family: var(--sans, Inter, sans-serif);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink, #1F1A15);
  margin: 0 0 0.55rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.55rem;
}
.special-item-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}
.special-item-price {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gold-text, #9E7B34);
  font-feature-settings: 'tnum';
}
.special-item-orig-price {
  font-size: 0.88rem;
  color: var(--ink-3, #8E867C);
  text-decoration: line-through;
  font-feature-settings: 'tnum';
}
.special-item-badge {
  display: inline-block;
  background: var(--gold-tint, #FAF4E8);
  color: var(--gold-text, #9E7B34);
  border: 1px solid rgba(201, 164, 92, 0.35);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}
.special-item-sub {
  font-size: 0.78rem;
  color: var(--ink-3, #766E65);
  margin-top: auto;
}

/* ── Dots Pagination ── */
.special-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.special-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong, #D8CEBE);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.special-dot.active {
  background: var(--gold, #C9A45C);
  width: 26px;
  border-radius: 13px;
}

/* ── 2. Custom Jewelry 3-Stage Process (Kira Jewels Image 1 style) ─────── */
.pub-section--custom {
  background: #FAF8F5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5.5rem 0;
}
.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.custom-title {
  font-family: var(--sans, Inter, sans-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0.35rem 0 0;
}
.custom-start-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans, Inter, sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--gold);
  transition: color 0.2s, border-color 0.2s;
}
.custom-start-link:hover {
  color: var(--gold-text);
  border-color: var(--gold-text);
}
.custom-start-link .arrow {
  transition: transform 0.2s;
}
.custom-start-link:hover .arrow {
  transform: translateX(4px);
}
.custom-stages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.custom-stage-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.custom-stage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.custom-stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.custom-stage-day {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.custom-stage-img-wrap {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #F3F1EC;
  margin-bottom: 1.4rem;
}
.custom-stage-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.custom-stage-card:hover .custom-stage-img-wrap img {
  transform: scale(1.04);
}
.custom-stage-meta {
  display: flex;
  flex-direction: column;
}
.custom-stage-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
}
.custom-stage-heading {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.55rem;
  line-height: 1.25;
}
.custom-stage-desc {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive rules for showcases ──────────────────────────────────── */
@media (max-width: 980px) {
  .special-grid {
    grid-template-columns: 1fr;
  }
  .special-poster-card {
    min-height: 420px;
  }
  .custom-stages-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .special-items-grid {
    grid-template-columns: 1fr;
  }
  .pub-section--special,
  .pub-section--custom {
    padding: 3.5rem 0;
  }
}

/* ── Luxury Central Lightbox Popup with Blurred Background ─────────────── */
.showcase-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(18, 14, 10, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.showcase-lightbox-modal {
  position: relative;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  background: #FFFFFF;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 16px;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-lightbox-backdrop.active .showcase-lightbox-modal {
  transform: scale(1) translateY(0);
}
.showcase-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(26, 21, 16, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.showcase-lightbox-close:hover {
  background: var(--gold, #C9A45C);
  color: #FFFFFF;
  transform: scale(1.1);
}
.showcase-lightbox-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 15;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(26, 21, 16, 0.65);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.showcase-lightbox-nav.prev { left: 1.25rem; }
.showcase-lightbox-nav.next { right: 1.25rem; }
.showcase-lightbox-nav:hover {
  background: var(--gold, #C9A45C);
  transform: translateY(-50%) scale(1.12);
}
.showcase-lightbox-stage {
  position: relative;
  width: 100%;
  min-height: 300px;
  max-height: 62vh;
  background: #0B0907;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.showcase-lightbox-stage img,
.showcase-lightbox-stage video {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
}
.showcase-lightbox-caption {
  padding: 1.4rem 1.8rem;
  background: #FFFFFF;
  border-top: 1px solid var(--line, #EBE4D8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.showcase-lightbox-caption-main {
  flex: 1 1 300px;
}
.showcase-lightbox-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.showcase-lightbox-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text, #9E7B34);
  background: var(--gold-tint, #FAF4E8);
  border: 1px solid rgba(201, 164, 92, 0.35);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}
.showcase-lightbox-type {
  font-size: 0.72rem;
  color: var(--ink-3, #766E65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.showcase-lightbox-title {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink, #1F1A15);
  margin: 0 0 0.25rem;
  line-height: 1.15;
}
.showcase-lightbox-sub {
  font-size: 0.9rem;
  color: var(--ink-2, #554E45);
  margin: 0;
  line-height: 1.45;
}
.showcase-lightbox-caption-side {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.showcase-lightbox-prices {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.showcase-lightbox-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-text, #9E7B34);
  font-feature-settings: 'tnum';
}
.showcase-lightbox-orig {
  font-size: 0.95rem;
  color: var(--ink-3, #8E867C);
  text-decoration: line-through;
  font-feature-settings: 'tnum';
}
@media (max-width: 640px) {
  .showcase-lightbox-modal {
    max-height: 96vh;
    border-radius: 12px;
  }
  .showcase-lightbox-stage {
    min-height: 220px;
    max-height: 48vh;
  }
  .showcase-lightbox-caption {
    padding: 1rem 1.1rem;
    gap: 0.8rem;
  }
  .showcase-lightbox-title {
    font-size: 1.35rem;
  }
  .showcase-lightbox-nav {
    width: 38px;
    height: 38px;
  }
  .showcase-lightbox-nav.prev { left: 0.6rem; }
  .showcase-lightbox-nav.next { right: 0.6rem; }
}
