/*
Theme Name: Botiga Clone
Theme URI: #
Author: Custom
Description: Clean minimal WooCommerce apparel theme inspired by Botiga Apparel.
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
WooCommerce: 8.0+
Text Domain: botiga-clone
*/

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --black: #212121;
  --white: #ffffff;
  --off-white: #f7f7f5;
  --light: #f0f0ee;
  --border: #e2e2e2;
  --muted: #888888;
  --dark: #333333;
  --accent: #c8a96e;
  --sale: #d94f4f;

  --font-body: 'Jost', 'Inter', -apple-system, sans-serif;
  --font-heading: 'Cormorant Garant', 'Playfair Display', Georgia, serif;

  --header-h: 68px;
  --max-w: 1200px;
  --gap: 24px;
  --pad: 32px;
  --radius: 3px;
  --pill: 9999px;
  --ease: 0.22s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--black);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  outline: none;
}

svg {
  display: block;
  flex-shrink: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 40px;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.container--wide {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section--sm {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section--lg {
  padding-top: 120px;
  padding-bottom: 120px;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.flex {
  display: flex;
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--dark,
.btn--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--dark:hover,
.btn--primary:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

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

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

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

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

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

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

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

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

.btn--pill {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  border-radius: var(--pill);
}

.btn--pill:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn--pill-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
  border-radius: var(--pill);
}

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

.btn--sm {
  font-size: 11px;
  padding: 10px 20px;
}

.btn--lg {
  font-size: 13px;
  padding: 18px 44px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   6. TOPBAR
   ============================================================ */
.topbar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 10px var(--pad);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 100;
}

.topbar a {
  color: var(--white);
  text-decoration: underline;
}

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

.topbar__close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--ease);
  padding: 4px;
}

.topbar__close:hover {
  opacity: 1;
}

/* ============================================================
   7. HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.site-header.header--transparent {
  background: transparent;
  border-bottom-color: transparent;
  position: absolute;
}

.site-header.header--transparent .nav-toggle svg,
.site-header.header--transparent .site-logo__text,
.site-header.header--transparent .header-icon-btn svg {
  color: var(--white);
}

.header-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  border-radius: var(--radius);
  transition: background var(--ease);
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--light);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
}

.site-name-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.site-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--black);
  transition: opacity var(--ease);
}

.site-name-link:hover .site-name {
  opacity: 0.6;
}

.site-header.header--transparent .site-name {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.8);
}

.site-header.header--scrolled .site-name {
  color: var(--black);
  border-bottom-color: var(--black);
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  border-radius: var(--radius);
  transition: background var(--ease);
  position: relative;
  text-decoration: none;
}

.header-icon-btn:hover {
  background: var(--light);
  color: var(--black);
}

.header-icon-btn svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  transition: background var(--ease);
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

/* ============================================================
   8. OFFCANVAS NAV
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 900;
  pointer-events: none;
  transition: background 0.3s ease;
}

.nav-overlay--open {
  background: rgba(0,0,0,0.45);
  pointer-events: all;
}

/* Shared backdrop used by nav panel, cart drawer, and search overlay */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 800;
  pointer-events: none;
  transition: background 0.3s ease;
}

.drawer-backdrop.is-active {
  background: rgba(0,0,0,0.45);
  pointer-events: all;
}

/* ── Nav Panel Shell ─────────────────────────────────────────────────────── */

.nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--white);
  z-index: 910;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 12px 0 60px rgba(0,0,0,0.18);
}

.nav-panel[hidden] { display: none !important; }

.nav-overlay--open .nav-panel,
.nav-panel.is-open {
  transform: translateX(0);
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.nav-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.nav-panel__logo {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-panel__logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--black);
}

/* Override the global .site-name inside the nav panel */
.nav-panel__logo .site-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: none;
  padding-bottom: 0;
  color: var(--black);
}

.nav-panel__logo img {
  max-height: 36px;
  width: auto;
  display: block;
}

.nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--black);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
  flex-shrink: 0;
}

.nav-close:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.nav-close svg {
  width: 15px;
  height: 15px;
}

/* ── Scrollable Body ─────────────────────────────────────────────────────── */

.nav-panel__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

/* ── Primary Menu ────────────────────────────────────────────────────────── */

.nav-menu {
  flex: 1;
  padding: 12px 0 8px;
}

/* Reset all li borders — we control spacing via padding only */
.nav-menu ul,
.nav-menu li {
  border: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top-level links */
.nav-menu ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 64px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  text-align: center;
  line-height: 1;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
  border-bottom: 1px solid var(--border);
}

.nav-menu ul > li:first-child > a {
  border-top: 1px solid var(--border);
}

.nav-menu ul > li > a:hover {
  background: var(--off-white);
}

/* Active page */
.nav-menu ul li.current-menu-item > a,
.nav-menu ul li.current_page_item > a {
  font-weight: 700;
  background: var(--off-white);
}

/* ── Submenu toggle button (injected by JS) ──────────────────────────────── */

.nav-menu ul .menu-item-has-children {
  position: relative;
}

/* keep old selector as alias */
.nav-menu .menu-item-has-children {
  position: relative;
}

.submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  min-height: 60px;
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: background 0.2s ease;
}

.submenu-toggle:hover {
  background: var(--off-white);
}

.submenu-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.menu-item-has-children.submenu-open > .submenu-toggle svg {
  transform: rotate(180deg);
}

/* ── Sub-menu ────────────────────────────────────────────────────────────── */

.nav-menu .sub-menu {
  background: #f8f8f8;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.nav-menu .sub-menu li {
  border: none;
  list-style: none;
}

.nav-menu .sub-menu li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 400;
  color: var(--dark);
  text-decoration: none;
  text-align: center;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-menu .sub-menu li:last-child > a {
  border-bottom: none;
}

.nav-menu .sub-menu li > a:hover {
  color: var(--black);
  background: var(--light);
}

/* ── Social icons (bottom of panel) ─────────────────────────────────────── */

.nav-panel__socials {
  display: flex;
  gap: 10px;
  padding: 20px 32px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.nav-panel__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--black);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.nav-panel__socials a:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.nav-panel__socials svg {
  width: 15px;
  height: 15px;
}

/* ============================================================
   9. HERO
   ============================================================ */
.hero,
.section-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}

.hero:hover .hero__bg,
.section-hero:hover .hero__bg {
  transform: scale(1.07);
}

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

/* Hero slider: individual slides */
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--black);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* Prev / Next arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
  backdrop-filter: blur(4px);
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* Layered overlay: dark vignette at bottom for text, subtle tint overall */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(0,0,0,0.82) 0%,  rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.05) 100%),
    linear-gradient(to right, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
}

