/*
Theme Name: Vetanique Child
Theme URI: https://vetanique.com
Description: Premium Veterinary Knowledge & Marketplace Theme for Vetanique.com
Author: Vetanique
Author URI: https://vetanique.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vetanique-child
*/

/* =========================================================
   VETANIQUE DESIGN SYSTEM
   Logo-matched color palette: Cream/Sand/Ink
   Fonts: Playfair Display (headings) + DM Sans (body)
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Brand Colors - matched to Vetanique logo */
  --vt-cream:        #FAF7F2;
  --vt-cream-2:      #F2EDE3;
  --vt-sand-light:   #E8D5B0;
  --vt-sand:         #C9A96E;
  --vt-sand-dark:    #8B6B35;
  --vt-ink:          #1A1410;
  --vt-ink-2:        #3D2E1E;
  --vt-muted:        #7A6A55;
  --vt-white:        #FFFFFF;

  /* Semantic */
  --vt-success:      #2D5A27;
  --vt-success-bg:   #E8F2E6;
  --vt-danger:       #8B2020;
  --vt-danger-bg:    #F5E8E8;
  --vt-info:         #1A3A6B;
  --vt-info-bg:      #E6EDF8;
  --vt-warning-bg:   #FEF3C7;
  --vt-warning:      #92400E;

  /* Payment Brand Colors */
  --vt-bkash:        #E2136E;
  --vt-nagad:        #ED2025;
  --vt-rocket:       #8B1A8C;

  /* Typography */
  --font-display:    'Playfair Display', Georgia, serif;
  --font-body:       'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;

  /* Borders */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(26,20,16,.06);
  --shadow-md:  0 4px 16px rgba(26,20,16,.08);
  --shadow-lg:  0 12px 40px rgba(139,107,53,.12);
  --shadow-xl:  0 24px 64px rgba(139,107,53,.16);
}

/* =========================================================
   GLOBAL RESETS & BASE
========================================================= */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: var(--vt-cream);
  color: var(--vt-ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--vt-ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: var(--vt-sand-dark); text-decoration: none; }
a:hover { color: var(--vt-ink); }

img { max-width: 100%; height: auto; }

p { margin-bottom: var(--space-md); }

/* =========================================================
   HEADER & NAVIGATION
========================================================= */

#masthead,
.site-header {
  background: var(--vt-white) !important;
  border-bottom: 1px solid var(--vt-sand-light) !important;
  box-shadow: none !important;
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header .ast-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
}

/* Logo */
.site-branding .site-title a,
.site-branding .custom-logo-link {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vt-ink) !important;
  letter-spacing: -0.02em;
}

/* Main Nav */
.main-navigation ul > li > a,
.ast-nav-menu > li > a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vt-muted) !important;
  padding: 0.5rem 0.85rem;
  transition: color 0.2s;
}
.main-navigation ul > li > a:hover,
.ast-nav-menu > li:hover > a,
.ast-nav-menu > li.current-menu-item > a {
  color: var(--vt-ink) !important;
}

/* Dropdown */
.ast-nav-menu .sub-menu,
.main-navigation .sub-menu {
  background: var(--vt-white);
  border: 1px solid var(--vt-sand-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
}
.ast-nav-menu .sub-menu li a {
  font-size: 0.8125rem;
  color: var(--vt-ink-2) !important;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.ast-nav-menu .sub-menu li a:hover {
  background: var(--vt-cream);
  color: var(--vt-ink) !important;
}

/* CTA Button in Nav */
.ast-header-custom-widget .vt-btn-primary,
.menu-item.menu-cta a {
  background: var(--vt-ink) !important;
  color: var(--vt-white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  transition: background 0.2s !important;
}
.ast-header-custom-widget .vt-btn-primary:hover {
  background: var(--vt-ink-2) !important;
}

/* =========================================================
   BUTTONS
========================================================= */

.vt-btn,
.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.vt-btn-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.single_add_to_cart_button {
  background: var(--vt-ink) !important;
  color: var(--vt-white) !important;
}
.vt-btn-primary:hover,
.single_add_to_cart_button:hover {
  background: var(--vt-ink-2) !important;
  transform: translateY(-1px);
}

.vt-btn-secondary {
  background: var(--vt-white);
  color: var(--vt-ink);
  border: 1.5px solid var(--vt-sand-light);
}
.vt-btn-secondary:hover {
  border-color: var(--vt-sand);
  background: var(--vt-cream);
}

.vt-btn-sand {
  background: var(--vt-sand);
  color: var(--vt-white);
}
.vt-btn-sand:hover { background: var(--vt-sand-dark); }

/* =========================================================
   HERO SECTION
========================================================= */

.vt-hero {
  background: var(--vt-cream);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--vt-sand-light) 0%, transparent 65%);
  opacity: 0.35;
  pointer-events: none;
}

.vt-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vt-white);
  border: 1px solid var(--vt-sand-light);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vt-sand-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.vt-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--vt-sand);
  border-radius: 50%;
}

.vt-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.vt-hero-title em {
  font-style: italic;
  color: var(--vt-sand-dark);
}

.vt-hero-sub {
  font-size: 1.05rem;
  color: var(--vt-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.vt-hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.vt-hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.vt-stat { text-align: center; }
.vt-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vt-ink);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.vt-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vt-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vt-stat-divider {
  width: 1px;
  background: var(--vt-sand-light);
  align-self: stretch;
}

/* =========================================================
   SECTION WRAPPERS
========================================================= */

.vt-section {
  padding: var(--space-2xl) 2rem;
}
.vt-section-cream { background: var(--vt-cream); }
.vt-section-white { background: var(--vt-white); }
.vt-section-cream2 { background: var(--vt-cream-2); }
.vt-section-dark { background: var(--vt-ink); color: var(--vt-cream); }

.vt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vt-section-header {
  margin-bottom: 2.5rem;
}
.vt-section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vt-sand-dark);
  margin-bottom: 0.6rem;
}
.vt-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.vt-section-sub {
  font-size: 1rem;
  color: var(--vt-muted);
  margin-top: 0.5rem;
  max-width: 500px;
}

