/* ==========================================================================
   THREADITCH — Affordable Aesthetics
   Core Design System & Global Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Kaushan+Script&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {

  /* Brand Colors */
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-light: #f5f3ff;
  --primary-glow: rgba(124, 58, 237, 0.25);
  
  --accent: #ec4899;
  --dark: #09090b;
  --dark-light: #18181b;
  --dark-surface: #27272a;
  
  --light: #ffffff;
  --bg-subtle: #f8fafc;
  --border: #e2e8f0;
  --border-dark: #27272a;
  
  --text-main: #09090b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-main);
  
  /* Layout & Spacing */
  --container-max: 1360px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-purple: 0 8px 20px rgba(124, 58, 237, 0.2);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.section-title {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--light);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-purple);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--light);
}

.btn-dark:hover {
  background: var(--dark-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.badge-new {
  background: #f59e0b;
  color: #fff;
}

.badge-sale {
  background: #ef4444;
  color: #fff;
}

.badge-custom {
  background: var(--primary);
  color: #fff;
}

.badge-hot {
  background: #ec4899;
  color: #fff;
}

/* Top Announcement Bar */
.topbar {
  background: #09090b;
  color: #f4f4f5;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-links a:hover {
  color: var(--primary-light);
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.mobile-menu-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
}

/* Mobile Navigation Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 4000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: #ffffff;
  z-index: 4500;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-nav-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 0.92rem;
  color: #1e293b;
  border-radius: 8px;
  transition: background 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-link:hover {
  background: #f8fafc;
  color: var(--primary);
}

.mobile-nav-item-dropdown .mobile-sub-menu {
  display: none;
  padding-left: 16px;
  margin-top: 4px;
  margin-bottom: 8px;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-item-dropdown.active .mobile-sub-menu {
  display: flex;
}

.mobile-sub-menu a {
  padding: 8px 12px;
  font-size: 0.85rem;
  color: #64748b;
  border-left: 2px solid #e2e8f0;
  text-decoration: none;
}

.mobile-sub-menu a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
}

.mobile-nav-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.mobile-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 48px;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-logo .brand-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--bg-subtle);
  color: var(--primary);
}

.action-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px 0;
  z-index: 9999;
}

.nav-item.has-mega:hover .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}



.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.2fr;
  gap: 32px;
}

.mega-col-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 700;
}

.mega-links li {
  margin-bottom: 10px;
}

.mega-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: inline-block;
  transition: var(--transition);
}

.mega-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.mega-banner {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  border-radius: var(--radius-md);
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-banner h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* Search Bar Popup */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.search-modal.active {
  display: flex;
}

.search-box-container {
  width: 100%;
  max-width: 680px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 12px;
}

.search-input-wrapper input {
  width: 100%;
  font-size: 1.2rem;
  font-weight: 500;
}

.search-results-dropdown {
  margin-top: 20px;
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.search-result-item:hover {
  background: var(--bg-subtle);
}

.search-result-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
  min-height: 580px;
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 580px;
  background-size: cover;
  background-position: center;
  align-items: center;
}

.hero-slide.active {
  display: flex;
}

.hero-content {
  max-width: 600px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.05;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.hero-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.perk-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.perk-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Category Grid Section */
.category-strip {
  padding: 60px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #e2e8f0;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 60%);
  z-index: 2;
}

.category-card-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.category-card-content h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.category-card-content span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Product Card */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-thumb {
  position: relative;
  aspect-ratio: 1/1.2;
  background: #f8fafc;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-thumb .secondary-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-thumb .secondary-img {
  opacity: 1;
}

.product-card:hover .product-thumb .primary-img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
}

.product-actions-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 4;
}

.card-action-btn {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
  transition: var(--transition);
}

.card-action-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.card-action-btn.active {
  background: #ef4444;
  color: #fff;
}

.quick-add-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: rgba(9, 9, 11, 0.9);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}

.product-card:hover .quick-add-btn {
  transform: translateY(0);
}

.product-info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #f59e0b;
  margin-bottom: 8px;
}

.product-price-wrapper {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.product-price.sale {
  color: var(--primary);
}

.product-price-old {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-light);
}

/* Customizer Banner Promo Section */
.custom-promo-section {
  background: #09090b;
  color: #fff;
  padding: 80px 0;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.custom-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.custom-promo-content h2 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 16px;
}

