/* ==========================================================================
   shoppingDeal — Master Mobile-First Stylesheet
   Website: shoppingdealcresta.org
   Vanilla CSS (Clean, Responsive, Accessible, Editorial Fashion Design)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Variables & Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-charcoal-900: #111215;
  --color-charcoal-800: #1b1d22;
  --color-charcoal-700: #2a2d35;
  --color-charcoal-600: #424652;
  --color-charcoal-400: #717684;
  --color-charcoal-200: #a5abb8;
  
  --color-cream-50: #fbf9f6;
  --color-cream-100: #f5f2ec;
  --color-cream-200: #ede8df;
  --color-sand-300: #e0d8cc;
  --color-sand-400: #c9beae;
  
  --color-accent: #c85a32;        /* Terracotta Coral Accent */
  --color-accent-hover: #af4a24;
  --color-accent-subtle: #faebe5;
  
  --color-success: #2e7d32;
  --color-success-bg: #edf7ed;
  --color-error: #d32f2f;
  --color-error-bg: #fde8e8;
  
  --color-surface: #ffffff;
  --color-border: #e6e0d6;
  --color-border-dark: #2a2d35;
  --color-text-main: #141518;
  --color-text-muted: #626673;
  --color-text-light: #8e94a2;
  --color-text-inverse: #ffffff;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(17, 18, 21, 0.05);
  --shadow-card: 0 4px 16px rgba(17, 18, 21, 0.06);
  --shadow-hover: 0 10px 28px rgba(17, 18, 21, 0.12);
  --shadow-modal: 0 20px 50px rgba(0, 0, 0, 0.35);

  /* Layout */
  --header-height: 64px;
  --container-max: 1240px;
  --space-gutter: 16px;
  
  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-ken-burns: 7s ease-out;
}

@media (min-width: 768px) {
  :root {
    --header-height: 72px;
    --space-gutter: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --space-gutter: 32px;
  }
}

/* --------------------------------------------------------------------------
   2. Reset & Base (All Content Visible by Default)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-cream-50);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-cream-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  overflow-wrap: anywhere;
}

body.menu-open,
body.modal-open {
  overflow: hidden !important;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Containers & Spacing
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

.section-spacing {
  padding-block: 44px;
}

@media (min-width: 768px) {
  .section-spacing {
    padding-block: 68px;
  }
}

@media (min-width: 1024px) {
  .section-spacing {
    padding-block: 88px;
  }
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-charcoal-900);
  letter-spacing: -0.01em;
}

.heading-hero {
  font-size: clamp(1.85rem, 5vw + 0.5rem, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
}

.heading-section {
  font-size: clamp(1.6rem, 3vw + 0.5rem, 2.35rem);
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.05rem;
    margin-bottom: 44px;
  }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   5. Buttons & Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-charcoal-900);
  color: #ffffff;
  border-color: var(--color-charcoal-900);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-charcoal-900);
  border-color: var(--color-charcoal-900);
}

.btn-outline:hover {
  background-color: var(--color-charcoal-900);
  color: #ffffff;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-charcoal-900);
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.825rem;
  min-height: 40px;
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Sticky Header & Navigation (Never wraps at 320px)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition-smooth);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-subtle);
}

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

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-shrink: 1;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.5vw, 1.55rem);
  font-weight: 700;
  color: var(--color-charcoal-900);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-logo span {
  color: var(--color-accent);
}

.site-logo-badge {
  display: none;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--color-cream-200);
  color: var(--color-charcoal-700);
  padding: 2px 5px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

@media (min-width: 480px) {
  .site-logo-badge {
    display: inline-block;
  }
}

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

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
}

.desktop-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-charcoal-700);
  padding: 6px 0;
  position: relative;
}

.desktop-nav .nav-link:hover {
  color: var(--color-accent);
}

.desktop-nav .nav-link.active {
  color: var(--color-charcoal-900);
  font-weight: 600;
}

.desktop-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

/* Header Icons (Wishlist & Cart) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.header-action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-charcoal-900);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header-action-btn:hover {
  background-color: var(--color-cream-100);
  color: var(--color-accent);
}

.header-action-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.badge-count {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  border: 2px solid #ffffff;
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--color-charcoal-900);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer (Left-to-Right) */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 18, 21, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(300px, calc(100vw - 32px));
  background-color: #ffffff;
  z-index: 1060;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  padding: 20px 16px;
  overflow-y: auto;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.mobile-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-charcoal-700);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-links .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-charcoal-800);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-links .nav-link:hover,
