/*
Theme Name: TSEcommerce AI
Theme URI: https://tsecommerce.com
Author: TSEcommerce
Author URI: https://tsecommerce.com
Description: Tema oficial do Tudo Sobre eCommerce — focado em IA para ecommerce. Design limpo, moderno e otimizado para conversão.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: tsecommerce
Tags: ecommerce, woocommerce, blog, clean, modern
*/

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

:root {
  --green: #1D9E75;
  --green-dark: #085041;
  --green-deep: #04342C;
  --green-light: #E1F5EE;
  --green-mid: #5DCAA5;
  --green-muted: #9FE1CB;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --text-light: #bbb;
  --bg-white: #ffffff;
  --bg-soft: #f9f9f6;
  --bg-page: #f5f5f0;
  --border: #e5e5e0;
  --border-light: #f0f0eb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 99px;
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'IBM Plex Sans', sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-page);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }

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

/* === LAYOUT === */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-wrapper {
  background: var(--bg-white);
  min-height: 100vh;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--green-deep);
  border-color: var(--green);
}

.btn-primary:hover {
  background: #179968;
  text-decoration: none;
  color: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  text-decoration: none;
  color: var(--text-primary);
}

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline-green:hover {
  background: var(--green-light);
  text-decoration: none;
}

/* === HEADER === */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.site-logo img {
  height: 38px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cart-link {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-newsletter-btn {
  background: var(--green);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.nav-newsletter-btn:hover { background: #179968; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}

.badge-green { background: var(--green-light); color: #0F6E56; }
.badge-blue  { background: #E6F1FB; color: #185FA5; }
.badge-amber { background: #FAEEDA; color: #854F0B; }
.badge-purple { background: #EEEDFE; color: #534AB7; }
.badge-red { background: #FCEBEB; color: #A32D2D; }

.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* === HOMEPAGE HERO === */
.hero-section {
  background: var(--bg-soft);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content .badge { margin-bottom: 20px; }

.hero-content h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.hero-card-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.tool-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
}

.tool-row:last-child { border-bottom: none; }

.tool-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  font-weight: 700;
}

.ti-green  { background: var(--green-light); color: #0F6E56; }
.ti-blue   { background: #E6F1FB; color: #185FA5; }
.ti-amber  { background: #FAEEDA; color: #854F0B; }
.ti-purple { background: #EEEDFE; color: #534AB7; }

.tool-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.tool-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.tool-pill {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

.tp-new    { background: var(--green-light); color: #0F6E56; }
.tp-hot    { background: #FAECE7; color: #993C1D; }
.tp-guide  { background: #EEEDFE; color: #534AB7; }

/* === STATS BAR === */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  padding: 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* === FEATURES GRID === */
.features-section {
  padding: 56px 0;
  background: var(--bg-white);
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

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

.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.fi-green  { background: var(--green-light); }
.fi-blue   { background: #E6F1FB; }
.fi-amber  { background: #FAEEDA; }
.fi-purple { background: #EEEDFE; }
.fi-coral  { background: #FAECE7; }

.feature-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* === NEWSLETTER BANNER === */
.newsletter-banner {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 0 56px;
}

.nl-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-muted);
  margin-bottom: 6px;
}

.nl-sub {
  font-size: 13px;
  color: var(--green-mid);
  line-height: 1.6;
}

.nl-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.nl-input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 13px;
  color: var(--green-muted);
  width: 220px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.nl-input::placeholder { color: var(--green-mid); }
.nl-input:focus { border-color: var(--green-muted); }

.nl-btn {
  background: var(--green);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
  white-space: nowrap;
}

.nl-btn:hover { background: #179968; }

/* === BLOG === */
.blog-section {
  padding: 64px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.section-header h2 { margin: 0; }

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

.post-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.post-card-link {
  display: block;
  line-height: 0;
  overflow: hidden;
}

.post-card-link:hover .post-thumb {
  transform: scale(1.02);
}

.post-card .post-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.post-card .post-title a:hover {
  color: var(--green);
}

.post-read-more {
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  margin-top: auto;
  padding-top: 16px;
}

.post-read-more:hover {
  text-decoration: none;
  opacity: 0.8;
}

.post-thumb {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-soft);
  display: block;
  transition: transform 0.3s ease;
}

.post-thumb-placeholder {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--green-light) 0%, #b8ead4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--green);
}

.post-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.post-category {
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-date {
  font-size: 11px;
  color: var(--text-light);
}

.post-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog archive page */
.blog-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-bottom: 0;
}

.blog-header h1 { margin-bottom: 8px; }
.blog-header p { color: var(--text-secondary); font-size: 15px; }

.blog-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cat-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-white);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--green);
  color: var(--green-deep);
  border-color: var(--green);
  text-decoration: none;
}


/* === BLOG HERO POST === */
.blog-hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  margin-bottom: 0;
}

.blog-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.blog-hero-image {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}

.blog-hero-thumb {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-hero-image:hover .blog-hero-thumb {
  transform: scale(1.02);
}

.blog-hero-placeholder {
  width: 100%;
  height: 360px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--green);
}

.blog-hero-content {
  display: flex;
  flex-direction: column;
}

.blog-hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.blog-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.blog-hero-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-hero-title a:hover {
  color: var(--green);
}

.blog-hero-excerpt {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.blog-hero-cta {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
  width: fit-content;
}

.blog-hero-cta:hover {
  text-decoration: none;
  opacity: 0.85;
}

.posts-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
}

.page-num {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.page-num:hover, .page-num.current {
  background: var(--green);
  color: var(--green-deep);
  border-color: var(--green);
  text-decoration: none;
}

/* === SINGLE POST === */
.single-post-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}

.single-post-header .post-meta { margin-bottom: 16px; }
.single-post-header h1 { margin-bottom: 16px; }
.single-post-header .post-excerpt-large {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 48px 0 64px;
  align-items: start;
}

.post-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}

.post-body h2 {
  margin: 2rem 0 1rem;
  font-size: 22px;
}

.post-body h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 18px;
}

.post-body p { margin-bottom: 1.2rem; }

.post-body ul, .post-body ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1.2rem;
}

.post-body ul li, .post-body ol li { margin-bottom: 6px; }

.post-body img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.post-body blockquote {
  border-left: 3px solid var(--green);
  padding: 12px 20px;
  margin: 1.5rem 0;
  background: var(--green-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Sidebar */
.sidebar { position: sticky; top: 80px; }

.sidebar-widget {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.sidebar-posts li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

.sidebar-posts li:last-child { border-bottom: none; }
.sidebar-posts a { color: var(--text-primary); }
.sidebar-posts a:hover { color: var(--green); text-decoration: none; }

/* === WOOCOMMERCE SHOP === */
.shop-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-bottom: 48px;
}

.shop-header h1 { margin-bottom: 8px; }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.shop-count {
  font-size: 14px;
  color: var(--text-muted);
}

.shop-sort select {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card > a {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  height: auto !important;
}

.product-card .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-footer {
  margin-top: auto;
}

.product-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.product-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-soft);
}

.product-thumb-placeholder {
  width: 100%; height: 200px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}

.product-info { padding: 18px; }

.product-category {
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.product-price .old-price {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 400;
}

.btn-add-cart {
  background: var(--green);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
  text-decoration: none;
}

.btn-add-cart:hover { background: #179968; text-decoration: none; color: var(--green-deep); }

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

.product-gallery img {
  border-radius: var(--radius-lg);
  width: 100%;
  margin-bottom: 12px;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.product-gallery-thumbs img {
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  margin-bottom: 0;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--green);
}

.product-detail .post-category { margin-bottom: 10px; }
.product-detail h1 { margin-bottom: 12px; }

.product-detail-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.product-detail-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.qty-input {
  width: 64px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  text-align: center;
  font-family: var(--font-body);
  outline: none;
}

.btn-add-cart-lg {
  flex: 1;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
}

.product-meta-list {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.product-meta-list li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
}

.product-meta-list li strong {
  color: var(--text-primary);
  min-width: 80px;
}

/* === ABOUT PAGE === */
.about-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
  text-align: center;
}

.about-hero .badge { margin-bottom: 20px; }
.about-hero h1 { margin-bottom: 16px; }
.about-hero p { font-size: 17px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.about-content {
  padding: 64px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
}

.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--text-secondary); font-size: 15px; }

.team-section { padding: 0 0 64px; }
.team-section h2 { text-align: center; margin-bottom: 36px; }

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

.team-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}

.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  margin: 0 auto 14px;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 10px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* === FOOTER === */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 56px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo img {
  height: 34px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: #777;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: #aaa;
  transition: background 0.2s;
  text-decoration: none;
}

.social-link:hover { background: var(--green); color: var(--green-deep); text-decoration: none; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 13px;
  color: #777;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--green); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: #555;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: #555;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--green); text-decoration: none; }

/* === WOOCOMMERCE OVERRIDES === */
.woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.woocommerce-breadcrumb a { color: var(--text-muted); }
.woocommerce-breadcrumb a:hover { color: var(--green); }

/* === UTILITIES === */
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid, .posts-grid-full, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .blog-hero-thumb { height: 260px; }
  .blog-hero-placeholder { height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .single-product-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .newsletter-banner { flex-direction: column; text-align: center; }
  .nl-form { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 16px 24px; z-index: 99; }
  .main-nav.open ul { flex-direction: column; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .posts-grid, .posts-grid-full, .products-grid { grid-template-columns: 1fr; }
  .blog-hero-title { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .nl-form { flex-direction: column; }
  .nl-input { width: 100%; }
}