.custom-promo-content h2 span {
  color: var(--primary);
}

.custom-promo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.promo-step-card {
  background: #18181b;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #27272a;
}

.promo-step-card span {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
}

.promo-step-card h5 {
  color: #fff;
  margin-top: 4px;
  font-size: 0.95rem;
}

/* Collections Grid */
.collections-section {
  padding: 60px 0;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.collection-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
}

.collection-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.collection-content h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

/* Reviews & Testimonials */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg-subtle);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-author-status {
  font-size: 0.75rem;
  color: var(--success);
}

/* Instagram / Social Gallery */
.social-gallery-section {
  padding: 60px 0;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124, 58, 237, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Newsletter */
.newsletter-strip {
  background: #09090b;
  color: #fff;
  padding: 60px 0;
  border-top: 1px solid #27272a;
}

.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 480px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 14px 20px;
  background: #18181b;
  border: 1px solid #27272a;
  color: #fff;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.newsletter-form button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Footer */
.footer {
  background: #09090b;
  color: #a1a1aa;
  padding: 80px 0 30px;
  border-top: 1px solid #27272a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a1a1aa;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: #18181b;
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid #18181b;
  font-size: 0.85rem;
}

/* Mini Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #fff;
  z-index: 3001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  padding: 20px 24px;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-item-row {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 72px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 4px 0;
}

.cart-item-price {
  font-weight: 700;
  color: var(--dark);
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #09090b;
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .collections-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: block; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .custom-promo-grid { grid-template-columns: 1fr; }
  .hero-perks { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-box { flex-direction: column; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-grid { grid-template-columns: 1fr; }
  .hero-perks { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion System & Advanced Animations
   ========================================================================== */

/* Floating Breathing Motion for Hero Visuals */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.45);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgePop {
  0% { transform: scale(0.9); opacity: 0; }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

/* Hero Entrance Classes */
.animate-badge {
  animation: badgePop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-title {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  opacity: 0;
}

.animate-subtitle {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.animate-cta {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
  opacity: 0;
}

.animate-perks {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  opacity: 0;
}

.hero-model-floating {
  animation: floatGentle 4.5s ease-in-out infinite;
  will-change: transform;
}

/* Scroll Reveal Classes (IntersectionObserver) */
.reveal-init {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Interactive Hover Enhancements */
.category-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
}
.category-card:hover img {
  transform: scale(1.06);
}

.product-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px -8px rgba(0, 0, 0, 0.12);
}

.step-card {
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(147, 51, 234, 0.5) !important;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px -10px rgba(124, 58, 237, 0.12);
  border-color: #c4b5fd !important;
}

/* ==========================================================================
   Mini Cart Drawer & Modal Overlays
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: flex-end;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 100001;
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}

.cart-drawer-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
  color: #09090b;
}

.close-cart-drawer {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #64748b;
  transition: color 0.2s ease;
  line-height: 1;
}

.close-cart-drawer:hover {
  color: #09090b;
}

.cart-drawer-content-slot {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px 24px;
  background: #ffffff;
}

/* ==========================================================================
   Typewriter Cursor Animation
   ========================================================================== */
.typewriter-cursor {
  display: inline-block;
  color: #9333ea;
  font-weight: 300;
  font-family: monospace;
  margin-left: 2px;
  animation: cursorBlink 0.75s infinite;
  vertical-align: 2px;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   EDITORIAL CATALOG / LOOKBOOK PRODUCT DETAIL PAGE (EXACT REFERENCE REPLICA)
   ========================================================================== */
.editorial-catalog-wrapper {
  background: #f4f4f5;
  padding: 0 0 80px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #18181b;
}

.editorial-container-wide {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Individual Editorial Section Card — full bleed, no borders */
.editorial-card-section {
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 6px;
  overflow: hidden;
  position: relative;
}

/* Top Spine Header */
.editorial-spine-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #71717a;
  padding: 28px 7vw 0;
}

.editorial-page-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: #a1a1aa;
}

/* Section 1 Hero Canvas — base styles, layout controlled by inline grid */
.editorial-hero-canvas {
  background: #73777d;
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.editorial-hero-title-group {
  z-index: 2;
}

.editorial-hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 6px;
}

.editorial-hero-heading {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
}

.editorial-hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0;
  max-width: 440px;
}

.editorial-hero-visual img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}

