/* ============================================================
   ARDENIXA — Premium Smart Garden Marketplace
   Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --white: #FFFFFF;
  --forest: #2F855A;
  --forest-dark: #1e6b47;
  --forest-light: #38a169;
  --olive: #84CC16;
  --olive-dark: #65a30d;
  --slate: #334155;
  --slate-light: #475569;
  --slate-lighter: #64748b;
  --sand: #EADBC8;
  --sand-light: #f5efe6;
  --gray-light: #F8FAFC;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --text-main: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 12px rgba(0,0,0,.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-main: 'Inter', sans-serif;
  --font-display: 'DM Sans', sans-serif;
  --transition: .22s cubic-bezier(.4,0,.2,1);
  /* alias for backward compat */
  --green-forest: #2F855A;

  /* auto-aliases */
  --deep-blue: #1e3a5f;
  --emerald: #059669;
  --light-gray: #f1f5f9;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Container ---- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 38px; height: 38px; background: var(--forest); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--slate); letter-spacing: -.5px; }
.logo-text span { color: var(--forest); }
.header-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.header-nav a { font-size: .9rem; font-weight: 500; color: var(--slate-light); padding: 8px 14px; border-radius: var(--radius-sm); transition: color var(--transition), background var(--transition); white-space: nowrap; }
.header-nav a:hover, .header-nav a.active { color: var(--forest); background: rgba(47,133,90,.07); }
.header-nav .nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: -8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 8px; min-width: 220px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition); z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .875rem; color: var(--slate); transition: background var(--transition), color var(--transition); }
.nav-dropdown-menu a:hover { background: var(--gray-light); color: var(--forest); }
.nav-dropdown-menu a svg { width: 16px; height: 16px; color: var(--forest); flex-shrink: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-header-search { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--gray-light); display: flex; align-items: center; justify-content: center; color: var(--slate-light); transition: all var(--transition); }
.btn-header-search:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.btn-compare { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--slate-light); padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: transparent; transition: all var(--transition); }
.btn-compare:hover { color: var(--forest); border-color: var(--forest); background: rgba(47,133,90,.05); }
.btn-compare svg { width: 16px; height: 16px; }
.burger-btn { display: none; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--gray-light); flex-direction: column; align-items: center; justify-content: center; gap: 4.5px; }
.burger-btn span { display: block; width: 18px; height: 2px; background: var(--slate); border-radius: 2px; transition: all var(--transition); }
.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 16px 24px 20px; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: var(--slate-light); transition: all var(--transition); }
.mobile-nav a:hover { background: var(--gray-light); color: var(--forest); }
.mobile-nav.open { display: flex; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar { background: var(--gray-light); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-secondary); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb-sep { color: var(--gray-300); }
.breadcrumb-current { color: var(--slate); font-weight: 500; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; font-weight: 600; border-radius: var(--radius-sm); padding: 11px 22px; border: 2px solid transparent; transition: all var(--transition); white-space: nowrap; cursor: pointer; line-height: 1.4; letter-spacing: -.01em; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--forest); color: var(--white); border-color: var(--forest); }
.btn-primary:hover { background: var(--forest-dark); border-color: var(--forest-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(47,133,90,.35); }
.btn-olive { background: var(--olive); color: var(--white); border-color: var(--olive); }
.btn-olive:hover { background: var(--olive-dark); border-color: var(--olive-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-ghost { background: transparent; color: var(--slate-light); border-color: var(--border); }
.btn-ghost:hover { background: var(--gray-light); color: var(--slate); }
.btn-slate { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn-slate:hover { background: #1e293b; border-color: #1e293b; }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-xl { padding: 17px 38px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-block { width: 100%; }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero-home { position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: center; background: linear-gradient(135deg, #0f2d1e 0%, #1a4731 60%, #2F855A 100%); }
.hero-home-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-home-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }
.hero-home-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(15,45,30,.9) 0%, rgba(15,45,30,.55) 60%, transparent 100%); }
.hero-home-content { position: relative; z-index: 2; max-width: 660px; padding: 80px 0; }
.hero-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: 18px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; color: var(--white); line-height: 1.18; letter-spacing: -.03em; margin-bottom: 22px; }
.hero-title em { font-style: normal; color: var(--olive); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.78); line-height: 1.65; margin-bottom: 38px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-stats { display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat-value { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ---- Category Hero ---- */
.hero-category { position: relative; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; background: var(--slate); }
.hero-category-bg { position: absolute; inset: 0; }
.hero-category-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero-category-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,50,30,.92) 0%, rgba(30,50,30,.4) 60%, transparent 100%); }
.hero-category-content { position: relative; z-index: 2; padding: 48px 0; }
.hero-category-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -.02em; }
.hero-category-desc { font-size: 1rem; color: rgba(255,255,255,.75); max-width: 560px; }

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.section-bg-gray { background: var(--gray-light); }
.section-bg-sand { background: var(--sand-light); }
.section-bg-dark { background: var(--slate); color: var(--white); }
.section-bg-forest { background: var(--forest); color: var(--white); }
.section-header { margin-bottom: 52px; }
.section-header-centered { text-align: center; }
.section-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: 10px; display: block; }
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--slate); line-height: 1.22; letter-spacing: -.025em; }
.section-title-white { color: var(--white); }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); margin-top: 14px; line-height: 1.65; }
.section-subtitle-white { color: rgba(255,255,255,.7); }