/* =========================================================
   SPECIES HUB NAVIGATION
========================================================= */

.vt-species-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .vt-species-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .vt-species-grid { grid-template-columns: repeat(2, 1fr); }
}

.vt-species-card {
  background: var(--vt-white);
  border: 1.5px solid var(--vt-sand-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
}
.vt-species-card:hover {
  border-color: var(--vt-sand);
  background: var(--vt-cream);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.vt-species-card.active {
  border-color: var(--vt-sand-dark);
  background: var(--vt-ink);
  color: var(--vt-white);
}
.vt-species-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.vt-species-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: inherit;
  display: block;
  margin-bottom: 0.2rem;
}
.vt-species-count {
  font-size: 0.7rem;
  color: var(--vt-muted);
}
.vt-species-card.active .vt-species-count {
  color: var(--vt-sand-light);
}

/* =========================================================
   CARDS - ARTICLES
========================================================= */

.vt-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.vt-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.vt-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }

@media (max-width: 1024px) {
  .vt-grid-4 { grid-template-columns: repeat(2,1fr); }
  .vt-grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .vt-grid-4, .vt-grid-3, .vt-grid-2 { grid-template-columns: 1fr; }
}

.vt-article-card {
  background: var(--vt-white);
  border: 1px solid var(--vt-sand-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.vt-article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--vt-sand);
}
.vt-article-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--vt-cream-2);
}
.vt-article-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: var(--vt-cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.vt-article-card-body {
  padding: 1.1rem 1.1rem 1.25rem;
}
.vt-article-card-badges {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.vt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--vt-sand-light);
  background: var(--vt-cream);
  color: var(--vt-sand-dark);
}
.vt-badge-species {
  background: var(--vt-ink);
  color: var(--vt-cream);
  border-color: var(--vt-ink);
}
.vt-badge-ebook {
  background: rgba(201,169,110,.15);
  color: var(--vt-sand-dark);
  border-color: var(--vt-sand-light);
}
.vt-badge-hardcopy {
  background: var(--vt-info-bg);
  color: var(--vt-info);
  border-color: #B3C8E8;
}
.vt-article-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--vt-ink);
  line-height: 1.45;
  margin-bottom: 0.6rem;
}
.vt-article-card-excerpt {
  font-size: 0.8125rem;
  color: var(--vt-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vt-article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--vt-muted);
  border-top: 1px solid var(--vt-cream-2);
  padding-top: 0.75rem;
}
.vt-article-card-meta .author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--vt-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--vt-white);
}

/* =========================================================
   CARDS - BOOKS
========================================================= */

.vt-book-card {
  background: var(--vt-white);
  border: 1px solid var(--vt-sand-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.vt-book-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.vt-book-cover {
  height: 160px;
  background: linear-gradient(135deg, var(--vt-ink) 0%, var(--vt-ink-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem;
}
.vt-book-cover-spine {
  width: 90px;
  height: 120px;
  border-radius: 3px 6px 6px 3px;
  background: var(--vt-cream);
  box-shadow: 6px 4px 16px rgba(0,0,0,0.35), inset -3px 0 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.vt-book-cover-spine img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vt-book-type-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vt-book-type-ebook {
  background: rgba(201,169,110,.3);
  color: var(--vt-sand-light);
}
.vt-book-type-hardcopy {
  background: rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
}
.vt-book-body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vt-book-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--vt-ink);
  line-height: 1.4;
  margin-bottom: 0.35rem;
  flex: 1;
}
.vt-book-author {
  font-size: 0.75rem;
  color: var(--vt-muted);
  margin-bottom: 0.75rem;
}
.vt-book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--vt-cream-2);
  padding-top: 0.75rem;
  margin-top: auto;
}
.vt-book-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vt-sand-dark);
}
.vt-book-stars {
  color: var(--vt-sand);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* =========================================================
   CARDS - PRODUCTS (WooCommerce)
========================================================= */

.vt-product-card,
.woocommerce ul.products li.product {
  background: var(--vt-white) !important;
  border: 1px solid var(--vt-sand-light) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition: all 0.25s !important;
  padding: 0 !important;
  margin: 0 !important;
}
.vt-product-card:hover,
.woocommerce ul.products li.product:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-3px) !important;
}
.vt-product-img-wrap {
  height: 160px;
  background: var(--vt-cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.vt-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vt-product-body { padding: 1rem; }
.vt-product-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vt-ink);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.vt-product-species-tag {
  font-size: 0.7rem;
  color: var(--vt-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.vt-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--vt-cream-2);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}
.woocommerce ul.products li.product .price,
.vt-product-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vt-ink) !important;
}
.woocommerce ul.products li.product a.button {
  background: var(--vt-ink) !important;
  color: var(--vt-white) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.75rem !important;
  padding: 0.4rem 0.9rem !important;
  font-weight: 600 !important;
  border: none !important;
  transition: background 0.2s !important;
}

/* =========================================================
   SINGLE ARTICLE PAGE
========================================================= */