.mobile-nav-links .nav-link.active {
  background-color: var(--color-cream-100);
  color: var(--color-accent);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   7. Hero Slider Component (Ken Burns, Visible by Default)
   -------------------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  background-color: var(--color-charcoal-900);
  color: #ffffff;
  overflow: hidden;
  height: clamp(540px, 75vh, 760px);
  min-height: 500px;
}

@media (max-width: 767px) {
  .hero-slider-section {
    height: clamp(520px, 80svh, 640px);
    min-height: 480px;
  }
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  transition: transform var(--transition-ken-burns);
}

.hero-slide.active .hero-slide-bg-img {
  transform: scale(1.07);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 18, 21, 0.82) 0%,
    rgba(17, 18, 21, 0.48) 55%,
    rgba(17, 18, 21, 0.12) 100%
  );
  pointer-events: none;
}

@media (max-width: 767px) {
  .hero-slide-overlay {
    background: linear-gradient(
      to top,
      rgba(17, 18, 21, 0.88) 0%,
      rgba(17, 18, 21, 0.62) 60%,
      rgba(17, 18, 21, 0.3) 100%
    );
  }
}

.hero-slide-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 660px;
  padding-inline: var(--space-gutter);
  padding-bottom: 96px; /* Clear space above slider navigation controls */
  padding-top: 36px;
}

.hero-slide-content > * {
  color: #ffffff;
}

.hero-slide-content .heading-hero {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  margin-top: 8px;
  margin-bottom: 14px;
  color: #ffffff;
  text-shadow: none;
}

.hero-slide-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  line-height: 1.6;
  margin-top: 6px;
  margin-bottom: 24px;
  max-width: 540px;
  text-shadow: none;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Slider Controls */
.hero-slider-nav {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

.hero-slider-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--space-gutter);
}

.slider-dots {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 28px;
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.slider-arrows {
  display: none;
  gap: 10px;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .slider-arrows {
    display: flex;
  }
}

.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(17, 18, 21, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all var(--transition-fast);
}

.slider-arrow-btn:hover {
  background-color: #ffffff;
  color: var(--color-charcoal-900);
}

/* --------------------------------------------------------------------------
   8. Page Heroes (Men, Women, About, Contact, Cart, Wishlist)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background-color: var(--color-charcoal-900);
  color: #ffffff;
  padding-block: 56px 48px;
  overflow: hidden;
  min-height: 220px;
}

@media (min-width: 768px) {
  .page-hero {
    padding-block: 76px 64px;
  }
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.3;
  filter: saturate(0.9);
  transform: scale(1.03);
  transition: transform 5s ease-out;
}

.page-hero:hover .page-hero-bg {
  transform: scale(1.07);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 18, 21, 0.95), rgba(17, 18, 21, 0.6));
}

.page-hero-content {
  position: relative;
  z-index: 10; /* Always above any background */
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.page-hero-content h1 {
  color: #ffffff;
  margin-top: 6px;
  margin-bottom: 10px;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 12px;
}

.breadcrumb-trail a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-trail a:hover {
  color: var(--color-accent);
}

.breadcrumb-trail span {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   9. Shop By Section (Dual Gateway)
   -------------------------------------------------------------------------- */
.gender-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .gender-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

.section-split-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(340px, 46vw, 500px);
  background-color: var(--color-charcoal-900);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.section-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.section-split-card:hover .section-split-img {
  transform: scale(1.04);
}

.section-split-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 18, 21, 0.88) 0%, rgba(17, 18, 21, 0.25) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  color: #ffffff;
}

.section-split-card-overlay h3 {
  color: #ffffff;
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.section-split-card-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.925rem;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   10. Product Grid & Cards System (2 columns on mobile, 3 tablet, 4 desktop)
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

.product-card {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-sand-300);
}

/* 4:5 Aspect Ratio Media */
.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--color-cream-100);
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

/* Safe Reveal Panel: Always disabled from blocking content (Visible by Default) */
.image-reveal-panel {
  display: none !important;
}

/* Fallback box for missing local image */
.has-fallback {
  position: relative !important;
  background-color: #f1f3f5 !important;
}

