/* =========================================================
   Teagritty — Main Stylesheet
   ========================================================= */

/* ----- Variables ----- */
:root {
  /* Brand blues (primary identity) */
  --brand-dark:   #0F4872;
  --brand:        #1a5e8e;
  --brand-mid:    #2a78b8;
  --brand-light:  #5b9bd5;
  --brand-pale:   #d9eaf7;
  --brand-xpale:  #f0f6fc;
  /* Section fills */
  --navy:         #0B1138;
  --forest:       #2E524A;
  --forest-light: #3d6b61;
  /* Neutral/accent */
  --amber:        #e76f51;
  --amber-light:  #fde8e0;
  --cream:        #faf7f2;
  --white:        #ffffff;
  --text-dark:    #1a1a1a;
  --text-mid:     #3d3d3d;
  --text-muted:   #6b7280;
  --border:       #e5e7eb;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
  --radius:       8px;
  --radius-lg:    14px;
  --transition:   all 0.22s ease;
  --font-head:    'Alegreya', 'New York', Iowan Old Style, Baskerville, 'Times New Roman', Georgia, serif;
  --font-body:    'Alegreya Sans', system-ui, -apple-system, sans-serif;
  --max-width:    1240px;
  --header-h:     72px;
  --bar-h:        42px;
}

/* ----- 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);
  color: var(--text-dark);
  background: var(--white);
  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: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

/* ----- Announcement Bar ----- */
#announcement-bar {
  background: var(--brand-dark);
  color: var(--white);
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 100;
}
.ann-track {
  display: flex;
  gap: 80px;
  animation: annScroll 22s linear infinite;
  white-space: nowrap;
}
.ann-item {
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ann-item .dot { color: var(--brand-light); font-size: 1rem; }
@keyframes annScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
#announcement-bar .ann-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.6); font-size: 1.1rem; line-height:1;
  transition: color 0.2s; padding: 4px;
}
#announcement-bar .ann-close:hover { color: white; }

/* ----- Site Header ----- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Logo */
.site-logo { flex-shrink: 0; }
.site-logo a { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 40px; width: auto; }
.site-logo .logo-text {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.3px;
}

/* Primary Nav */
#primary-nav { flex: 1; display: flex; justify-content: center; }
#primary-nav ul { display: flex; gap: 4px; align-items: center; }
#primary-nav li { position: relative; }
#primary-nav > ul > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: var(--transition);
}
#primary-nav > ul > li > a:hover,
#primary-nav > ul > li.current-menu-item > a { color: var(--brand); background: var(--brand-xpale); }

/* Dropdown */
.has-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; color: var(--text-muted); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  font-size: 0.89rem;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.dropdown-menu a:hover { background: var(--brand-xpale); color: var(--brand); }
.dropdown-menu .collection-icon { font-size: 1.1rem; }

/* Header Icons */
.header-icons { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.header-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--text-mid); font-size: 1.15rem;
  transition: var(--transition);
  position: relative;
}
.header-icon-btn:hover { background: var(--brand-xpale); color: var(--brand); }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--amber); color: white;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.cart-count.hidden { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; justify-content: center; align-items: center; border-radius: var(--radius); transition: background 0.2s; }
.hamburger:hover { background: var(--brand-xpale); }
.hamburger span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); display: block; }

/* ----- Mobile Menu Drawer ----- */
#mobile-menu {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 300; pointer-events: none;
}
#mobile-menu.open { pointer-events: all; }
.mobile-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
  opacity: 0; transition: opacity 0.3s;
}
#mobile-menu.open .mobile-overlay { opacity: 1; }
.mobile-drawer {
  position: absolute; top: 0; left: 0; width: 300px; height: 100%;
  background: var(--white); padding: 24px;
  transform: translateX(-100%); transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; display: flex; flex-direction: column; gap: 0;
}
#mobile-menu.open .mobile-drawer { transform: translateX(0); }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-drawer-head .logo-text { font-family: var(--font-head); font-size: 1.4rem; color: var(--brand-dark); font-weight: 700; }
.mobile-close { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.2rem; transition: background 0.2s; }
.mobile-close:hover { background: var(--brand-xpale); }
.mobile-nav a { display: block; padding: 13px 0; font-size: 1rem; font-weight: 500; color: var(--text-mid); border-bottom: 1px solid var(--border); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--brand); }
.mobile-nav .mobile-sub a { padding-left: 16px; font-size: 0.9rem; color: var(--text-muted); }
.mobile-socials { display: flex; gap: 14px; margin-top: 28px; }
.mobile-socials a { font-size: 1.3rem; color: var(--text-muted); transition: color 0.2s; }
.mobile-socials a:hover { color: var(--brand); }

