/* ============================================================
   STYLE.CSS — MS LIFESTYLE
   Base styles, design system, components, layout, typography
   ============================================================ */

/* ----- CSS VARIABLES (Design System) ----- */
:root {
  /* Colors – inspired by the uploaded logo (dark charcoal + champagne gold) */
  --color-black: #1a1715;
  --color-charcoal: #22201e;
  --color-graphite: #2c2a28;
  --color-ivory: #f5f1e8;
  --color-off-white: #faf8f3;
  --color-gold: #c9a94a;
  --color-gold-light: #d4b65c;
  --color-gold-dark: #b08f3a;
  --color-white: #ffffff;
  --color-text-primary: #1a1715;
  --color-text-secondary: #4a4540;
  --color-text-light: #7a7470;
  --color-border-light: rgba(201, 169, 74, 0.25);
  --color-shadow: rgba(26, 23, 21, 0.08);
  --color-body-bg: var(--color-off-white);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-base: 16px;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  /* Container */
  --container-max: 1400px;
  --container-padding: 1.5rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-base);
  line-height: var(--line-height-base);
  color: var(--color-text-primary);
  background-color: var(--color-body-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 70px; /* space for mobile bottom nav */
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ----- CONTAINER ----- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ----- TYPOGRAPHY ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--color-text-secondary);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header .section-subtitle {
  max-width: 600px;
  margin: 0 auto;
}

.section-header.light .section-title {
  color: var(--color-white);
}
.section-header.light .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.2rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: var(--transition-smooth);
  min-height: 48px;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-text-primary);
  color: var(--color-white);
}

.btn-gold-outline {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}
.btn-gold-outline:hover,
.btn-gold-outline:focus-visible {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn-sm {
  padding: 0.4rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  min-height: 36px;
}

/* ----- ANNOUNCEMENT BAR ----- */
.announcement-bar {
  background: var(--color-black);
  color: var(--color-gold-light);
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 300;
  border-bottom: 1px solid rgba(201, 169, 74, 0.15);
}

/* ----- HEADER ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 0.6rem 0;
}

.site-header.scrolled {
  background: var(--color-charcoal);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-logo {
  flex-shrink: 0;
}
.logo-img {
  height: 45px;
  width: 45px;          /* Add fixed width equal to height */
  border: 2px solid var(--color-gold);
  border-radius: 50%;   /* Makes it perfectly round */
  object-fit: cover;    /* Ensures the image fills the circle without distortion */
  display: block;
  transition: height 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.desktop-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 2rem;
}
.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-white);
}
.nav-link.active {
  color: var(--color-gold-light);
  border-bottom-color: var(--color-gold-light);
}
.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.8);
}
.scrolled .nav-link:hover,
.scrolled .nav-link:focus-visible {
  color: var(--color-white);
}
.scrolled .nav-link.active {
  color: var(--color-gold-light);
  border-bottom-color: var(--color-gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-action-btn {
  position: relative;
  padding: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
}
.header-action-btn:hover,
.header-action-btn:focus-visible {
  color: var(--color-white);
}
.scrolled .header-action-btn {
  color: rgba(255, 255, 255, 0.8);
}
.scrolled .header-action-btn:hover {
  color: var(--color-white);
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--color-gold);
  color: var(--color-black);
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--font-sans);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-overlay.active {
  visibility: visible;
  opacity: 1;
}
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--color-charcoal);
  padding: 2rem 1.5rem;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav-overlay.active .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-close {
  align-self: flex-end;
  color: var(--color-white);
  padding: 0.5rem;
  margin-bottom: 2rem;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-white);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--color-gold-light);
}
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ----- SEARCH OVERLAY ----- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 23, 21, 0.97);
  z-index: 3000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}
.search-overlay.active {
  visibility: visible;
  opacity: 1;
}
.search-overlay-inner {
  width: 90%;
  max-width: 800px;
  position: relative;
}
.search-close {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--color-white);
  padding: 0.5rem;
}
.search-container {
  margin-top: 2rem;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}
