/*
Theme Name: Blu Acua
Theme URI: https://bluacua.com
Description: Bold & modern WooCommerce theme for Blu Acua — handcrafted soaps & wellness products.
Version: 1.0.0
Author: Blu Acua
Text Domain: blu-acua
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --c-black:      #0A0A0A;
  --c-white:      #FAFAF8;
  --c-ink:        #1A1A1A;
  --c-slate:      #3D3D3D;
  --c-muted:      #7A7A7A;
  --c-border:     #E2E2DE;
  --c-surface:    #F5F5F2;
  --c-accent:     #1A4A6E;   /* deep ocean blue */
  --c-accent-lt:  #EAF1F8;
  --c-gold:       #C8963E;   /* warm gold accent */
  --c-gold-lt:    #FAF3E8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.13);

  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --max-w: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--c-white);
  color: var(--c-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-black);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section--sm { padding: clamp(2rem, 5vw, 4rem) 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.text-display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.text-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.text-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}

.text-overline {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.text-body-lg { font-size: 1.125rem; line-height: 1.7; }
.text-body    { font-size: 1rem;     line-height: 1.7; }
.text-sm      { font-size: .875rem;  line-height: 1.6; }
.text-xs      { font-size: .75rem;   line-height: 1.5; }

.text-accent  { color: var(--c-accent); }
.text-gold    { color: var(--c-gold); }
.text-muted   { color: var(--c-muted); }
.text-white   { color: var(--c-white); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 2rem;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--c-black);
  color: var(--c-white);
  border: 2px solid var(--c-black);
}
.btn-primary:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--c-black);
  border: 2px solid var(--c-black);
}
.btn-outline:hover {
  background: var(--c-black);
  color: var(--c-white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-muted);
  border: 2px solid var(--c-border);
  padding: .75rem 1.5rem;
}
.btn-ghost:hover {
  border-color: var(--c-black);
  color: var(--c-black);
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-white);
  border: 2px solid var(--c-gold);
}
.btn-gold:hover {
  background: #b0832e;
  border-color: #b0832e;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: .625rem 1.25rem; font-size: .8rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-ink);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-icon:hover {
  border-color: var(--c-black);
  background: var(--c-black);
  color: var(--c-white);
}
.btn-icon svg { width: 18px; height: 18px; }

/* ============================================================
   BADGE / TAG
   ============================================================ */
.badge {
  display: inline-block;
  padding: .25rem .75rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}
