/*
Theme Name: Shaarvi Biotech
Theme URI: https://www.instagram.com/shaarvibiotech
Author: WAMTECH Digital Marketing
Description: A modern, elegant and corporate WooCommerce theme for Shaarvi Biotech Pvt. Ltd. — Ayurveda Inspired Herbal Products
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sharvibiotech
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images
*/

/* ===== CSS Variables / Design Tokens ===== */
:root {
  /* Brand Colors */
  --sb-green-dark: #1B5E20;
  --sb-green: #2E7D32;
  --sb-green-light: #4CAF50;
  --sb-green-pale: #E8F5E9;
  --sb-gold: #C6993E;
  --sb-gold-light: #F5E6C8;
  --sb-gold-dark: #8D6E2F;
  --sb-cream: #FBF8F1;
  --sb-white: #FFFFFF;
  --sb-off-white: #FAFAFA;
  --sb-gray-light: #F5F5F5;
  --sb-gray: #9E9E9E;
  --sb-gray-dark: #616161;
  --sb-text: #2C2C2C;
  --sb-text-light: #555555;
  --sb-border: #E0E0E0;
  --sb-shadow: 0 2px 16px rgba(0,0,0,0.06);
  --sb-shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  --sb-radius: 12px;
  --sb-radius-sm: 8px;
  --sb-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --sb-font-heading: 'Playfair Display', Georgia, serif;
  --sb-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sb-font-accent: 'Cormorant Garamond', Georgia, serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sb-font-body);
  color: var(--sb-text);
  background: var(--sb-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--sb-green); transition: var(--sb-transition); }
a:hover { color: var(--sb-green-dark); }
ul, ol { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sb-font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--sb-text);
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1rem; color: var(--sb-text-light); }

.section-label {
  display: inline-block;
  font-family: var(--sb-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sb-gold);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--sb-text-light);
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--sb-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--sb-transition);
  text-transform: uppercase;
}

.btn-primary {
  background: var(--sb-green);
  color: var(--sb-white);
}
.btn-primary:hover {
  background: var(--sb-green-dark);
  color: var(--sb-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--sb-green);
  border: 2px solid var(--sb-green);
}
.btn-outline:hover {
  background: var(--sb-green);
  color: var(--sb-white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--sb-gold);
  color: var(--sb-white);
}
.btn-gold:hover {
  background: var(--sb-gold-dark);
  color: var(--sb-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198,153,62,0.3);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* ===== Header / Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sb-border);
  transition: var(--sb-transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
}

.site-logo-text .brand-name {
  font-family: var(--sb-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sb-green-dark);
  line-height: 1.2;
}

.site-logo-text .brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sb-gold);
  font-weight: 500;
}

/* Primary Nav */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  display: block;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--sb-text);
  border-radius: var(--sb-radius-sm);
  transition: var(--sb-transition);
  position: relative;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--sb-green);
  background: var(--sb-green-pale);
}

/* Sub-menus */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--sb-white);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow-hover);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--sb-transition);
  z-index: 100;
}

.primary-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: var(--sb-radius-sm);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions a {
  color: var(--sb-text);
  font-size: 1.1rem;
  position: relative;
}

.header-actions a:hover { color: var(--sb-green); }

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--sb-gold);
  color: var(--sb-white);
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sb-text);
  border-radius: 2px;
  transition: var(--sb-transition);
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--sb-green-pale) 0%, var(--sb-cream) 50%, var(--sb-gold-light) 100%);
  overflow: hidden;
  margin-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(46,125,50,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(198,153,62,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sb-white);
  border: 1px solid var(--sb-border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--sb-green);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--sb-green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--sb-green);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--sb-gold-light);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--sb-text-light);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--sb-shadow-hover);
}

.hero-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Floating trust badges on hero */
.hero-trust {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--sb-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sb-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sb-green);
  font-size: 1.1rem;
}

.trust-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sb-text);
  line-height: 1.3;
}

.trust-text span {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--sb-gray);
}

/* ===== Category Cards Section ===== */
.categories-section {
  padding: 100px 0;
  background: var(--sb-white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--sb-radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: var(--sb-transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sb-shadow-hover);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--sb-transition);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--sb-white);
}