.vt-article-hero {
  background: var(--vt-cream);
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid var(--vt-sand-light);
}
.vt-article-breadcrumb {
  font-size: 0.75rem;
  color: var(--vt-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.vt-article-breadcrumb a { color: var(--vt-sand-dark); }
.vt-article-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 800px;
}
.vt-article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: var(--vt-muted);
  flex-wrap: wrap;
}
.vt-article-meta-bar strong { color: var(--vt-ink-2); }
.vt-meta-divider { color: var(--vt-sand-light); }

.vt-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  align-items: start;
}
@media (max-width: 960px) {
  .vt-article-layout { grid-template-columns: 1fr; }
}

.vt-article-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--vt-sand-light);
}
.vt-article-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--vt-ink-2);
}
.vt-article-content p { color: var(--vt-ink-2); line-height: 1.8; }
.vt-article-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}
.vt-article-content blockquote {
  border-left: 3px solid var(--vt-sand);
  padding: 1rem 1.5rem;
  background: var(--vt-cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--vt-ink-2);
}

/* Table of Contents */
.vt-toc {
  background: var(--vt-cream);
  border: 1px solid var(--vt-sand-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.vt-toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vt-sand-dark);
  margin-bottom: 0.75rem;
}
.vt-toc ol { padding-left: 1.2rem; margin: 0; }
.vt-toc li { font-size: 0.875rem; color: var(--vt-muted); margin-bottom: 0.35rem; }
.vt-toc li a { color: var(--vt-ink-2); }
.vt-toc li a:hover { color: var(--vt-sand-dark); }

/* Sticky Sidebar */
.vt-article-sidebar > * { position: sticky; top: 90px; }
.vt-sidebar-widget {
  background: var(--vt-white);
  border: 1px solid var(--vt-sand-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.vt-sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vt-sand-dark);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--vt-sand-light);
  padding-bottom: 0.6rem;
}

/* Social Share - Sticky */
.vt-social-share {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}
.vt-share-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--vt-sand-light);
  background: var(--vt-white);
  color: var(--vt-ink);
  cursor: pointer;
}
.vt-share-btn:hover { background: var(--vt-ink); color: var(--vt-white); border-color: var(--vt-ink); }
@media (max-width: 1200px) { .vt-social-share { display: none; } }

