/*
Theme Name: Nagaland Tea Marketplace
Theme URI: https://nagalandtea.in
Author: Tea Marketplace
Author URI: https://nagalandtea.in
Description: A premium, earthy marketplace theme for Nagaland indigenous teas. Built for WooCommerce multivendor.
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: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nagaland-tea
Tags: woocommerce, marketplace, tea, earthy, premium
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --soil:    #2C1A0E;
  --bark:    #4A2E1A;
  --clay:    #7A4F2E;
  --ochre:   #B07D4A;
  --straw:   #D4A96A;
  --cream:   #F5EDD8;
  --mist:    #FAF6EE;
  --leaf:    #3D5A2E;
  --sage:    #6B8F52;
  --steam:   #A8C48A;
  --white:   #FFFDF7;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

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

  --shadow-card: 0 2px 16px rgba(44,26,14,0.08);
  --shadow-hover: 0 8px 32px rgba(44,26,14,0.14);

  --max-width: 1280px;
  --gutter: 48px;
}

/* ============================================================
   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(--mist);
  color: var(--soil);
  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; font-family: var(--font-body); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--soil);
}

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

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

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ochre);
  flex-shrink: 0;
}
.section-eyebrow span {
  font-size: 11px;
  font-family: var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--soil);
  margin-bottom: 40px;
  line-height: 1.18;
}
.section-title em { color: var(--clay); font-style: italic; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  transition: background 0.22s, color 0.22s, transform 0.15s;
  font-family: var(--font-body);
  line-height: 1;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ochre);
  color: var(--soil);
}
.btn-primary:hover { background: var(--straw); }

.btn-dark {
  background: var(--soil);
  color: var(--cream);
}
.btn-dark:hover { background: var(--bark); }

.btn-outline {
  background: transparent;
  color: var(--bark);
  border: 1px solid rgba(74,46,26,0.3);
}
.btn-outline:hover {
  background: var(--bark);
  color: var(--cream);
}

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

/* ============================================================
   HEADER / NAV
   ============================================================ */
#masthead {
  background: var(--soil);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-leaf {
  width: 38px;
  height: 38px;
  background: var(--ochre);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-leaf svg {
  width: 20px;
  height: 20px;
  fill: var(--soil);
}
.site-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--cream);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.site-title span { color: var(--straw); }
.site-title a { color: inherit; }

#primary-navigation ul {
  display: flex;
  gap: 36px;
}
#primary-navigation a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,237,216,0.65);
  transition: color 0.2s;
}
#primary-navigation a:hover,
#primary-navigation .current-menu-item > a {
  color: var(--cream);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-vendor-nav {
  background: var(--ochre);
  color: var(--soil);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  transition: background 0.2s;
}
.btn-vendor-nav:hover { background: var(--straw); }

