/*
Theme Name: Kalakriti
Theme URI: https://example.com/kalakriti
Author: Kalakriti Studio
Author URI: https://example.com
Description: A full-width WooCommerce theme for handcrafted goods — warm brass gold palette, oversized product thumbnails, artisan aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kalakriti
Tags: full-width-template, e-commerce, custom-colors, woocommerce
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ivory:       #FAF6EF;
  --cream:       #F0E6D3;
  --cream-dark:  #E8D5B5;
  --brass:       #B8860B;
  --gold:        #D4A017;
  --gold-light:  #F0C84A;
  --terracotta:  #C4622D;
  --rust:        #A84B1F;
  --charcoal:    #2C2018;
  --warm-brown:  #5C3D1E;
  --muted:       #8A6E52;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garant', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-card: 0 4px 24px rgba(44, 32, 24, 0.10);
  --shadow-hover: 0 12px 40px rgba(44, 32, 24, 0.18);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   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(--ivory);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
p { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}
.container--narrow { max-width: 900px; }

/* ============================================================
   WOVEN DIVIDER  (the signature element)
   A repeating SVG weave pattern used between sections
   ============================================================ */
.woven-divider {
  width: 100%;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20'%3E%3Crect x='0' y='0' width='20' height='10' fill='%23D4A017' opacity='.35'/%3E%3Crect x='20' y='10' width='20' height='10' fill='%23D4A017' opacity='.35'/%3E%3Crect x='0' y='10' width='20' height='10' fill='%23B8860B' opacity='.22'/%3E%3Crect x='20' y='0' width='20' height='10' fill='%23B8860B' opacity='.22'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 20px;
  opacity: 0.7;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
#site-header {
  position: relative;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--cream-dark);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(44,32,24,0.10); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  height: 72px;
  width: 100%;
  max-width: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.site-logo .logo-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.site-logo .logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 2px;
}

/* Primary Nav — centered */
.primary-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.primary-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-brown);
  transition: color var(--transition);
  position: relative;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.primary-nav a:hover { color: var(--terracotta); }
.primary-nav a:hover::after { width: 100%; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-actions .icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--warm-brown);
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.header-actions .icon-btn:hover { background: var(--cream); color: var(--terracotta); }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn { display: none; }

/* ============================================================
   ADMIN BAR & PAGE LAYOUT
   ============================================================ */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #site-header { top: 46px; } }
#page-content { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem);
  background: var(--cream);
  position: relative;
  z-index: 1;
}
.hero-content::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(to right, var(--cream), transparent);
  z-index: 2;
}
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero-title {
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--terracotta);
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 44ch;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.hero-image:hover img { transform: scale(1.04); }

/* Gold accent line on hero image */
.hero-image::after {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border: 2px solid var(--terracotta);
}
.btn-primary:hover {
  background: var(--rust);
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,98,45,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,134,11,0.35);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-header .eyebrow { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { margin: 0 auto; color: var(--muted); font-size: 1.05rem; }

/* Gold underline decoration */
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--terracotta));
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--charcoal);
  color: var(--gold-light);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.marquee-item::after {
  content: '◆';
  color: var(--brass);
  font-size: 0.5rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.categories-section { padding: clamp(4rem, 8vw, 8rem) 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,32,24,0.85) 0%, rgba(44,32,24,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: all var(--transition);
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(44,32,24,0.92) 0%, rgba(44,32,24,0.25) 70%, transparent 100%);
}
.category-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.category-count {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}
.category-card:hover .category-count { opacity: 1; transform: translateY(0); }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.products-section { padding: clamp(4rem, 8vw, 8rem) 0; background: var(--cream); }
.products-section .container { max-width: 1440px; }

/* WooCommerce override — large thumbnails */
.woocommerce ul.products,
.products-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 2rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

.woocommerce ul.products li.product,
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex !important;
  flex-direction: column;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}