.badge-dark   { background: var(--c-black); color: var(--c-white); }
.badge-accent { background: var(--c-accent); color: var(--c-white); }
.badge-gold   { background: var(--c-gold);   color: var(--c-white); }
.badge-outline{ background: transparent; border: 1.5px solid var(--c-border); color: var(--c-slate); }
.badge-new    { background: var(--c-accent-lt); color: var(--c-accent); border: 1.5px solid var(--c-accent); }
.badge-sale   { background: #FEE2E2; color: #991B1B; border: 1.5px solid #FCA5A5; }

/* ============================================================
   FORMS & INPUTS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.form-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .875rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  color: var(--c-ink);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(26,74,110,.1);
}
.form-input::placeholder { color: var(--c-muted); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; }

/* ============================================================
   DIVIDERS
   ============================================================ */
.divider {
  width: 100%;
  height: 1px;
  background: var(--c-border);
  margin: 2rem 0;
}
.divider-bold {
  height: 2px;
  background: var(--c-black);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: var(--c-muted);
  padding: 1rem 0;
}
.breadcrumbs a { color: var(--c-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--c-black); }
.breadcrumbs .sep { color: var(--c-border); }
.breadcrumbs .current { color: var(--c-black); font-weight: 500; }

/* ============================================================
   LOADER / PAGE TRANSITION
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: .1em;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--c-gold);
  animation: loaderBar 1.2s ease-in-out forwards;
}
@keyframes loaderPulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}
@keyframes loaderBar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 1rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--c-black);
  text-decoration: none;
  line-height: 1;
}
.site-logo span { color: var(--c-accent); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header-nav a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-slate);
  position: relative;
  padding-bottom: 2px;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-black);
  transition: width var(--transition);
}
.header-nav a:hover { color: var(--c-black); }
.header-nav a:hover::after,
.header-nav a.active::after { width: 100%; }
.header-nav a.active { color: var(--c-black); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
}
.header-search-toggle,
.header-wishlist,
.header-account {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  color: var(--c-slate);
}
.header-search-toggle:hover,
.header-wishlist:hover,
.header-account:hover { background: var(--c-surface); color: var(--c-black); }

.header-cart {
  position: relative;
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  background: var(--c-black);
  color: var(--c-white);
  transition: background var(--transition);
}
.header-cart:hover { background: var(--c-accent); }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px; height: 18px;
  border-radius: var(--radius-full);
  background: var(--c-gold);
  color: var(--c-white);
  font-size: .65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--c-white);
}

/* Search bar */
.header-search-bar {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: 1.25rem var(--gutter);
  display: none;
  box-shadow: var(--shadow-md);
}
.header-search-bar.open { display: flex; gap: 1rem; }
.header-search-bar input {
  flex: 1;
  padding: .75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: var(--c-surface);
}
.header-search-bar input:focus { border-color: var(--c-accent); outline: none; }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-black);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--c-white);
  padding: 2rem var(--gutter);
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-black);
  padding: .6rem 0;
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav a:hover { color: var(--c-accent); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--c-black);
  color: var(--c-white);
  text-align: center;
  padding: .6rem var(--gutter);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
}
.announcement-bar a { color: var(--c-gold); text-decoration: underline; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem);
  background: var(--c-white);
  position: relative;
  z-index: 2;
}
.hero-content::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 0; bottom: 0;
  width: 80px;
  background: var(--c-white);
  transform: skewX(-4deg);
  z-index: 3;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--c-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--c-black);
}
.hero-title em {
  font-style: italic;
  color: var(--c-accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--c-slate);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-black);
}
.hero-stat-label { font-size: .75rem; color: var(--c-muted); margin-top: .25rem; text-transform: uppercase; letter-spacing: .08em; }

.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.category-strip {
  background: var(--c-black);
  padding: 3rem 0;
  overflow: hidden;
}
.category-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
}
.category-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.5rem 1rem;
  background: var(--c-black);
  color: var(--c-white);
  cursor: pointer;
  transition: background var(--transition);
  text-align: center;
  text-decoration: none;
}
.category-strip-item:hover { background: var(--c-accent); color: var(--c-white); }
.category-strip-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  transition: border-color var(--transition);
}
.category-strip-item:hover .category-strip-icon { border-color: rgba(255,255,255,.6); }
.category-strip-name { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card-media {
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
  aspect-ratio: 1 / 1;
}
.product-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.06); }

.product-card-badges {
  position: absolute;
  top: .75rem;
  left: .75rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.product-card-actions {
  position: absolute;
  top: .75rem;
  right: .75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }

.product-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.product-card-cat {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-black);
  line-height: 1.3;
}
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--c-accent); }

.product-card-rating {
  display: flex;
  align-items: center;
  gap: .375rem;
}
.stars { display: flex; gap: 2px; color: var(--c-gold); font-size: .75rem; }
.rating-count { font-size: .75rem; color: var(--c-muted); }

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: auto;
}
.price-current {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-black);
}
.price-original {
  font-size: .9rem;
  color: var(--c-muted);
  text-decoration: line-through;
}
.price-save {
  font-size: .7rem;
  font-weight: 600;
  color: #991B1B;
  background: #FEE2E2;
  padding: .15rem .5rem;
  border-radius: var(--radius-full);
}

