/*
Theme Name: BARA
Theme URI: https://bara.com
Author: BARA
Author URI: https://bara.com
Description: Luxury African Fashion WooCommerce Theme
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bara
Tags: woocommerce, fashion, e-commerce, custom-menu
*/

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-black: #1a1a1a;
  --color-dark: #2d2d2d;
  --color-gray: #555;
  --color-light-gray: #e8e8e8;
  --color-white: #ffffff;
  --color-teal: #2a9d8f;
  --color-teal-dark: #1f7a6f;
  --color-orange: #e76f51;
  --color-orange-light: #f4a261;
  --color-beige: #f5f0e8;
  --color-cream: #faf8f5;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1320px;
  --header-height: 110px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul, ol {
  list-style: none;
}

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

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

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

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 24px;
}

.logo {
  flex-shrink: 0;
}

.logo a {
  display: inline-block;
  line-height: 0;
  color: var(--color-black);
}

.site-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.gender-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.gender-toggle button {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  border-radius: 24px;
}

.gender-toggle button.active {
  background: var(--color-black);
  color: var(--color-white);
}

.gender-toggle button:not(.active) {
  background: transparent;
  color: var(--color-black);
}

.search-bar {
  flex: 1;
  max-width: 460px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 10px 44px 10px 16px;
  border: 1px solid var(--color-light-gray);
  border-radius: 30px;
  background: var(--color-cream);
  font-size: 0.9rem;
  color: var(--color-gray);
}

.search-bar input::placeholder {
  color: #aaa;
}

.search-bar .search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray);
  font-size: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-actions a,
.header-actions button {
  font-size: 1.3rem;
  color: var(--color-black);
  position: relative;
  transition: color 0.3s;
}

.header-actions a:hover,
.header-actions button:hover {
  color: var(--color-teal);
}

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

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: all 0.3s;
}

/* Main Navigation */
.main-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 12px;
  position: relative; /* anchor for full-width mega menu */
}

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

.nav-item {
  position: relative;
}

.nav-item > a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-gray);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}

.nav-item > a:hover,
.nav-item.active > a {
  color: var(--color-black);
}

.nav-item .arrow {
  font-size: 0.6rem;
  transition: transform 0.3s;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 24px 32px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
}

/*
 * The dropdown is detached from its trigger by a visual gap (12px here, up to
 * 32px for the mega menus). That gap belongs to whatever is behind the header,
 * so a pointer travelling from the nav item down to the menu leaves .nav-item
 * and the menu closes before it can be reached.
 *
 * This bridges the gap with an invisible strip that is part of the dropdown —
 * hovering it keeps .nav-item:hover true. While the menu is closed the strip
 * inherits visibility:hidden, so it never intercepts clicks on the page below.
 */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 40px;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--color-gray);
  transition: color 0.3s;
}

.dropdown a:hover {
  color: var(--color-black);
}

/* ===== Mega menu (Women / Men) =====
   Wide hover panel with multi-column grid + feature image card.
   Modeled after joseph-fashion.com / manoloblahnik.com.
*/
.nav-item.has-mega { position: static; } /* let mega menu span full nav width */

.dropdown.mega-menu {
  left: 24px;
  right: 24px;
  width: auto;
  min-width: 0;
  max-width: none;
  transform: translateY(8px);
  padding: 36px 40px;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
  border: 1px solid #f0ece4;
}
.nav-item.has-mega:hover .dropdown.mega-menu {
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.4fr;
  gap: 36px;
  align-items: start;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
}

.mega-menu-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ece8e0;
}

.mega-menu-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.005em;
  transition: color 0.2s, transform 0.2s;
}
.mega-menu-col a:hover {
  color: #111;
  transform: translateX(4px);
}