.header-icon-btn {
  background: none;
  border: none;
  color: rgba(245,237,216,0.7);
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.2s;
}
.header-icon-btn:hover { color: var(--cream); }
.header-icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  min-height: 88vh;
  background: var(--soil);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-placeholder.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--soil) 42%, rgba(44,26,14,0.7) 70%, rgba(61,90,46,0.3) 100%);
}
/* Decorative dot grid */
.hero-dots {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: radial-gradient(circle, var(--cream) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 80px var(--gutter);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(176,125,74,0.12);
  border: 1px solid rgba(176,125,74,0.3);
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
}
.hero-badge-pulse {
  width: 7px;
  height: 7px;
  background: var(--straw);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-badge span {
  font-size: 11px;
  color: var(--straw);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  color: var(--cream);
  line-height: 1.06;
  margin-bottom: 22px;
  font-weight: 600;
}
.hero-heading em {
  color: var(--straw);
  font-style: italic;
}
.hero-subheading {
  font-size: 16px;
  color: rgba(245,237,216,0.58);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 420px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(245,237,216,0.6);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.hero-link:hover { color: var(--cream); }
.hero-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Hero right visual */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-img-frame {
  width: 340px;
  height: 460px;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(176,125,74,0.2);
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #3D2810 0%, #5A3C1A 40%, #7A5228 70%, #4A6B2E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.25;
  fill: var(--cream);
}
.hero-stat-card {
  position: absolute;
  background: rgba(245,237,216,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245,237,216,0.12);
  border-radius: var(--radius-md);
  padding: 14px 20px;
}
.hero-stat-card.card-left {
  bottom: 80px;
  left: -30px;
}
.hero-stat-card.card-right {
  top: 100px;
  right: -20px;
}
.hsc-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--straw);
  line-height: 1;
}
.hsc-lbl {
  font-size: 10px;
  color: rgba(245,237,216,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--cream);
  border-bottom: 1px solid rgba(74,46,26,0.1);
  padding: 18px var(--gutter);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 32px;
}
.trust-item + .trust-item {
  border-left: 1px solid rgba(74,46,26,0.14);
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(61,90,46,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--leaf);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--bark);
  line-height: 1.2;
}
.trust-sublabel {
  font-size: 11px;
  color: var(--clay);
  line-height: 1;
  margin-top: 2px;
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.categories-section {
  background: var(--white);
  padding: 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}
.cat-card-media {
  position: absolute;
  inset: 0;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cat-card:hover .cat-card-media { transform: scale(1.06); }

/* Placeholder gradients per card */
.cat-card:nth-child(1) .cat-card-media { background: linear-gradient(160deg, #2C1A0E 0%, #4A2E1A 50%, #6B3F1E 100%); }
.cat-card:nth-child(2) .cat-card-media { background: linear-gradient(160deg, #1A2E18 0%, #2D4A28 50%, #3D5A2E 100%); }
.cat-card:nth-child(3) .cat-card-media { background: linear-gradient(160deg, #2C2010 0%, #4A3820 50%, #6B5030 100%); }
.cat-card:nth-child(4) .cat-card-media { background: linear-gradient(160deg, #221818 0%, #3A2828 50%, #5A3A38 100%); }

.cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.6;
}
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  z-index: 1;
}
.cat-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  z-index: 2;
}
.cat-tag {
  font-size: 10px;
  color: var(--straw);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 5px;
}
.cat-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: white;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.2;
}
.cat-count {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
/* Decorative number top-right */
.cat-card-num {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  font-weight: 600;
}

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.featured-section {
  background: var(--mist);
  padding: 88px var(--gutter);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.section-header .section-title { margin-bottom: 0; }

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

/* WooCommerce product card overrides */
.product-card,
ul.products li.product {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.product-card:hover,
ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}
.product-thumb img,
ul.products li.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }

/* Placeholder thumb bg */
.product-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-thumb-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.35;
}

.ph-1 { background: linear-gradient(135deg, #E8D5B0, #C4A06A); }
.ph-2 { background: linear-gradient(135deg, #C8D8B0, #8AAF60); }
.ph-3 { background: linear-gradient(135deg, #D0C0A0, #A08050); }
.ph-4 { background: linear-gradient(135deg, #B8C8C0, #5A8A78); }
.ph-5 { background: linear-gradient(135deg, #E0D0A8, #B0904A); }
.ph-6 { background: linear-gradient(135deg, #C0B8D0, #6A5A88); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.badge-estate  { background: var(--bark); color: var(--cream); }
.badge-organic { background: var(--leaf); color: white; }
.badge-new     { background: var(--ochre); color: var(--soil); }
.badge-limited { background: var(--clay); color: white; }

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  background: rgba(255,253,247,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.2s;
}
.product-wishlist:hover { background: white; }
.product-wishlist svg {
  width: 16px;
  height: 16px;
  stroke: var(--clay);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-vendor {
  font-size: 10px;
  color: var(--sage);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--soil);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.28;
}
.product-origin {
  font-size: 12px;
  color: var(--clay);
  margin-bottom: 14px;
  font-weight: 300;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.product-price {
  font-size: 19px;
  font-weight: 600;
  color: var(--bark);
  font-family: var(--font-display);
}
.product-price .unit {
  font-size: 12px;
  color: var(--clay);
  font-weight: 400;
  font-family: var(--font-body);
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}
.stars {
  color: var(--ochre);
  font-size: 13px;
  letter-spacing: -1px;
}
.rating-count {
  font-size: 11px;
  color: var(--clay);
}
.btn-add-cart {
  width: 100%;
  padding: 10px;
  background: var(--cream);
  border: 1px solid rgba(74,46,26,0.2);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--bark);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-add-cart:hover {
  background: var(--bark);
  color: var(--cream);
  border-color: var(--bark);
}

.section-footer { text-align: center; margin-top: 44px; }

/* ============================================================
   ORIGIN / STORY STRIP
   ============================================================ */
.origin-section {
  background: var(--bark);
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 480px;
}
.origin-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.origin-text .section-eyebrow::before { background: var(--straw); }
.origin-text .section-eyebrow span  { color: var(--straw); }
.origin-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 18px;
}
.origin-title em { color: var(--straw); font-style: italic; }
.origin-body {
  font-size: 15px;
  color: rgba(245,237,216,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 440px;
}
.origin-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.origin-stat {
  border-left: 2px solid rgba(176,125,74,0.35);
  padding-left: 18px;
}
.origin-stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--straw);
  line-height: 1;
  font-weight: 600;
}
.origin-stat-lbl {
  font-size: 11px;
  color: rgba(245,237,216,0.45);
  letter-spacing: 0.07em;
  margin-top: 3px;
}

.origin-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1A0D06 0%, #2E1A0A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.origin-visual-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background-image: url('assets/images/origin-placeholder.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.origin-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
}
.origin-rings {
  width: 220px;
  height: 220px;
  border: 1px solid rgba(212,169,106,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.origin-rings-inner {
  width: 160px;
  height: 160px;
  border: 1px solid rgba(212,169,106,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.origin-geo-label {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--straw);
  font-weight: 600;
}
.origin-geo-sub {
  font-size: 10px;
  color: rgba(245,237,216,0.3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.origin-caption {
  font-size: 11px;
  color: rgba(245,237,216,0.28);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   VENDOR CTA
   ============================================================ */
.vendor-section {
  background: var(--cream);
  padding: 88px var(--gutter);
}
.vendor-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  justify-content: space-between;
}
.vendor-text { max-width: 540px; }
.vendor-text .section-eyebrow::before { background: var(--clay); }
.vendor-text .section-eyebrow span  { color: var(--clay); }
.vendor-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  color: var(--soil);
  line-height: 1.22;
  margin-bottom: 16px;
}
.vendor-body {
  font-size: 15px;
  color: var(--clay);
  line-height: 1.78;
  margin-bottom: 32px;
  font-weight: 300;
}
.vendor-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.vendor-perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.vp-icon {
  width: 48px;
  height: 48px;
  background: rgba(61,90,46,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vp-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--leaf);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vp-label {
  font-size: 11px;
  color: var(--clay);
  font-weight: 500;
  line-height: 1.3;
}

.vendor-visual {
  width: 300px;
  height: 260px;
  background: var(--soil);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.vendor-visual-dots {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, var(--cream) 1px, transparent 1px);
  background-size: 16px 16px;
}
.vendor-visual-text {
  position: relative;
  text-align: center;
  z-index: 1;
}
.vendor-visual-text .big {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--ochre);
  line-height: 1;
}
.vendor-visual-text .mid {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--cream);
  margin-top: 10px;
  line-height: 1.35;
}
.vendor-visual-text .mid em { color: var(--straw); font-style: italic; }
.vendor-visual-text .small {
  font-size: 10px;
  color: rgba(245,237,216,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */
.newsletter-strip {
  background: var(--leaf);
  padding: 52px var(--gutter);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: white;
  margin-bottom: 6px;
}
.newsletter-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
.newsletter-form input {
  padding: 12px 20px;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  background: rgba(255,255,255,0.12);
  color: white;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  min-width: 260px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form button {
  padding: 12px 24px;
  background: var(--ochre);
  color: var(--soil);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--straw); }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: var(--soil);
  color: rgba(245,237,216,0.52);
  padding: 64px var(--gutter) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-col .footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: block;
}
.footer-brand-col .footer-logo span { color: var(--straw); }
.footer-brand-col p {
  font-size: 13px;
  line-height: 1.72;
  font-weight: 300;
  margin-bottom: 0;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--straw);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(245,237,216,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 12px; margin: 0; }
.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-badge {
  background: rgba(245,237,216,0.05);
  border: 1px solid rgba(245,237,216,0.1);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(245,237,216,0.45);
}

/* ============================================================
   WOOCOMMERCE INTEGRATION
   ============================================================ */
.woocommerce-page .site-main { background: var(--mist); }

/* Shop page */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 !important;
}
.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product a img { border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--soil);
  padding: 0;
  margin-bottom: 6px;
}
.woocommerce ul.products li.product .price {
  color: var(--bark);
  font-family: var(--font-display);
  font-size: 17px;
}
.woocommerce ul.products li.product .button {
  width: 100%;
  background: var(--cream);
  color: var(--bark);
  border: 1px solid rgba(74,46,26,0.2);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px;
  transition: background 0.2s, color 0.2s;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--bark);
  color: var(--cream);
}
.woocommerce-loop-add-to-cart-link {
  display: block !important;
}

/* Product page */
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--soil);
  margin-bottom: 10px;
}
.woocommerce div.product p.price {
  color: var(--bark);
  font-family: var(--font-display);
  font-size: 26px;
}
.woocommerce div.product .button {
  background: var(--ochre);
  color: var(--soil);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.woocommerce div.product .button:hover { background: var(--straw); }

/* Cart & Checkout */
.woocommerce .cart-collaterals,
.woocommerce-cart .woocommerce { padding: 48px var(--gutter); }
.woocommerce .cart_totals h2,
.woocommerce form.checkout h3 {
  font-family: var(--font-display);
  color: var(--soil);
}
.woocommerce #place_order {
  background: var(--ochre) !important;
  color: var(--soil) !important;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
  color: var(--clay);
  font-size: 12px;
  padding: 16px var(--gutter);
  background: var(--cream);
  margin: 0;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--ochre); }

/* ============================================================
   SINGLE PRODUCT PAGE LAYOUT
   ============================================================ */
.single-product-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}
.product-gallery-placeholder {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #E8D5B0, #C4A06A);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery-placeholder svg { width: 80px; height: 80px; opacity: 0.3; fill: var(--bark); }

/* ============================================================
   ARCHIVE / SHOP PAGE
   ============================================================ */
.shop-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 48px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}
.shop-sidebar {
  position: sticky;
  top: 88px;
  height: fit-content;
}
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.sidebar-widget h3 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 16px;
}
.sidebar-widget ul { display: flex; flex-direction: column; gap: 10px; }
.sidebar-widget a {
  font-size: 13px;
  color: var(--clay);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-widget a:hover { color: var(--bark); }
.cat-item-count {
  background: var(--cream);
  color: var(--clay);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 10px;
}

/* ============================================================
   FORMS — VENDOR REGISTRATION
   ============================================================ */
.vendor-register-wrap {
  max-width: 640px;
  margin: 64px auto;
  padding: 0 var(--gutter);
}
.ntm-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.ntm-form h2 {
  font-size: 28px;
  margin-bottom: 6px;
}
.ntm-form .form-subtitle {
  font-size: 14px;
  color: var(--clay);
  margin-bottom: 32px;
  font-weight: 300;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row.single { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--bark);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid rgba(74,46,26,0.22);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--soil);
  background: var(--mist);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ochre);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .origin-section { grid-template-columns: 1fr; }
  .origin-visual { display: none; }
}

@media (max-width: 900px) {
  .products-grid,
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .vendor-inner { flex-direction: column; gap: 40px; }
  .vendor-visual { width: 100%; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .shop-wrap { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .vendor-perks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; }
  #primary-navigation { display: none; }
  .nav-toggle { display: flex; }
  .btn-vendor-nav { display: none; }
  .products-grid,
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid rgba(74,46,26,0.14); padding-left: 0; }
  .trust-item { padding: 8px 0; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-radius: var(--radius-sm) var(--radius-sm) 0 0; min-width: unset; width: 100%; }
  .newsletter-form button { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .form-row { grid-template-columns: 1fr; }
  .single-product-wrap { grid-template-columns: 1fr; }
}