/* ----- Cart Drawer ----- */
#cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 380px;
  background: var(--white); z-index: 400;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  pointer-events: none;
}
#cart-drawer.open { transform: translateX(0); pointer-events: all; }
#cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 399;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
#cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-head h3 { font-size: 1.1rem; font-weight: 700; }
.cart-close-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-muted); transition: background 0.2s; }
.cart-close-btn:hover { background: var(--brand-xpale); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--text-muted); }
.cart-empty .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cart-empty p { font-size: 0.95rem; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden; background: var(--cream); flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.cart-item-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; }
.cart-item-price { font-weight: 700; color: var(--brand); font-size: 0.95rem; }
.qty-control { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 600; background: #f9fafb; color: var(--text-mid); transition: background 0.15s; }
.qty-btn:hover { background: var(--brand-pale); }
.qty-val { width: 32px; text-align: center; font-size: 0.88rem; font-weight: 600; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-subtotal span:first-child { font-weight: 600; }
.cart-subtotal .amount { font-size: 1.2rem; font-weight: 800; color: var(--brand); }
.btn-checkout {
  display: block; width: 100%;
  background: var(--brand-dark); color: white;
  padding: 14px; border-radius: var(--radius-lg);
  font-size: 1rem; font-weight: 700; text-align: center;
  transition: var(--transition);
  margin-bottom: 10px;
}
.btn-checkout:hover { background: var(--brand); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15,72,114,0.3); }
.btn-view-cart {
  display: block; width: 100%; text-align: center;
  padding: 12px; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  font-size: 0.9rem; font-weight: 600; color: var(--text-mid);
  transition: var(--transition);
}
.btn-view-cart:hover { border-color: var(--brand); color: var(--brand); }

/* ----- Hero Section ----- */
#hero {
  position: relative;
  background: var(--brand-dark);
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  padding: 80px 24px;
  color: white;
}
.hero-tag {
  display: inline-block;
  background: var(--brand-light);
  color: white;
  padding: 5px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: 1.1rem; opacity: 0.88;
  max-width: 480px; margin-bottom: 32px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--brand-dark);
  padding: 14px 28px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,0.7); color: white;
  padding: 12px 26px; border-radius: var(--radius-lg);
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }
.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none;
  transition: var(--transition); cursor: pointer;
}
.hero-dot.active { background: white; width: 24px; border-radius: 4px; }

/* ----- Section Common ----- */
section { padding: 72px 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand-mid);
  margin-bottom: 10px; display: block;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--brand-dark); margin-bottom: 14px;
}
.section-head p { font-size: 1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* ----- Product Cards ----- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-pale); }
.product-card-img {
  position: relative; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--brand-xpale), var(--brand-pale));
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-img .badge-sale {
  position: absolute; top: 12px; left: 12px;
  background: var(--amber); color: white;
  padding: 3px 10px; border-radius: 4px;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.5px;
}
.product-card-img .badge-soldout {
  position: absolute; top: 12px; left: 12px;
  background: #6b7280; color: white;
  padding: 3px 10px; border-radius: 4px;
  font-size: 0.73rem; font-weight: 700;
}
.product-card-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat { font-size: 0.75rem; font-weight: 600; color: var(--brand-mid); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-card-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; margin-bottom: 10px; flex: 1; }
.product-card-name a { color: inherit; transition: color 0.2s; }
.product-card-name a:hover { color: var(--brand); }
.product-card-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-current { font-size: 1.15rem; font-weight: 800; color: var(--brand-dark); }
.price-old { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }
.btn-add-cart {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand-dark); color: white;
  width: 100%; padding: 11px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.88rem;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--brand); }
.btn-add-cart.loading { opacity: 0.7; pointer-events: none; }

/* ----- Featured Products Carousel ----- */
#featured-products { background: var(--cream); }
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .product-card {
  flex: 0 0 calc(25% - 18px); scroll-snap-align: start;
  min-width: 240px;
}
.carousel-nav {
  display: flex; justify-content: center; gap: 10px; margin-top: 28px;
}
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-mid); cursor: pointer;
  transition: var(--transition);
}
.carousel-btn:hover { background: var(--brand-dark); color: white; border-color: var(--brand-dark); }

