/* ==========================================================================
   Teekr-One Theme — built on Dearthwood base
   Theme Designed by Dearthwood (https://dearthwood.uk)
   ========================================================================== */

/* ==========================================================================
   0. RESET & CUSTOM PROPERTIES
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green:         #5cb85c;
  --green-dark:    #449d44;
  --green-light:   #eaf6ea;
  --green-badge:   #d4edda;
  --text:          #333333;
  --text-secondary:#555555;
  --text-muted:    #888888;
  --bg:            #ffffff;
  --bg-light:      #f8f9fa;
  --bg-dark:       #1a2332;
  --bg-dark-2:     #111b27;
  --border:        #e2e8f0;
  --border-dark:   #2d3d52;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.08);
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:     0 10px 40px rgba(0,0,0,0.12);
  --radius:        10px;
  --dw-header-offset: 0px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--dw-header-offset) + 16px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--green-dark); }

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

/* ==========================================================================
   1. UTILITIES
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-heading {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-intro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   2. HEADER
   ========================================================================== */
#site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
}

.header-inner.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  min-height: 72px;
}

/* Logo */
#header-logo { flex-shrink: 0; }

.site-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.site-logo-link:hover { color: inherit; }

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.logo-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.logo-brand  { color: #333333; }
.logo-accent { color: var(--green); }

.logo-subtitle {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-top: 3px;
}

/* Primary Nav */
#main-nav { flex: 1; display: flex; justify-content: center; }

#main-nav .main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0; padding: 0;
}

#main-nav .main-menu li { position: relative; }

#main-nav .main-menu li a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 4px 0;
  position: relative;
}

#main-nav .main-menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

#main-nav .main-menu li a:hover,
#main-nav .main-menu li.current-menu-item > a {
  color: var(--text);
}

#main-nav .main-menu li a:hover::after,
#main-nav .main-menu li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Dropdown menus */
#main-nav .main-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  list-style: none;
  margin: 0; padding: 0.5rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
}

#main-nav .main-menu li.menu-item-has-children:hover > .sub-menu,
#main-nav .main-menu li.menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

#main-nav .main-menu .sub-menu li { display: block; }

#main-nav .main-menu .sub-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  white-space: nowrap;
}
#main-nav .main-menu .sub-menu a::after { display: none; }

#main-nav .main-menu .sub-menu a:hover {
  color: var(--green);
  background: var(--bg-light);
}

#main-nav .main-menu li.menu-item-has-children > a::after {
  content: '▾';
  position: static;
  display: inline;
  margin-left: 0.35rem;
  font-size: 0.8em;
  background: none;
  transform: none;
  transition: none;
}

/* Header CTA */
.header-cta { flex-shrink: 0; }

.btn-book-demo {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green) !important;
  background: transparent;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn-book-demo:hover {
  background: var(--green);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  height: 34px;
  z-index: 1001;
  position: relative;
}
.hamburger-line {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: all 0.3s ease;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active { display: block; opacity: 1; }

/* Custom logo (if uploaded via WP admin) */
.custom-logo { height: 60px; width: auto; padding: 0; }

/* Main content offset for fixed header */
.site-main { padding-top: var(--dw-header-offset, 72px); }

/* ==========================================================================
   3. HERO SLIDER
   ========================================================================== */
.hero-slider {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.slider-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: none;
}

/* Each slide — base */
.slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 520px;
  display: none;
  position: relative;
}
.slide.active { display: flex; }

/* FADE effect */
.hero-slider[data-effect="fade"] .slider-track { display: block; position: relative; }
.hero-slider[data-effect="fade"] .slide {
  display: flex;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  min-height: 520px;
}
.hero-slider[data-effect="fade"] .slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

/* SLIDE effect */
.hero-slider[data-effect="slide"] .slider-wrapper { overflow: hidden; }
.hero-slider[data-effect="slide"] .slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.hero-slider[data-effect="slide"] .slide { display: flex; }