/* Page heroes must NEVER have light fallback backgrounds */
.page-hero,
.page-hero.has-fallback {
  position: relative !important;
  background-color: var(--color-charcoal-900) !important;
  color: #ffffff !important;
}

.img-failed {
  display: none !important;
}

.product-fallback-box {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #f1f3f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  color: var(--color-charcoal-700);
  z-index: 2;
  box-sizing: border-box;
}

.product-fallback-box svg {
  width: 36px;
  height: 36px;
  stroke: var(--color-charcoal-400);
  stroke-width: 1.4;
  margin-bottom: 6px;
}

.product-fallback-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-charcoal-800);
  margin-bottom: 2px;
}

.product-fallback-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

/* Wishlist Heart Button (Top-Right) */
.wishlist-toggle-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--color-charcoal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.wishlist-toggle-btn:hover {
  transform: scale(1.08);
  color: var(--color-accent);
}

.wishlist-toggle-btn.is-active {
  color: var(--color-accent);
}

.wishlist-toggle-btn.is-active svg {
  fill: var(--color-accent);
}

/* Category Badge (Top-Left) */
.product-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: rgba(17, 18, 21, 0.85);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  z-index: 5;
}

/* Quick Add Overlay on Desktop */
.product-card-quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(to top, rgba(17, 18, 21, 0.75) 0%, transparent 100%);
  display: none;
  z-index: 5;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}

@media (min-width: 900px) {
  .product-card-quick-add {
    display: block;
  }
}

.product-card:hover .product-card-quick-add {
  transform: translateY(0);
}

.quick-add-btn {
  width: 100%;
  padding: 8px;
  background-color: #ffffff;
  color: var(--color-charcoal-900);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.quick-add-btn:hover {
  background-color: var(--color-accent);
  color: #ffffff;
}

/* Product Card Body */
.product-card-body {
  padding: 12px 10px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 640px) {
  .product-card-body {
    padding: 14px 12px 16px;
  }
}

.product-card-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-charcoal-900);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

@media (min-width: 768px) {
  .product-card-title {
    font-size: 1rem;
  }
}

.product-card-title:hover {
  color: var(--color-accent);
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}

.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-charcoal-900);
}

/* Mobile Quick Add Icon */
.product-card-btn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background-color: var(--color-charcoal-900);
  color: #ffffff;
  transition: background-color var(--transition-fast);
}

@media (min-width: 900px) {
  .product-card-btn-mobile {
    display: none;
  }
}

.product-card-btn-mobile:hover {
  background-color: var(--color-accent);
}

.product-card-btn-mobile svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   11. Toolbar: Search, Filters, Sorting
   -------------------------------------------------------------------------- */
.catalog-toolbar {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-subtle);
}

.toolbar-row-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .toolbar-row-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.catalog-search-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.catalog-search-input {
  width: 100%;
  height: 44px;
  padding: 8px 36px 8px 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-cream-50);
  font-size: 0.9rem;
}

.catalog-search-input:focus {
  background-color: #ffffff;
  border-color: var(--color-charcoal-900);
}

.catalog-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-charcoal-400);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.catalog-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--color-charcoal-400);
  display: none;
  align-items: center;
  justify-content: center;
}

.catalog-search-clear.is-active {
  display: flex;
}

.catalog-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

@media (min-width: 768px) {
  .catalog-sort-wrap {
    width: auto;
  }
}

.catalog-sort-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal-700);
  white-space: nowrap;
}

.catalog-select {
  height: 44px;
  padding: 8px 30px 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-cream-50);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-charcoal-900);
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
}

@media (min-width: 768px) {
  .catalog-select {
    width: 200px;
  }
}

.toolbar-filter-tabs {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.filter-btn-group {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 768px) {
  .filter-btn-group {
    display: flex;
  }
}

.filter-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-cream-50);
  color: var(--color-charcoal-700);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--color-cream-200);
  color: var(--color-charcoal-900);
}

.filter-btn.active {
  background-color: var(--color-charcoal-900);
  color: #ffffff;
  border-color: var(--color-charcoal-900);
}

.mobile-filter-dropdown-wrap {
  display: block;
}

@media (min-width: 768px) {
  .mobile-filter-dropdown-wrap {
    display: none;
  }
}

.results-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   12. Product Detail Layout
   -------------------------------------------------------------------------- */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    padding: 32px;
  }
}

