/* ============================================
   NAJAA — Global Stylesheet
   Luxury Modest Swimwear E-Commerce
   ============================================ */

/* ---------- Coming Soon Popup ---------- */
body.popup-active {
  overflow: hidden;
}

.coming-soon-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.coming-soon-overlay.hidden {
  display: none;
}

.coming-soon-popup {
  background: #fff;
  display: flex;
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
}

.coming-soon-image {
  width: 45%;
  flex-shrink: 0;
}

.coming-soon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coming-soon-content {
  flex: 1;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.coming-soon-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--color-dark);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.coming-soon-close:hover {
  opacity: 1;
}

.coming-soon-inner {
  text-align: center;
}

.coming-soon-logo {
  font-family: var(--font-logo);
  font-size: 1.1rem;
  letter-spacing: 6px;
  font-weight: 300;
  color: var(--color-dark);
  margin-bottom: 25px;
}

.coming-soon-subtitle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 20px;
}

.coming-soon-inner h2 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: 15px;
}

.coming-soon-inner p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: 25px;
}

.coming-soon-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
  margin: 0 auto;
}

.coming-soon-form input {
  font-family: var(--font-body);
  font-size: 0.78rem;
  padding: 12px 15px;
  border: 1px solid var(--color-grey-light);
  text-align: center;
  font-weight: 300;
  outline: none;
}

.coming-soon-form input:focus {
  border-color: var(--color-dark);
}

.coming-soon-form button {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  padding: 13px 20px;
  background: var(--color-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.coming-soon-form button:hover {
  opacity: 0.8;
}

.coming-soon-date {
  display: block;
  margin-top: 25px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--color-dark);
  opacity: 0.6;
}

@media (max-width: 768px) {
  .coming-soon-popup {
    flex-direction: column;
    max-height: 95vh;
  }

  .coming-soon-image {
    width: 100%;
    height: 200px;
  }

  .coming-soon-content {
    padding: 25px 20px;
  }

  .coming-soon-logo {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .coming-soon-inner h2 {
    font-size: 1rem;
  }
}

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Josefin+Sans:wght@100;200;300;400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --color-black: #0a0a0a;
  --color-dark: #1a1a1a;
  --color-charcoal: #2d2d2d;
  --color-grey-dark: #555555;
  --color-grey: #888888;
  --color-grey-light: #c4c4c4;
  --color-sand: #d4c5a9;
  --color-gold: #b8964e;
  --color-gold-light: #d4af6e;
  --color-cream: #f5f0e8;
  --color-off-white: #f8f6f2;
  --color-white: #ffffff;
  --color-error: #c0392b;
  --color-success: #27ae60;

  /* Typography */
  --font-logo: 'Josefin Sans', sans-serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --container-width: 1280px;
  --section-padding: 80px 0;
  --header-height: 70px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: var(--section-padding);
}

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.text-gold { color: var(--color-gold); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-grey-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

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

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
}

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

.btn-white {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-white);
}

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

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.announcement-bar span {
  color: var(--color-gold-light);
}

.announcement-bar.hidden {
  transform: translateY(-100%);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* White icons/logo when header is transparent (over hero) */
.header:not(.scrolled) .logo,
.header:not(.scrolled) .hamburger span,
.header:not(.scrolled) .search-icon,
.header:not(.scrolled) .header-icon {
  color: var(--color-white);
}

.header:not(.scrolled) .hamburger span {
  background: var(--color-white);
}

.header:not(.scrolled) .logo a {
  color: var(--color-white);
}

.header:not(.scrolled) svg {
  stroke: var(--color-white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--color-black);
  transition: var(--transition);
}

.hamburger:hover span {
  background: var(--color-gold);
}

.search-icon, .header-icon {
  cursor: pointer;
  color: var(--color-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: opacity 0.3s ease;
}

.search-icon svg {
  width: 17px;
  height: 17px;
}

.search-icon:hover, .header-icon:hover {
  opacity: 0.5;
}

.logo {
  font-family: var(--font-logo);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--color-black);
  text-align: center;
  text-transform: uppercase;
}

.logo a {
  color: inherit;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ---------- Mobile Menu / Sidebar ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -380px;
  width: 380px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 1200;
  transition: var(--transition-slow);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  left: 0;
}

.sidebar-banner {
  text-align: center;
  padding: 20px 20px 15px;
  font-family: var(--font-logo);
  font-size: 1.1rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-grey-light);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 15px 25px;
}

.sidebar-close {
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--color-dark);
}

.sidebar-close:hover {
  color: var(--color-gold);
}

.sidebar-nav {
  flex: 1;
  padding: 10px 30px;
}

.sidebar-nav a {
  display: block;
  padding: 15px 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-off-white);
}

.sidebar-nav a:hover {
  color: var(--color-gold);
  padding-left: 10px;
}

/* ---------- Search Overlay ---------- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

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

.search-overlay-close {
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--color-dark);
  width: 30px;
}

.search-overlay-logo {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-dark);
}

.search-overlay-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--color-dark);
}

.search-overlay-inner {
  padding: 15px 20px;
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-dark);
}

.search-input-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-dark);
}

.search-overlay input {
  width: 100%;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 1px;
  padding: 5px 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-dark);
}

.search-overlay input::placeholder {
  color: var(--color-grey);
  font-weight: 300;
}

.search-input-clear {
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--color-grey);
  flex-shrink: 0;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 700px;
  padding: 0 20px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 300;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-logo);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 200;
  line-height: 1.05;
  margin-bottom: 0;
  letter-spacing: 12px;
  text-transform: uppercase;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-description {
  font-size: 0.95rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 35px;
  line-height: 1.7;
  color: var(--color-white);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Simple text links — no boxes */
.hero-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.hero-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--color-white);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: var(--transition);
}

.hero-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .subtitle {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-header h2 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 15px;
}

.section-header p {
  max-width: 550px;
  margin: 0 auto;
}

