/*
Theme Name: SCANDINAF
Theme URI: http://scandinaf.local
Author: Custom
Description: Premium outdoor recreation products catalog. Light, modern, minimalist WooCommerce theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scandinaf
Tags: woocommerce, e-commerce, custom-logo, custom-menu
WooCommerce: 9.0
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Colors - Light Premium */
  --color-bg: #FAFBFC;
  --color-bg-alt: #F1F4F0;
  --color-bg-card: #FFFFFF;
  --color-bg-dark: #1A2B1E;
  --color-bg-hero: #EFF4EE;

  --color-text: #1A1D21;
  --color-text-secondary: #5A6270;
  --color-text-muted: #8B929A;
  --color-text-light: #FFFFFF;

  --color-primary: #4A9B6E;
  --color-primary-light: #5FB883;
  --color-primary-dark: #3A7D58;
  --color-primary-bg: #EDF7F1;

  --color-accent: #E8573A;
  --color-accent-light: #F06B50;

  --color-border: #E2E6EA;
  --color-border-light: #F0F2F4;

  --color-success: #2DA562;
  --color-warning: #E5A100;
  --color-danger: #DC3B3B;

  --color-rating: #f59e0b;

  --color-bg-sage: #E4EDE3;
  --color-bg-sage-light: #EFF4EE;
  --color-text-forest: #1A2B1E;
  --color-promo-dark: #2a3e2e;
  --color-promo-light: #3d5a42;
  --color-promo-bar: linear-gradient(90deg, var(--color-promo-dark) 0%, var(--color-promo-light) 50%, var(--color-promo-dark) 100%);

  --color-success-bg: #f0fdf4;
  --color-success-text: #14532d;
  --color-danger-bg: #fef2f2;
  --color-danger-text: #7f1d1d;
  --color-info-bg: #eff6ff;
  --color-info-text: #1e3a8a;

  /* Typography */
  --font-heading: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-hero: clamp(2.5rem, 5vw, 4.5rem);

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --line-tight: 1.15;
  --line-snug: 1.3;
  --line-normal: 1.6;

  --letter-tight: -0.03em;
  --letter-normal: -0.01em;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1320px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --gutter: 20px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 28px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-overlay: 400;
  --z-toast: 500;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-normal);
  color: var(--color-text);
  background: var(--color-bg);
  letter-spacing: var(--letter-normal);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--line-tight);
  letter-spacing: var(--letter-tight);
  color: var(--color-text);
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

.section-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-light);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74, 155, 110, 0.3);
}

.btn--secondary {
  background: var(--color-bg-card);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

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

.btn--accent {
  background: var(--color-accent);
  color: var(--color-text-light);
}

.btn--accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  padding: 12px 20px;
}

.btn--ghost:hover {
  background: var(--color-bg-alt);
}

.btn--lg {
  padding: 18px 36px;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--text-sm);
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ============================================
   HEADER
   ============================================ */

/* Promo bar */
.header-promo {
  background:
    radial-gradient(circle at 50% -40%, rgba(255,255,255,0.10), transparent 42%),
    linear-gradient(90deg, #15281d 0%, #294733 50%, #15281d 100%);
  color: rgba(255,255,255,0.84);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.055em;
  padding: 6px 0;
}

.header-promo__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-promo__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: none;
}

.header-promo__item svg {
  color: rgba(162, 214, 181, 0.92);
  flex-shrink: 0;
}

.header-promo__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.header-promo__phone {
  color: rgba(162, 214, 181, 0.96);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.045em;
  transition: color var(--duration-fast);
}

.header-promo__phone:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  box-shadow: 0 1px 0 rgba(22, 40, 30, 0.08);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 12px 34px rgba(22, 40, 30, 0.09), 0 1px 0 rgba(22, 40, 30, 0.08);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--space-xl);
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1 1 0;
  min-width: 0;
}

.header-center {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.site-logo__text {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: 0.255em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
}

.site-logo__tagline {
  font-size: 8px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1;
}

/* Menu Toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(22, 40, 30, 0.12);
  background: rgba(255,255,255,0.72);
  transition: all var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}

.menu-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 40, 30, 0.08);
}

/* Catalog button in header-right */
.header-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
  padding: 0 17px;
  border-radius: 14px;
  border: 1px solid rgba(22, 40, 30, 0.12);
  background: rgba(255,255,255,0.76);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: all var(--duration-fast) var(--ease-out);
}

.header-catalog-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 40, 30, 0.08);
}

/* CTA / Get a Quote */
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: 0 2px 8px rgba(74,155,110,0.30);
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1e5c35 100%);
  box-shadow: 0 4px 16px rgba(74,155,110,0.40);
  transform: translateY(-1px);
  color: #fff;
}

/* Search */
.header-search {
  position: relative;
  width: clamp(210px, 18vw, 260px);
}

.header-search__input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  border-radius: 14px;
  border: 1px solid rgba(22, 40, 30, 0.12);
  background: rgba(247, 249, 246, 0.84);
  font-size: var(--text-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.header-search__input:focus {
  border-color: var(--color-primary);
  background: var(--color-bg-card);
  box-shadow: 0 0 0 4px rgba(74,155,110,0.11);
}

.header-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  width: 18px;
  height: 18px;
}

/* Cart */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(22, 40, 30, 0.12);
  background: rgba(255,255,255,0.76);
  transition: all var(--duration-fast) var(--ease-out);
  color: var(--color-text);
}

.header-cart:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 40, 30, 0.08);
}

.header-cart__count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: white;
  font-size: 11px;
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Secondary nav */
.header-nav {
  border-top: 1px solid rgba(22, 40, 30, 0.07);
  background: rgba(248, 250, 247, 0.72);
}

.header-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-nav__list > li {
  display: flex;
}

.header-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  height: 32px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast);
  position: relative;
  white-space: nowrap;
}

.header-nav__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 10px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(22, 40, 30, 0.08);
  font-size: 9px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.header-nav__link:hover {
  color: var(--color-primary);
  background: rgba(74,155,110,0.08);
}

.header-nav__link.active {
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
  background: rgba(74,155,110,0.10);
  box-shadow: inset 0 0 0 1px rgba(74,155,110,0.16);
}

.header-nav__link::after {
  display: none;
}

.header-nav__link:hover::after,
.header-nav__link.active::after {
  transform: scaleX(1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--color-bg-hero);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: var(--space-4xl) 0;
}

.hero__title {
  font-size: var(--text-hero);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: var(--line-tight);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-2xl);
  line-height: var(--line-snug);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-section {
  padding: var(--space-5xl) 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  gap: var(--space-lg);
}

.section-header__content {
  max-width: 600px;
}

@media (max-width: 576px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }
  .section-header h2 {
    font-size: var(--text-2xl);
    margin: 0;
  }
  .section-header .btn--ghost {
    align-self: flex-start;
  }
}

.categories-layout {
  display: grid;
  gap: var(--space-lg);
}

.categories-grid {
  display: grid;
  gap: var(--space-lg);
}

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

.categories-grid--secondary {
  grid-template-columns: 1fr;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out);
}

.category-card--secondary {
  aspect-ratio: 4.6/1;
  min-height: 180px;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.category-card:hover .category-card__image {
  transform: scale(1.05);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.category-card--secondary .category-card__overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.16) 100%);
}

.category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.category-card__title {
  font-size: var(--text-2xl);
  color: white;
  font-weight: var(--weight-bold);
}

.category-card__count {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-xs);
}

.category-card__arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
}

.category-card:hover .category-card__arrow {
  transform: translateX(4px);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.products-grid li.product {
  list-style: none !important;
}

.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Ensure video also follows slider rules */
.product-card__image-wrap video.product-card__image {
  object-fit: cover;
}

.product-card__slider {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    transform var(--duration-slow) var(--ease-out),
    filter 0.48s ease;
  opacity: 0;
  transform: scale(0.992);
  filter: saturate(0.98);
  pointer-events: none;
}

.product-card__image.active {
  opacity: 1;
  transform: scale(1);
  filter: none;
  z-index: 1;
  pointer-events: auto;
}

.product-card__image.active {
  opacity: 1;
  z-index: 1;
}

.product-card:hover .product-card__image.active {
  transform: scale(1.035);
}

.product-card__badges {
  position: absolute;
  z-index: 2;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.product-card__badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card__badge--hit {
  background: var(--color-accent);
  color: white;
}

.product-card__badge--sale {
  background: var(--color-text);
  color: white;
}

.product-card__badge--new {
  background: var(--color-primary);
  color: white;
}

.product-card__cart {
  position: absolute;
  z-index: 2;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.22s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  color: var(--color-text);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.product-card:hover .product-card__cart {
  opacity: 1;
  transform: scale(1);
}

.product-card__cart:hover {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 10px 22px rgba(18, 42, 30, 0.16);
}

.product-card:hover .product-card__cart:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 22px rgba(18, 42, 30, 0.16);
}

.product-card__dots {
  position: absolute;
  z-index: 10;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.product-card__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  transition: all var(--duration-fast);
  cursor: pointer;
}

.product-card__dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.product-card__dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}


.product-card__body {
  padding: var(--space-lg);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: var(--line-snug);
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  margin-top: auto;
}

.product-card__current-price {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.product-card__old-price {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-card__tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow: hidden;
  margin-top: 6px;
  margin-bottom: 4px;
}

.product-card__tags--compact {
  margin-top: 4px;
  margin-bottom: 8px;
}

.product-card__tag {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-light);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ============================================
   CATALOG / ARCHIVE
   ============================================ */
.catalog-page {
  padding: var(--space-3xl) 0 var(--space-5xl);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
}

/* Sidebar Filters */
.catalog-filters {
  position: sticky;
  top: 140px;
  align-self: start;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.filter-group {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-group__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-md);
}

/* Price Range */
.price-range {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.price-range__input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  text-align: center;
  background: var(--color-bg);
}

.price-range__input:focus {
  border-color: var(--color-primary);
}

/* Range Slider */
.range-slider {
  position: relative;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin: var(--space-md) 0;
}

.range-slider__fill {
  position: absolute;
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
}

.range-slider__thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: white;
  border: 2px solid var(--color-primary);
  cursor: grab;
  box-shadow: var(--shadow-sm);
}

/* Checkbox Filter */
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  cursor: pointer;
  font-size: var(--text-sm);
}

.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all var(--duration-fast);
}

.filter-checkbox input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.filter-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Color swatches */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--duration-fast);
  padding: 0;
  background-clip: padding-box;
}

.color-swatch:hover {
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: var(--color-primary);
  border-width: 3px;
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--color-primary-bg);
}

/* Form-specific color swatch */
.scandinaf-form-pill.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.scandinaf-form-pill.color-swatch:hover {
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.scandinaf-form-pill.color-swatch.active {
  border-color: var(--color-primary);
  border-width: 3px;
  transform: scale(1.15);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}

.filter-actions {
  display: flex;
  gap: var(--space-sm);
}

.filter-actions .btn {
  flex: 1;
  padding: 12px;
}

/* ============================================
   SINGLE PRODUCT
   ============================================ */
.single-product-page {
  padding: var(--space-2xl) 0 var(--space-5xl);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-3xl);
}

/* Product Gallery */
.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
}

.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-gallery__thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--duration-fast);
  opacity: 0.6;
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
  border-color: var(--color-primary);
  opacity: 1;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-bg-alt);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info Sidebar */
.product-info {
  position: sticky;
  top: 140px;
  align-self: start;
}

.product-info__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.product-info__subtitle {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* Configurator Options */
.product-options {
  margin-bottom: var(--space-xl);
}

.product-option {
  margin-bottom: var(--space-lg);
}

.product-option__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.product-option__choices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.option-choice {
  padding: 10px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all var(--duration-fast);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.option-choice:hover {
  border-color: var(--color-primary);
}

.option-choice.active {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
  color: var(--color-primary-dark);
}

/* Color Options */
.option-color {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.option-color:hover,
.option-color.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}

/* Price */
.product-price {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.product-price__current {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.product-price__old {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-left: var(--space-sm);
}

.product-price__installment {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
}

/* Add to Cart */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.add-to-cart-row {
  display: flex;
  gap: var(--space-sm);
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.quantity-selector__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  transition: background var(--duration-fast);
}

.quantity-selector__btn:hover {
  background: var(--color-bg-alt);
}

.quantity-selector__input {
  width: 44px;
  text-align: center;
  font-weight: var(--weight-semibold);
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.product-actions .btn {
  flex: 1;
}

/* Product Tabs */
.product-tabs {
  margin-top: var(--space-4xl);
}

.product-tabs__nav {
  display: flex;
  gap: var(--space-xl);
  border-bottom: 2px solid var(--color-border-light);
  margin-bottom: var(--space-2xl);
}

.product-tabs__tab {
  padding: var(--space-md) 0;
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
  position: relative;
  cursor: pointer;
  transition: color var(--duration-fast);
}

.product-tabs__tab:hover,
.product-tabs__tab.active {
  color: var(--color-primary);
}

.product-tabs__tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}

.product-tabs__panel {
  display: none;
}

.product-tabs__panel.active {
  display: block;
}

/* Specs Table */
.specs-table {
  width: 100%;
}

.specs-table tr {
  border-bottom: 1px solid var(--color-border-light);
}

.specs-table td {
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
}

.specs-table td:first-child {
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--color-text-secondary);
}

/* ============================================
   HOME REVIEWS SLIDER
   ============================================ */
.home-reviews {
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

.home-reviews__nav {
  display: flex;
  gap: 8px;
  position: absolute;
  right: 0;
  top: -52px;
}

@media (max-width: 576px) {
  .home-reviews__nav {
    position: static;
    justify-content: center;
    margin-top: 12px;
  }
  .home-reviews__arrow {
    width: 36px;
    height: 36px;
  }
}

.home-reviews__arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg-card);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.home-reviews__arrow:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-bg);
}

.home-reviews__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-xl) 0 var(--space-lg);
  scrollbar-width: none;
}

.home-reviews__track::-webkit-scrollbar {
  display: none;
}

.home-review-card {
  position: relative;
  flex: 0 0 332px;
  min-height: 278px;
  scroll-snap-align: start;
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--duration-normal), transform var(--duration-normal), border-color var(--duration-normal);
}