/* Feature image card on the right of the mega menu */
.mega-menu-feature {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f0ece4;
  text-decoration: none;
}
.mega-menu-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mega-menu-feature:hover img {
  transform: scale(1.04);
}
.mega-menu-feature-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-menu-feature-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.mega-menu-feature-overlay strong {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.mega-menu-feature-cta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
  transition: transform 0.25s;
}
.mega-menu-feature:hover .mega-menu-feature-cta {
  transform: translateX(4px);
}

/* Mobile: collapse mega menu to plain stacked dropdown */
@media (max-width: 991px) {
  .dropdown.mega-menu {
    left: 0;
    right: 0;
    padding: 16px 0;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
  .mega-menu-grid {
    display: block;
  }
  .mega-menu-col { margin-bottom: 18px; }
  .mega-menu-title {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 6px;
  }
  .mega-menu-feature { display: none; }
}


/* ===== Creators index page (page-creators.php) ===== */
.creators-index {
  padding: 60px 0 100px;
}
.creators-index-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.creators-index-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.creators-index-header p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 28px;
}
.creator-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: transparent;
}
.creator-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f0ece4;
  margin-bottom: 16px;
}
.creator-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.creator-card:hover .creator-card-image img {
  transform: scale(1.04);
}
.creator-card-info h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
  color: #111;
}
.creator-card-info p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.55;
  margin: 0 0 10px;
}
.creator-card-cta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  transition: transform 0.25s;
}
.creator-card:hover .creator-card-cta {
  transform: translateX(4px);
}
.creators-empty {
  text-align: center;
  color: #888;
  padding: 60px 0;
}


/* ===== Single creator archive (taxonomy-creator.php) ===== */
.creator-hero {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 600px);
  justify-content: center;
  align-items: center;
  gap: 60px;
  background: #f7f4ee;
  padding: 60px 24px;
}
.creator-hero-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  max-width: 480px;
}
.creator-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.creator-hero-content {
  padding: 60px 8vw;
}
.creator-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 16px;
}
.creator-hero-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0 0 22px;
}
.creator-hero-bio {
  font-size: 1.02rem;
  color: #444;
  line-height: 1.7;
  max-width: 520px;
}
.creator-hero-bio p { margin: 0 0 14px; }

.creator-products {
  padding: 80px 0;
}
.creator-empty {
  text-align: center;
  color: #888;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .creator-hero {
    grid-template-columns: 1fr;
  }
  .creator-hero-content {
    padding: 40px 24px;
  }
}