.search-icon {
  color: rgba(255, 255, 255, 0.5);
  margin-right: 0.8rem;
  flex-shrink: 0;
}
#searchInput {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--color-white);
  padding: 0.5rem 0;
  outline: none;
  font-family: var(--font-sans);
}
#searchInput::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.search-clear {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  padding: 0.2rem 0.5rem;
  display: none;
}
.search-clear.visible {
  display: block;
}
.search-results {
  margin-top: 2rem;
  max-height: 60vh;
  overflow-y: auto;
}
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
}
.search-empty {
  display: none;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0;
}
.search-empty p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.search-empty .btn {
  margin-top: 1rem;
}

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 23, 21, 0.7) 0%, rgba(26, 23, 21, 0.3) 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 6rem;
  width: 100%;
}
.hero-text {
  max-width: 700px;
}
.hero-subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
  display: block;
}
.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}
.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ----- CATEGORIES ----- */
.categories {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.category-card {
  position: relative;
  overflow: hidden;
  background: var(--color-off-white);
  transition: var(--transition-smooth);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--color-shadow);
}
.category-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover img {
  transform: scale(1.04);
}
.category-info {
  padding: 1.5rem 1rem 1.8rem;
  text-align: center;
}
.category-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.category-info p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.8rem;
}
.category-info .btn-sm {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  transition: var(--transition-smooth);
}
.category-info .btn-sm:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

/* ----- PRODUCTS SECTION (general) ----- */
.products-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-body-bg);
}
.products-section.dark-section {
  background: var(--color-charcoal);
  color: var(--color-white);
}
.products-section.dark-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.products-section.dark-section .product-card {
  background: var(--color-graphite);
  color: var(--color-white);
}
.products-section.dark-section .product-card .product-name {
  color: var(--color-white);
}
.products-section.dark-section .product-card .product-price {
  color: var(--color-gold-light);
}
.products-section.dark-section .product-card .product-category {
  color: rgba(255, 255, 255, 0.5);
}
.products-section.dark-section .product-card .product-actions .btn-add-cart {
  background: var(--color-gold);
  color: var(--color-black);
}
.products-section.dark-section .product-card .product-actions .btn-add-cart:hover {
  background: var(--color-gold-dark);
  color: var(--color-white);
}
.products-section.dark-section .product-card .product-wishlist-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}
.products-section.dark-section .product-card .product-wishlist-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-gold-light);
}
.products-section.dark-section .product-card .product-wishlist-btn.active {
  color: var(--color-gold-light);
}
.products-section.dark-section .product-quick-view {
  background: rgba(0, 0, 0, 0.8);
  color: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--color-white);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 25px var(--color-shadow);
  transform: translateY(-3px);
}
.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--color-off-white);
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-image-wrap img {
  transform: scale(1.03);
}
.product-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--color-gold);
  color: var(--color-black);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
}
.product-badge.best-seller {
  background: var(--color-black);
  color: var(--color-gold-light);
}
.product-badge.new {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-black);
}
.product-wishlist-btn {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: var(--color-text-secondary);
}
.product-wishlist-btn:hover {
  background: var(--color-white);
  color: var(--color-gold);
}
.product-wishlist-btn.active {
  color: var(--color-gold);
  background: var(--color-white);
}
.product-quick-view {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(26, 23, 21, 0.85);
  color: var(--color-white);
  padding: 0.4rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
  border-radius: 2px;
}
.product-card:hover .product-quick-view {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.product-info {
  padding: 1rem 0.8rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  line-height: 1.3;
}
.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.product-price {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-black);
  margin-bottom: 0.3rem;
}
.product-price .old-price {
  font-weight: 300;
  color: var(--color-text-light);
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-size: 0.9rem;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--color-gold-dark);
  margin-bottom: 0.5rem;
}
.product-rating .stars {
  letter-spacing: 1px;
}
.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.product-actions .btn-add-cart {
  flex: 1;
  background: var(--color-black);
  color: var(--color-white);
  padding: 0.5rem 0.8rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition-smooth);
  border-radius: 0;
}
.product-actions .btn-add-cart:hover {
  background: var(--color-gold);
  color: var(--color-black);
}
.product-actions .btn-wishlist-sm {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.product-actions .btn-wishlist-sm:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.product-actions .btn-wishlist-sm.active {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.section-footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* ----- BRAND STATEMENT ----- */
.brand-statement {
  padding: var(--spacing-xl) 0;
  background: var(--color-ivory);
}
.statement-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.statement-text {
  padding: 1rem 0;
}
.statement-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  display: block;
  margin-bottom: 0.5rem;
}
.statement-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.statement-body {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.7;
}
.statement-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ----- WHY MS LIFESTYLE (dark section) ----- */
.dark-section {
  background: var(--color-charcoal);
  color: var(--color-white);
}
.dark-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.why-ms {
  padding: var(--spacing-xl) 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.why-card {
  text-align: center;
  padding: 1.5rem 1rem;
}
.why-icon {
  font-size: 2.2rem;
  color: var(--color-gold-light);
  margin-bottom: 0.8rem;
  display: block;
  line-height: 1;
}
.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-white);
}
.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}