/* Content sits above overlay, left-aligned, padding from bottom */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 96px;
  text-align: left;
}

/* Eyebrow label */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Main headline */
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.03;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  max-width: 680px;
}

/* Subtitle */
.hero__subtitle {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 420px;
}

/* CTA buttons row */
.hero__actions,
.hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary CTA — solid white */
.hero__btn {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 0;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

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

/* Scroll indicator */
.hero__scroll,
.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: var(--pad);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  padding: 0;
  transition: color var(--ease);
}

.hero__scroll:hover,
.hero__scroll-indicator:hover {
  color: var(--white);
}

.hero__scroll-arrow,
.hero__scroll svg {
  display: flex;
  animation: hero-bounce 2.2s ease-in-out infinite;
}

.hero__scroll svg,
.hero__scroll-arrow svg {
  width: 20px;
  height: 20px;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* Keep legacy bounce for .hero__scroll with translateX */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Hero slider dots */
.hero__dots {
  position: absolute;
  bottom: 28px;
  right: 32px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
  border: none;
}

.hero__dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ============================================================
   10. SECTION EYEBROW / HEADING
   ============================================================ */
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--black);
}

/* ============================================================
   11. CATEGORY GRID
   ============================================================ */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cats-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.cat-card:hover .cat-card__img {
  transform: scale(1.06);
}

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.05) 60%);
  transition: background 0.3s ease;
}

.cat-card:hover .cat-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%);
}

.cat-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  color: var(--white);
}

.cat-card__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.cat-card__count {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.8;
  text-transform: uppercase;
}

.cat-card--wide {
  grid-column: span 2;
  aspect-ratio: 6/4;
}

/* ============================================================
   12. PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.products-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* WooCommerce ul.products override */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: var(--gap) !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

ul.products.columns-3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

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

/* Kill WooCommerce clearfix pseudo-elements — they become ghost grid cells */
ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}

/* Reset WooCommerce's float-based grid so our CSS Grid takes over */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product.first,
.woocommerce-page ul.products li.product.last {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  clear: none !important;
}

.product-card,
ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--ease);
  border: 1px solid transparent;
}

.product-card:hover,
ul.products li.product:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-color: var(--border);
}

.product-card__thumb,
.product-card__image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--off-white);
  display: block;
}

/* Image link fills the entire thumb */
.product-card__img-link,
.product-card__image-link {
  display: block;
  position: absolute;
  inset: 0;
}

/* Both primary and secondary images fill the thumb */
.product-card__primary-img,
.product-card__secondary-img,
.product-card__img,
.product-card__image--primary,
.product-card__image--secondary,
.product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.45s ease, transform 0.55s ease;
}

/* Secondary hidden by default */
.product-card__secondary-img,
.product-card__img.secondary,
.product-card__image--secondary {
  opacity: 0;
}

/* On hover: swap images */
.product-card:hover .product-card__primary-img,
.product-card:hover .product-card__img.primary,
.product-card:hover .product-card__image--primary {
  opacity: 0;
}

.product-card:hover .product-card__secondary-img,
.product-card:hover .product-card__img.secondary,
.product-card:hover .product-card__image--secondary {
  opacity: 1;
}

/* Subtle zoom on all images on hover */
.product-card:hover .product-card__primary-img,
.product-card:hover .product-card__secondary-img,
.product-card:hover .product-card__img,
.product-card:hover .product-card__image--primary,
.product-card:hover .product-card__image--secondary {
  transform: scale(1.04);
}

.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
  pointer-events: none;
}

/* Both naming conventions: .badge.badge--* and .product-badge.product-badge--* */
.badge,
.product-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
  line-height: 1.4;
}

.badge--sale,
.product-badge--sale {
  background: var(--sale);
  color: var(--white);
}

.badge--new,
.product-badge--new {
  background: var(--black);
  color: var(--white);
}

.badge--hot {
  background: var(--accent);
  color: var(--white);
}

.badge--sold-out,
.product-badge--oos {
  background: var(--muted);
  color: var(--white);
}

.product-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card:hover .product-card__wishlist,
.product-card__image-wrap:hover .product-card__wishlist {
  opacity: 1;
  transform: translateY(0);
}

.product-card__wishlist:hover {
  background: var(--black);
  color: var(--white);
}

.product-card__wishlist svg {
  width: 15px;
  height: 15px;
}

.product-card__wishlist.wishlisted {
  opacity: 1;
  background: var(--sale);
  color: var(--white);
}

.product-card__quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(33,33,33,0.92);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px;
  text-align: center;
  border: none;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.product-card__quick-view svg {
  width: 14px;
  height: 14px;
}

.product-card:hover .product-card__quick-view,
.product-card__image-wrap:hover .product-card__quick-view {
  transform: translateY(0);
}