/* ===== Shop layout — sidebar + product grid (archive-product / taxonomy archives) ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  padding: 40px 24px 80px;
  align-items: start;
}
.shop-main {
  min-width: 0;
}
@media (max-width: 991px) {
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Shop sidebar ===== */
.shop-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  font-size: 0.9rem;
}
.shop-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ece8e0;
}
.shop-sidebar-header h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.shop-filter-clear-link {
  font-size: 0.78rem;
  color: #888;
  text-decoration: underline;
}
.shop-filter-clear-link:hover { color: #111; }

/* Filter section (collapsible <details>) */
.shop-filter-section {
  border-bottom: 1px solid #ece8e0;
  padding: 14px 0;
}
.shop-filter-title {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  user-select: none;
}
.shop-filter-title::-webkit-details-marker { display: none; }
.shop-filter-title i {
  font-size: 0.7rem;
  transition: transform 0.25s;
}
details[open] .shop-filter-title i {
  transform: rotate(180deg);
}

.shop-filter-list {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}
.shop-filter-list li { margin: 0; padding: 0; }

.shop-filter-option {
  display: flex;
  align-items: center;
  padding: 7px 0;
  text-decoration: none;
  color: #444;
  font-size: 0.9rem;
  transition: color 0.2s;
  gap: 10px;
}
.shop-filter-option:hover { color: #111; }
.shop-filter-option.is-checked { color: #111; font-weight: 500; }

.shop-filter-checkbox {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #b8b3a8;
  border-radius: 2px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.shop-filter-option.is-checked .shop-filter-checkbox {
  background: #111;
  border-color: #111;
}

.shop-filter-label { flex: 1; }
.shop-filter-count {
  color: #aaa;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

/* Color filter — dot swatches next to checkbox */
.shop-filter-color .shop-filter-option::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  border: 1px solid #ece8e0;
  /* Set per option by bara_color_swatch_hex() — see template-parts/shop-filters.php. */
  background: var(--bara-swatch, #ddd);
}

/* Price */
.shop-filter-price {
  margin-top: 12px;
}
.shop-filter-price-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.shop-filter-price-fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}
.shop-filter-price-fields input {
  border: 1px solid #ddd;
  padding: 8px 10px;
  font-size: 0.9rem;
  border-radius: 2px;
  background: #fff;
}
.shop-filter-price-fields input:focus {
  outline: none;
  border-color: #111;
}
.shop-filter-price-apply {
  width: 100%;
  padding: 9px 12px;
  background: #111;
  color: #fff;
  border: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.shop-filter-price-apply:hover { background: #333; }

/* ===== Active filters chips ===== */
.shop-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #ece8e0;
}
.shop-active-filters-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-right: 4px;
}
.shop-active-filters-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shop-active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  background: #f3eedd;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #111;
}
.shop-active-filter-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.shop-active-filter-remove:hover {
  background: #111;
  color: #fff;
}
.shop-active-filters-clear {
  margin-left: auto;
  font-size: 0.82rem;
  color: #888;
  text-decoration: underline;
}
.shop-active-filters-clear:hover { color: #111; }


/* =================================================================
   HOME PAGE — relaxed, story-led layout (Phase 6)
   ================================================================= */

/* ===== Editorial banner — image on one side, write-up on the other =====
   NOTE: theme ships ~380×500 placeholder images — column widths kept
   modest so we never upscale beyond ~1.3×. Replace placeholders with
   1200px+ campaign photography to enable a wider editorial layout. */
.editorial-banner {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 600px);
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
}
.editorial-banner--reverse .editorial-banner-image  { order: 2; }
.editorial-banner--reverse .editorial-banner-content { order: 1; padding-left: 0; padding-right: 0; }

.editorial-banner-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f0ece4;
  max-width: 480px;
}
.editorial-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.editorial-banner:hover .editorial-banner-image img {
  transform: scale(1.03);
}

.editorial-banner-content {
  padding: 0;
  max-width: 600px;
}
.editorial-banner-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 18px;
}
.editorial-banner-title {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.1;
  margin: 0 0 22px;
  color: #111;
}
.editorial-banner-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 28px;
  max-width: 520px;
}
.editorial-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
  transition: gap 0.25s, color 0.2s;
}
.editorial-banner-cta:hover {
  gap: 14px;
  color: #555;
}

@media (max-width: 768px) {
  .editorial-banner,
  .editorial-banner--reverse {
    grid-template-columns: 1fr;
    margin: 60px 0;
  }
  .editorial-banner-content,
  .editorial-banner--reverse .editorial-banner-content {
    padding: 32px 24px;
    order: 0;
  }
  .editorial-banner--reverse .editorial-banner-image { order: 0; }
}


/* ===== Featured creator spotlight ===== */
.featured-creator {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 24px;
}

.featured-creator-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f7f4ee;
  max-width: 440px;
}
.featured-creator-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-creator-stamp {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #fff;
  padding: 8px 14px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
}

.featured-creator-body {
  padding-top: 16px;
}
.featured-creator-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 14px;
}
.featured-creator-name {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: #111;
}
.featured-creator-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 22px;
}
.featured-creator-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
  margin-bottom: 36px;
  transition: gap 0.25s;
}
.featured-creator-cta:hover { gap: 14px; }

.featured-creator-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .featured-creator {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 60px auto;
  }
  .featured-creator-products { grid-template-columns: repeat(2, 1fr); }
}