.home-review-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  border-color: var(--color-border);
}

.home-review-card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.home-review-card > *:not(.home-review-card__link) {
  position: relative;
  z-index: 1;
}

.home-review-card__stars {
  display: flex;
  gap: 2px;
}

.home-review-card__stars .star {
  fill: var(--color-border);
}

.home-review-card__stars .star.filled {
  fill: var(--color-rating);
}

.home-review-card__text {
  font-size: 14px;
  line-height: 1.62;
  color: var(--color-text-secondary);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-review-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 148px);
  align-items: end;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-light);
}

.home-review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-review-card__author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.home-review-card__author strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.home-review-card__date {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.2;
}

/* Global verified badge */
.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  padding: 3px 8px;
  border-radius: 10px;
}

.home-review-card__author .review-verified-badge {
  margin: 0;
  padding: 2px 6px;
  font-size: 10px;
  gap: 3px;
}

.home-review-card__product {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--color-bg);
  border-radius: 10px;
  border: 1px solid var(--color-border-light);
  max-width: 148px;
  min-width: 0;
  justify-self: end;
}

.home-review-card__product img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.home-review-card__product span {
  font-size: 11px;
  color: var(--color-text-secondary);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .home-review-card {
    flex: 0 0 292px;
    min-height: 258px;
    padding: 18px;
  }

  .home-review-card__footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-review-card__product {
    justify-self: start;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .home-review-card {
    flex: 0 0 84vw;
    min-height: 244px;
    padding: 16px;
  }

  .home-review-card__product {
    display: none;
  }
}

.home-reviews__more {
  text-align: center;
  padding-top: var(--space-lg);
}

.home-reviews__more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all 0.2s;
}

.home-reviews__more-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

/* ============================================
   REVIEWS PAGE
   ============================================ */
.reviews-stats {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border-light);
}

.reviews-stats__rating {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviews-stats__number {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.reviews-stats__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}

.reviews-stats__stars .star { fill: var(--color-border); }
.reviews-stats__stars .star.filled { fill: var(--color-rating); }

.reviews-stats__count {
  font-size: 13px;
  color: var(--color-text-muted);
}

.reviews-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rp-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.rp-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  border-color: var(--color-border);
}

.rp-card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.rp-card > *:not(.rp-card__link) {
  position: relative;
  z-index: 1;
}

.rp-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.rp-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rp-card__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.rp-card__author strong {
  display: block;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.2;
}

.rp-card__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.rp-card__stars .star { fill: var(--color-border); }
.rp-card__stars .star.filled { fill: var(--color-rating); }

.rp-card__date {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-left: 6px;
}

.rp-card__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.rp-card__media {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rp-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
}

.rp-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-card__product {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--color-bg);
  border-radius: 8px;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.2s;
}

.rp-card__product:hover {
  background: var(--color-primary-bg);
}

.rp-card__product img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.rp-card__product span {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .reviews-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .rp-card { padding: 16px; }
}

@media (max-width: 480px) {
  .reviews-page-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rp-card { padding: 14px; gap: 10px; }
  .rp-card__author img { width: 32px; height: 32px; }
  .rp-card__author strong { font-size: 13px; }
  .rp-card__text { font-size: 13px; }
  .reviews-stats__number { font-size: 32px; }
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.promo-banner__inner {
  background: var(--color-bg-sage);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl);
  display: flex;
  align-items: center;
  gap: var(--space-4xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74,155,110,0.1);
}

.promo-banner__content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.promo-banner__title {
  font-size: var(--text-4xl);
  color: var(--color-text-forest);
  margin-bottom: var(--space-lg);
}

.promo-banner__text {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.promo-banner__image {
  flex: 0 0 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.promo-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .promo-banner__inner {
    flex-direction: column;
  }
  .promo-banner__image {
    flex: none;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
  }
}

/* ============================================
   CONSULTATION FORM
   ============================================ */
.consultation-section {
  padding: var(--space-5xl) 0;
  background: var(--color-primary-bg);
}

.consultation-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: var(--space-lg);
  text-align: left;
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}

/* ============================================
   FLOATING CONTACT
   ============================================ */
.floating-contact {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  transition: transform var(--duration-normal) var(--ease-out);
}

.floating-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.floating-contact__icons {
  display: flex;
  gap: var(--space-xs);
}

.floating-contact__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-contact__icon--wa {
  background: #25D366;
  color: white;
}

.floating-contact__icon--fb {
  background: #1877F2;
  color: white;
}

.floating-contact__icon--ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.floating-contact__text {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

/* ============================================
   TRUST BAR (above footer)
   ============================================ */
.trust-bar {
  position: relative;
  padding: clamp(54px, 6vw, 82px) 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(74,155,110,0.10), transparent 34%),
    linear-gradient(180deg, #fbfcfb 0%, #f5f8f5 100%);
  border-top: 1px solid rgba(22, 40, 30, 0.07);
  border-bottom: 1px solid rgba(22, 40, 30, 0.07);
  overflow: hidden;
}

.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,155,110,0.26), transparent);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.trust-bar__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: transform var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast);
}

.trust-bar__item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.78);
  border-color: rgba(22, 40, 30, 0.08);
  box-shadow: 0 18px 46px rgba(22, 40, 30, 0.08);
}

.trust-bar__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(232, 247, 238, 0.98), rgba(242, 250, 245, 0.90));
  border: 1px solid rgba(74,155,110,0.10);
  border-radius: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

.trust-bar__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.trust-bar__text strong {
  font-size: 14px;
  font-weight: 650;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.trust-bar__text span {
  font-size: 12px;
  color: #7d8793;
  line-height: 1.45;
}

@media (max-width: 992px) {
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .trust-bar__item {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .trust-bar {
    padding: 34px 0;
  }
  .trust-bar__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .trust-bar__item {
    gap: 13px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.58);
    border-color: rgba(22, 40, 30, 0.06);
  }
  .trust-bar__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .trust-bar__icon svg {
    width: 20px;
    height: 20px;
  }
  .trust-bar__text span {
    font-size: 11px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(74, 155, 110, 0.20), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.07), transparent 30%),
    linear-gradient(180deg, #111a15 0%, #0b1110 100%);
  color: var(--color-text-light);
  padding-top: calc(var(--space-4xl) + 8px);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(162, 214, 181, 0.48), transparent);
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

/* Footer phone */
.footer-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.footer-phone__number {
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer-phone__number:hover {
  color: var(--color-primary-light);
}

.footer-phone__label {
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: var(--space-3xl);
}

.footer-logo .site-logo__text {
  color: var(--color-text-light);
  letter-spacing: 0.28em;
}

.footer-logo .site-logo__tagline {
  color: rgba(162, 214, 181, 0.86);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.64);
  transition: all var(--duration-fast);
}

.footer-social:hover {
  border-color: rgba(162, 214, 181, 0.58);
  color: #fff;
  background: rgba(74, 155, 110, 0.16);
  transform: translateY(-1px);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(22px, 3vw, 46px);
  padding-bottom: var(--space-3xl);
}

.footer-column__title {
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.88);
}

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

.footer-column__list a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.54);
  transition: color var(--duration-fast), transform var(--duration-fast);
  display: inline-flex;
}

.footer-column__list a:hover {
  color: rgba(162, 214, 181, 0.98);
  transform: translateX(2px);
}

.footer-contact-item {
  margin-bottom: 14px;
  font-size: var(--text-sm);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-contact-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.footer-contact-item__label {
  color: rgba(255, 255, 255, 0.36);
  margin-bottom: 5px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact-item__value {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: var(--space-xl) 0 calc(var(--space-xl) + 4px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.36);
}

.site-footer .config-payment-icons {
  margin: 0;
  padding: 0;
  border: none;
  gap: 6px;
  display: flex;
  flex-direction: row;
}

.site-footer .pay-icon {
  width: 40px;
  height: 26px;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

.site-footer .pay-icon img {
  opacity: 0.6;
  transition: opacity var(--duration-fast);
}

.site-footer .pay-icon img:hover {
  opacity: 0.9;
}

.footer-bottom__links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.46);
}

.footer-bottom a:hover {
  color: rgba(162, 214, 181, 0.98);
}

/* ============================================
   SIDE MENU (OFFCANVAS)
   ============================================ */
.side-menu {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--color-bg-card);
  z-index: var(--z-overlay);
  transition: right var(--duration-normal) var(--ease-out);
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}

.side-menu.open {
  right: 0;
}

.side-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.side-menu__overlay.open {
  opacity: 1;
  visibility: visible;
}

.side-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.side-menu__close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast);
}

.side-menu__close:hover {
  background: var(--color-bg-alt);
}

.side-menu__nav {
  padding: var(--space-xl);
}

.side-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  border-bottom: 1px solid var(--color-border-light);
}

.side-menu__link:hover {
  color: var(--color-primary);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 13px;
  line-height: 1;
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}

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

.breadcrumbs__sep {
  color: var(--color-border);
  font-size: 11px;
  user-select: none;
}

.breadcrumbs__current {
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */

/* ── Static page hero header ── */
.static-page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-bg-sage-light) 0%, var(--color-bg-sage) 100%);
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(74,155,110,0.12);
}
.static-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 15% 90%, rgba(74,155,110,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 10%, rgba(74,155,110,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.static-page-hero .container {
  position: relative;
  z-index: 1;
}
.static-page-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--color-text-forest);
  font-weight: var(--weight-bold);
  letter-spacing: var(--letter-tight);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}
.static-page-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero with background image — contained card style */
.static-page-hero--has-img {
  background: var(--color-bg);
  padding: clamp(24px, 3vw, 40px) 0 0;
}
.static-page-hero--has-img::before {
  display: none;
}
.static-page-hero--has-img .container {
  position: relative;
  z-index: 1;
  min-height: clamp(260px, 35vh, 400px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.static-page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  border-radius: var(--radius-xl);
}
.static-page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-xl);
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.2) 40%,
    rgba(0,0,0,0.55) 75%,
    rgba(0,0,0,0.72) 100%);
}
.static-page-hero--has-img .static-page-hero__title {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  padding: 0 clamp(20px, 3vw, 40px);
}
.static-page-hero--has-img .static-page-hero__desc {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  padding: 0 clamp(20px, 3vw, 40px);
}

/* Featured image */
.page-content__featured {
  margin: -40px auto 0;
  max-width: 900px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}
.page-content__featured img {
  width: 100%;
  height: auto;
  display: block;
}

/* Legacy fallback */
.page-header {
  padding: var(--space-4xl) 0 var(--space-2xl);
  text-align: center;
}

.page-header__title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-md);
}

.page-header__description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.page-content__body {
  padding-top: var(--space-xl);
}

.page-content p {
  font-size: var(--text-lg);
  line-height: var(--line-normal);
  margin-bottom: var(--space-xl);
}

/* Rich Content Page Styles — for admin-editable pages */
.page-content__body {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--space-4xl);
}

.page-content__body h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  margin: var(--space-3xl) 0 var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary-bg);
  color: var(--color-text-primary);
}

.page-content__body h2:first-child {
  margin-top: 0;
}

.page-content__body h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin: var(--space-2xl) 0 var(--space-md);
  color: var(--color-primary);
}

.page-content__body p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.page-content__body strong {
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
}

.page-content__body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast);
}

.page-content__body a:hover {
  color: var(--color-primary-dark);
}

.page-content__body ul,
.page-content__body ol {
  margin: 0 0 var(--space-xl);
  padding-left: 0;
  list-style: none;
}

.page-content__body ol {
  counter-reset: item;
}

.page-content__body ul li,
.page-content__body ol li {
  position: relative;
  padding: var(--space-md) var(--space-lg);
  padding-left: calc(var(--space-lg) + 28px);
  margin-bottom: var(--space-xs);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.page-content__body ul li:hover,
.page-content__body ol li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.page-content__body ul li::before {
  content: '';
  position: absolute;
  left: var(--space-lg);
  top: calc(var(--space-md) + 8px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.page-content__body ol li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: var(--space-lg);
  top: var(--space-md);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-content__body blockquote,
.seo-text-block__content blockquote,
.woocommerce-product-details__short-description blockquote,
.woocommerce-Tabs-panel blockquote,
.entry-content blockquote {
  position: relative;
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) var(--space-2xl) var(--space-xl) calc(var(--space-2xl) + 4px);
  background: linear-gradient(135deg, rgba(74,155,110,0.07) 0%, rgba(74,155,110,0.03) 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: inset 0 0 0 1px rgba(74,155,110,0.1), 0 4px 20px rgba(0,0,0,0.08);
  font-style: normal;
  overflow: hidden;
}

/* Large decorative quote mark */
.page-content__body blockquote::before,
.seo-text-block__content blockquote::before,
.woocommerce-product-details__short-description blockquote::before,
.woocommerce-Tabs-panel blockquote::before,
.entry-content blockquote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  right: 20px;
  font-size: 7rem;
  line-height: 1;
  color: rgba(74,155,110,0.12);
  font-family: Georgia, serif;
  pointer-events: none;
  font-style: italic;
}

.page-content__body blockquote p,
.seo-text-block__content blockquote p,
.woocommerce-product-details__short-description blockquote p,
.woocommerce-Tabs-panel blockquote p,
.entry-content blockquote p {
  color: var(--color-text);
  font-size: clamp(var(--text-md), 1.6vw, var(--text-lg));
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.page-content__body blockquote p:last-of-type,
.seo-text-block__content blockquote p:last-of-type,
.woocommerce-product-details__short-description blockquote p:last-of-type,
.woocommerce-Tabs-panel blockquote p:last-of-type,
.entry-content blockquote p:last-of-type {
  margin-bottom: 0;
}

.page-content__body blockquote cite,
.seo-text-block__content blockquote cite,
.woocommerce-product-details__short-description blockquote cite,
.woocommerce-Tabs-panel blockquote cite,
.entry-content blockquote cite {
  display: block;
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(74,155,110,0.2);
}

/* Inside SEO block (sage bg) — adjust colours */
.seo-text-block__content blockquote {
  background: rgba(255,255,255,0.6);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.seo-text-block__content blockquote p {
  color: var(--color-text-forest);
}
.seo-text-block__content blockquote::before {
  color: rgba(74,155,110,0.2);
}

.page-content__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Full-width image in content */
.page-content__body .alignfull,
.page-content__body .alignwide {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
  border-radius: 0;
}
.page-content__body .alignwide {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}

/* WP captions */
.page-content__body .wp-caption,
.page-content__body figure.wp-block-image {
  max-width: 100%;
  margin: var(--space-2xl) 0;
}
.page-content__body .wp-caption img,
.page-content__body figure.wp-block-image img {
  margin-bottom: var(--space-sm);
}
.page-content__body .wp-caption-text,
.page-content__body figcaption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
}

/* Tables in content */
.page-content__body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.page-content__body th {
  background: var(--color-bg-alt);
  font-weight: var(--weight-semibold);
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-sm);
  border-bottom: 2px solid var(--color-border);
}
.page-content__body td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--text-base);
}
.page-content__body tr:last-child td {
  border-bottom: none;
}

