/* ═══════════════════════════════════════════════════════════
   THEFLUFFYPETS.PK — Main Stylesheet
   Brand: Signika + Lato | #83b735 green | #fbbc34 amber
═══════════════════════════════════════════════════════════ */

/* ── TOKENS ───────────────────────────────────────────── */
:root {
  --green:       #83b735;
  --green-dark:  #74a32f;
  --green-light: #f0f7e4;
  --amber:       #fbbc34;
  --amber-dark:  #e5a820;
  --amber-light: #fff8e6;
  --title:       #242424;
  --body:        #555555;
  --muted:       #777777;
  --border:      #e8e8e8;
  --bg:          #f9f9f9;
  --white:       #ffffff;
  --sale:        #e84040;
  --font-h:      'Signika', sans-serif;
  --font-b:      'Lato', sans-serif;
  --r:           8px;
  --r-lg:        12px;
  --sh-sm:       0 1px 4px rgba(0,0,0,.07);
  --sh-md:       0 4px 16px rgba(0,0,0,.10);
  --sh-lg:       0 8px 32px rgba(0,0,0,.13);
  --container:   1200px;
  --hdr-h:       120px;
}

/* ── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-b); color: var(--body); background: var(--white); font-size: 15px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── CONTAINER ────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ── HEADER ───────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 400; background: var(--white); box-shadow: var(--sh-sm); }

.header-topbar { background: var(--green); padding: 6px 0; font-size: 12px; color: rgba(255,255,255,.9); }
.header-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.header-topbar a { color: #fff; text-decoration: underline; }
.header-topbar strong { color: #fff; }

.header-main { padding: 10px 0; border-bottom: 1px solid var(--border); }
.header-main-inner { display: flex; align-items: center; gap: 20px; }

.site-logo img { height: 50px; width: auto; object-fit: contain; }

.header-search { flex: 1; max-width: 500px; position: relative; }
.header-search input {
  width: 100%; padding: 10px 44px 10px 16px;
  border: 2px solid var(--border); border-radius: 50px;
  font: 14px var(--font-b); outline: none; transition: border-color .2s;
  background: var(--bg);
}
.header-search input:focus { border-color: var(--green); background: var(--white); }
.header-search button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.header-search button:hover { background: var(--green-dark); }

.search-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r);
  box-shadow: var(--sh-md); z-index: 500; max-height: 380px; overflow-y: auto;
}
.search-dropdown.open { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid var(--border); transition: background .15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg); }
.search-result-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--bg); }
.search-result-item .sr-info { flex: 1; min-width: 0; }
.search-result-item .sr-name { font: 600 13px var(--font-h); color: var(--title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-item .sr-cat { font-size: 11px; color: var(--muted); }
.search-result-item .sr-price { font: 700 13px var(--font-h); color: var(--green); white-space: nowrap; }
.search-no-results { padding: 20px; text-align: center; color: var(--muted); font-size: 14px; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.btn-wa-header {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px; background: #25d366; color: #fff;
  border-radius: 50px; font: 700 13px var(--font-b);
  transition: background .2s; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37,211,102,.25);
}
.btn-wa-header:hover { background: #1fb855; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; background: none; border: none;
  padding: 6px; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--title); border-radius: 2px; transition: all .25s; }

/* ── NAVIGATION ───────────────────────────────────────── */
.site-nav { border-top: 1px solid var(--border); background: var(--white); position: relative; }
.nav-inner { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }

.nav-item {
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 13px 14px; font: 600 13px var(--font-h); color: var(--title);
  border-bottom: 2px solid transparent; transition: all .15s;
  position: relative;
}
.nav-item:hover, .nav-item.active { color: var(--green); border-bottom-color: var(--green); }
.nav-item .arrow { transition: transform .2s; color: var(--muted); }

.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r);
  box-shadow: var(--sh-md); z-index: 300; padding: 8px 0;
}
.nav-inner > .nav-item:hover + .nav-dropdown,
.nav-dropdown:hover { display: block; }
.nav-dropdown a {
  display: block; padding: 9px 18px; font-size: 13px; color: var(--body);
  transition: all .15s;
}
.nav-dropdown a:hover { color: var(--green); background: var(--green-light); padding-left: 22px; }