/* ===== Bara Members Club newsletter section ===== */
.members-club {
  padding: 80px 0;
  background: #111;
  color: #fff;
}
.members-club-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.members-club-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
}
.members-club-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
}
.members-club-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.members-club-field {
  display: flex;
  width: 100%;
  max-width: 440px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s;
}
.members-club-field:focus-within {
  border-bottom-color: #fff;
}
.members-club-field input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 12px 0;
  font-size: 0.95rem;
  outline: 0;
}
.members-club-field input::placeholder {
  color: rgba(255,255,255,0.5);
}
.members-club-field button {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.members-club-field button:hover {
  color: rgba(255,255,255,0.7);
}
.members-club-consent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}
.members-club-consent input { accent-color: #fff; }
.members-club-consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* =================================================================
   STATIC PAGES — About / Size Guide / Custom Orders / FAQ /
                  Shipping & Returns / Lookbook (Phase 7)
   ================================================================= */

.static-hero {
  padding: 70px 0 50px;
  text-align: center;
  border-bottom: 1px solid #ece8e0;
}
.static-hero--full {
  padding: 110px 0 80px;
  border-bottom: 0;
}
.static-hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}
.static-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0 auto 22px;
  max-width: 880px;
}
.static-hero-lede {
  font-size: 1.05rem;
  color: #555;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Generic stacked content block (Shipping & Returns, etc.) */
.static-content {
  max-width: 760px;
  padding: 60px 24px 100px;
}
.static-content-block { margin-bottom: 50px; }
.static-content-block h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: #111;
}
.static-content-block p {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  margin: 0 0 12px;
}
.static-content-list {
  list-style: disc;
  padding-left: 20px;
  margin: 12px 0;
}
.static-content-list li {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 6px;
}
.static-content-note {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

/* About — three pillars */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 80px 24px;
  text-align: center;
}
.about-pillar h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 14px;
}
.about-pillar p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}
@media (max-width: 768px) {
  .about-pillars { grid-template-columns: 1fr; gap: 30px; padding: 50px 24px; }
}

