/* =====================================================
   MAGNIFICENT STYLE — Home Page Styles
   Premium Ethnic Luxury Fashion
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors */
  --burgundy: #6B1E2A;
  --burgundy-dark: #4A0E18;
  --burgundy-light: #8B2E3A;
  --gold: #C9A961;
  --gold-light: #E8D5A3;
  --ivory: #FFFEF7;
  --cream: #F9F5EB;
  --beige: #F0E9DC;
  --warm-beige: #EDE4D4;
  --charcoal: #2C2420;
  --soft-brown: #6B5E54;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-logo: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing & Layout */
  --container: 1200px;
  --header-h: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(44, 36, 32, 0.08);
  --shadow-hover: 0 12px 40px rgba(44, 36, 32, 0.14);
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  /* stop bounce / white gap past page end — normal scroll still works */
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography Helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.gold-text {
  color: var(--gold);
}

.section {
  padding: 48px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1rem;
  color: var(--soft-brown);
  max-width: 480px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border: 2px solid var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 30, 42, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-add {
  width: 100%;
  padding: 12px 20px;
  background: var(--burgundy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 12px;
  transition: var(--transition);
}

.btn-add:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
}

/* Shimmer effect on primary buttons */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: linear-gradient(90deg, var(--burgundy-dark), var(--burgundy), var(--burgundy-dark));
  color: var(--gold-light);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.announcement-bar p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.announcement-bar i {
  color: var(--gold);
  font-size: 0.75rem;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 254, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(44, 36, 32, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
}

.logo-img {
  width: clamp(40px, 8vw, 56px);
  height: clamp(40px, 8vw, 56px);
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-logo);
  /* scales with screen — balanced with logo */
  font-size: clamp(1.05rem, 2.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--burgundy);
  white-space: nowrap;
  line-height: 1.15;
}

.logo-style {
  color: var(--gold);
}

/* Prevent page jump when menu locks scroll */
body.menu-open {
  overflow: hidden;
  touch-action: none;
  width: 100%;
}

main,
.section,
.hero,
.footer {
  max-width: 100%;
  overflow-x: hidden;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--burgundy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--charcoal);
  font-size: 1.05rem;
  transition: var(--transition);
  flex-shrink: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.icon-btn:hover {
  background: var(--cream);
  color: var(--burgundy);
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  pointer-events: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex !important;
  font-size: 1.2rem;
  color: var(--burgundy);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--ivory);
  z-index: 1200;
  padding: 24px;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--warm-beige);
  position: relative;
  z-index: 2;
  gap: 12px;
}

.mobile-menu-header .logo-img {
  width: 48px;
  height: 48px;
}

.mobile-menu-header .logo-text {
  font-size: 1.1rem;
}

.mobile-menu-header .icon-btn {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  color: var(--burgundy);
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  z-index: 5;
  flex-shrink: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a {
  display: block;
  padding: 14px 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  border-left: 3px solid transparent;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  background: var(--cream);
  color: var(--burgundy);
  padding-left: 16px;
  border-left-color: var(--gold);
}

.mobile-nav-list a.active {
  font-weight: 600;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.45);
  z-index: 1150;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---------- Hero ---------- */
.hero {
  padding: 28px 0 40px;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 50%, var(--beige) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--soft-brown);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.hero-btns .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 18px;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 10px 40px;
  overflow: hidden;
  max-width: 100%;
  perspective: 1000px;
}

/* Collage of 3 floating images */
.hero-collage {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 420px;
  overflow: visible;
  transform-style: preserve-3d;
}

.hero-img-main,
.hero-img-float {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  background: var(--warm-beige);
  box-shadow: 0 12px 40px rgba(44, 36, 32, 0.14);
  /* no tilt/transform fights — stable hover */
  transition: box-shadow 0.35s ease;
  will-change: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-img-main {
  width: 70%;
  height: 76%;
  top: 10%;
  left: 15%;
  z-index: 2;
}

.hero-img-2 {
  width: 40%;
  height: 36%;
  top: 2%;
  left: 2%;
  z-index: 3;
  border: 4px solid var(--ivory);
  animation: floatY 4s ease-in-out infinite;
}

.hero-img-3 {
  width: 38%;
  height: 34%;
  bottom: 2%;
  right: 2%;
  z-index: 3;
  border: 4px solid var(--ivory);
  animation: floatY 4.8s ease-in-out infinite;
  animation-delay: 0.5s;
}

.hero-img-main .hero-img,
.hero-img-float .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  /* no scale on hover — was causing blink */
  transform: none;
}

.hero-img-main .hero-img.loaded,
.hero-img-float .hero-img.loaded {
  opacity: 1;
}

.hero-img-main:hover,
.hero-img-float:hover {
  box-shadow: 0 16px 48px rgba(44, 36, 32, 0.2);
  z-index: 6;
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--cream), var(--warm-beige));
  color: var(--gold);
  z-index: 0;
  font-size: 1.75rem;
}

/* Floating accent badges */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(44, 36, 32, 0.12);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--charcoal);
  z-index: 5;
  white-space: nowrap;
  animation: floatY 4s ease-in-out infinite;
}