.product-detail-main-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--color-cream-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.product-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-detail-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal-700);
  z-index: 5;
}

.product-detail-wishlist-btn:hover,
.product-detail-wishlist-btn.is-active {
  color: var(--color-accent);
}

.product-detail-wishlist-btn.is-active svg {
  fill: var(--color-accent);
}

.product-detail-title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 8px;
}

.product-detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-charcoal-900);
  margin-bottom: 16px;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.size-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 8px 18px;
}

.size-pill {
  min-width: 48px;
  height: 44px;
  padding-inline: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-cream-50);
  color: var(--color-charcoal-800);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.size-pill.is-selected {
  background-color: var(--color-charcoal-900);
  color: #ffffff;
  border-color: var(--color-charcoal-900);
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  overflow: hidden;
  margin-bottom: 20px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background-color: var(--color-cream-50);
}

.qty-input {
  width: 48px;
  height: 44px;
  text-align: center;
  border: none;
  font-weight: 600;
}

.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 540px) {
  .product-detail-actions {
    flex-direction: row;
  }
}

.product-detail-actions .btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
   13. Cart Page Layout
   -------------------------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .cart-layout {
    grid-template-columns: 2fr 1fr;
    gap: 36px;
  }
}

.cart-items-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 16px;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 768px) {
  .cart-items-card {
    padding: 24px;
  }
}

.cart-item {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-cream-200);
  align-items: center;
}

@media (min-width: 600px) {
  .cart-item {
    grid-template-columns: 88px 1fr auto auto;
    gap: 18px;
  }
}

.cart-item-media {
  position: relative;
  width: 75px;
  height: 94px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-cream-100);
}

@media (min-width: 600px) {
  .cart-item-media {
    width: 88px;
    height: 110px;
  }
}

.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.order-summary-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 20px;
  box-shadow: var(--shadow-subtle);
  height: fit-content;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  margin-top: 14px;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   14. About Page & Size Guide Table (CRITICAL: Full Content & No Blockers)
   -------------------------------------------------------------------------- */
.about-grid-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .about-grid-story {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.about-story-text h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.about-story-text p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.about-visual-frame {
  position: relative; /* REQUIRED for fallbacks */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 5;
  background-color: var(--color-cream-100);
}

.about-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 600px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
}

.value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Size Guide Table */
.size-guide-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 16px;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 768px) {
  .size-guide-card {
    padding: 28px;
  }
}

.size-guide-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .size-guide-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.table-responsive-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: #ffffff;
}

.size-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.size-table th,
.size-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
}

.size-table th {
  background-color: var(--color-cream-100);
  font-weight: 700;
  color: var(--color-charcoal-900);
}

.size-table tr:hover td {
  background-color: var(--color-cream-50);
}

/* --------------------------------------------------------------------------
   15. Contact Page & FAQ Accordion
   -------------------------------------------------------------------------- */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
}

.contact-form-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 20px;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 32px;
  }
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal-900);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-cream-50);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: #ffffff;
  border-color: var(--color-charcoal-900);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 4px;
}

.form-error-msg.is-visible {
  display: block;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
  margin-inline: auto;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-charcoal-900);
  text-align: left;
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.is-active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content-inner {
  padding: 0 18px 16px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. Features, Editorial Collage, Newsletter
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.feature-box {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 12px;
}

/* Editorial Brand Collage */
.editorial-collage-section {
  background-color: var(--color-charcoal-900);
  color: #ffffff;
  padding-block: clamp(52px, 8vw, 84px);
  overflow: hidden;
}

.collage-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .collage-layout {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
  }
}

.collage-visual-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-charcoal-800);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-modal);
}

@media (min-width: 768px) {
  .collage-visual-frame {
    aspect-ratio: 4 / 5;
    max-width: 480px;
  }
}

.collage-primary-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.collage-img-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.collage-secondary-photo {
  display: none;
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  z-index: 2;
  background-color: var(--color-charcoal-700);
}

@media (min-width: 600px) {
  .collage-secondary-photo {
    display: block;
  }
}

.collage-craft-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  background-color: var(--color-accent);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  pointer-events: none;
}

.collage-badge-stat {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.collage-badge-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.95;
  white-space: nowrap;
}

.collage-content h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  margin-top: 6px;
  margin-bottom: 16px;
  color: #ffffff;
}

