/* =========================================================
   PRODUCTS & HERO SLIDER — products.css  DEFINITIVE
   Class names match index.php exactly:
   .hs-slides / .hs-slide / .active / .hs-slide__bg /
   .hs-slide__photo / .hs-slide__gradient / .hs-slide__content
   ========================================================= */

/* =====================================================
   HERO SLIDER
   ===================================================== */

/* Outer section — full viewport, dark background */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  background: #0f0c09;          /* dark base shows while images load */
}

/* Container that holds all absolutely-positioned slides */
.hs-slides {
  position: absolute;
  inset: 0;                     /* covers hero-slider fully */
  width: 100%;
  height: 100%;
}

/* ---- EACH SLIDE ---- */
.hs-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;                   /* hidden by default */
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
}

/* Active slide = visible */
.hs-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* ---- BACKGROUND STACK ---- */
.hs-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* THE HERO PHOTO — this is what shows your uploaded images */
.hs-slide__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: transform 9s ease;
}
/* Ken Burns slow zoom on active slide */
.hs-slide.active .hs-slide__photo {
  transform: scale(1.05);
}

/* No overlay — photo shows at full clarity, no shading */
.hs-slide__gradient {
  display: none;
}

/* ---- SLIDE TEXT CONTENT ---- */
/* Text removed from hero — photo shows clean with no captions */
.hs-slide__content {
  display: none;
}

/* All text sits in this max-width container */
.hs-label,
.hs-heading,
.hs-sub,
.hs-ctas {
  max-width: 1240px;
  /* Horizontal padding handled by .hs-slide__content pseudo-layout */
}

/* Inner content wrapper for padding */
.hs-slide__content > * {
  width: 100%;
}

/* We use a wrapper approach — all children of .hs-slide__content */
.hs-slide__content {
  padding: var(--nav-h, 72px) 48px 0;
}