/* HR dividers */
.page-content__body hr {
  border: none;
  height: 2px;
  background: var(--color-border-light);
  margin: var(--space-3xl) 0;
}

/* Blog card link styling */
.blog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card__link:hover .blog-card__title {
  color: var(--color-primary);
}

/* Blog pagination */
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: all var(--duration-fast);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--color-primary);
  color: white;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
  width: auto;
  padding: 0 var(--space-lg);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-4xl);
}

/* Blog placeholder & empty */
.blog-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-sage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-4xl);
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
}

/* Single post */
.single-post {
  padding-bottom: var(--space-5xl);
}

.single-post__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-3xl) auto var(--space-3xl);
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.single-post__image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post__nav {
  margin-top: var(--space-4xl);
  padding: var(--space-2xl) 0 var(--space-3xl);
  border-top: 1px solid var(--color-border-light);
}

.single-post__nav .nav-links {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xl);
}

.single-post__nav .nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
}

.single-post__nav .nav-links a:hover {
  color: var(--color-primary);
}

/* Hero date for blog posts */
.static-page-hero__date {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.blog-card__body {
  padding: var(--space-xl);
}

.blog-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ============================================
   SPIN ANIMATION
   ============================================ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 0.8s linear infinite;
}

/* ============================================
   TOAST — minimal
   ============================================ */
.ct {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  font-size: 13px;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: auto;
}
.ct--in { opacity: 1; transform: translateY(0); }
.ct svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 3; fill: none; background: var(--color-primary); border-radius: 50%; padding: 3px; flex-shrink: 0; box-sizing: content-box; }
.ct p { margin: 0; font-weight: 500; }
.ct b { cursor: pointer; color: var(--color-text-muted); font-weight: 300; font-size: 18px; margin-left: 6px; line-height: 1; }
.ct b:hover { color: var(--color-text); }

@media (max-width: 576px) {
  .ct { top: auto; bottom: 16px; right: 12px; left: 12px; }
}

/* WC inline "added to cart" message — compact override */
.woocommerce-notices-wrapper {
  position: fixed;
  top: 20px;
  right: 20px;
  left: auto;
  z-index: 10000;
  max-width: 340px;
  pointer-events: auto;
}

.woocommerce-notices-wrapper:empty {
  display: none;
}

/* Hide WC default "added to cart" notice — we use custom toast instead */
.woocommerce-message {
  display: none !important;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 576px) {
  .woocommerce-notices-wrapper {
    top: auto;
    bottom: 16px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger children */
.stagger>*:nth-child(1) {
  transition-delay: 0ms;
}

.stagger>*:nth-child(2) {
  transition-delay: 80ms;
}

.stagger>*:nth-child(3) {
  transition-delay: 160ms;
}

.stagger>*:nth-child(4) {
  transition-delay: 240ms;
}

.stagger>*:nth-child(5) {
  transition-delay: 320ms;
}

.stagger>*:nth-child(6) {
  transition-delay: 400ms;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 992px) {

  .header-search,
  .header-nav {
    display: none;
  }

  .header-promo {
    display: none;
  }

  .header-main {
    height: 76px;
    gap: 14px;
  }

  .header-left {
    flex: 0 0 auto;
  }

  .header-center {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-right {
    flex: 0 0 auto;
    gap: 10px;
  }

  .header-cta-btn {
    display: none;
  }

  .header-catalog-btn span {
    display: none;
  }

  .header-catalog-btn {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: static;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery__thumbs {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
  }

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

  .categories-grid--secondary {
    grid-template-columns: 1fr;
  }

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

  .promo-banner__inner {
    flex-direction: column;
  }

  .promo-banner__image {
    flex: none;
    width: 100%;
  }

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

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

/* ── Categories: 1 per row below 720px ── */
@media (max-width: 720px) {
  .categories-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-md);
  }

  .header-promo {
    display: none;
  }

  .header-main {
    flex-wrap: wrap;
    height: auto;
    padding: 0;
    gap: 0;
    align-items: center;
  }

  .header-center {
    order: -1;
    flex: 0 0 100%;
    padding: 13px var(--gutter);
    border-bottom: 1px solid var(--color-border-light);
    justify-content: center;
  }

  .header-left {
    flex: 0 0 auto;
    padding: 9px 0;
    gap: 0;
  }

  .header-right {
    flex: 1;
    justify-content: flex-end;
    padding: 9px 0;
    gap: 8px;
  }

  .header-cta-btn {
    display: none;
  }

  .currency-switcher__toggle {
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  :root {
    --gutter: 16px;
  }

  .header-main {
    flex-wrap: wrap;
    height: auto;
    padding: 0;
    gap: 0;
    align-items: center;
  }

  /* Row 1: logo only, centered */
  .header-center {
    order: -1;
    flex: 0 0 100%;
    padding: 13px var(--gutter);
    border-bottom: 1px solid var(--color-border-light);
    justify-content: center;
  }

  /* Row 2: hamburger left | catalog+CTA+cart right */
  .header-left {
    flex: 0 0 auto;
    padding: 9px 0;
    gap: 0;
  }

  .header-right {
    flex: 1;
    justify-content: flex-end;
    padding: 9px 0;
    gap: 8px;
  }

  .header-promo {
    display: none;
  }

  .header-cta-btn {
    display: none;
  }

  .hero {
    min-height: 60vh;
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .categories-grid--primary {
    grid-template-columns: 1fr;
  }

  .category-card--secondary {
    aspect-ratio: 16/6.4;
    min-height: 170px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .product-card__body {
    padding: var(--space-md);
  }

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

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
  }

  .footer-top .header-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer-bottom > div {
    justify-content: center;
  }

  .side-menu {
    width: 100%;
    right: -100%;
  }

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

  .floating-contact {
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

.catalog-page {
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.catalog-header__left {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
}

.catalog-header__title {
  font-size: var(--text-4xl);
}

.catalog-header__count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.catalog-header__right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.catalog-filter-toggle {
  display: none;
}

@media (min-width: 993px) {
  .catalog-filter-toggle {
    display: none !important;
  }
}

/* Catalog 2-column layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* No sidebar — full width products grid */
.catalog-layout--no-sidebar {
  grid-template-columns: 1fr;
}
.catalog-layout--no-sidebar .catalog-content .products {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px) {
  .catalog-layout--no-sidebar .catalog-content .products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .catalog-layout--no-sidebar .catalog-content .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .catalog-layout--no-sidebar .catalog-content .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-sm);
  }
}

/* Sidebar */
.catalog-filters {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 140px;
}

/* Filter groups */
.filter-group {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border-light);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group__title {
  font-size: 11px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

/* Checkboxes */
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
  line-height: 1.3;
}

.filter-checkbox:hover {
  color: var(--color-text);
}

.filter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 3px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
  flex-shrink: 0;
}

.filter-checkbox input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.filter-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  color: white;
  font-size: 11px;
  font-weight: bold;
}

/* Price range inputs */
.price-range {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.price-range__input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  text-align: center;
  background: var(--color-bg);
  transition: border-color var(--duration-fast);
}

.price-range__input:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* Color swatches */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration-fast);
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-bg);
}

/* Filter action buttons */
.filter-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.filter-actions .btn {
  flex: 1;
}

.catalog-sort__select {
  padding: 10px 36px 10px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A6270' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--duration-fast);
}

.catalog-sort__select:focus {
  border-color: var(--color-primary);
}

/* Filter sidebar header */
.catalog-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-light);
}

.catalog-filters__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.catalog-filters__close {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.catalog-filters__close:hover {
  background: var(--color-bg-alt);
}

.catalog-filters__overlay {
  display: none;
}

.filter-checkbox__count {
  margin-left: auto;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

/* WooCommerce product loop overrides */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--space-lg);
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  /* Prevent float-based WooCommerce CSS from collapsing the grid */
  float: none !important;
  clear: none !important;
}

/* FIX: WooCommerce adds pseudo-elements that break CSS Grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  position: relative;
  min-width: 0; /* prevent grid blowout */
}

.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
  content: none !important;
  display: none !important;
}

/* WooCommerce loop image — fill the card image area properly */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.woocommerce ul.products li.product img.wp-post-image,
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* Remove list bullets from product cards */
.woocommerce .product-card,
.woocommerce ul.products .product-card {
  list-style: none;
}

/* Ensure product card fills the li */
.woocommerce ul.products li.product .product-card {
  height: 100%;
}

/* ─── WooCommerce Variation Form Styling ─── */
.variations_form {
  margin-top: var(--space-md);
}

.variations_form .variations {
  width: 100%;
  border: none;
  margin-bottom: var(--space-lg);
}

.variations_form .variations tr {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.variations_form .variations .label {
  display: block;
  padding: 0;
}

.variations_form .variations .label label {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.variations_form .variations .value {
  display: block;
  padding: 0;
}

.variations_form .variations select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A6270' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--duration-fast);
}

.variations_form .variations select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}

.variations_form .variations .reset_variations {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: underline;
  cursor: pointer;
}

/* Variation price display */
.woocommerce-variation-price {
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.woocommerce-variation-price .price {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.woocommerce-variation-price .price del {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-weight: var(--weight-normal);
}

.woocommerce-variation-price .price ins {
  text-decoration: none;
  color: var(--color-primary);
}

/* Variation add to cart */
.woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.woocommerce-variation-add-to-cart .quantity {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.woocommerce-variation-add-to-cart .quantity .qty {
  width: 50px;
  text-align: center;
  border: none;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  padding: 10px 4px;
  -moz-appearance: textfield;
}

.woocommerce-variation-add-to-cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce-variation-add-to-cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex: 1;
  padding: 12px 24px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: all var(--duration-normal);
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-variation-add-to-cart .single_add_to_cart_button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.woocommerce-variation-add-to-cart .single_add_to_cart_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Variation description */
.woocommerce-variation-description p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

/* ─── SCANDINAF Pill Buttons (Single Product Variations) ─── */
.scandinaf-variations-form {
  margin-top: var(--space-md);
}

.scandinaf-variation-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

.scandinaf-variation-group__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.scandinaf-variation-group__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scandinaf-pill {
  padding: 8px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.scandinaf-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.scandinaf-pill.active {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
}

.scandinaf-pill.unavailable {
  opacity: 0.3;
  pointer-events: none;
  text-decoration: line-through;
}

/* SCANDINAF price display */
.scandinaf-variation-price {
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.scandinaf-variation-price .price {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.scandinaf-variation-price .price del {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-weight: var(--weight-normal);
}

.scandinaf-variation-price .price ins {
  text-decoration: none;
  color: var(--color-primary);
}

/* SCANDINAF qty wrap */
.scandinaf-qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.scandinaf-qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--color-text);
  transition: background var(--duration-fast);
}

.scandinaf-qty-btn:hover {
  background: var(--color-bg-alt);
}

.scandinaf-qty-wrap .qty,
.scandinaf-qty-wrap input[name="quantity"] {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border-light);
  border-right: 1px solid var(--color-border-light);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  padding: 8px 0;
  -moz-appearance: textfield;
}

.scandinaf-qty-wrap .qty::-webkit-outer-spin-button,
.scandinaf-qty-wrap .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* SCANDINAF Add to cart row */
.scandinaf-add-to-cart {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.scandinaf-cart-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.scandinaf-cart-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Reset link */
.scandinaf-variations-form .reset_variations {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* Catalog Filter: 2-column checkbox grid */
.filter-group__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
}

.filter-group__options--single-col {
  grid-template-columns: 1fr;
}

/* ─── Quick Filter Tags (pre-set filters) ─── */
.catalog-quick-filters {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  width: auto;
  max-width: 100%;
  gap: 6px 10px;
  margin: -8px 0 22px;
  padding: 8px 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(248,251,249,.78));
  border: 1px solid rgba(226,230,234,.9);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(26, 43, 30, .045);
  backdrop-filter: blur(10px);
}

.catalog-quick-filters__title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin: 0 2px 0 0;
  flex-shrink: 0;
}

.catalog-quick-filters__title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.catalog-quick-filters__group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 6px;
  padding: 0;
  margin: 0;
  border-right: none;
}

.catalog-quick-filters__group + .catalog-quick-filters__group {
  padding-left: 10px;
  border-left: 1px solid rgba(226,230,234,.8);
}

.catalog-quick-filters__group-label {
  font-size: 10px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  min-width: 0;
  margin-right: 3px;
  flex-shrink: 0;
  opacity: 0.75;
}

.catalog-quick-filters__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.catalog-quick-filters__link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 11px;
  font-weight: var(--weight-medium);
  color: var(--color-primary-dark);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(74,155,110,0.22);
  background: rgba(255,255,255,.76);
  transition: all var(--duration-fast);
  white-space: nowrap;
  line-height: 1;
}

.catalog-quick-filters__link:hover,
.catalog-quick-filters__link.active {
  color: #fff;
  border-color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 8px 18px rgba(74,155,110,0.22);
  transform: translateY(-1px);
}

.catalog-quick-filters__link .count {
  font-size: 9px;
  opacity: 0.56;
  margin-left: 3px;
}

