/* ==========================================================================
   HOMEPAGE — Hero, Benefits, Categories, Products, Testimonials, Stats, App
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Slider
   -------------------------------------------------------------------------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: clamp(420px, 60vw, 720px);
  background: var(--clr-primary-dark);
}

.hero-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.77,0,.175,1);
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.hero-slide.is-active .hero-slide__bg { transform: scale(1.04); }

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(107,39,55,.75) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}

.hero-slide__content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--container-max, 1440px);
  margin-inline: auto;
  padding-inline: var(--container-px, 1rem);
  display: flex;
  align-items: center;
}

.hero-slide__text {
  padding: var(--sp-8) 0;
  max-width: 580px;
  animation: fadeInUp .8s ease both;
}

@media (max-width: 767px) {
  .hero-slide__text { padding: var(--sp-5) 0 var(--sp-8); }
}

.hero-slide__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--clr-gold);
  margin-bottom: var(--sp-3);
}

.hero-slide__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: var(--sp-4);
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-slide__description {
  font-size: clamp(var(--fs-sm), 1.5vw, var(--fs-md));
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  margin-bottom: var(--sp-7);
  max-width: 480px;
}

.hero-slide__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Hero Nav */
.hero-slider__prev,
.hero-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: var(--clr-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.hero-slider__prev { left: var(--sp-4); }
.hero-slider__next { right: var(--sp-4); }

.hero-slider__prev:hover,
.hero-slider__next:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.hero-slider__prev svg,
.hero-slider__next svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; fill: none; }

/* Dots */
.hero-slider__dots {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--sp-2);
  z-index: 10;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.hero-slider__dot.is-active { background: var(--clr-gold); width: 24px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Benefits Bar
   -------------------------------------------------------------------------- */
.benefits-bar {
  background: var(--clr-white);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--clr-border-light);
}

.benefits-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: 1;
  justify-content: center;
}

.benefit-item__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--clr-cream) 0%, rgba(107,39,55,.08) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--clr-border-light);
}

.benefit-item__icon svg { width: 20px; height: 20px; stroke: var(--clr-primary); fill: none; stroke-width: 1.5; }
.benefit-item__title { font-size: var(--fs-sm); font-weight: 700; color: var(--clr-dark); }
.benefit-item__sub   { font-size: var(--fs-xs); color: var(--clr-text-muted); }

/* --------------------------------------------------------------------------
   Section Utilities
   -------------------------------------------------------------------------- */
.section { padding-block: var(--sp-12); }
.section--sm { padding-block: var(--sp-8); }

/* Section header — centered ornamental style */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: var(--sp-8);
  gap: var(--sp-4);
}

/* "View All" link floated to right absolutely */
.section-header .section-link {
  position: absolute;
  right: 0;
  bottom: 4px;
}

/* Centered section title with decorative lines on both sides */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--clr-dark);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  white-space: nowrap;
  margin: 0;
}

/* Decorative horizontal lines left and right of title */
.section-title::before,
.section-title::after {
  content: '';
  display: block;
  height: 1.5px;
  width: clamp(40px, 8vw, 100px);
  background: linear-gradient(to right, transparent, var(--clr-gold));
  flex-shrink: 0;
}

.section-title::after {
  background: linear-gradient(to left, transparent, var(--clr-gold));
}

/* Full-width ornamental title (inside section-header) */
.section-header .section-title {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* When used standalone (no section-header wrapper) */
.section-title--standalone {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.section-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap var(--transition-fast);
}

.section-link:hover { gap: var(--sp-2); }
.section-link::after { content: '→'; }

/* --------------------------------------------------------------------------
   Category Circles
   -------------------------------------------------------------------------- */
.category-circles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  justify-items: center;
  gap: var(--sp-4);
}

.category-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  max-width: 148px;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.category-circle:hover { transform: translateY(-4px); }

.category-circle__img-wrap {
  width: clamp(112px, 9.5vw, 138px);
  height: clamp(112px, 9.5vw, 138px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--clr-white);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  transition: all var(--transition-base);
  background: var(--clr-cream);
}