.product-card__body {
  padding: 14px 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Variants block (swatches + sizes) sits between image and info */
.product-card__variants {
  padding: 10px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card__swatches {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--ease), transform var(--ease);
  flex-shrink: 0;
  position: relative;
}

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

.swatch--white {
  background: #ffffff;
  border-color: var(--border) !important;
}

.swatch--white:hover,
.swatch--white.active {
  border-color: var(--black) !important;
}

.swatch-more {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}

.product-card__sizes {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  background: var(--white);
  color: var(--dark);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

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

.size-btn.unavailable {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

.product-card__info {
  padding: 12px 12px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card__cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card__cat a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

.product-card__cat a:hover {
  color: var(--accent);
}

.product-card__name {
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

.product-card__name a:hover {
  color: var(--black);
  text-decoration: underline;
}

/* Accessibility: visually hidden but readable by screen readers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.product-card__price .woocommerce-Price-amount,
.product-card__price bdi {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.product-card__price del .woocommerce-Price-amount,
.product-card__price del bdi,
.product-card__price .original {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: line-through;
}

.product-card__price ins {
  text-decoration: none;
}

.product-card__price ins .woocommerce-Price-amount,
.product-card__price ins bdi,
.product-card__price .sale-price {
  color: var(--sale);
  font-weight: 600;
}

/* Star rating */
.product-card__rating {
  margin-top: 2px;
}

.product-card__rating .star-rating {
  font-size: 12px;
}

/* Actions: always visible below info */
.product-card__actions {
  padding: 10px 12px 14px;
  margin-top: auto;
}

.product-card__actions .btn,
.product-card__actions .btn--dark {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
}

.product-card__actions .btn:hover,
.product-card__actions .btn--dark:hover {
  background: var(--black);
  color: var(--white);
}

.product-card__actions .btn--disabled {
  border-color: var(--border);
  color: var(--muted);
  background: var(--off-white);
  cursor: not-allowed;
  pointer-events: none;
}

.product-card__actions .btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Legacy atc class */
.product-card__atc {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 16px;
  cursor: pointer;
  transition: background var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.product-card__atc:hover {
  background: var(--accent);
}

.product-card__atc svg {
  width: 14px;
  height: 14px;
}

/* WooCommerce native product card overrides */
ul.products li.product a img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  transition: opacity 0.3s ease;
}

ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  padding: 14px 0 4px;
}

ul.products li.product .price {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

ul.products li.product .price del {
  color: var(--muted);
  font-weight: 400;
}

ul.products li.product .price ins {
  color: var(--sale);
  text-decoration: none;
}

ul.products li.product .button {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 16px;
  transition: background var(--ease);
  text-decoration: none;
}

ul.products li.product .button:hover {
  background: var(--accent);
}

ul.products li.product .onsale {
  display: none;
}

/* ============================================================
   12a. PRODUCT SECTIONS (new arrivals, best sellers, etc.)
   ============================================================ */
.section-products {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-footer {
  margin-top: 48px;
}

.section-footer--center {
  display: flex;
  justify-content: center;
}

.section-best-sellers {
  padding-top: 100px;
}

/* ============================================================
   12b. CATEGORY CARDS
   ============================================================ */
.section-categories {
  padding-top: 80px;
  padding-bottom: 80px;
}

.category-grid {
  display: grid;
  gap: var(--gap);
}

.category-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.category-card__link {
  display: block;
  position: relative;
  overflow: hidden;
}

.category-card__link:hover .category-card__image {
  transform: scale(1.05);
}

.category-card__link:hover .category-card__overlay {
  opacity: 0.55;
}

.category-card__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.18) 45%, rgba(0,0,0,0) 100%);
  opacity: 1;
  transition: opacity var(--ease);
}

.category-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  color: var(--white);
  text-align: left;
}

.category-card__name {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
  color: var(--white);
  letter-spacing: 0.01em;
}

.category-card__count {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   13. PROMO STRIP
   ============================================================ */
.promo-strip {
  background: var(--black);
  color: var(--white);
  padding: 72px var(--pad);
  text-align: center;
}

.promo-strip .section-eyebrow {
  color: var(--accent);
}

.promo-strip .section-heading {
  color: var(--white);
  margin-bottom: 28px;
}

.promo-strip p {
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* section-promo — actual HTML class used in front-page.php */
.section-promo {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 100px var(--pad);
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.promo__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.section-promo .container {
  position: relative;
  z-index: 1;
}

.promo__content {
  max-width: 680px;
  margin: 0 auto;
}

.promo__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.promo__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.promo__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   14. SPLIT SECTION
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.split-section--reverse .split-section__img {
  order: 2;
}

.split-section--reverse .split-section__content {
  order: 1;
}

.split-section__img {
  position: relative;
  overflow: hidden;
}

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

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

.split-section__content {
  display: flex;
  align-items: center;
  padding: 64px;
  background: var(--off-white);
}

.split-section__inner {
  max-width: 440px;
}

.split-section__inner .section-heading {
  margin-bottom: 16px;
}

.split-section__inner p {
  margin-bottom: 32px;
  color: var(--muted);
}

.split-section--dark .split-section__content {
  background: var(--black);
}

.split-section--dark .section-heading,
.split-section--dark p {
  color: var(--white);
}

.split-section--dark .section-eyebrow {
  color: var(--accent);
}

/* section-split — actual HTML class used in front-page.php */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.section-split--reverse .split__image-col {
  order: 2;
}

.section-split--reverse .split__content-col {
  order: 1;
}

.split__image-col {
  position: relative;
  overflow: hidden;
}

.split__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.split__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 600px;
  background: var(--light);
}

.split__content-col {
  display: flex;
  align-items: center;
  background: var(--off-white);
}

.split__content {
  padding: 72px 64px;
  max-width: 520px;
}

.split__content .section-label {
  margin-bottom: 12px;
}

.split__content .section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  margin-bottom: 24px;
  line-height: 1.18;
}

.split__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}

.split__text:last-of-type {
  margin-bottom: 36px;
}

/* ============================================================
   15. TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--off-white);
}

.section-testimonials {
  background: var(--off-white);
  padding-top: 100px;
  padding-bottom: 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow var(--ease), transform var(--ease);
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.testimonial-card__stars {
  display: flex;
  flex-direction: row;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-card__stars .star-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
  color: var(--accent);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--light);
}

.testimonial-author__info {
  flex: 1;
}

.testimonial-author__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  display: block;
}

.testimonial-author__title {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.testimonial-verified {
  font-size: 11px;
  color: #4caf50;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.testimonial-verified svg {
  width: 12px;
  height: 12px;
}

/* ============================================================
   16. BLOG GRID
   ============================================================ */
.section-blog {
  padding-top: 100px;
  padding-bottom: 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: block;
  background: var(--light);
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.blog-card__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-card__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.blog-card__date {
  font-size: 12px;
  color: var(--muted);
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 10px;
}

.blog-card__title a {
  color: var(--black);
  transition: color var(--ease);
}

.blog-card__title a:hover {
  color: var(--accent);
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-card__link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--ease), color var(--ease);
}

.blog-card__link:hover {
  color: var(--accent);
  gap: 10px;
}

.blog-card__link svg {
  width: 13px;
  height: 13px;
}

/* ============================================================
   17. LOOKBOOK / INSTAGRAM GRID
   ============================================================ */
.lookbook {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}

.lookbook__item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: block;
  cursor: pointer;
  background: var(--light);
}

.lookbook__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lookbook__item:hover img {
  transform: scale(1.08);
}

.lookbook__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lookbook__item:hover .lookbook__overlay {
  background: rgba(0,0,0,0.4);
}

.lookbook__icon {
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lookbook__item:hover .lookbook__icon {
  opacity: 1;
  transform: scale(1);
}

.lookbook__icon svg {
  width: 28px;
  height: 28px;
}

.lookbook__header {
  text-align: center;
  margin-bottom: 32px;
}

.lookbook__handle {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.lookbook__handle a {
  color: var(--accent);
  transition: color var(--ease);
}

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

/* ============================================================
   18. FEATURES STRIP
   ============================================================ */
.features-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.features-grid,
.features-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}

.feature-item:first-child {
  padding-left: 0;
}

.feature-item:last-child {
  border-right: none;
  padding-right: 0;
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--ease);
}

.feature-item:hover .feature-item__icon {
  transform: scale(1.12);
}

.feature-item__icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}

.feature-item__content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-item__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1.3;
}

.feature-item__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   19. NEWSLETTER
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  padding: 80px var(--pad);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(200,169,110,0.06);
  pointer-events: none;
}