.woocommerce ul.products li.product:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* LARGE Thumbnail */
.woocommerce ul.products li.product a img,
.product-card .product-thumb {
  width: 100% !important;
  height: 380px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.55s ease !important;
}
.woocommerce ul.products li.product:hover a img,
.product-card:hover .product-thumb {
  transform: scale(1.06) !important;
}
.product-image-wrap {
  overflow: hidden;
  position: relative;
}

/* Badges */
.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
}
.badge-new   { background: var(--gold); color: var(--charcoal); }
.badge-sale  { background: var(--terracotta); color: var(--white); }
.badge-handmade { background: var(--charcoal); color: var(--gold-light); }

/* Quick-add overlay */
.product-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(44, 32, 24, 0.9);
  display: flex;
  justify-content: center;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.product-image-wrap:hover .product-quick-add { transform: translateY(0); }
.btn-quick-add {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--terracotta);
  padding: 0.65rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.btn-quick-add:hover { background: var(--rust); }

/* Product info */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-info { padding: 1.25rem 1.5rem 1.5rem; }

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-name {
  font-family: var(--font-display) !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  color: var(--charcoal) !important;
  margin-bottom: 0.3rem !important;
  line-height: 1.3 !important;
}
.product-craft {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* WooCommerce Price */
.woocommerce ul.products li.product .price,
.product-price {
  font-family: var(--font-display) !important;
  font-size: 1.3rem !important;
  color: var(--terracotta) !important;
  font-weight: 600 !important;
  display: block;
  margin-bottom: 1rem;
}
.woocommerce ul.products li.product .price del {
  color: var(--muted) !important;
  font-size: 0.95rem !important;
  opacity: 0.7;
}

/* WooCommerce Add to Cart button */
.woocommerce ul.products li.product .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: 2px solid var(--terracotta) !important;
  transition: all var(--transition) !important;
  width: 100%;
  text-align: center;
  display: block;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--rust) !important;
  border-color: var(--rust) !important;
  transform: translateY(-1px);
}

/* ============================================================
   FEATURED BANNER
   ============================================================ */
.featured-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  overflow: hidden;
}
.featured-banner-content {
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(2.5rem, 5vw, 6rem);
}
.featured-banner-content .eyebrow { color: var(--gold-light); margin-bottom: 1.25rem; }
.featured-banner-content h2 {
  color: var(--ivory);
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.featured-banner-content h2 strong {
  color: var(--gold);
  font-weight: 700;
}
.featured-banner-content p { color: var(--cream-dark); margin-bottom: 2rem; }

.featured-banner-image { position: relative; overflow: hidden; }
.featured-banner-image img { width: 100%; height: 100%; object-fit: cover; }

/* Gold frame */
.featured-banner-image::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(212,160,23,0.4);
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--ivory);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  object-fit: cover;
  border: 2px solid var(--gold);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--charcoal);
}
.testimonial-location { font-size: 0.72rem; color: var(--muted); }

/* ============================================================
   USP STRIP
   ============================================================ */
.usp-strip {
  background: var(--cream);
  padding: 3rem 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.usp-item { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.usp-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.usp-title { font-weight: 700; font-size: 0.9rem; color: var(--charcoal); }
.usp-desc  { font-size: 0.8rem; color: var(--muted); max-width: 18ch; margin: 0 auto; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--warm-brown) 100%);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(212,160,23,0.08);
}
.newsletter-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.newsletter-inner .eyebrow { color: var(--gold-light); margin-bottom: 1rem; }
.newsletter-inner h2 { color: var(--ivory); margin-bottom: 0.75rem; }
.newsletter-inner p { color: var(--cream-dark); margin: 0 auto 2rem; }

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.newsletter-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form button {
  padding: 1rem 1.75rem;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--charcoal);
  color: var(--cream-dark);
  padding: clamp(3rem, 6vw, 6rem) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}
