/**
 * Petshelp.hu - Premium Pet Store Stylesheet
 * Architecture: Modular BEM-inspired CSS with custom properties
 * Theme: MasterZoo / Modern WordPress WooCommerce
 */

:root {
  /* Brand Colors */
  --primary: #15803d;         /* Deep Forest / MasterZoo Green */
  --primary-hover: #166534;   /* Darker Green */
  --primary-light: #ecfdf5;   /* Mint Green background accent */
  --primary-glow: rgba(21, 128, 61, 0.15);
  
  --accent: #f97316;          /* Vibrant Coral / Orange for CTA & Disounts */
  --accent-hover: #ea580c;
  --accent-light: #fff7ed;
  
  --secondary: #0284c7;       /* Soft Blue for info / badges */
  --secondary-light: #f0f9ff;
  
  --sale-red: #ef4444;        /* Flash sale / discount badge */
  --sale-red-light: #fef2f2;
  --star-yellow: #f59e0b;
  
  /* Neutrals */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout & Shadows */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 28px -4px rgba(21, 128, 61, 0.18), 0 4px 10px -2px rgba(0, 0, 0, 0.06);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header & Navigation (MasterZoo WordPress Style) */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.top-bar-links a:hover {
  color: var(--accent);
}

.top-bar-badge {
  background: var(--accent);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.main-header {
  padding: 1rem 0;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), #22c55e);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.3);
}

.logo span.highlight {
  color: var(--accent);
}

/* Header Search Form */
.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.header-search form {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-body);
  transition: var(--transition);
  overflow: hidden;
}