.newsletter::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(200,169,110,0.04);
  pointer-events: none;
}

.newsletter__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter .section-eyebrow {
  color: var(--accent);
}

.newsletter .section-heading {
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form__input {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transition: border-color var(--ease), background var(--ease);
}

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

.newsletter-form__input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}

.newsletter-form__btn {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease);
  white-space: nowrap;
}

.newsletter-form__btn:hover {
  background: #b8996e;
  border-color: #b8996e;
}

.newsletter__disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
}

/* newsletter-section — actual HTML class used in footer.php */
.newsletter-section {
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  padding: 80px var(--pad);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.06);
  pointer-events: none;
}

.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.04);
  pointer-events: none;
}

.newsletter-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.newsletter-section__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}

.newsletter-section__form {
  width: 100%;
}

.newsletter-section__field-wrap {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-section__input {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  font-family: var(--font-body);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: border-color var(--ease), background var(--ease);
  outline: none;
}

.newsletter-section__input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.newsletter-section__input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-section__btn {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
  white-space: nowrap;
}

.newsletter-section__btn:hover {
  background: #b8996e;
  border-color: #b8996e;
}

/* ============================================================
   20. FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* --- Main columns area --- */
.site-footer__main {
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

/* --- Brand column --- */
.footer-col--brand,
.footer-brand {
  padding-right: 16px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img,
.footer-brand__logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-site-name,
.footer-brand__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
}

.footer-desc,
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 24px;
  max-width: 280px;
}

/* --- Social icons --- */
.social-links,
.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-link,
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
  flex-shrink: 0;
}

.social-link:hover,
.footer-social a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.social-link svg,
.footer-social svg {
  width: 15px;
  height: 15px;
}

/* --- Link columns --- */
.site-footer__col,
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-widget {
  display: flex;
  flex-direction: column;
}

.footer-widget__title,
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}

.footer-widget__links,
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-widget__links li a,
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--ease);
  line-height: 1.4;
}

.footer-widget__links li a:hover,
.footer-col ul li a:hover {
  color: var(--white);
}

/* --- Bottom bar --- */
.site-footer__bottom,
.footer-bottom {
  padding: 22px 0;
}

.footer-bottom__inner,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom__copyright,
.footer-bottom__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}

.footer-bottom__copyright a,
.footer-bottom__copy a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom__copyright a:hover,
.footer-bottom__copy a:hover {
  color: var(--white);
}

/* --- Payment icons --- */
.footer-bottom__payment,
.footer-payments {
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  height: 24px;
  width: auto;
  opacity: 0.45;
  transition: opacity var(--ease);
  flex-shrink: 0;
}

.payment-icon svg {
  height: 24px;
  width: auto;
  display: block;
}

.payment-icon:hover {
  opacity: 0.75;
}

/* legacy aliases */
.footer-top {
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand__logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
}

/* ============================================================
   21. SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.search-overlay__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--black);
  transition: background var(--ease);
}

.search-overlay__close:hover {
  background: var(--border);
}

.search-overlay__close svg {
  width: 18px;
  height: 18px;
}

.search-overlay__inner {
  width: 100%;
  max-width: 700px;
  padding: 0 var(--pad);
}

.search-overlay__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.search-overlay__form {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--black);
}

.search-overlay__input {
  flex: 1;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--black);
  background: none;
  border: none;
  padding: 8px 0;
  width: 100%;
}

.search-overlay__input::placeholder {
  color: var(--border);
}

.search-overlay__submit {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-overlay__submit svg {
  width: 24px;
  height: 24px;
}

.search-overlay__popular {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-overlay__popular-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.search-overlay__tag {
  font-size: 12px;
  color: var(--black);
  background: var(--light);
  padding: 5px 14px;
  border-radius: var(--pill);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  text-decoration: none;
}

.search-overlay__tag:hover {
  background: var(--black);
  color: var(--white);
}

/* ============================================================
   22. CART DRAWER
   ============================================================ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 800;
  pointer-events: none;
  transition: background 0.3s ease;
}

.cart-drawer-overlay--open {
  background: rgba(0,0,0,0.45);
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 92vw;
  background: var(--white);
  z-index: 810;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
}

.cart-drawer-overlay--open .cart-drawer,
.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-drawer__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer__count {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  background: var(--black);
  color: var(--white);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  background: var(--light);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  transition: background var(--ease);
}

.cart-drawer__close:hover {
  background: var(--border);
}

.cart-drawer__close svg {
  width: 16px;
  height: 16px;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  -webkit-overflow-scrolling: touch;
}

.cart-drawer__empty {
  text-align: center;
  padding: 48px 0;
}

.cart-drawer__empty svg {
  width: 56px;
  height: 56px;
  color: var(--border);
  margin: 0 auto 16px;
}

.cart-drawer__empty h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.cart-drawer__empty p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light);
  transition: opacity 0.2s ease;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item__img-wrap {
  display: block;
  flex-shrink: 0;
  width: 80px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
}

.cart-item__img-wrap img,
.cart-item__img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  background: var(--off-white);
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.cart-item__name:hover {
  text-decoration: underline;
  color: var(--black);
}

.cart-item__meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.cart-item__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-item__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  transition: background var(--ease);
  font-size: 14px;
}

.cart-item__qty-btn:hover {
  background: var(--light);
}

.cart-item__qty-input {
  width: 36px;
  height: 28px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  background: none;
}

.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 2px;
  transition: color var(--ease);
  display: flex;
  align-items: center;
}

.cart-item__remove:hover {
  color: var(--sale);
}

.cart-item__remove svg {
  width: 14px;
  height: 14px;
}

.cart-drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--off-white);
}

.cart-subtotal,
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
}

.cart-subtotal__label,
.cart-drawer__subtotal-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.cart-subtotal__value,
.cart-drawer__subtotal-value {
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  padding-top: 10px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
}

.cart-shipping-note {
  font-size: 12px;
  color: #4caf50;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 500;
}

.cart-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   22a. QUICK VIEW MODAL
   ============================================================ */

.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Prevent CSS display:flex from overriding the hidden attribute */
.quick-view-modal[hidden] {
  display: none !important;
}

.quick-view-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-view-modal.is-open .quick-view-modal__backdrop {
  opacity: 1;
}

.quick-view-modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  -webkit-overflow-scrolling: touch;
}

.quick-view-modal.is-open .quick-view-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.quick-view-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  transition: background var(--ease), border-color var(--ease);
}

.quick-view-modal__close:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.quick-view-modal__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