.category-card-overlay h3 {
  color: var(--sb-white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.category-card-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin: 0;
}

/* ===== Featured Products Section ===== */
.products-section {
  padding: 100px 0;
  background: var(--sb-off-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

/* WooCommerce Product Cards */
.products-grid .product,
ul.products li.product {
  background: var(--sb-white);
  border-radius: var(--sb-radius);
  overflow: hidden;
  transition: var(--sb-transition);
  border: 1px solid var(--sb-border);
  position: relative;
}

.products-grid .product:hover,
ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--sb-shadow-hover);
  border-color: transparent;
}

ul.products li.product a img,
.products-grid .product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: var(--sb-transition);
}

.products-grid .product:hover img,
ul.products li.product:hover a img {
  transform: scale(1.04);
}

.product-info {
  padding: 20px;
}

ul.products li.product .woocommerce-loop-product__title,
.product-info h3 {
  font-family: var(--sb-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--sb-text);
}

ul.products li.product .price,
.product-info .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sb-green-dark);
}

.product-info .price del {
  color: var(--sb-gray);
  font-weight: 400;
  font-size: 0.9rem;
}

/* WooCommerce Add to Cart Button */
ul.products li.product .button,
.product-info .add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 12px 20px;
  background: var(--sb-green);
  color: var(--sb-white) !important;
  border: none;
  border-radius: var(--sb-radius-sm);
  font-family: var(--sb-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--sb-transition);
}

ul.products li.product .button:hover,
.product-info .add-to-cart:hover {
  background: var(--sb-green-dark);
  transform: translateY(-1px);
}

/* Sale badge */
ul.products li.product .onsale,
.onsale {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--sb-gold);
  color: var(--sb-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== About / Brand Story Section ===== */
.brand-section {
  padding: 100px 0;
  background: var(--sb-white);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.brand-image {
  border-radius: var(--sb-radius);
  overflow: hidden;
  box-shadow: var(--sb-shadow);
}

.brand-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.brand-content .brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.pillar {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--sb-radius);
  background: var(--sb-green-pale);
  transition: var(--sb-transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--sb-shadow);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--sb-green);
  color: var(--sb-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.pillar h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.8rem;
  color: var(--sb-gray-dark);
  margin: 0;
}

/* ===== Benefits Bar ===== */
.benefits-bar {
  padding: 60px 0;
  background: var(--sb-green-dark);
  color: var(--sb-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.benefit-item {
  padding: 20px;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.benefit-item h4 {
  color: var(--sb-white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.benefit-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin: 0;
}

/* ===== Instagram / Social Feed Teaser ===== */
.instagram-section {
  padding: 80px 0;
  background: var(--sb-cream);
  text-align: center;
}

.instagram-cta {
  margin-top: 32px;
}

/* ===== Newsletter / CTA Section ===== */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--sb-green) 0%, var(--sb-green-dark) 100%);
  color: var(--sb-white);
  text-align: center;
}

.newsletter-section h2 {
  color: var(--sb-white);
  margin-bottom: 12px;
}

.newsletter-section p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  color: var(--sb-white);
  font-family: var(--sb-font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--sb-transition);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { border-color: var(--sb-gold); background: rgba(255,255,255,0.15); }

.newsletter-form button {
  padding: 14px 32px;
  background: var(--sb-gold);
  color: var(--sb-white);
  border: none;
  border-radius: 50px;
  font-family: var(--sb-font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--sb-transition);
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--sb-gold-dark); transform: translateY(-2px); }

/* ===== Footer ===== */
.site-footer {
  background: #0F2B10;
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .brand-name {
  font-family: var(--sb-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sb-white);
  margin-bottom: 4px;
}

.footer-brand .brand-tagline {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sb-gold);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--sb-transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--sb-green);
  color: var(--sb-white);
}

.footer-column h4 {
  color: var(--sb-white);
  font-family: var(--sb-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--sb-transition);
}

.footer-column ul a:hover {
  color: var(--sb-gold);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ===== WooCommerce Overrides ===== */

/* Shop page grid */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
  gap: 28px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; content: none !important; }

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: var(--sb-white);
  border-radius: var(--sb-radius);
  overflow: hidden;
  border: 1px solid var(--sb-border);
  transition: var(--sb-transition);
}