/* Size guide */
.size-guide {
  padding: 60px 24px 100px;
  max-width: 980px;
}
.size-guide-section { margin-bottom: 50px; }
.size-guide-section h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #111;
}
.size-guide-table-wrap { overflow-x: auto; }
.size-guide-table,
.shipping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.size-guide-table th,
.size-guide-table td,
.shipping-table th,
.shipping-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #ece8e0;
}
.size-guide-table thead th,
.shipping-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  background: #faf8f3;
}
.size-guide-tips { list-style: none; padding: 0; margin: 0; }
.size-guide-tips li {
  padding: 10px 0;
  border-bottom: 1px solid #ece8e0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}
.size-guide-cta {
  margin-top: 50px;
  padding: 30px;
  background: #f7f4ee;
  text-align: center;
}
.size-guide-cta p { margin: 0 0 10px; color: #555; }
.size-guide-cta-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Custom orders form */
.custom-orders { padding: 60px 24px 100px; max-width: 760px; }
.custom-order-fieldset {
  border: 0;
  padding: 0 0 40px;
  margin: 0 0 30px;
  border-bottom: 1px solid #ece8e0;
}
.custom-order-fieldset legend {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 22px;
  padding: 0;
}
.custom-order-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.custom-order-row--three { grid-template-columns: repeat(3, 1fr); }
.custom-order-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
}
.custom-order-form label > span {
  font-weight: 500;
  color: #444;
  letter-spacing: 0.02em;
}
.custom-order-form input[type="text"],
.custom-order-form input[type="email"],
.custom-order-form input[type="tel"],
.custom-order-form input[type="number"],
.custom-order-form input[type="file"],
.custom-order-form select,
.custom-order-form textarea {
  border: 1px solid #ddd;
  background: #fff;
  padding: 11px 13px;
  font-size: 0.95rem;
  font-family: inherit;
  border-radius: 2px;
  width: 100%;
}
.custom-order-form input:focus,
.custom-order-form select:focus,
.custom-order-form textarea:focus {
  outline: 0;
  border-color: #111;
}
.custom-order-hint { font-size: 0.82rem; color: #888; margin-top: 4px; }
.custom-order-submit {
  background: #111;
  color: #fff;
  border: 0;
  padding: 16px 36px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
.custom-order-submit:hover { background: #333; }
.custom-order-disclaimer {
  font-size: 0.85rem;
  color: #888;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .custom-order-row,
  .custom-order-row--three { grid-template-columns: 1fr; }
}

/* FAQ accordion */
.faq-list { max-width: 820px; padding: 60px 24px 100px; }
.faq-item {
  border-bottom: 1px solid #ece8e0;
  padding: 18px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #111;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: #888; transition: transform 0.25s; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer {
  padding-top: 14px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #555;
}
.faq-answer p { margin: 0; }

/* Lookbook — 4-col grid keeps each item ≤ ~340px so 380px source stays sharp */
.lookbook {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px;
  max-width: 1440px;
  margin: 0 auto;
}
.lookbook-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #f0ece4;
  aspect-ratio: 4 / 5;
}
.lookbook-item--tall { aspect-ratio: 4 / 6; grid-row: span 2; }
.lookbook-item--wide { aspect-ratio: 8 / 5; grid-column: span 2; }
.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.lookbook-item:hover img { transform: scale(1.04); }
.lookbook-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: rgba(255,255,255,0.92);
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
}
@media (max-width: 768px) {
  .lookbook { grid-template-columns: repeat(2, 1fr); }
  .lookbook-item--wide { grid-column: span 2; }
  .lookbook-item--tall { grid-row: span 1; aspect-ratio: 4 / 5; }
}


/* =================================================================
   PHASE 8 — Recently viewed / Shop the look / Wishlist
   ================================================================= */

/* Recently viewed strip + Complete the look — both reuse .product-grid */
.recently-viewed,
.complete-the-look {
  padding: 60px 0 40px;
  border-top: 1px solid #ece8e0;
}
.complete-the-look-sub {
  font-size: 0.92rem;
  color: #888;
  margin: -8px 0 0;
}

/* Wishlist heart — saved (filled) state */
.product-card .wishlist-btn.is-saved {
  opacity: 1; /* keep visible even off-hover when saved */
  background: #fff;
  color: #c62828;
}
.product-card .wishlist-btn.is-saved:hover {
  background: #c62828;
  color: #fff;
}

/* Header wishlist link with count badge */
.wishlist-link {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.wishlist-count {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Wishlist page */
.wishlist-page {
  padding: 60px 24px 100px;
  min-height: 320px;
}
.wishlist-loading {
  color: #888;
  text-align: center;
  padding: 40px 0;
}
.wishlist-empty {
  text-align: center;
  padding: 80px 0;
}
.wishlist-empty p {
  font-size: 1.05rem;
  color: #555;
  margin: 0 0 22px;
}
.wishlist-empty-cta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slides stack; only the active one is painted and hit-testable. */
.hero-slide {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.hero--slider .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 1.1s;
}

.hero--slider .hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-teal) 0%, #5db8a9 30%, var(--color-orange-light) 70%, var(--color-orange) 100%);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
}

/* Keeps white copy legible over an arbitrary photo. */
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.12) 100%);
}

/* Ken Burns: only the visible slide drifts, so idle slides cost nothing. */
.hero--slider .hero-slide.is-active .hero-bg-image {
  animation: hero-kenburns 9s ease-out forwards;
}

@keyframes hero-kenburns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.14) translate3d(-1.2%, -0.8%, 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

/* Text rises in behind the crossfade, staggered by element. */
.hero--slider .hero-slide .hero-text > * {
  opacity: 0;
  transform: translateY(18px);
}

.hero--slider .hero-slide.is-active .hero-text > * {
  animation: hero-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero--slider .hero-slide.is-active .hero-text > *:nth-child(1) { animation-delay: 0.18s; }
.hero--slider .hero-slide.is-active .hero-text > *:nth-child(2) { animation-delay: 0.30s; }
.hero--slider .hero-slide.is-active .hero-text > *:nth-child(3) { animation-delay: 0.42s; }

@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO SLIDER CONTROLS ===== */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-white);
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-arrow--prev { left: 20px; }
.hero-arrow--next { right: 20px; }

.hero:hover .hero-arrow,
.hero-arrow:focus-visible {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  position: relative;
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.25s ease;
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.55); }