/* ============================================================
   CATEGORY CARDS (Homepage)
   ============================================================ */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gray-light); border: 1px solid var(--border); aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: flex-end; transition: transform var(--transition), box-shadow var(--transition); text-decoration: none; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card-img { position: absolute; inset: 0; }
.category-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.category-card:hover .category-card-img img { transform: scale(1.06); }
.category-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,50,30,.88) 0%, rgba(30,50,30,.2) 55%, transparent 100%); }
.category-card-content { position: relative; z-index: 2; padding: 22px 18px; }
.category-card-icon { width: 40px; height: 40px; background: rgba(255,255,255,.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; backdrop-filter: blur(4px); }
.category-card-icon svg { width: 20px; height: 20px; color: var(--white); }
.category-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--white); line-height: 1.3; margin-bottom: 5px; }
.category-card-count { font-size: .78rem; color: rgba(255,255,255,.6); }
.category-card-lg { grid-column: span 2; aspect-ratio: auto; min-height: 320px; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.products-grid-4 { grid-template-columns: repeat(4, 1fr); }
.products-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-300); }
.product-card-image { position: relative; background: var(--gray-light); aspect-ratio: 4/3; overflow: hidden; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-card-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(8px); transition: all var(--transition); }
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-card-action-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.92); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--slate-light); transition: all var(--transition); backdrop-filter: blur(4px); }
.product-card-action-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.product-card-action-btn svg { width: 15px; height: 15px; }
.product-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card-brand { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--forest); margin-bottom: 6px; }
.product-card-name { font-size: .95rem; font-weight: 600; color: var(--slate); line-height: 1.4; margin-bottom: 8px; }
.product-card-name a { color: inherit; }
.product-card-name a:hover { color: var(--forest); }
.product-card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.spec-tag { font-size: .72rem; background: var(--gray-light); color: var(--slate-light); padding: 3px 9px; border-radius: 20px; border: 1px solid var(--border); font-weight: 500; }
.product-card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price-amount { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--slate); }
.product-price-currency { font-size: .85rem; font-weight: 500; }
.product-rating { display: flex; align-items: center; gap: 5px; }
.stars { display: flex; gap: 2px; }
.star { width: 13px; height: 13px; color: #f59e0b; }
.star-empty { color: var(--gray-300); }
.rating-count { font-size: .75rem; color: var(--text-muted); }

/* ============================================================
   FEATURES / INFO SECTIONS
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: all var(--transition); }
.feature-card:hover { box-shadow: var(--shadow); border-color: var(--gray-300); transform: translateY(-2px); }
.feature-icon { width: 52px; height: 52px; background: rgba(47,133,90,.1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { width: 26px; height: 26px; color: var(--forest); }
.feature-title { font-size: 1.05rem; font-weight: 600; color: var(--slate); margin-bottom: 8px; }
.feature-desc { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   SPEC TABLE
   ============================================================ */
.spec-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th { background: var(--gray-light); color: var(--slate); font-weight: 600; padding: 13px 18px; text-align: left; border-bottom: 2px solid var(--border); white-space: nowrap; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.spec-table td { padding: 12px 18px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); vertical-align: middle; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: var(--gray-light); }
.spec-table td:first-child { font-weight: 600; color: var(--slate); width: 220px; }
.spec-check { color: var(--forest); font-weight: 700; }
.spec-cross { color: #ef4444; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.compare-table th { background: var(--forest); color: var(--white); padding: 16px 20px; font-weight: 600; font-size: .88rem; border-right: 2px solid rgba(255,255,255,.15); }
.compare-table th:first-child { background: var(--slate); }
.compare-table td { padding: 13px 20px; border-bottom: 1px solid var(--border); font-size: .88rem; }
.compare-table tr:hover td { background: rgba(47,133,90,.04); }
.compare-table td:first-child { font-weight: 600; color: var(--slate); background: var(--gray-light); }
.compare-table tr:last-child td { border-bottom: none; }

/* ============================================================
   FILTERS PANEL
   ============================================================ */
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.filters-title { font-size: 1rem; font-weight: 700; color: var(--slate); margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
.filters-reset { font-size: .8rem; color: var(--forest); cursor: pointer; font-weight: 500; }
.filters-reset:hover { text-decoration: underline; }
.filter-group { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border-light); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group-title { font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; }
.filter-option input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--forest); cursor: pointer; }
.filter-option label { font-size: .875rem; color: var(--text-secondary); cursor: pointer; flex: 1; }
.filter-option:hover label { color: var(--forest); }
.filter-count { font-size: .75rem; color: var(--text-muted); margin-left: auto; }
.filter-range { display: flex; flex-direction: column; gap: 10px; }
.filter-range input[type="range"] { width: 100%; accent-color: var(--forest); }
.filter-range-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-muted); }
.filter-apply { width: 100%; margin-top: 20px; }

