/* =====================================================
   HERO FULLSCREEN CAROUSEL - Premium Design (80vh)
   ===================================================== */
.hero-fullscreen{
  position:relative;
  width:100vw;
  height:80vh;
  min-height:500px;
  overflow:hidden;
  display:block;
  z-index:800;
  margin:0;
}

/* Slides are stacked; JS toggles state classes in a strict sequence */
.hero-fullscreen .hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1.4s ease-out;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  pointer-events:none;
  z-index:1;
}
.hero-fullscreen .hero-slide.is-active{
  opacity:1;
  pointer-events:auto;
  z-index:10;
}

/* Step 1 requirement: show one static image even before JS runs */
.hero-fullscreen:not(.hero-ready) .hero-slide:first-child{opacity:1;pointer-events:auto}

/* Image must cover and stay centered */
.hero-fullscreen .hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}

/* Subtle dark overlay always present, slightly darker during text */
.hero-fullscreen .hero-slide::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
  opacity:0.7;
  transition:opacity .5s ease-out;
  pointer-events:none;
}
.hero-fullscreen .hero-slide.is-text::before{
  opacity:1;
}

/* === TEXT RISE ANIMATION (unified for hero elements) === */
@keyframes textRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero content block - positioned left-aligned like Eastern Edition reference */
.hero-fullscreen .hero-content{
  position:absolute;
  top:30%;
  left:8%;
  transform:translateY(-50%);
  text-align:left;
  max-width:min(85vw, 600px);
  pointer-events:none;
  z-index:20;
}
.hero-fullscreen .hero-slide.is-text .hero-content{
  pointer-events:auto;
}

/* Product/Collection title - English only, uppercase, elegant, LARGER */
.hero-fullscreen .hero-title{
  font-family: var(--font-serif);
  font-weight:400;
  color:#fff;
  font-size:clamp(32px, 5vw, 56px);
  letter-spacing:0.10em;
  text-transform:uppercase;
  line-height:1.2;
  margin:0 0 16px 0;
  text-shadow:0 4px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(24px);
}
.hero-fullscreen .hero-slide.is-text .hero-title{
  animation: textRise 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0s;
}

/* Short description - multilingual, elegant thin font, LARGER */
.hero-fullscreen .hero-description{
  font-family: var(--font-sans);
  font-weight:300;
  color:rgba(255,255,255,0.92);
  font-size:clamp(16px, 2.2vw, 22px);
  letter-spacing:0.04em;
  line-height:1.6;
  margin:0 0 32px 0;
  text-shadow:0 2px 12px rgba(0,0,0,0.3);
  max-width:40vw; /* Desktop: limit width for readability */
  opacity: 0;
  transform: translateY(24px);
}
.hero-fullscreen .hero-slide.is-text .hero-description{
  animation: textRise 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.2s;
}