/* Layout inside the modal */
.qv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.qv-gallery {
  background: var(--off-white);
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.qv-main-img-wrap {
  position: relative;
  flex: 1;
}

.qv-main-img-wrap .product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.qv-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.qv-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.qv-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color var(--ease);
}

.qv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* Info panel */
.qv-info {
  padding: 36px 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qv-cat a {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
}

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

.qv-name {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
}

.qv-name a {
  color: var(--black);
  text-decoration: none;
}

.qv-name a:hover { text-decoration: underline; }

.qv-rating {
  display: flex;
  align-items: center;
}

.qv-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
}

.qv-price ins {
  text-decoration: none;
  color: var(--sale, #e53935);
}

.qv-price del {
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  margin-right: 6px;
}

.qv-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.qv-desc p { margin: 0 0 8px; }
.qv-desc p:last-child { margin-bottom: 0; }

.qv-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.qv-actions .btn {
  width: 100%;
  justify-content: center;
}

.qv-view-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--ease);
}

.qv-view-full:hover { color: var(--black); }

.qv-error {
  text-align: center;
  color: var(--muted);
  padding: 40px;
}

@media (max-width: 640px) {
  .quick-view-modal {
    padding: 0;
    align-items: flex-end;
  }
  .quick-view-modal__dialog {
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
  }
  .qv-layout {
    grid-template-columns: 1fr;
  }
  .qv-gallery {
    border-radius: 16px 16px 0 0;
  }
  .qv-image {
    height: 280px;
  }
  .qv-info {
    padding: 24px 20px;
  }
}

/* ============================================================
   22b. WISHLIST
   ============================================================ */

/* Navbar badge */
.wishlist-btn {
  position: relative;
}

.wishlist-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--sale, #e53935);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  border-radius: 99px;
  text-align: center;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.wishlist-badge--empty {
  opacity: 0;
  transform: scale(0.5);
}

/* Product card heart pop animation */
@keyframes wishlistPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.product-card__wishlist.wishlist-pop {
  animation: wishlistPop 0.35s ease forwards;
}

/* Wishlist drawer */
.wishlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 92vw;
  background: var(--white);
  z-index: 910;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
}

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

.wishlist-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.wishlist-drawer__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.wishlist-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  -webkit-overflow-scrolling: touch;
}

/* Empty state */
.wishlist-empty {
  text-align: center;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.wishlist-empty svg {
  color: var(--border);
}

.wishlist-empty p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Wishlist items list */
.wishlist-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wishlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light);
}

.wishlist-item:last-child {
  border-bottom: none;
}

.wishlist-item__img-wrap {
  display: block;
  flex-shrink: 0;
  width: 70px;
  height: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
}

.wishlist-item__img {
  width: 70px;
  height: 88px;
  object-fit: cover;
  display: block;
}

.wishlist-item__img--placeholder {
  width: 70px;
  height: 88px;
  background: var(--off-white);
}

.wishlist-item__info {
  flex: 1;
  min-width: 0;
}

.wishlist-item__name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wishlist-item__name:hover {
  text-decoration: underline;
}

.wishlist-item__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.wishlist-item__price ins {
  text-decoration: none;
  color: var(--sale, #e53935);
}

.wishlist-item__remove {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), color var(--ease);
}

.wishlist-item__remove:hover {
  background: var(--light);
  color: var(--sale, #e53935);
}

/* ============================================================
   23. SHOP PAGE
   ============================================================ */

/* Outer wrapper — full width, constrains inner content */
.shop-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--pad) 80px;
}

/* ── Banner ─────────────────────────────────────────────────── */
.shop-banner {
  background: var(--off-white);
  background-size: cover;
  background-position: center;
  padding: 0;
  position: relative;
  margin-bottom: 0;
}

.shop-banner--has-image .shop-banner__inner {
  background: rgba(0, 0, 0, 0.42);
  color: var(--white);
}

.shop-banner--has-image .shop-banner__title,
.shop-banner--has-image .shop-banner__desc {
  color: var(--white);
}

.shop-banner--has-image .woocommerce-breadcrumb,
.shop-banner--has-image .shop-breadcrumb,
.shop-banner--has-image .woocommerce-breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.shop-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--pad) 40px;
}

.shop-banner__title,
.shop-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.1;
}

.shop-banner__desc,
.shop-banner p {
  font-size: 14px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 0;
}

.shop-banner__count {
  margin-top: 8px;
}

.shop-banner__count .woocommerce-result-count {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.woocommerce-breadcrumb,
.shop-breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  line-height: 1;
}

.woocommerce-breadcrumb a,
.shop-breadcrumb a {
  color: var(--muted);
  transition: color var(--ease);
}

.woocommerce-breadcrumb a:hover,
.shop-breadcrumb a:hover {
  color: var(--black);
}

/* ── Toolbar ────────────────────────────────────────────────── */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.shop-toolbar__left,
.shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Filters button */
.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--white);
  color: var(--black);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

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

.filter-toggle-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* View switcher */
.view-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--white);
  border: none;
  cursor: pointer;
  color: var(--muted);
  transition: background var(--ease), color var(--ease);
}

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

/* WooCommerce sort select */
.shop-toolbar__sort .woocommerce-ordering,
.woocommerce-ordering {
  margin: 0;
}

.shop-toolbar__sort select,
.woocommerce-ordering select,
.shop-sort {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 36px 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
  transition: border-color var(--ease);
}

.shop-toolbar__sort select:focus,
.woocommerce-ordering select:focus {
  border-color: var(--black);
}

.results-count,
.woocommerce-result-count {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ── Layout ─────────────────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Sidebar overlay (mobile) ───────────────────────────────── */
.sidebar-overlay,
.js-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 400;
  pointer-events: none;
  transition: background 0.3s ease;
}

.sidebar-overlay--open,
.js-sidebar-overlay.is-open {
  background: rgba(0, 0, 0, 0.45);
  pointer-events: all;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.shop-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.shop-sidebar__inner {
  overflow: hidden;
}

.shop-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.shop-sidebar__heading,
.shop-sidebar__title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
}

.sidebar-close {
  display: none;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--black);
  transition: background var(--ease);
}

.sidebar-close:hover {
  background: var(--border);
}

.sidebar-close svg {
  width: 13px;
  height: 13px;
}

/* ── Sidebar widgets ────────────────────────────────────────── */
.sidebar-widget {
  border-bottom: 1px solid var(--border);
}

.sidebar-widget:last-child {
  border-bottom: none;
}

/* Toggle button wrapping the title */
.sidebar-widget__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.sidebar-widget__title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

.sidebar-widget__chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.22s ease;
}

.sidebar-widget__toggle[aria-expanded="false"] .sidebar-widget__chevron {
  transform: rotate(-90deg);
}