/* FAQ Section */
.vt-faq { margin: 3rem 0; }
.vt-faq-title {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.vt-faq-item {
  border: 1px solid var(--vt-sand-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.vt-faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--vt-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--vt-white);
  transition: background 0.15s;
}
.vt-faq-question:hover { background: var(--vt-cream); }
.vt-faq-question.active { background: var(--vt-cream); }
.vt-faq-question::after { content: '+'; font-size: 1.2rem; color: var(--vt-sand); transition: transform 0.2s; }
.vt-faq-question.active::after { transform: rotate(45deg); }
.vt-faq-answer {
  padding: 0 1.25rem;
  font-size: 0.9rem;
  color: var(--vt-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.vt-faq-answer.open { max-height: 600px; padding: 0.75rem 1.25rem 1.25rem; }

/* =========================================================
   BOOK SINGLE PAGE
========================================================= */

.vt-book-single {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.vt-book-single-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .vt-book-single-layout { grid-template-columns: 1fr; gap: 2rem; }
}
.vt-book-3d-cover {
  border-radius: var(--radius-md);
  box-shadow: 8px 12px 32px rgba(26,20,16,.2), -3px 0 8px rgba(26,20,16,.1);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--vt-cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.vt-book-single-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.vt-book-single-author {
  color: var(--vt-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}
.vt-book-single-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vt-sand-dark);
  margin-bottom: 1.25rem;
}
.vt-book-single-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* =========================================================
   PAYMENT SECTION
========================================================= */

.vt-payment-box {
  background: var(--vt-cream);
  border: 1.5px solid var(--vt-sand-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.vt-payment-box-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vt-sand-dark);
  margin-bottom: 1rem;
}
.vt-payment-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vt-payment-steps li {
  font-size: 0.875rem;
  color: var(--vt-ink-2);
  padding: 0.5rem 0.75rem;
  background: var(--vt-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--vt-sand-light);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.vt-payment-steps li::before {
  content: attr(data-step);
  background: var(--vt-sand);
  color: var(--vt-white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.vt-payment-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vt-ink);
  background: var(--vt-white);
  border: 2px solid var(--vt-sand);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  text-align: center;
  letter-spacing: 0.08em;
  margin: 1rem 0;
}
.vt-payment-methods-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.vt-pay-pill {
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.vt-pay-bkash  { background: var(--vt-bkash);  color: #fff; }
.vt-pay-nagad  { background: var(--vt-nagad);  color: #fff; }
.vt-pay-rocket { background: var(--vt-rocket); color: #fff; }
.vt-pay-cod    { background: var(--vt-success-bg); color: var(--vt-success); border: 1px solid rgba(45,90,39,.2); }

/* =========================================================
   EBOOK STATUS WORKFLOW
========================================================= */

.vt-ebook-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: var(--vt-cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--vt-sand-light);
}
.vt-status-pill {
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}
.vt-status-pending  { background: var(--vt-warning-bg); color: var(--vt-warning); border: 1px solid #FDE68A; }
.vt-status-waiting  { background: var(--vt-info-bg); color: var(--vt-info); border: 1px solid #B3C8E8; }
.vt-status-verified { background: var(--vt-success-bg); color: var(--vt-success); border: 1px solid rgba(45,90,39,.25); }
.vt-status-download { background: var(--vt-ink); color: var(--vt-cream); }
.vt-status-arrow { color: var(--vt-sand); font-size: 0.75rem; }

/* =========================================================
   WOOCOMMERCE OVERRIDES
========================================================= */

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #place_order {
  background: var(--vt-ink) !important;
  color: var(--vt-white) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 0.9rem 2rem !important;
  border: none !important;
  width: 100% !important;
  transition: background 0.2s !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #place_order:hover {
  background: var(--vt-ink-2) !important;
}

.woocommerce-page .woocommerce-breadcrumb {
  font-size: 0.8rem;
  color: var(--vt-muted);
}
.woocommerce-page .woocommerce-breadcrumb a { color: var(--vt-sand-dark); }

.woocommerce-tabs ul.tabs li a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vt-muted);
}
.woocommerce-tabs ul.tabs li.active a { color: var(--vt-ink); }

.woocommerce-product-rating .star-rating { color: var(--vt-sand); }

/* =========================================================
   USER DASHBOARD
========================================================= */

.vt-dashboard {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .vt-dashboard { grid-template-columns: 1fr; }
}
.vt-dashboard-nav {
  background: var(--vt-white);
  border: 1px solid var(--vt-sand-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: 90px;
}
.vt-dash-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--vt-sand-light);
}
.vt-dash-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vt-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--vt-white);
  flex-shrink: 0;
}
.vt-dash-name { font-size: 0.9rem; font-weight: 600; color: var(--vt-ink); }
.vt-dash-role { font-size: 0.7rem; color: var(--vt-muted); }
.vt-dash-menu { list-style: none; padding: 0; margin: 0; }
.vt-dash-menu li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vt-ink-2);
  text-decoration: none;
  transition: background 0.15s;
  margin-bottom: 2px;
}
.vt-dash-menu li a:hover, .vt-dash-menu li a.active {
  background: var(--vt-cream);
  color: var(--vt-ink);
}
.vt-dash-menu li a .menu-icon {
  width: 28px;
  height: 28px;
  background: var(--vt-cream-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* =========================================================
   NEWSLETTER SECTION
========================================================= */

.vt-newsletter {
  background: var(--vt-ink);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 3rem auto;
  max-width: 600px;
}
.vt-newsletter-title {
  font-size: 1.6rem;
  color: var(--vt-cream);
  margin-bottom: 0.6rem;
}
.vt-newsletter-sub {
  font-size: 0.9rem;
  color: rgba(250,247,242,.6);
  margin-bottom: 1.5rem;
}
.vt-newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}
.vt-newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201,169,110,.3);
  background: rgba(255,255,255,.08);
  color: var(--vt-cream);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
}
.vt-newsletter-form input::placeholder { color: rgba(250,247,242,.4); }
.vt-newsletter-form input:focus { border-color: var(--vt-sand); }
.vt-newsletter-form button {
  padding: 0.7rem 1.25rem;
  background: var(--vt-sand);
  color: var(--vt-white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.vt-newsletter-form button:hover { background: var(--vt-sand-dark); }

/* =========================================================
   TESTIMONIALS
========================================================= */

.vt-testimonial-card {
  background: var(--vt-white);
  border: 1px solid var(--vt-sand-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
}
.vt-testimonial-quote {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--vt-sand-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.vt-testimonial-text {
  font-size: 0.9375rem;
  color: var(--vt-ink-2);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}
.vt-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vt-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vt-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--vt-white);
}
.vt-testimonial-name { font-size: 0.875rem; font-weight: 600; color: var(--vt-ink); }
.vt-testimonial-role { font-size: 0.75rem; color: var(--vt-muted); }

/* =========================================================
   FOOTER
========================================================= */

.vt-footer {
  background: var(--vt-ink);
  color: var(--vt-cream);
  padding: 4rem 2rem 2rem;
}
.vt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
@media (max-width: 768px) {
  .vt-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .vt-footer-grid { grid-template-columns: 1fr; }
}
.vt-footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vt-cream);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.vt-footer-tagline {
  font-size: 0.875rem;
  color: rgba(250,247,242,.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 280px;
}
.vt-footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vt-sand);
  margin-bottom: 0.9rem;
}
.vt-footer-links { list-style: none; padding: 0; margin: 0; }
.vt-footer-links li { margin-bottom: 0.4rem; }
.vt-footer-links li a {
  font-size: 0.875rem;
  color: rgba(250,247,242,.6);
  text-decoration: none;
  transition: color 0.2s;
}
.vt-footer-links li a:hover { color: var(--vt-cream); }
.vt-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(201,169,110,.2);
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(250,247,242,.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* =========================================================
   SPECIES HUB PAGE
========================================================= */

.vt-species-hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--vt-sand-light);
}
.vt-species-hero-icon { font-size: 4rem; margin-bottom: 1rem; }
.vt-species-hero-title { font-size: 2.5rem; margin-bottom: 0.5rem; }
.vt-species-hero-sub { font-size: 1rem; color: var(--vt-muted); max-width: 480px; margin: 0 auto; }

