/* =============================================
   AVISHI ANIMAL HEALTH — Main Stylesheet
   Brand: Green #2d6a27, Gold #c9a84c, White
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --green-dark: #1a4016;
  --green: #2d6a27;
  --green-light: #3d8a35;
  --gold: #c9a84c;
  --gold-light: #e8c76a;
  --cream: #faf8f3;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #444444;
  --text-light: #777777;
  --border: #e0e0d8;
  --shadow: rgba(45, 106, 39, 0.12);
  --shadow-lg: rgba(45, 106, 39, 0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

/* =============================================
   NAVBAR
   ============================================= */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.nav-logo-sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links > li > a {
  color: rgba(255,255,255,0.88);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-links > li > a:hover {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 32px var(--shadow-lg);
  list-style: none;
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--green);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--green-dark);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #4a9e41 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
  opacity: 0.88;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   SECTION HELPERS
   ============================================= */
.section { padding: 80px 24px; }
.section-alt { background: var(--cream); }

.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--green-dark); margin-bottom: 12px; }
.section-header p { color: var(--text-mid); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.gold-line {
  width: 56px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* =============================================
   CATEGORY CARDS (HOME)
   ============================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
  display: block;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
  border-color: var(--green-light);
  color: var(--green);
}

.category-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.category-card h3 { font-size: 1rem; font-weight: 700; }
.category-card span { font-size: 0.8rem; color: var(--text-light); }

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px var(--shadow-lg);
}

.product-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}

.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.product-category-tag {
  display: inline-block;
  background: rgba(45,106,39,0.1);
  color: var(--green);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.product-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--green-dark); }
.product-card-body p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.5; flex: 1; }

.product-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.product-card-footer a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
}

.product-card-footer a:hover { color: var(--gold); }

/* =============================================
   FILTER BAR (PRODUCT INDEX)
   ============================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 60px 24px;
  color: var(--white);
}

.product-detail-hero .breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.product-detail-hero .breadcrumb a { color: rgba(255,255,255,0.65); }
.product-detail-hero .breadcrumb a:hover { color: var(--gold); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 52px;
  align-items: start;
}

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
}

.product-visual {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.product-visual img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 16px;
}

.product-hero-info .category-tag {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.product-hero-info h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.product-hero-info .tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-bottom: 20px;
}

.product-hero-info .intro { font-size: 1rem; line-height: 1.7; opacity: 0.9; }

/* Detail sections */
.product-sections { padding: 60px 24px; }
.product-sections .container { max-width: 960px; }

.detail-section {
  margin-bottom: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.detail-section-header {
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-section-header h2 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.detail-section-header .icon { font-size: 1.3rem; }

.detail-section-body {
  padding: 28px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-mid);
}

.detail-section-body ul { padding-left: 20px; }
.detail-section-body li { margin-bottom: 6px; }
.detail-section-body strong { color: var(--green-dark); }

.pack-sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.pack-size-tag {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* Related products */
.related-section { background: var(--cream); padding: 60px 24px; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--green-dark);
  padding: 40px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.stat-item .label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 28px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.footer-tagline { font-size: 0.875rem; line-height: 1.6; opacity: 0.75; margin-bottom: 20px; }

.footer-heading { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   SEARCH PAGE
   ============================================= */
.search-page { padding: 60px 24px; }
.search-form { max-width: 600px; margin: 0 auto 40px; display: flex; gap: 12px; }
.search-form input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-form input:focus { border-color: var(--green); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 70px 20px 60px; }
  .section { padding: 50px 20px; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* =============================================
   AVISHI ANIMAL HEALTH — Modern Overhaul Styles
   Horizontal Scroll, Pack Sizes, Infographic Gallery
   ============================================= */

/* --- Badges & Utility --- */
.section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(45, 106, 39, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.species-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(45, 106, 39, 0.12);
  color: var(--green-dark);
  padding: 3px 8px;
  border-radius: 20px;
}

.diet-medicine-tag, .diet-medicine-tag-sm {
  font-size: 0.72rem;
  font-weight: 700;
  background: #fff3e0;
  color: #d84315;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid #ffe0b2;
}

.gold-line {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 10px 0 16px;
  border-radius: 2px;
}

/* --- Features Grid (Why Avishi) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border, #e0e0d8);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(45,106,39,0.12);
  border-color: var(--gold);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.6;
}

.category-card.featured-cat {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7f0 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.2);
}

/* --- Section Header Flex --- */
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.carousel-nav-buttons {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--gold);
  color: var(--green-dark);
  font-size: 24px;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 168, 76, 0.35);
}

/* --- Horizontal Product Track --- */
.product-showcase-section {
  background: #fbfdfb;
  border-top: 1px solid #edf4ec;
  border-bottom: 1px solid #edf4ec;
  padding: 60px 0;
  overflow: hidden;
}

.horizontal-product-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  padding: 16px 6px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.horizontal-product-track::-webkit-scrollbar {
  display: none;
}

.h-product-card {
  flex: 0 0 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(45, 106, 39, 0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.h-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(45, 106, 39, 0.16);
  border-color: var(--gold);
}

.h-card-badge-row {
  padding: 14px 16px 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.h-card-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 230px;
  padding: 16px;
  background: radial-gradient(circle, #fafdfa 0%, #edf5ec 100%);
  text-decoration: none;
}

.h-card-img-wrap img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

.h-product-card:hover .h-card-img-wrap img {
  transform: scale(1.06);
}

.h-card-placeholder {
  font-size: 3.5rem;
}

.h-card-content {
  padding: 16px 18px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.h-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.h-card-title a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.h-card-title a:hover {
  color: var(--gold);
}

.h-card-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1.35;
}

.h-card-sizes {
  margin-bottom: 12px;
}

.sizes-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.size-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.size-chip, .small-size-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: #f0f6f0;
  color: var(--green-dark);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(45, 106, 39, 0.15);
}

.h-card-intro {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.h-card-action {
  padding: 0 18px 18px;
}

.btn-card-view {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-dark);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-view:hover {
  background: var(--green);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 106, 39, 0.25);
}

/* --- PRODUCT DETAIL HERO --- */
.product-detail-hero {
  background: linear-gradient(145deg, #0e2910 0%, #1a4016 60%, #24581f 100%);
  color: #ffffff;
  padding: 36px 0 60px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 24px;
}

.product-visual-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-visual-pedestal {
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 75%);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 36px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.product-hero-img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4));
}

.product-hero-placeholder {
  font-size: 5rem;
}

.product-trust-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-badge {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  color: #e8f5e9;
}

.product-hero-info {
  display: flex;
  flex-direction: column;
}

.product-hero-info .badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product-page-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 18px;
}