.sidebar-widget__body {
  padding: 0 20px 18px;
}

.sidebar-widget__body.is-hidden {
  display: none;
}

/* ── Category list ──────────────────────────────────────────── */
.product-categories {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-categories li {
  margin: 0;
}

.product-categories li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dark);
  padding: 5px 0;
  text-decoration: none;
  transition: color var(--ease);
}

.product-categories li a:hover,
.product-categories li.current-cat > a {
  color: var(--black);
  font-weight: 600;
}

.product-categories .count {
  font-size: 11px;
  color: var(--muted);
}

.product-categories .children {
  list-style: none;
  padding: 4px 0 4px 14px;
  margin: 0;
}

/* ── Color filter ───────────────────────────────────────────── */
.filter-color-list,
.filter-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-color-item {
  margin: 0;
}

.filter-color-swatch,
.filter-swatch {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
  cursor: pointer;
  transition: outline-color var(--ease), transform var(--ease);
  text-decoration: none;
}

.filter-color-swatch:hover,
.filter-swatch:hover {
  outline-color: var(--muted);
  transform: scale(1.1);
}

.filter-color-swatch.is-active,
.filter-swatch.active {
  outline-color: var(--black);
  transform: scale(1.1);
}

/* ── Size filter ────────────────────────────────────────────── */
.filter-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-size-item {
  margin: 0;
}

.filter-size-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark);
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

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

/* ── Active filters ─────────────────────────────────────────── */
.active-filter-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.active-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--dark);
}

.active-filter-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--light);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}

.active-filter-remove:hover {
  background: var(--black);
  color: var(--white);
}

.clear-all-filters {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  transition: color var(--ease);
}

.clear-all-filters:hover {
  color: var(--black);
}

/* Legacy filter classes */
.active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  background: var(--black);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--pill);
}

/* ── WC Price filter widget ─────────────────────────────────── */
.price_slider_wrapper {
  padding: 4px 0;
}

.price_slider_amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 8px;
}

.price_slider_amount .price_label {
  font-size: 12px;
  color: var(--dark);
}

.price_slider_amount button {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--ease);
}

.price_slider_amount button:hover {
  background: var(--dark);
}

.price-range {
  padding: 4px 0;
}

.price-range__values {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.price-range input[type="range"] {
  width: 100%;
  height: 2px;
  background: var(--border);
  border-radius: var(--pill);
  appearance: none;
  outline: none;
  cursor: pointer;
}

.price-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--black);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--black);
}

/* ── Filter checkbox rows ───────────────────────────────────── */
.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--dark);
  cursor: pointer;
  transition: color var(--ease);
}

.filter-item:hover { color: var(--accent); }

.filter-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}

/* ── Product grid ───────────────────────────────────────────── */
.shop-main {
  min-width: 0;
}

.shop-grid ul.products,
.shop-main ul.products {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* ── Pagination ─────────────────────────────────────────────── */
.shop-pagination,
.woocommerce-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.shop-pagination ul,
.woocommerce-pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-pagination ul li a,
.shop-pagination ul li span,
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.shop-pagination ul li a:hover,
.woocommerce-pagination ul li a:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.shop-pagination ul li span.current,
.woocommerce-pagination ul li span.current {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ── Empty state ────────────────────────────────────────────── */
.shop-empty-state,
.shop-empty {
  text-align: center;
  padding: 80px var(--pad);
}

.shop-empty-state__icon,
.shop-empty svg {
  width: 56px;
  height: 56px;
  color: var(--border);
  margin: 0 auto 20px;
}

.shop-empty-state__icon svg {
  width: 56px;
  height: 56px;
}

.shop-empty-state__heading,
.shop-empty h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.shop-empty-state__text,
.shop-empty p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

/* ── WooCommerce notices ────────────────────────────────────── */
.woocommerce-notices-wrapper {
  margin-bottom: 20px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ============================================================
   24. SINGLE PRODUCT
   ============================================================ */
.single-product-page {
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Breadcrumb */
.single-breadcrumb {
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.single-breadcrumb .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--muted);
}
.single-breadcrumb .woocommerce-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.single-breadcrumb .woocommerce-breadcrumb a:hover {
  color: var(--black);
}

/* Notices */
.single-product-notices:empty { display: none; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 40px 0 80px;
}

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

.product-gallery__main {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--off-white);
  margin-bottom: 12px;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.3s ease;
}

.product-gallery__zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  color: var(--black);
  transition: background var(--ease);
}

.product-gallery__zoom:hover {
  background: var(--black);
  color: var(--white);
}

.product-gallery__zoom svg {
  width: 16px;
  height: 16px;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.product-thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--ease);
  background: var(--off-white);
}

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

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

/* Thumbnail strip — template uses product-gallery__thumbs / product-gallery__thumb */
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.product-gallery__thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--ease);
  background: var(--off-white);
  padding: 0;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  border-color: var(--black);
}

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

/* Sale badge on main image */
.product-gallery__sale-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--sale);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

/* Product Summary */
.product-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

/* Category links above title */
.product-summary__cats {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.product-summary__cats a {
  color: var(--accent);
  text-decoration: none;
}
.product-summary__cats a:hover { text-decoration: underline; }

/* Short description */
.product-summary__short-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 20px;
}

/* Divider */
.product-summary__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* Variation groups */
.var-group {
  margin-bottom: 20px;
}
.var-group__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.var-group__selected {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
.var-reset {
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  margin-top: 8px;
  display: inline-block;
}

/* Variation notice */
.variation-notice {
  font-size: 13px;
  color: var(--sale);
  min-height: 20px;
  margin-bottom: 12px;
}

.product-summary__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.product-summary__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--black);
}

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

.product-summary__stars {
  display: flex;
  gap: 2px;
}

.product-summary__stars svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
  color: var(--accent);
}

.product-summary__review-count {
  font-size: 13px;
  color: var(--muted);
}

.product-summary__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.product-summary__price del {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
}

.product-summary__price ins {
  text-decoration: none;
  color: var(--sale);
}

.product-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* Variation labels */
.variation-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.variation-label .selected-val {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

/* Variable product swatches */
.var-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.var-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--ease), transform var(--ease);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.var-swatch:hover,
.var-swatch.selected {
  border-color: var(--black);
  transform: scale(1.1);
}

.var-swatch.unavailable {
  opacity: 0.3;
  cursor: not-allowed;
}

.var-swatch.unavailable::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--muted);
  transform: rotate(-45deg);
}

/* Size buttons */
.var-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.var-size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--white);
  color: var(--dark);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

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

