/**
 * Nica Bliz — jewellery layer (gold · black · cream).
 * Loaded after glam.css on every storefront page. Restyles the shared chrome (header, buttons,
 * footer) for the brand and adds the homepage components (nb-*).
 */

/* ==========================================================================
   1. Type & base accents
   ========================================================================== */
body { background: var(--cream); }
h1 em, h2 em, h3 em {
  color: var(--gold);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glam-eyebrow { color: var(--pink-deep); letter-spacing: 0.28em; }
::selection { background: var(--gold-light); color: #000; }

/* ==========================================================================
   2. Buttons — square-cut, gold & onyx
   ========================================================================== */
.btn, .glam-btn { border-radius: 2px; letter-spacing: 0.18em; }
.btn-primary, .glam-btn--plum { background: #000; border-color: #000; color: #fff; }
.btn-primary:hover, .glam-btn--plum:hover { background: var(--gold); border-color: var(--gold); color: #000; box-shadow: 0 14px 30px rgba(184, 134, 74, 0.3); }
.btn-accent, .glam-btn--pink, .glam-btn--gold {
  background: var(--gold-gradient);
  background-size: 200% 100%;
  border-color: var(--gold);
  color: #000;
  box-shadow: 0 10px 24px rgba(184, 134, 74, 0.25);
  transition: background-position 0.5s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn-accent:hover, .glam-btn--pink:hover, .glam-btn--gold:hover {
  background-position: 100% 0;
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 16px 34px rgba(184, 134, 74, 0.38);
}
.btn-outline, .glam-btn--ghost { color: #000; border-color: #000; }
.btn-outline:hover, .glam-btn--ghost:hover { background: #000; color: var(--gold-light); }
.glam-btn--ghost-light { border-color: rgba(227, 194, 138, 0.55); color: var(--gold-light); }
.glam-btn--ghost-light:hover { background: var(--gold-light); border-color: var(--gold-light); color: #000; }
.glam-link { color: #000; }
.glam-link:hover { color: var(--gold); }

/* ==========================================================================
   3. Header — onyx bar so the logo artwork sits seamlessly
   ========================================================================== */
.glam-header.site-header,
.glam-header.is-scrolled {
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid rgba(227, 194, 138, 0.22);
}
.glam-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.glam-header .site-header__logo img { height: 60px; width: 60px; filter: none; border-radius: 50%; }
@media (min-width: 768px) { .glam-header .site-header__logo img { height: 78px; width: 78px; } }
.glam-header .site-header__logo:hover img { transform: scale(1.04); }
.glam-header .site-header__nav > a,
.glam-header .site-header__dropdown > a { color: #F5EDE8; }
.glam-header .site-header__nav a.active,
.glam-header .site-header__nav > a:hover,
.glam-header .site-header__dropdown:hover > a { color: var(--gold-light); }
.glam-header .site-header__nav > a::after,
.glam-header .site-header__dropdown > a::after { background: var(--gold-gradient); height: 1px; }
.glam-header .site-header__menu { background: #0B0A08; border-color: rgba(227, 194, 138, 0.25); border-radius: 4px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.glam-header .site-header__menu a { color: #F5EDE8; border-radius: 2px; }
.glam-header .site-header__menu a:hover { background: rgba(227, 194, 138, 0.12); color: var(--gold-light); }
.glam-header .site-header__menu-all { border-top-color: rgba(227, 194, 138, 0.25); color: var(--gold-light) !important; }
.glam-header .site-header__icon { color: #F5EDE8; }
.glam-header .site-header__icon:hover { background: rgba(227, 194, 138, 0.14); color: var(--gold-light); }
.glam-header .badge-count { background: var(--gold); color: #000; box-shadow: 0 0 0 2px #000; }
.glam-header .menu-toggle span { background: #F5EDE8; }
.glam-header .menu-toggle:hover span { background: var(--gold-light); }
.glam-header .site-header__searchpanel { background: #0B0A08; border-top-color: rgba(227, 194, 138, 0.2); }

/* Drawer & mobile bar */
.mobile-drawer__header { background: #000; }
.mobile-drawer__header button { color: #F5EDE8; }
.mobile-drawer__logo { height: 64px !important; width: 64px !important; border-radius: 50%; }
.mobile-drawer__label { color: var(--pink-deep); }
@media (max-width: 767px) {
  .mobile-bottom-nav { background: rgba(0, 0, 0, 0.96); border-top-color: rgba(227, 194, 138, 0.22); }
  .mobile-bottom-nav a { color: rgba(245, 237, 232, 0.7); }
  .mobile-bottom-nav a.active { color: var(--gold-light); }
  .mobile-bottom-nav a.mobile-bottom-nav__book { color: var(--gold-light); }
  .mobile-bottom-nav a.mobile-bottom-nav__book i {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 10px 24px rgba(184, 134, 74, 0.4), 0 0 0 4px #000;
  }
}

/* ==========================================================================
   4. Sections, cards, newsletter, footer
   ========================================================================== */
.glam-section--blush { background: var(--blush); }
.glam-section--white { background: #fff; }
.glam-section--plum {
  background:
    radial-gradient(ellipse 50% 70% at 90% 0%, rgba(184, 134, 74, 0.22), transparent 70%),
    #000;
  color: #F5EDE8;
}
.glam-section--plum h2, .glam-section--plum h3 { color: #F5EDE8; }
.glam-section--plum .glam-eyebrow { color: var(--gold-light); }
.glam-section--plum .glam-lead { color: rgba(245, 237, 232, 0.75); }

.glam-feature__media img,
.glam-service__media img { border-radius: 2px; }
.glam-ticks li::before { color: var(--gold); }

.product-card { border-radius: 4px; border-color: var(--border); }
.product-card:hover { border-color: var(--gold-light); }
.product-card__price { color: #000; }
.product-card__badge { background: #000; color: var(--gold-light); border-radius: 2px; }

.glam-newsletter {
  background:
    radial-gradient(ellipse 50% 80% at 92% 30%, rgba(184, 134, 74, 0.16), transparent 70%),
    var(--blush);
}
.glam-signup { border-radius: 2px; }
.glam-signup button { border-radius: 2px; background: #000; color: var(--gold-light); }
.glam-signup button:hover { background: var(--gold); color: #000; }
.glam-signup input::placeholder { color: var(--text-light); }

.glam-footer.site-footer {
  background:
    radial-gradient(ellipse 45% 60% at 100% 0%, rgba(184, 134, 74, 0.16), transparent 70%),
    #000;
  border-top: 1px solid rgba(227, 194, 138, 0.25);
}
.glam-footer .site-footer__logo { height: 120px; width: 120px; border-radius: 50%; filter: none; }
.glam-footer .site-footer__tagline { color: #F5EDE8; }
.glam-footer .site-footer__materials { margin: 6px 0 0; color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.08em; }
.glam-footer .site-footer__contact { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: 0.9rem; color: rgba(245, 237, 232, 0.8); }
.glam-footer .site-footer__contact i { width: 18px; color: var(--gold-light); }
.glam-footer .site-footer__contact a:hover { color: var(--gold-light); }
.glam-footer .fh-footer-panel__title { color: var(--gold-light); }
.glam-footer .fh-footer-panel__body a:hover,
.glam-footer .site-footer__copy a:hover { color: var(--gold-light); }
.glam-footer .site-footer__social-link { border-color: rgba(227, 194, 138, 0.35); color: var(--gold-light); }
.glam-footer .site-footer__social-link:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* ==========================================================================
   5. Homepage components
   ========================================================================== */
.nb-promise { background: var(--blush); border-bottom: 1px solid var(--border); }
.nb-promise__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.nb-promise__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  border-right: 1px solid var(--border);
}
.nb-promise__item:last-child { border-right: 0; }
.nb-promise__item i { flex: none; font-size: 1.35rem; color: var(--gold); }
.nb-promise__item strong { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #000; }
.nb-promise__item span { display: block; font-size: 0.86rem; color: var(--text-muted); line-height: 1.45; }

.nb-collections {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
.nb-collection { display: block; color: inherit; }
.nb-collection__media { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--blush); border-radius: 2px; }
.nb-collection__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.nb-collection:hover .nb-collection__media img { transform: scale(1.06); }
.nb-collection__body { display: block; padding: 14px 2px 0; }
.nb-collection__body strong { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: #000; }
.nb-collection__body strong::after { content: ''; flex: 1; height: 1px; background: var(--gold-gradient); opacity: 0; transform: scaleX(0.2); transform-origin: left; transition: opacity 0.3s, transform 0.5s var(--ease-out); }
.nb-collection:hover .nb-collection__body strong::after { opacity: 1; transform: scaleX(1); }
.nb-collection__body small { display: block; margin-top: 4px; font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; }

.nb-clover__rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.nb-clover__item { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 2px; }
.nb-clover__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.nb-clover__item:hover img { transform: scale(1.06); }
.nb-clover__item span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nb-lookbook {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.nb-lookbook__item { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 2px; background: #fff; }
.nb-lookbook__item:nth-child(1), .nb-lookbook__item:nth-child(6) { grid-row: span 2; aspect-ratio: auto; }
.nb-lookbook__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out), filter 0.4s; }
.nb-lookbook__item:hover img { transform: scale(1.05); }

.nb-service { background: #000; color: #F5EDE8; }
.nb-service__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nb-service__item {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 34px 18px;
  text-align: center;
  color: inherit;
  border-right: 1px solid rgba(227, 194, 138, 0.18);
}
.nb-service__item:last-child { border-right: 0; }
.nb-service__item i { font-size: 1.5rem; color: var(--gold-light); margin-bottom: 4px; }
.nb-service__item strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; }
.nb-service__item span { font-size: 0.84rem; color: rgba(245, 237, 232, 0.65); }
a.nb-service__item:hover strong { color: var(--gold-light); }

.nb-follow__strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.nb-follow__strip a { display: block; overflow: hidden; aspect-ratio: 1; }
.nb-follow__strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out), opacity 0.3s; }
.nb-follow__strip a:hover img { transform: scale(1.07); opacity: 0.85; }
.glam-follow-btn { border-radius: 50%; border-color: var(--gold); color: #000; }
.glam-follow-btn:hover { background: var(--gold); color: #000; }

/* Lookbook page filter chips */
.nb-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.nb-filter button {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
}
.nb-filter button[aria-pressed=true], .nb-filter button:hover { background: #000; border-color: #000; color: var(--gold-light); }

/* ==========================================================================
   6. Responsive
   ========================================================================== */
@media (max-width: 1099px) {
  .nb-collections { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nb-clover__rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .nb-promise__grid, .nb-service__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-promise__item:nth-child(2n), .nb-service__item:nth-child(2n) { border-right: 0; }
  .nb-promise__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .nb-service__item:nth-child(-n+2) { border-bottom: 1px solid rgba(227, 194, 138, 0.18); }
  .nb-lookbook { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-lookbook__item:nth-child(1), .nb-lookbook__item:nth-child(6) { grid-row: auto; aspect-ratio: 3 / 4; }
  .nb-follow__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nb-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-clover__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-promise__item { padding: 18px 12px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .nb-service__item { padding: 24px 10px; }
}

/* ==========================================================================
   7. Page heads & forms — gold sparkle instead of the old butterfly
   ========================================================================== */
.glam-pagehead { background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(184, 134, 74, 0.12), transparent 70%), var(--cream); }
.glam-pagehead__fly,
.page-hero::after {
  width: 26px;
  height: 26px;
  background: var(--gold-gradient);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: nbTwinkle 3.5s ease-in-out infinite;
}
@keyframes nbTwinkle {
  0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.1) rotate(45deg); opacity: 1; }
}
.about-hero__bg { background-image: url('../images/gallery/necklace-gold-infinity-black.webp'); background-position: center 40%; }
.about-hero { background: #000; }
.about-hero__overlay {
  background:
    radial-gradient(ellipse 50% 70% at 85% 20%, rgba(184, 134, 74, 0.22), transparent 70%),
    linear-gradient(115deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 55%, rgba(0, 0, 0, 0.6) 100%);
}
.about-hero__eyebrow { color: var(--gold-light); }

input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=submit]),
select,
textarea { border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  .glam-pagehead__fly, .page-hero::after { animation: none; }
  .nb-collection__media img, .nb-clover__item img, .nb-lookbook__item img { transition: none; }
}
.glam-feature { border-radius: 4px; background: #0B0A08; }
.glam-feature .glam-link { color: var(--gold-light); }
.glam-feature .glam-link:hover { color: #F5EDE8; }
.about-hero h1 { color: #F5EDE8; }
.about-hero__lead, .about-meta-date { color: rgba(245, 237, 232, 0.8); }
.about-hero .btn-outline { color: var(--gold-light); border-color: rgba(227, 194, 138, 0.6); }
.about-hero .btn-outline:hover { background: var(--gold-light); border-color: var(--gold-light); color: #000; }
.about-hero .btn-primary { background: var(--gold-gradient); border-color: var(--gold); color: #000; }

/* Google sign-in button: centred under the form heading */
.google-signin-wrap { display: flex; justify-content: center; margin: 4px 0; min-height: 44px; }

/* ==========================================================================
   9. Home hero carousel — full-bleed scenes, fills one screen below the header + promo bar
   ========================================================================== */
.nb-heroc {
  /* Visible screen minus the fixed header and the 40px promo bar (svh = stable on mobile browsers). */
  --nb-hero-h: calc(100vh - var(--header-height) - 40px);
  position: relative;
  height: var(--nb-hero-h);
  min-height: 540px;
  max-height: 900px;
  overflow: hidden;
  background: #070605;
  color: #F5EDE8;
  isolation: isolate;
}
@supports (height: 100svh) {
  .nb-heroc { --nb-hero-h: calc(100svh - var(--header-height) - 40px); }
}
.nb-heroc__viewport { position: absolute; inset: 0; touch-action: pan-y; }
.nb-heroc__viewport.is-dragging { cursor: grabbing; user-select: none; }

/* Slides are stacked and cross-fade. */
.nb-heroc__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease-out), visibility 0s linear 1s;
}
.nb-heroc__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease-out), visibility 0s; z-index: 1; }

/* Background scene with a slow push-in. */
.nb-heroc__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transform: scale(1.08);
  transition: transform 9s cubic-bezier(0.22, 1, 0.36, 1);
}
.nb-heroc__slide.is-active .nb-heroc__bg { transform: scale(1); }
/* Extra shade on the left keeps the copy legible on any screen ratio. */
.nb-heroc__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 3, 2, 0.78) 0%, rgba(4, 3, 2, 0.45) 34%, rgba(4, 3, 2, 0) 58%);
  pointer-events: none;
}

/* --- Copy --- */
.nb-heroc__copy {
  width: 100%;
  max-width: calc(var(--container-max) + var(--page-padding) * 2);
  margin: 0 auto;
  padding: 0 max(var(--page-padding), 9vw) 40px;
}
.nb-heroc__copy > * {
  max-width: 600px;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
}
.nb-heroc__slide.is-active .nb-heroc__copy > * { opacity: 1; transform: none; }
.nb-heroc__slide.is-active .nb-heroc__copy > :nth-child(1) { transition-delay: 0.2s; }
.nb-heroc__slide.is-active .nb-heroc__copy > :nth-child(2) { transition-delay: 0.35s; }
.nb-heroc__slide.is-active .nb-heroc__copy > :nth-child(3) { transition-delay: 0.5s; }
.nb-heroc__slide.is-active .nb-heroc__copy > :nth-child(4) { transition-delay: 0.65s; }

.nb-heroc__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.6rem, min(5.6vw, 10vh), 5.6rem);
  line-height: 1;
  letter-spacing: -0.012em;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.nb-heroc__title em {
  display: block;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #E9CB8B 0%, #C9974F 45%, #F0D79C 70%, #B8864A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  padding-bottom: 0.08em;
}
.nb-heroc__lead {
  margin: clamp(14px, 2.4vh, 22px) 0 0;
  max-width: 470px;
  font-size: clamp(0.95rem, 1.05vw, 1.06rem);
  line-height: 1.7;
  color: rgba(245, 237, 232, 0.8);
}

/* Clover-shaped colour swatches */
.nb-heroc__swatches { display: flex; flex-wrap: wrap; gap: 14px; margin: clamp(18px, 3vh, 28px) 0 0; padding: 0; list-style: none; }
.nb-heroc__swatches a { display: block; width: 46px; height: 46px; color: var(--sw); transition: transform 0.3s var(--ease-out); }
.nb-heroc__swatches svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: #D9B26A;
  stroke-width: 2.2;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}
.nb-heroc__swatches a:hover,
.nb-heroc__swatches a:focus-visible { transform: translateY(-4px) rotate(12deg) scale(1.06); }

/* Fact chips */
.nb-heroc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(18px, 3vh, 28px) 0 0; padding: 0; list-style: none; }
.nb-heroc__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(217, 178, 106, 0.4);
  background: rgba(10, 8, 6, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #F5EDE8;
}
.nb-heroc__chips i { color: #E3C28A; }

/* Buttons: gold block + gold-outlined ghost, both with an arrow */
.nb-heroc__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(22px, 3.8vh, 36px); }
.nb-heroc__copy > .nb-heroc__actions { max-width: 760px; }
.nb-heroc__btn-primary,
.nb-heroc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 34px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background-position 0.5s var(--ease-out), background-color 0.25s, color 0.25s;
}
.nb-heroc__btn-primary {
  color: #1A1208;
  background: linear-gradient(100deg, #C9A060 0%, #EAD09A 48%, #C79A55 100%);
  background-size: 180% 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.nb-heroc__btn-primary:hover { color: #1A1208; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45); }
.nb-heroc__btn-secondary { color: #FFFFFF; border: 1px solid #C9A060; background: rgba(0, 0, 0, 0.18); }
.nb-heroc__btn-secondary:hover { color: #1A1208; background-color: #E3C28A; transform: translateY(-2px); }
.nb-heroc__btn-primary .fa-arrow-right,
.nb-heroc__btn-secondary .fa-arrow-right { font-size: 0.8rem; transition: transform 0.25s var(--ease-out); }
.nb-heroc__btn-primary:hover .fa-arrow-right,
.nb-heroc__btn-secondary:hover .fa-arrow-right { transform: translateX(4px); }

/* --- Round arrows at the sides --- */
.nb-heroc__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-top: -32px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(10, 8, 6, 0.3);
  color: #FFFFFF;
  font-size: 1.05rem;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}
.nb-heroc__arrow--prev { left: clamp(14px, 1.6vw, 32px); }
.nb-heroc__arrow--next { right: clamp(14px, 1.6vw, 32px); background: rgba(10, 8, 6, 0.75); }
.nb-heroc__arrow:hover { background: #E3C28A; border-color: #E3C28A; color: #1A1208; transform: scale(1.06); }

/* --- Dot indicators, bottom centre --- */
.nb-heroc__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3.4vh, 30px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 22px;
  transform: translateX(-50%);
}
.nb-heroc__dot {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(205, 200, 195, 0.6);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.nb-heroc__dot::after { content: ""; position: absolute; inset: -10px; }   /* larger tap target */
.nb-heroc__dot:hover { background: #FFFFFF; }
.nb-heroc__dot.is-active { background: #D4A85E; transform: scale(1.15); }
.nb-heroc__pause {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.6rem;
  cursor: pointer;
}
.nb-heroc__pause:hover { border-color: #E3C28A; color: #E3C28A; }
.nb-heroc :focus-visible { outline: 2px solid #E3C28A; outline-offset: 3px; }

/* --- Phones & small tablets: scene behind, copy at the bottom over a shade --- */
@media (max-width: 899px) {
  .nb-heroc {
    /* Also leave room for the fixed bottom navigation bar on phones. */
    --nb-hero-h: calc(100vh - var(--header-height) - 40px - 66px);
    min-height: 520px;
  }
  @supports (height: 100svh) {
    .nb-heroc { --nb-hero-h: calc(100svh - var(--header-height) - 40px - 66px - env(safe-area-inset-bottom)); }
  }
  /* Scene fills the top half and fades into black; the copy sits on the dark area below. */
  .nb-heroc__slide { align-items: flex-end; }
  .nb-heroc__bg { inset: 0 0 auto 0; height: 58%; object-position: 73% 38%; }
  .nb-heroc__slide::before {
    background: linear-gradient(180deg, rgba(7, 6, 5, 0) 0%, rgba(7, 6, 5, 0) 36%, rgba(7, 6, 5, 0.88) 52%, #070605 60%);
  }
  .nb-heroc__copy { padding: 0 var(--page-padding) 56px; }
  .nb-heroc__title { font-size: clamp(2.1rem, 9.6vw, 3rem); }
  .nb-heroc__lead { margin-top: 10px; font-size: 0.9rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .nb-heroc__swatches { gap: 10px; margin-top: 14px; }
  .nb-heroc__swatches a { width: 34px; height: 34px; }
  .nb-heroc__chips { margin-top: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nb-heroc__chips::-webkit-scrollbar { display: none; }
  .nb-heroc__chips li { flex: none; padding: 6px 11px; font-size: 0.7rem; }
  .nb-heroc__actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 16px; }
  .nb-heroc__btn-primary { flex: none; min-height: 48px; padding: 0 18px; font-size: 0.72rem; letter-spacing: 0.14em; }
  /* On phones the secondary action becomes a slim text link beside the main button. */
  .nb-heroc__btn-secondary { min-height: 0; padding: 2px 0 4px; border: 0; border-bottom: 1px solid #C9A060; background: none; font-size: 0.68rem; letter-spacing: 0.14em; }
  .nb-heroc__btn-secondary .fa-arrow-right { font-size: 0.62rem; }
  .nb-heroc__bg { height: 54%; }
  .nb-heroc__slide::before { background: linear-gradient(180deg, rgba(7, 6, 5, 0) 0%, rgba(7, 6, 5, 0) 32%, rgba(7, 6, 5, 0.88) 48%, #070605 55%); }
  .nb-heroc__arrow { display: none; }   /* swipe on touch screens */
  .nb-heroc__dots { bottom: 18px; gap: 16px; }
  .nb-heroc__dot { width: 10px; height: 10px; }
}
/* Short screens: drop the secondary copy first so everything still fits on one screen. */
@media (max-width: 899px) and (max-height: 720px) {
  .nb-heroc__lead { display: none; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .nb-heroc__chips { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nb-heroc__slide, .nb-heroc__copy > *, .nb-heroc__bg { transition: opacity 0.2s !important; transform: none !important; }
}