.target-animals-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--gold);
  padding: 10px 16px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.target-label {
  font-weight: 700;
  color: var(--gold-light);
  margin-right: 6px;
}

.target-value {
  color: rgba(255, 255, 255, 0.95);
}

.product-intro-text {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
}

/* Pack Size Selector */
.pack-size-selector-box {
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0 24px;
}

.selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.selector-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.selected-status {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.selected-status strong {
  color: #ffffff;
  font-weight: 700;
}

.pack-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pack-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pack-pill:hover {
  background: rgba(201, 168, 76, 0.25);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.pack-pill.active {
  background: var(--gold);
  border-color: #ffffff;
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.5);
  transform: translateY(-2px);
}

.product-actions-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* --- INFOGRAPHIC SLIDES MASONRY --- */
.slides-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.slide-card-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 1.5px solid rgba(45, 106, 39, 0.12);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.slide-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  border-color: var(--gold);
}

.slide-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7faf7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.slide-card-item:hover .slide-img-wrapper img {
  transform: scale(1.04);
}

.slide-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 64, 22, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.slide-card-item:hover .slide-hover-overlay {
  opacity: 1;
}

.zoom-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.slide-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
  background: #fdfdfd;
  border-top: 1px solid #f0f0f0;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 24, 12, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content-wrap img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  background: #ffffff;
}

.lightbox-close-btn {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #ffffff;
  color: #1a1a1a;
  font-size: 26px;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.lightbox-close-btn:hover {
  transform: scale(1.1);
  background: #ffffff;
}

.lightbox-caption-text {
  color: #ffffff;
  font-size: 0.95rem;
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
}

/* --- DETAILED CLINICAL SECTIONS --- */
.details-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.full-width-card {
  grid-column: 1 / -1;
}

.detail-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(45, 106, 39, 0.12);
  padding: 32px 28px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0f4f0;
}

.detail-icon {
  font-size: 1.8rem;
}

.detail-card-header h2 {
  font-size: 1.3rem;
  color: var(--green-dark);
  font-weight: 700;
}

.detail-card-body {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-mid);
}

.detail-card-body ul {
  list-style: none;
  padding-left: 0;
}

.detail-card-body li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
}

.detail-card-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
  font-size: 1.1rem;
  top: 0;
}

.dosage-box {
  background: #f3f8f3;
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid var(--green);
  margin-top: 10px;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

.comparison-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table-wrap th {
  background: var(--green-dark);
  color: #ffffff;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
}

.comparison-table-wrap td {
  padding: 14px 18px;
  border-bottom: 1px solid #eef3ee;
  font-size: 0.9rem;
}

.comparison-table-wrap tr:nth-child(even) {
  background: #fbfdfb;
}

/* --- CATALOG FILTERS --- */
.catalog-filters-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid rgba(45, 106, 39, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  min-width: 80px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  background: #f3f6f3;
  color: var(--text-mid);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.filter-btn:hover {
  background: rgba(201, 168, 76, 0.2);
  color: var(--green-dark);
}

.filter-btn.active {
  background: var(--green-dark);
  color: #ffffff;
  border-color: var(--green-dark);
}

.filter-btn.diet-btn.active {
  background: #d84315;
  border-color: #d84315;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-visual-pedestal {
    min-height: 320px;
    padding: 24px;
  }

  .product-hero-img {
    max-height: 300px;
  }

  .details-grid-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .h-product-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }

  .slides-masonry-grid {
    grid-template-columns: 1fr;
  }

  .pack-size-pills {
    gap: 6px;
  }

  .pack-pill {
    padding: 7px 12px;
    font-size: 0.84rem;
  }
}