.vt-species-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--vt-sand-light);
  background: var(--vt-white);
  padding: 0 2rem;
  overflow-x: auto;
}
.vt-species-tab {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vt-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.vt-species-tab.active, .vt-species-tab:hover {
  color: var(--vt-ink);
  border-bottom-color: var(--vt-sand);
}

/* =========================================================
   ADMIN PANEL STYLES (ebook verification)
========================================================= */

.vt-admin-status-pending  { color: var(--vt-warning); font-weight: 600; }
.vt-admin-status-verified { color: var(--vt-success); font-weight: 600; }
.vt-admin-status-rejected { color: var(--vt-danger);  font-weight: 600; }

/* =========================================================
   UTILITY CLASSES
========================================================= */

.text-center { text-align: center; }
.text-sand { color: var(--vt-sand-dark); }
.text-muted { color: var(--vt-muted); }
.text-ink { color: var(--vt-ink); }
.font-display { font-family: var(--font-display); }
.italic { font-style: italic; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.hidden { display: none !important; }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
  .vt-hero { padding: 3rem 1.25rem 2.5rem; }
  .vt-section { padding: var(--space-xl) 1.25rem; }
  .vt-hero-stats { gap: 1.25rem; }
  .vt-stat-num { font-size: 1.5rem; }
  .vt-article-layout { grid-template-columns: 1fr; }
  .vt-social-share { display: none; }
}

/* =========================================================
   ADDITIONAL STYLES — Added for all new page templates
========================================================= */

/* Pagination links */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .5rem;
    border: 1px solid var(--vt-sand-light);
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 500;
    color: var(--vt-ink-2);
    text-decoration: none;
    margin: 0 2px;
    transition: all .15s;
    background: var(--vt-white);
}
.page-numbers:hover { background: var(--vt-cream); border-color: var(--vt-sand); }
.page-numbers.current { background: var(--vt-ink); color: var(--vt-white); border-color: var(--vt-ink); }
.page-numbers.dots { border: none; background: none; }

/* WooCommerce breadcrumb */
.woocommerce-breadcrumb {
    font-size: .8rem;
    color: var(--vt-muted);
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    align-items: center;
}
.woocommerce-breadcrumb a { color: var(--vt-sand-dark); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--vt-ink); }

/* Star ratings */
.woocommerce-product-rating { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.star-rating { color: var(--vt-sand); font-size: .9rem; }
.woocommerce-review-link { font-size: .8rem; color: var(--vt-muted); text-decoration: none; }

/* WooCommerce notices */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
    padding: .9rem 1.1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: .9rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.woocommerce-message { background: var(--vt-success-bg); color: var(--vt-success); border: 1px solid rgba(45,90,39,.2); }
.woocommerce-error   { background: var(--vt-danger-bg);  color: var(--vt-danger);  border: 1px solid rgba(139,32,32,.2); }
.woocommerce-info    { background: var(--vt-info-bg);    color: var(--vt-info);    border: 1px solid rgba(26,58,107,.2); }

/* WooCommerce result count & ordering */
.woocommerce-result-count { font-size: .8rem; color: var(--vt-muted); }
.woocommerce-ordering select {
    padding: .4rem .75rem;
    border: 1px solid var(--vt-sand-light);
    border-radius: 6px;
    font-size: .8rem;
    font-family: var(--font-body);
    color: var(--vt-ink);
    background: var(--vt-white);
    cursor: pointer;
    outline: none;
}

/* Species tabs scroll on mobile */
.vt-species-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.vt-species-tabs::-webkit-scrollbar { display: none; }

/* Article content typography */
.vt-article-content h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 .75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--vt-sand-light);
    line-height: 1.3;
}
.vt-article-content h3 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; color: var(--vt-ink-2); }
.vt-article-content h2:first-child, .vt-article-content h3:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.vt-article-content p { color: var(--vt-ink-2); line-height: 1.85; font-size: .9375rem; }
.vt-article-content ul, .vt-article-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.vt-article-content li { color: var(--vt-ink-2); line-height: 1.75; font-size: .9375rem; margin-bottom: .3rem; }
.vt-article-content img { border-radius: var(--radius-md); margin: 1.5rem 0; width: 100%; height: auto; }
.vt-article-content a { color: var(--vt-sand-dark); text-decoration: underline; }
.vt-article-content blockquote {
    border-left: 3px solid var(--vt-sand);
    padding: 1rem 1.5rem;
    background: var(--vt-cream);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.75rem 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--vt-ink-2);
}
.vt-article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.vt-article-content table th { background: var(--vt-cream-2); padding: .6rem .85rem; text-align: left; font-weight: 600; color: var(--vt-ink-2); border-bottom: 2px solid var(--vt-sand-light); }
.vt-article-content table td { padding: .55rem .85rem; border-bottom: 1px solid var(--vt-cream-2); color: var(--vt-ink-2); }
.vt-article-content table tr:hover td { background: var(--vt-cream); }

/* Product/WC loop override for 3-col */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 1.25rem !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
.woocommerce ul.products li.product { margin: 0 !important; }
@media (max-width: 900px)  { .woocommerce ul.products { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 540px)  { .woocommerce ul.products { grid-template-columns: 1fr !important; } }

/* Single product WC styles */
.woocommerce-product-gallery { border-radius: var(--radius-lg); overflow: hidden; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
    font-family: var(--font-display);
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--vt-sand-dark) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--vt-sand-light);
    padding: 0;
    margin: 0 0 1.5rem;
    list-style: none;
    background: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: .875rem;
    font-weight: 600;
    color: var(--vt-muted);
    padding: .75rem 1.1rem;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--vt-ink);
    border-bottom-color: var(--vt-sand);
}

/* Book card 3D cover hover */
.vt-book-card:hover .vt-book-cover-spine {
    transform: rotateY(-8deg);
    transition: transform .3s ease;
}

/* Filter pills hover */
.vt-filter-pill:hover {
    background: var(--vt-cream);
    border-color: var(--vt-sand);
    color: var(--vt-ink);
}

/* Section eyebrow */
.vt-section-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vt-sand-dark);
}

/* Responsive grids */
@media (max-width: 1024px) {
    .vt-grid-3 { grid-template-columns: repeat(2,1fr); }
    .vt-grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
    .vt-grid-3, .vt-grid-4, .vt-grid-2 { grid-template-columns: 1fr; }
    .vt-species-grid { grid-template-columns: repeat(3,1fr); }
    .vt-hero { padding: 2.5rem 1.25rem 2rem; }
    .vt-section { padding: 2rem 1.25rem; }
}