/* ============================================================
   CATALOG TOOLBAR
   ============================================================ */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.catalog-count { font-size: .9rem; color: var(--text-secondary); }
.catalog-count strong { color: var(--slate); }
.catalog-sort { display: flex; align-items: center; gap: 10px; }
.sort-select { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .875rem; color: var(--slate); background: var(--white); cursor: pointer; }
.sort-select:focus { outline: none; border-color: var(--forest); }
.view-toggle { display: flex; gap: 4px; }
.view-btn { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--gray-light); display: flex; align-items: center; justify-content: center; color: var(--slate-lighter); transition: all var(--transition); }
.view-btn.active, .view-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.view-btn svg { width: 15px; height: 15px; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-gallery { position: sticky; top: 90px; }
.product-main-img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--gray-light); aspect-ratio: 1; }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.product-thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--border); cursor: pointer; transition: border-color var(--transition); flex-shrink: 0; background: var(--gray-light); }
.product-thumb.active, .product-thumb:hover { border-color: var(--forest); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info {}
.product-info-brand { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--forest); margin-bottom: 8px; }
.product-info-title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: var(--slate); line-height: 1.2; margin-bottom: 12px; letter-spacing: -.02em; }
.product-info-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.product-info-rating .stars { gap: 3px; }
.product-info-rating .star { width: 16px; height: 16px; }
.rating-text { font-size: .875rem; color: var(--text-secondary); }
.product-info-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.price-main { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--slate); }
.price-currency { font-size: 1.1rem; }
.price-note { font-size: .82rem; color: var(--text-muted); margin-left: 4px; }
.product-info-desc { font-size: .95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.product-key-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.key-spec { background: var(--gray-light); border-radius: var(--radius-sm); padding: 14px 16px; }
.key-spec-label { font-size: .75rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.key-spec-value { font-size: 1rem; font-weight: 700; color: var(--slate); }
.product-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.product-cta .btn { flex: 1; min-width: 160px; }
.product-guarantee { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(47,133,90,.06); border-radius: var(--radius-sm); border: 1px solid rgba(47,133,90,.2); }
.product-guarantee svg { width: 20px; height: 20px; color: var(--forest); flex-shrink: 0; }
.product-guarantee-text { font-size: .875rem; color: var(--slate); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-grid-2 { grid-template-columns: repeat(2, 1fr); }
.blog-grid-1 { grid-template-columns: 1fr; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img { overflow: hidden; aspect-ratio: 16/10; background: var(--gray-light); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img a { display: block; height: 100%; }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--forest); margin-bottom: 8px; }
.blog-card-title { font-size: 1rem; font-weight: 600; color: var(--slate); line-height: 1.45; margin-bottom: 10px; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--forest); }
.blog-card-excerpt { font-size: .875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--text-muted); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-light); }
.blog-card-date {}
.blog-card-read-time::before { content: '·'; margin-right: 6px; }