/* Color Dot Swatches in Commerce Box */
.color-dot-swatch {
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.color-dot-swatch.active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #09090b;
}

/* Floating White Spec Card */
.editorial-floating-spec {
  position: absolute;
  right: 7vw;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border-radius: 4px;
  padding: 24px 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  min-width: 280px;
  z-index: 4;
}

.floating-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #f4f4f5;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.floating-spec-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #09090b;
}

.floating-spec-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #09090b;
}

.floating-spec-field {
  font-size: 0.75rem;
  color: #71717a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.floating-spec-field strong {
  color: #18181b;
  font-weight: 700;
  display: block;
}

.floating-color-dots {
  display: flex;
  gap: 5px;
}

.floating-color-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Modern Taste 2-Column Story */
.editorial-story-strip {
  padding: 40px 7vw;
  background: #ffffff;
}

.editorial-story-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #18181b;
  margin-bottom: 12px;
}

.editorial-story-body {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #52525b;
  column-count: 2;
  column-gap: 40px;
}

/* ==========================================================================
   SECTION 2: DUAL CATALOG WITH SVG POINTER LINES
   ========================================================================== */
.editorial-dual-block {
  padding: 36px 7vw 48px;
}

.editorial-item-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.editorial-item-divider {
  height: 1px;
  background: #e4e4e7;
  margin: 36px 0;
}

/* SVG Pointer Line Callouts */
.pointer-line-wrap {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pointer-line-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: #71717a;
  font-weight: 600;
  white-space: nowrap;
}

.pointer-line-svg {
  stroke: #71717a;
  stroke-width: 1.2;
  fill: none;
}

.pointer-line-dot {
  fill: #18181b;
}

.editorial-item-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #09090b;
  line-height: 1;
  margin-bottom: 2px;
}

.editorial-item-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.editorial-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-size: 0.75rem;
  color: #71717a;
  line-height: 1.4;
  margin-bottom: 16px;
}

.editorial-specs-grid strong {
  display: block;
  color: #18181b;
  font-weight: 700;
}

/* Macro Swatches */
.editorial-macro-swatches {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.editorial-macro-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #e4e4e7;
  cursor: pointer;
  transition: all 0.25s ease;
}

.editorial-macro-circle:hover, .editorial-macro-circle.active {
  border-color: var(--primary);
  transform: scale(1.12);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary);
}

/* ==========================================================================
   SECTION 3: BEST SELLER COMMERCE
   ========================================================================== */
.editorial-bestseller-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
  padding: 20px 7vw 56px;
}

.bestseller-photo-wrap {
  position: relative;
  background: #fbfbfb;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1/1.05;
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.bestseller-photo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.12));
}

.bestseller-badge-round {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #27272a;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 3;
}

.product-buy-actions-wrapper {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
  width: 100%;
}

.product-qty-control {
  display: flex;
  align-items: center;
}

.product-qty-label {
  display: none;
}

.product-qty-box {
  display: flex;
  align-items: center;
  border: 2px solid #09090b;
  border-radius: 4px;
  padding: 4px 10px;
  background: #ffffff;
  min-width: 105px;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

.product-qty-btn {
  font-weight: 800;
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 8px;
  color: #09090b;
  line-height: 1;
}

.product-qty-input {
  width: 34px;
  text-align: center;
  font-weight: 800;
  border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: #09090b;
  background: transparent;
}

.product-buy-buttons-grid {
  display: flex;
  gap: 10px;
  flex: 1;
}

.catalog-btn-bag {
  background: #09090b !important;
  color: #ffffff !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 14px 22px !important;
  border-radius: 4px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  flex: 1 !important;
}

.catalog-btn-bag:hover {
  background: #27272a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.catalog-btn-buy {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 14px 22px !important;
  border-radius: 4px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  flex: 1 !important;
}

.catalog-btn-buy:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

/* ==========================================================================
   SECTION 4: WARM CAMEL ATELIER
   ========================================================================== */
.editorial-warm-canvas {
  background: #c2b1a1;
  background: linear-gradient(135deg, #c7b8aa 0%, #b8a694 100%);
  position: relative;
  padding: 56px 7vw;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.editorial-warm-heading {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.editorial-warm-photo-wrap img {
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,0.2));
}

.editorial-designer-quote {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  border-left: 2px solid #ffffff;
  padding-left: 16px;
}

/* ==========================================================================
   EDITORIAL LOOKBOOK ANIMATIONS & LUXURY MICRO-INTERACTIONS
   ========================================================================== */

/* Keyframe Animations */
@keyframes softFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes softGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(250%) rotate(25deg); }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(124, 58, 237, 0); }
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Floating Elements */
.anim-floating {
  animation: softFloat 5s ease-in-out infinite;
}