.product-card-footer {
  padding: 0 1.25rem 1.25rem;
}
.product-card-atc {
  width: 100%;
  padding: .75rem;
  background: var(--c-black);
  color: var(--c-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.product-card-atc:hover { background: var(--c-accent); transform: translateY(-1px); }

/* Product grid layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   SHOP / ARCHIVE PAGE
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.sidebar-widget-header {
  padding: 1rem 1.25rem;
  background: var(--c-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.sidebar-widget-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-white);
}
.sidebar-widget-body { padding: 1.25rem; background: var(--c-white); }

.filter-list { display: flex; flex-direction: column; gap: .5rem; }
.filter-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  padding: .5rem .75rem;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.filter-item:hover { background: var(--c-surface); }
.filter-check {
  width: 18px; height: 18px;
  border: 1.5px solid var(--c-border);
  border-radius: 4px;
  flex-shrink: 0;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.filter-item.checked .filter-check {
  background: var(--c-black);
  border-color: var(--c-black);
}
.filter-item.checked .filter-check::after {
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
}
.filter-label { font-size: .875rem; color: var(--c-slate); }
.filter-count { margin-left: auto; font-size: .75rem; color: var(--c-muted); }

.price-range-wrap { display: flex; flex-direction: column; gap: 1rem; }
.price-range-inputs { display: flex; gap: .75rem; }
.price-range-input {
  flex: 1;
  padding: .625rem .75rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: .875rem;
  text-align: center;
}

.shop-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--c-black);
}
.shop-result-count { font-size: .875rem; color: var(--c-muted); }
.shop-sort {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.shop-sort select {
  padding: .5rem 2rem .5rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: .875rem;
  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='%237A7A7A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-color: var(--c-white);
}
.view-toggle { display: flex; gap: .375rem; }
.view-toggle button {
  width: 36px; height: 36px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  background: var(--c-white);
  color: var(--c-muted);
  transition: all var(--transition);
}
.view-toggle button.active,
.view-toggle button:hover {
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
}

/* Active filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.active-filter-tag {
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .875rem;
  background: var(--c-accent-lt);
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
}
.active-filter-tag:hover { background: var(--c-accent); color: var(--c-white); }

/* ============================================================
   CATEGORY HERO BANNER
   ============================================================ */
.category-hero {
  background: var(--c-black);
  color: var(--c-white);
  padding: 4rem var(--gutter);
  position: relative;
  overflow: hidden;
}
.category-hero::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -50%;
  width: 600px;
  height: 600px;
  border-radius: var(--radius-full);
  background: var(--c-accent);
  opacity: .08;
}
.category-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.category-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .75rem;
}
.category-hero p { color: rgba(255,255,255,.65); max-width: 500px; font-size: 1.05rem; }

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 3rem 0;
}

.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  position: sticky;
  top: 90px;
}
.gallery-thumbs { display: flex; flex-direction: column; gap: .75rem; }
.gallery-thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--c-black); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--c-surface);
  aspect-ratio: 1/1;
  position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-zoom {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 40px; height: 40px;
  background: var(--c-white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.product-info { display: flex; flex-direction: column; gap: 1.5rem; }

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-black);
}

.product-price-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--c-black);
}
.product-price-main {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-black);
}
.product-price-was {
  font-size: 1rem;
  color: var(--c-muted);
  text-decoration: line-through;
}

.product-short-desc { font-size: .95rem; color: var(--c-slate); line-height: 1.8; }

.product-meta-list { display: flex; flex-direction: column; gap: .5rem; }
.product-meta-item {
  display: flex;
  gap: .75rem;
  font-size: .875rem;
  align-items: baseline;
}
.product-meta-key { color: var(--c-muted); min-width: 80px; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; font-weight: 600; }
.product-meta-val { color: var(--c-ink); font-weight: 500; }

.quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--c-black);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-black);
  color: var(--c-white);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 300;
  border: none;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--c-accent); }
.qty-input {
  width: 60px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: var(--c-white);
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.product-add-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
}