/* =========================================================
   FIX 1 — PRODUCT CARD CONSISTENT HEIGHT
   Cards in a grid must all be the same height.
   flex-direction:column + flex:1 on title makes them equal.
========================================================= */

.vt-grid-3,
.vt-grid-4 {
    align-items: stretch; /* all cards stretch to same row height */
}

.vt-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.vt-product-img-wrap {
    height: 200px !important; /* fixed image height — no more odd sizes */
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--vt-cream-2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vt-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vt-product-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1; /* grows to fill remaining card height */
}
.vt-product-name {
    font-size: .9rem;
    font-weight: 600;
    color: var(--vt-ink);
    line-height: 1.4;
    margin-bottom: .25rem;
    flex: 1; /* pushes price+button to bottom */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vt-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--vt-cream-2);
    padding-top: .75rem;
    margin-top: .75rem;
}

/* Article cards — same consistent height fix */
.vt-article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.vt-article-card-image {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.vt-article-card-img-placeholder {
    width: 100%;
    height: 200px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--vt-cream-2);
    flex-shrink: 0;
}
.vt-article-card-body {
    padding: 1rem 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.vt-article-card-title {
    flex: 1; /* pushes meta to bottom */
}
.vt-article-card-meta {
    margin-top: auto;
}

/* Book cards — consistent height */
.vt-book-card {
    height: 100%;
}
.vt-book-cover {
    height: 180px !important;
    flex-shrink: 0;
}

/* WooCommerce product loop — consistent heights */
.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    flex: 1 !important;
    font-family: var(--font-display) !important;
    font-size: .9375rem !important;
    color: var(--vt-ink) !important;
    padding: .75rem 1rem .5rem !important;
}
.woocommerce ul.products li.product .price {
    padding: 0 1rem .5rem !important;
    font-family: var(--font-display) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--vt-sand-dark) !important;
}
.woocommerce ul.products li.product a.button {
    margin: 0 1rem 1rem !important;
    background: var(--vt-ink) !important;
    color: var(--vt-white) !important;
    border-radius: var(--radius-sm) !important;
    font-size: .8125rem !important;
    font-weight: 600 !important;
    padding: .45rem 1rem !important;
    text-align: center !important;
    border: none !important;
    display: block !important;
}

/* =========================================================
   FIX 2 — HERO ANIMATED ICON BASE STYLES
   Used across all archive hero sections.
   Actual icon images injected per page via inline src attribute.
========================================================= */

/* Animated hero icon wrapper */
.vt-hero-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.vt-hero-animated-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    /* Gentle float animation */
    animation: vt-float 3s ease-in-out infinite;
    filter: drop-shadow(0 12px 24px rgba(201,169,110,.3));
}
/* Smaller variant for inline/compact heroes */
.vt-hero-animated-icon.sm {
    width: 72px;
    height: 72px;
}
/* Larger variant for dark heroes */
.vt-hero-animated-icon.lg {
    width: 130px;
    height: 130px;
    filter: drop-shadow(0 16px 32px rgba(201,169,110,.5));
}

@keyframes vt-float {
    0%   { transform: translateY(0px) rotate(0deg);   }
    33%  { transform: translateY(-10px) rotate(1deg);  }
    66%  { transform: translateY(-5px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg);   }
}
@keyframes vt-pulse-glow {
    0%   { box-shadow: 0 0 0 0 rgba(201,169,110,.4); }
    70%  { box-shadow: 0 0 0 16px rgba(201,169,110,0); }
    100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); }
}
@keyframes vt-spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes vt-bounce-in {
    0%   { transform: scale(0.6) translateY(20px); opacity: 0; }
    60%  { transform: scale(1.1) translateY(-4px); opacity: 1; }
    100% { transform: scale(1) translateY(0); }
}
.vt-hero-animated-icon {
    animation: vt-bounce-in .6s ease-out both, vt-float 3s ease-in-out 0.6s infinite;
}

/* Hero icon glow ring (optional visual) */
.vt-hero-icon-glow {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,.15) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vt-pulse-glow 2.5s ease-out infinite;
}

/* Download badge for ebook hero */
.vt-hero-download-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(201,169,110,.2);
    border: 1px solid rgba(201,169,110,.4);
    border-radius: var(--radius-full);
    padding: .35rem 1rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--vt-sand-light);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: vt-bounce-in .4s ease-out .8s both;
}
.vt-hero-download-badge::before {
    content: '⬇';
    font-size: .9rem;
}

/* =========================================================
   CHECKOUT PAGE — Premium styling over WooCommerce native
   We do NOT override form-checkout.php
   WooCommerce handles the form - we just style it
========================================================= */

/* Page wrapper */
.woocommerce-checkout #page,
body.woocommerce-checkout {
    background: var(--vt-cream) !important;
}

/* Checkout page header area */
.woocommerce-checkout .entry-header,
.woocommerce-checkout .page-title {
    display: none !important;
}

/* Main checkout layout - 2 columns */
.woocommerce-checkout #customer_details,
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 2rem auto !important;
    padding: 0 1.5rem !important;
    align-items: start !important;
}

/* Left column: billing + payment sections */
.woocommerce-checkout .col2-set {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
}

/* All section boxes */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-additional-fields {
    background: var(--vt-white) !important;
    border: 1px solid var(--vt-sand-light) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.5rem !important;
    margin-bottom: 0 !important;
}

/* Section headings */
.woocommerce-checkout h3#order_review_heading,
.woocommerce-checkout h3.woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout h3 {
    font-family: var(--font-display) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--vt-ink) !important;
    margin: 0 0 1.1rem !important;
    padding-bottom: .65rem !important;
    border-bottom: 1px solid var(--vt-sand-light) !important;
}