/* ----- SHOP SECTION (filters + grid) ----- */
.shop-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-body-bg);
}
.shop-filters {
  margin-bottom: 2.5rem;
  background: var(--color-white);
  padding: 1.5rem 1.5rem 0.5rem;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
}
.filter-group {
  flex: 1 1 180px;
  min-width: 140px;
}
.filter-group label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.filter-group select,
.filter-group input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-border-light);
  font-size: 0.9rem;
  background: var(--color-white);
  transition: border 0.2s;
  font-family: var(--font-sans);
}
.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--color-gold);
  outline: none;
}
.filter-search {
  flex: 2 1 220px;
}
.filter-results-count {
  text-align: right;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  padding: 0.8rem 0 0.2rem;
  border-top: 1px solid var(--color-border-light);
  margin-top: 1rem;
}

/* ----- NEWSLETTER (dark) ----- */
.newsletter {
  padding: var(--spacing-xl) 0;
  text-align: center;
}
.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}
.newsletter-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.newsletter-input-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.newsletter-input-group input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 1rem;
  min-height: 48px;
  outline: none;
  transition: border 0.2s;
  font-family: var(--font-sans);
}
.newsletter-input-group input:focus {
  border-color: var(--color-gold);
}
.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-input-group .btn {
  flex-shrink: 0;
}
.newsletter-feedback {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.newsletter-feedback.success {
  color: var(--color-gold-light);
}
.newsletter-feedback.error {
  color: #e07c7c;
}

/* ----- SOCIAL SECTION ----- */
.social-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.social-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.social-grid img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}
.social-cta {
  text-align: center;
}

/* ----- FOOTER ----- */
.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand {
  grid-column: span 1;
}
.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 0.8rem;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-gold-light);
  margin-bottom: 0.3rem;
}
.footer-about {
  font-size: 0.85rem;
  max-width: 280px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--color-gold-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ----- MODALS (generic) ----- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
}
.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.modal-content {
  background: var(--color-white);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--color-text-secondary);
  padding: 0.3rem;
  transition: color 0.2s;
  z-index: 10;
}
.modal-close:hover {
  color: var(--color-black);
}

/* Quick view */
.quick-view-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.quick-view-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.quick-view-info h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.quick-view-info .price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.quick-view-info .description {
  margin: 1rem 0;
  color: var(--color-text-secondary);
}
.quick-view-info .qty-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.quick-view-info .qty-selector button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border-light);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-view-info .qty-selector input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--color-border-light);
  padding: 0.3rem;
  font-size: 1rem;
}
.quick-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.quick-view-actions .btn {
  flex: 1 1 auto;
}

/* Product detail */
.product-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.product-detail-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.product-detail-info h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
}
.product-detail-info .price {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0.5rem 0;
}
.product-detail-info .description {
  margin: 1rem 0;
}
.product-detail-info .specs {
  border-top: 1px solid var(--color-border-light);
  padding-top: 1rem;
  margin-top: 1rem;
}
.product-detail-info .specs p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.2rem;
}
.product-detail-related {
  margin-top: 2rem;
  grid-column: 1 / -1;
}
.product-detail-related h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.product-detail-related .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

/* Checkout */
.checkout-body {
  max-width: 600px;
  margin: 0 auto;
}
.checkout-body h2 {
  font-family: var(--font-serif);
  text-align: center;
  margin-bottom: 1.5rem;
}
.checkout-form .form-group {
  margin-bottom: 1.2rem;
}
.checkout-form label {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}
.checkout-form input,
.checkout-form select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border-light);
  font-size: 1rem;
  background: var(--color-white);
  transition: border 0.2s;
  font-family: var(--font-sans);
}
.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--color-gold);
  outline: none;
}
.checkout-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.checkout-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}
.checkout-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 1rem;
}