.anim-glow-pulse {
  animation: softGlowPulse 4s ease-in-out infinite;
}

/* Scroll Reveal Classes */
.editorial-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.editorial-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.editorial-reveal-delay-1 { transition-delay: 0.12s; }
.editorial-reveal-delay-2 { transition-delay: 0.24s; }
.editorial-reveal-delay-3 { transition-delay: 0.36s; }

/* Image Hover Zoom Effects */
.editorial-img-zoom-wrap {
  overflow: hidden;
  position: relative;
}

.editorial-img-zoom-wrap img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  will-change: transform;
}

.editorial-img-zoom-wrap:hover img {
  transform: scale(1.045);
}

/* Spec Card Floating Hover Lift */
.editorial-hover-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22) !important;
}

/* Feature Item Row Hover Effect */
.editorial-feature-item {
  transition: transform 0.3s ease, background-color 0.3s ease, border-left-color 0.3s ease;
  border-left: 2px solid transparent;
  padding-left: 12px;
  border-radius: 4px;
}

.editorial-feature-item:hover {
  transform: translateX(8px);
  border-left-color: #7c3aed;
  background-color: rgba(255, 255, 255, 0.03);
}

.editorial-feature-item:hover .feature-icon {
  transform: scale(1.25) rotate(15deg);
  color: #a78bfa !important;
}

.feature-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

/* Interactive Shimmer on Buttons */
.catalog-btn-buy, .catalog-btn-bag {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
}

.catalog-btn-buy::after, .catalog-btn-bag::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 65%
  );
  transform: translateX(-100%) rotate(25deg);
}

.catalog-btn-buy:hover::after, .catalog-btn-bag:hover::after {
  animation: shimmerSweep 1.2s ease-in-out;
}

.catalog-btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
  filter: brightness(1.05);
}

.catalog-btn-bag:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

.catalog-btn-buy:active, .catalog-btn-bag:active {
  transform: translateY(0);
}

/* Swatches Active State Animation */
.color-dot-swatch, .variant-pill {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.color-dot-swatch:hover, .variant-pill:hover {
  transform: scale(1.12);
}

.variant-pill.btn-dark {
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sticky Bottom Purchase Bar (slides up after scrolling past commerce section) */
.editorial-sticky-bar {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 7vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.editorial-sticky-bar.is-visible {
  bottom: 0;
}

/* ==========================================================================
   MASTER FULL-SITE MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS
   ========================================================================== */

/* 1. Global Overflow Protection */
html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* 2. Mobile Menu Toggle & Navigation Drawer */
.mobile-menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-main);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: #ffffff;
  z-index: 4001;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 35px rgba(0,0,0,0.2);
  overflow-y: auto;
}

.mobile-nav-overlay.active + .mobile-nav-drawer,
.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  transition: background 0.2s;
  cursor: pointer;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: #f4f4f5;
}