/* ---------- Product Card ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 15px;
  padding: 0 10px;
}

.product-card {
  position: relative;
  cursor: pointer;
}

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-off-white);
  margin-bottom: 15px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-card-image .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .product-card-image .img-hover {
  opacity: 1;
}

.product-quick-add {
  display: none;
}

.product-card-info {
  text-align: center;
}

.product-card-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  color: var(--color-dark);
}

.product-card-price {
  display: none;
}

.product-card-colors {
  display: none;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--color-grey-light);
  cursor: pointer;
  transition: var(--transition);
}

.color-dot:hover,
.color-dot.active {
  border-color: var(--color-black);
  transform: scale(1.15);
}

/* ---------- Two Cards Grid ---------- */
.two-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ---------- Summer Collection Section ---------- */
.summer-collection-section {
  text-align: center;
}

.summer-collection-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.summer-collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summer-collection-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,0.4));
}

.summer-collection-text h2 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.summer-collection-text .hero-link {
  color: #fff;
}

.summer-collection-text .hero-link::after {
  background: #fff;
}

/* ---------- Shop The Look ---------- */
.shop-look-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shop-look-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}

.shop-look-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.shop-look-item:hover img {
  transform: scale(1.05);
}

.shop-look-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 25px;
  transition: var(--transition);
}

.shop-look-item:hover .shop-look-overlay {
  background: rgba(0, 0, 0, 0.25);
}

.shop-look-btn {
  background: var(--color-white);
  color: var(--color-black);
  padding: 10px 25px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.shop-look-item:hover .shop-look-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- About Preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview-content .subtitle {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: 500;
}

.about-preview-content h2 {
  margin-bottom: 20px;
}

.about-preview-content p {
  margin-bottom: 25px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--color-off-white);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 10px;
}

.newsletter p {
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border-bottom: 1px solid var(--color-black);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 0;
  font-size: 0.85rem;
  background: transparent;
  letter-spacing: 1px;
}

.newsletter-form input::placeholder {
  color: var(--color-grey);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.newsletter-form button {
  padding: 12px 20px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-black);
}

.newsletter-form button:hover {
  color: var(--color-gold);
}

/* ---------- Footer ---------- */
.footer {
  background: #fff;
  color: var(--color-dark);
  padding: 60px 0 30px;
  border-top: 1px solid var(--color-grey-light);
}

.footer-top {
  margin-bottom: 50px;
}

.footer-brand .logo {
  color: var(--color-dark);
  font-size: 1.6rem;
  letter-spacing: 8px;
  margin-bottom: 30px;
  text-align: left;
}

.footer-newsletter-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-dark);
  padding-bottom: 8px;
  max-width: 500px;
}

.footer-newsletter-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  border: none;
  outline: none;
  background: transparent;
  padding: 5px 0;
  color: var(--color-dark);
}

.footer-newsletter-form input::placeholder {
  color: var(--color-grey);
}

.footer-newsletter-form button {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--color-dark);
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.82rem;
  color: var(--color-dark);
  font-weight: 300;
}

.footer-col a:hover {
  opacity: 0.5;
}

.footer-bottom {
  border-top: 1px solid var(--color-grey-light);
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--color-dark);
  font-weight: 300;
}

.footer-bottom-social {
  display: flex;
  gap: 20px;
}

.footer-bottom-social a {
  font-size: 0.75rem;
  color: var(--color-dark);
  font-weight: 300;
}

.footer-bottom-social a:hover {
  opacity: 0.5;
}

/* ---------- Cart Drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  max-width: 90vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 1200;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  border-bottom: 1px solid var(--color-off-white);
}

.cart-drawer-header h3 {
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.cart-drawer-close {
  font-size: 1.3rem;
  cursor: pointer;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-off-white);
}

.cart-item-image {
  width: 90px;
  height: 120px;
  background: var(--color-off-white);
  flex-shrink: 0;
  overflow: hidden;
}

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

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 0.78rem;
  color: var(--color-grey);
  margin-bottom: 10px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.cart-item-qty span {
  font-size: 0.85rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--color-dark);
}

.cart-item-remove {
  font-size: 0.75rem;
  color: var(--color-grey);
  text-decoration: underline;
  cursor: pointer;
  margin-top: 5px;
}

.cart-item-remove:hover {
  color: var(--color-error);
}

.cart-drawer-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--color-off-white);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.cart-subtotal-label {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.78rem;
}

.cart-shipping-note {
  font-size: 0.78rem;
  color: var(--color-grey);
  margin-bottom: 15px;
}

.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cart-checkout-btn:hover {
  background: var(--color-gold);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-grey);
}

.cart-empty svg {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.cart-empty p {
  margin-bottom: 20px;
}

/* ---------- Product Page ---------- */
.product-page {
  margin-top: calc(var(--header-height) + 40px);
  padding: 40px 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 60px);
}

.product-gallery-main {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-off-white);
  margin-bottom: 10px;
  cursor: zoom-in;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.product-gallery-thumb {
  width: 80px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: var(--transition);
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  border-color: var(--color-black);
  opacity: 1;
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 20px 0;
}

.product-info .breadcrumb {
  font-size: 0.78rem;
  color: var(--color-grey);
  margin-bottom: 20px;
}

.product-info .breadcrumb a:hover {
  color: var(--color-gold);
}

.product-info h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 25px;
  font-weight: 400;
}

.product-colors-section,
.product-size-section {
  margin-bottom: 25px;
}

.product-option-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.product-colors {
  display: flex;
  gap: 10px;
}

.product-color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.product-color-swatch.active {
  border-color: var(--color-black);
}

.product-color-swatch::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid var(--color-white);
}

.product-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-size-btn {
  min-width: 48px;
  padding: 10px 16px;
  border: 1px solid var(--color-grey-light);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.product-size-btn:hover {
  border-color: var(--color-black);
}

.product-size-btn.active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.product-size-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.size-guide-link {
  font-size: 0.78rem;
  color: var(--color-grey);
  text-decoration: underline;
  margin-top: 10px;
  display: inline-block;
  cursor: pointer;
}

.product-add-to-cart {
  width: 100%;
  padding: 16px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  margin: 25px 0;
  cursor: pointer;
  transition: var(--transition);
}

.product-add-to-cart:hover {
  background: var(--color-gold);
}

/* Product Tabs */
.product-tabs {
  margin-top: 30px;
  border-top: 1px solid var(--color-off-white);
}

.product-tab-header {
  display: flex;
  border-bottom: 1px solid var(--color-off-white);
}

.product-tab-btn {
  padding: 15px 20px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-grey);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.product-tab-btn.active {
  color: var(--color-black);
}

.product-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-black);
}