.collage-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.newsletter-section {
  background-color: var(--color-cream-100);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: 52px;
  text-align: center;
}

.newsletter-box {
  max-width: 560px;
  margin-inline: auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

@media (min-width: 540px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  font-size: 0.925rem;
}

/* --------------------------------------------------------------------------
   17. Modal Dialog & Toast Notifications
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 18, 21, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal {
  background-color: #ffffff;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

/* Toast Notification (Top Centered, side-padded on mobile) */
.toast-container {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 420px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background-color: var(--color-charcoal-900);
  color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-modal);
  border: 1px solid var(--color-border-dark);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-item.toast-success {
  border-left: 4px solid #4caf50;
}

.toast-item.toast-error {
  border-left: 4px solid var(--color-error);
}

.toast-item.toast-info {
  border-left: 4px solid var(--color-accent);
}

.toast-close-btn {
  color: rgba(255, 255, 255, 0.6);
  padding: 4px;
}

/* Empty States */
.empty-state-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 48px 20px;
  text-align: center;
  max-width: 500px;
  margin-inline: auto;
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  color: var(--color-charcoal-400);
  margin-inline: auto;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   18. Universal Footer (Stacks cleanly on mobile)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-charcoal-900);
  color: #ffffff;
  border-top: 1px solid var(--color-border-dark);
  margin-top: auto;
  padding-block: 52px 24px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-top-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 44px;
  }
}