.product-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  padding: 1.25rem;
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  text-align: center;
}
.trust-badge svg { width: 22px; height: 22px; color: var(--c-accent); }
.trust-badge span { font-size: .7rem; color: var(--c-muted); font-weight: 500; line-height: 1.3; }

/* Product Tabs */
.product-tabs { margin-top: 4rem; }
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--c-border);
  gap: 0;
  overflow-x: auto;
}
.tab-btn {
  padding: 1rem 1.75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-btn.active { color: var(--c-black); border-bottom-color: var(--c-black); }
.tab-btn:hover { color: var(--c-black); }
.tab-content { display: none; padding: 2rem 0; }
.tab-content.active { display: block; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
}

.cart-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: 1rem;
  padding: .75rem 1.25rem;
  background: var(--c-black);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-white);
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--c-border);
  border-top: none;
  background: var(--c-white);
  transition: background var(--transition);
}
.cart-item:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.cart-item:hover { background: var(--c-surface); }

.cart-item-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-item-img {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--c-surface);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-black);
  margin-bottom: .25rem;
}
.cart-item-meta { font-size: .75rem; color: var(--c-muted); }

.cart-item-price,
.cart-item-subtotal { font-weight: 600; color: var(--c-black); }

.cart-remove {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--c-muted);
  background: none;
  transition: all var(--transition);
}
.cart-remove:hover { border-color: #991B1B; background: #FEE2E2; color: #991B1B; }

.cart-summary-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.cart-summary-head {
  background: var(--c-black);
  padding: 1.25rem 1.5rem;
  color: var(--c-white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cart-summary-body { padding: 1.5rem; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: .9rem;
}
.cart-summary-row:last-of-type { border-bottom: none; }
.cart-summary-row.total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  border-top: 2px solid var(--c-black);
  border-bottom: none;
  padding-top: 1rem;
  margin-top: .5rem;
}
.cart-coupon {
  display: flex;
  gap: .5rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.cart-coupon input {
  flex: 1;
  padding: .75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: .875rem;
}
.cart-coupon input:focus { border-color: var(--c-accent); outline: none; }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
}

.checkout-section {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.checkout-section-head {
  padding: 1.25rem 1.5rem;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.checkout-step-num {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: var(--c-black);
  color: var(--c-white);
  font-size: .75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.checkout-section-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-black);
}
.checkout-section-body { padding: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.payment-methods { display: flex; flex-direction: column; gap: .75rem; }
.payment-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
}
.payment-method.selected {
  border-color: var(--c-black);
  background: var(--c-surface);
}
.payment-radio {
  width: 20px; height: 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.payment-method.selected .payment-radio { border-color: var(--c-black); }
.payment-method.selected .payment-radio::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: var(--radius-full);
  background: var(--c-black);
}
.payment-method-name { font-weight: 600; font-size: .9rem; }
.payment-method-icons { margin-left: auto; display: flex; gap: .375rem; }
.card-icon {
  width: 36px; height: 24px;
  background: var(--c-border);
  border-radius: 4px;
  font-size: .55rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-slate);
  letter-spacing: .03em;
}

.checkout-order-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.checkout-order-head {
  background: var(--c-black);
  padding: 1.25rem 1.5rem;
  color: var(--c-white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.checkout-order-body { padding: 1.5rem; }
.checkout-order-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .875rem 0;
  border-bottom: 1px solid var(--c-border);
}
.checkout-order-item:last-child { border-bottom: none; }
.checkout-order-img {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-surface);
  flex-shrink: 0;
}
.checkout-order-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-order-info { flex: 1; }
.checkout-order-name { font-size: .875rem; font-weight: 600; color: var(--c-black); }
.checkout-order-qty { font-size: .75rem; color: var(--c-muted); }
.checkout-order-price { font-weight: 700; font-size: .95rem; white-space: nowrap; }
.checkout-totals { margin-top: 1rem; }
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  font-size: .875rem;
  border-bottom: 1px solid var(--c-border);
}
.checkout-total-row.grand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  border-top: 2px solid var(--c-black);
  border-bottom: none;
  padding-top: .875rem;
  margin-top: .5rem;
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-hero {
  background: var(--c-surface);
  padding: 3rem var(--gutter);
  border-bottom: 1px solid var(--c-border);
}
.search-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.search-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}
.search-form-large {
  display: flex;
  border: 2px solid var(--c-black);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 600px;
}
.search-form-large input {
  flex: 1;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  background: var(--c-white);
  border: none;
}
.search-form-large input:focus { outline: none; }
.search-form-large button {
  padding: 1rem 1.75rem;
  background: var(--c-black);
  color: var(--c-white);
  border: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.search-form-large button:hover { background: var(--c-accent); }

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.search-filter-chip {
  padding: .375rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--c-white);
}
.search-filter-chip:hover,
.search-filter-chip.active {
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
}