.hs-label {
  display: block;
  font-family: var(--ff-s, 'Tenor Sans', sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold, #b8965a);
  margin-bottom: 1.8rem;
  /* Fade-in when slide activates */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}
.hs-heading {
  font-family: var(--ff-d, 'Cormorant Garamond', Georgia, serif);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.06;
  color: #f0ebe0;
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease 0.45s, transform 0.85s ease 0.45s;
}
.hs-heading em {
  font-style: italic;
  color: var(--gold-light, #d4b07a);
  display: block;
}
.hs-sub {
  font-family: var(--ff-b, 'EB Garamond', Georgia, serif);
  font-size: 1.1rem;
  line-height: 1.82;
  color: rgba(200, 191, 176, 0.82);
  max-width: 440px;
  margin-bottom: 2.6rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.6s, transform 0.7s ease 0.6s;
}
.hs-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease 0.75s, transform 0.7s ease 0.75s;
}

/* Trigger text animation when slide becomes active */
.hs-slide.active .hs-label,
.hs-slide.active .hs-heading,
.hs-slide.active .hs-sub,
.hs-slide.active .hs-ctas {
  opacity: 1;
  transform: translateY(0);
}

/* ---- ARROWS ---- */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(240, 235, 224, 0.8);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hs-arrow:hover {
  background: rgba(184, 150, 90, 0.28);
  border-color: var(--gold, #b8965a);
  color: var(--gold, #b8965a);
  transform: translateY(-50%) scale(1.1);
}
.hs-arrow--prev { left: 24px; }
.hs-arrow--next { right: 24px; }

/* ---- DOTS ---- */
.hs-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 20;
}
.hs-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: rgba(240, 235, 224, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s ease, background 0.35s ease, border-radius 0.35s ease;
}
.hs-dot.active {
  width: 26px;
  background: var(--gold, #b8965a);
  border-radius: 4px;
}

/* ---- COUNTER ---- */
.hs-counter {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hs-counter__cur {
  font-family: var(--ff-d, 'Cormorant Garamond', serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--gold, #b8965a);
  line-height: 1;
}
.hs-counter__bar {
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(184, 150, 90, 0.35);
}
.hs-counter__tot {
  font-family: var(--ff-s, 'Tenor Sans', sans-serif);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(200, 191, 176, 0.4);
}

/* ---- SCROLL HINT ---- */
.hs-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  margin-left: -48px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}
.hs-scroll span {
  font-family: var(--ff-s, 'Tenor Sans', sans-serif);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(200, 191, 176, 0.6);
}
.hs-scroll__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold, #b8965a), transparent);
  animation: hsPulse 2s ease-in-out infinite;
}
@keyframes hsPulse {
  0%   { transform: scaleY(0); transform-origin: top;    }
  50%  { transform: scaleY(1); transform-origin: top;    }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =====================================================
   GALLERY / PRINTS PAGE HERO
   ===================================================== */
.gh-hero { position: relative; padding: 180px 0 90px; overflow: hidden; }
.gh-hero__bg      { position: absolute; inset: 0; background: var(--charcoal2, #181410); }
.gh-hero__img     { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; }
.gh-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,8,6,.55) 0%, rgba(10,8,6,.3) 100%); }
.gh-hero .container   { position: relative; z-index: 1; }
.gh-breadcrumb        { display: flex; align-items: center; gap: 8px; font-family: var(--ff-s); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(184,150,90,.6); margin-bottom: 28px; }
.gh-breadcrumb a      { color: rgba(184,150,90,.5); transition: color .2s; }
.gh-breadcrumb a:hover{ color: var(--gold); }
.gh-breadcrumb span:last-child { color: var(--gold); }
.gh-hero__title { font-family: var(--ff-d); font-size: clamp(3rem,6.5vw,5.5rem); font-weight: 300; color: #f0ebe0; margin-bottom: 1rem; }
.gh-hero__sub   { font-size: 1.05rem; color: rgba(200,191,176,.75); max-width: 380px; margin-bottom: 36px; line-height: 1.7; }
.gh-hero__stats { display: flex; align-items: center; gap: 20px; }
.gh-stat span   { display: block; font-family: var(--ff-d); font-size: 2rem; font-weight: 300; color: var(--gold); line-height: 1; }
.gh-stat small  { font-family: var(--ff-s); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.gh-stat__div   { width: 1px; height: 32px; background: rgba(184,150,90,.2); }

/* =====================================================
   FILTER BAR
   ===================================================== */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--parchment); }
.filter-pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-s); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; padding: 9px 18px; border: 1px solid var(--parchment); color: var(--stone); transition: all .22s; cursor: pointer; }
.filter-pill:hover { border-color: var(--gold); color: var(--gold); }
.filter-pill.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.filter-pill__count { font-family: var(--ff-d); font-size: .8rem; color: var(--gold); font-style: italic; }
.filter-pill.active .filter-pill__count { color: var(--gold-light); }

/* =====================================================
   PRODUCT GRID & CARDS
   ===================================================== */
.prod-grid         { display: grid; gap: 24px; }
.prod-grid--3      { grid-template-columns: repeat(3, 1fr); }
.prod-grid--4      { grid-template-columns: repeat(4, 1fr); }

.products-page     { padding: 56px 0 100px; background: var(--cream); }
.gallery-count     { font-family: var(--ff-s); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-bottom: 32px; }

.gallery-empty     { text-align: center; padding: 100px 0; }
.gallery-empty__icon { font-size: 3rem; color: var(--parchment); margin-bottom: 20px; }
.gallery-empty h3  { font-family: var(--ff-d); font-size: 1.5rem; font-weight: 300; color: var(--stone); margin-bottom: 20px; }

/* PRODUCT CARD — shadow always visible */
.prod-card {
  display: block;
  background: var(--white, #fdfaf5);
  text-decoration: none;
  color: var(--ink);
  /* Permanent resting shadow */
  box-shadow:
    0 2px 8px  rgba(30, 22, 14, 0.08),
    0 6px 22px rgba(30, 22, 14, 0.07);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
              box-shadow 0.35s ease;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 6px 18px  rgba(30, 22, 14, 0.12),
    0 22px 56px rgba(30, 22, 14, 0.14);
}

/* IMAGE */
.prod-card__media {
  position: relative;
  overflow: hidden;
  background: var(--parchment);
  aspect-ratio: 1 / 1;
}
.prod-card__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.prod-card:hover .prod-card__img { transform: scale(1.1); }

.prod-card__placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--gold, #b8965a) 0%, var(--charcoal, #1e1a16) 100%);
  display: flex; align-items: center; justify-content: center;
}
.prod-card__initials {
  font-family: var(--ff-d, 'Cormorant Garamond', serif);
  font-size: 3rem; font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
}

/* CARD INFO */
.prod-card__info  { padding: 15px 15px 19px; }
.prod-card__title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.prod-card__info h3   { font-family: var(--ff-d); font-size: 1.05rem; font-weight: 400; color: var(--charcoal); line-height: 1.2; }
.prod-card__num       { font-family: var(--ff-s); font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.prod-card__meta      { display: block; font-family: var(--ff-s); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.prod-card__price     { display: block; font-family: var(--ff-d); font-size: 1rem; color: var(--gold-dark, #987040); font-style: italic; }
.prod-card__variants  { font-family: var(--ff-s); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); opacity: .8; }

/* CTA BLOCK */
.gallery-cta-block { border-top: 1px solid var(--parchment); padding-top: 80px; margin-top: 60px; }
.gallery-cta-block__inner { display: grid; grid-template-columns: 2px 1fr; gap: 48px; align-items: center; max-width: 860px; }
.gallery-cta-block__line { width: 2px; height: 160px; background: linear-gradient(to bottom, var(--gold), transparent); }
.gallery-cta-block__body h2 { margin-bottom: 1rem; }
.gallery-cta-block__body p  { margin-bottom: 2rem; }
.gallery-cta-block__btns    { display: flex; gap: 14px; flex-wrap: wrap; }

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */
.pd-page { padding-top: calc(var(--nav-h, 72px) + 36px); padding-bottom: 80px; background: var(--cream); }
.pd-breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--ff-s); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-bottom: 44px; }
.pd-breadcrumb a { color: var(--stone); transition: color .2s; }
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-breadcrumb span:last-child { color: var(--charcoal); }
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 80px; }
.pd-main-wrap { position: relative; overflow: hidden; background: var(--parchment); aspect-ratio: 1/1; cursor: zoom-in; }
.pd-main-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pd-main-wrap:hover .pd-main-photo { transform: scale(1.07); }
.pd-placeholder-lg { width: 100%; aspect-ratio: 1/1; background: linear-gradient(135deg,var(--gold),var(--charcoal)); display: flex; align-items: center; justify-content: center; }
.pd-placeholder-lg span { font-family: var(--ff-d); font-size: 5rem; color: rgba(255,255,255,.15); }
.pd-thumb-strip { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pd-thumb { width: 76px; height: 76px; overflow: hidden; border: 2px solid transparent; background: var(--parchment); cursor: pointer; padding: 0; transition: border-color .2s; flex-shrink: 0; }
.pd-thumb.active { border-color: var(--gold); }
.pd-thumb img    { width: 100%; height: 100%; object-fit: cover; }
.pd-product-num   { display: block; font-family: var(--ff-s); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pd-product-title { font-family: var(--ff-d); font-size: clamp(1.9rem,3.5vw,3rem); font-weight: 300; color: var(--charcoal); line-height: 1.08; margin-bottom: 1.2rem; }
.pd-product-desc  { font-size: 1rem; line-height: 1.8; color: var(--stone); margin-bottom: 1.5rem; }
.pd-specs-block { border-top: 1px solid var(--parchment); border-bottom: 1px solid var(--parchment); margin-bottom: 1.8rem; }
.pd-spec-row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(200,191,176,.3); }
.pd-spec-row:last-child { border-bottom: none; }
.pd-spec-key { font-family: var(--ff-s); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.pd-spec-val { font-family: var(--ff-b); font-size: .95rem; color: var(--charcoal); }
.pd-base-price { font-family: var(--ff-d); font-size: 1.4rem; color: var(--charcoal); margin-bottom: 1.5rem; }
.pd-base-price strong { color: var(--gold-dark); }
.pd-mrp { font-size: 1rem; color: var(--stone); margin-left: 10px; opacity: .6; }
.pd-variants-block { margin-bottom: 2rem; }
.pd-variants-title { font-family: var(--ff-d); font-size: 1.1rem; font-weight: 400; color: var(--charcoal); margin-bottom: 12px; }
.pd-variants-list  { display: flex; flex-direction: column; gap: 8px; }
.pd-variant-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--parchment); background: var(--white); transition: border-color .22s; }
.pd-variant-card:hover { border-color: var(--gold); }
.pd-variant-info { flex: 1; }
.pd-variant-label  { display: block; font-family: var(--ff-b); font-size: .95rem; color: var(--charcoal); margin-bottom: 3px; }
.pd-variant-pricing { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-variant-price { font-family: var(--ff-d); font-size: 1.05rem; color: var(--gold-dark); font-style: italic; }
.pd-variant-frame { font-family: var(--ff-s); font-size: .62rem; color: var(--stone); }
.pd-variant-mrp   { font-size: .85rem; color: var(--stone); opacity: .6; text-decoration: line-through; }
.pd-variant-buy-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-s); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; padding: 10px 20px; background: var(--charcoal); color: var(--cream); border: 1px solid var(--charcoal); white-space: nowrap; flex-shrink: 0; transition: background .25s; }
.pd-variant-buy-btn:hover { background: var(--gold); border-color: var(--gold); color: #1a1208; }
.pd-variant-enquire-btn { font-family: var(--ff-s); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; padding: 9px 18px; border: 1px solid var(--parchment); color: var(--stone); white-space: nowrap; flex-shrink: 0; transition: border-color .2s, color .2s; }
.pd-variant-enquire-btn:hover { border-color: var(--gold); color: var(--gold); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.pd-action-main { flex: 1; text-align: center; min-width: 200px; }
.pd-trust { display: flex; flex-direction: column; gap: 5px; padding-top: 1rem; border-top: 1px solid var(--parchment); }
.pd-trust-item { font-family: var(--ff-s); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.pd-trust-item::before { content: '✓ '; color: var(--gold); }
.pd-related { border-top: 1px solid var(--parchment); padding-top: 64px; }
.pd-related-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; gap: 16px; }
.pd-related h2 { margin-bottom: 0; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .prod-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .prod-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pd-layout    { grid-template-columns: 1fr; gap: 40px; }
  .gallery-cta-block__inner { grid-template-columns: 1fr; }
  .gallery-cta-block__line  { display: none; }
}
@media (max-width: 640px) {
  .prod-grid--3,
  .prod-grid--4 { grid-template-columns: 1fr; }
  .hs-slide__content { padding-left: 24px; padding-right: 24px; }
  .hs-arrow--prev { left: 10px; }
  .hs-arrow--next { right: 10px; }
  .hs-arrow  { width: 40px; height: 40px; }
  .hs-counter { right: 16px; }
  .gh-hero    { padding: 140px 0 56px; }
}