.mobile-nav-item-dropdown .mobile-sub-menu {
  display: none;
  padding: 6px 0 8px 18px;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-item-dropdown.active .mobile-sub-menu {
  display: flex;
}

.mobile-sub-menu a {
  font-size: 0.84rem;
  color: #52525b;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.mobile-sub-menu a:hover {
  color: var(--primary);
  background: #faf5ff;
}

.mobile-nav-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.mobile-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

/* 3. Responsive Breakpoint for Tablets & Mobile (<= 1024px) */
@media (max-width: 1024px) {
  .mobile-menu-toggle-btn {
    display: flex !important;
  }
  .nav-menu {
    display: none !important;
  }
  .header-wishlist-btn, .header-compare-btn {
    display: none !important;
  }
  .header-main {
    gap: 12px;
  }
}

/* 4. Responsive Breakpoint for Mobile (<= 768px) */
@media (max-width: 768px) {
  /* Topbar */
  .topbar .topbar-links {
    display: none !important;
  }
  .topbar {
    padding: 7px 10px !important;
    font-size: 0.72rem !important;
  }
  .topbar .container {
    justify-content: center !important;
    text-align: center;
    padding: 0 !important;
  }
  .topbar-announcement {
    justify-content: center !important;
    text-align: center;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  /* Header */
  .header-main {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 60px !important;
    padding: 0 !important;
  }
  .mobile-menu-toggle-btn {
    display: flex !important;
    z-index: 5;
  }
  .brand-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    margin: 0 auto !important;
    z-index: 4;
  }
  .brand-logo img {
    height: 34px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
  .nav-menu {
    display: none !important;
  }
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: auto !important;
    z-index: 5;
  }
  .header-wishlist-btn,
  .header-compare-btn {
    display: none !important;
  }
  .action-btn {
    width: 36px !important;
    height: 36px !important;
  }

  /* Home Hero */
  .hero-slider {
    min-height: auto !important;
    padding: 20px 0 35px !important;
    background-position: 62% center !important;
    position: relative !important;
  }
  .hero-content {
    position: relative;
    z-index: 5 !important;
    padding: 20px 0 25px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .hero-main-title {
    font-size: clamp(2rem, 7.5vw, 2.7rem) !important;
    letter-spacing: -1px !important;
    line-height: 1.05 !important;
    margin-bottom: 12px !important;
    color: #09090b !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.85);
  }
  .hero-script-title, #heroTypewriterText {
    font-size: clamp(2.3rem, 8.5vw, 3.2rem) !important;
    line-height: 1.15 !important;
    color: #9333ea !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.85);
  }
  .hero-subtitle-text {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    margin-bottom: 22px !important;
    max-width: 280px !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 0 10px rgba(255, 255, 255, 0.9);
  }
  .hero-btn-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    max-width: 320px !important;
  }
  .hero-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 0.88rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }

  /* Reassurance Bar */
  .home-reassurance-sec {
    margin-top: -20px !important;
    padding: 0 12px !important;
    position: relative;
    z-index: 25;
  }
  .reassurance-pill-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 14px 12px !important;
    border-radius: 18px !important;
    gap: 12px 8px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
  }
  .reassurance-item {
    padding: 0 !important;
    border-left: none !important;
    gap: 8px !important;
  }
  .reassurance-icon {
    width: 36px !important;
    height: 36px !important;
  }
  .reassurance-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
  .reassurance-item strong {
    font-size: 0.74rem !important;
    letter-spacing: 0.3px !important;
  }
  .reassurance-item span {
    font-size: 0.66rem !important;
    line-height: 1.25 !important;
    display: block;
  }

  /* Category Grid */
  .home-category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* Product Grids */
  .product-grid, .home-product-grid, .shop-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .product-card .product-title {
    font-size: 0.82rem !important;
  }

  /* Promo Banner */
  .home-promo-banner-grid {
    grid-template-columns: 1fr !important;
  }
  .promo-content-col {
    padding: 36px 20px !important;
  }
  .promo-heading {
    font-size: 2.2rem !important;
  }
  .promo-steps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
  }
  .promo-image-col {
    min-height: 260px !important;
  }
  .promo-cta-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Reviews & Pillars */
  .home-reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .home-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  /* VIP Insider Box */
  .home-vip-card {
    flex-direction: column !important;
    padding: 30px 20px !important;
    text-align: center !important;
    gap: 20px !important;
  }
  .home-vip-form {
    min-width: 100% !important;
    flex-direction: column !important;
  }

  /* Shop / Catalog Page */
  .mobile-filter-bar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
  }
  .shop-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .shop-sidebar-filter {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    z-index: 3500;
    overflow-y: auto;
    box-shadow: 10px 0 30px rgba(0,0,0,0.25);
  }
  .shop-sidebar-filter.active {
    display: block !important;
  }
  .mobile-filter-close {
    display: block !important;
  }

  /* Product Lookbook 5 Sections */
  .editorial-split-grid, .editorial-hero-canvas {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .editorial-img-zoom-wrap {
    min-height: 380px !important;
    max-height: 440px !important;
    padding: 24px 16px !important;
  }
  .editorial-card-section > div > div:nth-child(2) {
    padding: 28px 16px !important;
  }
  .blueprint-split-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Cart & Checkout */
  .cart-layout-grid, .checkout-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .checkout-box {
    padding: 20px 16px !important;
  }
  .checkout-form-row, .checkout-form-row-3 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .contact-form-row {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   CIRCULAR CATEGORY HEADER STRIP (MATCHING REFERENCE DESIGN)
   ========================================================================== */
.header-category-strip-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  z-index: 95;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-category-strip-scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.header-category-strip-scroll::-webkit-scrollbar {
  display: none;
}

.header-category-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
  padding: 3px 12px 3px 3px;
  border-radius: 50px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.header-category-pill:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.header-category-pill.active {
  background: #faf5ff;
  border-color: #e9d5ff;
}

.header-category-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-category-pill:hover .header-category-circle {
  transform: scale(1.1);
}

.header-category-meta {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-category-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.header-category-pill.active .header-category-name {
  color: var(--primary);
}

.header-category-hot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ec4899;
  display: inline-block;
  animation: liveDotPulse 1.5s infinite;
}

/* ==========================================================================
   SHOP / CATALOG PAGE - BASE DESKTOP
   ========================================================================== */
.mobile-filter-bar {
  display: none;
}

.shop-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.shop-sidebar-filter {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.mobile-filter-close {
  display: none;
}

/* ==========================================================================
   SHOP CATALOG PAGINATION
   ========================================================================== */
.shop-pagination-wrap {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.shop-pagination-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.shop-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  font-family: 'Space Grotesk', var(--font-main);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.shop-page-btn:hover:not(.shop-page-disabled):not(.shop-page-active) {
  background: #faf5ff;
  border-color: #c084fc;
  color: var(--primary);
  transform: translateY(-1px);
}

.shop-page-btn.shop-page-active {
  background: #09090b !important;
  color: #ffffff !important;
  border-color: #09090b !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  cursor: default;
}

.shop-page-btn.shop-page-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.shop-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 42px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================================================
   MOBILE BOTTOM APP-STYLE NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.07);
  z-index: 3000;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px calc(env(safe-area-inset-bottom, 0px));
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #64748b;
  text-decoration: none;
  flex: 1;
  height: 100%;
  transition: all 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}

.mobile-bottom-item:hover, .mobile-bottom-item.active {
  color: var(--primary) !important;
}

.mobile-bottom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.mobile-bottom-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.mobile-bottom-center-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.mobile-bottom-fab {
  position: absolute;
  top: -18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
  border: 3.5px solid #ffffff;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.mobile-bottom-fab:hover, .mobile-bottom-fab:active {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.55);
}

.mobile-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #09090b;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   STOREFRONT PAGES - BASE DESKTOP
   ========================================================================== */
.cart-layout-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: start;
}

.cart-items-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.cart-items-table-wrapper table {
  min-width: 580px;
}

.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.checkout-box {
  padding: 36px;
}

.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-form-row-3 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.track-order-search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 12px;
  align-items: flex-end;
}