@media (max-width: 768px) {
  .catalog-quick-filters {
    display: block;
    width: 100%;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    overflow: hidden;
  }

  .catalog-quick-filters__title {
    margin: 0;
  }

  .catalog-quick-filters__group {
    display: block;
  }

  .catalog-quick-filters__group-label {
    display: block;
    min-width: 0;
    margin: 0 0 6px;
  }

  .catalog-quick-filters__links {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .catalog-quick-filters__links::-webkit-scrollbar {
    display: none;
  }
}

/* Loading placeholder — shown instead of "No Products Found" when URL has filter params */
.catalog-loading-placeholder {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.catalog-spinner {
  display: block;
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

/* No products found */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
}

.no-products h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.no-products p {
  margin-bottom: var(--space-xl);
}

/* ============================================
   CATALOG PAGINATION
   Higher specificity overrides WooCommerce's own woocommerce.css
   ============================================ */
.scandinaf-pagination-wrap {
  margin-top: 40px;
  margin-bottom: 16px;
}

/* Kill WooCommerce default pagination styles */
nav.woocommerce-pagination ul,
.scandinaf-pagination-wrap ul.page-numbers {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

nav.woocommerce-pagination ul li,
.scandinaf-pagination-wrap ul.page-numbers li {
  display: flex;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Base: every page number */
nav.woocommerce-pagination ul li .page-numbers,
nav.woocommerce-pagination ul li a.page-numbers,
nav.woocommerce-pagination ul li span.page-numbers,
.scandinaf-pagination-wrap ul.page-numbers li .page-numbers,
.scandinaf-pagination-wrap ul.page-numbers li a,
.scandinaf-pagination-wrap ul.page-numbers li span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border: 1.5px solid var(--color-border) !important;
  background: #fff !important;
  transition: all 0.18s ease;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
}

/* Hover */
nav.woocommerce-pagination ul li a.page-numbers:hover,
.scandinaf-pagination-wrap ul.page-numbers li a:hover {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  background: var(--color-primary-bg) !important;
}

/* Current page */
nav.woocommerce-pagination ul li span.page-numbers.current,
.scandinaf-pagination-wrap ul.page-numbers li span.current {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 10px rgba(74,155,110,0.35) !important;
}

/* Dots */
nav.woocommerce-pagination ul li span.page-numbers.dots,
.scandinaf-pagination-wrap ul.page-numbers li span.dots {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--color-text-muted) !important;
  pointer-events: none;
  min-width: 28px;
}

/* Prev / Next arrows only */
nav.woocommerce-pagination ul li a.page-numbers.prev,
nav.woocommerce-pagination ul li a.page-numbers.next,
.scandinaf-pagination-wrap ul.page-numbers li a.prev,
.scandinaf-pagination-wrap ul.page-numbers li a.next {
  font-size: 0 !important;
  min-width: 42px;
  border-color: var(--color-border) !important;
  background: #fff !important;
  color: var(--color-text-secondary) !important;
  position: relative;
}

nav.woocommerce-pagination ul li a.page-numbers.prev::before,
.scandinaf-pagination-wrap ul.page-numbers li a.prev::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 3px;
  color: var(--color-text-secondary);
}

nav.woocommerce-pagination ul li a.page-numbers.next::after,
.scandinaf-pagination-wrap ul.page-numbers li a.next::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-right: 3px;
  color: var(--color-text-secondary);
}

nav.woocommerce-pagination ul li a.page-numbers.prev:hover::before,
nav.woocommerce-pagination ul li a.page-numbers.next:hover::after,
.scandinaf-pagination-wrap ul.page-numbers li a.prev:hover::before,
.scandinaf-pagination-wrap ul.page-numbers li a.next:hover::after {
  color: var(--color-primary);
}

nav.woocommerce-pagination ul li a.page-numbers.prev:hover,
nav.woocommerce-pagination ul li a.page-numbers.next:hover,
.scandinaf-pagination-wrap ul.page-numbers li a.prev:hover,
.scandinaf-pagination-wrap ul.page-numbers li a.next:hover {
  border-color: var(--color-primary) !important;
  background: var(--color-primary-bg) !important;
}

/* ============================================
   CART PAGE
   ============================================ */
/* ============================================
   CART PAGE — SCANDINAF CUSTOM
   ============================================ */

/* WooCommerce utility pages spacing */
.woocommerce-main {
  padding-bottom: 80px;
}
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  padding: 0;
}

/* WooCommerce notices */
.woocommerce-notices-wrapper {
  margin-bottom: 20px;
}
.woocommerce-notices-wrapper:empty {
  display: none;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  padding: 14px 18px 14px 48px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  position: relative;
  border-left: 3px solid;
}
.woocommerce-message {
  background: var(--color-success-bg);
  border-color: var(--color-primary);
  color: var(--color-success-text);
}
.woocommerce-info {
  background: var(--color-info-bg);
  border-color: #3b82f6;
  color: var(--color-info-text);
}
.woocommerce-error {
  background: var(--color-danger-bg);
  border-color: var(--color-danger);
  color: var(--color-danger-text);
}
.woocommerce-message::before,
.woocommerce-info::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%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' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  transition: background .2s;
  margin-left: 12px;
  margin-top: -2px;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover {
  background: var(--color-primary-dark);
}

/* ── Cart page wrapper ── */
.scandinaf-cart-page {
  padding: 40px 0 0;
}

.scandinaf-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.scandinaf-cart-title {
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.scandinaf-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.scandinaf-cart-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color .2s;
}
.scandinaf-cart-continue:hover { color: var(--color-primary); }

/* ── 2-column layout ── */
.scandinaf-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* ── Cart table (legacy) ── */
.scandinaf-cart-table { display: none; }

/* ── Cart items (div-based) ── */
.scandinaf-cart-list {
  display: flex;
  flex-direction: column;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  grid-template-rows: auto;
  gap: 0 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.cart-item:last-child { border-bottom: none; }

.cart-item__img { grid-column: 1; grid-row: 1; }
.cart-item__img img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.cart-item__img a { display: block; }

.cart-item__info { grid-column: 2; grid-row: 1; min-width: 0; }
.cart-item__name { display: block; font-size: 14px; font-weight: 600; color: var(--color-text); text-decoration: none; line-height: 1.3; margin-bottom: 2px; }
.cart-item__name:hover { color: var(--color-primary); }
.cart-item__attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 7px 0 8px;
  max-width: 520px;
}

.cart-attr-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(74, 155, 110, .07);
  border: 1px solid rgba(74, 155, 110, .16);
  color: var(--color-primary-dark);
  line-height: 1;
  white-space: nowrap;
}

.cart-attr-chip__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: .62;
}

.cart-attr-chip__value {
  font-size: 11px;
  font-weight: 650;
}

.cart-attr-chip.is-muted {
  background: rgba(139, 146, 154, .07);
  border-color: rgba(139, 146, 154, .16);
  color: var(--color-text-muted);
}

.cart-item__price {
  display: inline-flex;
  margin-top: 1px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.cart-item__qty { grid-column: 3; grid-row: 1; }

.cart-item__subtotal { grid-column: 4; grid-row: 1; font-size: 15px; font-weight: 700; color: var(--color-primary); white-space: nowrap; text-align: right; min-width: 90px; }

.cart-item__remove { grid-column: 5; grid-row: 1; }
.cart-item__remove .scandinaf-cart-remove { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--color-text-muted); font-size: 18px; text-decoration: none; transition: all 0.2s; }
.cart-item__remove .scandinaf-cart-remove:hover { background: var(--color-danger-bg); color: var(--color-danger); }

/* ── Cart mobile ── */
@media (max-width: 768px) {
  .scandinaf-cart-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .scandinaf-order-summary { position: static; }
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 0 10px;
    padding: 12px 0;
    position: relative;
  }
  .cart-item__img { grid-column: 1; grid-row: 1 / 3; align-self: start; }
  .cart-item__img img { width: 48px; height: 48px; border-radius: 8px; }

  .cart-item__info { grid-column: 2; grid-row: 1; padding-right: 20px; }
  .cart-item__name { font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cart-item__attrs { gap: 4px; margin: 6px 0 6px; max-width: 100%; }
  .cart-attr-chip { min-height: 22px; padding: 3px 7px; gap: 4px; }
  .cart-attr-chip__label { font-size: 8px; }
  .cart-attr-chip__value { font-size: 10px; }
  .cart-item__price { font-size: 11px; }

  .cart-item__qty { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 8px; margin-top: 4px; }
  .cart-item__subtotal { grid-column: 2; grid-row: 2; margin-left: auto; font-size: 13px; font-weight: 600; min-width: auto; text-align: right; }

  .cart-item__remove { position: absolute; top: 12px; right: 0; }
  .cart-item__remove .scandinaf-cart-remove { width: 20px; height: 20px; font-size: 14px; }

  .scandinaf-qty-control { height: 28px; }
  .scandinaf-qty-btn { width: 24px; font-size: 13px; }
  .scandinaf-qty-input { width: 28px; font-size: 11px; }

  .scandinaf-cart-actions { flex-direction: column; gap: 10px; }
  .scandinaf-coupon { flex-direction: column; }
  .scandinaf-coupon__btn { width: 100%; }
  .scandinaf-cart-header { flex-direction: column; align-items: flex-start; }

  .scandinaf-order-summary { padding: 12px; border-radius: 10px; }
  .scandinaf-order-summary__title { font-size: 14px; margin-bottom: 10px; padding-bottom: 8px; }
  .scandinaf-summary-line { font-size: 13px; padding: 8px 0; gap: 6px; }
  .scandinaf-summary-line--total { font-size: 16px; padding-top: 8px; }
  .wc-proceed-to-checkout .checkout-button,
  .scandinaf-order-summary .checkout-button { padding: 12px !important; font-size: 13px !important; border-radius: 8px !important; margin-bottom: 10px !important; }
  .scandinaf-order-summary__trust-line { font-size: 10px; padding: 8px 0; flex-wrap: wrap; }
  .scandinaf-order-summary .config-payment-icons { padding-top: 8px; margin-top: 0; border: none; }
  .scandinaf-order-summary .pay-icon { width: 34px; height: 22px; }
}

/* ── OLD Cart table ── */
.scandinaf-cart-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.04);
}

.scandinaf-cart-table thead th {
  background: var(--color-bg);
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--color-text-muted);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.scandinaf-cart-table thead .col-price,
.scandinaf-cart-table thead .col-subtotal { text-align: right; }
.scandinaf-cart-table thead .col-qty { text-align: center; }

.scandinaf-cart-row td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.scandinaf-cart-row:last-child td { border-bottom: none; }

/* Thumbnail */
.col-thumb { width: 80px; padding-right: 0 !important; }
.col-thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Name */
.scandinaf-cart-row__name {
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}
.scandinaf-cart-row__name:hover { color: var(--color-primary); }

/* Price / subtotal */
.col-price, .col-subtotal {
  text-align: right;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.col-subtotal { color: var(--color-primary); }

/* Qty control */
.col-qty { text-align: center; width: 120px; }

.scandinaf-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 38px;
}

.scandinaf-qty-btn {
  width: 36px;
  height: 100%;
  border: none;
  background: none;
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text);
  cursor: pointer;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.scandinaf-qty-btn:hover { background: var(--color-bg); }

.scandinaf-qty-input {
  width: 44px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  height: 100%;
  -moz-appearance: textfield;
}
.scandinaf-qty-input::-webkit-inner-spin-button,
.scandinaf-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Remove button */
.col-remove { width: 40px; text-align: center; }

.scandinaf-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--color-text-muted);
  background: transparent;
  transition: all .2s;
}
.scandinaf-cart-remove:hover {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

/* ── Cart actions row ── */
.scandinaf-cart-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg);
  border-radius: 0 0 12px 12px;
  flex-wrap: wrap;
}

.scandinaf-coupon {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 200px;
}

.scandinaf-coupon__input {
  flex: 1;
  padding: 9px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: border-color .2s;
}
.scandinaf-coupon__input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}

.scandinaf-coupon__btn {
  padding: 9px 18px;
  background: var(--color-text);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.scandinaf-coupon__btn:hover { background: var(--color-primary); }

.scandinaf-update-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all .2s;
  margin-left: auto;
}
.scandinaf-update-cart:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ── Empty cart ── */
.scandinaf-cart-empty {
  text-align: center;
  padding: 80px 40px;
}
.scandinaf-cart-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: var(--color-bg);
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--color-text-muted);
}
.scandinaf-cart-empty h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.scandinaf-cart-empty p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* ── Order summary panel ── */
.scandinaf-order-summary {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.04);
  position: sticky;
  top: 100px;
}

.scandinaf-order-summary__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.scandinaf-order-summary__lines {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.scandinaf-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  gap: 8px;
}
.scandinaf-summary-line:last-child { border-bottom: none; }
.scandinaf-summary-line > span:first-child { flex-shrink: 0; }
.scandinaf-summary-line > span:last-child { text-align: right; word-break: break-all; }

.scandinaf-summary-line--discount { color: var(--color-success); }

.scandinaf-summary-line--total {
  font-size: 18px;
  font-weight: 700;
  padding-top: 14px;
  border-top: 2px solid var(--color-text);
  border-bottom: none;
  margin-top: 4px;
}

.scandinaf-summary-line .woocommerce-Price-amount { white-space: nowrap; }

/* Checkout button */
.wc-proceed-to-checkout .checkout-button,
.scandinaf-order-summary .checkout-button {
  display: block !important;
  width: 100% !important;
  padding: 15px !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all .25s !important;
  margin-bottom: 16px !important;
}
.wc-proceed-to-checkout .checkout-button:hover,
.scandinaf-order-summary .checkout-button:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(74,155,110,.3) !important;
}

/* Trust line */
.scandinaf-order-summary__trust-line {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  border-top: 1px solid var(--color-border-light);
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.3;
}
.scandinaf-order-summary__trust-line svg { flex-shrink: 0; color: var(--color-primary); }

/* Payment icons in cart summary */
.scandinaf-order-summary__payments,
.scandinaf-order-summary .config-payment-icons {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  flex-wrap: wrap;
  margin: 0;
  border: none;
}

.scandinaf-order-summary .config-payment-icons {
  flex-direction: row;
}
.scandinaf-order-summary .pay-icon {
  width: 40px;
  height: 26px;
}