/* CTA Button - absolutely positioned, centered, lower in hero */
.hero-fullscreen .hero-cta{
  position:absolute;
  bottom:120px; /* Above nav arrows */
  left:50%;
  transform:translateX(-50%) translateY(24px);
  display:inline-block;
  width:270px;
  max-width:85vw;
  padding:14px 24px;
  border:1px solid rgba(255,255,255,0.7);
  background:transparent;
  color:#fff;
  font-family: var(--font-sans);
  font-size:0.85rem;
  font-weight:500;
  letter-spacing:0.06em;
  text-decoration:none;
  text-transform:uppercase;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  transition:background .3s ease-out, border-color .3s ease-out;
  cursor:pointer;
  box-sizing:content-box;
  opacity: 0;
}
.hero-fullscreen .hero-slide.is-text .hero-cta{
  animation: textRiseCta 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.2s;
}
@keyframes textRiseCta {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.hero-fullscreen .hero-cta:hover{
  background:rgba(255,255,255,0.15);
  border-color:#fff;
}
/* Desktop: larger CTA button */
@media (min-width:768px){
  .hero-fullscreen .hero-cta{
    width:340px;
    padding:16px 32px;
    font-size:0.9rem;
    bottom:130px;
  }
  .category-card{
    margin-right: 5px;
    margin-left: 5px;
  }
}

/* Hero navigation - arrows and indicator below CTA */
.hero-nav{
  position:absolute;
  bottom:48px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:24px;
  z-index:30;
}
.hero-nav__arrow{
  background:transparent;
  border:none;
  color:#fff;
  font-size:1.4rem;
  padding:8px 12px;
  cursor:pointer;
  opacity:0.7;
  transition:opacity .3s ease;
}
.hero-nav__arrow:hover{
  opacity:1;
}
.hero-nav__arrow svg{
  width:28px;
  height:28px;
  stroke:currentColor;
  stroke-width:1.5;
  fill:none;
}
.hero-nav__indicator{
  font-family: var(--font-sans);
  font-size:0.9rem;
  color:rgba(255,255,255,0.8);
  letter-spacing:0.1em;
  min-width:60px;
  text-align:center;
}

/* LEGACY hero-caption styles (for backwards compatibility, hidden) */
.hero-fullscreen .hero-caption{display:none}

/* Responsive hero adjustments - mobile left-aligned */
@media (max-width:768px){
  .hero-fullscreen{
    height:85vh;
    min-height:450px;
  }
  .hero-fullscreen .hero-content{
    left:5%;
    right:5%;
    max-width:none;
    padding:0;
  }
  .hero-fullscreen .hero-title{
    font-size:clamp(24px, 6vw, 32px);
    letter-spacing:0.06em;
  }
  .hero-fullscreen .hero-description{
    font-size:15px;
    max-width:60vw; /* Mobile: wider but still constrained */
  }
  .hero-fullscreen .hero-cta{
    bottom:90px; /* Adjusted for mobile nav position */
  }
  .hero-nav{
    bottom:24px;
    gap:16px;
  }
}
@media (min-width:1280px){
  .product-layout{max-width:1280px}
}

/* Unified Product Card component styles */
.product-card{display:block;background:var(--panel);overflow:hidden;text-decoration:none;color:inherit}
.product-card__link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.product-card__image{width:100%;aspect-ratio:3/2;overflow:hidden;position:relative}
.product-card__image img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.06);transition:transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94)}