.track-status-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  margin: 32px 0;
  position: relative;
}

.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .cart-layout-grid,
  .checkout-layout-grid,
  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 900px) {
  .shop-layout-grid {
    display: block !important;
  }

  .mobile-filter-bar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .shop-sidebar-filter {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    z-index: 5000;
    background: #ffffff;
    padding: 24px;
    overflow-y: auto;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .shop-sidebar-filter.active {
    display: block !important;
  }

  .mobile-filter-close {
    display: block !important;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex !important;
  }
  body {
    padding-bottom: 74px !important;
  }
  .editorial-sticky-bar {
    display: none !important;
  }

  .checkout-form-row,
  .checkout-form-row-3,
  .contact-form-row,
  .about-pillars-grid,
  .track-order-search-grid,
  .account-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .checkout-box {
    padding: 24px 16px !important;
  }

  .cart-items-table-wrapper table th,
  .cart-items-table-wrapper table td {
    padding: 12px 14px !important;
    font-size: 0.82rem !important;
  }

  .account-order-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .account-order-card-right {
    width: 100% !important;
    justify-content: space-between !important;
    text-align: left !important;
  }

  .track-status-timeline {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 8px !important;
  }

  .about-cta-buttons {
    flex-direction: column !important;
    width: 100% !important;
  }
  .about-cta-buttons .btn {
    width: 100% !important;
  }

  /* Product Lookbook 5 Sections */
  .editorial-split-grid, .editorial-hero-canvas {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .editorial-img-zoom-wrap {
    min-height: 380px !important;
    max-height: 440px !important;
    padding: 24px 16px !important;
  }
  .editorial-card-section > div > div:nth-child(2) {
    padding: 28px 16px !important;
  }
  .blueprint-split-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Mobile Product Buy Actions: Quantity Row Above, 2 Buy Buttons in 2-Cols Below */
  .product-buy-actions-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .product-qty-control {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    box-sizing: border-box !important;
  }

  .product-qty-label {
    display: inline-block !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    text-transform: uppercase !important;
    color: #09090b !important;
    letter-spacing: 0.5px !important;
  }

  .product-qty-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1.5px solid #09090b !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    min-width: 110px !important;
    height: 36px !important;
    box-sizing: border-box !important;
  }

  .product-buy-buttons-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .product-buy-buttons-grid .catalog-btn-bag,
  .product-buy-buttons-grid .catalog-btn-buy {
    width: 100% !important;
    flex: 1 1 auto !important;
    padding: 13px 6px !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .shop-pagination-wrap {
    margin-top: 36px !important;
    padding-top: 20px !important;
  }

  .shop-page-btn {
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px !important;
  }
  .checkout-box {
    padding: 18px 12px !important;
  }

  .cart-items-table-wrapper table {
    min-width: 500px;
  }

  .search-box-container {
    width: 95% !important;
    padding: 18px 14px !important;
  }

  .home-pillars-grid {
    grid-template-columns: 1fr !important;
  }
  .category-card span {
    font-size: 0.72rem !important;
    padding: 6px 12px !important;
  }
  .section-header-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .hero-slider {
    background-position: 58% center !important;
  }
}

/* =========================================================================
   HOMEPAGE COLLECTION CAROUSEL / SLIDERS (Men's & Kids Collections)
   ========================================================================= */
.collection-showcase-section {
  padding: 44px 0 20px;
  background: #ffffff;
  position: relative;
}

.collection-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
  gap: 16px;
}

.collection-showcase-title-wrap h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #09090b;
  margin: 0 0 6px;
}