.product-tab-content {
  padding: 25px 0;
  display: none;
}

.product-tab-content.active {
  display: block;
}

.product-tab-content p {
  margin-bottom: 10px;
}

/* ---------- Complete The Look ---------- */
.complete-look {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-off-white);
}

/* ---------- Collection Page ---------- */
.collection-page {
  margin-top: calc(var(--header-height) + 38px);
}

.collection-hero {
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-off-white);
  position: relative;
  overflow: hidden;
}

.collection-hero-bg {
  position: absolute;
  inset: 0;
}

.collection-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
}

.collection-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 8px;
  text-transform: uppercase;
  font-weight: 300;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-off-white);
  margin-bottom: 40px;
}

.collection-count {
  font-size: 0.8rem;
  color: var(--color-grey);
}

.collection-sort select {
  padding: 8px 30px 8px 12px;
  border: 1px solid var(--color-grey-light);
  font-size: 0.8rem;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23555' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
  letter-spacing: 1px;
}

/* ---------- Checkout Page ---------- */
.checkout-page {
  margin-top: calc(var(--header-height) + 38px);
  padding: 40px 0 80px;
  min-height: 80vh;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.checkout-section {
  margin-bottom: 35px;
}

.checkout-section h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-off-white);
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 6px;
  font-weight: 400;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-grey-light);
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-black);
}

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

/* Order Summary */
.order-summary {
  background: var(--color-off-white);
  padding: 30px;
  position: sticky;
  top: calc(var(--header-height) + 60px);
}

.order-summary h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-grey-light);
}

.order-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.order-item-img {
  width: 60px;
  height: 75px;
  background: var(--color-white);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.order-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-qty-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: var(--color-grey);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item-info {
  flex: 1;
}

.order-item-name {
  font-size: 0.82rem;
  margin-bottom: 3px;
}

.order-item-variant {
  font-size: 0.75rem;
  color: var(--color-grey);
}

.order-item-price {
  font-size: 0.85rem;
  white-space: nowrap;
}

.order-totals {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--color-grey-light);
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
}

.order-total-row.total {
  font-weight: 600;
  font-size: 1rem;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--color-grey-light);
}

#stripe-card-element {
  padding: 14px;
  border: 1px solid var(--color-grey-light);
  background: var(--color-white);
  transition: var(--transition);
}

#stripe-card-element:focus-within,
#stripe-card-element.StripeElement--focus {
  border-color: var(--color-black);
}

.checkout-pay-btn {
  width: 100%;
  padding: 16px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 25px;
  cursor: pointer;
  transition: var(--transition);
}

.checkout-pay-btn:hover {
  background: var(--color-gold);
}

.checkout-pay-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Info Pages ---------- */
.info-page {
  margin-top: calc(var(--header-height) + 38px);
  padding: 60px 0 80px;
}

.info-page-header {
  text-align: center;
  margin-bottom: 50px;
}

.info-page-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.info-content {
  max-width: 750px;
  margin: 0 auto;
}

.info-content h2 {
  font-size: 1.3rem;
  margin: 30px 0 12px;
}

.info-content p {
  margin-bottom: 15px;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--color-off-white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  color: var(--color-dark);
}

.faq-question span {
  font-size: 1.2rem;
  transition: var(--transition);
}

.faq-question.active span {
  transform: rotate(45deg);
}

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

.faq-answer p {
  padding-bottom: 20px;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-grey-light);
  font-size: 0.9rem;
  min-height: 150px;
  resize: vertical;
  transition: var(--transition);
  font-family: var(--font-body);
}

.contact-form textarea:focus {
  border-color: var(--color-black);
}

/* ---------- Image Zoom Modal ---------- */
.zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: zoom-out;
}

.zoom-modal.active {
  opacity: 1;
  visibility: visible;
}

.zoom-modal img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.zoom-modal-close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-black);
  color: var(--color-white);
  padding: 15px 25px;
  font-size: 0.82rem;
  letter-spacing: 1px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left: 3px solid var(--color-success);
}

/* ---------- Loading Spinner ---------- */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — Mobile-First iPhone Optimized
   ============================================ */

/* --- iOS Safari Fixes --- */
html {
  -webkit-text-size-adjust: 100%;
}

/* Fix iOS input zoom — inputs below 16px trigger auto-zoom on iPhone */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Safe area support for iPhone notch / home bar */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom {
    padding-bottom: calc(25px + env(safe-area-inset-bottom));
  }
  .cart-drawer-footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .checkout-pay-btn {
    margin-bottom: env(safe-area-inset-bottom);
  }
  .sidebar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
  .container { padding: 0 25px; }
  .product-layout { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .about-preview { gap: 40px; }
}