.footer-brand .site-logo {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.footer-links-list a:hover {
  color: var(--color-accent);
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-details a {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
/* --- Editorial Collage Section Base Styles --- */
.editorial-collage-section {
  padding: 80px 0;
  background-color: var(--color-bg, #f9f9f9);
}

.editorial-collage-section .collage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

/* Visual Container Setup */
.collage-visual-container {
  position: relative;
  width: 100%;
}

/* --- Desktop Layered Stack Style --- */
.desktop-collage-stack {
  position: relative;
  width: 100%;
  height: 520px;
}

.desktop-collage-stack .collage-img-layer {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.collage-layer-main {
  width: 62%;
  height: 420px;
  top: 0;
  left: 0;
  z-index: 1;
}

.collage-layer-second {
  width: 54%;
  height: 360px;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.collage-layer-badge {
  position: absolute;
  top: 30px;
  right: 20px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.collage-layer-badge span {
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
}

.collage-layer-badge small {
  font-size: 10px;
  color: #666;
}

/* Hide mobile single image on desktop */
.mobile-collage-single {
  display: none;
}

/* --- Editorial Content Typography & Buttons --- */
.collage-content .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.collage-content h2 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--color-heading, #111);
}

.collage-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text, #555);
  margin-bottom: 16px;
}


/* --- Small Screen (Mobile) Styles --- */
@media (max-width: 768px) {
  .editorial-collage-section {
    padding: 40px 0;
  }

  .editorial-collage-section .collage-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Desktop stack ko mobile par hide karein */
  .desktop-collage-stack {
    display: none;
  }

  /* Mobile clean single image ko show karein */
  .mobile-collage-single {
    display: block;
    width: 100%;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .mobile-collage-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .collage-content h2 {
    font-size: 24px;
  }

  .collage-content p {
    font-size: 15px;
  }
}
.collage-content .eyebrow {
  color: #1a1a1a !important;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.product-card-btn-mobile, 
.quick-add-btn {
  width: 100% !important;
  height: auto !important;
  min-height: 40px !important;
  border-radius: 6px !important; /* Rectangle with slightly rounded corners */
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

/* Agar price aur button ek hi row me hain aur jagah kam pad rahi hai */
.product-card-meta {
  display: flex;
  flex-direction: column; /* Price upar aur Add to Cart button uske neeche rectangle shape me aa jayega */
  gap: 10px;
  align-items: stretch;
}
.product-card-quick-add {
  display: none !important;
}
/* --- About Section Border & Box Structure --- */
.about-grid-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  background: #ffffff;
  border: 1px solid #e2e8f0; /* Clean border for main container */
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-top: 48px;
}

/* Text box ke liye inner border aur styling */
.about-story-text {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
}

/* Image frame styling with border & shadow */
.about-visual-frame {
  width: 100%;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.about-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* --- Small Screen (Mobile) Layout --- */
@media (max-width: 768px) {
  .about-grid-story {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 24px;
    margin-top: 24px;
  }

  .about-story-text {
    padding: 20px;
  }

  .about-visual-frame {
    height: 350px;
  }
}
/* --- Contact Sidebar & Cards Structure --- */
.contact-sidebar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Har ek contact detail card ka structure */
.contact-sidebar .contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-sidebar .contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Icon box formatting */
.contact-sidebar .contact-icon-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary, #111);
}

/* Typography adjustments inside sidebar cards */
.contact-sidebar .contact-info-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.contact-sidebar .contact-info-card p,
.contact-sidebar .contact-info-card a {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  text-decoration: none;
}

.contact-sidebar .contact-info-card a:hover {
  color: #111;
  text-decoration: underline;
}

/* --- Small Screen (Mobile) Layout --- */
@media (max-width: 768px) {
  .contact-sidebar {
    padding: 20px;
    gap: 16px;
  }

  .contact-sidebar .contact-info-card {
    padding: 16px;
  }
}
@media (max-width: 768px) {
  .hero-slider-nav-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .slider-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  /* Hero slide content container alignment */
  .hero-slide-content {
    padding: 24px 16px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Heading size aur margin adjustment */
  .hero-slide-content h2.heading-hero {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  /* Paragraph font size aur spacing */
  .hero-slide-content p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }

  /* Button group ko full width stacked banane ke liye */
  .hero-btn-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-btn-group .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
}
/* "Sort By" section ke baad aur label/dropdown ke beech gap ke liye */
.catalog-sort-wrap {
  margin-bottom: 24px !important; /* "Filter Category" se pehle neeche gap badhane ke liye */
  gap: 10px !important; /* Label aur select dropdown ke beech gap */
}

.catalog-sort-label {
  margin-right: 12px !important; /* Agar label aur select ek hi line me hain toh right side gap */
}
/* --- Mobile Navigation Drawer Footer & Contact Item Styling --- */
.mobile-nav-footer {
  padding: 16px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  border-top: 1px solid #e2e8f0 !important;
  background-color: #f8fafc !important;
}

.mobile-nav-contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  color: #334155 !important;
  word-break: break-all !important;
}

.mobile-nav-contact-item svg {
  flex-shrink: 0 !important;
  color: #111111 !important;
}
@media (max-width: 768px) {
  .features-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 0 16px 16px 16px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox ke liye scrollbar hide karne ke liye */
  }

  /* Chrome, Safari, Edge ke liye scrollbar hide karne ke liye */
  .features-grid::-webkit-scrollbar {
    display: none;
  }

  .features-grid .feature-box {
    flex: 0 0 85% !important; /* Har box ki width screen ka 85% rahegi */
    scroll-snap-align: start !important;
    min-width: 260px !important;
  }
}
/* Har ek list item ko proper row layout dein */
.about-story-text ul li {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 15px !important;
  align-items: baseline !important;
  margin-bottom: 14px !important;
}

/* Jo bold title hai (jaise 3. Silhouette Balance) usko ek fixed width dein taaki aage wala textoverlap na ho */
.about-story-text ul li strong {
  flex: 0 0 160px !important; /* Isse title ke liye fixed space mil jayegi */
  max-width: 160px !important;
}

.about-story-text ul li {
  display: block !important; /* Flex ki jagah block/grid use karein taaki text overlap na ho */
}

.about-story-text ul li strong {
  display: inline-block;
  min-width: 150px;
  margin-bottom: 4px;
}
/* Title ko single line mein rakhne ke liye */
.about-story-text ul li strong {
  white-space: nowrap !important;
  min-width: max-content !important;
}

/* Ensure karein ki list item proper flex row mein rahe */
.about-story-text ul li {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
}
/* About Story Section Layout */
.about-story-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-story-text .story-lead {
  font-size: 1rem;
  line-height: 1.6;
}

/* Highlight boxes styling for clean structure */
.about-story-text .story-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0;
}

.about-story-text .highlight-item {
  background: rgba(0, 0, 0, 0.02);
  padding: 14px 16px;
  border-left: 3px solid var(--color-primary, #8b263e);
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.about-story-text .highlight-item strong {
  display: inline-block;
  color: var(--color-charcoal-900, #222);
  margin-bottom: 2px;
}

/* Footer / closing paragraph */
.about-story-text .story-footer {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.95;
}