.var-size-btn.unavailable {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

.var-size-guide {
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  margin-left: auto;
}

/* Qty + ATC row — template uses product-summary__atc + qty-group */
.product-atc-row,
.product-summary__atc {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

/* qty-group = same as qty-wrap */
.qty-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.qty-group .qty-btn {
  width: 44px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  font-size: 18px;
  transition: background var(--ease);
}
.qty-group .qty-btn:hover { background: var(--light); }

.qty-group .qty-input {
  width: 56px;
  height: 54px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  background: none;
  color: var(--black);
  -moz-appearance: textfield;
  font-family: var(--font-body);
}
.qty-group .qty-input::-webkit-inner-spin-button,
.qty-group .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Qty + ATC row */
.product-atc-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  width: 44px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  font-size: 18px;
  transition: background var(--ease);
}

.qty-btn:hover {
  background: var(--light);
}

.qty-btn svg {
  width: 16px;
  height: 16px;
}

.qty-input {
  width: 56px;
  height: 54px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  background: none;
  color: var(--black);
}

.single-atc-btn {
  flex: 1;
  height: 54px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--ease), transform var(--ease);
}

.single-atc-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.single-atc-btn svg {
  width: 18px;
  height: 18px;
}

.single-atc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.product-wishlist-btn {
  height: 54px;
  width: 54px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  cursor: pointer;
  color: var(--black);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  flex-shrink: 0;
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  background: var(--sale);
  color: var(--white);
  border-color: var(--sale);
}

.product-wishlist-btn svg {
  width: 20px;
  height: 20px;
}

/* Wishlist text link in summary */
.product-summary__wishlist {
  margin-bottom: 20px;
}
.wishlist-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color var(--ease);
}
.wishlist-link:hover { color: var(--sale); }
.wishlist-link svg { flex-shrink: 0; }

/* OOS notice */
.product-summary__oos-notice {
  font-size: 14px;
  color: var(--muted);
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

/* Meta rows (SKU, category, tags) */
.product-summary__meta {
  margin-bottom: 20px;
  font-size: 13px;
}
.product-meta-row {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
}
.product-meta-row:last-child { border-bottom: none; }
.product-meta-row__label {
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  min-width: 90px;
}
.product-meta-row__value a {
  color: var(--dark);
  text-decoration: none;
}
.product-meta-row__value a:hover { color: var(--black); }

/* Trust section — template uses product-summary__trust */
.product-summary__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

/* Trust badges row */
.trust-badges {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dark);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Product tabs — template uses product-tabs / product-tabs__nav / product-tabs__tab / product-tabs__panel */
.product-tabs {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
  padding-bottom: 80px;
}

.product-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  gap: 0;
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.product-tabs__tab {
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  background: none;
  transition: color var(--ease), border-color var(--ease);
}

.product-tabs__tab:hover,
.product-tabs__tab.is-active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.product-tabs__panel {
  display: none;
}
.product-tabs__panel.is-active {
  display: block;
}

/* Description content */
.product-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--dark);
  max-width: 720px;
}
.product-description p { margin-bottom: 16px; }

/* Attributes table */
.product-attributes-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 560px;
}
.product-attributes-table__row {
  border-bottom: 1px solid var(--border);
}
.product-attributes-table__label {
  padding: 12px 20px 12px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
  width: 160px;
}
.product-attributes-table__value {
  padding: 12px 0;
  font-size: 14px;
  color: var(--dark);
}

/* Section heading (related products) */
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
  color: var(--black);
}

/* Product tabs */
.wc-tabs-wrapper,
.product-tabs-wrapper {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.wc-tabs,
.product-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  list-style: none;
}

.wc-tabs li a,
.product-tabs-nav li a,
.wc-tabs li button,
.product-tabs-nav li button {
  display: block;
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  transition: color var(--ease), border-color var(--ease);
  text-decoration: none;
}

.wc-tabs li.active a,
.product-tabs-nav li.active a,
.wc-tabs li a:hover,
.product-tabs-nav li a:hover,
.wc-tabs li.active button,
.product-tabs-nav li.active button {
  color: var(--black);
  border-bottom-color: var(--black);
}

.wc-tab,
.product-tab-panel {
  display: none;
}

.wc-tab.active,
.product-tab-panel.active {
  display: block;
}

/* Related products */
.related-products {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.related-products h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.related-products ul.products {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* ============================================================
   25. CART PAGE
   ============================================================ */
.woocommerce-cart-page {
  padding: 48px 0 80px;
}

.woocommerce-cart-page h1 {
  font-size: 2.4rem;
  margin-bottom: 32px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.cart-table thead th {
  padding: 14px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
  text-align: left;
}

.cart-table thead th:last-child {
  text-align: right;
}

.cart-table tbody td {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-table .product-remove {
  text-align: center;
  width: 40px;
}

.cart-table .product-remove a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light);
  color: var(--dark);
  font-size: 18px;
  transition: background var(--ease), color var(--ease);
  text-decoration: none;
  font-weight: 300;
}

.cart-table .product-remove a:hover {
  background: var(--sale);
  color: var(--white);
}

.cart-table .product-thumbnail img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.cart-table .product-name a {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: color var(--ease);
}

.cart-table .product-name a:hover {
  color: var(--accent);
}

.cart-table .product-name .variation {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.cart-table .product-price,
.cart-table .product-subtotal {
  font-size: 14px;
  font-weight: 600;
}

.cart-table .product-subtotal {
  text-align: right;
}

.cart-table .product-quantity .quantity {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}

.cart-table .product-quantity .qty {
  width: 48px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
}

.coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}

.coupon input[type="text"] {
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--ease);
  width: 200px;
}

.coupon input[type="text"]:focus {
  border-color: var(--black);
}

.cart-collaterals {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.cart-totals {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.cart-totals h2 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.cart-totals table {
  margin-bottom: 24px;
}

.cart-totals table tr td,
.cart-totals table tr th {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.cart-totals table tr th {
  font-weight: 600;
  color: var(--black);
  text-align: left;
  width: 45%;
}

.cart-totals table tr.order-total td,
.cart-totals table tr.order-total th {
  font-size: 16px;
  font-weight: 700;
  border-bottom: none;
  padding-top: 16px;
}

/* ============================================================
   26. MY ACCOUNT
   ============================================================ */
.woocommerce-account,
.my-account-page {
  padding: 60px 0 80px;
}

.woocommerce-account h1 {
  font-size: 2.2rem;
  margin-bottom: 36px;
}

/* Login/Register forms */
.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 460px;
}

.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
  margin-bottom: 16px;
}

.woocommerce-form-login label,
.woocommerce-form-register label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 7px;
}

.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--ease);
}

.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus {
  border-color: var(--black);
}

.woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 20px;
}