/* Form labels */
.woocommerce-checkout label {
    font-size: .8rem !important;
    font-weight: 600 !important;
    color: var(--vt-ink-2) !important;
    margin-bottom: .3rem !important;
    display: block !important;
}
.woocommerce-checkout .required {
    color: var(--vt-sand) !important;
}

/* Form inputs */
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100% !important;
    padding: .65rem 1rem !important;
    border: 1.5px solid var(--vt-sand-light) !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-size: .9rem !important;
    color: var(--vt-ink) !important;
    background: var(--vt-white) !important;
    transition: border-color .2s !important;
    outline: none !important;
    box-shadow: none !important;
}
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--vt-sand) !important;
    box-shadow: 0 0 0 3px rgba(201,169,110,.12) !important;
}
.woocommerce-checkout .form-row {
    margin-bottom: .75rem !important;
    padding: 0 !important;
}

/* ── PAYMENT SECTION ─────────────────────────────────────
   This is the critical section that was empty.
   WC renders payment gateways inside #payment div.
   We style it to show our custom gateway properly.
======================================================== */

/* Payment section wrapper */
.woocommerce-checkout #payment {
    background: var(--vt-white) !important;
    border: 1px solid var(--vt-sand-light) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.5rem !important;
    margin: 1.25rem 0 0 !important;
}

/* Payment heading */
.woocommerce-checkout #payment::before {
    content: 'Payment';
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vt-ink);
    margin-bottom: 1.1rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--vt-sand-light);
}

/* Payment gateways list */
.woocommerce-checkout #payment .wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: .5rem !important;
}
.woocommerce-checkout #payment .wc_payment_methods li.payment_method_vetanique_manual,
.woocommerce-checkout #payment .wc_payment_methods li {
    background: var(--vt-cream) !important;
    border: 1.5px solid var(--vt-sand-light) !important;
    border-radius: 10px !important;
    padding: 1rem 1.1rem !important;
    transition: border-color .2s !important;
}
.woocommerce-checkout #payment .wc_payment_methods li:has(input:checked) {
    border-color: var(--vt-sand-dark) !important;
    background: var(--vt-cream-2) !important;
}
.woocommerce-checkout #payment .wc_payment_methods li label {
    font-size: .9rem !important;
    font-weight: 600 !important;
    color: var(--vt-ink) !important;
    cursor: pointer !important;
    margin-bottom: 0 !important;
}
.woocommerce-checkout #payment .wc_payment_methods li input[type="radio"] {
    margin-right: .5rem !important;
    accent-color: var(--vt-sand) !important;
}

/* Payment description box (shown below selected method) */
.woocommerce-checkout #payment .payment_box {
    background: var(--vt-white) !important;
    border: 1px solid var(--vt-sand-light) !important;
    border-radius: 8px !important;
    padding: .85rem 1rem !important;
    margin-top: .65rem !important;
    font-size: .875rem !important;
    color: var(--vt-muted) !important;
}
.woocommerce-checkout #payment .payment_box p {
    margin: 0 !important;
    color: var(--vt-muted) !important;
    font-size: .875rem !important;
}

/* Place Order button */
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout .woocommerce-checkout-payment #place_order {
    width: 100% !important;
    background: var(--vt-ink) !important;
    color: var(--vt-white) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 1rem 2rem !important;
    cursor: pointer !important;
    transition: background .2s !important;
    margin-top: 1rem !important;
    letter-spacing: .02em !important;
}
.woocommerce-checkout #payment #place_order:hover {
    background: var(--vt-ink-2) !important;
    transform: translateY(-1px) !important;
}

/* Place order section */
.woocommerce-checkout #payment .place-order {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

/* Privacy policy text above place order */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    font-size: .8rem !important;
    color: var(--vt-muted) !important;
    margin-bottom: .75rem !important;
}

/* ── ORDER REVIEW (right column) ───────────────────────── */

/* Order review table */
.woocommerce-checkout table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: .875rem !important;
}
.woocommerce-checkout table.shop_table th {
    background: var(--vt-cream-2) !important;
    padding: .6rem .85rem !important;
    text-align: left !important;
    font-weight: 700 !important;
    color: var(--vt-ink-2) !important;
    font-size: .8rem !important;
    border-bottom: 1px solid var(--vt-sand-light) !important;
}
.woocommerce-checkout table.shop_table td {
    padding: .65rem .85rem !important;
    border-bottom: 1px solid var(--vt-cream-2) !important;
    color: var(--vt-ink-2) !important;
    vertical-align: middle !important;
}
.woocommerce-checkout table.shop_table .product-name {
    font-weight: 600 !important;
    color: var(--vt-ink) !important;
}
.woocommerce-checkout table.shop_table .product-total {
    font-weight: 700 !important;
    color: var(--vt-sand-dark) !important;
    text-align: right !important;
}
.woocommerce-checkout table.shop_table .order-total td,
.woocommerce-checkout table.shop_table .order-total th {
    font-family: var(--font-display) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--vt-ink) !important;
    border-top: 2px solid var(--vt-sand-light) !important;
    padding-top: .85rem !important;
}
.woocommerce-checkout table.shop_table .order-total .amount {
    color: var(--vt-sand-dark) !important;
}

/* ── OUR CUSTOM PAYMENT FIELDS ─────────────────────────
   These are injected by VT_Checkout class via hook
   woocommerce_review_order_before_submit
   They appear inside #payment div before Place Order
======================================================== */
.vt-checkout-payment-section {
    margin: 1rem 0 !important;
    padding: 1.25rem !important;
    background: var(--vt-cream) !important;
    border: 1.5px solid var(--vt-sand-light) !important;
    border-radius: var(--radius-lg) !important;
}
.vt-checkout-section-title {
    font-family: var(--font-display) !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    color: var(--vt-ink) !important;
    margin-bottom: 1rem !important;
    padding-bottom: .5rem !important;
    border-bottom: 1px solid var(--vt-sand-light) !important;
}