.woocommerce ul.products li.product a {
  text-decoration: none;
}

.woocommerce ul.products li.product a img {
  margin: 0 !important;
  border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 16px 20px 4px !important;
  font-family: var(--sb-font-heading);
  font-size: 1.05rem;
}

.woocommerce ul.products li.product .price {
  padding: 0 20px !important;
  color: var(--sb-green-dark);
  font-weight: 700;
}

.woocommerce ul.products li.product .button {
  margin: 12px 20px 20px !important;
  width: calc(100% - 40px) !important;
}

/* Single Product */
.woocommerce div.product {
  padding-top: 100px;
}

.woocommerce div.product div.images {
  border-radius: var(--sb-radius);
  overflow: hidden;
}

.woocommerce div.product div.images img {
  border-radius: var(--sb-radius);
}

.woocommerce div.product .product_title {
  font-family: var(--sb-font-heading);
  font-size: 2rem;
  color: var(--sb-text);
}

.woocommerce div.product p.price {
  font-size: 1.5rem;
  color: var(--sb-green-dark) !important;
  font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--sb-text-light);
  line-height: 1.8;
}

.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  background: var(--sb-green) !important;
  color: var(--sb-white) !important;
  border-radius: var(--sb-radius-sm) !important;
  font-family: var(--sb-font-body) !important;
  font-weight: 600 !important;
  padding: 14px 32px !important;
  transition: var(--sb-transition) !important;
  border: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.88rem !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
  background: var(--sb-green-dark) !important;
}

.woocommerce .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 0 0 24px !important;
  border-bottom: 2px solid var(--sb-border) !important;
}

.woocommerce .woocommerce-tabs ul.tabs::before {
  border: none !important;
}

.woocommerce .woocommerce-tabs ul.tabs li {
  border: none !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce .woocommerce-tabs ul.tabs li a {
  padding: 12px 24px !important;
  font-weight: 600 !important;
  color: var(--sb-gray-dark) !important;
}

.woocommerce .woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid var(--sb-green) !important;
}

.woocommerce .woocommerce-tabs ul.tabs li.active a {
  color: var(--sb-green) !important;
}

/* Cart */
.woocommerce table.shop_table {
  border: 1px solid var(--sb-border) !important;
  border-radius: var(--sb-radius) !important;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  background: var(--sb-green-pale) !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 2px solid var(--sb-border) !important;
  border-radius: var(--sb-radius-sm) !important;
  padding: 12px 16px !important;
  font-family: var(--sb-font-body) !important;
  transition: var(--sb-transition) !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--sb-green) !important;
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1) !important;
}

/* WooCommerce Notices */
.woocommerce-message {
  border-top-color: var(--sb-green) !important;
}

.woocommerce-message::before {
  color: var(--sb-green) !important;
}

.woocommerce-info {
  border-top-color: var(--sb-gold) !important;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
  padding: 100px 0 16px;
  font-size: 0.85rem;
  color: var(--sb-gray);
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--sb-green);
}

/* Star ratings */
.woocommerce .star-rating span::before {
  color: var(--sb-gold) !important;
}

/* ===== Page Templates ===== */
.page-header {
  background: linear-gradient(135deg, var(--sb-green-pale) 0%, var(--sb-cream) 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header .breadcrumb {
  font-size: 0.85rem;
  color: var(--sb-gray);
}

.page-content {
  padding: 60px 0;
}

.page-content .entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-content .entry-content h2 {
  margin: 40px 0 16px;
}

.page-content .entry-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--sb-text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--sb-border);
  border-radius: var(--sb-radius-sm);
  font-family: var(--sb-font-body);
  font-size: 0.95rem;
  transition: var(--sb-transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sb-green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; }
  .brand-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { padding: 12px 16px; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sb-white);
    box-shadow: var(--sb-shadow-hover);
    padding: 16px;
    border-top: 1px solid var(--sb-border);
  }

  .primary-nav.active { display: block; }

  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .primary-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--sb-border);
  }

  .primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 24px;
  }

  .menu-toggle { display: flex; }

  .hero-section { min-height: auto; padding: 40px 0; margin-top: 60px; }
  .hero-trust { flex-direction: column; align-items: center; gap: 16px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .brand-content .brand-pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .categories-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--sb-gray-light); }