/* Blog hero post */
.blog-hero-post { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px; }
.blog-hero-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; }
.blog-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-hero-content {}
.blog-hero-cat { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--olive); margin-bottom: 14px; }
.blog-hero-title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; color: var(--slate); line-height: 1.28; margin-bottom: 14px; }
.blog-hero-title a { color: inherit; }
.blog-hero-title a:hover { color: var(--forest); }
.blog-hero-excerpt { font-size: .95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 22px; }
.blog-hero-meta { display: flex; align-items: center; gap: 14px; font-size: .82rem; color: var(--text-muted); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page {}
.article-hero { background: var(--gray-light); padding: 56px 0 44px; border-bottom: 1px solid var(--border); }
.article-meta-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.article-cat-tag { display: inline-block; background: rgba(47,133,90,.1); color: var(--forest); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 20px; }
.article-date { font-size: .82rem; color: var(--text-muted); }
.article-h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--slate); line-height: 1.22; margin-bottom: 18px; letter-spacing: -.025em; }
.article-lead { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.article-author-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.article-author-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--gray-200); flex-shrink: 0; }
.article-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-author-name { font-weight: 600; font-size: .9rem; color: var(--slate); }
.article-author-role { font-size: .8rem; color: var(--text-muted); }
.article-read-time { font-size: .82rem; color: var(--text-muted); margin-left: auto; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; }
.article-featured-img { padding: 40px 0; }
.article-featured-img img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.article-body { padding: 0 0 56px; }
.article-body h2 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--slate); margin: 44px 0 16px; line-height: 1.28; letter-spacing: -.02em; }
.article-body h3 { font-size: 1.15rem; font-weight: 600; color: var(--slate); margin: 28px 0 12px; }
.article-body p { font-size: .98rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 18px; }
.article-body strong { color: var(--slate); }
.article-body em { font-style: italic; color: var(--slate-light); }
.article-body a { color: var(--forest); text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 18px 0; }
.article-toc { background: var(--sand-light); border: 1px solid var(--sand); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 40px; }
.toc-title { font-weight: 700; font-size: .9rem; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.toc-list { counter-reset: toc; padding-left: 0; }
.toc-list li { margin-bottom: 8px; }
.toc-list a { font-size: .9rem; color: var(--forest); }
.toc-list a:hover { text-decoration: underline; }
.article-tip-box { display: flex; gap: 16px; background: rgba(132,204,22,.08); border-left: 4px solid var(--olive); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 20px; margin: 28px 0; }
.tip-icon svg { width: 22px; height: 22px; color: var(--olive-dark); flex-shrink: 0; margin-top: 2px; }
.tip-content { font-size: .9rem; color: var(--slate); line-height: 1.65; }
.article-spec-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); margin: 28px 0; }
.article-img-block { margin: 32px 0; }
.article-img-block img { border-radius: var(--radius); width: 100%; }
.article-img-block figcaption { font-size: .82rem; color: var(--text-muted); margin-top: 10px; text-align: center; font-style: italic; }
.article-types-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 24px 0; }
.type-card { background: var(--gray-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.type-card .type-icon { font-size: 1.8rem; margin-bottom: 10px; }
.type-card h3 { font-size: .95rem; font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.type-card p { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.article-pros-cons { margin: 20px 0; padding: 0; }
.article-pros-cons li { padding: 8px 12px 8px 34px; position: relative; font-size: .9rem; color: var(--text-secondary); margin-bottom: 6px; border-radius: var(--radius-sm); }
.article-pros-cons li.pro { background: rgba(47,133,90,.07); }
.article-pros-cons li.con { background: rgba(239,68,68,.06); }
.article-pros-cons li::before { position: absolute; left: 12px; font-weight: 700; }
.article-pros-cons li.pro::before { content: '✓'; color: var(--forest); }
.article-pros-cons li.con::before { content: '✗'; color: #ef4444; }
.article-list { padding-left: 0; margin: 16px 0; }
.article-list li { padding: 7px 0 7px 22px; position: relative; font-size: .92rem; color: var(--text-secondary); }
.article-list li::before { content: '→'; position: absolute; left: 0; color: var(--forest); font-weight: 700; }
.article-rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.article-rec-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.rec-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.rec-product { font-size: 1rem; font-weight: 700; color: var(--slate); }
.rec-price { font-size: .9rem; color: var(--forest); font-weight: 600; }
.rec-why { font-size: .82rem; color: var(--text-secondary); line-height: 1.55; flex: 1; }
.article-cta-block { background: linear-gradient(135deg, var(--sand-light) 0%, #efe8d8 100%); border: 1px solid var(--sand); border-radius: var(--radius-lg); padding: 36px 32px; margin: 44px 0; text-align: center; }
.article-cta-block h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--slate); margin-bottom: 10px; }
.article-cta-block p { font-size: .95rem; color: var(--text-secondary); margin-bottom: 20px; }
.article-cta-block .btn { margin: 0 6px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 24px 0; border-top: 1px solid var(--border); margin-top: 16px; }
.tag-label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.article-tag { font-size: .8rem; background: var(--gray-light); color: var(--slate-light); padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border); transition: all var(--transition); }
.article-tag:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0f1c15; color: rgba(255,255,255,.7); margin-top: 80px; }
.footer-main { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 18px; }
.footer-logo-icon { width: 38px; height: 38px; background: var(--forest); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.footer-logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.footer-brand-desc { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--forest); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: inherit; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--olive); }
.footer-col-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--olive); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { font-size: .82rem; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-legal-links a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.contact-form-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.contact-form-subtitle { font-size: .9rem; color: var(--text-secondary); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.form-control { width: 100%; padding: 11px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; color: var(--slate); background: var(--white); transition: border-color var(--transition); }
.form-control:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(47,133,90,.12); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; background: rgba(47,133,90,.1); border: 1px solid rgba(47,133,90,.3); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 16px; text-align: center; color: var(--forest); font-weight: 500; }
.form-success.visible { display: block; }
.contact-info {}
.contact-info-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--slate); margin-bottom: 20px; }
.contact-card { background: var(--gray-light); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card-icon { width: 44px; height: 44px; background: rgba(47,133,90,.12); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-icon svg { width: 20px; height: 20px; color: var(--forest); }
.contact-card-title { font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .05em; }
.contact-card-value { font-size: .9rem; color: var(--text-secondary); }
.contact-card-value a { color: var(--forest); }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 240px; background: var(--gray-200); margin-top: 24px; display: flex; align-items: center; justify-content: center; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { background: linear-gradient(135deg, #0f2d1e, #2F855A); padding: 80px 0; }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--white); margin-bottom: 18px; }
.about-hero p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 580px; line-height: 1.7; }
.about-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-text h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--slate); margin-bottom: 16px; }
.about-text p { font-size: .95rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.about-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.value-card { background: var(--gray-light); border-radius: var(--radius); padding: 18px; }
.value-card-icon { font-size: 1.6rem; margin-bottom: 8px; }
.value-card h4 { font-size: .95rem; font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.value-card p { font-size: .85rem; color: var(--text-secondary); margin: 0; line-height: 1.55; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card-img { width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; background: var(--gray-light); }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-name { font-weight: 700; color: var(--slate); margin-bottom: 4px; }
.team-card-role { font-size: .85rem; color: var(--text-muted); }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--slate); gap: 16px; transition: background var(--transition); }
.faq-question:hover { background: var(--gray-light); }
.faq-question svg { width: 18px; height: 18px; color: var(--forest); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 22px 20px; }
.faq-answer p { font-size: .92rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ============================================================
   LEGAL / POLICY PAGES
   ============================================================ */
.policy-page { padding: 64px 0; }
.policy-header { margin-bottom: 44px; padding-bottom: 28px; border-bottom: 2px solid var(--border); }
.policy-header h1 { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--slate); margin-bottom: 10px; }
.policy-header .policy-meta { font-size: .875rem; color: var(--text-muted); }
.policy-body h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--slate); margin: 36px 0 12px; }
.policy-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--slate); margin: 22px 0 10px; }
.policy-body p { font-size: .93rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }
.policy-body ul, .policy-body ol { margin-bottom: 16px; padding-left: 22px; }
.policy-body li { font-size: .93rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 6px; list-style: disc; }
.policy-body ol li { list-style: decimal; }
.policy-body strong { color: var(--slate); }
.policy-body a { color: var(--forest); text-decoration: underline; }
.policy-info-box { background: var(--gray-light); border-left: 4px solid var(--forest); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin: 24px 0; font-size: .9rem; color: var(--slate); }
.policy-table-wrap { overflow-x: auto; margin: 20px 0; }
.policy-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.policy-table th { background: var(--gray-light); color: var(--slate); font-weight: 600; padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--border); }
.policy-table td { padding: 11px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.policy-table tr:last-child td { border-bottom: none; }

/* ============================================================
   GUIDES / VODICI PAGE
   ============================================================ */
.guides-hero { background: linear-gradient(135deg, #1a3d2b, #2F855A); padding: 72px 0; color: var(--white); }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.guide-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.guide-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.guide-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--gray-light); }
.guide-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.guide-card:hover .guide-card-img img { transform: scale(1.04); }
.guide-card-body { padding: 24px; }
.guide-card-level { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.guide-level-beginner { background: rgba(132,204,22,.15); color: var(--olive-dark); }
.guide-level-intermediate { background: rgba(245,158,11,.15); color: #b45309; }
.guide-level-advanced { background: rgba(239,68,68,.1); color: #dc2626; }
.guide-card-title { font-size: 1rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; line-height: 1.4; }
.guide-card-title a { color: inherit; }
.guide-card-title a:hover { color: var(--forest); }
.guide-card-desc { font-size: .875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; }
.guide-card-footer { display: flex; align-items: center; justify-content: space-between; }
.guide-card-time { font-size: .78rem; color: var(--text-muted); }

/* ============================================================
   SITEMAP
   ============================================================ */
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.sitemap-col-title { font-size: .95rem; font-weight: 700; color: var(--slate); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--forest); }
.sitemap-links { display: flex; flex-direction: column; gap: 8px; }
.sitemap-links a { font-size: .875rem; color: var(--text-secondary); transition: color var(--transition); display: flex; align-items: center; gap: 6px; }
.sitemap-links a:hover { color: var(--forest); }
.sitemap-links a::before { content: '›'; color: var(--forest); }

/* ============================================================
   FILTER PANEL (Catalog sidebar)
   ============================================================ */
.catalog-sidebar { position: sticky; top: 90px; }
.filter-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.filter-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filter-panel-header h3 { font-size: .95rem; font-weight: 700; color: var(--slate); }
.filter-reset { font-size: .8rem; color: var(--forest); cursor: pointer; background: none; border: none; font-weight: 500; }
.filter-reset:hover { text-decoration: underline; }
.filter-check { display: flex; align-items: center; gap: 9px; padding: 6px 0; cursor: pointer; font-size: .875rem; color: var(--text-secondary); }
.filter-check input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--forest); flex-shrink: 0; }
.filter-check:hover { color: var(--forest); }
.sidebar-guide-box { background: var(--sand-light); border: 1px solid var(--sand); border-radius: var(--radius); padding: 20px; }
.sidebar-guide-box h4 { font-size: .9rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.sidebar-guide-box p { font-size: .82rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* ============================================================
   SEARCH BAR (Homepage)
   ============================================================ */
.search-bar { display: flex; background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color var(--transition), box-shadow var(--transition); }
.search-bar:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(47,133,90,.12); }
.search-bar input { flex: 1; padding: 14px 18px; border: none; outline: none; font-size: .95rem; color: var(--slate); background: transparent; }
.search-bar button { padding: 12px 22px; background: var(--forest); border: none; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.search-bar button:hover { background: var(--forest-dark); }
.search-bar button svg { width: 20px; height: 20px; }

/* ============================================================
   FORM INPUTS
   ============================================================ */
.form-input { width: 100%; padding: 11px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; color: var(--slate); background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(47,133,90,.1); }
select.form-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
textarea.form-input { min-height: 120px; resize: vertical; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; background: var(--forest); color: var(--white); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(12px); transition: all var(--transition); z-index: 500; }
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--forest-dark); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ============================================================
   CATALOG SORT SELECT
   ============================================================ */
.catalog-sort label { font-size: .875rem; color: var(--text-secondary); }
.catalog-sort select { padding: 8px 36px 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .875rem; color: var(--slate); background: var(--white); cursor: pointer; outline: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 15px; }
.catalog-sort select:focus { border-color: var(--forest); }

/* ============================================================
   HERO STAT (homepage)
   ============================================================ */
.hero-stat { text-align: left; }

/* ============================================================
   MISC COMPONENTS
   ============================================================ */
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.badge-green { background: rgba(47,133,90,.12); color: var(--forest); }
.badge-olive { background: rgba(132,204,22,.15); color: var(--olive-dark); }
.badge-sand { background: var(--sand-light); color: var(--slate-light); }
.badge-slate { background: var(--gray-100); color: var(--slate); }

.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

.text-center { text-align: center; }
.text-forest { color: var(--forest); }
.text-muted { color: var(--text-muted); }
.fw-700 { font-weight: 700; }

.info-banner { display: flex; align-items: center; gap: 14px; background: rgba(47,133,90,.07); border: 1px solid rgba(47,133,90,.2); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.info-banner svg { width: 20px; height: 20px; color: var(--forest); flex-shrink: 0; }
.info-banner p { font-size: .88rem; color: var(--slate); margin: 0; }

/* Cookie consent banner */
.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: calc(100% - 48px); max-width: 860px; background: var(--slate); color: var(--white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-lg); z-index: 9999; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-text { font-size: .875rem; line-height: 1.6; flex: 1; min-width: 240px; color: rgba(255,255,255,.85); }
.cookie-text a { color: var(--olive); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-banner.hidden { display: none; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; }
.page-btn { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white); color: var(--slate-light); font-size: .9rem; font-weight: 500; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.page-btn.active, .page-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.page-btn.prev, .page-btn.next { width: auto; padding: 0 16px; gap: 6px; }
.page-btn svg { width: 14px; height: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card-lg { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-grid > *:first-child { grid-column: span 3; }
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .btn-compare { display: none; }
  .burger-btn { display: flex; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-gallery { position: static; }
  .about-content-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-hero-post { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .article-rec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 32px 0; }
  .container { padding: 0 16px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid-3 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: span 2; }
  .product-key-specs { grid-template-columns: 1fr 1fr; }
  .article-types-grid { grid-template-columns: 1fr; }
  .hero-home-content { padding: 52px 0; }
  .hero-stats { gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .article-rec-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
}