/* Shipping rows inside order summary */
.scandinaf-order-summary__lines tr.shipping,
.scandinaf-order-summary__lines .woocommerce-shipping-totals {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  gap: 12px;
}
.scandinaf-order-summary__lines tr.shipping th,
.scandinaf-order-summary__lines tr.shipping td {
  padding: 0;
  font-weight: normal;
}
.scandinaf-order-summary__lines tr.shipping td {
  text-align: right;
}
/* Shipping methods list */
.woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}
.woocommerce-shipping-methods li {
  font-size: 13px;
  color: var(--color-text);
}
.woocommerce-shipping-methods li label { cursor: pointer; }
/* Compact shipping calculator */
.shipping-calculator-button {
  font-size: 12px;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.shipping-calculator-form {
  margin-top: 10px;
  padding: 12px;
  background: var(--color-bg);
  border-radius: 8px;
  font-size: 13px;
}
.shipping-calculator-form p { margin-bottom: 8px; }
.shipping-calculator-form select,
.shipping-calculator-form input[type="text"] {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
}
.shipping-calculator-form .button {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Coupon summary */
.scandinaf-discount-amount .woocommerce-remove-coupon {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: var(--color-text-muted);
  text-decoration: none;
  opacity: .7;
}
.scandinaf-discount-amount .woocommerce-remove-coupon:hover { opacity: 1; color: var(--color-danger); }

/* ── Cart mobile ── */

/* ── Cross-sells ── */
.scandinaf-cart-cross-sells {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.scandinaf-cart-cross-sells > h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
/* WooCommerce cross-sells wrapper */
.scandinaf-cart-cross-sells .cross-sells > h2 { display: none; } /* Hide default heading */
.scandinaf-cart-cross-sells .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .scandinaf-cart-cross-sells .products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 900px) {
  .scandinaf-cart-layout {
    grid-template-columns: 1fr;
  }
  .scandinaf-order-summary {
    position: static;
  }
  .col-price { display: none; }
  .scandinaf-cart-table thead .col-price { display: none; }
  .scandinaf-cart-cross-sells .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .scandinaf-cart-actions { flex-direction: column; }
  .scandinaf-coupon { width: 100%; }
  .scandinaf-update-cart { width: 100%; justify-content: center; margin-left: 0; }
  .scandinaf-cart-cross-sells .products {
    grid-template-columns: 1fr !important;
  }
  .scandinaf-cart-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   WOOCOMMERCE CART BLOCK — EMPTY STATE
   (when the cart page uses the Gutenberg Cart Block)
   ============================================ */

/* Hide default separator */
.wp-block-woocommerce-empty-cart-contents .wp-block-separator,
.wc-block-empty-cart-contents .wp-block-separator {
  display: none !important;
}

/* Center empty-cart icon */
.wp-block-woocommerce-empty-cart-contents > .wp-block-image,
.wc-block-empty-cart-contents > .wp-block-image {
  text-align: center;
  margin: 0 auto 20px !important;
}
.wp-block-woocommerce-empty-cart-contents > .wp-block-image img,
.wc-block-empty-cart-contents > .wp-block-image img {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  border-radius: 50% !important;
  object-fit: cover;
  background: var(--color-bg);
  opacity: .75;
}

/* Main empty-cart heading */
.wp-block-woocommerce-empty-cart-contents > h2.wp-block-heading,
.wc-block-empty-cart-contents > h2.wp-block-heading {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  text-align: center !important;
  color: var(--color-text);
  margin: 0 0 4px !important;
}

/* Empty-cart subtitle */
.wp-block-woocommerce-empty-cart-contents > p,
.wc-block-empty-cart-contents > p {
  text-align: center !important;
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 32px !important;
}

/* New-in-store section */
.wp-block-woocommerce-empty-cart-contents > h2.wp-block-heading:not(:first-of-type),
.wc-block-empty-cart-contents > h2.wp-block-heading:not(:first-of-type) {
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: left !important;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 14px !important;
  margin: 48px 0 24px !important;
}

/* Product grid inside block */
.wp-block-woocommerce-empty-cart-contents .wc-block-grid__products,
.wc-block-empty-cart-contents .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wp-block-woocommerce-empty-cart-contents .wc-block-grid__product,
.wc-block-empty-cart-contents .wc-block-grid__product {
  margin: 0 !important;
  padding: 0 !important;
}

/* Start shopping button */
.wp-block-woocommerce-empty-cart-contents .wp-block-button__link,
.wc-block-empty-cart-contents .wp-block-button__link {
  background: var(--color-primary) !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 32px !important;
  color: #fff !important;
  transition: all .2s !important;
}
.wp-block-woocommerce-empty-cart-contents .wp-block-button__link:hover,
.wc-block-empty-cart-contents .wp-block-button__link:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(74,155,110,.25) !important;
}
.wp-block-woocommerce-empty-cart-contents .wp-block-buttons,
.wc-block-empty-cart-contents .wp-block-buttons {
  margin-top: 28px !important;
}

/* Spacer block */
.wp-block-woocommerce-empty-cart-contents .wp-block-spacer,
.wc-block-empty-cart-contents .wp-block-spacer {
  height: 0 !important;
}

/* WooCommerce Blocks product card */
.wc-block-grid__product {
  background: var(--color-bg-card) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-card) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out) !important;
  position: relative !important;
}
.wc-block-grid__product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.12) !important;
}

/* Product image */
.wc-block-grid__product-image {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  margin: 0 !important;
  background: var(--color-bg) !important;
}
.wc-block-grid__product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .4s var(--ease-out) !important;
  display: block !important;
}
.wc-block-grid__product:hover .wc-block-grid__product-image img {
  transform: scale(1.06) !important;
}

/* Text area */
.wc-block-grid__product-title,
.wc-block-grid__product .wc-block-grid__product-title a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--color-text) !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  display: block !important;
  padding: 12px 16px 4px !important;
  margin: 0 !important;
}
.wc-block-grid__product-title a:hover {
  color: var(--color-primary) !important;
}

/* Price */
.wc-block-grid__product-price {
  padding: 0 16px 12px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
}
.wc-block-grid__product-price del {
  color: var(--color-text-muted) !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  margin-right: 6px !important;
}

/* Rating */
.wc-block-grid__product-rating {
  padding: 0 16px !important;
}

/* Add to cart button */
.wc-block-grid__product-add-to-cart {
  padding: 0 16px 16px !important;
  margin-top: auto !important;
}
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product-add-to-cart a {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 10px 16px !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: background .2s, transform .15s !important;
}
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wc-block-grid__product-add-to-cart a:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px) !important;
}

/* Sale badge */
.wc-block-grid__product .wc-block-grid__product-onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  z-index: 1 !important;
}

/* Hide block artifact indicator */
.wc-block-grid__product > .wc-block-grid__product-onsale:empty {
  display: none !important;
}

/* Grid responsiveness */
@media (max-width: 1100px) {
  .wp-block-woocommerce-empty-cart-contents .wc-block-grid__products,
  .wc-block-empty-cart-contents .wc-block-grid__products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .wp-block-woocommerce-empty-cart-contents .wc-block-grid__products,
  .wc-block-empty-cart-contents .wc-block-grid__products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}
@media (max-width: 480px) {
  .wp-block-woocommerce-empty-cart-contents .wc-block-grid__products,
  .wc-block-empty-cart-contents .wc-block-grid__products {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   EMPTY CART PAGE (cart-empty.php)
   ============================================ */
.scandinaf-empty-cart {
  padding: 60px 0 80px;
}

/* Hero state */
.scandinaf-empty-cart__hero {
  text-align: center;
  padding: 60px 24px 48px;
  max-width: 480px;
  margin: 0 auto 56px;
}

.scandinaf-empty-cart__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: var(--color-bg);
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.scandinaf-empty-cart__title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--color-text);
}

.scandinaf-empty-cart__sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0 0 28px;
}

/* "You might like" products section */
.scandinaf-empty-cart__products {
  padding: 0;
}

.scandinaf-empty-cart__products-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

/* Grid — reuses .products-grid, just override gap */
.scandinaf-empty-cart__grid {
  gap: 24px;
}

@media (max-width: 480px) {
  .scandinaf-empty-cart__grid { grid-template-columns: 1fr; }
  .scandinaf-empty-cart__hero { padding: 40px 16px 32px; }
  .scandinaf-empty-cart__title { font-size: 22px; }
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.woocommerce-checkout .woocommerce { padding: 0; }

/* Checkout header and steps */
.scandinaf-checkout {
  padding: 40px 0 80px;
}
.scandinaf-checkout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.scandinaf-checkout__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}
.scandinaf-checkout__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.scandinaf-checkout__step {
  display: flex;
  align-items: center;
  gap: 6px;
}
.scandinaf-checkout__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
}
.scandinaf-checkout__step--active { color: var(--color-text); font-weight: 600; }
.scandinaf-checkout__step--active .scandinaf-checkout__step-num {
  background: var(--color-primary);
  color: #fff;
}
.scandinaf-checkout__step--done .scandinaf-checkout__step-num {
  background: var(--color-primary);
  color: #fff;
}
.scandinaf-checkout__step-sep { color: var(--color-border); }

/* ── 2-column full-width layout ── */
.scandinaf-checkout__body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
.scandinaf-checkout__sidebar {
  position: sticky;
  top: 90px;
}

/* ── Form sections (left col) ── */
.scandinaf-checkout__section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.scandinaf-checkout__section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.scandinaf-checkout__section-title svg { color: var(--color-primary); flex-shrink: 0; }

/* Hide WC's own internal section headings (we add our own) */
.woocommerce-billing-fields > h3,
.woocommerce-shipping-fields > h3 { display: none; }

/* ── Right sidebar: order card ── */
.scandinaf-checkout__order-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  overflow: hidden;
  margin-bottom: 16px;
}
.scandinaf-checkout__order-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.scandinaf-checkout__order-header svg { color: var(--color-primary); }
.scandinaf-checkout__order-card #order_review { padding: 0; }

/* ── WooCommerce field rows ── */
.woocommerce-checkout .form-row {
  margin-bottom: 14px;
}
.woocommerce-checkout .form-row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.woocommerce-checkout .form-row .required { color: var(--color-primary); margin-left: 2px; }

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74,155,110,.12);
  outline: none;
}
.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid select {
  border-color: var(--color-danger);
}
.woocommerce-checkout select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Billing fields 2-column grid for half-width rows */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide {
  grid-column: 1 / -1;
}
@media (max-width: 480px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100% !important;
    float: none !important;
  }
}

/* Checkout coupon form */
.woocommerce-form-coupon-toggle .woocommerce-info {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 16px !important;
  background: var(--color-bg) !important;
  border: 1px solid var(--color-border-light) !important;
  border-left: 3px solid var(--color-primary) !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  box-shadow: none !important;
  margin-bottom: 16px !important;
}

.checkout_coupon {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px !important;
  background: var(--color-bg) !important;
  border: 1px solid var(--color-border-light) !important;
  border-radius: 8px !important;
  margin-bottom: 16px !important;
}

.checkout_coupon .input-text {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1.5px solid var(--color-border) !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}

.checkout_coupon .button {
  width: 100% !important;
  padding: 10px !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.checkout_coupon .button:hover {
  background: var(--color-primary-dark) !important;
}

.woocommerce-checkout .col2-set { display: contents; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none; width: auto; padding: 0; background: none;
  box-shadow: none; border-radius: 0; margin: 0;
}

/* Shipping checkbox */
.woocommerce-checkout #ship-to-different-address {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.woocommerce-checkout #ship-to-different-address input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
#shipping_fields { margin-top: 8px; }

/* Order review table */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table .cart_item td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
}
.woocommerce-checkout-review-order-table .product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  max-width: 220px;
}
.woocommerce-checkout-review-order-table .product-name .product-quantity {
  display: block;
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 12px;
  margin-top: 3px;
  margin-left: 0;
}
.woocommerce-checkout-review-order-table .product-total {
  text-align: right;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  vertical-align: top;
  padding-top: 15px;
}
/* Totals rows */
.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .order-shipping,
.woocommerce-checkout-review-order-table .tax-rate {
  background: var(--color-bg);
}
.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .order-shipping th,
.woocommerce-checkout-review-order-table .tax-rate th {
  padding: 8px 20px;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 400;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .order-shipping td,
.woocommerce-checkout-review-order-table .tax-rate td {
  padding: 8px 20px;
  text-align: right;
  font-size: 12px;
  border-bottom: 1px solid var(--color-border);
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  padding: 14px 20px;
  border-bottom: none;
}
.woocommerce-checkout-review-order-table .order-total th {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}
.woocommerce-checkout-review-order-table .order-total td {
  text-align: right;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
}

/* Payment sits inside the order card */
#payment {
  border-top: 1px solid var(--color-border);
  padding: 16px 20px 20px;
}
#payment .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
#payment .wc_payment_method {
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color .2s;
}
#payment .wc_payment_method:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-success-bg);
}
#payment .wc_payment_method label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
#payment .wc_payment_method input[type="radio"] {
  accent-color: var(--color-primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
#payment .payment_box {
  padding: 10px 14px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Place order button */
#place_order {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: .2px;
}
#place_order:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,155,110,.3);
}

/* Privacy policy */
.woocommerce-privacy-policy-text {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
}
.woocommerce-privacy-policy-text a { color: var(--color-primary); }

/* Checkout responsive */
@media (max-width: 900px) {
  .scandinaf-checkout__body { grid-template-columns: 1fr; }
  .scandinaf-checkout__sidebar { position: static; }
  .scandinaf-checkout__header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .scandinaf-checkout { padding: 24px 0 60px; }
  .scandinaf-checkout__section { padding: 16px 16px; }
}

/* ── WooCommerce global buttons ── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background .2s !important;
  cursor: pointer !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--color-primary-dark) !important;
}

/* WooCommerce star rating */
.woocommerce .star-rating { color: var(--color-warning); }

/* ============================================
   MY ACCOUNT PAGE
   ============================================ */
.woocommerce-account .woocommerce { padding: 0; }

.scandinaf-account {
  padding: 40px 0 80px;
}