/* Image slide */
.slide-image-wrap {
  width: 100%; min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.slide-image-overlay {
  padding: 3rem 0;
}

/* HTML slide wrapper */
.slide-html-wrap {
  width: 100%;
  padding: 3rem 24px;
  display: flex;
  align-items: center;
  min-height: 520px;
}

/* Default slide layout (two columns: text left, visual right) */
.slide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.slide-text { padding-right: 1rem; }

.slide-badge {
  display: inline-block;
  background: var(--green-badge);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.slide-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.slide-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.slide-cta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-slide-primary {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-slide-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-slide-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-slide-ghost:hover { color: var(--text) !important; }

.slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide-visual img {
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Slider nav arrows */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 10;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-prev:hover,
.slider-next:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-50%) scale(1.06);
}

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  background: transparent;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.dot.active {
  background: var(--green);
  transform: scale(1.2);
}
.dot:hover { background: var(--green-dark); }

/* ==========================================================================
   3b. SLIDE 2 – HEX NETWORK
   ========================================================================== */
.slide-hex-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: 0;
  height: 100%;
  padding: 0 1rem 0 3rem;
}

.slide-hex-text { padding-right: 1.5rem; }

.slide-headline {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.6rem;
}
.slide-accent { color: var(--green); }

.slide-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  max-width: 300px;
}

.btn-slide-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.btn-slide-outline:hover { background: var(--green); color: #fff; }

/* Hex network container */
.hex-network {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

/* SVG layer: bg hex pattern + connector lines */
.hex-connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

/* Individual hex node */
.hex-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

/* Outer (border colour) + inner (white) creates visible hex border */
.hex-outer {
  width: 90px;
  height: 78px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: #c8e6c9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hex-inner {
  width: 86px;
  height: 74px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
}
.hex-outer--green { background: var(--green-dark); }
.hex-inner--green {
  background: var(--green);
  width: 100px;
  height: 87px;
}
.hex-outer--center {
  width: 104px;
  height: 90px;
}

.hex-node-icon { font-size: 1.25rem; color: var(--green); line-height: 1; }

.hex-node-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
  margin-top: 5px;
}
.hex-node-desc {
  font-size: 0.52rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  max-width: 90px;
  margin-top: 1px;
}

/* Responsive: hide hex network on small screens */
@media (max-width: 900px) {
  .slide-hex-layout { grid-template-columns: 1fr; }
  .hex-network { display: none; }
}

/* ==========================================================================
   4. FEATURES SECTION
   ========================================================================== */
.features-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-card .feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--green);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover .feature-icon {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(92,184,92,0.25);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   5. PRODUCTS SECTION
   ========================================================================== */
.products-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.product-card:hover::before { transform: scaleX(1); }

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.product-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); flex: 1; }

.status-badge {
  background: var(--green-badge);
  color: var(--green-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 0.75rem;
  white-space: nowrap;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

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

.pricing { color: var(--text-secondary); font-weight: 700; }

.more-info-btn {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text) !important;
  background: transparent;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.more-info-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff !important;
}

.no-products { text-align: center; color: var(--text-muted); padding: 3rem 0; }

/* ==========================================================================
   6. ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2.5rem;
}

.about-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.about-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-body { color: var(--text-secondary); line-height: 1.75; }
.about-body p { margin-bottom: 1rem; }

.about-image-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about-image-placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 2rem;
}

/* ==========================================================================
   7. CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 80px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-item i { margin-top: 2px; color: var(--green); flex-shrink: 0; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

/* CF7 styling */
.contact-form .wpcf7-form p { margin-bottom: 1.25rem; }
.contact-form .wpcf7-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}
.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.contact-form .wpcf7-form input:focus,
.contact-form .wpcf7-form textarea:focus {
  border-color: var(--green);
  outline: none;
}
.contact-form .wpcf7-form textarea { min-height: 130px; resize: vertical; }
.contact-form .wpcf7-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  padding: 13px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 6px;
}
.contact-form .wpcf7-submit:hover { background: var(--green-dark); }
.contact-form .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 10px;
  border-radius: 6px;
  border: none;
}
.contact-form .screen-reader-response { display: none; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer { background: var(--bg-light); color: var(--text); }

.footer-main { padding: 64px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

/* Brand column */
.footer-brand {}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.footer-logo-link:hover { opacity: 0.85; }

.footer-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}
.footer-logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.footer-logo-subtitle {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-top: 3px;
}
.footer-logo-brand  { color: var(--text); }
.footer-logo-accent { color: var(--green); }

.footer-description {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

/* Footer social */
.footer-social { margin-top: 0; }

.social-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Footer columns */
.footer-col-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-col-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col-menu li { margin: 0; }
.footer-col-menu a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col-menu a:hover { color: var(--green); }

/* Newsletter column */
.footer-newsletter-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-newsletter-form { margin-top: 0.5rem; }

.newsletter-input-row {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.newsletter-input-row input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg);
  border: none;
  color: var(--text);
  font-size: 0.88rem;
  min-width: 0;
}
.newsletter-input-row input[type="email"]::placeholder { color: var(--text-muted); }
.newsletter-input-row input[type="email"]:focus { outline: none; background: var(--bg); }

.newsletter-input-row button {
  background: var(--green);
  border: none;
  color: #fff;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.newsletter-input-row button:hover { background: var(--green-dark); }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  background: var(--bg);
}

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

.footer-copyright,
.footer-credit {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-credit a { color: var(--green); }
.footer-credit a:hover { color: var(--green-dark); text-decoration: underline; }

/* ==========================================================================
   9. BLOG / ARCHIVE PAGES
   ========================================================================== */
.blog-card-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 24px;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 2;
}
.blog-card:hover::before { transform: scaleX(1); }

.blog-card .blog-thumb {
  flex: 0 0 240px;
  height: 190px;
  overflow: hidden;
  background: var(--bg-light);
}
.blog-card .blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }

.blog-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-card .blog-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.blog-card .blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   10. SINGLE PRODUCT / POST PAGE
   ========================================================================== */
.blog-post-layout {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  width: calc(100% - 2rem);
  color: var(--text);
}

.post-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.post-image {
  flex: 0 0 400px;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.post-image img { width: 100%; height: auto; display: block; }

.post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.post-title { font-size: 1.9rem; font-weight: 700; margin: 0; color: var(--text); }

.price { font-size: 1.4rem; font-weight: 700; color: var(--green); }

.short-desc { font-size: 1rem; line-height: 1.6; color: var(--text-secondary); }

.product-meta { font-size: 0.9rem; color: var(--text-secondary); }

.product-status {
  display: inline-block;
  background: var(--green-badge);
  color: var(--green-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
}

.out-of-stock { color: #e53e3e; font-weight: 700; }

.single_add_to_cart_button {
  background: var(--green);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.single_add_to_cart_button:hover { background: var(--green-dark); }

/* WooCommerce gallery trigger */
.post-image .woocommerce-product-gallery__trigger {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  z-index: 3; overflow: hidden; text-indent: -9999px;
}
.post-image .woocommerce-product-gallery__trigger::before {
  content: '';
  display: block; width: 16px; height: 16px;
  background: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 18a8 8 0 1 1 0-16a8 8 0 0 1 0 16m0-2a6 6 0 1 0 0-12a6 6 0 0 0 0 12m9.707 4.293l-5.387-5.387a1 1 0 0 1 1.414-1.414l5.387 5.387a1 1 0 0 1-1.414 1.414'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 18a8 8 0 1 1 0-16a8 8 0 0 1 0 16m0-2a6 6 0 1 0 0-12a6 6 0 0 0 0 12m9.707 4.293l-5.387-5.387a1 1 0 0 1 1.414-1.414l5.387 5.387a1 1 0 0 1-1.414 1.414'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* WooCommerce thumbnails */
.post-image .flex-control-thumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px; list-style: none;
  border-top: 1px solid var(--border);
}
.post-image .flex-control-thumbs li { flex: 0 0 68px; max-width: 68px; }
.post-image .flex-control-thumbs img {
  width: 100%; border-radius: 4px;
  border: 1px solid var(--border);
}
.post-image .flex-control-thumbs img.flex-active { border-color: var(--green); }

/* ==========================================================================
   11. WOOCOMMERCE GLOBAL
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  padding: 2rem 0;
  margin: 0 auto;
  max-width: 1200px;
  list-style: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  display: flex !important;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  margin: 0; width: auto; float: none;
}
.woocommerce ul.products li.product::before,
.woocommerce-page ul.products li.product::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease; z-index: 1;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
}
.woocommerce ul.products li.product:hover::before,
.woocommerce-page ul.products li.product:hover::before { transform: scaleX(1); }

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.1rem !important;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.woocommerce ul.products li.product .price {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  margin-top: auto;
  transition: background 0.2s;
}
.woocommerce ul.products li.product .button:hover { background: var(--green-dark); }

/* Cart & Checkout */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce { color: var(--text); }

.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: var(--border); color: var(--text); }

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .input-text {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 0.6rem 0.8rem;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--green); outline: none; }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { background: var(--green-dark); transform: translateY(-1px); }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--green-light);
  border: 1px solid var(--green);
  color: var(--text);
  border-radius: var(--radius);
}