.hero-dot:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

/* Fill drains left-to-right in step with autoplay. */
.hero-dot-fill {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--color-white);
  border-radius: inherit;
}

.hero-dot.is-active .hero-dot-fill {
  animation: hero-dot-fill var(--hero-speed, 6000ms) linear forwards;
}

.hero--paused .hero-dot.is-active .hero-dot-fill {
  animation-play-state: paused;
}

/* No autoplay means no progress to show — just mark the active dot. */
.hero--no-autoplay .hero-dot.is-active .hero-dot-fill {
  animation: none;
  transform: scaleX(1);
}

@keyframes hero-dot-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero--slider .hero-slide,
  .hero--slider .hero-slide.is-active {
    transition-duration: 0.01ms;
  }

  .hero--slider .hero-slide.is-active .hero-bg-image,
  .hero--slider .hero-slide.is-active .hero-text > *,
  .hero-dot.is-active .hero-dot-fill {
    animation: none;
  }

  .hero--slider .hero-slide .hero-text > * {
    opacity: 1;
    transform: none;
  }

  .hero-dot.is-active .hero-dot-fill {
    transform: scaleX(1);
  }
}

.hero-text {
  max-width: 480px;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.btn-shop {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.btn-shop:hover {
  background: #d65a3a;
  transform: translateY(-2px);
}

/* ===== PARTNERSHIPS / PRODUCTS ===== */
.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--color-light-gray);
}

.section-title-bar h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gray);
  font-weight: 500;
}

.section-title-bar .see-all {
  font-size: 0.85rem;
  color: var(--color-gray);
  display: flex;
  align-items: center;
  gap: 4px;
}

.products-section {
  padding: 40px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* ===== Product card — flat, minimalist (Joseph-fashion style) ===== */
.product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  position: relative;
  display: block;
  color: inherit;
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.product-card-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.product-card-title-link:hover {
  color: #000;
}

/* Creator label — appears above the title, small caps, distinct link */
.product-card-creator {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.2s, opacity 0.2s;
}
.product-card-creator:hover {
  color: #555;
}

/* Floating wishlist heart, kept subtle */
.product-card .wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.85);
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #111;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s, background 0.25s, color 0.25s;
}
.product-card:hover .wishlist-btn { opacity: 1; }
.product-card .wishlist-btn:hover { background: #111; color: #fff; }

/* Image area — clean, square-ish container, no inset background */
.product-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f5f3ef; /* very light, only seen briefly while images load */
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Two-image hover swap (set up by template-parts/product-card.php) */
.product-card-image .primary-image {
  position: relative;
  z-index: 1;
  transition: opacity 0.35s ease;
}
.product-card-image .secondary-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.product-card:hover .product-card-image .primary-image { opacity: 0; }
.product-card:hover .product-card-image .secondary-image { opacity: 1; }

/* Info below image — sits OUTSIDE the image, simple typography */
.product-card-info {
  padding: 12px 0 0;
  text-align: left;
}
.product-card-info h4 {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 4px;
  color: #111;
  line-height: 1.35;
}
.product-card-info .price {
  font-size: 0.82rem;
  font-weight: 400;
  color: #888;       /* less prominent per project doc */
  letter-spacing: 0.01em;
}
.product-card-info .price del {
  margin-right: 6px;
  color: #b8b8b8;
}
.product-card-info .price ins {
  background: transparent;
  text-decoration: none;
  color: #111;
}

/* ===== FEATURED BANNER (African Man Style) ===== */
.featured-banner {
  padding: 60px 0;
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  justify-content: center;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  max-width: 480px;
}

.featured-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.featured-text h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}