/* ── Account header ── */
.scandinaf-account__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.04);
  margin-bottom: 28px;
}
.scandinaf-account__avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--color-primary);
}
.scandinaf-account__name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
.scandinaf-account__email {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── 2-column: sidebar + content ── */
.scandinaf-account__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Sidebar nav ── */
.scandinaf-account__nav {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.04);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.scandinaf-account__nav-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
.scandinaf-account__nav-item { margin: 0; }
.scandinaf-account__nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: all .2s;
  border-left: 3px solid transparent;
}
.scandinaf-account__nav-link:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}
.scandinaf-account__nav-link svg { color: var(--color-text-muted); flex-shrink: 0; transition: color .2s; }
.scandinaf-account__nav-link:hover svg { color: var(--color-primary); }

.scandinaf-account__nav-item.is-active .scandinaf-account__nav-link {
  background: var(--color-success-bg);
  color: var(--color-primary);
  font-weight: 700;
  border-left-color: var(--color-primary);
}
.scandinaf-account__nav-item.is-active .scandinaf-account__nav-link svg {
  color: var(--color-primary);
}

/* Logout item */
.scandinaf-account__nav-item.woocommerce-MyAccount-navigation-link--customer-logout .scandinaf-account__nav-link {
  color: var(--color-text-muted);
  margin-top: 4px;
  border-top: 1px solid var(--color-border);
}
.scandinaf-account__nav-item.woocommerce-MyAccount-navigation-link--customer-logout .scandinaf-account__nav-link:hover {
  color: var(--color-danger);
  background: var(--color-danger-bg);
}

/* ── Account content area ── */
.scandinaf-account__content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.04);
  padding: 28px;
}

/* Dashboard welcome */
.woocommerce-MyAccount-content p { margin-bottom: 12px; font-size: 14px; line-height: 1.6; }
.woocommerce-MyAccount-content a { color: var(--color-primary); text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-content a:hover { text-decoration: underline; }

/* Orders table */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.woocommerce-orders-table thead th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-text-muted);
  padding: 10px 12px;
  border-bottom: 2px solid var(--color-border);
  text-align: left;
}
.woocommerce-orders-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.woocommerce-orders-table tbody tr:last-child td { border-bottom: none; }
.woocommerce-orders-table tbody tr:hover td { background: var(--color-bg); }

/* Order status badges */
.woocommerce-order-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
mark.order-status { background: none; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
mark.order-status.status-completed { background: #dcfce7; color: #15803d; }
mark.order-status.status-processing { background: #dbeafe; color: #1d4ed8; }
mark.order-status.status-on-hold { background: #fef9c3; color: #a16207; }
mark.order-status.status-cancelled,
mark.order-status.status-failed { background: var(--color-danger-bg); color: #b91c1c; }
mark.order-status.status-pending { background: var(--color-bg); color: var(--color-text-muted); }

/* Address sections */
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.woocommerce-Address {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 20px;
}
.woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.woocommerce-Address-title h3 { font-size: 15px; font-weight: 700; margin: 0; }
.woocommerce-Address-title a { font-size: 12px; color: var(--color-primary); font-weight: 500; text-decoration: none; }
address { font-style: normal; font-size: 13px; line-height: 1.7; color: var(--color-text-muted); }

/* Edit account / password forms */
.woocommerce-MyAccount-content .woocommerce-form-row {
  margin-bottom: 16px;
}
.woocommerce-MyAccount-content .woocommerce-form-row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content input[type="password"] {
  width: 100%;
  max-width: 480px;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.woocommerce-MyAccount-content input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74,155,110,.12);
  outline: none;
}
.woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-MyAccount-content button[type="submit"] {
  padding: 11px 28px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
}
.woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover {
  background: var(--color-primary-dark);
}

/* Account responsive */
@media (max-width: 860px) {
  .scandinaf-account__layout { grid-template-columns: 1fr; }
  .scandinaf-account__nav { position: static; }
  .scandinaf-account__nav-list { display: flex; flex-wrap: wrap; padding: 8px; gap: 4px; }
  .scandinaf-account__nav-link { padding: 8px 14px; border-radius: 6px; border-left: none !important; }
  .scandinaf-account__nav-item.is-active .scandinaf-account__nav-link { border-radius: 6px; }
  .scandinaf-account__nav-item.woocommerce-MyAccount-navigation-link--customer-logout .scandinaf-account__nav-link {
    border-top: none; margin-top: 0;
  }
  .woocommerce-Addresses { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .scandinaf-account { padding: 24px 0 60px; }
  .scandinaf-account__content { padding: 16px; }
  .scandinaf-account__header { flex-direction: column; text-align: center; }
  .woocommerce-orders-table thead { display: none; }
  .woocommerce-orders-table tbody td {
    display: flex;
    justify-content: space-between;
    border-bottom: none;
    padding: 6px 0;
  }
  .woocommerce-orders-table tbody td::before {
    content: attr(data-title);
    font-weight: 700;
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
  }
  .woocommerce-orders-table tbody tr { border-bottom: 1px solid var(--color-border); padding: 12px 0; display: block; }
}

/* ============================================
   CATALOG MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .catalog-filter-toggle {
    display: inline-flex;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: fixed;
    top: 0;
    left: -100%;
    width: 340px;
    height: 100vh;
    z-index: var(--z-overlay);
    overflow-y: auto;
    transition: left var(--duration-normal) var(--ease-out);
    border-radius: 0;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.15);
  }

  .catalog-filters.open {
    left: 0;
  }

  .catalog-filters__close {
    display: flex;
  }

  .catalog-filters__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-overlay) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
  }

  .catalog-filters__overlay.open {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .woocommerce form.checkout {
    grid-template-columns: 1fr;
  }

  #order_review_heading {
    grid-column: 1;
    grid-row: auto;
  }

  #order_review {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }
}

@media (max-width: 576px) {
  .catalog-filters {
    width: 100%;
    left: -100%;
  }

  .catalog-header__title {
    font-size: var(--text-2xl);
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-sm);
  }

  .catalog-sort__select {
    padding: 8px 30px 8px 12px;
    font-size: var(--text-xs);
  }

  /* Product card mobile fixes */
  .product-card__body {
    padding: var(--space-sm) var(--space-md);
  }

  .product-card__title {
    font-size: var(--text-sm);
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .product-card__current-price {
    font-size: var(--text-base);
  }

  .product-card__tags {
    gap: 4px;
  }

  .product-card__tag {
    font-size: 9px;
    padding: 2px 6px;
  }

  .product-card__image-wrap {
    aspect-ratio: 1;
  }
}

/* ─── Mobile ≤480px: 1 column + compact header ─── */
@media (max-width: 480px) {
  :root {
    --gutter: 12px;
  }

  /* ── Header: prevent horizontal overflow on narrow screens ── */
  .header-main {
    gap: 0;
  }

  .header-right {
    gap: 6px;
  }

  /* Logo row fits all sizes down to 320px */
  .site-logo__text {
    font-size: 1.25rem;
    letter-spacing: 0.18em;
  }


  .header-cta-btn {
    padding: 8px 10px;
  }

  .header-catalog-btn {
    padding: 7px 9px;
  }

  .products-grid,
  .woocommerce ul.products,
  .catalog-layout--no-sidebar .catalog-content .products {
    grid-template-columns: 1fr !important;
    gap: var(--space-md);
  }

  /* Normal vertical card — just smaller padding */
  .product-card {
    display: block; /* reset any grid overrides */
    border-radius: var(--radius-md);
  }

  .product-card__image-wrap {
    aspect-ratio: 1;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .product-card__body {
    padding: var(--space-sm) var(--space-md);
  }

  .product-card__title {
    font-size: var(--text-sm);
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .product-card__current-price {
    font-size: var(--text-base);
  }

  .product-card__tags {
    display: none;
  }

  .product-card__badge {
    font-size: 9px;
    padding: 2px 6px;
  }

  .catalog-header {
    margin-bottom: var(--space-lg);
  }

  .catalog-header__title {
    font-size: var(--text-xl);
  }

  .catalog-header__count {
    font-size: var(--text-xs);
  }

  .catalog-filter-toggle {
    padding: 6px 12px;
    font-size: var(--text-xs);
  }

  .page-header__title {
    font-size: var(--text-2xl);
  }

  .page-header__description {
    font-size: var(--text-sm);
  }

  .floating-contact {
    bottom: var(--space-sm);
    right: var(--space-sm);
  }

  .floating-contact__icons a {
    width: 36px;
    height: 36px;
  }

  /* Categories grid: 1 column on tiny screens */
  .categories-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-md);
  }

  .category-card {
    min-height: 160px;
  }
}

/* WP Admin bar fix — intentionally omitted; sticky top:0 works without offset */

/* ─── WooCommerce Cart Page ─── */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main {
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 60vh;
  padding: var(--space-3xl) 0;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
}

/* Cart page title */
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-account .entry-title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-2xl);
  text-align: left;
}

/* Cart table */
.woocommerce table.shop_table {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-collapse: collapse;
  width: 100%;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
  vertical-align: middle;
}

.woocommerce table.shop_table thead th {
  background: var(--color-bg-alt);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.woocommerce table.shop_table .product-name a {
  color: var(--color-text);
  font-weight: var(--weight-semibold);
}

.woocommerce table.shop_table .product-name a:hover {
  color: var(--color-primary);
}

.woocommerce table.shop_table .product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.woocommerce table.shop_table td.product-remove a.remove {
  color: var(--color-text-muted) !important;
  font-size: 20px;
  transition: color var(--duration-fast);
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
  color: var(--color-danger) !important;
  background: none !important;
}

/* Cart totals */
.woocommerce .cart_totals,
.woocommerce .cart-collaterals {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.woocommerce .cart_totals h2 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.woocommerce .cart_totals table {
  border: none !important;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
  border: none !important;
  padding: var(--space-sm) 0;
}

/* WC buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button {
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: 12px 28px !important;
  font-weight: var(--weight-semibold) !important;
  cursor: pointer;
  transition: all var(--duration-normal) !important;
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--text-sm) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--color-primary) !important;
}

/* Quantity inputs */
.woocommerce .quantity .qty {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  padding: 6px 12px;
  width: 60px;
  text-align: center;
}

/* WC notices */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  background: var(--color-bg-card);
  border-top-color: var(--color-primary);
  color: var(--color-text);
  border-radius: var(--radius-md);
}

.woocommerce .woocommerce-error {
  background: var(--color-danger-bg);
  border-top-color: var(--color-danger);
  color: var(--color-danger-text);
  border-radius: var(--radius-md);
}

/* Empty cart */
.woocommerce-cart .cart-empty {
  color: var(--color-text-secondary);
  text-align: center;
  font-size: var(--text-lg);
  padding: var(--space-3xl) 0;
}

.woocommerce-cart .return-to-shop {
  text-align: center;
}

/* Cross-sells / Related products on cart page */
.woocommerce .cross-sells h2,
.woocommerce .related h2,
.woocommerce .up-sells h2 {
  color: var(--color-text);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
}

/* Coupon form */
.woocommerce .coupon .input-text {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  padding: 8px 12px;
}


.breadcrumbs .separator {
  color: var(--color-border);
  font-size: 11px;
}

/* WooCommerce breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) 0;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--color-text-muted);
}

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

/* Quick filters mobile visibility */
@media (max-width: 768px) {
  .catalog-quick-filters {
    display: none;
  }
}

/* ─── WooCommerce Forms (checkout etc) ─── */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  padding: 10px 14px;
  font-size: var(--text-sm);
}

.woocommerce form .form-row label {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

/* WC select2 override */
.woocommerce .select2-container .select2-selection,
.select2-container--default .select2-selection--single {
  background: var(--color-bg) !important;
  border-color: var(--color-border) !important;
  color: var(--color-text) !important;
  border-radius: var(--radius-sm) !important;
  height: 42px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--color-text) !important;
  line-height: 42px !important;
}

.select2-dropdown {
  background: var(--color-bg-card) !important;
  border-color: var(--color-border) !important;
}

.select2-results__option {
  color: var(--color-text) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--color-primary) !important;
}

/* ============================================
   WOOCOMMERCE CART & CHECKOUT
   ============================================ */
   
/* General Buttons */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-weight: var(--weight-semibold);
  transition: all var(--duration-fast);
  border: none;
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
  background-color: var(--color-border);
  color: var(--color-text-muted);
}

/* Cart Table */
.woocommerce table.shop_table {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  border-collapse: separate;
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.woocommerce table.shop_table th {
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.5px;
}

.woocommerce table.shop_table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}

.woocommerce table.shop_table tbody tr:last-child td {
  border-bottom: none;
}

.woocommerce table.cart img {
  border-radius: var(--radius-sm);
  max-width: 80px;
}

/* Cart Totals Box */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.woocommerce-cart .cart-collaterals {
  margin-top: var(--space-2xl);
}

.woocommerce .cart-collaterals h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.woocommerce table.shop_table.shop_table_responsive tr td::before {
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
}

/* Checkout Page */
.woocommerce-checkout #customer_details {
  margin-bottom: var(--space-3xl);
}

.woocommerce form .form-row {
  margin-bottom: var(--space-md);
}

.woocommerce-checkout h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

/* Checkout Review Order Box */
#order_review_heading {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.woocommerce-checkout-review-order {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
}

.woocommerce #payment {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.woocommerce #payment div.payment_box {
  background: var(--color-bg-card);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.woocommerce #payment div.payment_box::before {
  border-bottom-color: var(--color-bg-card);
}

/* Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  padding: 16px 20px 16px 50px !important;
}

.woocommerce-message {
  border-top-color: var(--color-primary);
}

.woocommerce-message::before {
  color: var(--color-primary);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .woocommerce table.shop_table.shop_table_responsive tr {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    display: block;
    overflow: hidden;
  }
  
  .woocommerce table.shop_table.shop_table_responsive td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-sm) var(--space-md) !important;
  }
  
  .woocommerce table.shop_table.shop_table_responsive td.product-thumbnail {
    display: none;
  }
  
  .woocommerce table.shop_table.shop_table_responsive td:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   Catalog Sidebar Custom Elements
   ========================================================================== */