.footer-brand .logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 1.25rem;
}
.footer-brand p { font-size: 0.875rem; color: var(--muted); max-width: 32ch; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(184,134,11,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--brass); border-color: var(--brass); color: var(--white); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(184,134,11,0.15);
  padding: 1.5rem clamp(1.25rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-payments { display: flex; gap: 0.5rem; align-items: center; }
.payment-icon {
  background: rgba(255,255,255,0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cream-dark);
  letter-spacing: 0.05em;
}

/* ============================================================
   WOOCOMMERCE SINGLE PRODUCT
   ============================================================ */
.woocommerce div.product {
  background: var(--ivory);
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.woocommerce div.product div.summary .product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  font-weight: 400 !important;
  color: var(--charcoal) !important;
}
.woocommerce div.product div.summary .price {
  color: var(--terracotta) !important;
  font-family: var(--font-display) !important;
  font-size: 1.75rem !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 1rem 2.5rem !important;
  transition: all var(--transition) !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: var(--rust) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(196,98,45,0.35) !important;
}

/* ============================================================
   WOOCOMMERCE CART & CHECKOUT
   ============================================================ */
.woocommerce-cart table.cart,
.woocommerce-checkout form.checkout {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}
.woocommerce #payment #place_order {
  background: var(--terracotta) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 1.5px solid var(--cream-dark) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.75rem 1rem !important;
  transition: border-color var(--transition) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15) !important;
}

/* ============================================================
   SHOP PAGE / ARCHIVE
   ============================================================ */
.woocommerce-page .woocommerce-products-header {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: 4rem clamp(1.25rem, 4vw, 4rem);
  text-align: center;
  margin-bottom: 3rem;
}
.woocommerce-page .woocommerce-products-header__title {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  color: var(--charcoal) !important;
}
.woocommerce .woocommerce-ordering select {
  border: 1.5px solid var(--cream-dark) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.6rem 1rem !important;
  color: var(--charcoal) !important;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.woocommerce .woocommerce-breadcrumb {
  color: var(--muted) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.05em;
  padding: 1rem 0 !important;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--brass) !important; }

/* ============================================================
   STAR RATINGS
   ============================================================ */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: var(--gold) !important; }

/* ============================================================
   NOTICES
   ============================================================ */
.woocommerce-message, .woocommerce-info {
  border-top-color: var(--gold) !important;
  background: var(--cream) !important;
}
.woocommerce-error { border-top-color: var(--terracotta) !important; }

/* ============================================================
   BLOG / PAGES
   ============================================================ */
.post-thumbnail { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 1.5rem; }
.entry-title { font-family: var(--font-display); }
.entry-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.5rem; }
.entry-content { line-height: 1.85; }
.entry-content h2, .entry-content h3 { color: var(--warm-brown); margin: 2rem 0 1rem; }
.entry-content a { color: var(--terracotta); border-bottom: 1px solid rgba(196,98,45,0.3); transition: color var(--transition); }
.entry-content a:hover { color: var(--rust); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--charcoal);
  flex-direction: column;
  padding: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  align-self: flex-end;
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ivory);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 55vw; }
  .hero-content::before { display: none; }
  .featured-banner { grid-template-columns: 1fr; }
  .featured-banner-image { height: 55vw; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .primary-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .woocommerce ul.products,
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; }
}

@media (max-width: 640px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .header-inner .primary-nav { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-md); }
  .newsletter-form input { border-radius: var(--radius-sm); }
  .newsletter-form button { border-radius: var(--radius-sm); }
  .usp-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products,
  .products-grid { grid-template-columns: 1fr !important; }
  .woocommerce ul.products li.product a img,
  .product-card .product-thumb { height: 300px !important; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.text-gold    { color: var(--gold); }
.text-terra   { color: var(--terracotta); }
.bg-cream     { background: var(--cream); }
.mt-auto      { margin-top: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================================
   CONFLICT FIXES — suppress any plugin/old-theme header output
   that renders outside #site-header
   ============================================================ */
body > *:not(#site-header):not(#page-content):not(#wpadminbar):not(script):not(style) {
  /* Don't hide blindly — only target known conflict wrappers if needed */
}
/* If a plugin injects a .site-header or .header outside ours, hide it */
.site-header:not(#site-header),
header.site-header:not(#site-header) {
  display: none !important;
}