.featured-text p {
  color: var(--color-gray);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--color-black);
  color: var(--color-black);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.3s;
}

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

/* ===== BLACK FULL COLORS BANNER ===== */
.dark-banner {
  background: var(--color-dark);
  padding: 60px 0;
  overflow: hidden;
}

.dark-banner-layout {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  justify-content: center;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.dark-banner-image {
  border-radius: 16px;
  overflow: hidden;
  max-width: 480px;
}

.dark-banner-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.dark-banner-content {
  color: var(--color-white);
}

.dark-banner-content h2 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.dark-banner-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.dark-banner-cards {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.dark-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  flex: 1;
  transition: background 0.3s;
}

.dark-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.dark-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.dark-card .value {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

/* ===== TOUT SIMPLEMENT SECTION ===== */
.tout-simplement {
  padding: 80px 0;
  text-align: center;
}

.tout-simplement h2 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tout-simplement p {
  color: var(--color-gray);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #3a3a3a;
  color: var(--color-white);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
  font-style: italic;
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin: 0; }
.footer-links a {
  display: block;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.2s;
}

.payment-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.social-icons a {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.social-icons a:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px 0 0 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  padding: 10px 20px;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--color-teal-dark);
}

.footer-radio-group {
  display: flex;
  gap: 16px;
  margin: 8px 0 12px;
}

.footer-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.footer-radio-group input[type="radio"] {
  accent-color: var(--color-teal);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail {
  padding: 40px 0;
}

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

/* One image = no thumb rail, so the main image takes the whole column. */
.product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-gallery.has-thumbs {
  grid-template-columns: 80px 1fr;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-thumbs .thumb {
  width: 80px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s;
}

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

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

.gallery-main {
  position: relative; /* anchors the inline-editor pencil */
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-cream);
  max-width: 460px;
}

.gallery-main img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.product-info {
  padding-top: 12px;
}

.product-info .breadcrumb {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-bottom: 16px;
}

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

.product-info h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.stars {
  color: #f5b100;
  font-size: 0.9rem;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-price .old-price {
  font-size: 1.1rem;
  color: var(--color-gray);
  text-decoration: line-through;
  font-weight: 400;
}

.product-options {
  margin-bottom: 24px;
}

.option-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-options {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.size-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

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

.color-options {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* A hairline ring, so pale swatches (white, cream) stay visible. */
  border: 1px solid rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: all 0.3s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.color-swatch:hover,
.color-swatch.active {
  outline-color: var(--color-black);
}

/* Echoes the chosen term next to the attribute label ("Color  Burgundy"). */
.option-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.option-selected {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-gray, #767676);
}

.option-selected:empty {
  display: none;
}

/* Read-only attributes (material, etc.) — spec, not a control. */
.product-spec {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--color-light-gray);
}

.product-spec li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-light-gray);
  font-size: 0.85rem;
}

.product-spec-label {
  min-width: 96px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-spec-value {
  color: var(--color-gray, #767676);
}

.btn-add-cart:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.add-to-cart-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.qty-control button:hover {
  background: var(--color-light-gray);
}

.qty-control .qty-value {
  width: 44px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-add-cart {
  flex: 1;
  padding: 14px 32px;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  text-transform: uppercase;
}

.btn-add-cart:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ===== CART PAGE ===== */
.cart-page {
  padding: 40px 0 60px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.cart-section {
  background: var(--color-white);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--color-light-gray);
}

.cart-section h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.cart-item:first-of-type {
  padding-top: 0;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-cream);
}

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

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

.cart-item-details h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-item-details .variant {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.cart-item .qty-control {
  flex-shrink: 0;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 600;
  min-width: 80px;
  text-align: right;
}

.cart-item .delete-btn {
  font-size: 1.1rem;
  color: var(--color-gray);
  transition: color 0.3s;
  padding: 8px;
}

.cart-item .delete-btn:hover {
  color: #e74c3c;
}

.cart-continue {
  margin-top: 24px;
}

.cart-continue a {
  font-size: 0.9rem;
  color: var(--color-gray);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.cart-continue a:hover {
  color: var(--color-black);
}

/* Cart Summary */
.cart-summary {
  background: var(--color-cream);
  border-radius: 12px;
  padding: 32px;
  position: sticky;
  top: 130px;
}

.cart-summary h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.summary-row.total {
  border-top: 1px solid var(--color-light-gray);
  margin-top: 12px;
  padding-top: 16px;
  font-weight: 700;
  font-size: 1.05rem;
}

.summary-select,
.summary-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  background: var(--color-white);
  margin: 8px 0 16px;
  font-size: 0.9rem;
  color: var(--color-gray);
}

.btn-checkout {
  width: 100%;
  padding: 16px;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  margin-top: 20px;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.btn-checkout:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ===== LOGIN PAGE ===== */
.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.login-image {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.login-form-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.login-form-wrapper {
  max-width: 420px;
  width: 100%;
}

.login-form-wrapper h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.login-form-wrapper .subtitle {
  color: var(--color-gray);
  font-size: 0.92rem;
  margin-bottom: 36px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-black);
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

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

.form-options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 28px;
}

.form-options a {
  font-size: 0.85rem;
  color: var(--color-gray);
  transition: color 0.3s;
}

.form-options a:hover {
  color: var(--color-black);
}

.btn-login {
  width: 100%;
  padding: 16px;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.btn-login:hover {
  background: #333;
  transform: translateY(-1px);
}

.login-register {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--color-gray);
}

.login-register a {
  color: var(--color-black);
  font-weight: 600;
  text-decoration: underline;
}

/* ===== WOOCOMMERCE OVERRIDES ===== */

/* Override WooCommerce default styles */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 20px;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--color-teal) !important;
}

.woocommerce-message::before {
  color: var(--color-teal) !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--color-black) !important;
  color: var(--color-white) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  transition: all 0.3s !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #333 !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--color-black) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: #333 !important;
}

/* WooCommerce product page overrides */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--color-black);
}

/* Star rating */
.woocommerce .star-rating span::before {
  color: #f5b100;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--color-black);
  font-size: 1.8rem;
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }

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

  .hero-text h1 {
    font-size: 3rem;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .header-top {
    flex-wrap: wrap;
  }

  .search-bar {
    order: 5;
    max-width: 100%;
    flex-basis: 100%;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-item > a {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-light-gray);
  }

  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .hero {
    min-height: 450px;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  /* No hover on touch, so the arrows would never reveal — dots and swipe carry it. */
  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 18px;
  }

  .hero-bg-scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
  }

  .product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .featured-layout {
    grid-template-columns: 1fr;
  }

  .dark-banner-layout {
    grid-template-columns: 1fr;
  }

  .login-page {
    grid-template-columns: 1fr;
  }

  .login-image {
    display: none;
  }

  .product-gallery {
    grid-template-columns: 60px 1fr;
  }

  .gallery-main img {
    height: 400px;
  }

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

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .gender-toggle button {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .product-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  .cart-item {
    flex-wrap: wrap;
  }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: relative;
}

.lang-switcher-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--color-light-gray);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-black);
  transition: all 0.3s;
  cursor: pointer;
  background: transparent;
}

.lang-switcher-toggle:hover {
  border-color: var(--color-black);
}

.lang-switcher-toggle .fa-chevron-down {
  font-size: 0.55rem;
  transition: transform 0.3s;
}

.lang-switcher-toggle.open .fa-chevron-down {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 80px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s;
  z-index: 1001;
  list-style: none;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  list-style: none;
}

.lang-dropdown li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.lang-dropdown li a:hover {
  color: var(--color-black);
  background: var(--color-cream);
}

@media (max-width: 768px) {
  .lang-switcher-toggle {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .lang-dropdown {
    right: -8px;
  }
}