/* Color Swatches */
.filter-group__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
}
.filter-color-swatch {
  display: inline-flex;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
  margin: 0;
}
.filter-color-swatch:hover {
  border-color: var(--color-border);
}
.filter-color-swatch.active {
  border-color: var(--color-primary);
}
.filter-color-swatch .color-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}

/* Two-thumb Price Slider */
.price-slider-container {
  padding: 4px 0 2px;
}
.price-slider-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}
.price-slider-sep {
  color: var(--color-text-muted);
}
.price-slider-track {
  position: relative;
  height: 4px;
  background-color: #e5e7eb;
  border-radius: 2px;
  margin-bottom: 20px;
}
.price-slider-fill {
  position: absolute;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 2px;
  z-index: 1;
}
.price-slider-input {
  position: absolute;
  width: 100%;
  height: 4px;
  top: -2px;
  left: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  pointer-events: none;
  outline: none;
  z-index: 2;
}
.price-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  margin-top: -7px;
}
.price-slider-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.price-slider-input:hover::-webkit-slider-thumb {
  background-color: #f9fafb;
}
.price-range {
  display: none !important;
}
/* ─── CURRENCY SWITCHER ─── */
.currency-switcher {
  position: relative;
}
.currency-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(22, 40, 30, 0.12);
  border-radius: 14px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.currency-switcher__toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 40, 30, 0.08);
}
.currency-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(22, 40, 30, 0.10);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(22, 40, 30, 0.14);
  list-style: none;
  padding: 6px;
  margin: 0;
  min-width: 124px;
  z-index: 500;
}
.currency-switcher__dropdown.open {
  display: block;
}
.currency-switcher__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  border-radius: 10px;
  transition: background .15s;
}
.currency-switcher__option:hover {
  background: rgba(74,155,110,0.08);
}
.currency-switcher__option.active {
  color: var(--color-primary);
  font-weight: 700;
  background: rgba(74,155,110,0.10);
}
.currency-switcher__symbol {
  font-weight: 700;
  min-width: 16px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE FIXES — MISSING BREAKPOINTS
   ═══════════════════════════════════════════ */

/* ── iPad Pro / large tablet (1024px) ──────
   4-col grid → 3 col; footer 5 col → 3 col */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Tablet portrait gap (768–992px) ───────
   Plug the void between 576px and 992px rules */
@media (max-width: 860px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Quick filters: plug 420-768px gap ─────
   was jumping from 2-col (768px) to 1-col (420px)
   without handling the 500-700px range */

/* ── 360px ultra-narrow ─────────────────── */
@media (max-width: 360px) {
  .header-main {
    gap: 4px;
  }
  .header-left {
    gap: 4px;
  }
  .header-right {
    gap: 3px;
  }
  .logo img {
    max-height: 32px;
  }
  .site-logo__text {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }
  .site-logo__tagline {
    font-size: 7px;
    letter-spacing: 0.15em;
  }
  .header-cta-btn {
    padding: 7px 8px;
  }
  .product-card__title {
    font-size: 11px;
  }
}

/* ── Landscape phone ─────────────────────
   Prevent hero from being taller than viewport in landscape */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: 80px 0 40px;
  }
  .hero__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
  }
  .hero__subtitle {
    display: none;
  }
  .side-menu {
    width: 320px;
    right: -320px;
  }
  .side-menu.open {
    right: 0;
  }
}

/* ── Currency switcher on small screens ── */
@media (max-width: 576px) {
  .currency-switcher__toggle {
    padding: 4px 8px;
    font-size: 12px;
  }
}
@media (max-width: 319px) {
  .currency-switcher {
    display: none;
  }
}

/* Visa plugin override — prevents .woocommerce { display: grid } at ≤481px */
@media screen and (max-width: 481px) {
  .woocommerce {
    display: inherit !important;
  }
}

/* ─── SEO TEXT BLOCK ─── */
.seo-text-block {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  overflow: hidden;
  background: var(--color-bg-sage);
  border-top: 1px solid rgba(74,155,110,0.1);
  border-bottom: 1px solid rgba(74,155,110,0.1);
}

/* Single soft glow behind image area */
.seo-text-block__bg-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 100% at 100% 50%, rgba(74,155,110,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 35% 60% at 5% 10%,  rgba(74,155,110,0.04) 0%, transparent 55%);
}

.seo-text-block .container {
  position: relative;
  z-index: 1;
}

.seo-text-block__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.seo-text-block--with-media .seo-text-block__layout {
  grid-template-columns: 1fr 400px;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.seo-text-block__body {
  max-width: 640px;
}

.seo-text-block--with-media .seo-text-block__body {
  max-width: none;
}

/* Green accent bar */
.seo-text-block__eyebrow {
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.seo-text-block__title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-text-forest);
  margin: 0 0 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.seo-text-block__content {
  font-size: 1rem;
  line-height: 1.82;
}

.seo-text-block__content p,
.seo-text-block__content li,
.seo-text-block__content span {
  color: var(--color-text-secondary) !important;
  margin: 0 0 0.9rem;
}

.seo-text-block__content p:last-child {
  margin-bottom: 0;
}

.seo-text-block__content h3,
.seo-text-block__content h4 {
  color: var(--color-text-forest) !important;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.seo-text-block__content strong,
.seo-text-block__content b {
  color: var(--color-text-forest) !important;
  font-weight: 600;
}

.seo-text-block__content ul,
.seo-text-block__content ol {
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
}

.seo-text-block__content a {
  color: var(--color-primary-dark) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Media column ── */
.seo-text-block__media {
  position: relative;
  align-self: center;
}

.seo-text-block__media-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.1),
    0 0 50px rgba(74,155,110,0.1);
  line-height: 0; /* kill inline-block gap */
}

/* picture must behave like a block */
.seo-text-block__media-wrap picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.seo-text-block__img,
.seo-text-block__video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  transition: transform 0.7s ease;
}

.seo-text-block__media-wrap:hover .seo-text-block__img,
.seo-text-block__media-wrap:hover .seo-text-block__video {
  transform: scale(1.04);
}

/* Gentle bottom vignette */
.seo-text-block__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(12, 29, 18, 0.22) 100%
  );
  z-index: 1;
  pointer-events: none;
  border-radius: 18px;
}

/* Inner border glow */
.seo-text-block__media-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .seo-text-block--with-media .seo-text-block__layout {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 768px) {
  .seo-text-block--with-media .seo-text-block__layout {
    grid-template-columns: 1fr;
  }
  .seo-text-block__media {
    order: -1;
  }
  .seo-text-block__media-wrap {
    aspect-ratio: 16 / 9;
  }
  .seo-text-block__body {
    max-width: none;
  }
}

/* ============================================
   SEO BLOCK TO TRUST BAR FLOW
   ============================================ */
.seo-text-block {
  background:
    radial-gradient(circle at 7% 12%, rgba(74,155,110,0.08), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(197,153,90,0.04), transparent 30%),
    linear-gradient(180deg, #eaf3e9 0%, #e7f0e6 72%, #f8fbf8 100%);
  border-top: 1px solid rgba(74,155,110,0.08);
}

.seo-text-block::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(54px, 6vw, 86px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248,251,248,0) 0%, rgba(248,251,248,0.86) 68%, #fbfcfb 100%);
}

.seo-text-block + .trust-bar {
  margin-top: -1px;
  padding-top: clamp(46px, 5vw, 64px);
  background:
    radial-gradient(circle at 14% 0%, rgba(74,155,110,0.08), transparent 32%),
    linear-gradient(180deg, #fbfcfb 0%, #f7faf7 56%, #f5f8f5 100%);
}

.seo-text-block + .trust-bar::before {
  height: clamp(32px, 4vw, 54px);
  inset: clamp(-32px, -4vw, -54px) 0 auto;
  background: linear-gradient(180deg, rgba(251,252,251,0), rgba(251,252,251,0.92));
}

.seo-text-block + .trust-bar .trust-bar__grid {
  transform: translateY(-6px);
}

@media (max-width: 768px) {
  .seo-text-block {
    padding-bottom: 42px;
  }

  .seo-text-block + .trust-bar {
    padding-top: 34px;
  }

  .seo-text-block + .trust-bar .trust-bar__grid {
    transform: none;
  }
}

/* ============================================
   HOMEPAGE FLOW CONSISTENCY
   ============================================ */
.home .products-section,
.home .home-reviews,
.home .promo-banner,
.home .consultation-section,
.home .trust-bar {
  position: relative;
  isolation: isolate;
}

.home .seo-text-block + .products-section {
  margin-top: -1px;
}

.home .products-section {
  padding: clamp(54px, 6vw, 78px) 0 clamp(58px, 6vw, 84px);
  background:
    radial-gradient(circle at 12% 0%, rgba(74,155,110,0.075), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(197,153,90,0.045), transparent 28%),
    linear-gradient(180deg, #fbfcfb 0%, #f5f8f5 100%);
  box-shadow: inset 0 1px 0 rgba(18,42,30,0.045);
}

.home .products-section::before,
.home .home-reviews::before,
.home .promo-banner::before,
.home .consultation-section::before,
.home .trust-bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -44px;
  height: 44px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(251,252,251,0.92));
}

.home .products-section .section-header,
.home .home-reviews .section-header {
  margin-bottom: clamp(22px, 2.4vw, 32px);
}

.home .section-header h2 {
  letter-spacing: -0.04em;
}

.home .products-section .btn--ghost,
.home .home-reviews__more-link {
  border-radius: 999px;
  border-color: rgba(18,42,30,0.08);
  background: rgba(255,255,255,0.64);
}

.home .products-section .product-card {
  border: 1px solid rgba(18,42,30,0.075);
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 52px rgba(18,42,30,0.065);
}

.home .products-section .product-card__image-wrap {
  border-radius: 18px 18px 0 0;
  background: linear-gradient(145deg, #ffffff, #eef2ee);
}

.home .products-section .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 64px rgba(18,42,30,0.095);
}

.home .home-reviews {
  padding: clamp(52px, 6vw, 76px) 0 clamp(58px, 6vw, 82px);
  background:
    radial-gradient(circle at 18% 0%, rgba(74,155,110,0.045), transparent 30%),
    linear-gradient(180deg, #f5f8f5 0%, #ffffff 100%);
}

.home .home-reviews__track {
  padding-top: 12px;
  padding-bottom: 20px;
}

.home .home-review-card {
  border-color: rgba(18,42,30,0.075);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(249,251,249,0.94));
  box-shadow: 0 18px 46px rgba(18,42,30,0.055);
}

.home .home-review-card:hover {
  border-color: rgba(74,155,110,0.16);
  box-shadow: 0 22px 58px rgba(18,42,30,0.085);
}

.home .home-reviews__arrow {
  border-color: rgba(18,42,30,0.08);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 28px rgba(18,42,30,0.055);
}

.home .promo-banner {
  padding: clamp(50px, 5vw, 70px) 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 46%, #f4f8f4 100%);
}

.home .promo-banner__inner {
  border-radius: 24px;
  padding: clamp(30px, 4vw, 56px);
  background:
    radial-gradient(circle at 88% 16%, rgba(255,255,255,0.72), transparent 28%),
    linear-gradient(135deg, #eaf3e9 0%, #dfeade 100%);
  border: 1px solid rgba(18,42,30,0.075);
  box-shadow: 0 28px 78px rgba(18,42,30,0.09);
}

.home .promo-banner__image {
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(18,42,30,0.12);
}

.home .consultation-section {
  padding: clamp(56px, 6vw, 82px) 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(74,155,110,0.08), transparent 35%),
    linear-gradient(180deg, #f4f8f4 0%, #eaf4ee 100%);
}

.home .consultation-form {
  max-width: 660px;
  padding: clamp(28px, 3.8vw, 46px);
  border: 1px solid rgba(18,42,30,0.075);
  border-radius: 24px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 24px 70px rgba(18,42,30,0.075);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

.home .consultation-form .form-group {
  margin-bottom: 14px;
}

.home .consultation-form input,
.home .consultation-form textarea,
.home .consultation-form select {
  border-color: rgba(18,42,30,0.1);
  border-radius: 13px;
  background: rgba(255,255,255,0.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.home .consultation-form .btn {
  margin-top: 4px;
  border-radius: 13px;
  min-height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 14px 30px rgba(74,155,110,0.2);
}

.home .consultation-section + .trust-bar {
  margin-top: -1px;
  padding-top: clamp(42px, 5vw, 62px);
  background:
    radial-gradient(circle at 14% 0%, rgba(74,155,110,0.075), transparent 32%),
    linear-gradient(180deg, #fbfcfb 0%, #f6f9f6 100%);
}

.home .consultation-section + .trust-bar .trust-bar__grid {
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .home .products-section,
  .home .home-reviews,
  .home .promo-banner,
  .home .consultation-section {
    padding-top: 40px;
    padding-bottom: 46px;
  }

  .home .products-section::before,
  .home .home-reviews::before,
  .home .promo-banner::before,
  .home .consultation-section::before,
  .home .trust-bar::before {
    top: -28px;
    height: 28px;
  }

  .home .consultation-section + .trust-bar .trust-bar__grid {
    transform: none;
  }
}

@media (max-width: 480px) {
  .home .promo-banner__inner,
  .home .consultation-form {
    border-radius: 18px;
    padding: 22px 16px;
  }

  .home .products-section .section-header,
  .home .home-reviews .section-header {
    gap: 12px;
  }
}

/* WooCommerce utility pages */
.wc-page-hero {
  padding: clamp(34px, 5vw, 58px) 0 clamp(20px, 3vw, 32px);
}

.wc-page-hero__title {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.05em;
}

/* ─── CONSULTATION MODAL ─── */
.cmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cmodal[hidden] {
  display: none;
}

.cmodal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 26, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.cmodal__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.08);
  animation: cmodalIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cmodalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cmodal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  z-index: 2;
}

.cmodal__close:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.cmodal__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 20px 20px 0 0;
  position: absolute;
  top: 0; left: 0; right: 0;
}

.cmodal__body {
  padding: 40px 36px 32px;
}

.cmodal__header {
  margin-bottom: 24px;
}

.cmodal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  line-height: 1.25;
}

.cmodal__subtitle {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* WhatsApp button */
.cmodal__wa {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  margin-bottom: 20px;
}

.cmodal__wa:hover {
  background: #1ebe5c;
  transform: translateY(-1px);
}

.cmodal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.cmodal__divider::before,
.cmodal__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Form */
.cmodal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.cmodal__field {
  margin-bottom: 12px;
}

.cmodal__row .cmodal__field {
  margin-bottom: 0;
}

.cmodal__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cmodal__input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  box-sizing: border-box;
}

.cmodal__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74,155,110,0.12);
}