/* WooCommerce Blocks */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-textarea textarea,
.wc-block-components-select select {
  background: var(--bg-light) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 6px !important;
}
.wc-block-components-text-input input:focus { border-color: var(--green) !important; box-shadow: none !important; }

.wc-block-components-button:not(.is-link) {
  background: var(--green) !important;
  color: #fff !important;
  border-radius: 6px !important;
  border: none !important;
  font-weight: 700 !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--green-dark) !important; }

/* Hide cart recommendations */
body.dw-hide-cart-recos.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-block,
body.dw-hide-cart-recos.woocommerce-cart .wc-block-cart__cross-sells,
body.dw-hide-cart-recos.woocommerce-cart .wp-block-woocommerce-product-collection,
body.dw-hide-cart-recos.woocommerce-cart .wp-block-woocommerce-product-new,
body.dw-hide-cart-recos.woocommerce-cart .wp-block-woocommerce-all-products { display: none !important; }

body.dw-hide-cart-recos.woocommerce-cart .wc-block-cart__empty-cart__title + .wp-block-separator.is-style-dots + h2,
body.dw-hide-cart-recos.woocommerce-cart .wc-block-cart__empty-cart__title + .wp-block-separator.is-style-dots { display: none !important; }

/* ==========================================================================
   12. COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 2px solid var(--border);
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.cookie-banner.show { transform: translateY(0); }

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-text { flex: 1; color: var(--text-secondary); font-size: 0.9rem; }
.cookie-text strong { color: var(--text); }
.cookie-text a { color: var(--green); }

.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }

.cookie-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 90px;
  text-align: center;
}
.cookie-btn.accept { background: var(--green); color: #fff; border-color: var(--green); }
.cookie-btn.accept:hover { background: var(--green-dark); }
.cookie-btn.decline { background: transparent; color: var(--text-secondary); }
.cookie-btn.decline:hover { background: var(--bg-light); color: var(--text); }
.cookie-btn.settings { background: transparent; color: var(--text); border-color: var(--text); }
.cookie-btn.settings:hover { background: var(--text); color: #fff; }

/* Cookie modal */
.cookie-modal {
  display: none;
  position: fixed; z-index: 10001;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.cookie-modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%; max-width: 560px;
  max-height: 80vh; overflow-y: auto;
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cookie-modal-title { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.close { font-size: 1.6rem; cursor: pointer; color: var(--text-muted); transition: color 0.2s; }
.close:hover { color: var(--text); }

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.cookie-category h4 {
  color: var(--text); font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.cookie-category p { color: var(--text-secondary); font-size: 0.88rem; }

.cookie-toggle { position: relative; display: inline-block; width: 48px; height: 24px; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border);
  border-radius: 24px;
  transition: 0.3s;
}
.cookie-slider::before {
  position: absolute; content: '';
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
input:checked + .cookie-slider { background: var(--green); }
input:checked + .cookie-slider::before { transform: translateX(24px); }

.cookie-modal-footer {
  display: flex; gap: 12px; justify-content: flex-end;
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   13. CODE BLOCKS
   ========================================================================== */
code {
  display: block;
  background: var(--bg-light);
  color: var(--text);
  padding: 1rem;
  border-radius: 8px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  transition: box-shadow 0.2s;
}
code:hover { box-shadow: var(--shadow); }

/* ==========================================================================
   14. MODALS
   ========================================================================== */
.modal {
  display: none;
  position: fixed; z-index: 2000;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%; max-width: 780px;
  max-height: 80vh; overflow-y: auto;
  position: relative;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 1.6rem; font-weight: 700; color: var(--text); }
.modal-body h4 { font-size: 1.2rem; color: var(--text); margin: 1.5rem 0 0.75rem; }
.modal-body p  { color: var(--text-secondary); font-size: 1rem; line-height: 1.65; margin-bottom: 1rem; }
.modal-body ul { color: var(--text-secondary); padding-left: 1.5rem; margin-bottom: 1rem; }
.modal-body li { margin-bottom: 0.4rem; line-height: 1.6; }

/* ==========================================================================
   15. MOBILE NAV
   ========================================================================== */
@media (max-width: 768px) {
  .hero-slider { display: none; }
}

@media (max-width: 768px) {
  .header-inner.container {
    position: relative;
    min-height: 64px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  #header-logo {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    z-index: 1000;
  }

  .header-cta { display: flex; align-items: center; }

  #main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    border-right: 1px solid var(--border);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding-top: 72px;
  }
  #main-nav.mobile-open { display: block; transform: translateX(0); }

  #main-nav .main-menu {
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    justify-content: flex-start;
  }
  #main-nav .main-menu li { width: 100%; border-bottom: 1px solid var(--border); }
  #main-nav .main-menu li:last-child { border-bottom: none; }
  #main-nav .main-menu li a { display: block; padding: 0.85rem 0; font-size: 1rem; color: var(--text); }
  #main-nav .main-menu li a::after { display: none; }
  #main-nav .main-menu li a:hover { color: var(--green); }

  #main-nav .main-menu li.menu-item-has-children > a::after { content: ''; }
  #main-nav .main-menu .sub-menu {
    display: block; position: static;
    min-width: 0; margin: 0;
    padding: 0 0 0.5rem 1rem;
    background: transparent;
    border: 0; border-radius: 0;
    box-shadow: none; width: 100%;
    transform: none;
  }
  #main-nav .main-menu .sub-menu li { border-bottom: none; }
  #main-nav .main-menu .sub-menu a { padding: 0.45rem 0; font-size: 0.9rem; color: var(--text-secondary); }

  .logo-icon { width: 36px; height: 36px; }
  .logo-name { font-size: 1.2rem; }
  .logo-subtitle { font-size: 0.52rem; }

  header { min-height: 64px; }
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu-overlay { display: none !important; }
  #main-nav {
    display: flex !important; position: static !important;
    transform: none !important; width: auto !important;
    height: auto !important; background: none !important;
    border: none !important; padding: 0 !important;
    overflow: visible !important;
  }
}