/* ── BREADCRUMB ───────────────────────────────────────── */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ── SECTION UTILITIES ────────────────────────────────── */
.section { padding: 52px 0; }
.section-alt { background: var(--bg); }
.section-sm { padding: 36px 0; }

.section-header { margin-bottom: 32px; }
.section-header h2 { font: 700 28px var(--font-h); color: var(--title); }
.section-header p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.view-all { color: var(--green); font: 600 13px var(--font-b); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.view-all:hover { text-decoration: underline; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--green); color: #fff;
  border-radius: 50px; font: 700 14px var(--font-h); border: none;
  transition: all .2s; box-shadow: 0 3px 12px rgba(131,183,53,.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 5px 16px rgba(131,183,53,.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border: 2px solid var(--green); color: var(--green);
  border-radius: 50px; font: 700 14px var(--font-h); background: transparent;
  transition: all .2s;
}
.btn-outline:hover { background: var(--green); color: #fff; }

.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; background: #25d366; color: #fff;
  border: none; border-radius: 50px; font: 700 15px var(--font-b);
  transition: all .2s; box-shadow: 0 3px 12px rgba(37,211,102,.3);
  width: 100%;
}
.btn-wa:hover { background: #1fb855; transform: translateY(-1px); box-shadow: 0 5px 18px rgba(37,211,102,.4); }
.btn-wa-sm {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 10px; background: #25d366; color: #fff;
  border: none; border-radius: 6px; font: 700 13px var(--font-b);
  transition: background .2s;
}
.btn-wa-sm:hover { background: #1fb855; }
.btn-wa-sm.oos { background: #ccc; cursor: not-allowed; pointer-events: none; }

/* ── BADGES ───────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  font: 700 10px var(--font-b); text-transform: uppercase; letter-spacing: .5px;
}
.badge-sale { background: var(--sale); color: #fff; }
.badge-new  { background: var(--amber); color: #fff; }
.badge-oos  { background: #999; color: #fff; }

/* ── PRODUCT CARD ─────────────────────────────────────── */
.prod-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--green); box-shadow: var(--sh-md); transform: translateY(-2px); }
.prod-card .card-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.prod-card .card-img {
  aspect-ratio: 1; overflow: hidden; background: var(--bg);
  border-bottom: 1px solid var(--border); position: relative;
}
.prod-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.prod-card:hover .card-img img { transform: scale(1.04); }
.prod-card .card-img .img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--border); background: var(--bg);
}
.card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: 11px; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 4px; }
.card-name {
  font: 600 14px var(--font-h); color: var(--title); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px; flex: 1;
}
.card-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.card-price { font: 700 16px var(--font-h); color: var(--green); }
.card-price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.card-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.card-rating .stars { color: #EABE12; font-size: 11px; }

/* ── PRODUCT GRID ─────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── CATEGORY GRID ────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 12px; text-align: center;
  transition: all .2s; display: block;
}
.cat-card:hover { border-color: var(--green); box-shadow: var(--sh-md); transform: translateY(-2px); }
.cat-icon {
  width: 56px; height: 56px; background: var(--bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 10px; transition: background .2s;
}
.cat-card:hover .cat-icon { background: var(--green-light); }
.cat-card h3 { font: 600 12px var(--font-h); color: var(--title); line-height: 1.3; }
.cat-card .cat-count { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a2a0a 0%, #2d4a12 45%, #1e3d0a 100%);
  padding: 56px 0; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2383b735' fill-opacity='.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { display: flex; align-items: center; gap: 48px; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(251,188,52,.12); border: 1px solid rgba(251,188,52,.3);
  color: var(--amber); padding: 5px 14px; border-radius: 50px;
  font: 700 11px var(--font-b); text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 18px;
}
.hero h1 { font: 700 48px/1.1 var(--font-h); color: #fff; margin-bottom: 16px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-sub { color: rgba(255,255,255,.75); font-size: 17px; max-width: 460px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border: 2px solid rgba(255,255,255,.4); color: #fff;
  border-radius: 50px; font: 700 14px var(--font-h); transition: all .2s;
}
.btn-hero-outline:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }
.hero-stats { display: flex; gap: 32px; }
.hero-stat strong { display: block; font: 700 28px var(--font-h); color: var(--amber); line-height: 1.1; }
.hero-stat span { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .5px; }
.hero-img {
  flex-shrink: 0; width: 380px; aspect-ratio: 4/3;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── TRUST BAR ────────────────────────────────────────── */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar-inner { display: flex; gap: 0; }
.trust-item {
  flex: 1; display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 28px; flex-shrink: 0; }
.trust-text strong { display: block; font: 700 13px var(--font-h); color: var(--title); }
.trust-text span { font-size: 12px; color: var(--muted); }

/* ── PROMO BANNERS ────────────────────────────────────── */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo-card {
  border-radius: var(--r-lg); padding: 32px 36px;
  position: relative; overflow: hidden; min-height: 160px;
  display: flex; flex-direction: column; justify-content: center;
}
.promo-green { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.promo-amber { background: linear-gradient(135deg, #f5a61a 0%, var(--amber) 100%); }
.promo-card .eyebrow { font: 700 11px var(--font-b); text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.8); margin-bottom: 6px; }
.promo-card h3 { font: 700 22px var(--font-h); color: #fff; margin-bottom: 8px; }
.promo-card p { font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 18px; max-width: 320px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 22px; background: #fff; border-radius: 50px;
  font: 700 13px var(--font-b); transition: all .15s; width: fit-content;
}
.promo-green .btn-white { color: var(--green-dark); }
.promo-amber .btn-white { color: #c47d00; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.promo-bg-emoji { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); font-size: 72px; opacity: .12; pointer-events: none; user-select: none; }

/* ── REVIEW CARDS ─────────────────────────────────────── */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
}
.review-stars { color: #EABE12; font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--body); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-light); display: flex; align-items: center; justify-content: center;
  font: 700 15px var(--font-h); color: var(--green); flex-shrink: 0;
}
.review-author-name { font: 600 13px var(--font-h); color: var(--title); display: block; }
.review-author-meta { font-size: 11px; color: var(--muted); }

/* ── BLOG CARDS ───────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1.5px solid var(--border); display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.blog-card:hover { border-color: var(--green); box-shadow: var(--sh-md); transform: translateY(-2px); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; background: var(--green-light); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.blog-body { padding: 18px; flex: 1; }
.blog-date { font-size: 11px; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.blog-title { font: 600 15px var(--font-h); color: var(--title); line-height: 1.4; margin-bottom: 8px; }
.blog-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-read-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font: 600 12px var(--font-b); color: var(--green); }
.blog-read-more:hover { text-decoration: underline; }

/* ── CATEGORY PAGE ────────────────────────────────────── */
.cat-page-layout { display: flex; gap: 0; align-items: flex-start; }
.sidebar {
  width: 248px; flex-shrink: 0; position: sticky; top: var(--hdr-h);
  border-right: 1px solid var(--border); padding: 24px; background: var(--white);
  max-height: calc(100vh - var(--hdr-h)); overflow-y: auto;
}
.sidebar-block { margin-bottom: 28px; }
.sidebar-block h3 {
  font: 700 12px var(--font-h); color: var(--title);
  text-transform: uppercase; letter-spacing: .6px;
  padding-bottom: 10px; border-bottom: 2px solid var(--green); margin-bottom: 14px;
}
.filter-list li { margin-bottom: 4px; }
.filter-item label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--body); cursor: pointer;
  padding: 4px 6px; border-radius: 4px; transition: all .15s;
}
.filter-item label:hover { color: var(--green); background: var(--green-light); }
.filter-item input[type=checkbox] { accent-color: var(--green); width: 14px; height: 14px; flex-shrink: 0; }
.filter-count { font-size: 11px; color: var(--muted); margin-left: auto; }

.subcategory-list li { margin-bottom: 3px; }
.subcategory-list a {
  display: flex; align-items: center; gap: 6px; padding: 7px 8px;
  font-size: 13px; color: var(--body); border-radius: 5px; transition: all .15s;
}
.subcategory-list a:hover, .subcategory-list a.active { background: var(--green-light); color: var(--green); }
.subcategory-count { margin-left: auto; font-size: 11px; color: var(--muted); }

.price-inputs { display: flex; gap: 8px; margin-bottom: 10px; }
.price-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 6px;
  padding: 7px 10px; font: 13px var(--font-b); outline: none; width: 100%;
  transition: border-color .2s;
}
.price-input:focus { border-color: var(--green); }
.btn-apply-filter {
  width: 100%; padding: 9px; background: var(--green); color: #fff;
  border: none; border-radius: 6px; font: 600 13px var(--font-b);
  transition: background .2s;
}
.btn-apply-filter:hover { background: var(--green-dark); }
.btn-clear-filters {
  width: 100%; margin-top: 8px; padding: 8px; background: transparent;
  color: var(--muted); border: 1.5px solid var(--border);
  border-radius: 6px; font: 600 12px var(--font-b); transition: all .15s;
}
.btn-clear-filters:hover { border-color: var(--sale); color: var(--sale); }

.cat-main { flex: 1; padding: 24px; min-width: 0; }
.cat-toolbar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.cat-title-info h1 { font: 700 20px var(--font-h); color: var(--title); }
.cat-title-info p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.toolbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sort-select {
  padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 6px;
  font: 13px var(--font-b); outline: none; background: var(--white);
  cursor: pointer; transition: border-color .2s; color: var(--body);
}
.sort-select:focus { border-color: var(--green); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px; border: 1.5px solid var(--border);
  border-radius: 5px; background: var(--white); display: flex; align-items: center;
  justify-content: center; transition: all .15s; color: var(--muted);
}
.view-btn.active { border-color: var(--green); color: var(--green); background: var(--green-light); }
.view-btn svg { width: 16px; height: 16px; }

#cat-products.list-view .product-grid-3 { grid-template-columns: 1fr; }
#cat-products.list-view .prod-card { flex-direction: row; }
#cat-products.list-view .card-img { width: 140px; flex-shrink: 0; aspect-ratio: auto; height: 140px; border-bottom: none; border-right: 1px solid var(--border); }

.no-results { text-align: center; padding: 60px 20px; color: var(--muted); }
.no-results h3 { font: 600 18px var(--font-h); color: var(--title); margin-bottom: 8px; }

/* ── PAGINATION ───────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-link {
  min-width: 38px; height: 38px; border: 1.5px solid var(--border);
  border-radius: 6px; background: var(--white); font: 600 14px var(--font-b);
  display: flex; align-items: center; justify-content: center; padding: 0 10px;
  transition: all .15s; color: var(--body);
}
.page-link:hover { border-color: var(--green); color: var(--green); }
.page-link.active { background: var(--green); color: #fff; border-color: var(--green); }
.page-link.disabled { opacity: .4; pointer-events: none; }

/* ── PRODUCT PAGE ─────────────────────────────────────── */
.prod-page-layout { display: flex; gap: 48px; padding: 36px 0; align-items: flex-start; }
.prod-gallery { flex-shrink: 0; width: 440px; position: sticky; top: 130px; }
.gallery-main {
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  border: 1.5px solid var(--border); background: var(--bg);
  position: relative; margin-bottom: 10px; cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-main:hover img { transform: scale(1.04); }
.gallery-badge { position: absolute; top: 14px; left: 14px; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 72px; border-radius: 6px; border: 2px solid var(--border);
  overflow: hidden; cursor: pointer; background: var(--bg); transition: border-color .15s;
  flex-shrink: 0;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.prod-info { flex: 1; min-width: 0; }
.prod-page-cat { font-size: 12px; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 8px; }
.prod-page-title { font: 700 26px/1.2 var(--font-h); color: var(--title); margin-bottom: 10px; }
.prod-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.prod-rating .stars { color: #EABE12; font-size: 15px; }
.prod-rating .rating-num { font: 600 14px var(--font-b); color: var(--title); }

.prod-price-block {
  padding: 16px 18px; background: var(--green-light);
  border-radius: var(--r); border: 1.5px solid rgba(131,183,53,.2);
  margin-bottom: 20px;
}
.prod-price-main { display: flex; align-items: baseline; gap: 10px; }
.prod-price-current { font: 700 32px var(--font-h); color: var(--green); }
.prod-price-old { font-size: 18px; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.prod-price-range { font-size: 13px; color: var(--muted); margin-top: 4px; }

.variation-block { margin-bottom: 18px; }
.variation-label { font: 600 13px var(--font-h); color: var(--title); margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.variation-label .sel-val { color: var(--green); font-weight: 700; }
.variation-options { display: flex; flex-wrap: wrap; gap: 8px; }
.var-opt {
  padding: 7px 14px; border: 2px solid var(--border);
  border-radius: 6px; font: 600 13px var(--font-b); background: var(--white);
  color: var(--title); transition: all .15s;
}
.var-opt:hover { border-color: var(--green); color: var(--green); }
.var-opt.selected { border-color: var(--green); background: var(--green-light); color: var(--green); }
.var-opt.oos { opacity: .35; text-decoration: line-through; cursor: not-allowed; pointer-events: none; }
.var-opt-oos-label { font-size: 10px; display: block; }

.wa-order-wrap { margin-bottom: 14px; }
.wa-note { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 18px; }

.trust-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.trust-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 50px;
  font-size: 12px; color: var(--body);
}
.trust-chip .chip-icon { color: var(--green); }

.prod-tabs { border-bottom: 2px solid var(--border); display: flex; gap: 0; margin-bottom: 22px; }
.prod-tab {
  padding: 10px 20px; font: 600 14px var(--font-h); color: var(--muted);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all .15s; background: none; border-top: none; border-left: none; border-right: none;
}
.prod-tab.active { color: var(--green); border-bottom-color: var(--green); }
.prod-tab:hover:not(.active) { color: var(--title); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.prod-desc { font-size: 14px; line-height: 1.85; color: var(--body); }
.prod-desc h2, .prod-desc h3 { font: 600 16px var(--font-h); color: var(--title); margin: 18px 0 8px; }
.prod-desc h2:first-child, .prod-desc h3:first-child { margin-top: 0; }
.prod-desc ul, .prod-desc ol { padding-left: 22px; margin: 10px 0; }
.prod-desc li { margin-bottom: 5px; }
.prod-desc p { margin-bottom: 12px; }
.prod-desc p:last-child { margin-bottom: 0; }

.prod-attrs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.prod-attrs-table tr { border-bottom: 1px solid var(--border); }
.prod-attrs-table th { padding: 10px 14px; text-align: left; color: var(--title); font-weight: 600; background: var(--bg); width: 35%; }
.prod-attrs-table td { padding: 10px 14px; color: var(--body); }

.reviews-summary { display: flex; align-items: center; gap: 32px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.rating-big .num { font: 700 48px var(--font-h); color: var(--title); line-height: 1; }
.rating-big .stars { font-size: 20px; color: #EABE12; letter-spacing: 3px; }
.rating-big .count { font-size: 12px; color: var(--muted); margin-top: 4px; }
.rating-bars { flex: 1; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; color: var(--muted); min-width: 0; }
.bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: #EABE12; border-radius: 3px; transition: width .3s; }
.rating-bar-row .pct { width: 30px; text-align: right; flex-shrink: 0; }

.reviews-list { display: flex; flex-direction: column; gap: 14px; }
.review-entry { padding: 16px; border: 1.5px solid var(--border); border-radius: var(--r); }
.review-entry-hdr { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-entry-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font: 700 14px var(--font-h); color: var(--green); flex-shrink: 0; }
.review-entry-name { font: 600 13px var(--font-h); color: var(--title); }
.review-entry-date { font-size: 11px; color: var(--muted); }
.review-entry-stars { color: #EABE12; font-size: 13px; margin-left: auto; }
.review-entry p { font-size: 14px; line-height: 1.6; color: var(--body); }
.no-reviews { padding: 24px 0; color: var(--muted); font-size: 14px; }

/* ── RELATED PRODUCTS ─────────────────────────────────── */
.related-section { padding: 40px 0; border-top: 1px solid var(--border); }
.related-section h2 { font: 700 22px var(--font-h); color: var(--title); margin-bottom: 20px; }

/* ── PAGE CONTENT ─────────────────────────────────────── */
.page-content { padding: 48px 0; }
.page-content .entry-content { max-width: 860px; font-size: 15px; line-height: 1.85; color: var(--body); }
.page-content h1 { font: 700 32px var(--font-h); color: var(--title); margin-bottom: 20px; }
.page-content h2 { font: 700 22px var(--font-h); color: var(--title); margin: 28px 0 12px; }
.page-content h3 { font: 600 18px var(--font-h); color: var(--title); margin: 20px 0 10px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--green); text-decoration: underline; }

/* ── BLOG POST ────────────────────────────────────────── */
.post-hero { padding: 48px 0 36px; border-bottom: 1px solid var(--border); }
.post-cat-tag { display: inline-block; padding: 4px 12px; background: var(--green-light); color: var(--green); border-radius: 50px; font: 700 11px var(--font-b); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.post-hero h1 { font: 700 36px/1.2 var(--font-h); color: var(--title); max-width: 760px; margin-bottom: 14px; }
.post-meta { font-size: 13px; color: var(--muted); }
.post-content { padding: 36px 0; max-width: 760px; }
.post-content p { margin-bottom: 18px; font-size: 16px; line-height: 1.85; }
.post-content h2 { font: 700 24px var(--font-h); color: var(--title); margin: 32px 0 14px; }
.post-content h3 { font: 600 20px var(--font-h); color: var(--title); margin: 24px 0 10px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 18px; }
.post-content li { margin-bottom: 8px; font-size: 16px; line-height: 1.7; }
.post-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 36px; }

/* ── SEARCH PAGE ──────────────────────────────────────── */
.search-page-header { padding: 36px 0 24px; border-bottom: 1px solid var(--border); }
.search-page-header h1 { font: 700 26px var(--font-h); color: var(--title); }
.search-bar-large { display: flex; margin-top: 16px; max-width: 600px; border: 2px solid var(--border); border-radius: 50px; overflow: hidden; }
.search-bar-large input { flex: 1; border: none; outline: none; padding: 12px 20px; font: 15px var(--font-b); }
.search-bar-large button { padding: 12px 24px; background: var(--green); color: #fff; border: none; font: 600 14px var(--font-b); }

/* ── WA FLOAT ─────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: all .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); }

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer { background: var(--title); color: rgba(255,255,255,.75); margin-top: auto; }
.footer-main { padding: 52px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 270px; margin-top: 14px; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s; }
.footer-social a:hover { background: var(--green); }
.footer-col h4 { font: 700 13px var(--font-h); color: #fff; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: 13px; transition: color .15s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 8px; }

/* ── UTILITY ──────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 36px; }
  .hero-img { width: 300px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .prod-page-layout { flex-direction: column; }
  .prod-gallery { width: 100%; position: static; }
  .gallery-main { max-width: 480px; margin: 0 auto 10px; }
}

@media (max-width: 768px) {
  :root { --hdr-h: 100px; }
  .header-topbar .topbar-right { display: none; }
  .header-main-inner { flex-wrap: wrap; gap: 10px; }
  .header-search { order: 3; max-width: 100%; flex: 0 0 100%; }
  .btn-wa-header span { display: none; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-inner { flex-direction: column; align-items: flex-start; }
  .nav-item { padding: 11px 20px; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-item:hover { border-bottom-color: var(--border); }
  .nav-dropdown { position: static; box-shadow: none; border: none; border-top: 1px solid var(--border); display: none; padding: 8px 0 8px 20px; }
  .hero { padding: 40px 0; }
  .hero-inner { flex-direction: column; gap: 28px; }
  .hero h1 { font-size: 30px; }
  .hero-img { width: 100%; max-width: 360px; margin: 0 auto; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 22px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .promo-grid { grid-template-columns: 1fr; }
  .review-grid, .blog-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-wrap: wrap; }
  .trust-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .cat-page-layout { flex-direction: column; }
  .sidebar { width: 100%; position: static; max-height: none; border-right: none; border-bottom: 1px solid var(--border); padding: 16px 20px; display: none; }
  .sidebar.open { display: block; }
  .sidebar-toggle { display: flex; }
  .prod-page-layout { gap: 24px; padding: 20px 0; }
  .gallery-thumbs .gallery-thumb { width: 56px; height: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { margin-bottom: 8px; }
  .related-section .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 26px; }
  .hero-ctas { flex-direction: column; }
  .product-grid, .product-grid-3 { grid-template-columns: 1fr; }
  .trust-item { flex: 0 0 100%; border-right: none; }
  .reviews-summary { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
</style>