.no-results {
  text-align: center;
  padding: 5rem 2rem;
}
.no-results-icon {
  width: 80px; height: 80px;
  background: var(--c-surface);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}
.no-results h2 { margin-bottom: .75rem; }
.no-results p { color: var(--c-muted); margin-bottom: 2rem; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--c-white);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.blog-card-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-surface);
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { padding: 1.5rem; }
.blog-card-cat { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); margin-bottom: .5rem; }
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .75rem;
  line-height: 1.3;
}
.blog-card-title a { color: var(--c-black); }
.blog-card-title a:hover { color: var(--c-accent); }
.blog-card-excerpt { font-size: .875rem; color: var(--c-slate); line-height: 1.7; margin-bottom: 1.25rem; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  color: var(--c-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
}
.blog-card-author { display: flex; align-items: center; gap: .5rem; }
.author-avatar {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--c-surface);
}

/* Single post */
.post-hero {
  background: var(--c-black);
  color: var(--c-white);
  padding: 5rem var(--gutter) 3rem;
}
.post-hero-inner { max-width: 760px; margin: 0 auto; }
.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0;
}
.post-content h2, .post-content h3 { margin: 2rem 0 1rem; }
.post-content p { margin-bottom: 1.5rem; }
.post-content blockquote {
  border-left: 4px solid var(--c-black);
  padding: 1rem 1.5rem;
  background: var(--c-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
}

/* ============================================================
   ACCOUNT / LOGIN
   ============================================================ */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
}
.account-nav {
  position: sticky;
  top: 90px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.account-nav-head {
  padding: 1.5rem;
  background: var(--c-black);
  color: var(--c-white);
}
.account-nav-avatar {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .75rem;
}
.account-nav-name { font-weight: 600; margin-bottom: .25rem; }
.account-nav-email { font-size: .75rem; color: rgba(255,255,255,.6); }
.account-nav-links { padding: .75rem 0; }
.account-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-slate);
  transition: background var(--transition), color var(--transition);
}
.account-nav-link:hover { background: var(--c-surface); color: var(--c-black); }
.account-nav-link.active { background: var(--c-surface); color: var(--c-black); font-weight: 700; border-left: 3px solid var(--c-black); }
.account-nav-link svg { width: 18px; height: 18px; }

.auth-card {
  max-width: 440px;
  margin: 4rem auto;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.auth-card-head {
  padding: 2rem;
  background: var(--c-black);
  text-align: center;
  color: var(--c-white);
}
.auth-card-head .site-logo { justify-content: center; display: flex; }
.auth-card-body { padding: 2rem; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--c-black);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}
.auth-tab {
  padding: .75rem;
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  background: none;
  border: none;
  color: var(--c-muted);
}
.auth-tab.active { background: var(--c-black); color: var(--c-white); }