/* Checkout breadcrumb bar */
.vt-checkout-header-bar {
    background: var(--vt-cream-2);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--vt-sand-light);
}

/* Add a checkout header via CSS on the page title */
.woocommerce-checkout h1.entry-title {
    font-family: var(--font-display) !important;
    font-size: 1.75rem !important;
    color: var(--vt-ink) !important;
}

/* Responsive checkout */
@media (max-width: 900px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
    }
    .woocommerce-checkout #order_review {
        order: -1 !important; /* show order summary first on mobile */
    }
}
@media (max-width: 640px) {
    .woocommerce-checkout form.checkout {
        padding: 0 1rem !important;
        margin: 1rem auto !important;
    }
}

/* ── CART PAGE ─────────────────────────────────────────── */
.woocommerce-cart .woocommerce {
    max-width: 1200px !important;
    margin: 2rem auto !important;
    padding: 0 1.5rem !important;
}
.woocommerce-cart table.cart {
    border-collapse: collapse !important;
    width: 100% !important;
}
.woocommerce-cart table.cart th {
    background: var(--vt-ink) !important;
    color: var(--vt-sand) !important;
    padding: .65rem .85rem !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}
.woocommerce-cart table.cart td {
    padding: 1rem .85rem !important;
    border-bottom: 1px solid var(--vt-sand-light) !important;
    vertical-align: middle !important;
    background: var(--vt-white) !important;
}
.woocommerce-cart table.cart .product-name a {
    font-weight: 600 !important;
    color: var(--vt-ink) !important;
    text-decoration: none !important;
    font-size: .9375rem !important;
}
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    color: var(--vt-sand-dark) !important;
}
.woocommerce-cart .cart-collaterals {
    margin-top: 2rem !important;
}
.woocommerce-cart .cart_totals {
    background: var(--vt-white) !important;
    border: 1px solid var(--vt-sand-light) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.5rem !important;
    max-width: 420px !important;
    margin-left: auto !important;
}
.woocommerce-cart .cart_totals h2 {
    font-family: var(--font-display) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--vt-ink) !important;
    margin-bottom: 1rem !important;
    padding-bottom: .65rem !important;
    border-bottom: 1px solid var(--vt-sand-light) !important;
}
.woocommerce-cart .cart_totals table {
    width: 100% !important;
    border-collapse: collapse !important;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    padding: .5rem 0 !important;
    border-bottom: 1px solid var(--vt-cream-2) !important;
    font-size: .875rem !important;
}
.woocommerce-cart .cart_totals table .order-total th,
.woocommerce-cart .cart_totals table .order-total td {
    font-family: var(--font-display) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--vt-ink) !important;
    border-top: 2px solid var(--vt-sand-light) !important;
    padding-top: .85rem !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart a.checkout-button {
    display: block !important;
    width: 100% !important;
    background: var(--vt-ink) !important;
    color: var(--vt-white) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: .9rem 2rem !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: background .2s !important;
    text-decoration: none !important;
    margin-top: 1rem !important;
}
.woocommerce-cart a.checkout-button:hover {
    background: var(--vt-ink-2) !important;
}
.woocommerce-cart td.actions .coupon .input-text {
    padding: .55rem .9rem !important;
    border: 1.5px solid var(--vt-sand-light) !important;
    border-radius: 6px !important;
    font-family: var(--font-body) !important;
    font-size: .875rem !important;
    width: 180px !important;
    margin-right: .4rem !important;
}
.woocommerce-cart td.actions button {
    background: var(--vt-cream) !important;
    color: var(--vt-ink) !important;
    border: 1.5px solid var(--vt-sand-light) !important;
    border-radius: 6px !important;
    padding: .55rem 1rem !important;
    font-size: .8125rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
.woocommerce-cart .cart-empty {
    text-align: center !important;
    padding: 4rem 2rem !important;
    font-family: var(--font-display) !important;
    font-size: 1.25rem !important;
    color: var(--vt-muted) !important;
}
.woocommerce-cart .return-to-shop a {
    background: var(--vt-ink) !important;
    color: var(--vt-white) !important;
    padding: .65rem 1.5rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin-top: 1rem !important;
}

/* Order received / Thank you page */
.woocommerce-order {
    max-width: 860px !important;
    margin: 3rem auto !important;
    padding: 0 1.5rem !important;
}
.woocommerce-order .woocommerce-order-overview {
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    background: var(--vt-cream) !important;
    border: 1px solid var(--vt-sand-light) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.25rem !important;
    margin: 1.5rem 0 !important;
}
.woocommerce-order .woocommerce-order-overview li {
    font-size: .875rem !important;
    color: var(--vt-muted) !important;
}
.woocommerce-order .woocommerce-order-overview li strong {
    color: var(--vt-ink) !important;
    font-weight: 700 !important;
}
.woocommerce-thankyou-order-received {
    background: var(--vt-success-bg,#D1FAE5) !important;
    border: 1px solid rgba(45,90,39,.2) !important;
    border-radius: 10px !important;
    padding: 1rem 1.25rem !important;
    color: var(--vt-success,#065F46) !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
}

.vt-grid-3{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:24px;
}

.vt-product-card{
    min-height:420px;
    border-radius:18px;
    overflow:hidden;
}

.vt-product-img-wrap{
    height:240px;
}

.vt-product-img-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
}