::-webkit-scrollbar-thumb { background: var(--sb-green); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--sb-green-dark); }

/* ===== Selection ===== */
::selection { background: var(--sb-green-pale); color: var(--sb-green-dark); }

/* ===== Loading ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--sb-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.page-loader.loaded { opacity: 0; pointer-events: none; }

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--sb-green-pale);
  border-top-color: var(--sb-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ============================================
   Header Redesign - Match Client Design
   ============================================ */
.sb-header-redesign.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 20px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  gap: 20px !important;
}

.sb-header-redesign .site-logo {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.sb-header-redesign .site-logo img {
  height: 80px !important;
  width: auto !important;
  max-width: 180px !important;
  border-radius: 8px !important;
  object-fit: contain !important;
  border: none !important;
  padding: 4px !important;
  background: transparent !important;
}

.site-logo-text { display: none !important; }

.sb-brand-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  flex: 0 1 auto !important;
  min-width: 260px !important;
  padding: 0 16px !important;
}

.sb-brand-name {
  display: block !important;
  width: 100% !important;
  font-family: var(--sb-font-heading) !important;
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  color: var(--sb-green-dark) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.5px !important;
}

.sb-brand-tagline {
  display: block !important;
  width: 100% !important;
  font-family: var(--sb-font-heading) !important;
  font-size: 0.85rem !important;
  color: var(--sb-green) !important;
  font-style: italic !important;
  font-weight: 500 !important;
  margin-top: 2px !important;
}

.sb-brand-subline {
  display: block !important;
  width: 100% !important;
  font-size: 0.7rem !important;
  color: var(--sb-text-light) !important;
  letter-spacing: 0.5px !important;
  margin-top: 2px !important;
  font-style: italic !important;
}

.sb-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  flex-shrink: 0 !important;
}

.sb-cat-nav ul {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sb-cat-nav li {
  border-right: 1.5px solid #ddd !important;
  padding: 0 !important;
  list-style: none !important;
}

.sb-cat-nav li:last-child {
  border-right: none !important;
}

.sb-cat-nav a {
  display: block !important;
  padding: 6px 12px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: var(--sb-text) !important;
  transition: var(--sb-transition) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  background: none !important;
  border-radius: 0 !important;
}

.sb-cat-nav a:hover,
.sb-cat-nav .current-menu-item > a {
  color: var(--sb-green) !important;
  background: none !important;
}

.sb-header-right .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-left: 1.5px solid #ddd !important;
  padding-left: 12px !important;
  margin-left: 4px !important;
}

@media (max-width: 992px) {
  .sb-header-redesign.header-inner {
    flex-wrap: wrap !important;
    padding: 8px 16px !important;
    gap: 4px !important;
  }
  .sb-brand-center {
    order: 2 !important;
    width: 100% !important;
    flex-basis: 100% !important;
    padding: 4px 0 2px !important;
  }
  .sb-header-redesign .site-logo {
    order: 0 !important;
  }
  .sb-header-right {
    order: 1 !important;
    margin-left: auto !important;
  }
  .sb-cat-nav {
    display: none !important;
  }
  .sb-brand-name {
    font-size: 1.2rem !important;
  }
  .sb-brand-tagline {
    font-size: 0.75rem !important;
  }
  .sb-brand-subline {
    font-size: 0.6rem !important;
  }
  .sb-header-right .header-actions {
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 480px) {
  .sb-header-redesign .site-logo img {
    height: 56px !important;
    width: auto !important;
    max-width: 120px !important;
  }
  .sb-brand-name {
    font-size: 1.05rem !important;
  }
}

/* Mobile Menu Active State */
@media (max-width: 992px) {
  .sb-cat-nav.active {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px #0000001a !important;
    padding: 16px !important;
    border-top: 1px solid #eeeeee !important;
    z-index: 999 !important;
  }
  .sb-cat-nav.active ul {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .sb-cat-nav.active li {
    border-right: none !important;
    border-bottom: 1px solid #eeeeee !important;
    padding: 0 !important;
  }
  .sb-cat-nav.active li:last-child {
    border-bottom: none !important;
  }
  .sb-cat-nav.active a {
    padding: 14px 16px !important;
    font-size: 0.9rem !important;
  }
}