/* ----- Collections Grid ----- */
#collections-section { background: var(--white); }
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.collection-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; background: var(--brand-xpale);
  transition: var(--transition);
}
.collection-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.collection-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.collection-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.collection-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; z-index: 2; color: white;
}
.collection-card-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.collection-card-content p { font-size: 0.85rem; opacity: 0.85; margin-bottom: 14px; line-height: 1.4; }
.collection-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700; color: var(--brand-light);
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: gap 0.2s;
}
.collection-card:hover .collection-card-link { gap: 10px; }

/* ----- Mission Section ----- */
#mission {
  background: linear-gradient(135deg, var(--forest) 0%, #1e3830 100%);
  color: white; text-align: center;
  padding: 96px 0;
}
#mission .section-eyebrow { color: rgba(255,255,255,0.75); }
#mission h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
#mission p { color: rgba(255,255,255,0.80); font-size: 1.05rem; max-width: 580px; margin: 0 auto 36px; line-height: 1.7; }
.btn-green-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,0.8); color: white;
  padding: 14px 32px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
}
.btn-green-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ----- Benefits/Trust Strip ----- */
#trust-strip {
  background: var(--brand-xpale);
  padding: 32px 0;
}
.trust-items { display: flex; flex-wrap: wrap; gap: 0; }
.trust-item {
  flex: 1; min-width: 180px;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px;
  border-right: 1px solid var(--brand-pale);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 1.8rem; flex-shrink: 0; }
.trust-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--brand-dark); }
.trust-text p { font-size: 0.8rem; color: var(--text-muted); }

/* ----- Blog Section ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-thumb { aspect-ratio: 16/9; background: var(--brand-xpale); overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.78rem; color: var(--text-muted); }
.blog-card-meta .author-name { font-weight: 600; color: var(--brand-mid); }
.blog-card-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; flex: 1; }
.blog-card-title a { color: var(--text-dark); transition: color 0.2s; }
.blog-card-title a:hover { color: var(--brand); }
.blog-card-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.blog-read-more { font-size: 0.85rem; font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.blog-card:hover .blog-read-more { gap: 9px; }

/* ----- Newsletter ----- */
#newsletter {
  background: var(--cream);
  padding: 72px 0;
  text-align: center;
}
#newsletter h2 { font-size: 2rem; color: var(--brand-dark); margin-bottom: 12px; }
#newsletter p { color: var(--text-muted); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 14px 18px;
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  font-size: 0.95rem; outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--brand); }
.newsletter-form button {
  background: var(--brand-dark); color: white;
  padding: 14px 24px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition); white-space: nowrap;
}
.newsletter-form button:hover { background: var(--brand); }

/* ----- Footer ----- */
#site-footer {
  background: #0B1138;
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 24px 48px;
}
.footer-brand .logo-text { font-family: var(--font-head); font-size: 1.6rem; color: white; font-weight: 700; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-social-btn:hover { background: var(--brand-mid); border-color: var(--brand-mid); color: white; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: white; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--brand-light); }
.footer-newsletter input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: white; font-size: 0.9rem;
  outline: none; margin-bottom: 10px;
  transition: border-color 0.2s;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter input:focus { border-color: var(--brand-light); }
.footer-newsletter button {
  width: 100%; background: var(--brand-mid); color: white;
  padding: 11px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.9rem; cursor: pointer;
  transition: var(--transition);
}
.footer-newsletter button:hover { background: var(--brand-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-policy-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-policy-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-policy-links a:hover { color: rgba(255,255,255,0.8); }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icon { background: rgba(255,255,255,0.12); border-radius: 4px; padding: 3px 8px; font-size: 0.72rem; color: rgba(255,255,255,0.7); font-weight: 600; letter-spacing: 0.3px; }

/* ----- Shop / Archive Page ----- */
.shop-header {
  background: linear-gradient(135deg, var(--brand-xpale) 0%, var(--cream) 100%);
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--border);
}
.shop-header h1 { font-size: 2.2rem; color: var(--brand-dark); margin-bottom: 8px; }
.shop-header p { color: var(--text-muted); }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; margin-bottom: 24px;
  border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 12px;
}
.shop-count { font-size: 0.88rem; color: var(--text-muted); }
.shop-sort select {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 8px 14px; font-size: 0.88rem; outline: none;
  background: var(--white); cursor: pointer;
}
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.shop-sidebar { }
.shop-sidebar h3 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.sidebar-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.sidebar-section:last-child { border-bottom: none; }
.filter-option { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; }
.filter-option input { accent-color: var(--brand); }
.filter-option label { font-size: 0.9rem; cursor: pointer; color: var(--text-mid); }
.filter-option .count { font-size: 0.78rem; color: var(--text-muted); margin-left: auto; }

