/* ==========================================================================
   GasRemBG — Лицензиран сервиз за ремонт на газови печки по домовете
   Professional Front-end Architecture | Light Blue Theme | WP WooCommerce Aesthetic
   ========================================================================== */

:root {
  /* Brand Palette - Light Blue / Azure / Navy */
  --primary: #0284c7;             /* Sky 600 */
  --primary-hover: #0369a1;       /* Sky 700 */
  --primary-dark: #075985;        /* Sky 800 */
  --primary-light: #38bdf8;       /* Sky 400 */
  --primary-subtle: #e0f2fe;      /* Sky 100 */
  --primary-soft: #f0f9ff;        /* Sky 50 */
  --accent-cyan: #06b6d4;         /* Cyan 500 */
  --accent-amber: #f59e0b;        /* Star rating & urgent warnings */
  --accent-red: #ef4444;          /* Urgent gas leak / discount badge */
  --accent-green: #10b981;        /* In stock / success */

  /* Neutral & Surface Tones */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --text-main: #0f172a;           /* Deep slate/navy for contrast */
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #bae6fd;        /* Light blue soft border */
  --border-light: #e2e8f0;

  /* Typography & Sizing */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(2, 132, 199, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(2, 132, 199, 0.12), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(2, 132, 199, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.08);

  /* Radii & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease-in-out;
  --transition-base: 0.25s ease-in-out;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Top Announcement & Contact Bar
   ========================================================================== */
.topbar {
  background: #0369a1;
  color: #f0f9ff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-links a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topbar-links a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* ==========================================================================
   Header & WooCommerce Style Navigation
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.brand-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-title span {
  color: var(--primary);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn-wrap {
  position: relative;
}

.cart-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.cart-count {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.btn-emergency-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-emergency-call:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   Buttons (WordPress WooCommerce Style)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
  background: #0369a1;
  color: #ffffff;
  border-color: #0369a1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
}

.btn-danger {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
}

.btn-danger:hover {
  background: #dc2626;
  color: #ffffff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 60%, var(--bg-page) 100%);
  padding: 48px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(120deg, #0284c7 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.hero-trust-item {
  background: #ffffff;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust-icon {
  width: 34px;
  height: 34px;
  background: var(--primary-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-trust-text strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  line-height: 1.2;
}

.hero-trust-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Quick Booking Card inside Hero */
.hero-booking-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  border: 1px solid #bae6fd;
  position: relative;
}

.hero-booking-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.booking-header {
  margin-bottom: 18px;
}

.booking-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.booking-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-help {
  font-size: 0.76rem;
  color: var(--text-light);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-policy-note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.hero-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge-overlay .rating {
  font-size: 1.25rem;
  font-weight: 800;
  color: #facc15;
}

/* ==========================================================================
   Gas Leak Emergency Alert Banner
   ========================================================================== */
.alert-gas-leak {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1.5px solid #fca5a5;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.alert-leak-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.alert-leak-icon {
  width: 48px;
  height: 48px;
  background: #fee2e2;
  border: 2px solid #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.alert-leak-text h4 {
  color: #991b1b;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.alert-leak-text p {
  color: #7f1d1d;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ==========================================================================
   Section Headers & Common Grids
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-alt {
  background-color: var(--primary-soft);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-head-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Service Cards (Ремонтни дейности с цени в Евро)
   ========================================================================== */
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.service-media {
  position: relative;
  height: 200px;
  background: #e2e8f0;
}

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

.service-card:hover .service-media img {
  transform: scale(1.04);
}

.service-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-features {
  margin-bottom: 20px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  flex-shrink: 0;
}

.service-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-price-wrap {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
}

.service-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* ==========================================================================
   WordPress WooCommerce Store & Product Cards (Цени в Евро със скидки)
   ========================================================================== */
.shop-filter-bar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* WooCommerce Product Card */
.wc-product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
}

.wc-product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.wc-badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.wc-badge-stock {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.wc-product-media {
  position: relative;
  height: 210px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wc-product-card:hover .wc-product-media img {
  transform: scale(1.05);
}

.wc-product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.wc-product-cat {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wc-product-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
  min-height: 2.7em;
}

.wc-product-sku {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.wc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.wc-rating span {
  color: var(--text-light);
  font-size: 0.75rem;
  margin-left: 2px;
}

.wc-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}

.wc-price-old {
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.wc-price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.wc-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ==========================================================================
   Slide-over WooCommerce Cart Drawer & Overlay
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.cart-overlay.is-active {
  display: block;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  border: none;
  cursor: pointer;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 10;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-overlay.is-active .cart-drawer {
  transform: translateX(0);
}

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

.cart-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.cart-items-list {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 4px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
}

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

.cart-empty-msg {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  background: #f8fafc;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
}

/* ==========================================================================
   Quick 1-Click Order Modal (Requirement #7: Only Name & Phone)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.is-active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
}

.modal-product-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-soft);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.modal-product-preview img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.modal-product-preview .name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.modal-product-preview .price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   Comparison Table: GasRemBG vs. Обикновени Майстори
   ========================================================================== */
.table-wrap {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, 
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background: var(--primary-soft);
  color: #0f172a;
  font-weight: 700;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.col-gasrem {
  background: #f0fdf4;
  font-weight: 600;
  color: #15803d;
}

.col-others {
  color: var(--text-light);
}

/* ==========================================================================
   Reviews / Testimonials
   ========================================================================== */
.review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.review-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

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

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: #ffffff;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px 20px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
  background: var(--bg-page);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer (WordPress / WooCommerce Comprehensive Multi-Column)
   ========================================================================== */
.site-footer {
  background: #075985;
  color: #e0f2fe;
  margin-top: auto;
  border-top: 4px solid var(--primary-light);
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 40px;
}

.footer-brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.footer-brand-title span {
  color: var(--primary-light);
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #bae6fd;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: #e0f2fe;
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: var(--primary-light);
}

.footer-col-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bae6fd;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

.footer-trust-badges {
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
}

.footer-trust-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-legal-bar {
  background: #0369a1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
  font-size: 0.8rem;
  color: #bae6fd;
}

.footer-legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-company-reg {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-bar {
  background: #0c4a6e;
  padding: 16px 0;
  font-size: 0.78rem;
  color: #93c5fd;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.payment-badges {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Cookie Banner (GDPR & Google Ads Policy Compliant)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  border-top: 2px solid var(--primary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: 16px 0;
  display: none;
}

.cookie-banner.is-active {
  display: block;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   Mobile Floating Action Bar
   ========================================================================== */
.mobile-fab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 16px;
  border-top: 1px solid var(--border-color);
}

.mobile-fab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   Thank You Page & Dedicated Order Page Specifics
   ========================================================================== */
.thankyou-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  max-width: 680px;
  margin: 40px auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px auto;
}

.thankyou-timeline {
  margin: 32px 0;
  text-align: left;
  background: var(--primary-soft);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.thankyou-step {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.thankyou-step:last-child {
  margin-bottom: 0;
}

.thankyou-step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.legal-content-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: var(--shadow-sm);
}

.legal-content-box h2 {
  font-size: 1.4rem;
  color: #0f172a;
  margin: 28px 0 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.legal-content-box p, 
.legal-content-box li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.legal-content-box ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    gap: 12px;
  }
  .main-nav.is-open {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-trust-row {
    grid-template-columns: 1fr;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .alert-gas-leak {
    flex-direction: column;
    align-items: flex-start;
  }
  .mobile-fab-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}