/* Product card overlay (hidden by default, revealed on animation) */
.product-card__overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding-bottom:28%;
  background:rgba(0,0,0,0);
  pointer-events:none;
  transition:background 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card__overlay-name{
  font-family:var(--font-serif);
  font-size:1.4rem;
  font-weight:500;
  color:#fff;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:0.08em;
  text-shadow:0 2px 12px rgba(0,0,0,0.4);
  margin:0;
  opacity:0;
  transform:translateY(16px);
  transition:opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card__overlay-more{
  font-family:var(--font-sans);
  font-size:0.85rem;
  font-weight:400;
  color:rgba(255,255,255,0.9);
  /* text-transform:uppercase; */
  letter-spacing:0.06em;
  margin-top:0;
  opacity:0;
  transform:translateY(12px);
  transition:opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
}

/* Product card content (below image) - initially hidden for animation */
.product-card__description{
  margin:12px 12px 8px 12px;
  color:#555;
  font-family:var(--font-sans);
  font-size:0.95rem;
  line-height:1.4;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  line-clamp:3;
  opacity:0;
  transform:translateY(12px);
  transition:opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s;
}
.product-card__price{
  margin:0 12px 12px 12px;
  color:#555;
  font-family:var(--font-sans);
  font-size:0.95rem;
  font-weight:400;
  line-height:1.4;
  opacity:0;
  transform:translateY(12px);
  transition:opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s;
}
.product-card__price s{
  color:#888;
  margin-right:6px;
}

/* Product card animated state (triggered by JS IntersectionObserver) */
.product-card.is-revealed .product-card__image img{
  transform:scale(1);
}
.product-card.is-revealed .product-card__overlay{
  background:rgba(0,0,0,0.25);
}
.product-card.is-revealed .product-card__overlay-name{
  opacity:1;
  transform:translateY(0);
}
.product-card.is-revealed .product-card__overlay-more{
  opacity:1;
  transform:translateY(0);
}
.product-card.is-revealed .product-card__description{
  opacity:1;
  transform:translateY(0);
}
.product-card.is-revealed .product-card__price{
  opacity:1;
  transform:translateY(0);
}

/* Responsive: card adapts to parent grid. On narrow screens ensure full width */
@media (max-width:768px){
  .product-card{width:100%;}
  .product-card__overlay-name{font-size:1.2rem}
}

/* Unified Category Card styles */
.category-grid-unified{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  /* gap:20px; */
  margin-bottom:0;
  /* padding-bottom: 40px; */
  background-image: linear-gradient(#5d4f3e, #d1c3b1);
}
.category-separator{
  height:48px;
  background:transparent;
  background-color: #5d4f3e;
  margin:0;
}
.category-card{
  display:block;
  /* background:var(--panel); */
  /* border-radius:12px; */
  overflow:hidden;
  box-shadow:var(--shadow);
  text-decoration:none;
  color:inherit;
  transition:transform .36s cubic-bezier(.2,.9,.2,1), box-shadow .36s ease;
  padding-top: 40px;
}
.category-card:hover{
  transform:translateY(-8px);
  box-shadow:0 22px 60px rgba(34,34,34,0.14);
}
.category-card__link{
  display:block;
  height:100%;
  color:inherit;
  text-decoration:none;
}
.category-card__image{
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
  position:relative;
}
.category-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s cubic-bezier(.2,.9,.2,1);
}
.category-card:hover .category-card__image img{
  transform:scale(1.05);
}
/* Dark overlay on hover */
.category-card__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0);
  transition:background .4s ease;
  pointer-events:none;
}
.category-card:hover .category-card__overlay{
  background:rgba(0,0,0,0.25);
}
/* Category name - soft vertical reveal on scroll (one-time animation) */
.category-card__name {
  position: absolute;
  left: 0;
  right: 0;
  top: 15%;
  text-align: center;
  font-weight: 100;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  pointer-events: none;
  padding: 0 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
}
.category-card.is-visible .category-card__name {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive: Desktop ≥1200px - 4 cards per row */
@media (min-width:1200px){
  .category-grid-unified{
    grid-template-columns:repeat(4, 1fr);
  }
}
/* Tablet 768px–1199px - 2-3 cards per row */
@media (min-width:768px) and (max-width:1199px){
  .category-grid-unified{
    grid-template-columns:repeat(3, 1fr);
    /* gap:16px; */
  }
  .category-separator{height:36px; background-color: #5d4f3e;}
}
@media (min-width:768px) and (max-width:900px){
  .category-grid-unified{
    grid-template-columns:repeat(2, 1fr);
  }
}
/* Mobile <768px - 1 card per row, always show name */
@media (max-width:767px){
  .category-grid-unified{
    grid-template-columns:1fr;
    /* gap:14px; */
  }
  .category-separator{height:28px; background-color: #5d4f3e;}
  .category-card__name {
    opacity: 0;
    transform: translateY(8px);
  }
  .category-card__overlay{
    background:rgba(0,0,0,0.18);
  }
  /* Use :active for touch feedback on mobile */
  .category-card:active .category-card__image img{
    transform:scale(1.05);
  }
  .category-card:active .category-card__overlay{
    background:rgba(0,0,0,0.3);
  }
}

/* =====================================================
   GROUPS SHOWCASE SECTION - Horizontal Carousel
   ===================================================== */
.groups-showcase{
  background:var(--bg);
  padding:48px 0 56px;
}
.groups-showcase__header{
  max-width:1200px;
  margin:0 auto 32px;
  padding:0 0;
}
.groups-showcase__title{
  font-family: var(--font-serif);
  font-size:clamp(1.4rem, 3vw, 2rem);
  font-weight:600;
  color:var(--accent);
  letter-spacing:0.04em;
  margin:0 0 12px 0;
  text-transform:uppercase;
}
.groups-showcase__subtitle{
  font-family: var(--font-sans);
  font-size:clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight:300;
  color:#555;
  line-height:1.6;
  margin:0;
}
.groups-showcase__track{
  display:flex;
  gap:5px;
  padding:0 20px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.groups-showcase__track::-webkit-scrollbar{
  display:none;
}

/* Group Card - clean, minimal, premium, fixed size */
.group-card{
  flex:0 0 auto;
  width:300px;
  max-width:300px;
  min-width:300px;
  scroll-snap-align:start;
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  transition:transform .3s ease;
}
.group-card:hover{
  transform:translateY(-4px);
}
.group-card__image{
  width:100%;
  aspect-ratio: 1 / 1.1;
  overflow:hidden;
  background:#e8e5e0;
}
.group-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .3s ease;
}
.group-card:hover .group-card__image img{
  transform:scale(1.03);
}
.group-card__name{
  display: none;
}

/* Responsive adjustments */
@media (max-width:768px){
  .groups-showcase{
    padding:36px 20px 44px;
  }
  .groups-showcase__header{
    margin-bottom:24px;
  }
  .group-card{
    width: 300px;
    min-width: 300px;
    max-width: 300px;
  }
}
@media (min-width:1200px){
  .groups-showcase__track{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
  }
}

/* =====================================================
   COLLECTIONS SHOWCASE - Editorial Black Section
   ===================================================== */
.collections-showcase {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #0a0a0a;
  color: #fff;
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
  margin-bottom:0px;
}
.collections-showcase__header {
  padding: 0 40px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.collections-showcase__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px 0;
}
.collections-showcase__subtitle {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.collections-showcase__subtitle:hover {
  color: #fff;
}

/* Carousel container */
.collections-showcase__carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
}
.collections-showcase__carousel:active {
  cursor: grabbing;
}
.collections-showcase__track {
  display: flex;
  gap: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.collections-showcase__slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  text-decoration: none;
}
.collections-showcase__slide img {
  width: 100%;
  height: 55vh;
  min-height: 360px;
  max-height: 600px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Progress indicator */
.collections-showcase__progress {
  width: 100%;
  max-width: 1400px;
  margin: 24px auto 0;
  padding: 0 40px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  position: relative;
}
.collections-showcase__progress-bar {
  position: absolute;
  left: 40px;
  top: 0;
  height: 2px;
  background: #fff;
  width: 10%;
  transition: width 0.5s ease;
}

/* Current collection name */
.collections-showcase__name-wrapper {
  max-width: 1400px;
  margin: 16px auto 0;
  padding: 0 40px;
  text-align: right;
}
.collections-showcase__current-name {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Responsive */
@media (max-width: 768px) {
  .collections-showcase {
    padding: 36px 0 44px;
  }
  .collections-showcase__header {
    padding: 0 20px 24px;
  }
  .collections-showcase__slide img {
    height: 45vh;
    min-height: 280px;
  }
  .collections-showcase__progress {
    padding: 0 20px;
  }
  .collections-showcase__progress-bar {
    left: 20px;
  }
  .collections-showcase__name-wrapper {
    padding: 0 20px;
  }
}

/* =====================================================
   VIDEO SHOWCASE SECTION - Autoplay on viewport entry
   Full visible video - no cropping, object-fit: contain
   ===================================================== */
.video-showcase {
  position: relative;
  width: 100%;
  background: #eeecea;
  /* Subtle vertical padding for visual breathing room */
  padding: 20px 0 28px;
}

.video-showcase__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.video-showcase__media {
  width: 100%;
  display: flex;
  justify-content: center;
}

.video-showcase__video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  /* Contain ensures full visibility, no cropping */
  object-fit: contain;
  /* Start hidden, fade in when loaded */
  opacity: 0;
  transition: opacity 0.8s ease;
}

.video-showcase__video.is-loaded {
  opacity: 1;
}

.video-showcase__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.video-showcase__title {
  /* font-family: var(--font-serif); */
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  /* text-transform: uppercase; */
}