/* ----- Single Product ----- */
.product-single { padding: 48px 0 72px; }
.product-single-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--bar-h) + var(--header-h) + 16px); }
.product-main-img { border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-xpale); aspect-ratio: 1; margin-bottom: 12px; }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 10px; }
.product-thumb { width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 2.5px solid transparent; transition: border-color 0.2s; background: var(--brand-xpale); }
.product-thumb.active { border-color: var(--brand); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 8px; }
.product-breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.product-breadcrumb a { color: var(--brand-mid); transition: color 0.2s; }
.product-breadcrumb a:hover { color: var(--brand); }
.product-cat-badge { display: inline-block; background: var(--brand-pale); color: var(--brand); padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; margin-bottom: 10px; }
.product-title { font-size: 2rem; font-weight: 700; color: var(--brand-dark); line-height: 1.2; margin-bottom: 14px; }
.product-price-wrap { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.product-price { font-size: 1.8rem; font-weight: 800; color: var(--brand-dark); }
.product-price-old { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.product-savings { font-size: 0.82rem; background: var(--amber-light); color: var(--amber); padding: 3px 10px; border-radius: 4px; font-weight: 700; }
.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.88rem; }
.product-rating .stars { color: #f59e0b; letter-spacing: 2px; }
.product-rating a { color: var(--text-muted); text-decoration: underline; }
.product-excerpt { font-size: 0.96rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; border-left: 3px solid var(--brand-light); padding-left: 16px; }
.product-weight { margin-bottom: 24px; }
.product-weight label { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); display: block; margin-bottom: 8px; }
.weight-options { display: flex; gap: 10px; flex-wrap: wrap; }
.weight-btn { padding: 8px 18px; border-radius: var(--radius); border: 1.5px solid var(--border); font-size: 0.88rem; font-weight: 600; color: var(--text-mid); transition: var(--transition); }
.weight-btn.active, .weight-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-xpale); }
.product-add-row { display: flex; gap: 12px; margin-bottom: 24px; align-items: center; }
.product-qty { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.product-qty button { width: 40px; height: 48px; font-size: 1.2rem; background: #f9fafb; color: var(--text-mid); transition: background 0.2s; }
.product-qty button:hover { background: var(--brand-pale); }
.product-qty input { width: 48px; height: 48px; text-align: center; font-size: 1rem; font-weight: 700; border: none; outline: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.btn-add-product {
  flex: 1; background: var(--brand-dark); color: white;
  height: 48px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition);
}
.btn-add-product:hover { background: var(--brand); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15,72,114,0.3); }
.product-meta { font-size: 0.83rem; color: var(--text-muted); line-height: 2; }
.product-meta strong { color: var(--text-dark); }
.product-tabs { margin-top: 40px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab-btn { padding: 12px 20px; font-size: 0.92rem; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition); }
.tab-btn.active, .tab-btn:hover { color: var(--brand); border-color: var(--brand); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--brand-dark); }
.tab-content p, .tab-content li { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 8px; }
.tab-content ul { padding-left: 20px; list-style: disc; }
.brew-steps { counter-reset: brew; list-style: none; padding: 0; }
.brew-steps li { counter-increment: brew; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.brew-steps li::before { content: counter(brew); background: var(--brand-pale); color: var(--brand); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; flex-shrink: 0; }

/* ----- Single Post ----- */
.post-hero { background: var(--brand-xpale); padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.post-hero-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.post-category-badge { display: inline-block; background: var(--brand-pale); color: var(--brand); padding: 4px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.post-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--brand-dark); line-height: 1.2; margin-bottom: 18px; }
.post-meta { display: flex; align-items: center; gap: 16px; font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; }
.post-meta .author-info { display: flex; align-items: center; gap: 8px; }
.post-meta .author-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-pale); overflow: hidden; flex-shrink: 0; }
.post-meta .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-meta .author-name { font-weight: 600; color: var(--text-dark); }
.post-content-wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px; }
.post-content { font-size: 1.02rem; line-height: 1.8; color: var(--text-mid); }
.post-content h2 { font-size: 1.55rem; color: var(--brand-dark); margin: 36px 0 16px; }
.post-content h3 { font-size: 1.25rem; color: var(--brand-dark); margin: 28px 0 12px; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content strong { color: var(--text-dark); font-weight: 700; }
.post-content a { color: var(--brand); text-decoration: underline; }
.post-content blockquote { border-left: 4px solid var(--brand-light); padding: 16px 20px; background: var(--brand-xpale); border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; font-style: italic; }
.post-content img { border-radius: var(--radius-lg); margin: 24px auto; }
.post-featured-img { margin-bottom: 36px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; }
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.post-author-box {
  background: var(--brand-xpale); border-radius: var(--radius-lg);
  padding: 28px; margin-top: 48px;
  display: flex; gap: 20px; align-items: flex-start;
}
.post-author-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-pale); flex-shrink: 0; overflow: hidden; }
.post-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-author-info h4 { font-size: 1rem; margin-bottom: 4px; color: var(--brand-dark); }
.post-author-info p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.related-posts-section { background: var(--cream); padding: 64px 0; }