/* Order confirmation */
.confirmation-body {
  text-align: center;
  padding: 1rem 0;
}
.confirmation-body .confirmation-icon {
  font-size: 4rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.confirmation-body h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.confirmation-body .order-details {
  background: var(--color-off-white);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
  border-left: 3px solid var(--color-gold);
}
.confirmation-body .order-details p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
.confirmation-body .order-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Track order */
.track-body {
  max-width: 500px;
  margin: 0 auto;
}
.track-body h2 {
  font-family: var(--font-serif);
  text-align: center;
  margin-bottom: 1.5rem;
}
.track-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.track-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border-light);
  font-size: 1rem;
}
.track-form input:focus {
  border-color: var(--color-gold);
  outline: none;
}
.track-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}
.track-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light);
}
.track-step .step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.7rem;
}
.track-step.active .step-icon {
  background: var(--color-gold);
  color: var(--color-black);
}
.track-step .step-label {
  flex: 1;
  font-size: 0.9rem;
}
.track-step .step-status {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ----- CART / WISHLIST DRAWER ----- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.cart-overlay.active {
  visibility: visible;
  opacity: 1;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 440px;
  height: 100%;
  background: var(--color-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
}
.cart-overlay.active .cart-drawer {
  transform: translateX(0);
}
.cart-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}
.cart-close {
  padding: 0.3rem;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  text-align: center;
  padding: 3rem 0;
  color: var(--color-text-secondary);
}
.cart-empty .btn {
  margin-top: 1rem;
}
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border-light);
}
.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item .details {
  flex: 1;
}
.cart-item .details h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.95rem;
}
.cart-item .details .price {
  font-weight: 600;
}
.cart-item .qty-control {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
}
.cart-item .qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border-light);
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item .qty-control span {
  min-width: 24px;
  text-align: center;
}
.cart-item .remove-item {
  color: var(--color-text-light);
  font-size: 0.8rem;
  margin-left: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.cart-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--color-border-light);
  background: var(--color-off-white);
}
.cart-footer .totals {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.cart-footer .btn {
  width: 100%;
}

/* Wishlist drawer uses same styling */

/* ----- MOBILE BOTTOM NAV ----- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.4rem 0;
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-bottom: env(safe-area-inset-bottom, 0.4rem);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.5rem;
  min-width: 50px;
  position: relative;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: var(--font-sans);
}
.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}
.bottom-nav-item span {
  line-height: 1.2;
}
.bottom-nav-item.active {
  color: var(--color-gold-light);
}
.bottom-nav-item .badge-count {
  position: absolute;
  top: -2px;
  right: 0;
  width: 16px;
  height: 16px;
  font-size: 0.5rem;
}
.bottom-nav-item .mobile-badge {
  top: -4px;
  right: 2px;
}

/* ----- TOAST ----- */
.toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  pointer-events: auto;
  animation: slideUp 0.3s ease;
}
.toast.success {
  border-left: 4px solid var(--color-gold);
}
.toast.error {
  border-left: 4px solid #d9534f;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----- SCROLL TOP ----- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 48px;
  height: 48px;
  background: var(--color-charcoal);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  transform: translateY(10px);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

/* ----- REDUCED MOTION (prefers-reduced-motion) ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-scroll-indicator {
    animation: none;
  }
  .product-card:hover .product-image-wrap img {
    transform: none;
  }
  .category-card:hover img {
    transform: none;
  }
  .social-grid img:hover {
    transform: none;
  }
  .product-card:hover {
    transform: none;
  }
  .category-card:hover {
    transform: none;
  }
  .scroll-top {
    transition: opacity 0.2s;
  }
  .cart-drawer {
    transition: transform 0.2s ease;
  }
  .mobile-nav-panel {
    transition: transform 0.2s ease;
  }
  .modal-overlay {
    transition: opacity 0.2s;
  }
}

/* ----- UTILITY ----- */
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 1rem;
}
.mb-1 {
  margin-bottom: 1rem;
}