.category-circle:hover .category-circle__img-wrap {
  border-color: var(--clr-gold);
  box-shadow: 0 8px 28px rgba(107,39,55,.2);
}

.category-circle__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-circle__name { font-size: 12px; font-weight: 700; color: var(--clr-text); text-align: center; line-height: 1.3; }

/* --------------------------------------------------------------------------
   Products Grid
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-5);
}

/* Product Card */
.product-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--clr-cream);
}

.product-card__image-wrap > a {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-card__image,
.woocommerce .product-card__image-wrap img.product-card__image,
.woocommerce-page .product-card__image-wrap img.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}

.product-card:hover .product-card__image { transform: scale(1.06); }

.product-card__badges {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  z-index: 2;
}

/* Wishlist btn on card */
.wishlist-btn {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition-fast);
}

.wishlist-btn svg { width: 16px; height: 16px; stroke: var(--clr-text-muted); fill: none; stroke-width: 2; transition: all var(--transition-fast); }
.wishlist-btn:hover svg { stroke: #e11d48; }
.wishlist-btn.is-active svg { stroke: #e11d48; fill: #e11d48; }

/* Card body */
.product-card__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__cats { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--clr-gold-dark); margin-bottom: var(--sp-2); }

.product-card__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: var(--sp-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-card__name a { color: inherit; text-decoration: none; }
.product-card__name a:hover { color: var(--clr-primary); }

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 12px;
  margin-bottom: var(--sp-3);
}

.product-card__rating .stars { color: #f59e0b; }
.product-card__rating .count { color: var(--clr-text-muted); }

.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-top: auto;
}

.product-card__price { font-weight: 700; color: var(--clr-primary); font-size: var(--fs-base); }
.product-card__price del { color: var(--clr-text-muted); font-weight: 400; font-size: .85em; }
.product-card__price ins { text-decoration: none; }

.product-card__quick-add {
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: var(--sp-2) var(--sp-3);
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.product-card__quick-add:hover { background: var(--clr-primary-dark); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.6;
}

.badge--sale { background: #e11d48; color: var(--clr-white); }
.badge--new  { background: var(--clr-gold); color: var(--clr-dark); }
.badge--oos  { background: rgba(0,0,0,.55); color: var(--clr-white); }

/* --------------------------------------------------------------------------
   Fabrics Carousel
   -------------------------------------------------------------------------- */
.fabrics-carousel {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  scroll-behavior: smooth;
  padding-bottom: var(--sp-2);
}

.fabrics-carousel::-webkit-scrollbar { display: none; }
.fabrics-carousel.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.fabric-card {
  flex: 0 0 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: var(--clr-white);
  border: 1px solid var(--clr-border-light);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.fabric-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fabric-card__image { width: 100%; height: 130px; object-fit: cover; display: block; }
.fabric-card__body { padding: var(--sp-3) var(--sp-4); }
.fabric-card__name { font-weight: 600; font-size: var(--fs-sm); color: var(--clr-dark); margin-bottom: 2px; }
.fabric-card__price { font-size: var(--fs-xs); color: var(--clr-primary); font-weight: 700; }

/* --------------------------------------------------------------------------
   Stats Strip — Luxury Royal Glass Cards
   -------------------------------------------------------------------------- */
.stats-strip {
  background: linear-gradient(135deg, var(--clr-header-bg, #260A20) 0%, var(--clr-primary-dark, #4E1A27) 50%, var(--clr-primary, #6B2737) 100%);
  border-top: 2px solid rgba(201, 168, 76, 0.35);
  border-bottom: 2px solid rgba(201, 168, 76, 0.35);
  padding-block: var(--sp-10);
}

.stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-5);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: var(--radius-lg);
  color: var(--clr-white);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: var(--clr-gold);
  background: rgba(255, 255, 255, 0.1);
}

.stat-item__icon {
  width: 50px;
  height: 50px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--clr-gold-light, #E2C97A);
  fill: none;
  stroke-width: 1.7;
}

.stat-item__value {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--clr-white);
  letter-spacing: 0.01em;
}

.stat-item__label {
  font-size: 11px;
  color: var(--clr-gold-light, #E2C97A);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials { background: var(--clr-white); }

.testimonials__slider {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  gap: var(--sp-5);
  transition: transform .5s cubic-bezier(.77,0,.175,1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--sp-4));
  min-width: 280px;
}

.testimonial-card__inner {
  background: var(--clr-ivory);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  border: 1px solid var(--clr-border-light);
  height: 100%;
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card__inner:hover { border-color: var(--clr-gold-light); box-shadow: var(--shadow-md); }

.testimonial-card__quote {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-6);
  font-size: 5rem;
  line-height: 1;
  font-family: var(--font-serif);
  color: var(--clr-gold-light);
  opacity: .4;
}

.testimonial-card__stars { color: #f59e0b; font-size: var(--fs-md); margin-bottom: var(--sp-4); }

.testimonial-card__text {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--clr-text);
  font-style: italic;
  margin-bottom: var(--sp-5);
  border: none;
  padding: 0;
}

.testimonial-card__author { display: flex; align-items: center; gap: var(--sp-3); }

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clr-gold-light);
  flex-shrink: 0;
}

.testimonial-card__name { font-weight: 700; font-size: var(--fs-sm); color: var(--clr-dark); }
.testimonial-card__city { font-size: var(--fs-xs); color: var(--clr-text-muted); }
.testimonial-card__verified { font-size: 11px; color: #16a34a; font-weight: 600; }

/* Slider navigation buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--clr-white);
  border: 1.5px solid var(--clr-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover { background: var(--clr-primary); border-color: var(--clr-primary); color: var(--clr-white); }
.slider-btn:disabled { opacity: .35; cursor: not-allowed; }
.slider-btn--prev { left: -22px; }
.slider-btn--next { right: -22px; }
.slider-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.5; fill: none; }

/* --------------------------------------------------------------------------
   App Promo Section
   -------------------------------------------------------------------------- */
.app-promo {
  background: linear-gradient(135deg, var(--clr-primary-dark, #4E1A27) 0%, var(--clr-primary, #6B2737) 100%);
}

.app-promo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.app-promo__content { max-width: 540px; }
.app-promo__label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--clr-gold); margin-bottom: var(--sp-3); }
.app-promo__title { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; color: var(--clr-white); margin-bottom: var(--sp-4); }
.app-promo__desc { font-size: var(--fs-base); color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: var(--sp-6); }

.app-promo__badges { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

.app-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-5);
  text-decoration: none;
  color: var(--clr-white);
  transition: all var(--transition-fast);
  min-width: 160px;
}

.app-badge:hover { background: rgba(255,255,255,.22); border-color: var(--clr-gold); }
.app-badge__icon { font-size: 1.6rem; }
.app-badge__text { display: flex; flex-direction: column; }
.app-badge__sub { font-size: 10px; opacity: .75; letter-spacing: .04em; }
.app-badge__store { font-size: var(--fs-base); font-weight: 700; }

.app-promo__phone { flex-shrink: 0; opacity: .9; }

/* --------------------------------------------------------------------------
   Promo Cards
   -------------------------------------------------------------------------- */
.promo-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.promo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
  display: flex;
  align-items: flex-end;
}

.promo-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card__content {
  position: relative;
  z-index: 1;
  padding: var(--sp-6);
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  width: 100%;
}

.promo-card__title { font-family: var(--font-serif); font-size: var(--fs-xl); font-weight: 700; color: var(--clr-white); margin-bottom: var(--sp-2); }
.promo-card__desc { font-size: var(--fs-sm); color: rgba(255,255,255,.8); margin-bottom: var(--sp-4); }

/* --------------------------------------------------------------------------
   Newsletter Form (footer version)
   -------------------------------------------------------------------------- */
.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: var(--sp-4);
  overflow: hidden;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-white);
}

.newsletter-form__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  background: transparent;
  min-width: 0;
}

.newsletter-form__input:focus { outline: none; }

.newsletter-form__btn {
  padding: 0.75rem 1.25rem;
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.newsletter-form__btn:hover { background: var(--clr-primary-dark); }