/* ============================================================
   FEATURES / USP SECTION
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}
.feature-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.feature-item:last-child,
.feature-item:nth-child(4n) { border-right: none; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--c-black);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--c-white); }
.feature-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.feature-desc { font-size: .875rem; color: var(--c-muted); line-height: 1.7; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--c-black); color: var(--c-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: background var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,.08); }
.testimonial-stars { display: flex; gap: 3px; color: var(--c-gold); margin-bottom: 1rem; }
.testimonial-text { font-size: .95rem; line-height: 1.8; color: rgba(255,255,255,.8); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .875rem;
  color: var(--c-white);
}
.testimonial-name { font-weight: 600; font-size: .875rem; }
.testimonial-location { font-size: .75rem; color: rgba(255,255,255,.5); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--c-accent);
  color: var(--c-white);
  text-align: center;
  padding: 5rem var(--gutter);
}
.newsletter-section h2 { color: var(--c-white); font-size: clamp(1.5rem,3vw,2.5rem); margin-bottom: .75rem; }
.newsletter-section p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1.05rem; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: rgba(255,255,255,.1);
}
.newsletter-form input {
  flex: 1;
  padding: .875rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--c-white);
  font-size: .95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  padding: .875rem 1.5rem;
  background: var(--c-white);
  color: var(--c-accent);
  border: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--c-gold-lt); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-black);
  color: rgba(255,255,255,.7);
  padding-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .site-logo { color: var(--c-white); margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: .875rem; line-height: 1.8; color: rgba(255,255,255,.55); max-width: 280px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
  cursor: pointer;
}
.social-btn:hover { border-color: var(--c-white); color: var(--c-white); background: rgba(255,255,255,.1); }
.social-btn svg { width: 16px; height: 16px; }

.footer-heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--c-white); }

.footer-contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .875rem;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--c-gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: var(--c-white); }
.footer-payment { display: flex; gap: .5rem; align-items: center; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-notices-wrapper { margin-bottom: 1.5rem; }
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.woocommerce-message { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.woocommerce-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.woocommerce-info    { background: var(--c-accent-lt); color: var(--c-accent); border: 1px solid var(--c-accent); }

/* Stars */
.star-rating { display: flex; gap: 2px; color: var(--c-gold); font-size: .85rem; }
.star-rating .filled { color: var(--c-gold); }
.star-rating .empty { color: var(--c-border); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 3rem;
}
.page-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-slate);
  transition: all var(--transition);
  cursor: pointer;
}
.page-link:hover { border-color: var(--c-black); color: var(--c-black); }
.page-link.active { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
.page-link.prev, .page-link.next { width: auto; padding: 0 1rem; gap: .375rem; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--c-black);
  color: var(--c-white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  z-index: 50;
  border: none;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--c-accent); transform: translateY(-2px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-in { animation: fadeInUp .5s ease forwards; }
.animate-in-delay-1 { animation-delay: .1s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: .5s; }
.animate-in-delay-2 { animation-delay: .2s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: .5s; }
.animate-in-delay-3 { animation-delay: .3s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: .5s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 220px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .single-product-layout { gap: 2.5rem; }
  .checkout-layout { grid-template-columns: 1fr 360px; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .site-logo { font-size: 1.25rem; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { height: 320px; }
  .hero-content::after { display: none; }

  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; display: none; }
  .shop-sidebar.open { display: block; }

  .single-product-layout { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; }
  .gallery-thumb { width: 60px; height: 60px; }

  .cart-layout { grid-template-columns: 1fr; }
  .cart-header { display: none; }
  .cart-item { grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; gap: .75rem; }

  .checkout-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

  .hero-stats { gap: 1.25rem; }
  .product-trust-badges { grid-template-columns: 1fr; }
  .product-add-actions { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --gutter: 1rem; }
  .hero-ctas { flex-direction: column; }
  .btn-lg { padding: .9rem 1.5rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cart-coupon { flex-direction: column; }
  .checkout-order-head { font-size: .7rem; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-md); }
  .newsletter-form button { border-radius: 0 0 var(--radius-md) var(--radius-md); }
}