/* My Account Dashboard */
.woocommerce-MyAccount-navigation {
  width: 220px;
  flex-shrink: 0;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease), color var(--ease);
  text-decoration: none;
}

.woocommerce-MyAccount-navigation ul li:last-child a {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--black);
  color: var(--white);
}

.woocommerce-MyAccount-content {
  flex: 1;
}

.woocommerce-account .woocommerce {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ============================================================
   27. ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1)  { transition-delay: 0.05s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(2)  { transition-delay: 0.12s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(3)  { transition-delay: 0.19s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(4)  { transition-delay: 0.26s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(5)  { transition-delay: 0.33s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(6)  { transition-delay: 0.40s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(n+7) { transition-delay: 0.47s; opacity: 1; transform: none; }

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

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -468px 0; }
  100% { background-position: 468px 0; }
}

.skeleton {
  background: linear-gradient(to right, var(--light) 8%, var(--border) 18%, var(--light) 33%);
  background-size: 800px 104px;
  animation: shimmer 1.2s infinite linear;
  border-radius: var(--radius);
}

/* ============================================================
   28. RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* 1440px */
@media (max-width: 1440px) {
  .lookbook {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* 1200px */
@media (max-width: 1200px) {
  :root {
    --pad: 24px;
    --gap: 20px;
  }

  .products-grid,
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .cats-grid,
  .category-grid--4col {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid,
  .site-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-brand,
  .footer-col--brand {
    grid-column: span 3;
    padding-right: 0;
    max-width: 480px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .lookbook {
    grid-template-columns: repeat(4, 1fr);
  }

  .shop-grid ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .related-products ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section__content {
    padding: 48px var(--pad);
  }

  .split-section--reverse .split-section__img {
    order: 1;
  }

  .split-section--reverse .split-section__content {
    order: 2;
  }

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

  .cat-card--wide {
    grid-column: span 1;
    aspect-ratio: 3/4;
  }

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

  .product-layout {
    gap: 40px;
  }

  .shop-layout {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }

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

  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
  }

  .feature-item:first-child,
  .feature-item:last-child {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .feature-item:last-child,
  .feature-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

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

  .cart-totals {
    max-width: 440px;
    margin-left: auto;
  }
}

/* Touch devices: always show product card hover-only elements */
@media (hover: none) {
  .product-card__wishlist {
    opacity: 1;
    transform: translateY(0);
  }

  .product-card__quick-view {
    transform: translateY(0);
  }
}

/* 768px - Mobile */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --pad: 20px;
    --gap: 16px;
  }

  /* Header */
  .header-wrap {
    padding: 0 var(--pad);
  }

  .site-logo__text {
    font-size: 1.3rem;
  }

  /* Nav */
  .nav-panel {
    width: 100%;
    max-width: 320px;
  }

  /* Hero */
  .hero,
  .section-hero {
    height: 85vh;
    min-height: 520px;
    align-items: flex-end;
  }

  .hero__title {
    font-size: 2.6rem;
  }

  .hero__content {
    padding-bottom: 72px;
  }

  /* Products */
  .products-grid,
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .shop-grid ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Cats */
  .cats-grid,
  .category-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Split section */
  .section-split {
    grid-template-columns: 1fr;
  }

  .section-split--reverse .split__image-col,
  .section-split--reverse .split__content-col {
    order: unset;
  }

  .split__image-col {
    min-height: 360px;
  }

  .split__content {
    padding: 48px var(--pad);
    max-width: 100%;
  }

  /* Promo */
  .section-promo {
    padding: 72px var(--pad);
  }

  .promo__title {
    font-size: 2rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Lookbook */
  .lookbook {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Features */
  .features-grid,
  .features-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-grid,
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-col--brand {
    grid-column: span 2;
  }

  .footer-bottom,
  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Newsletter */
  .newsletter-form,
  .newsletter-section__field-wrap {
    flex-direction: column;
  }

  .newsletter-form__input,
  .newsletter-section__input {
    border-right: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
  }

  .newsletter-form__btn,
  .newsletter-section__btn {
    border-radius: var(--radius);
  }

  /* Shop */
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-container {
    padding-top: 0;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 88vw;
    z-index: 500;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--border);
    overflow-y: auto;
  }

  .shop-sidebar--open {
    transform: translateX(0);
  }

  .js-sidebar-overlay.is-open,
  .sidebar-overlay--open {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.45);
  }

  .sidebar-close {
    display: flex;
  }

  .shop-main ul.products,
  .shop-grid ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Single Product */
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-gallery {
    position: static;
  }

  .product-summary {
    position: static;
  }

  .product-thumbs {
    grid-template-columns: repeat(5, 1fr);
  }

  .trust-badges {
    flex-direction: column;
    gap: 12px;
  }

  /* Cart */
  .cart-table thead {
    display: none;
  }

  .cart-table tbody td {
    display: block;
    padding: 8px 0;
    border-bottom: none;
  }

  .cart-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    gap: 0 12px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }

  .cart-table .product-remove {
    order: 99;
    margin-left: auto;
  }

  .cart-table .product-thumbnail {
    width: auto;
  }

  .cart-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Section padding */
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section--lg {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  /* Grid */
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

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

/* 480px - Small mobile */
@media (max-width: 480px) {
  .products-grid,
  ul.products {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .shop-grid ul.products {
    grid-template-columns: 1fr !important;
  }

  .cats-grid,
  .category-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .section-hero {
    height: 75vh;
    min-height: 480px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__content {
    padding-bottom: 60px;
  }

  .hero__cta,
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__cta .btn,
  .hero__actions .btn {
    width: 100%;
    max-width: 260px;
  }

  .hero__scroll-indicator {
    display: none;
  }

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

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

  .footer-brand,
  .footer-col--brand {
    grid-column: span 1;
  }

  .features-grid,
  .features-strip__grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .feature-item:nth-child(odd) {
    border-right: none;
  }

  .feature-item:last-child {
    border-bottom: none;
  }

  .product-atc-row {
    flex-wrap: wrap;
  }

  .single-atc-btn {
    order: 3;
    width: 100%;
  }

  .product-wishlist-btn {
    order: 4;
  }

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

  .promo-strip {
    padding: 48px var(--pad);
  }

  .split-section__content {
    padding: 36px var(--pad);
  }

  .testimonial-card {
    padding: 24px;
  }

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

  .cart-totals {
    max-width: 100%;
    padding: 24px;
  }

  .woocommerce-account .woocommerce {
    flex-direction: column;
  }

  .woocommerce-MyAccount-navigation {
    width: 100%;
  }

  .related-products ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .nav-overlay,
  .cart-drawer,
  .search-overlay,
  .topbar {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  a {
    text-decoration: underline;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}