/* --- Mobile (768px) — General --- */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
    --section-padding: 45px 0;
  }

  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }

  /* Announcement bar */
  .announcement-bar {
    font-size: 0.6rem;
    padding: 7px 16px;
    letter-spacing: 1px;
  }

  /* Header */
  .logo {
    font-size: 1.2rem;
    letter-spacing: 6px;
  }

  .header-left { gap: 12px; }
  .header-right { gap: 4px; }

  .search-icon, .header-icon {
    width: 40px;
    height: 40px;
    -webkit-tap-highlight-color: transparent;
  }

  .hamburger {
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
  }

  /* Hero */
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 500px;
    margin-top: 0;
  }

  .hero-subtitle {
    font-size: 0.65rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
    letter-spacing: 10px;
    margin-bottom: 0;
  }

  .hero-links {
    gap: 25px;
    margin-top: 25px;
  }

  .hero-link {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }

  /* Buttons — larger touch targets */
  .btn {
    padding: 15px 30px;
    font-size: 0.75rem;
    min-height: 48px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 30px;
  }

  .section-header .subtitle {
    font-size: 0.68rem;
    letter-spacing: 3px;
  }

  .section-header p {
    font-size: 0.88rem;
    padding: 0 10px;
  }

  /* Product grid */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 8px;
    padding: 0 10px;
  }

  .product-card-image {
    margin-bottom: 10px;
  }

  /* Show quick-add always on mobile (no hover) */
  .product-quick-add {
    transform: translateY(0);
    padding: 10px;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    background: rgba(0, 0, 0, 0.7);
  }

  .product-card-name {
    font-size: 0.78rem;
    letter-spacing: 0.5px;
  }

  .product-card-price {
    font-size: 0.78rem;
  }

  .product-card-colors {
    margin-top: 8px;
    gap: 5px;
  }

  .color-dot {
    width: 12px;
    height: 12px;
  }

  /* Shop The Look */
  .shop-look-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .shop-look-grid .shop-look-item:nth-child(3) {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
  }

  /* Show button always on mobile (no hover) */
  .shop-look-btn {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.65rem;
    padding: 8px 16px;
  }

  .shop-look-overlay {
    background: rgba(0, 0, 0, 0.15);
    padding: 15px;
  }

  /* Collection Banner */
  .collection-banner {
    height: 55vh;
    min-height: 350px;
  }

  .collection-banner-content h2 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    letter-spacing: 4px;
  }

  /* About preview */
  .about-preview {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-preview-image {
    aspect-ratio: 16/10;
  }

  .about-preview-content p {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
    border-bottom: none;
    gap: 12px;
    max-width: 100%;
  }

  .newsletter-form input {
    border-bottom: 1px solid var(--color-black);
    padding: 14px 0;
    text-align: center;
  }

  .newsletter-form button {
    padding: 14px 20px;
    background: var(--color-black);
    color: var(--color-white);
    min-height: 48px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-brand .logo {
    font-size: 1.3rem;
    text-align: left;
  }

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

  .footer-col h4 {
    font-size: 0.65rem;
    margin-bottom: 12px;
  }

  .footer-col a {
    font-size: 0.78rem;
    padding: 4px 0;
  }

  .footer-bottom {
    gap: 8px;
  }

  /* --- Product Page Mobile --- */
  .product-page {
    margin-top: calc(var(--header-height) + 34px);
    padding: 0 0 40px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-gallery {
    position: relative;
    top: 0;
  }

  .product-gallery-main {
    aspect-ratio: 3/4;
    margin-bottom: 8px;
    border-radius: 0;
  }

  .product-gallery-thumbs {
    padding: 0 16px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .product-gallery-thumb {
    width: 60px;
    height: 75px;
  }

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

  .product-info h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .product-price {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .product-color-swatch {
    width: 34px;
    height: 34px;
  }

  .product-sizes {
    gap: 6px;
  }

  .product-size-btn {
    min-width: 50px;
    padding: 12px 14px;
    font-size: 0.82rem;
    min-height: 44px;
  }

  .product-add-to-cart {
    padding: 18px;
    font-size: 0.82rem;
    min-height: 52px;
    letter-spacing: 2px;
    margin: 20px 0;
    border-radius: 0;
    /* Sticky add to cart on mobile */
    position: sticky;
    bottom: 0;
    z-index: 50;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  /* Product tabs — accordion style on mobile */
  .product-tab-header {
    flex-wrap: wrap;
    gap: 0;
  }

  .product-tab-btn {
    padding: 12px 14px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    flex: 1;
    text-align: center;
    min-height: 44px;
  }

  .product-tab-content {
    padding: 18px 0;
  }

  /* Complete the look */
  .complete-look {
    padding: 30px 16px 0;
    margin-top: 20px;
  }

  /* --- Collection Page Mobile --- */
  .collection-page {
    margin-top: calc(var(--header-height) + 34px);
  }

  .collection-hero {
    height: 30vh;
    min-height: 200px;
  }

  .collection-hero-content h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    letter-spacing: 4px;
  }

  .collection-toolbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px;
  }

  .collection-count {
    font-size: 0.75rem;
  }

  .collection-sort select {
    font-size: 0.75rem;
    padding: 8px 25px 8px 10px;
    min-height: 36px;
  }

  /* --- Checkout Mobile --- */
  .checkout-page {
    margin-top: calc(var(--header-height) + 10px);
    padding: 20px 0 40px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Move order summary above form on mobile */
  .checkout-layout > div:last-child {
    order: -1;
  }

  .order-summary {
    position: relative;
    top: 0;
    padding: 20px;
  }

  .checkout-section {
    margin-bottom: 25px;
  }

  .checkout-section h3 {
    font-size: 0.75rem;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

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

  .form-group input,
  .form-group select {
    padding: 14px;
    border-radius: 0;
    -webkit-appearance: none;
  }

  .checkout-pay-btn {
    padding: 18px;
    min-height: 52px;
    font-size: 0.78rem;
  }

  /* --- Cart Drawer Mobile --- */
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
    right: -100vw;
  }

  .cart-drawer-header {
    padding: 16px 20px;
  }

  .cart-drawer-items {
    padding: 16px 20px;
  }

  .cart-item-image {
    width: 75px;
    height: 100px;
  }

  .cart-drawer-footer {
    padding: 16px 20px;
  }

  .cart-checkout-btn {
    padding: 16px;
    min-height: 52px;
  }

  /* --- Sidebar Mobile --- */
  .sidebar {
    width: 100vw;
    max-width: 100vw;
    left: -100vw;
  }

  .sidebar-nav a {
    padding: 18px 0;
    font-size: 0.88rem;
    letter-spacing: 2px;
    min-height: 54px;
    display: flex;
    align-items: center;
  }

  /* --- Info Pages Mobile --- */
  .info-page {
    margin-top: calc(var(--header-height) + 34px);
    padding: 35px 0 50px;
  }

  .info-page-header {
    margin-bottom: 30px;
  }

  .info-page-header h1 {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }

  .info-content h2 {
    font-size: 1.15rem;
    margin: 25px 0 10px;
  }

  .info-content p {
    font-size: 0.88rem;
  }

  /* FAQ */
  .faq-question {
    padding: 18px 0;
    font-size: 0.88rem;
    min-height: 54px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  /* Search Overlay */
  .search-overlay-header {
    padding: 15px 16px;
  }

  .search-overlay-logo {
    font-size: 1rem;
    letter-spacing: 5px;
  }

  .search-overlay-inner {
    padding: 12px 16px;
  }

  /* Toast on mobile */
  .toast {
    bottom: 20px;
    right: 16px;
    left: 16px;
    text-align: center;
    font-size: 0.8rem;
  }

  /* Zoom modal */
  .zoom-modal img {
    max-width: 100%;
    max-height: 85vh;
  }

  .zoom-modal-close {
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
}

/* --- Small Phones (390px and below — iPhone SE, Mini) --- */
@media (max-width: 390px) {
  .container { padding: 0 14px; }
  .header-inner { padding: 0 14px; }

  .logo { font-size: 1.1rem; letter-spacing: 5px; }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    letter-spacing: 8px;
  }

  .hero-description {
    font-size: 0.82rem;
  }

  .hero-buttons .btn {
    width: 90%;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 6px;
    padding: 0 8px;
  }

  .product-card-name { font-size: 0.65rem; }
  .product-card-price { font-size: 0.72rem; }
  .product-card-image { margin-bottom: 8px; }

  .product-info h1 {
    font-size: 1.4rem;
  }

  .product-size-btn {
    min-width: 44px;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .section-header h2 {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

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

  .footer-newsletter-form {
    max-width: 100%;
  }
}

/* --- iPhone Pro Max / Large phones (430px+) --- */
@media (min-width: 431px) and (max-width: 768px) {
  .products-grid {
    gap: 16px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.2rem);
  }
}

/* --- Landscape mode on phones --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    display: none;
  }

  .collection-banner {
    height: 100vh;
    height: 100svh;
  }
}

/* --- Touch device optimizations --- */
@media (hover: none) and (pointer: coarse) {
  /* Remove all hover effects on touch devices */
  .product-card:hover .product-card-image img {
    transform: none;
  }

  .shop-look-item:hover img {
    transform: none;
  }

  .shop-look-item:hover .shop-look-overlay {
    background: rgba(0, 0, 0, 0.15);
  }

  /* Active states instead of hover */
  .btn:active {
    opacity: 0.8;
    transform: scale(0.98);
  }

  .product-card:active .product-card-image img {
    transform: scale(1.02);
  }

  .product-size-btn:active {
    background: var(--color-off-white);
  }

  .sidebar-nav a:active {
    background: var(--color-off-white);
  }

  .faq-question:active {
    background: var(--color-off-white);
  }

  /* Prevent tap highlight flash */
  a, button, .hamburger, .search-icon, .header-icon,
  .product-card, .shop-look-item, .color-dot,
  .product-size-btn, .product-color-swatch {
    -webkit-tap-highlight-color: transparent;
  }

  /* Disable smooth scroll for better mobile perf */
  .product-gallery-thumbs {
    scroll-snap-type: x mandatory;
  }

  .product-gallery-thumb {
    scroll-snap-align: start;
  }
}

/* --- Prefers reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   PREMIUM EFFECTS — NAJAA Luxury Enhancements
   ============================================ */

/* ---------- Intro Loader ---------- */
body.loading {
  overflow: hidden;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-loader-text {
  display: flex;
  gap: 8px;
}

.intro-loader-text span {
  font-family: var(--font-logo);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 200;
  letter-spacing: 12px;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(20px);
  animation: loaderLetterIn 0.5s ease forwards;
}

.intro-loader-text span:nth-child(1) { animation-delay: 0.1s; }
.intro-loader-text span:nth-child(2) { animation-delay: 0.2s; }
.intro-loader-text span:nth-child(3) { animation-delay: 0.3s; }
.intro-loader-text span:nth-child(4) { animation-delay: 0.4s; }
.intro-loader-text span:nth-child(5) { animation-delay: 0.5s; }

@keyframes loaderLetterIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-loader-line {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  animation: loaderLine 0.8s ease 0.7s forwards;
}

@keyframes loaderLine {
  to {
    transform: scaleX(1);
  }
}

/* ---------- Parallax Hero ---------- */
.hero-media img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ---------- Enhanced Scroll Reveal ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered product cards animation */
.products-grid .product-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.products-grid.visible .product-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.products-grid.visible .product-card:nth-child(1) { transition-delay: 0s; }
.products-grid.visible .product-card:nth-child(2) { transition-delay: 0.15s; }
.products-grid.visible .product-card:nth-child(3) { transition-delay: 0.3s; }

.two-cards-grid .product-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.two-cards-grid.visible .product-card:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.two-cards-grid.visible .product-card:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }

/* ---------- Enhanced Product Card Hover ---------- */
.product-card {
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card-image {
  overflow: hidden;
  position: relative;
}

.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.product-card:hover .product-card-image::after {
  background: rgba(0, 0, 0, 0.05);
}

.product-card-image img {
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover .product-card-image img {
  transform: scale(1.08) !important;
}

/* ---------- Gold Accent Highlights ---------- */
.hero-subtitle {
  color: var(--color-gold-light) !important;
}

.hero-link:hover {
  color: var(--color-gold-light) !important;
}

.hero-link::after {
  transition: background 0.3s ease, transform 0.3s ease;
  transform-origin: left;
}

.hero-link:hover::after {
  background: var(--color-gold-light) !important;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: 15px auto 0;
}

/* Gold line under footer brand */
.footer-brand .logo::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--color-gold);
  margin-top: 12px;
}

/* ---------- Smooth Page Transitions ---------- */
.hero-content {
  animation: heroContentIn 1.2s ease 1.8s both;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Summer Collection Enhanced Hover ---------- */
.summer-collection-image img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.summer-collection-image:hover img {
  transform: scale(1.05);
}

.summer-collection-text {
  transition: padding-bottom 0.4s ease;
}

.summer-collection-image:hover .summer-collection-text {
  padding-bottom: 55px;
}

/* --- Dark mode support (optional) --- */
@media (prefers-color-scheme: dark) {
  /* Only activate if user has class on body */
}

/* ╔══════════════════════════════════════════════╗
   ║  NAJAA × MERRACHI — COUCHE FINALE CONSOLIDÉE  ║
   ╚══════════════════════════════════════════════╝ */

/* ---------- Design system global ---------- */
:root {
  --color-black: #2A2A2A;
  --color-dark: #2A2A2A;
  --color-charcoal: #2A2A2A;
  --color-grey-dark: #645B57;
  --color-off-white: #F7F7F7;
}

body {
  background: #FCFCFC;
  color: #2A2A2A;
  font-size: 12px;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: normal;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 130%;
  letter-spacing: normal;
}

h1, .h1, h2, .h2 { font-size: 16px; }
h3, .h3, h4, .h4 { font-size: 14px; }

/* ---------- Header ---------- */
.header { top: 0; }

.logo { font-weight: 300; }

.header .logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .logo-svg {
  display: block;
  height: 20px;
  width: auto;
  stroke: currentColor;
  stroke-width: 7;
}

.hamburger {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  gap: 0;
}

.hamburger svg { display: block; width: 21px; height: 14px; stroke-width: 1.1; }
.hamburger:hover { opacity: 0.5; }
.search-icon svg { width: 19px; height: 19px; stroke-width: 1.6; }
.header-icon svg { width: 20px; height: 20px; stroke-width: 1.6; }
.header-left { gap: 22px; }
.header-right { gap: 14px; }

/* Liens texte desktop (Merrachi) */
.header-nav-desktop { display: none; }
.header-link-desktop { display: none; }

@media (min-width: 992px) {
  .hamburger,
  .header-left .search-icon,
  .header-right .header-icon { display: none; }

  .header-nav-desktop { display: flex; align-items: center; gap: 28px; }

  .header-nav-desktop a {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: normal;
    color: #2A2A2A;
    transition: opacity 0.3s ease;
  }

  .header-nav-desktop a:hover { opacity: 0.6; }

  .header-right { gap: 28px; }

  .header-link-desktop {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #2A2A2A;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }

  .header-link-desktop:hover { opacity: 0.6; }

  .header-inner { height: 64px; padding: 0 24px; }
}

.header:not(.scrolled) .header-nav-desktop a,
.header:not(.scrolled) .header-link-desktop { color: #fff; }

/* ---------- Hero ---------- */
.hero-title {
  font-family: var(--font-logo);
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  font-weight: 200;
  letter-spacing: 12px;
  color: #fff;
}

.hero-subtitle {
  color: #fff !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-link { font-size: 12px; font-weight: 500; letter-spacing: normal; }

/* ---------- Boutons ---------- */
.btn, .product-add-to-cart, .checkout-pay-btn, .cart-checkout-btn,
.footer-newsletter-form button, .coming-soon-form button {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: normal;
}

/* ---------- Grille boutique (Merrachi : pleine largeur, 4px) ---------- */
.products-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0;
}

.product-card-info { padding: 8px 12px 0; }

.product-card-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: normal;
  text-align: left;
}

.product-card-price { font-size: 12px; font-weight: 500; }
.product-quick-add { font-size: 10px; letter-spacing: normal; }

/* ---------- Tuiles accueil ---------- */
.home-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px 20px;
}

.home-tile { display: block; }

.home-tile-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-off-white);
  margin-bottom: 14px;
}

.home-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-tile:hover .home-tile-image img { transform: scale(1.06); }

.home-tile-label {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* ---------- Bandeau collection sticky (Merrachi) ---------- */
.collection-page { margin-top: var(--header-height); }

.collection-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  background: #F0EEEE;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 24px;
  margin-bottom: 24px;
}

.collection-bar h1 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.collection-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.collection-count { font-size: 11px; color: #645B57; }

.collection-bar .collection-sort select {
  font-size: 11px;
  font-weight: 500;
  background: transparent;
  border: none;
  padding: 4px 18px 4px 4px;
  cursor: pointer;
}

/* ---------- Page produit ---------- */
.product-page { margin-top: calc(var(--header-height) + 18px); }
.product-info h1 { font-size: 14px; }
.product-price { font-size: 12px; font-weight: 500; }
.product-info .breadcrumb { font-size: 10px; }
.product-option-label { font-size: 10px; letter-spacing: 0.5px; }
.product-size-btn { font-size: 11px; font-weight: 500; }
.size-guide-link { font-size: 11px; }

/* Accordéons (Merrachi) */
.product-accordions { margin-top: 25px; border-top: 1px solid rgba(0,0,0,0.1); }

.product-accordion { border-bottom: 1px solid rgba(0,0,0,0.1); }

.product-accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.product-accordion summary::-webkit-details-marker { display: none; }

.product-accordion-icon {
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.product-accordion[open] .product-accordion-icon { transform: rotate(45deg); }

.product-accordion-body { padding: 0 0 14px; }

.product-accordion-body p {
  font-size: 12px;
  line-height: 150%;
  margin-bottom: 8px;
}

/* ---------- Pages info / panier ---------- */
.info-page, .cart-page { margin-top: calc(var(--header-height) + 18px); }
.checkout-page { margin-top: calc(var(--header-height) + 10px); }
.info-content p, .info-content li { font-size: 12px; line-height: 150%; }
.info-page-header h1 { font-size: 16px; letter-spacing: normal; }
.faq-question { font-size: 12px; font-weight: 500; }
.cart-page-title { font-size: 16px; }
.cart-empty-state p { font-size: 12px; }
.cart-continue { font-size: 12px; }
.cart-item-name { font-size: 12px; font-weight: 500; }
.cart-item-variant { font-size: 11px; }
.cart-subtotal-label, .cart-subtotal-value { font-size: 12px; font-weight: 500; }
.cart-shipping-note { font-size: 10px; }
.collection-toolbar { display: none; }

/* ---------- Footer (Merrachi) ---------- */
.footer { background: #FCFCFC; border-top: 1px solid rgba(0,0,0,0.08); padding: 45px 0 25px; }
.footer-brand .logo { margin-bottom: 25px; }
.footer-brand .logo::after { display: none; }
.footer-logo-svg { height: 16px; width: auto; display: block; stroke-width: 7; }
.footer-col h4 { font-size: 10px; letter-spacing: 0.5px; color: #645B57; }
.footer-col a { font-size: 12px; font-weight: 500; }
.footer-newsletter-title { font-size: 12px; font-weight: 500; }
.footer-bottom { font-size: 10px; }
.footer-bottom-social a { font-size: 10px; }

/* ---------- Sidebar (final validé) ---------- */
.sidebar { background: #f7f6f2; display: flex; flex-direction: column; }

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-header-group { display: flex; align-items: center; gap: 16px; }

.sidebar-header-group a, .sidebar-search {
  display: flex;
  align-items: center;
  color: var(--color-dark);
  cursor: pointer;
}

.sidebar-close { font-size: 1.05rem; padding: 4px; }
.sidebar-logo { color: var(--color-dark); display: flex; align-items: center; }
.sidebar-logo-svg { height: 13px; width: auto; display: block; }

.sidebar-nav { padding: 20px 20px 0; }

.sidebar-nav a,
.sidebar-secondary a,
.sidebar-lang,
.sidebar-submenu-back,
.sidebar-submenu-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

.sidebar-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: 14px 0;
  min-height: 48px;
  color: #111;
}

.sidebar-chevron { font-size: 1.2rem; font-weight: 300; color: #444; line-height: 1; }

.sidebar-secondary { margin-top: auto; padding: 20px; display: flex; flex-direction: column; }
.sidebar-secondary a { padding: 9px 0; font-size: 0.95rem; font-weight: 400; color: #111; }
.sidebar-secondary a:hover { color: var(--color-gold); }

.sidebar-lang {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
  font-size: 0.95rem;
  color: #111;
}

.sidebar-lang-label { font-weight: 600; }
.sidebar-lang .lang-active { text-decoration: underline; text-underline-offset: 4px; }
.sidebar-lang .lang-muted { color: #6b6b6b; }

/* Sous-menu Été '26 */
.sidebar-submenu { display: none; padding: 20px; }

.sidebar.submenu-open .sidebar-nav-main,
.sidebar.submenu-open .sidebar-secondary,
.sidebar.submenu-open .sidebar-lang { display: none; }

.sidebar.submenu-open .sidebar-submenu { display: block; animation: submenuIn 0.3s ease; }

@keyframes submenuIn {
  from { opacity: 0; transform: translateX(25px); }
  to { opacity: 1; transform: translateX(0); }
}

.sidebar-submenu-back { display: inline-block; font-size: 0.85rem; color: var(--color-grey-dark); padding: 4px 0 12px; }
.sidebar-submenu-label { display: block; font-size: 0.82rem; color: var(--color-grey); margin-bottom: 6px; }
.sidebar-nav-sub { padding: 0 !important; }

/* ---------- Page panier ---------- */
.cart-empty-state {
  min-height: calc(100vh - var(--header-height) - 40px);
  min-height: calc(100svh - var(--header-height) - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.cart-empty-state p { margin: 0; color: var(--color-dark); }
.cart-continue { color: var(--color-dark); display: inline-flex; align-items: center; gap: 10px; }
.cart-continue:hover { opacity: 0.6; }
.cart-continue-arrow { font-size: 1.2rem; line-height: 1; }
.cart-page-title { font-weight: 500; text-align: center; margin: 40px 0 30px; }
.cart-page-items { max-width: 720px; margin: 0 auto; }

.cart-page-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 25px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-page-item-img { flex-shrink: 0; width: 90px; }
.cart-page-item-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.cart-page-item-info { flex: 1; }
.cart-page-item-price { font-size: 12px; font-weight: 500; white-space: nowrap; }
.cart-page-summary { max-width: 720px; margin: 30px auto 60px; }

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .header-inner { padding: 12px 10px 0; }

  .hamburger svg { width: 19px; height: 13px; }
  .search-icon svg { width: 17px; height: 17px; }
  .header-icon svg { width: 18px; height: 18px; }
  .search-icon, .header-icon { width: 34px; height: 38px; }
  .hamburger { padding: 8px 8px 8px 0; }
  .header-left { gap: 6px; }
  .header-right { gap: 2px; }

  .header .logo-svg {
    height: 16px;
    transform: scaleX(1.3);
    transform-origin: center;
  }

  .hero-title { letter-spacing: 10px; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin: 0 -16px;
    padding: 0;
  }

  .product-card-info { padding: 8px 12px 0; }
  .product-card-name { font-size: 11px; }

  .home-tiles { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
  .home-tile-label { font-size: 10px; letter-spacing: 1px; }

  .collection-bar { padding: 10px 16px; margin-bottom: 16px; }
  .collection-bar h1 { font-size: 13px; }

  .product-page { margin-top: calc(var(--header-height) + 14px); }
  .info-page, .cart-page { margin-top: calc(var(--header-height) + 14px); }

  .product-gallery-main { margin: 0 -16px 8px; }
  .product-gallery-thumbs { padding: 0; }
  .product-info { padding: 20px 0; }
  .complete-look { padding: 30px 0 0; }

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

  .cart-page-item { padding: 20px 0; gap: 15px; }
  .cart-page-item-img { width: 75px; }
}

@media (max-width: 390px) {
  .products-grid { margin: 0 -14px; }
  .product-gallery-main { margin: 0 -14px 8px; }

  .product-add-to-cart {
    margin-left: -14px;
    margin-right: -14px;
    width: calc(100% + 28px);
  }
}

/* ============================================
   HERO v2 — maquette campagne (photo + pile + CTA)
   ============================================ */
.hero-title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-body);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 2px;
  margin: 0 0 14px;
}

.hero-line-1 {
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  font-weight: 700;
}

.hero-line-2 {
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  font-weight: 700;
}

.hero-tagline {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  margin: 0 0 22px;
}

.hero-cta {
  display: inline-block;
  background: #fff;
  color: #2A2A2A;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 14px 34px;
  border-radius: 999px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-cta:active,
.hero-cta:hover {
  opacity: 0.9;
  transform: scale(0.98);
}

/* le contenu de la maquette est centré un peu sous le milieu */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero v2.1 — CTA plus discret, titre seul */
.hero-cta {
  font-size: 11px;
  padding: 10px 24px;
}

.hero-tagline {
  margin-bottom: 18px;
}

/* ============================================
   SIDEBAR v6 — fond blanc (comme le header) + barre recherche
   ============================================ */
.sidebar {
  background: #FCFCFC;
}

.sidebar-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--color-grey-dark);
}

.sidebar-search-row svg {
  flex-shrink: 0;
}

.sidebar-search-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  color: #111;
}

.sidebar-search-input::placeholder {
  color: #8a8a8a;
}

/* ============================================
   SIDEBAR v7 — EXACTEMENT comme la maquette
   fond beige uniforme, sans ligne sous le bandeau
   ============================================ */
.sidebar {
  background: #F7F5F1;
}

.sidebar-header {
  border-bottom: none;
  padding: 20px 16px 10px;
}

.sidebar-search-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  padding: 14px 16px 16px;
  gap: 14px;
  color: #2A2A2A;
}

.sidebar-search-input {
  font-size: 16px;
  color: #2A2A2A;
}

.sidebar-search-input::placeholder {
  color: #7c7c7c;
}

.sidebar-nav {
  padding: 42px 16px 0;
}

.sidebar-nav a {
  font-size: 1rem;
  padding: 13px 0;
  min-height: 44px;
  color: #1c1c1c;
}

.sidebar-chevron {
  font-size: 1.05rem;
  color: #2A2A2A;
}

.sidebar-secondary {
  padding: 20px 16px 46px;
}

.sidebar-secondary a {
  font-size: 0.94rem;
  padding: 7px 0;
  color: #1c1c1c;
}

.sidebar-submenu {
  padding: 42px 16px 0;
}

/* SIDEBAR v7.1 — bloc du bas : plus petit + aéré */
.sidebar-secondary {
  padding: 20px 16px 50px;
  gap: 4px;
}

.sidebar-secondary a {
  font-size: 13px !important;
  font-weight: 400;
  padding: 11px 0 !important;
  line-height: 1.3;
}

.sidebar-nav a {
  font-size: 15px !important;
}

/* ============================================
   SIDEBAR v8 — maquette au pixel : BLANC, sans lignes
   ============================================ */
.sidebar {
  background: #FFFFFF;
}

.sidebar-nav a {
  font-size: 14px !important;
  font-weight: 400;
  padding: 14px 0 !important;
  min-height: 44px;
  border-bottom: none !important;
  color: #111;
}

.sidebar-nav a:hover {
  color: #111;
  padding-left: 0 !important;
}

.sidebar-chevron {
  font-size: 15px;
  color: #555;
}

.sidebar-nav {
  padding-top: 46px;
}

.sidebar-search-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-search-input::placeholder {
  color: #767676;
}

.sidebar-secondary a {
  font-size: 13px !important;
  padding: 10px 0 !important;
}

.sidebar-secondary {
  padding-bottom: 52px;
}

/* Plus d'effet doré au survol dans le menu */
.sidebar-close:hover,
.sidebar-nav a:hover,
.sidebar-secondary a:hover {
  color: #111;
  opacity: 0.6;
}

/* Langues — globe fin, pas d'emoji */
.sidebar-lang {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 16px calc(30px + env(safe-area-inset-bottom));
  font-size: 13px;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

.sidebar-lang svg {
  flex-shrink: 0;
  color: #111;
}

.sidebar-lang-label {
  font-weight: 600;
  margin-right: 2px;
}

.sidebar-lang .lang-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sidebar-lang .lang-muted {
  color: #111;
}

/* ============================================
   FIX URGENT — hauteur réelle sur mobile (barre navigateur)
   ============================================ */
.sidebar {
  height: 100vh;
  height: 100dvh;
}

.cart-drawer {
  height: 100vh;
  height: 100dvh;
}

.search-overlay {
  height: 100vh;
  height: 100dvh;
}

/* ============================================
   SIDEBAR v9 — tout un peu plus petit sauf le logo,
   logo NAJAA plus noir
   ============================================ */
.sidebar-logo-svg {
  color: #000;
  stroke-width: 8;
  height: 13px;
}

.sidebar-header-group a svg,
.sidebar-search svg {
  width: 16px;
  height: 16px;
}

.sidebar-close {
  font-size: 0.95rem;
}

.sidebar-search-row {
  padding: 12px 16px 14px;
  gap: 12px;
}

.sidebar-search-row > svg {
  width: 14px;
  height: 14px;
}

.sidebar-nav a {
  font-size: 13px !important;
  padding: 12px 0 !important;
  min-height: 40px;
}

.sidebar-chevron {
  font-size: 13px;
}

.sidebar-secondary a {
  font-size: 12px !important;
  padding: 9px 0 !important;
}

.sidebar-lang {
  font-size: 12px;
  gap: 14px;
}

.sidebar-lang svg {
  width: 14px;
  height: 14px;
}

.sidebar-submenu-back {
  font-size: 12px;
}

.sidebar-submenu-label {
  font-size: 11px;
}

/* ============================================
   v15 — hamburger collé à la loupe + hero plein écran
   ============================================ */
@media (max-width: 768px) {
  .header-left {
    gap: 0;
  }

  .hamburger {
    padding: 8px 4px 8px 0;
  }

  .header-left .search-icon {
    width: 30px;
  }
}

/* L'image du hero descend jusqu'en bas — plus de trou */
.hero {
  height: 100vh;
  height: 100dvh;
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 500px;
  }
}

/* v16 — respiration au bord + intro désactivée */
@media (max-width: 768px) {
  .header-inner {
    padding: 12px 16px 0;
  }
}

.intro-loader {
  display: none !important;
}

/* v18 — le scroll ne peut plus jamais être bloqué par l'intro */
body.loading {
  overflow: auto !important;
}

/* v19 — compte + panier rapprochés comme le duo de gauche */
@media (max-width: 768px) {
  .header-right {
    gap: 0;
  }

  .header-right .header-icon {
    width: 28px;
  }
}

/* v20 — le texte du hero apparaît immédiatement */
.hero-content {
  animation: heroContentIn 0.7s ease 0s both;
}

/* ============================================
   v25 — barre Search : ligne courte inset (maquette)
   ============================================ */
.sidebar-search-row {
  margin: 10px 16px 0;
  padding: 10px 2px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  gap: 14px;
}

.sidebar-search-row > svg {
  width: 15px;
  height: 15px;
}

.sidebar-search-input::placeholder {
  color: #8a8a8a;
}

.sidebar-nav {
  padding-top: 44px;
}

/* ============================================
   v26 — Search plus petit (contourne le 16px!important iOS)
   ============================================ */
.sidebar-search-row {
  margin: 26px 16px 0;
  padding: 8px 2px 14px;
  gap: 13px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.sidebar-search-row > svg {
  width: 14px;
  height: 14px;
}

.sidebar-search-input {
  font-size: 13px !important;
  color: #2A2A2A;
}

.sidebar-search-input:focus {
  font-size: 16px !important;
}

.sidebar-search-input::placeholder {
  color: #8a8a8a;
  font-size: 13px;
}

/* v27 — sous-menu sans Retour, label en tête */
.sidebar-submenu {
  padding-top: 44px;
}

.sidebar-submenu-label {
  margin-bottom: 10px;
}