.header-search form:focus-within {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.header-search input {
  flex: 1;
  padding: 0.65rem 1.2rem;
  background: transparent;
  color: var(--text-main);
  font-size: 0.9375rem;
}

.header-search button {
  padding: 0.65rem 1.25rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.header-search button:hover {
  background: var(--primary-hover);
}

/* Header Contacts & Cart */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
}

.header-phone-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.header-phone-info {
  display: flex;
  flex-direction: column;
}

.header-phone-info .label {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.header-phone-info .number {
  font-weight: 700;
  color: var(--text-main);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(21, 128, 61, 0.2);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  position: relative;
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.cart-count-badge {
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation Bar (Mega Menu Look) */
.nav-bar {
  background: var(--primary);
  color: #fff;
}

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-item > a:hover,
.nav-item.active > a {
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
}

.nav-item.sale > a {
  color: #fed7aa;
  font-weight: 700;
}

.nav-item.sale > a:hover {
  color: #fff;
  background: var(--accent);
}

.nav-extra {
  font-size: 0.875rem;
  font-weight: 600;
  color: #bbf7d0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  padding: 0.25rem;
}

/* Hero Section */
.hero-section {
  padding: 2rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.hero-banner-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0f5132 0%, #15803d 100%);
  color: #fff;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
  box-shadow: var(--shadow-md);
}

.hero-banner-main::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background: url('https://images.unsplash.com/photo-1543466835-00a7907e9de1?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
  opacity: 0.9;
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.0625rem;
  color: #e2e8f0;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-side-banners {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.side-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1.75rem;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.side-banner-card.cat-card {
  background: linear-gradient(135deg, #1e293b, #334155);
}

.side-banner-card.cat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: url('https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
  opacity: 0.85;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.side-banner-card.vet-card {
  background: linear-gradient(135deg, #0284c7, #0369a1);
}

.side-banner-card.vet-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: url('https://images.unsplash.com/photo-1583511655857-d19b40a7a54e?auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
  opacity: 0.85;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.side-banner-card .content {
  position: relative;
  z-index: 2;
  max-width: 220px;
}

.side-banner-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.side-banner-card p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.35);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-body);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* USPs / Trust Badges Bar (Google Ads Friendly) */
.trust-bar {
  padding: 1.75rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 1rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.trust-text p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Category Grid */
.section {
  padding: 3rem 0;
}

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

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title .title-accent {
  color: var(--primary);
}

.section-link {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.section-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

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

.category-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.category-img-box {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.category-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.category-card:hover .category-img-box img {
  transform: scale(1.1);
}

.category-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.category-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Product Cards & Grids */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 128, 61, 0.4);
}

.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.badge {
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
  line-height: 1.2;
}

.badge-discount {
  background: var(--accent);
  color: #fff;
}

.badge-sale {
  background: var(--sale-red);
  color: #fff;
}

.badge-hit {
  background: var(--primary);
  color: #fff;
}

.badge-new {
  background: var(--secondary);
  color: #fff;
}

.product-img-wrap {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-quick-btn {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  white-space: nowrap;
  opacity: 0;
}

.product-card:hover .product-quick-btn {
  bottom: 10px;
  opacity: 1;
}

.product-quick-btn:hover {
  background: var(--primary);
  color: #fff;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title a:hover {
  color: var(--primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}

.stars {
  color: var(--star-yellow);
}

.review-count {
  color: var(--text-light);
  font-size: 0.75rem;
}

.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border);
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 0.8125rem;
  color: var(--text-light);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.current-price.sale-price {
  color: var(--accent);
}

.add-cart-btn {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.add-cart-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.add-cart-btn.added {
  background: #22c55e;
  color: #fff;
}

/* 1-Click Order Button in card */
.quick-order-link {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.6rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border-light);
  cursor: pointer;
}

.quick-order-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* Flash Sale Banner / Deal Section */
.deal-section {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px dashed #fdba74;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 2rem 0;
}

.deal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.deal-title-box h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #9a3412;
}

.deal-title-box p {
  color: #c2410c;
  font-weight: 500;
}

.countdown-box {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.countdown-item {
  background: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 55px;
}

.countdown-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* Brand Carousel Bar */
.brands-section {
  padding: 2rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brands-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  opacity: 0.8;
}

.brand-item {
  font-size: 1.25rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: -0.02em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-body);
  transition: var(--transition);
}

.brand-item:hover {
  color: var(--primary);
  background: var(--primary-light);
  transform: scale(1.05);
}

/* Reviews / Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.review-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.review-author-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
}

.review-author-info span {
  font-size: 0.75rem;
  color: #22c55e;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.review-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
}

.review-product-tag {
  margin-top: auto;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Blog / Advice Snippets */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.blog-body {
  padding: 1.25rem;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.blog-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

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

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Quick Order Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-white);
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: var(--primary-light);
  border-bottom: 1px solid rgba(21, 128, 61, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-close {
  font-size: 1.5rem;
  color: var(--text-muted);
  line-height: 1;
  padding: 0.25rem;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--sale-red);
}

.modal-body {
  padding: 1.5rem;
}

.modal-product-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.modal-product-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border);
}

.modal-product-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.modal-product-price {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--accent);
}

/* 2-Field Order Form */
.quick-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-main);
  background: var(--bg-body);
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-note a {
  color: var(--primary);
  text-decoration: underline;
}

/* Slide Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--bg-white);
  z-index: 2001;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-light);
}

.cart-drawer-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty-icon {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border);
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--accent);
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.qty-val {
  font-size: 0.875rem;
  font-weight: 700;
}

.cart-item-remove {
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 0.35rem;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: var(--sale-red);
}

.cart-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-body);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cart-total-price {
  color: var(--accent);
  font-size: 1.35rem;
}

/* Catalog Page Styles */
.page-header {
  background: var(--primary-light);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(21, 128, 61, 0.15);
  margin-bottom: 2rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-hover);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filter-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  cursor: pointer;
}

.filter-item input[type="checkbox"],
.filter-item input[type="radio"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

.filter-item span.count {
  color: var(--text-light);
  font-size: 0.75rem;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.sort-select {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Product Detail Page */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main-img {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--border);
}

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

.gallery-thumb {
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--primary);
}

.detail-info h1 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.stock-status {
  color: #16a34a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sku-code {
  color: var(--text-muted);
}

.detail-price-box {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-price-box .price-left {
  display: flex;
  flex-direction: column;
}

.detail-price-box .old-val {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.detail-price-box .main-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.product-quick-box {
  background: var(--primary-light);
  border: 2px solid rgba(21, 128, 61, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.product-quick-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.product-quick-box p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Tabs */
.product-tabs-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.tab-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.tab-pane {
  display: none;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-main);
}

.tab-pane.active {
  display: block;
}

/* Legal & Policy Pages (GDPR, Google Ads Compliant) */
.legal-page-container {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-hover);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-content p, .legal-content li {
  font-size: 0.9375rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.legal-badge-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.legal-badge-box p {
  margin: 0;
  font-weight: 600;
  color: var(--primary-hover);
}

/* Thank you page */
.thank-you-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 650px;
  margin: 2rem auto 4rem;
  box-shadow: var(--shadow-md);
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you-box h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-hover);
  margin-bottom: 0.75rem;
}

.order-number-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-hover);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid #fdba74;
  margin-bottom: 1.5rem;
}

.thank-you-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

/* Footer (MasterZoo WordPress Rich Footer) */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  margin-top: auto;
  border-top: 4px solid var(--primary);
}

.footer-top {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #cbd5e1;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 0.85rem;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-payments-box {
  margin-top: 1.25rem;
}

.payment-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.payment-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-bottom {
  background: #090d16;
  padding: 1.25rem 0;
  font-size: 0.8125rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* Cookie Banner (Google Ads & GDPR compliant) */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: none;
  animation: slideUp 0.35s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-content h4 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.cookie-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: #0f172a;
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  border-left: 4px solid var(--primary);
}

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .main-header .container {
    flex-wrap: wrap;
  }
  
  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .nav-bar {
    display: none;
  }
  
  .nav-bar.active {
    display: block;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-item > a {
    width: 100%;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-banner-main {
    padding: 2rem 1.5rem;
  }
  
  .hero-banner-main::after {
    opacity: 0.3;
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