/* ----- Page Templates ----- */
.page-hero { background: linear-gradient(135deg, var(--brand-xpale) 0%, var(--cream) 100%); padding: 64px 0; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 2.4rem; color: var(--brand-dark); margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.page-content { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.page-content h2 { font-size: 1.6rem; color: var(--brand-dark); margin: 36px 0 14px; }
.page-content p { font-size: 0.98rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 18px; }
.page-content ul { padding-left: 22px; list-style: disc; margin-bottom: 18px; }
.page-content li { font-size: 0.98rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 6px; }

/* Contact Form */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; padding: 56px 24px; max-width: var(--max-width); margin: 0 auto; }
.contact-info h2 { font-size: 1.6rem; color: var(--brand-dark); margin-bottom: 14px; }
.contact-info p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-detail-icon { font-size: 1.2rem; margin-top: 2px; }
.contact-detail-text h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.contact-detail-text p { font-size: 0.88rem; color: var(--text-muted); }
.wpcf7 form .wpcf7-form-control-wrap { display: block; margin-bottom: 16px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; outline: none;
  transition: border-color 0.2s;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--brand); }
.wpcf7 textarea { resize: vertical; min-height: 130px; }
.wpcf7 input[type="submit"] {
  background: var(--brand-dark); color: white;
  padding: 13px 32px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: var(--transition);
}
.wpcf7 input[type="submit"]:hover { background: var(--brand); }