/* ==========================================================================
   16. RESPONSIVE – CONTENT SECTIONS
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter-col { grid-column: span 1; }
}

@media (max-width: 768px) {
  /* Slider */
  .slide-layout { grid-template-columns: 1fr; gap: 2rem; }
  .slide-visual { display: none; }
  .slide-html-wrap { padding: 2.5rem 24px; }
  .hero-slider { min-height: auto; }
  .slide { min-height: auto; }
  .slide-image-wrap { min-height: 280px; }
  .slide-text h1 { font-size: 1.8rem; }
  .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 1.2rem; }

  /* Features */
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
  .features-section { text-align: center; }
  .features-section .feature-item { align-items: center; text-align: center; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .products-section { text-align: center; }
  .product-card { text-align: center; }
  .product-footer { justify-content: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-section { text-align: center; }
  .about-content { text-align: center; }
  .about-image-wrap { text-align: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-section { text-align: center; }
  .contact-info { text-align: center; }
  .contact-item { justify-content: center; }

  /* Section headings / labels / intros */
  .section-label,
  .section-heading,
  .section-intro { text-align: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter-col { grid-column: 1 / -1; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* Blog */
  .blog-card { flex-direction: column; }
  .blog-card .blog-thumb { flex: none; width: 100%; height: 180px; }

  /* Cookie */
  .cookie-content { flex-direction: column; text-align: center; }
  .cookie-buttons { justify-content: center; flex-wrap: wrap; }

  /* Post layout */
  .post-wrapper { flex-direction: column; }
  .post-image, .post-content { max-width: 100%; flex: 1 1 100%; }

  /* WooCommerce */
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr; padding: 1rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .products-grid { gap: 1.25rem; }

  .slide-cta { flex-direction: column; align-items: flex-start; }
  .slide-text p { font-size: 0.95rem; }

  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr; gap: 1rem; }
}