.collection-showcase-title-wrap p {
  color: #71717a;
  font-size: 0.88rem;
  margin: 0;
}

.collection-showcase-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.collection-slider-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #e4e4e7;
  background: #ffffff;
  color: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-slider-nav-btn:hover {
  background: #09090b;
  color: #ffffff;
  border-color: #09090b;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.collection-slider-wrap {
  position: relative;
}

.collection-slider-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  padding-top: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #e4e4e7 transparent;
}

.collection-slider-track::-webkit-scrollbar {
  height: 5px;
}

.collection-slider-track::-webkit-scrollbar-track {
  background: transparent;
}

.collection-slider-track::-webkit-scrollbar-thumb {
  background: #e4e4e7;
  border-radius: 10px;
}

.collection-slider-track::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

.collection-slide-card {
  flex: 0 0 270px;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  text-decoration: none;
  background: #18181b;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.collection-slide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.collection-slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.collection-slide-card:hover img {
  transform: scale(1.07);
}

.collection-slide-card .card-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
  z-index: 1;
}

.collection-slide-card .card-content-slot {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
}

.collection-slide-card .card-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #09090b;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.collection-slide-card:hover .card-btn-pill {
  background: #09090b;
  color: #ffffff;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .collection-showcase-title-wrap h2 {
    font-size: 1.45rem;
  }
  .collection-slide-card {
    flex: 0 0 215px;
    border-radius: 10px;
  }
  .collection-slide-card .card-content-slot {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }
  .collection-slide-card .card-btn-pill {
    font-size: 0.7rem;
    padding: 7px 12px;
  }
  .collection-showcase-controls {
    display: none;
  }
}