/* About Page */
.about-section { padding: 72px 0; }
.about-section:nth-child(even) { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--brand-xpale); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: 1.9rem; color: var(--brand-dark); margin-bottom: 16px; }
.about-text p { font-size: 0.98rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.founder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 40px; }
.founder-card { text-align: center; padding: 28px 20px; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); }
.founder-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--brand-pale); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.founder-name { font-weight: 700; font-size: 1rem; color: var(--brand-dark); margin-bottom: 4px; }
.founder-role { font-size: 0.82rem; color: var(--brand-mid); font-weight: 600; margin-bottom: 10px; }
.founder-bio { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ----- TeaBot Widget ----- */
#teabot-launcher {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
}
.teabot-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(15,72,114,0.4);
  transition: var(--transition);
}
.teabot-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(15,72,114,0.5); }
.teabot-tooltip {
  position: absolute; bottom: 70px; right: 0;
  background: var(--brand-dark); color: white;
  padding: 8px 14px; border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateY(6px); transition: var(--transition);
  pointer-events: none;
}
.teabot-btn:hover ~ .teabot-tooltip { opacity: 1; transform: translateY(0); }
#teabot-panel {
  position: fixed; bottom: 100px; right: 28px; z-index: 500;
  width: 360px; background: var(--white);
  border-radius: 18px; box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  overflow: hidden;
  transform: scale(0.9) translateY(20px); opacity: 0;
  pointer-events: none; transition: all 0.3s cubic-bezier(.4,0,.2,1);
  transform-origin: bottom right;
}
#teabot-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.teabot-head {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.teabot-head-info { display: flex; align-items: center; gap: 12px; }
.teabot-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.teabot-head h3 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 1px; }
.teabot-head p { color: rgba(255,255,255,0.75); font-size: 0.78rem; }
.teabot-close-btn { color: rgba(255,255,255,0.7); font-size: 1.1rem; padding: 4px; transition: color 0.2s; }
.teabot-close-btn:hover { color: white; }
.teabot-body { padding: 20px; max-height: 400px; overflow-y: auto; }
.teabot-step { display: none; }
.teabot-step.active { display: block; }
.teabot-question { font-size: 0.96rem; font-weight: 600; color: var(--text-dark); margin-bottom: 14px; line-height: 1.4; }
.teabot-options { display: flex; flex-direction: column; gap: 8px; }
.teabot-option {
  padding: 11px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--border); font-size: 0.88rem; font-weight: 500;
  color: var(--text-mid); text-align: left; background: var(--white);
  transition: var(--transition);
}
.teabot-option:hover, .teabot-option.selected { border-color: var(--brand); color: var(--brand); background: var(--brand-xpale); }
.teabot-step-indicator {
  display: flex; gap: 6px; margin-bottom: 18px;
}
.step-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: background 0.2s; }
.step-dot.active { background: var(--brand); }
.step-dot.done { background: var(--brand-light); }
.teabot-result { text-align: center; padding: 10px 0; }
.teabot-result .result-icon { font-size: 2.5rem; margin-bottom: 12px; }
.teabot-result h3 { font-size: 1.1rem; color: var(--brand-dark); margin-bottom: 8px; }
.teabot-result p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.teabot-product-rec {
  background: var(--brand-xpale); border-radius: var(--radius);
  padding: 14px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px; text-align: left;
}
.teabot-product-rec .rec-img { width: 52px; height: 52px; border-radius: var(--radius); background: var(--brand-pale); flex-shrink: 0; overflow: hidden; }
.teabot-product-rec .rec-img img { width: 100%; height: 100%; object-fit: cover; }
.teabot-product-rec .rec-name { font-size: 0.88rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 2px; }
.teabot-product-rec .rec-price { font-size: 0.82rem; color: var(--brand-mid); font-weight: 600; }
.btn-teabot-add {
  width: 100%; background: var(--brand-dark); color: white;
  padding: 12px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 0.92rem;
  transition: var(--transition);
}
.btn-teabot-add:hover { background: var(--brand); }
.teabot-restart { font-size: 0.82rem; color: var(--text-muted); text-decoration: underline; cursor: pointer; margin-top: 10px; display: block; }

/* ----- Pagination ----- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-numbers { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); border: 1.5px solid var(--border); font-size: 0.9rem; font-weight: 600; color: var(--text-mid); transition: var(--transition); }
.page-numbers.current, .page-numbers:hover { background: var(--brand-dark); color: white; border-color: var(--brand-dark); }

/* ----- Breadcrumb ----- */
.breadcrumb-wrap { padding: 14px 0; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb-wrap a { color: var(--brand-mid); transition: color 0.2s; }
.breadcrumb-wrap a:hover { color: var(--brand); }
.breadcrumb-wrap span.sep { margin: 0 6px; }

/* ----- Utilities ----- */
.text-green { color: var(--brand); }
.text-green-dark { color: var(--brand-dark); }
.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-dark); color: white;
  padding: 13px 28px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 0.95rem; transition: var(--transition);
}
.btn-green:hover { background: var(--brand); transform: translateY(-1px); }

/* ----- WooCommerce Overrides ----- */
.woocommerce-message, .woocommerce-info {
  background: var(--brand-pale); border-top-color: var(--brand);
  color: var(--text-dark); border-radius: var(--radius); padding: 14px 20px;
}
.woocommerce-store-notice { display: none; }
.woocommerce-cart table.cart td.actions .input-text { width: 80px !important; }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--brand-dark) !important; color: white !important;
  border-radius: var(--radius-lg) !important; font-weight: 700 !important;
  padding: 12px 24px !important;
  transition: var(--transition) !important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--brand) !important; }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
}

@media (max-width: 768px) {
  :root { --bar-h: 36px; --header-h: 60px; }
  #primary-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 60px 20px; }
  .hero-content p { display: none; }
  .product-single-inner { grid-template-columns: 1fr; gap: 28px; }
  .product-gallery { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .carousel-track .product-card { flex: 0 0 calc(80% - 12px); }
  #cart-drawer { width: 100%; }
  .trust-items { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--brand-pale); }
  .trust-item:last-child { border-bottom: none; }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .blog-grid { grid-template-columns: 1fr; }
  #teabot-panel { width: calc(100vw - 32px); right: 16px; bottom: 90px; }
}