.float-card i {
  color: var(--gold);
  font-size: 0.8rem;
}

.float-1 {
  top: 6%;
  right: 4%;
  animation-delay: 0s;
}

.float-2 {
  bottom: 24%;
  left: 4%;
  animation-delay: 0.8s;
}

.float-3 {
  bottom: 8%;
  right: 30%;
  animation-delay: 1.6s;
}

/* ---------- Categories ---------- */
.categories {
  background: var(--ivory);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.category-card {
  text-align: center;
}

.category-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--cream);
  transform-style: preserve-3d;
}

.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold);
  background: linear-gradient(145deg, var(--cream), var(--warm-beige));
  transition: transform 0.5s ease;
}

.category-card:hover .category-placeholder {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 14, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.category-overlay span {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--gold-light);
  padding: 10px 24px;
  border-radius: 50px;
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.category-card p {
  font-size: 0.8125rem;
  color: var(--soft-brown);
}

/* ---------- Featured Products ---------- */
.featured {
  background: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  color: var(--white);
}

.product-badge.bestseller { background: var(--burgundy); }
.product-badge.new { background: var(--gold); color: var(--charcoal); }
.product-badge.sale { background: #A63D40; }

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--beige);
  overflow: hidden;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.6;
}

.product-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--burgundy);
  color: var(--white);
}

.product-info {
  padding: 18px 16px 20px;
}

.product-cat {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.product-rating span {
  color: var(--soft-brown);
  margin-left: 4px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--burgundy);
}

.old-price {
  font-size: 0.875rem;
  color: var(--soft-brown);
  text-decoration: line-through;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------- Why Us ---------- */
.why-us {
  background: var(--ivory);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.feature-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  transform-style: preserve-3d;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--burgundy-dark);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  /* solid full circle — no 3D rotate that cuts the circle */
  transform: scale(1);
  box-shadow: 0 4px 14px rgba(201, 169, 97, 0.35);
}

.feature-card:hover .feature-icon {
  transform: scale(1.12);
  box-shadow: 0 8px 22px rgba(201, 169, 97, 0.5);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--soft-brown);
  line-height: 1.65;
}

/* ---------- Benefits Bar ---------- */
.benefits-bar {
  background: linear-gradient(90deg, var(--burgundy-dark), var(--burgundy), var(--burgundy-dark));
  padding: 40px 0;
  color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefit-item i {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.benefit-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.benefit-item span {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--cream);
  padding: 80px 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  background: var(--white);
  padding: 48px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.newsletter-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.newsletter-content p {
  color: var(--soft-brown);
  font-size: 0.95rem;
}

.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.input-group {
  display: flex;
  background: var(--ivory);
  border: 1.5px solid var(--warm-beige);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--gold);
}

.input-group input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  outline: none;
  min-width: 0;
}

.input-group input::placeholder {
  color: var(--soft-brown);
  opacity: 0.7;
}

.input-group .btn {
  flex-shrink: 0;
  border-radius: 0 50px 50px 0;
  padding: 14px 28px;
  margin: 4px;
  border-radius: 50px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--soft-brown);
  margin-top: 12px;
  opacity: 0.8;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(90deg, var(--burgundy-dark), var(--burgundy), var(--burgundy-dark));
  color: rgba(255, 255, 255, 0.9);
  padding: 70px 0 0;
  margin: 0;
  padding-bottom: 0;
  flex-shrink: 0;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-img {
  width: 56px;
  height: 56px;
}

.footer-brand .logo-text {
  font-size: 1.25rem;
}

.footer-brand .logo-text {
  color: var(--gold-light);
}

.footer-brand .logo-style {
  color: var(--gold);
}

.footer-brand .logo-img {
  background: none;
  padding: 0;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.75);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.95rem;
  transition: var(--transition);
  background: transparent;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--burgundy-dark);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0 max(24px, env(safe-area-inset-bottom));
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Scroll Progress & Back to Top ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  width: 0%;
  z-index: 2000;
  transition: width 0.1s linear;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--burgundy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-light);
  color: var(--burgundy-dark);
  transform: translateY(-3px);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet */
@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* product-grid: see base responsive rules */

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }

  .newsletter-inner {
    grid-template-columns: 1fr 1.1fr;
    text-align: left;
    padding: 48px 48px;
  }

  .newsletter-form {
    margin: 0;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .nav-desktop {
    display: block;
  }

  .mobile-menu-btn {
    display: none !important;
  }

  /* logo uses clamp(10vw) — no fixed override */

  .header-actions {
    gap: 8px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-desc {
    margin-left: 0;
  }

  .hero-btns {
    justify-content: flex-start;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* product-grid: see base responsive rules */

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-collage {
    max-width: 480px;
    height: 480px;
  }

  .float-1 {
    top: 4%;
    right: 0;
  }

  .float-2 {
    bottom: 22%;
    left: 0;
  }

  .float-3 {
    bottom: 6%;
    right: 24%;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .hero {
    padding: 80px 0 100px;
  }
}

/* Tablet / small screens */
@media (max-width: 991px) {
  .header-inner {
    gap: 8px;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
  }

  /* logo uses clamp(10vw) */

  .header-actions {
    gap: 0;
    flex-shrink: 0;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .mobile-menu-btn {
    font-size: 1.1rem;
  }

  .container {
    padding: 0 14px;
  }

  .hero-collage {
    height: 360px;
    max-width: 340px;
  }

  .hero-visual {
    overflow: hidden;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .announcement-bar {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .header-inner {
    gap: 4px;
    height: 64px;
  }

  .logo {
    gap: 8px;
  }

  /* logo uses clamp(10vw) */

  .icon-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .mobile-menu-btn {
    font-size: 1.05rem;
  }

  .hero-btns {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: 10px;
  }

  .hero-btns .btn {
    flex: 1 1 0;
    width: auto;
    padding: 12px 10px;
    font-size: 0.78rem;
  }

  .hero-collage {
    height: 300px;
    max-width: 300px;
  }

  .float-card {
    padding: 6px 10px;
    font-size: 0.65rem;
  }

  .float-2 {
    left: 0;
  }

  .float-3 {
    right: 10%;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .input-group {
    flex-direction: column;
    border-radius: var(--radius);
    background: transparent;
    border: none;
    gap: 12px;
  }

  .input-group input {
    background: var(--ivory);
    border: 1.5px solid var(--warm-beige);
    border-radius: 50px;
    padding: 14px 20px;
  }

  .input-group .btn {
    width: 100%;
    margin: 0;
    border-radius: 50px;
  }

  .footer-grid {
    gap: 32px;
  }
}

/* =====================================================
   PRODUCT DETAIL MODAL (popup on product click)
   ===================================================== */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 920px;
  max-height: 88vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 24px 80px rgba(44, 36, 32, 0.28);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.product-modal-overlay.open .product-modal {
  transform: scale(1) translateY(0);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 5;
  transition: var(--transition);
  cursor: pointer;
}

.product-modal-close:hover {
  background: var(--burgundy);
  color: var(--white);
}

.product-modal-img {
  background: var(--beige);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.product-modal-img .modal-placeholder {
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.55;
}

.product-modal-body {
  padding: 36px 32px 32px;
  overflow-y: auto;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.product-modal-body .product-cat {
  margin-bottom: 8px;
}

.product-modal-body .product-title {
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.product-modal-body .product-rating {
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.product-modal-body .product-price {
  margin-bottom: 18px;
}

.product-modal-body .price {
  font-size: 1.4rem;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--soft-brown);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-sizes {
  margin-bottom: 22px;
}

.modal-sizes label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--warm-beige);
  border-radius: 8px;
  background: var(--ivory);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition);
  cursor: pointer;
}

.size-btn:hover,
.size-btn.active {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: var(--white);
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.modal-actions .btn-add {
  flex: 1;
  margin-top: 0;
  padding: 14px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
}

.modal-wish-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--warm-beige);
  background: var(--ivory);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
}

.modal-wish-btn:hover,
.modal-wish-btn.active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

.modal-wish-btn.active i {
  font-weight: 900;
}

body.modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  touch-action: none;
}

/* Product image clickable */
.product-img-wrap {
  cursor: pointer;
}

@media (max-width: 768px) {
  .product-modal {
    grid-template-columns: 1fr;
    max-height: 92vh;
    max-width: 100%;
  }

  .product-modal-img {
    min-height: 220px;
    max-height: 260px;
  }

  .product-modal-body {
    padding: 24px 20px 28px;
    max-height: none;
  }

  .product-modal-body .product-title {
    font-size: 1.35rem;
  }
}


/* =====================================================
   SITE SEARCH PANEL (header search icon)
   ===================================================== */
.site-search {
  position: sticky;
  top: var(--header-h, 80px);
  z-index: 1200;
  background: rgba(255, 254, 247, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.site-search.open {
  max-height: 120px;
  opacity: 1;
  padding: 14px 0;
}

.site-search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ivory);
  border: 1.5px solid var(--warm-beige);
  border-radius: 50px;
  padding: 10px 16px;
  transition: border-color 0.25s ease;
}

.site-search-bar:focus-within {
  border-color: var(--gold);
}

.site-search-bar > i {
  color: var(--gold);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.site-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  min-width: 0;
}

.site-search-bar input::placeholder {
  color: var(--soft-brown);
  opacity: 0.75;
}

.site-search-clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-brown);
  background: var(--cream);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.site-search-clear:hover {
  background: var(--burgundy);
  color: var(--white);
}

.site-search-close {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--burgundy);
  padding: 8px 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.site-search-close:hover {
  color: var(--burgundy-dark);
}

.site-search-hint {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--soft-brown);
  padding-bottom: 4px;
}

.site-search-hint strong {
  color: var(--burgundy);
}

/* Force hidden elements truly hidden */
[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .site-search.open {
    max-height: 140px;
  }
  .site-search-inner {
    gap: 8px;
  }
  .site-search-bar {
    padding: 8px 12px;
  }
  .site-search-bar input {
    font-size: 0.875rem;
  }
}