.cmodal__textarea {
  resize: vertical;
  min-height: 80px;
}

.cmodal__error {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.cmodal__submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 4px;
}

.cmodal__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,155,110,0.35);
}

.cmodal__submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

/* Success */
.cmodal__success {
  padding: 56px 36px;
  text-align: center;
}

.cmodal__success-icon {
  width: 72px;
  height: 72px;
  background: var(--color-primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.cmodal__success-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
}

.cmodal__success-text {
  color: var(--color-text-secondary);
  margin: 0 0 28px;
  line-height: 1.6;
}

@media (max-width: 520px) {
  .cmodal__body { padding: 36px 20px 28px; }
  .cmodal__row  { grid-template-columns: 1fr; }
  .cmodal__card { border-radius: 16px; }
}


/* FINAL CLIENT-AUDIT RESPONSIVE POLISH */
@media (max-width: 576px) {
  .hero__content {
    width: 100%;
    max-width: calc(100vw - (var(--gutter) * 2));
    padding: clamp(64px, 18vh, 96px) 0 clamp(34px, 10vh, 58px);
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(31px, 9.6vw, 40px);
    line-height: 1.04;
    overflow-wrap: normal;
  }

  .hero__subtitle {
    display: block;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .hero__actions {
    width: 100%;
    gap: 10px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
    min-height: 48px;
    padding-inline: 16px;
  }

  .header-right {
    min-width: 0;
    max-width: calc(100vw - 88px);
  }

  .menu-toggle,
  .header-catalog-btn,
  .header-cart {
    width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 13px;
  }

  .currency-switcher__toggle {
    min-height: 42px;
    max-width: 88px;
    padding-inline: 9px;
    border-radius: 13px;
  }

  .floating-contact {
    left: 50%;
    right: auto;
    bottom: 12px;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 28px);
    padding: 10px 12px;
    border-radius: 999px;
  }

  .floating-contact:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .floating-contact__text {
    display: none;
  }
}

@media (max-width: 420px) {
  .site-logo__text {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
  }

  .site-logo__tagline {
    letter-spacing: 0.22em;
  }
}


/* FINAL CLIENT-AUDIT NO-CLIP PATCH */
@media (max-width: 576px) {
  .hero__content {
    width: calc(100vw - (var(--gutter) * 2)) !important;
    max-width: calc(100vw - (var(--gutter) * 2)) !important;
  }

  .hero__title,
  .hero__subtitle {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero__title {
    font-size: clamp(29px, 8.6vw, 36px) !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 420px) {
  .header-catalog-btn {
    display: none !important;
  }

  .header-right {
    max-width: calc(100vw - 92px) !important;
  }
}


/* FINAL CLIENT-AUDIT TABLET-PHONE PATCH */
@media (max-width: 820px) {
  .header-catalog-btn {
    display: none !important;
  }

  .hero__content {
    width: calc(100vw - (var(--gutter) * 2)) !important;
    max-width: calc(100vw - (var(--gutter) * 2)) !important;
  }

  .hero__title,
  .hero__subtitle {
    width: min(100%, calc(100vw - (var(--gutter) * 2))) !important;
    max-width: min(100%, calc(100vw - (var(--gutter) * 2))) !important;
  }

  .hero__subtitle {
    overflow-wrap: break-word;
  }
}



/* FINAL CLIENT-AUDIT HARD MOBILE WIDTH PATCH */
@media (max-width: 820px) {
  .header-main {
    position: relative;
  }

  .header-right {
    position: absolute !important;
    right: var(--gutter) !important;
    bottom: 9px !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
  }

  .hero__title,
  .hero__subtitle {
    width: min(100%, 360px) !important;
    max-width: min(100%, 360px) !important;
  }
}


/* FINAL CLIENT-AUDIT CATALOG MOBILE GRID PATCH */
@media (max-width: 640px) {
  .products-grid,
  .woocommerce ul.products,
  .catalog-layout--no-sidebar .catalog-content .products,
  .catalog-content .products {
    grid-template-columns: 1fr !important;
  }

  .woocommerce ul.products li.product,
  .product-card {
    min-width: 0 !important;
    width: 100% !important;
  }

  .catalog-header {
    align-items: flex-start;
  }

  .catalog-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .catalog-filter-toggle,
  .catalog-sort__select {
    width: 100%;
    justify-content: center;
  }
}

/* Consultation modal product context */
.cmodal__product-context {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: -8px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(74,155,110,0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(237,247,241,0.9), rgba(255,255,255,0.92));
}
.cmodal__product-context[hidden] { display: none; }
.cmodal__product-context span {
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.cmodal__product-context strong {
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.35;
}

/* FINAL CLIENT-AUDIT CATEGORY CARD OVERFLOW FIX */
.categories-layout,
.categories-grid,
.category-card {
  min-width: 0;
  max-width: 100%;
}

.category-card {
  width: 100%;
}

@media (max-width: 900px) {
  .categories-layout,
  .categories-grid,
  .categories-grid--primary,
  .categories-grid--secondary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .category-card--secondary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .categories-grid--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .categories-grid--secondary {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .categories-grid--primary,
  .categories-grid--secondary {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* FINAL BLOG POST HERO/MEDIA BRIDGE FIX */
.single-post .site-main > .container--narrow {
  position: relative;
  z-index: 2;
}

.single-post article.single-post {
  position: relative;
}

.single-post .single-post__image {
  margin-top: clamp(-56px, -4.5vw, -36px);
  margin-bottom: clamp(34px, 4vw, 56px);
  border: 1px solid rgba(18, 42, 30, 0.08);
  box-shadow: 0 26px 80px rgba(18, 42, 30, 0.12);
  background: var(--color-bg);
}

.single-post .page-content__body {
  padding-top: 0;
}

@media (max-width: 640px) {
  .single-post .single-post__image {
    margin-top: -28px;
    margin-bottom: 30px;
    border-radius: 18px;
  }
}


/* FINAL FOOTER END GAP FIX */
.site-footer {
  margin-bottom: -1px;
}


/* ============================================
   DELIVERY FIX: MOBILE CONTACTS + FORM CANVAS
   Keeps contact blocks readable on phones/tablets.
   ============================================ */
.contacts-layout {
  width: 100%;
  max-width: 100%;
}

.contacts-layout,
.contacts-layout > * {
  min-width: 0;
}

.contacts-layout .contact-item,
.contacts-layout .form-group,
.contacts-layout form,
.contacts-layout input,
.contacts-layout textarea,
.contacts-layout button {
  max-width: 100%;
}

.contacts-layout input,
.contacts-layout textarea,
.contacts-layout select {
  width: 100%;
  box-sizing: border-box;
}

.contacts-layout .contact-item a,
.contacts-layout .contact-item span,
.footer-contact-item__value,
.footer-contact-item__value a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 900px) {
  .contacts-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(28px, 7vw, 48px) !important;
  }

  .contacts-layout > .fade-up {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .page-content .container {
    max-width: 100%;
    overflow-x: clip;
  }

  .contacts-layout {
    gap: 28px !important;
  }

  .contacts-layout > .fade-up[style*="background"] {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }

  .contacts-layout .contact-item {
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  .contacts-layout .contact-item > div:first-child {
    width: 42px !important;
    height: 42px !important;
  }

  .contacts-layout .social-links > div:last-child {
    flex-wrap: wrap;
  }

  .contacts-layout textarea {
    min-height: 132px;
  }

  .contacts-layout .btn[type="submit"] {
    min-height: 54px;
    white-space: normal;
  }

  .floating-contact {
    max-width: calc(100vw - 32px);
    pointer-events: auto;
  }

  .cmodal__card {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
}

/* ============================================
   DELIVERY FIX: CONTACTS TABLET CENTERING
   Prevents the contact-info column from looking pinned left on tablet/mobile-wide.
   ============================================ */
@media (max-width: 1100px) {
  .page-content .contacts-layout {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .contacts-layout > .fade-up:not([style*="background"]) {
    text-align: center;
  }

  .contacts-layout .contact-info {
    width: min(100%, 520px);
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .contacts-layout .contact-item {
    text-align: left;
  }

  .contacts-layout .social-links {
    text-align: center;
  }

  .contacts-layout .social-links > div:last-child {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .page-content .contacts-layout {
    max-width: 100%;
  }
}

/* ============================================
   HOMEPAGE CINEMATIC SLIDER
   ============================================ */
.hero--cinematic-slider {
  min-height: min(92vh, 920px);
  background: #07120d;
  isolation: isolate;
}

.hero--cinematic-slider .hero__bg {
  background: #07120d;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #07120d;
  --hero-slide-duration: 5200ms;
}

.hero-slider__slide {
  position: absolute;
  inset: -5%;
  opacity: 0;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  filter: saturate(1.02) contrast(1.01) brightness(0.94);
  transition:
    opacity 1850ms cubic-bezier(0.45, 0, 0.15, 1),
    filter 1850ms ease;
  will-change: opacity, filter;
  backface-visibility: hidden;
}

.hero-slider__slide.active {
  opacity: 1;
  z-index: 2;
  filter: saturate(1.06) contrast(1.03) brightness(1);
}

.hero-slider__slide:nth-child(1) img,
.hero-slider__slide:nth-child(5) img {
  --hero-drift-x1: -0.35%;
  --hero-drift-y1: -0.18%;
  --hero-drift-x2: 0.75%;
  --hero-drift-y2: -0.62%;
  --hero-drift-duration: 19s;
}

.hero-slider__slide:nth-child(2) img,
.hero-slider__slide:nth-child(6) img {
  --hero-drift-x1: 0.42%;
  --hero-drift-y1: -0.34%;
  --hero-drift-x2: -0.68%;
  --hero-drift-y2: 0.44%;
  --hero-drift-duration: 21s;
}

.hero-slider__slide:nth-child(3) img,
.hero-slider__slide:nth-child(7) img {
  --hero-drift-x1: -0.28%;
  --hero-drift-y1: 0.32%;
  --hero-drift-x2: 0.58%;
  --hero-drift-y2: -0.48%;
  --hero-drift-duration: 20s;
}

.hero-slider__slide:nth-child(4) img {
  --hero-drift-x1: 0.24%;
  --hero-drift-y1: 0.18%;
  --hero-drift-x2: -0.52%;
  --hero-drift-y2: -0.38%;
  --hero-drift-duration: 22s;
}

.hero-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.075) translate3d(var(--hero-drift-x1, 0), var(--hero-drift-y1, 0), 0);
  transform-origin: 50% 50%;
  animation: scandinafHeroSlowDrift var(--hero-drift-duration, 20s) ease-in-out infinite alternate;
  backface-visibility: hidden;
  will-change: transform;
}

.hero-slider__veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 38%, rgba(255, 255, 255, 0.10), transparent 30%),
    linear-gradient(90deg, rgba(3, 10, 7, 0.70) 0%, rgba(3, 10, 7, 0.40) 38%, rgba(3, 10, 7, 0.22) 100%),
    linear-gradient(180deg, rgba(3, 10, 7, 0.28) 0%, rgba(3, 10, 7, 0.08) 42%, rgba(3, 10, 7, 0.58) 100%);
  animation: scandinafHeroLightDrift 9s ease-in-out infinite alternate;
}

.hero-slider__grain {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image:
    repeating-radial-gradient(circle at 16% 22%, rgba(255,255,255,0.22) 0 1px, transparent 1px 4px);
  transform: translateZ(0);
}

.hero--cinematic-slider .hero__content {
  z-index: 8;
}

.hero--cinematic-slider .hero__title,
.hero--cinematic-slider .hero__subtitle {
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms ease;
}

.hero--cinematic-slider.is-caption-changing .hero__title,
.hero--cinematic-slider.is-caption-changing .hero__subtitle {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  filter: blur(8px);
}

.hero-slider__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 2px;
  background: rgba(6, 18, 12, 0.52);
  overflow: hidden;
  pointer-events: none;
}

.hero-slider__progress-bar {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  display: block;
  background: linear-gradient(90deg, rgba(24, 45, 31, 0.72), rgba(74, 122, 87, 0.78), rgba(31, 58, 40, 0.72));
  animation: scandinafHeroDotProgress var(--hero-slide-duration, 5200ms) linear forwards;
  opacity: 0.86;
  will-change: transform;
}

@keyframes scandinafHeroDotProgress {
  to { transform: scaleX(1); }
}

@keyframes scandinafHeroSlowDrift {
  0% {
    transform: scale(1.075) translate3d(var(--hero-drift-x1, 0), var(--hero-drift-y1, 0), 0);
  }
  100% {
    transform: scale(1.135) translate3d(var(--hero-drift-x2, 0.65%), var(--hero-drift-y2, -0.55%), 0);
  }
}

@keyframes scandinafHeroLightDrift {
  0% {
    opacity: 0.92;
    filter: saturate(1);
  }
  100% {
    opacity: 1;
    filter: saturate(1.08);
  }
}

@media (max-width: 768px) {
  .hero--cinematic-slider {
    min-height: 78vh;
  }

  .hero-slider__slide {
    inset: -4%;
  }

  .hero-slider__veil {
    background:
      linear-gradient(180deg, rgba(3, 10, 7, 0.24) 0%, rgba(3, 10, 7, 0.34) 48%, rgba(3, 10, 7, 0.78) 100%),
      linear-gradient(90deg, rgba(3, 10, 7, 0.54), rgba(3, 10, 7, 0.18));
  }

  .hero-slider__progress {
    height: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide,
  .hero-slider__slide img,
  .hero--cinematic-slider .hero__title,
  .hero--cinematic-slider .hero__subtitle,
  .hero-slider__progress-bar {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
