/* =============================================================================
   Axer Theme — Main Stylesheet
   Design system: variables → reset → base → layout → components → utilities
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Design Tokens (CSS Custom Properties)
   ----------------------------------------------------------------------------- */

:root {
    /* Colors */
    --color-primary:        #ff8800;
    --color-primary-hover:  #e67a00;
    --color-primary-light:  #fff4e6;
    --color-secondary:      #1a1a1a;
    --color-text:           #1f1f1f;
    --color-text-muted:     #555555;
    --color-text-inverse:   #ffffff;
    --color-bg:             #ffffff;
    --color-surface:        #f8f8f6;
    --color-surface-dark:   #f2f2ef;
    --color-border:         #e5e5e2;
    --color-border-strong:  #d0d0cc;

    /* Typography */
    --font-display: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --font-base:    'Inter', system-ui, -apple-system, sans-serif;
    --font-size-xs:  0.75rem;   /* 12px */
    --font-size-sm:  0.875rem;  /* 14px */
    --font-size-md:  1rem;      /* 16px */
    --font-size-lg:  1.125rem;  /* 18px */
    --font-size-xl:  1.25rem;   /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: clamp(2.5rem, 5vw, 3.5rem);
    --font-size-display: clamp(2.75rem, 6vw, 4.5rem);

    --font-weight-regular: 400;
    --font-weight-medium:  500;
    --font-weight-semibold: 600;
    --font-weight-bold:    700;

    --line-height-tight:  1.2;
    --line-height-snug:   1.35;
    --line-height-normal: 1.6;
    --line-height-loose:  1.75;

    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide:   0.06em;
    --letter-spacing-wider:  0.1em;

    /* Spacing (8px base grid) */
    --space-1:   0.25rem;   /* 4px */
    --space-2:   0.5rem;    /* 8px */
    --space-3:   0.75rem;   /* 12px */
    --space-4:   1rem;      /* 16px */
    --space-5:   1.25rem;   /* 20px */
    --space-6:   1.5rem;    /* 24px */
    --space-8:   2rem;      /* 32px */
    --space-10:  2.5rem;    /* 40px */
    --space-12:  3rem;      /* 48px */
    --space-16:  4rem;      /* 64px */
    --space-20:  5rem;      /* 80px */
    --space-24:  6rem;      /* 96px */
    --space-32:  8rem;      /* 128px */

    /* Layout */
    --container-max:    1200px;
    --container-narrow: 800px;
    --container-wide:   1400px;
    --container-padding: clamp(1.25rem, 5vw, 2.5rem);

    /* Border radius */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg:  0 10px 32px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-xl:  0 20px 48px rgba(0, 0, 0, 0.10), 0 8px 24px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;

    /* Header */
    --header-height: 80px;
}


/* -----------------------------------------------------------------------------
   2. Reset & Base
   ----------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-secondary);
}

p {
    max-width: 70ch;
}

input,
textarea,
select {
    font: inherit;
}


/* -----------------------------------------------------------------------------
   3. Typography Scale
   ----------------------------------------------------------------------------- */

.text-xs     { font-size: var(--font-size-xs); }
.text-sm     { font-size: var(--font-size-sm); }
.text-md     { font-size: var(--font-size-md); }
.text-lg     { font-size: var(--font-size-lg); }
.text-xl     { font-size: var(--font-size-xl); }
.text-2xl    { font-size: var(--font-size-2xl); }
.text-3xl    { font-size: var(--font-size-3xl); }
.text-4xl    { font-size: var(--font-size-4xl); }

.text-muted  { color: var(--color-text-muted); }
.text-upper  {
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}


/* -----------------------------------------------------------------------------
   4. Layout — Container & Grid
   ----------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.container--wide {
    max-width: var(--container-wide);
}

.section {
    padding-block: var(--space-20);
}

.section--sm {
    padding-block: var(--space-12);
}

.section--lg {
    padding-block: var(--space-32);
}

.section--surface {
    background-color: var(--color-surface);
}

.section--dark {
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-text-inverse);
}

.grid {
    display: grid;
    gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid--4,
    .grid--3,
    .grid--2 { grid-template-columns: 1fr; }
}

.flex {
    display: flex;
    gap: var(--space-6);
}

.flex--center {
    align-items: center;
    justify-content: center;
}

.flex--between {
    align-items: center;
    justify-content: space-between;
}


/* -----------------------------------------------------------------------------
   5. Site Header
   ----------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-height);
    padding: var(--space-4) 0;
    background-color: var(--color-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow var(--transition-base);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.site-branding__logo {
    height: 44px;
    width: auto;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-branding .custom-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.site-branding__name {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1;
}

.site-branding__name span {
    color: var(--color-primary);
}

/* Primary Navigation */
.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.primary-nav__item a,
.primary-nav__list > .menu-item > a {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--transition-fast);
}

.primary-nav__item a::after,
.primary-nav__list > .menu-item > a::after {
    content: '';
    position: absolute;
    left: var(--space-4);
    right: var(--space-4);
    bottom: calc(var(--space-2) - 2px);
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--transition-base);
}

.primary-nav__item a:hover,
.primary-nav__list > .menu-item > a:hover {
    color: #fff;
}

.primary-nav__item a:hover::after,
.primary-nav__list > .menu-item > a:hover::after,
.primary-nav__item.current-menu-item > a::after,
.primary-nav__list > .menu-item.current-menu-item > a::after {
    transform: scaleX(1);
}

.primary-nav__item.current-menu-item > a,
.primary-nav__list > .menu-item.current-menu-item > a {
    color: var(--color-primary);
}

.primary-nav__cta a::after {
    display: none;
}

.primary-nav__cta a {
    background-color: var(--color-primary);
    color: var(--color-text-inverse) !important;
    padding: var(--space-2) var(--space-5) !important;
    border-radius: var(--radius-full) !important;
    font-weight: var(--font-weight-semibold) !important;
}

.primary-nav__cta a:hover {
    background-color: var(--color-primary-hover) !important;
    color: var(--color-text-inverse) !important;
}

/* Dropdown sub-menus */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a {
    display: flex !important;
    align-items: center;
    gap: var(--space-1);
}

.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.menu-item-has-children:hover > a::after,
.menu-item-has-children.is-open > a::after {
    transform: rotate(-135deg);
}

.primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background-color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-2) 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    z-index: 100;
    margin-top: var(--space-2);
    list-style: none;
}

/* Invisible bridge to prevent hover gap */
.primary-nav .menu-item-has-children::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: var(--space-2);
    display: none;
}

.primary-nav .menu-item-has-children:hover::before {
    display: block;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children.is-open > .sub-menu {
    display: block;
}

.primary-nav .sub-menu li a {
    display: block;
    padding: var(--space-2) var(--space-5);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    transition: color var(--transition-fast), background-color var(--transition-fast);
    border-radius: 0;
}

.primary-nav .sub-menu li a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
}

.primary-nav .sub-menu li.current-menu-item a {
    color: var(--color-primary);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav__list {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: var(--color-secondary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: var(--space-4) var(--container-padding) var(--space-6);
        box-shadow: var(--shadow-lg);
    }

    .primary-nav__list.is-open {
        display: flex;
    }

    .primary-nav__item a,
    .primary-nav__list > .menu-item > a {
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-size-md);
    }

    .primary-nav__cta {
        margin-top: var(--space-2);
    }

    .primary-nav__cta a {
        text-align: center;
    }

    /* Mobile dropdown */
    .primary-nav .sub-menu {
        position: static;
        transform: none;
        min-width: 0;
        background-color: rgba(255, 255, 255, 0.04);
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 0 0 var(--space-2) var(--space-4);
    }

    .primary-nav .sub-menu li a {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-sm);
    }

    .primary-nav .menu-item-has-children::before {
        display: none !important;
    }
}


/* -----------------------------------------------------------------------------
   6. Site Footer
   ----------------------------------------------------------------------------- */

.site-footer {
    position: relative;
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--space-20);
    overflow: hidden;
    isolation: isolate;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--site-footer-image, none);
    background-repeat: no-repeat;
    background-position: 115% center;
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
    z-index: -2;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 40% 55% at 100% 0%,
            rgba(42, 42, 42, 0.7) 0%,
            rgba(42, 42, 42, 0.35) 50%,
            rgba(42, 42, 42, 0) 100%
        ),
        linear-gradient(
            to bottom,
            var(--color-secondary) 0%,
            rgba(42, 42, 42, 0) 100%
        ),
        linear-gradient(
            to right,
            var(--color-secondary) 0%,
            var(--color-secondary) 40%,
            rgba(42, 42, 42, 0.85) 60%,
            rgba(42, 42, 42, 0.4) 80%,
            rgba(42, 42, 42, 0) 100%
        );
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    .site-footer::before,
    .site-footer::after {
        display: none;
    }
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.site-footer a:hover {
    color: var(--color-primary);
}

/* ── Footer grid: 4 columns ── */
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: var(--space-12);
    padding-bottom: var(--space-16);
    text-align: center;
    justify-items: center;
}

/* ── Brand column ── */
.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer__logo {
    margin-bottom: var(--space-5);
}

.site-footer__logo {
    display: inline-block;
}

.site-footer__logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.site-footer__logo-text {
    display: block;
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--space-5);
}

.site-footer__description {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.5);
    max-width: 32ch;
}

/* ── Column titles ── */
.site-footer__col-title {
    display: inline-block;
    position: relative;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: #fff;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
}

.site-footer__col-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 32px;
    height: 2px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
}

/* ── Nav columns ── */
.site-footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.site-footer__nav a {
    font-size: var(--font-size-sm);
    display: inline-block;
    padding-block: var(--space-1);
}

/* ── Contact column ── */
.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
    line-height: var(--line-height-normal);
    text-align: left;
}

.site-footer__contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-primary);
    opacity: 0.7;
}

.site-footer__contact-item a:hover {
    color: var(--color-primary);
}

/* ── Bottom bar ── */
.site-footer__bottom {
    background-color: rgba(0, 0, 0, 0.15);
    padding-block: var(--space-5);
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: var(--letter-spacing-wide);
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10);
    }
}

@media (max-width: 640px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        padding-bottom: var(--space-10);
    }

    .site-footer {
        padding-top: var(--space-10);
    }

    .site-footer__logo img {
        height: 36px;
    }

    .site-footer__col-title {
        margin-bottom: var(--space-4);
    }

    .site-footer__nav ul {
        gap: var(--space-2);
    }

    .site-footer__contact-item {
        margin-bottom: var(--space-3);
        justify-content: flex-start;
        text-align: left;
    }

    /* Keep contact items visually grouped + give floating contact button room */
    .site-footer__contact {
        max-width: 280px;
        margin-inline: auto;
    }

    .site-footer__bottom {
        padding-bottom: calc(var(--space-5) + 60px);
    }

    .site-footer__bottom-inner {
        text-align: center;
    }
}


/* -----------------------------------------------------------------------------
   7. Buttons
   ----------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.75rem 1.75rem;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: var(--color-text-inverse);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn--secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
}

.btn--ghost {
    background-color: transparent;
    color: var(--color-text-inverse);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--color-text-inverse);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: var(--font-size-md);
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--font-size-xs);
}


/* -----------------------------------------------------------------------------
   8. Hero Section
   ----------------------------------------------------------------------------- */

.hero {
    position: relative;
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
    padding-block: var(--space-32);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 136, 0, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    max-width: 680px;
}

.hero__label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.hero__title {
    font-size: var(--font-size-display);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--space-6);
}

.hero__description {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-10);
    max-width: 56ch;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .hero {
        padding-block: var(--space-20);
    }
    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* -----------------------------------------------------------------------------
   9. Section Headers
   ----------------------------------------------------------------------------- */

.section-header {
    margin-bottom: var(--space-12);
}

.section-header--center {
    text-align: center;
}

.section-header--center p {
    margin-inline: auto;
}

.section-header--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.section-header--split .section-title {
    margin-bottom: 0;
}

.section-header__count {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    margin: 0;
    padding-bottom: var(--space-2);
}

.section-header__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    text-decoration: none;
    padding-bottom: var(--space-2);
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.section-header__link:hover {
    color: var(--color-primary);
    gap: var(--space-3);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.section-label__rule {
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--color-primary);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    line-height: var(--line-height-loose);
    max-width: 60ch;
}

@media (max-width: 640px) {
    .section-title {
        font-size: var(--font-size-3xl);
    }
}


/* -----------------------------------------------------------------------------
   10. Product Cards
   ----------------------------------------------------------------------------- */

.product-card {
    position: relative;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-base);
}

.product-card:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.product-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 85%, rgba(42, 42, 42, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-dark) 100%);
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.product-card__media-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity var(--transition-base);
    opacity: 0.6;
}

.product-card__media-frame::before,
.product-card__media-frame::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: rgba(42, 42, 42, 0.35);
    border-style: solid;
    border-width: 0;
    transition: border-color var(--transition-base);
}

.product-card__media-frame::before {
    top: var(--space-3);
    left: var(--space-3);
    border-top-width: 1px;
    border-left-width: 1px;
}

.product-card__media-frame::after {
    bottom: var(--space-3);
    right: var(--space-3);
    border-bottom-width: 1px;
    border-right-width: 1px;
}

.product-card:hover .product-card__media-frame {
    opacity: 1;
}

.product-card:hover .product-card__media-frame::before,
.product-card:hover .product-card__media-frame::after {
    border-color: var(--color-primary);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-5);
    transition: transform var(--transition-slow);
    display: block;
    position: relative;
    z-index: 0;
}

.product-card:hover .product-card__image {
    transform: scale(1.04);
}

.product-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border-strong);
    background-color: transparent;
}

.product-card__cta {
    position: absolute;
    bottom: var(--space-3);
    right: var(--space-3);
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg);
    color: var(--color-secondary);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(4px) scale(0.92);
    transition:
        opacity var(--transition-base),
        transform var(--transition-base),
        background-color var(--transition-fast),
        color var(--transition-fast);
}

.product-card__cta svg {
    width: 16px;
    height: 16px;
}

.product-card:hover .product-card__cta {
    opacity: 1;
    transform: translateY(0) scale(1);
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    padding: var(--space-5) var(--space-5) var(--space-5);
    flex: 1;
    position: relative;
}

.product-card__category {
    font-size: 0.6875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    position: relative;
    padding-left: 20px;
    line-height: 1;
}

.product-card__category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background-color: var(--color-primary);
}

.product-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--space-3);
    transition: color var(--transition-fast);
}

.product-card:hover .product-card__title {
    color: var(--color-primary);
}

.product-card__excerpt {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-normal);
    margin-bottom: var(--space-5);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.6875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-secondary);
    margin-top: auto;
    padding-top: var(--space-4);
}

.product-card__link-text {
    transition: color var(--transition-fast);
}

.product-card__link-line {
    flex: 1;
    height: 1px;
    background-color: var(--color-border);
    position: relative;
    overflow: hidden;
}

.product-card__link-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--transition-base);
}

.product-card:hover .product-card__link-text {
    color: var(--color-primary);
}

.product-card:hover .product-card__link-line::after {
    transform: scaleX(1);
}


/* -----------------------------------------------------------------------------
   11. Closing section — Stats + CTA (unified)
   ----------------------------------------------------------------------------- */

/* ── Stats strip ── */
.fp-closing {
    background-color: var(--color-secondary);
    padding-top: var(--space-20);
    padding-bottom: var(--space-10);
    position: relative;
    overflow: hidden;
}

.fp-closing__stats {
    display: flex;
    justify-content: center;
    gap: var(--space-16);
}

.fp-closing__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    position: relative;
}

.fp-closing__stat + .fp-closing__stat::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-8));
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.fp-closing__stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1;
}

.fp-closing__stat-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
}

/* ── CTA section ── */
.fp-cta {
    background-color: var(--color-secondary);
    padding-top: var(--space-10);
    padding-bottom: var(--space-20);
}

.fp-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-10);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-12);
}

.fp-cta__content {
    max-width: 540px;
}

.fp-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-3);
}

.fp-cta__text {
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.55);
    line-height: var(--line-height-loose);
}

.fp-cta__action {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .fp-closing__stats {
        gap: var(--space-8);
    }

    .fp-closing__stat + .fp-closing__stat::before {
        left: calc(-1 * var(--space-4));
    }

    .fp-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .fp-closing__stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-6);
    }

    .fp-closing__stat + .fp-closing__stat::before {
        display: none;
    }
}


/* -----------------------------------------------------------------------------
   12. Page Header (inner pages)
   ----------------------------------------------------------------------------- */

.page-header {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding-block: var(--space-12);
}

.page-header__label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.page-header__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    letter-spacing: var(--letter-spacing-tight);
}

.page-header__subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-top: var(--space-3);
    max-width: 60ch;
}


/* -----------------------------------------------------------------------------
   13. Single Product Page
   ----------------------------------------------------------------------------- */

/* Slim breadcrumb bar replacing full page-header on product pages */
.product-breadcrumb {
    padding-block: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-bg);
}

.product-hero {
    padding-top: 0;
}

.product-single__hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-20);
    align-items: start;
    padding-block: var(--space-16);
}

/* Sticky image: stays in view while info panel scrolls on long spec lists */
.product-single__image {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--color-surface);
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: calc(var(--header-height) + var(--space-8));
}

.product-single__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Category badge in info panel */
.product-single__category {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.product-single__category a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.product-single__category a:hover {
    opacity: 0.75;
}

/* Product title in the info panel */
.product-single__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-5);
}

.product-single__intro {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    line-height: var(--line-height-loose);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border);
}

.product-single__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.product-specs {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.product-specs__title {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.product-specs__table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.product-specs__table tr {
    border-bottom: 1px solid var(--color-border);
}

.product-specs__table tr:last-child {
    border-bottom: none;
}

.product-specs__table tbody tr:nth-child(even) {
    background-color: var(--color-surface);
}

.product-specs__table th,
.product-specs__table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-size: var(--font-size-sm);
}

.product-specs__table th {
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
    width: 42%;
}

.product-specs__table td {
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
}

@media (max-width: 960px) {
    .product-single__hero {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .product-single__image {
        position: static;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .product-single__title {
        font-size: var(--font-size-3xl);
    }
}


/* -----------------------------------------------------------------------------
   14. Post Content (WordPress editor output)
   ----------------------------------------------------------------------------- */

.entry-content {
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: var(--color-text);
}

.entry-content > * + * {
    margin-top: var(--space-6);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.entry-content h2 { font-size: var(--font-size-3xl); }
.entry-content h3 { font-size: var(--font-size-2xl); }
.entry-content h4 { font-size: var(--font-size-xl); }

.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover {
    color: var(--color-primary-hover);
}

.entry-content ul,
.entry-content ol {
    padding-left: var(--space-6);
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content li + li {
    margin-top: var(--space-2);
}

.entry-content blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-6);
    color: var(--color-text-muted);
    font-style: italic;
}

.entry-content img {
    border-radius: var(--radius-md);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.entry-content th,
.entry-content td {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border);
    text-align: left;
}

.entry-content th {
    background-color: var(--color-surface);
    font-weight: var(--font-weight-semibold);
}


/* -----------------------------------------------------------------------------
   15. Forms
   ----------------------------------------------------------------------------- */

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-field + .form-field {
    margin-top: var(--space-5);
}

.form-label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-md);
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}


/* -----------------------------------------------------------------------------
   16. Pagination
   ----------------------------------------------------------------------------- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-16);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.pagination a:hover {
    background-color: var(--color-surface);
    border-color: var(--color-border-strong);
}

.pagination .current {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-inverse);
}


/* -----------------------------------------------------------------------------
   17. 404 / No Results
   ----------------------------------------------------------------------------- */

.not-found {
    text-align: center;
    padding-block: var(--space-32);
}

.not-found__code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-surface-dark);
    line-height: 1;
    margin-bottom: var(--space-4);
}

.not-found__title {
    font-size: var(--font-size-3xl);
    color: var(--color-secondary);
    margin-bottom: var(--space-4);
}

.not-found__text {
    color: var(--color-text-muted);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-8);
    margin-inline: auto;
}


/* -----------------------------------------------------------------------------
   18. Accessibility & Skip Link
   ----------------------------------------------------------------------------- */

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-6);
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}


/* -----------------------------------------------------------------------------
   19. Breadcrumb
   ----------------------------------------------------------------------------- */

.breadcrumb {
    margin-bottom: var(--space-5);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    list-style: none;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.breadcrumb__item::after {
    content: '/';
    margin-left: var(--space-2);
    color: var(--color-border-strong);
}

.breadcrumb__item:last-child::after {
    display: none;
}

.breadcrumb__item a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb__item a:hover {
    color: var(--color-primary);
}

.breadcrumb__item--current {
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
}


/* -----------------------------------------------------------------------------
   20. Product single — layout variants & description
   ----------------------------------------------------------------------------- */

/* No thumbnail: single-column layout, info panel constrained */
.product-single__hero--no-image {
    grid-template-columns: 1fr;
}

.product-single__hero--no-image .product-single__info {
    max-width: var(--container-narrow);
}

/* Description inner: narrow the content without a nested container */
.product-description__inner {
    max-width: var(--container-narrow);
}

.product-description .section-label,
.product-description__inner .section-label {
    display: inline-block;
    margin-bottom: var(--space-5);
}

/* Remove top padding on hero section — breadcrumb provides enough separation */
.product-hero.section {
    padding-top: 0;
}


/* -----------------------------------------------------------------------------
   21. Download card
   ----------------------------------------------------------------------------- */

.product-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.download-card {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background-color: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    text-decoration: none;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
    min-width: 260px;
}

.download-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    background-color: var(--color-primary-light);
    color: var(--color-text);
}

.download-card__icon {
    color: var(--color-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.download-card__body {
    flex: 1;
    min-width: 0;
}

.download-card__label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-card__meta {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

.download-card__arrow {
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.download-card:hover .download-card__arrow {
    transform: translateY(2px);
}


/* -----------------------------------------------------------------------------
   22. Utilities
   ----------------------------------------------------------------------------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.mt-auto { margin-top: auto; }
.text-center { text-align: center; }


/* =============================================================================
   23. Front Page
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Hero — home variant (full-width background image)
   ----------------------------------------------------------------------------- */

/* ── Hero slideshow ─────────────────────────────────────────────────────── */

.hero--slideshow {
    position: relative;
    min-height: calc(88vh - var(--header-height));
    display: flex;
    align-items: center;
    padding-block: var(--space-20);
    padding-bottom: var(--space-12);
    overflow: hidden;
    background-color: var(--color-secondary);
}

/* Slide backgrounds — crossfade */
.hero__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.hero__slide-bg.is-active {
    opacity: 1;
}

/* Dark overlay for readability */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to right,
            rgba(20, 20, 20, 0.90) 0%,
            rgba(20, 20, 20, 0.78) 35%,
            rgba(20, 20, 20, 0.35) 65%,
            rgba(20, 20, 20, 0.15) 100%
        );
    pointer-events: none;
}

.hero--slideshow > .container {
    position: relative;
    z-index: 2;
}

.hero__layout {
    width: 100%;
}

/* Slide text panels — crossfade */
.hero__slide-text {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.hero__slide-text.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero--slideshow .hero__content {
    max-width: 640px;
    position: relative;
    z-index: 1;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero--slideshow .hero__title {
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    max-width: 520px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero__title-accent {
    color: var(--color-primary);
}

.hero--slideshow .hero__label {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero--slideshow .hero__description {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
    position: relative;
    z-index: 2;
    margin-top: var(--space-8);
}

/* Slide indicators — progress bar style */
.hero__indicators {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-10);
    position: relative;
    z-index: 3;
}

.hero__indicator {
    width: 48px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: background var(--transition-fast);
}

.hero__indicator:hover {
    background: rgba(255, 255, 255, 0.35);
}

.hero__indicator-fill {
    display: block;
    width: 0;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
}

.hero__indicator.is-active .hero__indicator-fill {
    width: 100%;
}

/* Responsive */
@media (max-width: 960px) {
    .hero--slideshow {
        min-height: auto;
        padding-block: var(--space-16);
    }

    .hero__overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(20, 20, 20, 0.90) 0%,
                rgba(20, 20, 20, 0.78) 100%
            );
    }
}

@media (max-width: 640px) {
    .hero--slideshow .hero__title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .hero--slideshow .hero__content {
        min-height: 200px;
    }

    .hero__indicator {
        width: 36px;
    }
}


.hero--has-video .container {
    position: relative;
    z-index: 2;
}


/* -----------------------------------------------------------------------------
   Scroll-in animations
   ----------------------------------------------------------------------------- */

.fade-in-section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-section .fp-why__card,
.fade-in-section .fp-category-card,
.fade-in-section .product-card,
.fade-in-section .fp-value-item,
.fade-in-section .fp-stat {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-section.is-visible .fp-why__card,
.fade-in-section.is-visible .fp-category-card,
.fade-in-section.is-visible .product-card,
.fade-in-section.is-visible .fp-value-item,
.fade-in-section.is-visible .fp-stat {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-section.is-visible :nth-child(1) { transition-delay: 0.05s; }
.fade-in-section.is-visible :nth-child(2) { transition-delay: 0.12s; }
.fade-in-section.is-visible :nth-child(3) { transition-delay: 0.2s; }
.fade-in-section.is-visible :nth-child(4) { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
    .fade-in-section,
    .fade-in-section .fp-why__card,
    .fade-in-section .fp-category-card,
    .fade-in-section .product-card,
    .fade-in-section .fp-value-item,
    .fade-in-section .fp-stat {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* -----------------------------------------------------------------------------
   Value strip — 4 compact propositions below hero
   ----------------------------------------------------------------------------- */

.fp-value-strip {
    background-color: var(--color-bg);
    padding-block: var(--space-10);
}

.fp-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    list-style: none;
}

.fp-value-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.fp-value-item__icon {
    color: var(--color-primary);
    width: 28px;
    height: 28px;
}

.fp-value-item__title {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    line-height: var(--line-height-snug);
}

.fp-value-item__text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-loose);
}

@media (max-width: 768px) {
    .fp-value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fp-value-grid {
        grid-template-columns: 1fr;
    }
}


/* -----------------------------------------------------------------------------
   Product categories
   ----------------------------------------------------------------------------- */

.fp-categories--has-bg {
    position: relative;
    background: #1a1a1a center / cover no-repeat;
    overflow: hidden;
}

.fp-categories__bg-video {
    transform: translateZ(0);
}

.fp-categories__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.fp-categories--has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.6) 6%,
            rgba(255, 255, 255, 0) 14%,
            rgba(255, 255, 255, 0) 100%
        ),
        linear-gradient(rgba(255, 120, 0, 0.05), rgba(255, 120, 0, 0.05)),
        rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.fp-categories--has-bg > .container {
    position: relative;
    z-index: 2;
}

/* Strong text presence over the dark video overlay */
.fp-categories--has-bg .section-title {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.fp-categories--has-bg .section-subtitle {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.fp-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    list-style: none;
    max-width: 1280px;
    margin-inline: auto;
}

.fp-category-grid > li {
    display: flex;
}

.fp-category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
    transition:
        box-shadow var(--transition-base),
        transform var(--transition-base),
        border-color var(--transition-base);
}

/* Orange accent line at top */
.fp-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #ffaa44);
    z-index: 2;
    opacity: 0.85;
    transition: opacity var(--transition-base), height var(--transition-base);
}

/* Decorative corner accent */
.fp-category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 136, 0, 0.06) 50%);
    border-radius: 0 0 var(--radius-lg) 0;
    z-index: 2;
    transition: width var(--transition-base), height var(--transition-base), background var(--transition-base);
    pointer-events: none;
}

.fp-category-card:hover {
    box-shadow: 0 8px 30px rgba(255, 136, 0, 0.10), 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 136, 0, 0.25);
}

.fp-category-card:hover::before {
    opacity: 1;
    height: 4px;
}

.fp-category-card:hover::after {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 136, 0, 0.10) 50%);
}

.fp-category-card__image {
    aspect-ratio: 3 / 2.5;
    overflow: hidden;
    background: linear-gradient(160deg, #f7f7f5 0%, #edecea 100%);
    position: relative;
}

/* Subtle gradient overlay on bottom of image — creates smooth transition to card body */
.fp-category-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.fp-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    padding: var(--space-4);
    transition: transform var(--transition-slow);
}

.fp-category-card:hover .fp-category-card__image img {
    transform: scale(1.04);
}

.fp-category-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border-strong);
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-dark) 100%);
}

.fp-category-card__body {
    padding: var(--space-5) var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.fp-category-card__count {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.fp-category-card__name {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    line-height: var(--line-height-snug);
}

.fp-category-card__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-loose);
    flex: 1;
    margin-top: var(--space-2);
}

.fp-category-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin-top: var(--space-4);
    transition: gap var(--transition-fast);
}

.fp-category-card__link::after {
    content: '→';
}

.fp-category-card:hover .fp-category-card__link {
    gap: var(--space-3);
}

@media (max-width: 960px) {
    .fp-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fp-category-grid {
        grid-template-columns: 1fr;
    }
}


/* -----------------------------------------------------------------------------
   Featured products — section header with inline "see all" link
   ----------------------------------------------------------------------------- */

.fp-products__header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-8);
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
}

.fp-products__see-all {
    flex-shrink: 0;
    align-self: flex-end;
}

@media (max-width: 640px) {
    .fp-products__see-all {
        width: 100%;
        justify-content: center;
    }
}


/* -----------------------------------------------------------------------------
   Visual proof — dark, 2-column statement section
   ----------------------------------------------------------------------------- */

.fp-visual-proof {
    background-color: var(--color-bg);
    padding-block: var(--space-24);
    position: relative;
    overflow: hidden;
}

.fp-visual-proof::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 60%, rgba(255, 136, 0, 0.04) 0%, transparent 55%);
    pointer-events: none;
}

.fp-visual-proof__inner {
    position: relative;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--space-16);
    align-items: center;
}

.fp-visual-proof__label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.fp-visual-proof__title {
    font-size: clamp(1.875rem, 3.5vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--space-6);
}

.fp-visual-proof__text {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    line-height: var(--line-height-loose);
    margin-bottom: var(--space-8);
    max-width: 52ch;
}

.fp-visual-proof__video {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #000;
    box-shadow: var(--shadow-xl);
}

.fp-visual-proof__video iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 900px) {
    .fp-visual-proof__inner {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .fp-visual-proof__video {
        order: -1;
    }
}


/* -----------------------------------------------------------------------------
   Why Axer — modern card layout with centered header
   ----------------------------------------------------------------------------- */

.fp-why {
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Background image/video support */
.fp-why--has-bg {
    background: center / cover no-repeat;
}

.fp-why__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.fp-why__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 1;
    pointer-events: none;
}

.fp-why::before {
    display: none;
}

.fp-why > .container {
    position: relative;
    z-index: 2;
    z-index: 1;
}

.fp-why__header {
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
}

.fp-why__title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-5);
}

.fp-why--has-bg .fp-why__title {
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.75);
}

.fp-why__title-accent {
    display: block;
    color: var(--color-primary);
    font-size: 0.75em;
    margin-top: var(--space-3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.accent-text {
    color: var(--color-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.fp-why__intro {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    line-height: var(--line-height-loose);
    max-width: 56ch;
    margin-inline: auto;
}

.fp-why--has-bg .fp-why__intro {
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.7);
}

.fp-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
}

.fp-why__card {
    position: relative;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6) var(--space-6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition:
        box-shadow var(--transition-base),
        transform var(--transition-base),
        border-color var(--transition-base);
}

/* Orange accent line at top */
.fp-why__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #ffaa44);
    opacity: 0.85;
    transition: opacity var(--transition-base), height var(--transition-base);
}

/* Decorative corner accent */
.fp-why__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 136, 0, 0.06) 50%);
    border-radius: 0 0 var(--radius-xl) 0;
    transition: width var(--transition-base), height var(--transition-base), background var(--transition-base);
    pointer-events: none;
}

.fp-why__card:hover {
    box-shadow: 0 8px 30px rgba(255, 136, 0, 0.10), 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 136, 0, 0.25);
}

.fp-why__card:hover::before {
    opacity: 1;
    height: 4px;
}

.fp-why__card:hover::after {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 136, 0, 0.10) 50%);
}

.fp-why__card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), #ffaa44);
    color: #fff;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    box-shadow: 0 4px 12px rgba(255, 136, 0, 0.25);
}

.fp-why__card-number {
    position: absolute;
    top: var(--space-4);
    right: var(--space-5);
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: rgba(255, 136, 0, 0.08);
    line-height: 1;
    user-select: none;
}

.fp-why__card-title {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-3);
}

.fp-why__card-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-loose);
}

.fp-why__action {
    text-align: center;
    margin-top: var(--space-12);
}

@media (max-width: 1024px) {
    .fp-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .fp-why__grid {
        grid-template-columns: 1fr;
    }

    .fp-why__title {
        font-size: var(--font-size-3xl);
    }
}


/* (Old fp-stats styles removed — replaced by .fp-closing + .fp-cta above) */


/* =============================================================================
   Product Category Archive
   ============================================================================= */

/* ── Category Hero ─────────────────────────────────────────────────────────── */

.cat-hero {
    position: relative;
    background-color: var(--color-secondary);
    background-size: cover;
    background-position: center;
    color: var(--color-text-inverse);
    padding-block: var(--space-12) var(--space-16);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.cat-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            100deg,
            rgba(20, 20, 20, 0.92) 0%,
            rgba(20, 20, 20, 0.75) 45%,
            rgba(20, 20, 20, 0.4) 100%
        );
    pointer-events: none;
    z-index: -1;
}

.cat-hero--has-image::before {
    background:
        linear-gradient(
            95deg,
            rgba(20, 20, 20, 0.88) 0%,
            rgba(20, 20, 20, 0.55) 45%,
            rgba(20, 20, 20, 0.15) 100%
        );
}

.cat-hero--has-image .cat-hero__pattern {
    opacity: 0.45;
}

.cat-hero__pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 85% 30%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.cat-hero__accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 160px, transparent 160px, transparent 100%);
    z-index: 1;
}

.cat-hero .container {
    position: relative;
    z-index: 1;
}

.cat-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xs);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: var(--space-10);
}

.cat-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cat-hero__breadcrumb a:hover {
    color: var(--color-primary);
}

.cat-hero__breadcrumb-sep {
    opacity: 0.4;
}

.cat-hero__breadcrumb [aria-current="page"] {
    color: var(--color-text-inverse);
    font-weight: var(--font-weight-semibold);
}

.cat-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--space-16);
}

.cat-hero__content {
    max-width: 780px;
}

.cat-hero__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.cat-hero__label-rule {
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--color-primary);
}

.cat-hero__title {
    font-size: clamp(2.25rem, 4.8vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.08;
    letter-spacing: var(--letter-spacing-tight);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    margin: 0;
    color: var(--color-text-inverse);
}

.cat-hero__lead {
    margin-top: var(--space-6);
    max-width: 620px;
    font-size: var(--font-size-lg);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.8);
}

.cat-hero__aside {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-2);
    padding-left: var(--space-8);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 200px;
}

.cat-hero__aside-index {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: var(--letter-spacing-tight);
}

.cat-hero__aside-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: rgba(255, 255, 255, 0.55);
    font-weight: var(--font-weight-medium);
}

@media (max-width: 880px) {
    .cat-hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .cat-hero__aside {
        text-align: left;
        align-items: flex-start;
        padding-left: 0;
        padding-top: var(--space-6);
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 640px) {
    .cat-hero {
        min-height: 340px;
        padding-block: var(--space-12) var(--space-16);
    }

    .cat-hero__breadcrumb {
        margin-bottom: var(--space-8);
    }
}

/* ── Category Intro ────────────────────────────────────────────────────────── */

.cat-intro {
    padding-block: var(--space-24);
}

.cat-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(var(--space-12), 6vw, var(--space-24));
    align-items: start;
}

.cat-intro__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
}

.cat-intro__label-rule {
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--color-primary);
}

.cat-intro__heading {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.12;
    margin-bottom: var(--space-8);
    max-width: 20ch;
}

.cat-intro__heading--benefits {
    font-size: clamp(1.5rem, 2.25vw, 2rem);
    margin-bottom: var(--space-10);
}

.cat-intro__text {
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: var(--color-text);
    max-width: 58ch;
}

.cat-intro__text p {
    margin-bottom: var(--space-5);
}

.cat-intro__text p:last-child {
    margin-bottom: 0;
}

.cat-intro__text p:first-child {
    font-size: var(--font-size-lg);
    line-height: 1.55;
    color: var(--color-secondary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-6);
}

/* Benefits — editorial numbered list, no card */
.cat-intro__benefits {
    position: relative;
    padding-left: clamp(var(--space-8), 4vw, var(--space-12));
    border-left: 1px solid var(--color-border);
}

.cat-intro__benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: benefit;
}

.cat-intro__benefit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-6);
    align-items: baseline;
    padding-block: var(--space-5);
    border-bottom: 1px solid var(--color-border);
    transition: padding-left var(--transition-fast);
}

.cat-intro__benefit:first-child {
    padding-top: 0;
}

.cat-intro__benefit:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cat-intro__benefit-num {
    font-family: var(--font-display);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
}

.cat-intro__benefit-text {
    font-size: var(--font-size-md);
    line-height: 1.45;
    color: var(--color-secondary);
    font-weight: var(--font-weight-medium);
}

@media (max-width: 880px) {
    .cat-intro {
        padding-block: var(--space-16);
    }

    .cat-intro__grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .cat-intro__benefits {
        padding-left: 0;
        padding-top: var(--space-10);
        border-left: none;
        border-top: 1px solid var(--color-border);
    }
}

/* ── Category Products section ─────────────────────────────────────────────── */

.cat-products {
    padding-block: var(--space-20);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.cat-products::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/04/skog-svartvit.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0) 100%);
}

.cat-products__header {
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border);
    align-items: flex-end;
}

.cat-products__header .section-title {
    margin-bottom: 0;
}

.cat-products .product-grid {
    gap: var(--space-8) var(--space-6);
}

@media (min-width: 1280px) {
    .cat-products .product-grid.grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1440px) {
    .cat-products .product-grid.grid--3 {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-8) var(--space-5);
    }
}

.cat-products__header .section-header__count {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-3);
    padding-bottom: 0;
}

.section-header__count-num {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    line-height: 1;
    letter-spacing: var(--letter-spacing-tight);
    text-transform: none;
}

.section-header__count-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    font-weight: var(--font-weight-medium);
}

.cat-products__group {
    margin-top: var(--space-12);
}

.cat-products__group:first-of-type {
    margin-top: 0;
}

.cat-products__group-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}

.cat-products__group-title {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-primary);
    margin: 0;
}

.cat-products__group-count {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}

@media (max-width: 600px) {
    .cat-products__group-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .cat-products__group-title {
        font-size: var(--font-size-xl);
    }
}

.cat-products__empty {
    text-align: center;
    padding: var(--space-16) 0;
    color: var(--color-text-muted);
    font-size: var(--font-size-lg);
}

@media (max-width: 720px) {
    .cat-products {
        padding-block: var(--space-16);
    }

    .cat-products__header {
        margin-bottom: var(--space-10);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-5);
    }
}


/* =============================================================================
   Archive Hero (product archive)
   ============================================================================= */

.archive-hero {
    position: relative;
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
    padding-block: var(--space-20) var(--space-24);
    overflow: hidden;
}

.archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 136, 0, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

.archive-hero .container {
    position: relative;
    z-index: 1;
}

.archive-hero__inner {
    max-width: 780px;
}

.archive-hero__label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.archive-hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-text-inverse);
    margin-bottom: var(--space-6);
}

.archive-hero__lead {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
    margin-bottom: var(--space-12);
}

.archive-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
    padding-top: var(--space-10);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 720px;
    margin: 0;
    list-style: none;
}

.archive-hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.archive-hero__meta-value {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
}

.archive-hero__meta-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: rgba(255, 255, 255, 0.6);
    font-weight: var(--font-weight-medium);
}

@media (max-width: 720px) {
    .archive-hero {
        padding-block: var(--space-16) var(--space-20);
    }

    .archive-hero__meta {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}


/* =============================================================================
   Category Navigator (shared: archive + single-category "other categories")
   ============================================================================= */

.cat-nav-section {
    background-color: var(--color-bg);
}

.cat-nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-nav__item {
    display: flex;
}

.cat-nav__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-5);
    width: 100%;
    padding: var(--space-5);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-secondary);
    text-decoration: none;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
    overflow: hidden;
}

.cat-nav__card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--transition-base);
}

.cat-nav__card:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--color-secondary);
}

.cat-nav__card:hover::after {
    transform: scaleX(1);
}

.cat-nav__media {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-nav__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-nav__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cat-nav__name {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
}

.cat-nav__count {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
}

.cat-nav__arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-surface);
    color: var(--color-secondary);
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.cat-nav__card:hover .cat-nav__arrow {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateX(3px);
}

/* ── Category Deep-dive section ──────────────────────────────────────────── */

.cat-deep {
    padding-block: var(--space-24);
    background-color: var(--color-bg);
    overflow: hidden;
}

.cat-deep__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-16);
    align-items: center;
}

/* Media column ------------------------------------------------------------ */

.cat-deep__media {
    position: relative;
}

.cat-deep__media-inner {
    position: relative;
    isolation: isolate;
}

.cat-deep__accent {
    position: absolute;
    left: -24px;
    top: 32px;
    bottom: 32px;
    width: 120px;
    background-color: var(--color-primary);
    opacity: 0.1;
    border-radius: var(--radius-md);
    z-index: -1;
}

.cat-deep__image-wrap {
    position: relative;
    aspect-ratio: 5 / 6;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 85%, rgba(42, 42, 42, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-dark) 100%);
    border: 1px solid var(--color-border);
}

.cat-deep__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-deep__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border-strong);
}

.cat-deep__corner {
    position: absolute;
    top: var(--space-5);
    right: var(--space-5);
    width: 24px;
    height: 24px;
    border-top: 1px solid var(--color-primary);
    border-right: 1px solid var(--color-primary);
    pointer-events: none;
}

.cat-deep__stat {
    position: absolute;
    bottom: var(--space-8);
    left: calc(-1 * var(--space-10));
    background-color: var(--color-bg);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 200px;
    border-left: 3px solid var(--color-primary);
}

.cat-deep__stat-value {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    line-height: 1;
    letter-spacing: var(--letter-spacing-tight);
}

.cat-deep__stat-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
}

/* Content column ---------------------------------------------------------- */

.cat-deep__content {
    max-width: 560px;
}

.cat-deep__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.cat-deep__label-rule {
    width: 32px;
    height: 1px;
    background-color: var(--color-primary);
}

.cat-deep__heading {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-secondary);
    margin: 0 0 var(--space-5);
}

.cat-deep__text {
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: var(--color-text-muted);
    margin: 0 0 var(--space-8);
    max-width: 52ch;
}

.cat-deep__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-10);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4) var(--space-6);
}

.cat-deep__bullet {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}

.cat-deep__bullet-mark {
    flex-shrink: 0;
    width: 16px;
    height: 2px;
    background-color: var(--color-primary);
    margin-top: 0.55em;
}

.cat-deep__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-6);
}

.cat-deep__actions .btn svg {
    margin-left: var(--space-1);
    transition: transform var(--transition-fast);
}

.cat-deep__actions .btn:hover svg {
    transform: translateX(3px);
}

.cat-deep__sec-link {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    text-decoration: none;
    letter-spacing: var(--letter-spacing-wide);
    border-bottom: 1px solid var(--color-border-strong);
    padding-bottom: 2px;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.cat-deep__sec-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 960px) {
    .cat-deep__grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .cat-deep__accent {
        left: -12px;
        width: 80px;
    }

    .cat-deep__stat {
        left: auto;
        right: var(--space-5);
        bottom: var(--space-5);
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .cat-deep {
        padding-block: var(--space-16);
    }

    .cat-deep__image-wrap {
        aspect-ratio: 4 / 5;
    }

    .cat-deep__bullets {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .cat-deep__stat-value {
        font-size: var(--font-size-3xl);
    }

    .cat-deep__actions {
        gap: var(--space-4);
    }
}


/* ── Category — Story (long-form editorial section) ──────────────────────── */

.cat-story {
    padding-block: var(--space-20) var(--space-24);
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.cat-story__grid {
    display: grid;
    gap: var(--space-16);
    align-items: start;
}

.cat-story__grid--with-image {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.cat-story__grid--text-only {
    grid-template-columns: minmax(0, 1fr);
}

.cat-story__grid--text-only .cat-story__content {
    max-width: 760px;
    margin-inline: auto;
}

/* Content column ---------------------------------------------------------- */

.cat-story__content {
    max-width: 680px;
}

.cat-story__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
    line-height: 1.4;
    max-width: 48ch;
}

.cat-story__label-rule {
    flex-shrink: 0;
    width: 32px;
    height: 1px;
    background-color: var(--color-primary);
}

.cat-story__heading {
    font-size: clamp(1.625rem, 2.2vw, 2rem);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-secondary);
    margin: 0 0 var(--space-12);
    max-width: 22ch;
}

.cat-story__block {
    margin-bottom: var(--space-10);
}

.cat-story__block:last-of-type {
    margin-bottom: var(--space-8);
}

.cat-story__subheading {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-secondary);
    margin: 0 0 var(--space-5);
    position: relative;
    padding-left: var(--space-6);
}

.cat-story__subheading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 14px;
    height: 2px;
    background-color: var(--color-primary);
}

.cat-story__text {
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: var(--color-text);
}

.cat-story__text p {
    margin: 0 0 var(--space-4);
}

.cat-story__text p:last-child {
    margin-bottom: 0;
}

.cat-story__text ul,
.cat-story__text ol {
    margin: var(--space-4) 0;
    padding-left: 0;
    list-style: none;
}

.cat-story__text li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    line-height: var(--line-height-normal);
}

.cat-story__text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 10px;
    height: 2px;
    background-color: var(--color-primary);
}

.cat-story__text strong {
    color: var(--color-secondary);
    font-weight: var(--font-weight-semibold);
}

.cat-story__text a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.cat-story__text a:hover {
    color: var(--color-primary-hover);
}

.cat-story__closing {
    position: relative;
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: var(--color-text);
    margin: var(--space-12) 0 var(--space-8);
    padding-top: var(--space-8);
    font-weight: var(--font-weight-medium);
}

.cat-story__closing::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 2px;
    background-color: var(--color-primary);
    opacity: 0.5;
}

.cat-story__closing p {
    margin: 0 0 var(--space-3);
}

.cat-story__closing p:last-child {
    margin-bottom: 0;
}

.cat-story__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-6);
    margin-top: var(--space-4);
}

.cat-story__actions .btn svg {
    margin-left: var(--space-1);
    transition: transform var(--transition-fast);
}

.cat-story__actions .btn:hover svg {
    transform: translateX(3px);
}

/* Media column ------------------------------------------------------------ */

.cat-story__media {
    position: sticky;
    top: var(--space-10);
    padding: var(--space-4) var(--space-4) var(--space-6);
}

.cat-story__media-inner {
    position: relative;
    isolation: isolate;
}

/* Decorative shapes behind the frame ------------------------------------- */

.cat-story__shape {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

/* Orange backdrop matching the frame size, offset diagonally bottom-right */
.cat-story__shape--block {
    top: 28px;
    left: 28px;
    right: -28px;
    bottom: -28px;
    background-color: var(--color-primary);
    opacity: 0.92;
    border-radius: var(--radius-lg);
    transform: rotate(3deg);
    transform-origin: center;
    transition: transform var(--transition-normal);
}

/* Subtle 4×4 dot grid top-left */
.cat-story__shape--dots {
    left: -24px;
    top: -16px;
    width: 84px;
    height: 84px;
    background-image: radial-gradient(var(--color-secondary) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    background-position: 0 0;
    opacity: 0.22;
}

/* The image frame -------------------------------------------------------- */

.cat-story__image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 100%, rgba(42, 42, 42, 0.05) 0%, transparent 65%),
        linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
    border: 1px solid var(--color-border);
    box-shadow:
        0 1px 2px rgba(42, 42, 42, 0.04),
        0 20px 48px -16px rgba(42, 42, 42, 0.12);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Faint "engineering grid" overlay inside the frame */
.cat-story__grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(42, 42, 42, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(42, 42, 42, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Floating category chip — editorial catalog label */
.cat-story__badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    z-index: 2;
    display: inline-flex;
    align-items: stretch;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary);
    border-radius: 2px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(42, 42, 42, 0.05);
}

.cat-story__badge-kind {
    padding: 7px 10px 6px;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
    align-self: center;
}

.cat-story__badge-divider {
    width: 1px;
    background-color: var(--color-border);
    align-self: stretch;
}

.cat-story__badge-name {
    padding: 7px 12px 6px 10px;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--color-secondary);
    line-height: 1.2;
    align-self: center;
}

/* Image centers and gets padding so product doesn't touch edges */
.cat-story__image-inner {
    position: absolute;
    inset: var(--space-10) var(--space-6) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.cat-story__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(42, 42, 42, 0.12));
}

/* Corner accents ---------------------------------------------------------- */

.cat-story__corner {
    position: absolute;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 2;
}

.cat-story__corner--tr {
    top: var(--space-4);
    right: var(--space-4);
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

.cat-story__corner--bl {
    bottom: var(--space-4);
    left: var(--space-4);
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--color-primary);
    border-left: 2px solid var(--color-primary);
    opacity: 0.6;
}

/* Hover: frame floats up, backdrop shape tilts more, image scales --------- */

.cat-story__media-inner:hover .cat-story__image-wrap {
    transform: translateY(-4px);
    box-shadow:
        0 1px 2px rgba(42, 42, 42, 0.04),
        0 32px 64px -20px rgba(42, 42, 42, 0.18);
}

.cat-story__media-inner:hover .cat-story__shape--block {
    transform: rotate(5deg) translate(4px, 4px);
}

.cat-story__media-inner:hover .cat-story__image-inner {
    transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
    .cat-story__image-wrap,
    .cat-story__shape--block,
    .cat-story__image-inner {
        transition: none;
    }
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 960px) {
    .cat-story__grid--with-image {
        grid-template-columns: 1fr;
        gap: var(--space-14);
    }

    .cat-story__media {
        position: relative;
        top: auto;
        order: -1;
        max-width: 440px;
    }

    .cat-story__shape--block {
        top: 20px;
        left: 20px;
        right: -20px;
        bottom: -20px;
    }

    .cat-story__shape--dots {
        width: 64px;
        height: 64px;
        left: -16px;
        top: -12px;
    }
}

@media (max-width: 640px) {
    .cat-story {
        padding-block: var(--space-16);
    }

    .cat-story__heading {
        font-size: var(--font-size-2xl);
    }

    .cat-story__subheading {
        font-size: var(--font-size-md);
    }

    .cat-story__image-inner {
        inset: var(--space-10) var(--space-5) var(--space-5);
    }
}


/* ── Category "Other categories" — feature variant ───────────────────────── */

.cat-other {
    background-color: #fff;
    padding-block: var(--space-24) var(--space-32);
    position: relative;
}

.cat-other__header {
    margin-bottom: var(--space-16);
    max-width: 680px;
}

.cat-other__intro {
    margin-top: var(--space-5);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-loose);
    color: var(--color-text-muted);
}

.cat-nav--feature {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
    max-width: 960px;
    margin-inline: auto;
}

.cat-nav--feature .cat-nav__item {
    display: flex;
}

.cat-nav--feature .cat-nav__card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 0;
    align-items: stretch;
    padding: 0;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-secondary);
    width: 100%;
    min-height: 0;
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-base);
}

.cat-nav--feature .cat-nav__card::after {
    display: none;
}

.cat-nav--feature .cat-nav__card:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: var(--color-secondary);
}

.cat-nav--feature .cat-nav__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 85%, rgba(42, 42, 42, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-dark) 100%);
    overflow: hidden;
    display: block;
}

.cat-nav--feature .cat-nav__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cat-nav--feature .cat-nav__card:hover .cat-nav__media img {
    transform: scale(1.05);
}

.cat-nav__index {
    position: absolute;
    top: var(--space-5);
    left: var(--space-5);
    z-index: 2;
    font-family: var(--font-display);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-inverse);
    letter-spacing: var(--letter-spacing-wider);
    padding: var(--space-2) var(--space-3);
    background-color: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-sm);
    line-height: 1;
}

.cat-nav--feature .cat-nav__body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    justify-content: space-between;
}

.cat-nav__meta {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
}

.cat-nav--feature .cat-nav__name {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin-top: var(--space-2);
    margin-bottom: var(--space-2);
}

.cat-nav--feature .cat-nav__count {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-4);
}

.cat-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-secondary);
    transition: color var(--transition-fast);
}

.cat-nav--feature .cat-nav__arrow {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-surface);
    color: var(--color-secondary);
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.cat-nav--feature .cat-nav__card:hover .cat-nav__cta {
    color: var(--color-primary);
}

.cat-nav--feature .cat-nav__card:hover .cat-nav__arrow {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .cat-nav--feature {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .cat-nav--feature {
        grid-template-columns: 1fr;
    }
}


/* =============================================================================
   Highlight stats — reusable dark section with hexagons
   ============================================================================= */

.highlight-stats {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
    padding-block: var(--space-12);
}

.highlight-stats__pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(45deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
    z-index: -1;
}

.highlight-stats__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(var(--space-12), 6vw, var(--space-20));
}

.highlight-stats__content {
    max-width: 620px;
}

.highlight-stats__heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-text-inverse);
    margin: 0;
}

.highlight-stats__subheading {
    margin: var(--space-4) 0 0;
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    color: var(--color-primary);
}

/* Stat cards --------------------------------------------------------------- */

.highlight-stats__cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(130px, 1fr);
    gap: var(--space-2);
    justify-content: flex-end;
}

.highlight-stats__card {
    position: relative;
    padding: var(--space-3) var(--space-3) var(--space-2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), background var(--transition-fast);
    isolation: isolate;
}

/* Animated orange border light — travels around the card edge.
   Uses @property so the conic-gradient's angle can be interpolated smoothly. */
.highlight-stats__card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 0%,
        transparent 72%,
        rgba(255, 136, 0, 0.35) 84%,
        var(--color-primary) 90%,
        rgba(255, 136, 0, 0.35) 96%,
        transparent 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
            mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: highlight-stats-border-spin 3.2s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.highlight-stats__card:nth-child(2)::before { animation-delay: -1s; }
.highlight-stats__card:nth-child(3)::before { animation-delay: -2.1s; }
.highlight-stats__card:nth-child(4)::before { animation-delay: -0.4s; }

.highlight-stats__card:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes highlight-stats-border-spin {
    to { --border-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
    .highlight-stats__card::before {
        animation: none;
    }
}

/* ── Variant: Large (dark theme, white feature cards, for front page) ─────── */

.highlight-stats--large {
    padding-block: var(--space-20);
}

.highlight-stats--large .highlight-stats__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--space-12);
}

.highlight-stats--large .highlight-stats__content {
    max-width: 720px;
}

.highlight-stats--large .highlight-stats__heading {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
}

.highlight-stats--large .highlight-stats__subheading {
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    font-weight: var(--font-weight-medium);
    margin-top: var(--space-4);
}

/* Feature grid */
.highlight-stats__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
    width: 100%;
}

.highlight-stats__feature {
    position: relative;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-7) var(--space-6) var(--space-6);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.12),
        0 18px 40px -12px rgba(0, 0, 0, 0.35);
    isolation: isolate;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    min-height: 200px;
}

.highlight-stats__feature:hover {
    transform: translateY(-4px);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 28px 56px -16px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 136, 0, 0.12);
}

/* Static subtle border (low opacity) as a "track" for the animated spot */
.highlight-stats__feature::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 136, 0, 0.18);
    pointer-events: none;
    z-index: 1;
}

/* Animated orange border — thicker, wider spot, soft glow */
.highlight-stats__feature::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    padding: 2px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 0%,
        transparent 55%,
        rgba(255, 136, 0, 0.25) 70%,
        rgba(255, 136, 0, 0.85) 85%,
        #ffb24d 92%,
        rgba(255, 136, 0, 0.85) 95%,
        rgba(255, 136, 0, 0.25) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
            mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: highlight-stats-border-spin 4s linear infinite;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 0 6px rgba(255, 136, 0, 0.45));
}

.highlight-stats__feature:nth-child(2)::before { animation-delay: -1.3s; }
.highlight-stats__feature:nth-child(3)::before { animation-delay: -2.6s; }
.highlight-stats__feature:nth-child(4)::before { animation-delay: -0.6s; }

.highlight-stats__feature-index {
    position: absolute;
    top: var(--space-5);
    right: var(--space-6);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
    opacity: 0.85;
}

.highlight-stats__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff9d2e 100%);
    color: #fff;
    margin-bottom: var(--space-6);
    box-shadow:
        0 4px 10px rgba(255, 136, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.highlight-stats__feature-icon svg {
    width: 26px;
    height: 26px;
    display: block;
    stroke-width: 2;
}

.highlight-stats__feature-title {
    font-size: 1.1875rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
    color: var(--color-secondary);
    margin: 0 0 var(--space-3);
    letter-spacing: var(--letter-spacing-tight);
}

.highlight-stats__feature-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .highlight-stats__feature::before {
        animation: none;
        opacity: 0.5;
    }
}

.highlight-stats__card-index {
    position: absolute;
    top: var(--space-2);
    right: var(--space-3);
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wider);
    color: rgba(255, 255, 255, 0.3);
    font-variant-numeric: tabular-nums;
}

.highlight-stats__card-rule {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.highlight-stats__card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.highlight-stats__card-label {
    font-size: 0.5625rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.55);
}

.highlight-stats__card-value {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-primary);
}

.highlight-stats__card-meta {
    font-size: 0.625rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 2px;
}

.highlight-stats__card-corner {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-right: 1px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 960px) {
    .highlight-stats__grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .highlight-stats__cards {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .highlight-stats__cards {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
}


/* =============================================================================
   Product Single — media panel, quick specs, full specs section
   ============================================================================= */

.product-single__media {
    position: sticky;
    top: calc(var(--header-height) + var(--space-8));
}

.product-single__image {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: none;
    position: relative;
}

.product-single__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.5) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.product-single__image img {
    position: relative;
    z-index: 0;
}

/* Rework info-panel hierarchy: actions moved above specs */
.product-single__intro {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: var(--space-8);
}

.product-single__actions {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    padding-bottom: var(--space-10);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-10);
}

.product-quick-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-8);
    margin: 0;
}

.product-quick-specs__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding-left: var(--space-4);
    border-left: 2px solid var(--color-border);
}

.product-quick-specs__item:hover {
    border-left-color: var(--color-primary);
}

.product-quick-specs dt {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
    margin: 0;
}

.product-quick-specs dd {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    margin: 0;
}

/* Full specifications section (below fold) */
.product-specs-section__download {
    margin-top: var(--space-10);
}

.product-specs__table--full {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.product-specs__table--full tbody tr:nth-child(even) {
    background-color: transparent;
}

.product-specs__table--full tr {
    border-bottom: 1px solid var(--color-border);
}

.product-specs__table--full tr:last-child {
    border-bottom: none;
}

.product-specs__table--full th,
.product-specs__table--full td {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-sm);
}

.product-specs__table--full th {
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
    text-transform: none;
    letter-spacing: var(--letter-spacing-normal);
    width: 45%;
}

.product-specs__table--full td {
    color: var(--color-secondary);
    font-weight: var(--font-weight-semibold);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 960px) {
    .product-single__media {
        position: static;
    }
}

@media (max-width: 640px) {
    .product-quick-specs {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}


/* =============================================================================
   Floating Contact Widget
   ============================================================================= */

.contact-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 999;
    font-family: var(--font-family);
}

/* Toggle button */
.contact-float__toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(255, 136, 0, 0.3);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.contact-float__toggle:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Panel */
.contact-float__panel {
    display: none;
    position: absolute;
    bottom: calc(100% + var(--space-3));
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    padding: var(--space-6);
    animation: contactFloatIn 0.2s ease-out;
}

.contact-float__panel.is-open {
    display: block;
}

@keyframes contactFloatIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close button */
.contact-float__close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.contact-float__close:hover {
    background: var(--color-primary-hover);
}

/* Info rows */
.contact-float__info {
    margin-bottom: var(--space-4);
}

.contact-float__label {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin: 0 0 2px;
}

.contact-float__value {
    font-size: var(--font-size-sm);
    margin: 0;
}

.contact-float__value a {
    color: var(--color-text);
    text-decoration: none;
}

.contact-float__value a:hover {
    color: var(--color-primary);
}

/* CTA button */
.contact-float__btn {
    display: block;
    margin-top: var(--space-5);
    padding: var(--space-3) var(--space-5);
    background: var(--color-secondary);
    color: #fff;
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.contact-float__btn:hover {
    background: #333;
    color: #fff;
}

@media (max-width: 480px) {
    .contact-float {
        bottom: var(--space-4);
        right: var(--space-4);
    }

    .contact-float__panel {
        width: calc(100vw - var(--space-8));
        right: 0;
    }

    .contact-float__toggle span {
        display: none;
    }
}


/* =============================================================================
   Dealers Page
   ============================================================================= */

/* ── Dealers Intro ────────────────────────────────────────────────────────── */

.dealers-intro {
    padding-block: var(--space-20);
}

.dealers-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(var(--space-12), 6vw, var(--space-20));
    align-items: center;
}

.dealers-intro__title {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-6);
}

.dealers-intro__text {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    line-height: var(--line-height-loose);
    max-width: 52ch;
}

.dealers-intro__stats {
    display: flex;
    gap: var(--space-10);
    justify-content: flex-end;
}

.dealers-intro__stat {
    text-align: center;
    padding-left: var(--space-10);
    border-left: 1px solid var(--color-border);
}

.dealers-intro__stat:first-child {
    padding-left: 0;
    border-left: none;
}

.dealers-intro__stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.dealers-intro__stat-label {
    display: block;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

@media (max-width: 880px) {
    .dealers-intro__grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .dealers-intro__stats {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .dealers-intro__stats {
        flex-direction: column;
        gap: var(--space-6);
    }

    .dealers-intro__stat {
        padding-left: 0;
        border-left: none;
        padding-top: var(--space-6);
        border-top: 1px solid var(--color-border);
        text-align: left;
    }

    .dealers-intro__stat:first-child {
        padding-top: 0;
        border-top: none;
    }
}


/* ── Dealers Map ──────────────────────────────────────────────────────────── */

.dealers-map {
    padding-block: var(--space-16);
    background-color: var(--color-surface);
}

.dealers-map__header {
    margin-bottom: var(--space-10);
}

.dealers-map__embed {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 400px;
    background: var(--color-bg);
    box-shadow: var(--shadow-md);
}

.dealers-map__embed iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
    border: 0;
}

.dealers-map__placeholder {
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-dark) 100%);
}

@media (max-width: 640px) {
    .dealers-map__embed,
    .dealers-map__embed iframe,
    .dealers-map__placeholder {
        min-height: 280px;
    }
}


/* ── Dealers List ─────────────────────────────────────────────────────────── */

.dealers-list {
    padding-block: var(--space-20);
}

.dealers-list__header {
    margin-bottom: var(--space-16);
}

.dealers-list__group {
    margin-bottom: var(--space-12);
}

.dealers-list__group:last-child {
    margin-bottom: 0;
}

.dealers-list__country {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--color-border);
    margin-bottom: var(--space-6);
}

.dealers-list__country-flag {
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.dealers-list__country-count {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-muted);
    background: var(--color-surface);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-left: auto;
}

.dealers-list__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

/* ── Dealer Card ──────────────────────────────────────────────────────────── */

.dealer-card {
    display: flex;
    gap: var(--space-5);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
    transition:
        box-shadow var(--transition-base),
        transform var(--transition-base),
        border-color var(--transition-base);
}

.dealer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary), #ffaa44);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.dealer-card:hover {
    box-shadow: 0 8px 30px rgba(255, 136, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    border-color: rgba(255, 136, 0, 0.2);
}

.dealer-card:hover::before {
    opacity: 1;
}

.dealer-card__logo {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.dealer-card__logo img {
    max-width: 56px;
    max-height: 56px;
    object-fit: contain;
}

.dealer-card__initial {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    line-height: 1;
    user-select: none;
}

.dealer-card__body {
    flex: 1;
    min-width: 0;
}

.dealer-card__name {
    font-family: var(--font-display);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-3);
}

.dealer-card__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.dealer-card__detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-normal);
}

.dealer-card__detail svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.dealer-card__detail a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.dealer-card__detail a:hover {
    color: var(--color-primary);
}

@media (max-width: 880px) {
    .dealers-list__cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dealer-card {
        flex-direction: column;
    }

    .dealer-card__logo {
        width: 56px;
        height: 56px;
    }

    .dealer-card__logo img {
        max-width: 40px;
        max-height: 40px;
    }
}


/* =============================================================================
   Contact Page
   ============================================================================= */

/* ── Contact Hero ─────────────────────────────────────────────────────────── */

.contact-hero {
    position: relative;
    background-color: var(--color-secondary);
    background-size: cover;
    background-position: center;
    color: var(--color-text-inverse);
    padding-block: var(--space-12) var(--space-16);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            100deg,
            rgba(20, 20, 20, 0.92) 0%,
            rgba(20, 20, 20, 0.75) 45%,
            rgba(20, 20, 20, 0.4) 100%
        );
    pointer-events: none;
    z-index: -1;
}

.contact-hero--has-image::before {
    background:
        linear-gradient(
            95deg,
            rgba(20, 20, 20, 0.88) 0%,
            rgba(20, 20, 20, 0.55) 45%,
            rgba(20, 20, 20, 0.15) 100%
        );
}

.contact-hero__pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 85% 30%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.contact-hero--has-image .contact-hero__pattern {
    opacity: 0.45;
}

.contact-hero__accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 160px, transparent 160px, transparent 100%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero__content {
    max-width: 680px;
}

.contact-hero__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.contact-hero__label-rule {
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--color-primary);
}

.contact-hero__title {
    font-size: clamp(2.25rem, 4.8vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.08;
    letter-spacing: var(--letter-spacing-tight);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    margin: 0;
    color: var(--color-text-inverse);
}

.contact-hero__subtitle {
    margin-top: var(--space-6);
    max-width: 560px;
    font-size: var(--font-size-lg);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
    .contact-hero {
        min-height: 280px;
        padding-block: var(--space-10) var(--space-12);
    }
}


/* ── Contact Details ──────────────────────────────────────────────────────── */

.contact-details {
    padding-block: var(--space-20);
}

.contact-details__header {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-16);
}

.contact-details__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.contact-details__card {
    position: relative;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6) var(--space-6);
    text-align: center;
    overflow: hidden;
    transition:
        box-shadow var(--transition-base),
        transform var(--transition-base),
        border-color var(--transition-base);
}

.contact-details__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #ffaa44);
    opacity: 0.85;
    transition: opacity var(--transition-base), height var(--transition-base);
}

.contact-details__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 136, 0, 0.06) 50%);
    border-radius: 0 0 var(--radius-xl) 0;
    transition: width var(--transition-base), height var(--transition-base), background var(--transition-base);
    pointer-events: none;
}

.contact-details__card:hover {
    box-shadow: 0 8px 30px rgba(255, 136, 0, 0.10), 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 136, 0, 0.25);
}

.contact-details__card:hover::before {
    opacity: 1;
    height: 4px;
}

.contact-details__card:hover::after {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 136, 0, 0.10) 50%);
}

.contact-details__card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), #ffaa44);
    color: #fff;
    border-radius: var(--radius-lg);
    margin: 0 auto var(--space-5);
    box-shadow: 0 4px 12px rgba(255, 136, 0, 0.25);
}

.contact-details__card-title {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.contact-details__card-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin: 0 0 var(--space-4);
}

.contact-details__card-lines {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact-details__card-line {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-normal);
    margin: 0;
}

.contact-details__card-line--primary {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
}

.contact-details__card-line--muted {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}

@media (max-width: 880px) {
    .contact-details__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }
}


/* ── Contact Form Section ─────────────────────────────────────────────────── */

.contact-form-section {
    padding-block: var(--space-20);
    background-color: var(--color-surface);
}

.contact-form-section--has-bg {
    background-color: var(--color-bg);
    position: relative;
    isolation: isolate;
}

.contact-form-section--has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--axer-form-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 30%,
        rgba(0, 0, 0, 0.35) 70%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 30%,
        rgba(0, 0, 0, 0.35) 70%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -1;
}

.contact-form-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(var(--space-12), 5vw, var(--space-20));
    align-items: start;
}

.contact-form-section__header {
    margin-bottom: var(--space-10);
}

.contact-form-section__form-area {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-sm);
}

/* Placeholder form styling */
.contact-form-section__placeholder-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.contact-form-section__placeholder-field {
    margin-bottom: var(--space-5);
}

.contact-form-section__placeholder-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.contact-form-section__placeholder-input {
    display: block;
    width: 100%;
    height: 44px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.contact-form-section__placeholder-input--tall {
    height: 120px;
}

.contact-form-section__placeholder-btn {
    margin-top: var(--space-4);
    display: inline-flex;
    pointer-events: none;
}

/* Sidebar */
.contact-form-section__sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-8));
    padding: var(--space-8);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.contact-form-section__sidebar-title {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    margin-bottom: var(--space-6);
    line-height: var(--line-height-snug);
}

.contact-form-section__sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-form-section__sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding-block: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--color-text);
    line-height: var(--line-height-normal);
}

.contact-form-section__sidebar-item + .contact-form-section__sidebar-item {
    border-top: 1px solid var(--color-border);
}

.contact-form-section__sidebar-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    margin-top: 1px;
}

.contact-form-section__sidebar-trust {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.contact-form-section__sidebar-trust svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

@media (max-width: 880px) {
    .contact-form-section__grid {
        grid-template-columns: 1fr;
    }

    .contact-form-section__sidebar {
        position: static;
    }

    .contact-form-section__placeholder-row {
        grid-template-columns: 1fr;
    }
}


/* ── Contact Map Section ──────────────────────────────────────────────────── */

.contact-map {
    padding-block: var(--space-20);
}

.contact-map__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: clamp(var(--space-10), 5vw, var(--space-16));
    align-items: start;
}

.contact-map__block {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.contact-map__block + .contact-map__block {
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.contact-map__block-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
}

.contact-map__block-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.contact-map__block-content p {
    font-size: var(--font-size-sm);
    color: var(--color-text);
    line-height: var(--line-height-loose);
    margin: 0;
}

.contact-map__embed {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 320px;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
}

.contact-map__embed iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    border: 0;
}

.contact-map__placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-dark) 100%);
}

@media (max-width: 880px) {
    .contact-map__grid {
        grid-template-columns: 1fr;
    }

    .contact-map__embed {
        order: -1;
    }
}


/* ── Contact CTA (Trust Section) ──────────────────────────────────────────── */

.contact-cta {
    padding-block: var(--space-16);
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
}

.contact-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-12);
}

.contact-cta__content {
    max-width: 560px;
}

.contact-cta__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--space-4);
}

.contact-cta__text {
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--line-height-loose);
}

.contact-cta__stats {
    display: flex;
    gap: var(--space-10);
}

.contact-cta__stat {
    text-align: center;
    padding-left: var(--space-10);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-cta__stat:first-child {
    padding-left: 0;
    border-left: none;
}

.contact-cta__stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.contact-cta__stat-label {
    display: block;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: rgba(255, 255, 255, 0.55);
    /* Allow wrapping — DE/FR labels can be longer than the SE original. */
}

@media (max-width: 880px) {
    .contact-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-cta__stats {
        justify-content: center;
    }
}

/* Stack to column earlier — longer German labels (e.g. "Einzelhändler in
   Europa") overflow on phones if kept side-by-side past ~640px. */
@media (max-width: 640px) {
    .contact-cta__stats {
        flex-direction: column;
        gap: var(--space-6);
    }

    .contact-cta__stat {
        padding-left: 0;
        border-left: none;
        padding-top: var(--space-6);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .contact-cta__stat:first-child {
        padding-top: 0;
        border-top: none;
    }
}


/* =============================================================================
   Company Page
   ============================================================================= */

/* ── Company Hero ─────────────────────────────────────────────────────────── */

.company-hero {
    position: relative;
    background-color: var(--color-secondary);
    background-size: cover;
    background-position: center;
    color: var(--color-text-inverse);
    padding-block: var(--space-16) var(--space-20);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.company-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            100deg,
            rgba(20, 20, 20, 0.92) 0%,
            rgba(20, 20, 20, 0.75) 45%,
            rgba(20, 20, 20, 0.4) 100%
        );
    pointer-events: none;
    z-index: -1;
}

.company-hero--has-image::before {
    background:
        linear-gradient(
            95deg,
            rgba(20, 20, 20, 0.88) 0%,
            rgba(20, 20, 20, 0.55) 45%,
            rgba(20, 20, 20, 0.15) 100%
        );
}

.company-hero__pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 85% 30%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.company-hero--has-image .company-hero__pattern {
    opacity: 0.45;
}

.company-hero__accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 160px, transparent 160px, transparent 100%);
    z-index: 1;
}

.company-hero .container {
    position: relative;
    z-index: 1;
}

.company-hero__content {
    max-width: 720px;
}

.company-hero__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.company-hero__label-rule {
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--color-primary);
}

.company-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.8vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.08;
    letter-spacing: var(--letter-spacing-tight);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    margin: 0;
    color: var(--color-text-inverse);
}

.company-hero__intro {
    margin-top: var(--space-6);
    max-width: 580px;
    font-size: var(--font-size-lg);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
    .company-hero {
        min-height: 320px;
        padding-block: var(--space-12) var(--space-16);
    }
}


/* ── Company Narrative ────────────────────────────────────────────────────── */

.company-narrative {
    padding-block: var(--space-20);
}

.company-narrative--surface {
    background-color: #fff;
}

.company-narrative__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.company-narrative__content,
.company-narrative__media {
    align-self: center;
}

/* Extra breathing room after the last narrative section before the next block */
.company-narrative:has(+ :not(.company-narrative)) {
    padding-bottom: var(--space-32);
}

.company-narrative--image-left .company-narrative__media {
    order: -1;
}

.company-narrative__content {
    max-width: 540px;
}

.company-narrative--image-left .company-narrative__content {
    justify-self: end;
}

.company-narrative__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.company-narrative__label-rule {
    display: inline-block;
    width: 32px;
    height: 1px;
    background-color: var(--color-primary);
}

.company-narrative__title {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-secondary);
    margin: 0 0 var(--space-6) 0;
}

.company-narrative__text {
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: var(--color-text);
}

.company-narrative__text p {
    margin: 0 0 var(--space-4) 0;
}

.company-narrative__text p:last-child {
    margin-bottom: 0;
}

.company-narrative__media {
    position: relative;
}

.company-narrative__image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.company-narrative__image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.company-narrative__image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 0 var(--radius-sm) 0 0;
}

@media (max-width: 860px) {
    .company-narrative__inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .company-narrative--image-left .company-narrative__media {
        order: 0;
    }

    .company-narrative--image-left .company-narrative__content {
        justify-self: start;
    }

    .company-narrative__content {
        max-width: 100%;
    }

    .company-narrative {
        padding-block: var(--space-16);
    }
}


/* ── Company Vision ───────────────────────────────────────────────────────── */

.company-vision {
    position: relative;
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
    padding-block: var(--space-24);
    overflow: hidden;
    isolation: isolate;
}

.company-vision__pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 80%);
    pointer-events: none;
    z-index: -1;
}

.company-vision__inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.company-vision__mark {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.6;
    color: var(--color-primary);
    opacity: 0.7;
    margin-bottom: var(--space-4);
}

.company-vision__quote {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-text-inverse);
    margin: 0;
    quotes: none;
}

.company-vision__text {
    margin-top: var(--space-8);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin-inline: auto;
}

.company-vision__author {
    display: block;
    margin-top: var(--space-6);
    font-size: var(--font-size-sm);
    font-style: normal;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    color: var(--color-primary);
}

@media (max-width: 640px) {
    .company-vision {
        padding-block: var(--space-16);
    }
}


/* ── Company Proof Points ─────────────────────────────────────────────────── */

.company-proof {
    padding-block: var(--space-20);
    background-color: var(--color-surface);
}

.company-proof__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-16) auto;
}

.company-proof__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.company-proof__label-rule {
    display: inline-block;
    width: 32px;
    height: 1px;
    background-color: var(--color-primary);
}

.company-proof__title {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-secondary);
    margin: 0;
}

.company-proof__grid {
    display: grid;
    gap: var(--space-8);
}

.company-proof__grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.company-proof__grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.company-proof__card {
    position: relative;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-10) var(--space-8);
    text-align: center;
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.company-proof__card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.company-proof__card-accent {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.company-proof__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.company-proof__card-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    margin: 0 0 var(--space-3) 0;
}

.company-proof__card-text {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 860px) {
    .company-proof__grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-proof__grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-proof {
        padding-block: var(--space-16);
    }
}

@media (max-width: 480px) {
    .company-proof__grid--3,
    .company-proof__grid--4 {
        grid-template-columns: 1fr;
    }
}


/* ── Company CTA ──────────────────────────────────────────────────────────── */

.company-cta {
    padding-block: var(--space-20);
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
}

.company-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.company-cta__header {
    max-width: 460px;
}

.company-cta__title {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-text-inverse);
    margin: 0 0 var(--space-6) 0;
}

.company-cta__text {
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 var(--space-8) 0;
}

.company-cta__btn {
    margin-top: var(--space-2);
}

.company-cta__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.company-cta__card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-5) var(--space-6);
    transition: transform var(--transition-base), background-color var(--transition-base);
}

.company-cta__card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 0%,
        transparent 72%,
        rgba(255, 136, 0, 0.35) 84%,
        var(--color-primary) 90%,
        rgba(255, 136, 0, 0.35) 96%,
        transparent 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
            mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: highlight-stats-border-spin 3.2s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.company-cta__card:nth-child(2)::before { animation-delay: -1s; }
.company-cta__card:nth-child(3)::before { animation-delay: -2.1s; }

.company-cta__card:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .company-cta__card::before {
        animation: none;
    }
}

.company-cta__card-title {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin: 0 0 var(--space-2) 0;
}

.company-cta__card-line {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.company-cta__card-line--muted {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-xs);
    margin-top: var(--space-1);
}

@media (max-width: 860px) {
    .company-cta__inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .company-cta__header {
        max-width: 100%;
    }

    .company-cta__cards {
        grid-template-columns: 1fr;
    }

    .company-cta {
        padding-block: var(--space-16);
    }
}

@media (min-width: 861px) and (max-width: 1080px) {
    .company-cta__cards {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ── Shared: Page heading ───────────────────────────────────────────────── */

.page-heading {
    padding-block: var(--space-20) var(--space-8);
    background-color: #fff;
}

.page-heading__title {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-secondary);
    letter-spacing: -0.02em;
    margin: 0;
    max-width: 38ch;
}

@media (max-width: 860px) {
    .page-heading {
        padding-block: var(--space-12) var(--space-6);
    }

    .page-heading__title {
        font-size: var(--font-size-3xl);
    }
}


/* =============================================================================
   Single Product — Premium Layout
   ============================================================================= */

.product-breadcrumb {
    background-color: #fff;
    padding-block: var(--space-6) 0;
}

.product-hero {
    padding-block: var(--space-12) var(--space-20);
    background-color: #fff;
}

.product-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--space-16);
    align-items: center;
}

.product-hero__grid--no-image {
    grid-template-columns: 1fr;
    max-width: 720px;
}

.product-hero__media {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.product-hero__stage {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 80%, rgba(42, 42, 42, 0.06) 0%, transparent 65%),
        linear-gradient(135deg, #fafafa 0%, #f3f3f3 100%);
    border: 1px solid var(--color-border);
}

.product-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-8);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-hero__image.is-active {
    opacity: 1;
}

.product-hero__corner {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 22px;
    height: 22px;
    border-top: 2px solid var(--color-secondary);
    border-right: 2px solid var(--color-secondary);
    opacity: 0.4;
    pointer-events: none;
}

.product-hero__thumbs {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.product-hero__thumb {
    width: 76px;
    height: 76px;
    padding: 0;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fafafa;
    cursor: pointer;
    overflow: hidden;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.product-hero__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-hero__thumb:hover {
    border-color: var(--color-border-strong);
}

.product-hero__thumb.is-active {
    border-color: var(--color-primary);
}

.product-hero__info {
    display: flex;
    flex-direction: column;
}

.product-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.product-hero__eyebrow-rule {
    display: inline-block;
    width: 32px;
    height: 1px;
    background-color: var(--color-primary);
}

.product-hero__title {
    font-family: var(--font-display);
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
    color: var(--color-secondary);
    margin: 0 0 var(--space-3) 0;
}

.product-hero__tagline {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-text-muted);
    margin: 0 0 var(--space-5) 0;
}

.product-hero__badges {
    list-style: none;
    margin: 0 0 var(--space-5) 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.product-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px var(--space-3);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
}

.product-hero__intro {
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: var(--color-text);
    margin: 0 0 var(--space-6) 0;
    max-width: 56ch;
}

.product-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.product-hero__quick-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.product-hero__quick-spec {
    padding: var(--space-3) 0;
}

.product-hero__quick-spec dt {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
    margin-bottom: 4px;
}

.product-hero__quick-spec dd {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    margin: 0;
    line-height: var(--line-height-tight);
}

.product-section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.product-section-label__rule {
    display: inline-block;
    width: 32px;
    height: 1px;
    background-color: var(--color-primary);
}

.product-section-label--inverse {
    color: rgba(255, 255, 255, 0.7);
}

.product-section-label--inverse .product-section-label__rule {
    background-color: rgba(255, 255, 255, 0.4);
}

.product-description {
    padding-block: var(--space-16);
    background-color: #fff;
}

/* Single product pages use a clean white canvas — override the generic
   surface class used by shared components (related products, etc.). */
body.single-product .section--surface {
    background-color: #fff;
}

.product-description__body {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-loose);
    color: var(--color-text);
}

.product-description__body p {
    margin: 0 0 var(--space-5) 0;
}

.product-description__body p:last-child {
    margin-bottom: 0;
}

.product-features {
    padding-block: var(--space-20);
    background-color: #fff;
}

.product-features__header {
    margin-bottom: var(--space-10);
    max-width: 720px;
}

.product-features__title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-secondary);
    margin: 0;
}

.product-features__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 1100px) {
    .product-features__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .product-features__grid {
        grid-template-columns: 1fr;
    }
}

.product-feature-card {
    position: relative;
    padding: var(--space-6);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.product-feature-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-2px);
}

.product-feature-card__num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    letter-spacing: var(--letter-spacing-wider);
}

.product-feature-card__title {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    color: var(--color-secondary);
    margin: 0 0 var(--space-2) 0;
}

.product-feature-card__text {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-loose);
    color: var(--color-text);
    margin: 0;
}

.product-specs {
    padding-block: var(--space-20);
    background-color: #fff;
}

.product-specs__layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--space-16);
    align-items: start;
}

.product-specs__layout--cases-only {
    grid-template-columns: minmax(0, 800px);
    justify-content: center;
}

/* Sticky aside — keeps the contact card visible while scanning long specs */
.product-specs__col--cases {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
    align-self: start;
}

/* Contact card — sits below use cases when present, otherwise alone in the aside */
.product-specs__contact-card {
    margin-top: var(--space-8);
    padding: var(--space-8);
    background-color: var(--color-secondary);
    border-radius: var(--radius-lg);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* When card is alone in the aside (no use-cases list above), drop the gap */
.product-specs__col--cases > .product-specs__contact-card:first-child {
    margin-top: 0;
}

.product-specs__contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 3px;
    background-color: var(--color-primary);
}

.product-specs__contact-title {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--space-3) 0;
    color: #fff;
}

.product-specs__contact-text {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 var(--space-5) 0;
}

.product-specs__contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.product-specs__contact-link:hover {
    gap: var(--space-3);
    color: var(--color-primary);
}

.product-specs__title--cases {
    margin: 0;
}

@media (max-width: 980px) {
    .product-specs__layout {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    /* On stacked layout, contact card should not be sticky */
    .product-specs__col--cases {
        position: static;
    }
}

.product-specs__header {
    margin-bottom: var(--space-8);
}

.product-specs__title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-secondary);
    text-transform: none;
    margin: 0;
}

.product-specs__table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-specs__table tr {
    border-bottom: 1px solid var(--color-border);
}

.product-specs__table tr:last-child {
    border-bottom: none;
}

.product-specs__table th,
.product-specs__table td {
    padding: var(--space-4) var(--space-5);
    text-align: left;
    font-size: var(--font-size-md);
}

.product-specs__table th {
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    width: 45%;
}

.product-specs__table td {
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
}

/* Collapsed state — hide rows marked as extra, keep first 6 visible */
.product-specs__table--collapsible.is-collapsed .is-extra {
    display: none;
}

/* Subtle staggered fade-in for revealed rows when expanding */
.product-specs__table--collapsible:not(.is-collapsed) .is-extra {
    animation: axer-specs-row-in 0.32s ease-out backwards;
}
.product-specs__table--collapsible:not(.is-collapsed) .is-extra:nth-of-type(7)  { animation-delay: 0.00s; }
.product-specs__table--collapsible:not(.is-collapsed) .is-extra:nth-of-type(8)  { animation-delay: 0.04s; }
.product-specs__table--collapsible:not(.is-collapsed) .is-extra:nth-of-type(9)  { animation-delay: 0.08s; }
.product-specs__table--collapsible:not(.is-collapsed) .is-extra:nth-of-type(10) { animation-delay: 0.12s; }
.product-specs__table--collapsible:not(.is-collapsed) .is-extra:nth-of-type(11) { animation-delay: 0.16s; }
.product-specs__table--collapsible:not(.is-collapsed) .is-extra:nth-of-type(n+12) { animation-delay: 0.2s; }

@keyframes axer-specs-row-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .product-specs__table--collapsible:not(.is-collapsed) .is-extra {
        animation: none;
    }
}

/* Toggle button — premium ghost style */
.product-specs__toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
    padding: var(--space-3) var(--space-5);
    background: transparent;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    color: var(--color-secondary);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        color var(--transition-fast),
        background-color var(--transition-fast);
}

.product-specs__toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.product-specs__toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.product-specs__toggle-icon {
    transition: transform var(--transition-fast);
}

.product-specs__toggle[aria-expanded="true"] .product-specs__toggle-icon {
    transform: rotate(180deg);
}

.product-specs__download {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding: var(--space-4) var(--space-6);
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.product-specs__download:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.product-specs__download-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-surface);
    border-radius: 50%;
    color: var(--color-primary);
}

.product-specs__download-body {
    display: flex;
    flex-direction: column;
}

.product-specs__download-label {
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    font-size: var(--font-size-md);
}

.product-specs__download-meta {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--color-text-muted);
    margin-top: 2px;
}

.product-use-cases {
    padding-block: var(--space-20);
    background-color: #fff;
}

.product-use-cases__title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-secondary);
    margin: 0 0 var(--space-8) 0;
}

.product-use-cases__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-3);
}

.product-use-cases__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    font-size: var(--font-size-md);
    color: var(--color-text);
    line-height: var(--line-height-snug);
}

.product-use-cases__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-radius: 50%;
    margin-top: 1px;
}

@media (max-width: 980px) {
    .product-hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .product-hero__title {
        font-size: var(--font-size-4xl);
    }
}

@media (max-width: 600px) {
    .product-hero {
        padding-block: var(--space-8) var(--space-12);
    }

    .product-features,
    .product-specs,
    .product-use-cases {
        padding-block: var(--space-12);
    }

    .product-hero__quick-specs {
        grid-template-columns: 1fr;
    }

    .product-specs__table th,
    .product-specs__table td {
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-size-sm);
    }
}


/* =============================================================================
   Single Product — Premium polish layer
   ============================================================================= */

/* ── Hero stage — subtle grid pattern + corner brackets ─────────────────── */
.product-hero__stage {
    background:
        linear-gradient(135deg, #fbfbfb 0%, #f1f1f1 100%),
        radial-gradient(circle at 50% 80%, rgba(42, 42, 42, 0.08) 0%, transparent 60%);
    position: relative;
    isolation: isolate;
}

.product-hero__stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(42, 42, 42, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(42, 42, 42, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: -1px -1px;
    pointer-events: none;
    z-index: 0;
}

.product-hero__image {
    z-index: 1;
}

.product-hero__corner {
    z-index: 2;
}

/* Add bracket on opposite corner too for symmetry */
.product-hero__stage::after {
    content: '';
    position: absolute;
    bottom: var(--space-4);
    left: var(--space-4);
    width: 22px;
    height: 22px;
    border-bottom: 2px solid var(--color-secondary);
    border-left: 2px solid var(--color-secondary);
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
}

/* ── Hero title — slight refinement ─────────────────────────────────────── */
.product-hero__title {
    line-height: 1.05;
}

.product-hero__quick-specs {
    border-top: 2px solid var(--color-secondary);
    padding-top: var(--space-5);
}

.product-hero__quick-spec {
    border-right: 1px solid var(--color-border);
    padding-inline: var(--space-4);
    padding-block: var(--space-2);
}

.product-hero__quick-spec:nth-child(2n),
.product-hero__quick-spec:last-child {
    border-right: none;
}

.product-hero__quick-spec:first-child,
.product-hero__quick-spec:nth-child(2n+1) {
    padding-left: 0;
}

/* ── Description — editorial 2-column ───────────────────────────────────── */
.product-description {
    padding-block: var(--space-20);
    background-color: #fff;
}

.product-description__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: var(--space-16);
    align-items: start;
}

.product-description__aside {
    position: sticky;
    top: var(--space-12);
}

.product-description__heading {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.015em;
    color: var(--color-secondary);
    margin: 0;
    max-width: 14ch;
}

.product-description__body {
    font-size: var(--font-size-md);
    line-height: 1.85;
    color: var(--color-text);
    max-width: 60ch;
}

/* Dropcap removed — too unreliable when text starts with a narrow letter (I, L) */

@media (max-width: 860px) {
    .product-description__layout {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .product-description__aside {
        position: static;
    }

    .product-description__heading {
        font-size: var(--font-size-2xl);
    }
}

/* ── Features — premium card treatment ──────────────────────────────────── */
.product-features {
    padding-block: var(--space-20);
    background-color: #fff;
}

.product-features__title {
    font-size: var(--font-size-4xl);
    letter-spacing: -0.02em;
    max-width: 18ch;
}

/* Editorial horizontal band — designed for sparse title-only feature lists.
   Title is the hero (large, bold display type); number is a small supporting
   label. A thin orange accent rule at the top of each item gives structure.
   Strong vertical dividers between items unify the band as one composition. */

.product-features__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    grid-template-columns: none;
}

.product-feature-card {
    flex: 1 1 220px;
    position: relative;
    padding: var(--space-6) var(--space-8) var(--space-6) 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-height: 0;
    overflow: visible;
    isolation: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: none;
}

.product-feature-card + .product-feature-card {
    padding-left: var(--space-8);
    border-left: 1px solid var(--color-border-strong);
}

/* Top accent rule — short orange line, signals "this is structured content" */
.product-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--color-primary);
    z-index: 1;
}

.product-feature-card + .product-feature-card::before {
    left: var(--space-8);
}

.product-feature-card::after {
    content: none;
    display: none;
}

.product-feature-card:hover {
    transform: none;
    border-color: var(--color-border-strong);
    box-shadow: none;
}

/* Number — small, label-style, supporting role */
.product-feature-card__num {
    position: static;
    display: block;
    font-family: var(--font-display);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0.18em;
    color: var(--color-primary);
    margin: 0 0 var(--space-4) 0;
    padding: 0;
    background: none;
    opacity: 1;
    transform: none;
    top: auto;
    right: auto;
    pointer-events: auto;
    z-index: auto;
    transition: none;
}

.product-feature-card__num::before {
    content: none;
    display: none;
}

.product-feature-card:hover .product-feature-card__num {
    opacity: 1;
    transform: none;
}

/* Title — the hero. Large, bold, tight tracking. */
.product-feature-card__title {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
    margin: 0;
    padding: 0;
    max-width: 14ch;
}

.product-feature-card__text {
    font-size: var(--font-size-sm);
    line-height: 1.65;
    color: var(--color-text);
    margin: var(--space-4) 0 0 0;
    max-width: 32ch;
}

/* Tablet: 2 columns */
@media (max-width: 1099px) and (min-width: 601px) {
    .product-feature-card {
        flex: 1 1 calc(50% - var(--space-8));
    }
    .product-feature-card:nth-child(odd) {
        padding-left: 0;
        border-left: none;
    }
    .product-feature-card:nth-child(odd)::before {
        left: 0;
    }
    .product-feature-card:nth-child(n+3) {
        margin-top: var(--space-8);
        padding-top: var(--space-8);
        border-top: 1px solid var(--color-border-strong);
    }
    .product-feature-card:nth-child(n+3)::before {
        top: 0;
    }
}

/* Mobile: stack vertically */
@media (max-width: 600px) {
    .product-feature-card {
        flex: 1 1 100%;
        padding: var(--space-6) 0;
    }
    .product-feature-card + .product-feature-card {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--color-border-strong);
    }
    .product-feature-card + .product-feature-card::before {
        left: 0;
        top: 0;
    }
    .product-feature-card__title {
        font-size: var(--font-size-lg);
        max-width: none;
    }
}

/* ── Specs — refined table styling ──────────────────────────────────────── */
.product-specs {
    background-color: #fff;
}

.product-specs__title {
    font-size: var(--font-size-3xl);
    letter-spacing: -0.015em;
}

.product-specs__table {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 2px solid var(--color-secondary);
    border-bottom: 1px solid var(--color-border);
    background-color: transparent;
}

.product-specs__table tr {
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-fast);
}

.product-specs__table tr:hover {
    background-color: rgba(255, 136, 0, 0.03);
}

.product-specs__table th,
.product-specs__table td {
    padding: var(--space-4) 0;
    font-size: var(--font-size-sm);
}

.product-specs__table th {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    width: 50%;
}

.product-specs__table td {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    text-align: right;
}

/* ── Use cases — refined list ───────────────────────────────────────────── */
.product-use-cases__list {
    gap: var(--space-2);
}

.product-use-cases__item {
    background-color: #fff;
    border: 1px solid var(--color-border);
    padding: var(--space-4) var(--space-5);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.product-use-cases__item:hover {
    border-color: var(--color-primary);
    transform: translateX(2px);
}

/* ── Hero badges — slightly more refined ────────────────────────────────── */
.product-hero__badge {
    background-color: #fff;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 7px var(--space-4);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.product-hero__badges {
    margin-block: var(--space-2) var(--space-6);
}

/* ── Hero CTA refinement ────────────────────────────────────────────────── */
.product-hero__actions {
    margin-bottom: var(--space-10);
}

/* ── Section header label upgrade ───────────────────────────────────────── */
.product-section-label {
    margin-bottom: var(--space-3);
}

.product-section-label__rule {
    width: 40px;
    height: 2px;
}


/* =============================================================================
   Single Product — Combined Overview section (description + image + features)
   ============================================================================= */

.product-overview {
    padding-block: var(--space-20);
    background-color: #fff;
}

.product-overview__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-20);
}

.product-overview__intro--no-image {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    align-items: start;
    gap: var(--space-16);
}

.product-overview__intro-text {
    max-width: 56ch;
}

.product-overview__heading {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.015em;
    color: var(--color-secondary);
    margin: 0 0 var(--space-5) 0;
}

.product-overview__body {
    font-size: var(--font-size-md);
    line-height: 1.85;
    color: var(--color-text);
}

.product-overview__body p {
    margin: 0 0 var(--space-4) 0;
}

.product-overview__body p:last-child {
    margin-bottom: 0;
}

.product-overview__media {
    position: relative;
}

.product-overview__media-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(135deg, #fbfbfb 0%, #f1f1f1 100%);
}

.product-overview__media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* When the slot holds a video instead of an image */
.product-overview__media-frame--video {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.25),
        0 12px 24px -10px rgba(0, 0, 0, 0.15);
}

.product-overview__media-frame--video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.product-overview__media-corner {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 22px;
    height: 22px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    opacity: 0.55;
    pointer-events: none;
    z-index: 2;
}

.product-overview__features {
    padding-top: var(--space-16);
    border-top: 1px solid var(--color-border);
}

.product-overview__features-header {
    margin-bottom: var(--space-10);
    max-width: 720px;
}

@media (max-width: 860px) {
    .product-overview__intro,
    .product-overview__intro--no-image {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        margin-bottom: var(--space-12);
    }

    .product-overview__heading {
        font-size: var(--font-size-2xl);
    }

    .product-overview__features {
        padding-top: var(--space-10);
    }
}


/* =============================================================================
   PRODUCT PAGE — PREMIUM UPGRADE PASS (skill-driven redesign)
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   ============================================================================= */

/* ── Hero — title rhythm & smart wrapping ──────────────────────────────── */
.product-hero__title {
    text-wrap: balance;
    letter-spacing: -0.025em;
    line-height: 1.04;
}

/* Tagline: from generic uppercase label → editorial subtitle */
.product-hero__tagline {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    text-transform: none;
    letter-spacing: -0.005em;
    color: var(--color-text-muted);
    line-height: 1.45;
    max-width: 36ch;
    margin: var(--space-2) 0 var(--space-5) 0;
    text-wrap: pretty;
}

.product-hero__intro {
    text-wrap: pretty;
}

/* Badges: from outlined "buttons" → quiet metadata strip with vertical hairlines */
.product-hero__badges {
    margin: var(--space-1) 0 var(--space-6) 0;
    padding: var(--space-3) 0;
    gap: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
    row-gap: var(--space-2);
}

.product-hero__badge {
    background: transparent;
    border: none;
    border-right: 1px solid var(--color-border);
    border-radius: 0;
    padding: 2px var(--space-4);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.product-hero__badge:first-child {
    padding-left: 0;
}

.product-hero__badge:last-child {
    border-right: none;
}

/* Hero stage corners: switch to brand orange — more deliberate brand presence */
.product-hero__corner,
.product-hero__stage::after {
    border-color: var(--color-primary);
    opacity: 0.7;
    width: 26px;
    height: 26px;
    border-width: 1.5px;
}

/* Quick specs: tabular figures + auto-fit grid */
.product-hero__quick-specs {
    font-variant-numeric: tabular-nums;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

/* ── Section labels — slightly more refined tracking ───────────────────── */
.product-section-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    margin-bottom: var(--space-4);
}

/* ── Use cases — from generic check-circles → editorial divider list ───── */
.product-use-cases__list {
    gap: 0;
    border-top: 2px solid var(--color-secondary);
    margin-top: var(--space-3);
}

.product-use-cases__item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    padding: var(--space-4) var(--space-2);
    align-items: center;
    gap: var(--space-4);
    transition: padding-left var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

.product-use-cases__item:hover {
    padding-left: var(--space-4);
    color: var(--color-secondary);
    transform: none;
    border-color: var(--color-border-strong);
}

.product-use-cases__icon {
    width: 18px;
    height: 18px;
    background: transparent;
    color: var(--color-primary);
    margin: 0;
    border-radius: 0;
}

.product-use-cases__icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

/* ── Contact card — refined typographic ladder, kept dark for focal anchor */
.product-specs__contact-card {
    padding: var(--space-8);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 136, 0, 0.08), transparent 55%),
        linear-gradient(180deg, #1f1f1f 0%, #181818 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-specs__contact-card::before {
    width: 40px;
    height: 2px;
}

.product-specs__contact-title {
    font-size: var(--font-size-xl);
    letter-spacing: -0.015em;
    line-height: 1.2;
    max-width: 18ch;
    text-wrap: balance;
    margin-top: var(--space-4);
}

.product-specs__contact-text {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.65;
    max-width: 32ch;
}

.product-specs__contact-link {
    margin-top: var(--space-2);
    text-transform: none;
    letter-spacing: -0.005em;
    font-size: var(--font-size-md);
    color: #fff;
    border-bottom: 1px solid rgba(255, 136, 0, 0.6);
    padding-bottom: 4px;
    transition: color var(--transition-fast), border-color var(--transition-fast), gap var(--transition-fast);
}

.product-specs__contact-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    gap: var(--space-3);
}

/* ── Specs table — tabular figures for clean data alignment ─────────────── */
.product-specs__table {
    font-variant-numeric: tabular-nums;
}


/* =============================================================================
   CATEGORY PAGE — PREMIUM UPGRADE PASS (skill-driven redesign)
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   ============================================================================= */

/* ── Hero — refined title, balanced wrapping, modernized breadcrumb ────── */
.cat-hero__title {
    text-shadow: none;
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.cat-hero__lead {
    text-wrap: pretty;
}

.cat-hero__breadcrumb {
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.5);
}

.cat-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
}

.cat-hero__breadcrumb [aria-current="page"] {
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.85);
}

/* ── Intro — activate hover state on benefit list (was dead transition) ── */
.cat-intro__heading {
    text-wrap: balance;
}

.cat-intro__benefit {
    transition: padding-left var(--transition-fast), color var(--transition-fast);
}

.cat-intro__benefit:hover {
    padding-left: var(--space-2);
}

.cat-intro__benefit:hover .cat-intro__benefit-text {
    color: var(--color-secondary);
}

/* ── Deep-dive — refined typography, tabular stat, animated bullets ────── */
.cat-deep__heading {
    text-wrap: balance;
}

.cat-deep__text {
    text-wrap: pretty;
}

.cat-deep__stat-value {
    font-variant-numeric: tabular-nums;
}

.cat-deep__bullet {
    transition: color var(--transition-fast);
}

.cat-deep__bullet-mark {
    transition: width var(--transition-fast);
}

.cat-deep__bullet:hover {
    color: var(--color-secondary);
}

.cat-deep__bullet:hover .cat-deep__bullet-mark {
    width: 28px;
}

/* ── Story — soften the rotated orange shape (more premium, less playful) */
.cat-story__shape--block {
    opacity: 0.85;
    transform: rotate(2deg);
    border-radius: var(--radius-md);
}

.cat-story__heading {
    text-wrap: balance;
}

.cat-story__media-inner:hover .cat-story__shape--block {
    transform: rotate(3deg) translate(2px, 2px);
}

.cat-story__media-inner:hover .cat-story__image-inner {
    transform: scale(1.015);
}

/* Slimmer corner brackets — more deliberate, less decorative */
.cat-story__corner--tr,
.cat-story__corner--bl {
    border-width: 1.5px;
}

/* ── Other categories — modernized CTA + refined card hover ─────────────── */
.cat-other__intro {
    text-wrap: pretty;
    max-width: 56ch;
}

.cat-nav--feature .cat-nav__card:hover {
    border-color: var(--color-secondary);
    box-shadow:
        0 1px 2px rgba(42, 42, 42, 0.04),
        0 24px 56px -20px rgba(42, 42, 42, 0.18);
}

.cat-nav__cta {
    text-transform: none;
    letter-spacing: -0.005em;
    font-size: var(--font-size-sm);
    color: var(--color-text);
    font-weight: var(--font-weight-semibold);
}

.cat-nav--feature .cat-nav__card:hover .cat-nav__cta {
    color: var(--color-secondary);
}

.cat-nav--feature .cat-nav__name {
    text-wrap: balance;
}

/* ── Pagination — modern minimal, secondary-on-hover ────────────────────── */
.pagination a,
.pagination span {
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-variant-numeric: tabular-nums;
}

.pagination a:hover {
    background-color: #fff;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.pagination .current {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-text-inverse);
}

/* ── Universal label refinement (cat-* labels) ──────────────────────────── */
.cat-hero__label,
.cat-intro__label,
.cat-deep__label,
.cat-story__label {
    font-size: 11px;
    letter-spacing: 0.14em;
}

.cat-hero__label-rule,
.cat-intro__label-rule,
.cat-deep__label-rule,
.cat-story__label-rule {
    width: 36px;
}

/* ── Section title (cat-products header) — balanced wrap ────────────────── */
.cat-products__header .section-title,
.cat-other__header .section-title {
    text-wrap: balance;
}


/* =============================================================================
   COMPANY / CONTACT / DEALERS PAGES — PREMIUM UPGRADE PASS
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   ============================================================================= */

/* ── Shared hero refinement (company, contact, dealers all use same pattern) */
.company-hero__title,
.contact-hero__title {
    text-shadow: none;
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.company-hero__intro,
.contact-hero__subtitle {
    text-wrap: pretty;
}

/* Hero corner accent — switch to deliberate orange L-bracket on bottom-right
   for visual signature consistent with product hero */
.company-hero,
.contact-hero {
    position: relative;
}

/* ── Universal label refinement (all *-label pieces on these pages) ────── */
.company-hero__label,
.contact-hero__label,
.company-narrative__label,
.company-proof__label {
    font-size: 11px;
    letter-spacing: 0.14em;
}

.company-hero__label-rule,
.contact-hero__label-rule,
.company-narrative__label-rule,
.company-proof__label-rule {
    width: 36px;
}

/* ── COMPANY NARRATIVE — refined typo + image accent ────────────────────── */
.company-narrative__title {
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.company-narrative__text {
    text-wrap: pretty;
}

/* Image accent: from corner stripe → vertical accent bar (more deliberate) */
.company-narrative__image-accent {
    bottom: var(--space-6);
    left: -2px;
    width: 4px;
    height: 64px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── COMPANY VISION — cleaner quote treatment, no serif Georgia mark ───── */
.company-vision__mark {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    opacity: 1;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.05em;
}

.company-vision__quote {
    text-wrap: balance;
    letter-spacing: -0.018em;
}

.company-vision__text {
    text-wrap: pretty;
}

/* ── COMPANY PROOF — replace generic 3-up centered cards with editorial tone */
.company-proof__title {
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.company-proof__card {
    text-align: left;
    padding: var(--space-8) var(--space-7, 1.75rem);
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.company-proof__card-accent {
    left: 0;
    transform: none;
    width: 32px;
    height: 2px;
    border-radius: 0;
}

.company-proof__number {
    font-variant-numeric: tabular-nums;
    margin-top: var(--space-4);
    margin-bottom: var(--space-3);
    letter-spacing: -0.02em;
}

.company-proof__card-title {
    text-wrap: balance;
    letter-spacing: -0.012em;
}

.company-proof__card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 2px rgba(42, 42, 42, 0.04),
        0 24px 48px -16px rgba(42, 42, 42, 0.14);
    border-color: var(--color-border-strong);
}

/* ── COMPANY CTA — soften the spinning conic-gradient (less "trying hard") */
.company-cta__title {
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.company-cta__text {
    text-wrap: pretty;
}

.company-cta__card::before {
    /* Slow it down — 5s instead of 3.2s — and reduce gradient intensity */
    animation-duration: 5.5s;
}

/* ── CONTACT HERO — already inherits shared title fix above ─────────────── */

/* ── CONTACT DETAILS — replace orange→ffaa44 gradient, refine icon ──────── */
.contact-details__header .section-title {
    text-wrap: balance;
}

.contact-details__card {
    text-align: left;
    padding: var(--space-8) var(--space-7, 1.75rem);
    border-radius: var(--radius-md);
}

/* Top accent line: solid primary, not gradient */
.contact-details__card::before {
    background: var(--color-primary);
    height: 2px;
    width: 32px;
    right: auto;
}

.contact-details__card:hover::before {
    height: 2px;
    width: 48px;
}

/* Drop the diagonal corner gradient — was decorative noise */
.contact-details__card::after {
    display: none;
}

/* Card icon: from gradient pill with shadow → clean tonal square */
.contact-details__card-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    margin: 0 0 var(--space-5);
    box-shadow: none;
}

.contact-details__card-icon svg {
    width: 20px;
    height: 20px;
}

.contact-details__card:hover {
    box-shadow:
        0 1px 2px rgba(42, 42, 42, 0.04),
        0 24px 48px -16px rgba(42, 42, 42, 0.14);
    border-color: var(--color-border-strong);
}

.contact-details__card-title {
    text-wrap: balance;
    letter-spacing: -0.012em;
}

/* ── CONTACT FORM — refined sidebar checkmarks ──────────────────────────── */
.contact-form-section__sidebar-check {
    background: transparent;
    color: var(--color-primary);
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.contact-form-section__sidebar-check svg {
    stroke-width: 3;
    width: 14px;
    height: 14px;
}

.contact-form-section__sidebar-title {
    text-wrap: balance;
    letter-spacing: -0.012em;
}

/* ── CONTACT MAP — tabular nums on phone numbers, refined block-icon ────── */
.contact-map__block-icon {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    width: 36px;
    height: 36px;
}

.contact-map__block-icon svg {
    width: 16px;
    height: 16px;
}

.contact-map__block-title {
    text-transform: none;
    letter-spacing: -0.005em;
    font-size: var(--font-size-md);
}

.contact-map__block-content p {
    font-variant-numeric: tabular-nums;
}

/* ── CONTACT CTA — tabular stats + balance heading ──────────────────────── */
.contact-cta__title {
    text-wrap: balance;
    letter-spacing: -0.018em;
}

.contact-cta__stat-value {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* ── DEALERS HERO — already inherits shared fix (uses .contact-hero) ───── */

/* ── DEALERS INTRO — tabular stats + balance heading ────────────────────── */
.dealers-intro__title {
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.dealers-intro__text {
    text-wrap: pretty;
}

.dealers-intro__stat-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* ── DEALERS LIST — refined country header + list typography ────────────── */
.dealers-list__country {
    text-transform: none;
    letter-spacing: -0.012em;
}

/* Country flag bar: slightly thicker + taller for more deliberate signature */
.dealers-list__country-flag {
    width: 5px;
    height: 24px;
    border-radius: 1px;
}

/* Country count: from generic pill → editorial label */
.dealers-list__country-count {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    font-variant-numeric: tabular-nums;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-transform: none;
    letter-spacing: 0;
}

.dealers-list__country-count::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--color-border-strong);
    margin-right: var(--space-3);
    vertical-align: middle;
}

/* ── DEALER CARD — replace gradient edge with solid primary, refined hover */
.dealer-card {
    border-radius: var(--radius-md);
    padding: var(--space-6);
}

.dealer-card::before {
    background: var(--color-primary);
    width: 2px;
}

.dealer-card:hover {
    border-color: var(--color-border-strong);
    box-shadow:
        0 1px 2px rgba(42, 42, 42, 0.04),
        0 24px 48px -16px rgba(42, 42, 42, 0.14);
}

.dealer-card__logo {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-sm);
    background: #fff;
    border-color: var(--color-border);
    padding: var(--space-3);
}

.dealer-card__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dealer-card__name {
    text-wrap: balance;
    letter-spacing: -0.012em;
}

.dealer-card__detail {
    font-variant-numeric: tabular-nums;
}

/* ── DEALERS MAP — balanced heading ─────────────────────────────────────── */
.dealers-map__header .section-title {
    text-wrap: balance;
}

/* ── Universal section-label refinement (used on contact/dealers) ───────── */
.contact-details .section-label,
.contact-form-section .section-label,
.contact-map .section-label,
.dealers-list .section-label,
.dealers-map .section-label {
    font-size: 11px;
    letter-spacing: 0.14em;
}


/* =============================================================================
   FRONT PAGE — PREMIUM UPGRADE PASS (skill-driven redesign)
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   ============================================================================= */

/* ── HERO SLIDESHOW — refine multiple muddy text-shadows ───────────────── */
.hero--slideshow .hero__title {
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.hero--slideshow .hero__label {
    text-shadow: none;
}

.hero--slideshow .hero__description {
    text-shadow: none;
    text-wrap: pretty;
}

/* Refine slide indicators — slimmer, more elegant */
.hero__indicator {
    width: 56px;
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
}

.hero__indicator:hover {
    background: rgba(255, 255, 255, 0.32);
}

/* ── VALUE STRIP — refined typography balance ──────────────────────────── */
.fp-value-item__title {
    text-wrap: balance;
    letter-spacing: -0.012em;
}

.fp-value-item__text {
    text-wrap: pretty;
}

/* ── CATEGORIES (dark video bg) — eliminate AI-default decoration ───────── */
/* Dual-layer text-shadow: tight crisp shadow for letter clarity +
   wide blur halo for separation from foggy/bright backgrounds */
.fp-categories--has-bg .section-title {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 4px 24px rgba(0, 0, 0, 0.55);
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.fp-categories--has-bg .section-subtitle {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35),
        0 2px 16px rgba(0, 0, 0, 0.45);
    text-wrap: pretty;
}

/* Card top-line: gradient → solid primary */
.fp-category-card::before {
    background: var(--color-primary);
    height: 2px;
    opacity: 1;
    /* Animate width on hover instead of opacity/height */
    width: 32px;
    right: auto;
    transition: width var(--transition-base);
}

.fp-category-card:hover::before {
    width: 64px;
    height: 2px;
}

/* Drop the diagonal corner gradient ::after — was decorative noise */
.fp-category-card::after {
    display: none;
}

.fp-category-card:hover {
    box-shadow:
        0 1px 2px rgba(42, 42, 42, 0.04),
        0 24px 56px -20px rgba(42, 42, 42, 0.18);
    border-color: var(--color-border-strong);
}

/* Drop the bottom-fade-to-white overlay on card image */
.fp-category-card__image::after {
    display: none;
}

.fp-category-card__name {
    text-wrap: balance;
    letter-spacing: -0.012em;
}

.fp-category-card__description {
    text-wrap: pretty;
}

.fp-category-card__count {
    font-variant-numeric: tabular-nums;
}

/* ── PRODUCTS (featured) — header balance ──────────────────────────────── */
.fp-products .section-title {
    text-wrap: balance;
}

.fp-products .section-subtitle {
    text-wrap: pretty;
}

/* ── VISUAL PROOF — tighter typography ─────────────────────────────────── */
.fp-visual-proof__title {
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.fp-visual-proof__text {
    text-wrap: pretty;
}

/* ── WHY AXER — biggest cleanup target ─────────────────────────────────── */
.fp-why__title {
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.fp-why__title-accent {
    text-shadow: none;
}

.fp-why--has-bg .fp-why__title {
    text-shadow: none;
}

.fp-why--has-bg .fp-why__intro {
    text-shadow: none;
}

.fp-why__intro {
    text-wrap: pretty;
}

.accent-text {
    text-shadow: none;
}

/* Card top-line: gradient → solid primary, animated width on hover */
.fp-why__card::before {
    background: var(--color-primary);
    height: 2px;
    opacity: 1;
    width: 32px;
    right: auto;
    transition: width var(--transition-base);
}

.fp-why__card:hover::before {
    width: 64px;
    height: 2px;
}

/* Drop the diagonal corner gradient ::after — decorative noise */
.fp-why__card::after {
    display: none;
}

.fp-why__card {
    border-radius: var(--radius-md);
    box-shadow: none;
}

.fp-why__card:hover {
    box-shadow:
        0 1px 2px rgba(42, 42, 42, 0.04),
        0 24px 56px -20px rgba(42, 42, 42, 0.18);
    border-color: var(--color-border-strong);
}

/* Card icon: shiny gradient pill → clean tonal square */
.fp-why__card-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.fp-why__card-icon svg {
    width: 22px;
    height: 22px;
}

/* Card number: from 8% opacity decorative → editorial small label */
.fp-why__card-number {
    top: var(--space-6);
    right: var(--space-6);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-muted);
    opacity: 1;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

.fp-why__card-title {
    text-wrap: balance;
    letter-spacing: -0.012em;
}

.fp-why__card-text {
    text-wrap: pretty;
}

/* ── CLOSING (stats) — tabular figures ─────────────────────────────────── */
.fp-closing__stat-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* ── CTA banner — balance heading ──────────────────────────────────────── */
.fp-cta__title {
    text-wrap: balance;
    letter-spacing: -0.018em;
}

.fp-cta__text {
    text-wrap: pretty;
}

/* ── Universal label refinement on front page ──────────────────────────── */
.fp-visual-proof__label {
    font-size: 11px;
    letter-spacing: 0.14em;
}

.fp-categories .section-label,
.fp-products .section-label,
.fp-why .section-label {
    font-size: 11px;
    letter-spacing: 0.14em;
}


/* =============================================================================
   PRODUCT ARCHIVE — PREMIUM UPGRADE PASS (skill-driven redesign)
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   ============================================================================= */

/* ── ARCHIVE HERO — already clean, just polish typography ──────────────── */
.archive-hero__title {
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.archive-hero__lead {
    text-wrap: pretty;
}

.archive-hero__label {
    font-size: 11px;
    letter-spacing: 0.14em;
}

.archive-hero__meta-value {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.018em;
}

.archive-hero__meta-label {
    text-wrap: balance;
}

/* ── BASE CAT-NAV (horizontal cards on archive) — modernize ────────────── */
.cat-nav__name {
    text-wrap: balance;
    letter-spacing: -0.012em;
}

/* Count: uppercase wider tracking → mixed case with tabular figures */
.cat-nav__count {
    text-transform: none;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
}

/* Arrow: from filled round avatar with shadow on hover →
   editorial framed arrow that just shifts on hover (less "bubble button") */
.cat-nav__arrow {
    width: 28px;
    height: 28px;
    border-radius: 0;
    background-color: transparent;
    color: var(--color-text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.cat-nav__card:hover .cat-nav__arrow {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateX(4px);
}

/* Card hover: replace generic shadow-md with tintad neutral consistent with rest */
.cat-nav__card:hover {
    border-color: var(--color-border-strong);
    box-shadow:
        0 1px 2px rgba(42, 42, 42, 0.04),
        0 18px 36px -16px rgba(42, 42, 42, 0.14);
    transform: translateY(-2px);
}

/* Animated top accent line (the ::after orange bar): keep, but tighten timing */
.cat-nav__card::after {
    transition: transform var(--transition-base);
    transform-origin: left center;
}

/* ── ARCHIVE PRODUCTS — section header polish ──────────────────────────── */
.archive-products .section-title {
    text-wrap: balance;
    letter-spacing: -0.022em;
}

.archive-products .section-label,
.cat-nav-section .section-label {
    font-size: 11px;
    letter-spacing: 0.14em;
}

/* ── No-results state on archive ───────────────────────────────────────── */
.no-results .page-title,
.archive-products .section-title,
.cat-nav-section .section-title {
    text-wrap: balance;
}


/* =============================================================================
   GLOBAL COMPONENTS — PREMIUM UPGRADE PASS (skill-driven redesign)
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   Affects buttons, forms, section headers, breadcrumbs, smooth scroll, focus.
   ============================================================================= */

/* ── Smooth scroll for anchor links ─────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ── BUTTONS — add active press, hover lift, refined focus ──────────────── */
.btn {
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -8px rgba(255, 136, 0, 0.45);
}

.btn--secondary:hover,
.btn--ghost:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .btn:hover,
    .btn:active {
        transform: none;
    }
}

/* ── FORMS — add hover state, refined focus, invalid state ──────────────── */
.form-input:hover:not(:focus),
.form-textarea:hover:not(:focus),
.form-select:hover:not(:focus) {
    border-color: var(--color-border-strong);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.10);
}

/* Show error state only after user has typed (not on empty fields) */
.form-input:not(:placeholder-shown):invalid,
.form-textarea:not(:placeholder-shown):invalid {
    border-color: rgba(220, 38, 38, 0.5);
}

.form-input:not(:placeholder-shown):invalid:focus,
.form-textarea:not(:placeholder-shown):invalid:focus {
    border-color: rgb(220, 38, 38);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}

/* ── SECTION TITLE / SUBTITLE — global text-wrap defaults ──────────────── */
.section-title {
    text-wrap: balance;
}

.section-subtitle {
    text-wrap: pretty;
}

/* ── SECTION-HEADER COUNT — modernize uppercase ────────────────────────── */
.section-header__count {
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--font-size-sm);
    font-variant-numeric: tabular-nums;
}

/* ── BREADCRUMB — better readability + editorial separator ─────────────── */
.breadcrumb__item {
    font-size: var(--font-size-sm);
}

.breadcrumb__item::after {
    content: '·';
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin-left: var(--space-2);
    line-height: 1;
}

/* ── NOT FOUND — text-wrap polish ──────────────────────────────────────── */
.not-found__title {
    text-wrap: balance;
}

.not-found__text {
    text-wrap: pretty;
}

/* ── FOCUS-VISIBLE — refined global focus ring ─────────────────────────── */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}


/* =============================================================================
   HEADER & FOOTER — PREMIUM UPGRADE PASS (skill-driven redesign)
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   ============================================================================= */

/* ── PRIMARY NAV — fix reverse-logic color states ──────────────────────── */
/* Rest: white-85 (visible neutral). Hover: full white. Current: orange brand */
.primary-nav__item a,
.primary-nav__list > .menu-item > a {
    color: rgba(255, 255, 255, 0.78);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.primary-nav__item a:hover,
.primary-nav__list > .menu-item > a:hover {
    color: #fff;
}

.primary-nav__item a:active,
.primary-nav__list > .menu-item > a:active {
    transform: translateY(1px);
}

/* Current page: orange + the existing scaleX underline */
.primary-nav__item.current-menu-item > a,
.primary-nav__list > .menu-item.current-menu-item > a {
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}

/* Sub-menu items — same logic */
.primary-nav .sub-menu li a {
    color: rgba(255, 255, 255, 0.7);
}

.primary-nav .sub-menu li a:hover {
    color: #fff;
}

.primary-nav .sub-menu li.current-menu-item a {
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}

/* CTA item in nav: keep orange filled (already has !important — preserved) */

@media (prefers-reduced-motion: reduce) {
    .primary-nav__item a:active,
    .primary-nav__list > .menu-item > a:active {
        transform: none;
    }
}

/* ── FOOTER — refine col-titles, icon, description ──────────────────────── */

/* Col-title: tighten letter-spacing (consistent with rest of site) */
.site-footer__col-title {
    font-size: 11px;
    letter-spacing: 0.14em;
}

.site-footer__description {
    text-wrap: pretty;
}

/* Contact item icons: drop muddy opacity, use primary directly */
.site-footer__contact-item svg {
    opacity: 1;
    color: var(--color-primary);
}

.site-footer__contact-item {
    font-variant-numeric: tabular-nums;
}

/* Refined footer link hover with subtle translate */
.site-footer__nav a {
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.site-footer__nav a:hover {
    padding-left: var(--space-1);
}

/* Bottom bar copyright: tabular figures, tightened spacing */
.site-footer__bottom-inner {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__nav a:hover {
        padding-left: 0;
    }
}


/* =============================================================================
   MOBILE POLISH — final pass for touch targets & small-screen readability
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   Targets: tap-target sizes, layout edge cases, text readability on phones.
   ============================================================================= */

/* ── HERO SLIDESHOW — bigger tap area on slim slide indicators ─────────── */
@media (max-width: 768px) {
    .hero__indicator {
        position: relative;
    }
    /* Invisible padded tap area extending vertically — keeps visual height */
    .hero__indicator::before {
        content: '';
        position: absolute;
        inset: -16px 0;
    }

    /* Restore slightly more text-shadow on bright mobile slides */
    .hero--slideshow .hero__title {
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    }
    .hero--slideshow .hero__description {
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    }
}

/* ── MOBILE PRIMARY NAV — bump tap targets to 44px+ ──────────────────── */
@media (max-width: 768px) {
    .primary-nav__list > .menu-item > a,
    .primary-nav__item a {
        padding: var(--space-4) var(--space-4);
        font-size: var(--font-size-md);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .primary-nav .sub-menu li a {
        padding: var(--space-3) var(--space-4);
        min-height: 40px;
    }

    /* Drop the underline ::after on mobile (it's positioned for desktop spacing) */
    .primary-nav__item a::after,
    .primary-nav__list > .menu-item > a::after {
        display: none;
    }
}

/* ── PRODUCT HERO BADGES — drop hairline-divider treatment when wrapped ─ */
@media (max-width: 640px) {
    .product-hero__badges {
        gap: var(--space-2);
        padding-block: var(--space-3);
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
    }
    .product-hero__badge {
        border-right: none;
        background-color: var(--color-surface);
        border: 1px solid var(--color-border);
        padding: 4px var(--space-3);
        border-radius: var(--radius-sm);
    }
    .product-hero__badge:first-child {
        padding-left: var(--space-3);
    }
}

/* ── PRODUCT CARD — reduce image padding on small cards ────────────────── */
@media (max-width: 600px) {
    .product-card__image {
        padding: var(--space-3);
    }
}

/* ── FP-WHY GRID — add 480px stacking step (was missing) ───────────────── */
@media (max-width: 480px) {
    .fp-why__grid {
        grid-template-columns: 1fr;
    }

    .fp-why__card {
        padding: var(--space-6) var(--space-5);
    }
}

/* ── PAGINATION — meet 44px touch target on mobile ─────────────────────── */
@media (max-width: 640px) {
    .pagination a,
    .pagination span {
        width: 44px;
        height: 44px;
    }
}

/* ── DEALERS COUNTRY COUNT — drop hairline prefix on narrow screens ────── */
@media (max-width: 480px) {
    .dealers-list__country-count::before {
        display: none;
    }
}

/* ── COMPANY-PROOF CARDS — tighter padding on mobile ───────────────────── */
@media (max-width: 480px) {
    .company-proof__card {
        padding: var(--space-6) var(--space-5);
    }
}

/* ── CONTACT DETAILS CARDS — tighter padding on mobile ─────────────────── */
@media (max-width: 480px) {
    .contact-details__card {
        padding: var(--space-6) var(--space-5);
    }
}

/* ── DEALER CARD — tighter on small mobile ─────────────────────────────── */
@media (max-width: 480px) {
    .dealer-card {
        padding: var(--space-5);
    }
}

/* ── SECTION PADDING — reduce vertical breathing room on small screens ── */
@media (max-width: 600px) {
    .product-overview,
    .product-specs,
    .product-features,
    .product-use-cases,
    .cat-deep,
    .cat-story,
    .cat-products,
    .company-narrative,
    .company-proof,
    .company-cta,
    .company-vision,
    .contact-details,
    .contact-form-section,
    .contact-map,
    .contact-cta,
    .dealers-intro,
    .dealers-list,
    .archive-products,
    .fp-products,
    .fp-categories,
    .fp-visual-proof,
    .fp-why,
    .archive-hero {
        padding-block: var(--space-12);
    }
}

/* ── HERO SLIDESHOW HEIGHT — sane height on mobile (was 88vh on desktop) */
@media (max-width: 640px) {
    .hero--slideshow {
        min-height: 60vh;
        min-height: 60dvh; /* prevents iOS Safari layout jump */
    }
}

/* ── FOOTER COL-TITLES — slight size bump for 11px-on-mobile readability */
@media (max-width: 640px) {
    .site-footer__col-title {
        font-size: 12px;
        letter-spacing: 0.12em;
    }
}

/* ── SECTION-LABEL min readability on small screens ────────────────────── */
@media (max-width: 480px) {
    .section-label {
        font-size: 11px;
        letter-spacing: 0.12em;
    }
}

/* ── PRODUCT HERO QUICK SPECS — single column with proper rhythm ───────── */
@media (max-width: 600px) {
    .product-hero__quick-spec {
        border-right: none !important;
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--color-border);
    }
    .product-hero__quick-spec:last-child {
        border-bottom: none;
    }
}

/* ── HEADER SCROLL LOCK when mobile menu is open (prevents body scroll bleed) */
@media (max-width: 768px) {
    body:has(.primary-nav__list.is-open) {
        overflow: hidden;
    }
}

/* ── PRODUCT-CARD CTA — ensure visible on touch (currently opacity 0 default) */
@media (max-width: 768px) {
    .product-card__cta {
        opacity: 0.85;
        transform: none;
    }
}

/* ── BUTTONS — meet 44px touch target on mobile ────────────────────────── */
@media (max-width: 640px) {
    .btn {
        min-height: 44px;
    }
    .btn--sm {
        min-height: 40px;
    }
}

/* ── PRODUCT-CARD "LÄS MER" line — shorten on mobile (no hover fill) ───── */
@media (max-width: 600px) {
    .product-card__link-line {
        flex: 0 0 80px;
    }
}


/* =============================================================================
   WIDE LAYOUT POLISH — expand container width for premium screen feel
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   Original: --container-max 1200, --container-wide 1400
   ============================================================================= */

:root {
    --container-max:   1320px;
    --container-wide:  1520px;
}

/* fp-category-grid: cap was 1280, bump to fit 4 cards more comfortably */
.fp-category-grid {
    max-width: 1400px;
}

/* Hero slideshow — already full-width, but bump content bound on ultra-wide */
@media (min-width: 1600px) {
    .hero--slideshow .hero__content {
        max-width: 720px;
    }
}

/* ── PER-SECTION width variations — break monotonous uniform rhythm ────── */

/* Featured products grid (3 cards on front page) — cinematic wider layout */
.fp-products > .container {
    max-width: 1520px;
}

/* Why-Axer 4 benefit cards — extra breathing room for grid */
.fp-why > .container {
    max-width: 1450px;
}

/* Visual proof text + video — more impactful asymmetric layout */
.fp-visual-proof > .container {
    max-width: 1480px;
}

/* Category page product grid — more cards per row, more luft */
.cat-products > .container {
    max-width: 1480px;
}

/* Archive product grid — same treatment as category for consistency */
.archive-products > .container {
    max-width: 1480px;
}


/* =============================================================================
   REMOVE INDEX NUMBERS — eliminate "01/02/03" badges & labels (AI default)
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   Hides decorative index numbers that read as generic AI-default badges.
   Real data (product counts, stats) is kept — only sequential numbering hidden.
   ============================================================================= */

/* Category card index badges — the dark "01/02/03" squares (most obvious) */
.cat-nav__index {
    display: none;
}

/* Why-Axer card top-right index numbers */
.fp-why__card-number {
    display: none;
}

/* Cat-intro benefit list — collapse the auto column when number is hidden */
.cat-intro__benefit-num {
    display: none;
}

.cat-intro__benefit {
    grid-template-columns: 1fr;
    gap: 0;
}

/* Product feature card index labels */
.product-feature-card__num {
    display: none;
}

/* Highlight-stats numbered indices (large variant) */
.highlight-stats__feature-index {
    display: none;
}

/* Highlight-stats card index */
.highlight-stats__card-index {
    display: none;
}


/* =============================================================================
   POLYLANG LANGUAGE SWITCHER — header dropdown styling
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete:
   1. This entire block at end of main.css
   2. File: template-parts/header/language-switcher.php
   3. Line in template-parts/header/navigation.php that calls get_template_part for it
   ============================================================================= */

.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: var(--space-3);
}

.lang-switcher__current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-2) var(--space-3);
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.lang-switcher__current:hover {
    color: #fff;
}

.lang-switcher__chevron {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.lang-switcher:hover .lang-switcher__chevron,
.lang-switcher:focus-within .lang-switcher__chevron,
.lang-switcher__current[aria-expanded="true"] .lang-switcher__chevron {
    transform: rotate(180deg);
}

.lang-switcher__list {
    list-style: none;
    margin: 0;
    padding: var(--space-2) 0;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 90px;
    background: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast),
        visibility var(--transition-fast);
    z-index: 100;
}

.lang-switcher:hover .lang-switcher__list,
.lang-switcher:focus-within .lang-switcher__list,
.lang-switcher__current[aria-expanded="true"] + .lang-switcher__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__item {
    margin: 0;
}

.lang-switcher__item a {
    display: block;
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.lang-switcher__item a:hover {
    color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.04);
}

/* Mobile: keep as compact tap-to-open dropdown (JS toggles aria-expanded) */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: auto;
        margin-right: var(--space-2);
    }

    .lang-switcher__current {
        padding: var(--space-2) var(--space-3);
    }

    .lang-switcher__list {
        right: 0;
        min-width: 110px;
    }

    /* Disable :hover-driven open on mobile — touch devices use the JS click toggle */
    .lang-switcher:hover .lang-switcher__list,
    .lang-switcher:focus-within .lang-switcher__list {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4px);
    }

    .lang-switcher__current[aria-expanded="true"] + .lang-switcher__list {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


/* =============================================================================
   MOBILE: 2-column product grid on category pages
   ----------------------------------------------------------------------------
   The global `.grid--3` falls back to 1 column under 640px which feels too
   bulky for catalog pages with 4–11 products. 2 columns shows the full lineup
   faster, scaled down padding/typography keeps cards usable.

   To revert ("ångra"): delete this entire block.
   ============================================================================= */

@media (max-width: 640px) {
    .cat-products .product-grid.grid--2,
    .cat-products .product-grid.grid--3,
    .cat-products .product-grid.grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .cat-products .product-card__body {
        padding: var(--space-3);
    }

    .cat-products .product-card__category {
        font-size: 0.625rem;
        margin-bottom: var(--space-1);
        padding-left: 16px;
    }

    .cat-products .product-card__category::before {
        width: 10px;
    }

    .cat-products .product-card__title {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-2);
    }

    .cat-products .product-card__excerpt {
        font-size: var(--font-size-xs);
        -webkit-line-clamp: 2;
        margin-bottom: var(--space-3);
    }

    .cat-products .product-card__link {
        font-size: 0.625rem;
        padding-top: var(--space-2);
        gap: var(--space-2);
    }
}

/* Very narrow viewports (older / smaller phones): drop back to 1 column. */
@media (max-width: 360px) {
    .cat-products .product-grid.grid--2,
    .cat-products .product-grid.grid--3,
    .cat-products .product-grid.grid--4 {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   FLUENT FORMS — Axer brand overrides
   Plugin defaults use blue. We override to match Axer's orange
   (--color-primary). Applies to all 6 language forms.
   ============================================================ */

/* Submit button — orange brand with hover */
.fluentform .ff-btn-submit,
.fluentform button[type="submit"],
.fluentform .ff_btn_style {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-text-inverse) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus,
.fluentform button[type="submit"]:hover,
.fluentform button[type="submit"]:focus,
.fluentform .ff_btn_style:hover,
.fluentform .ff_btn_style:focus {
    background-color: var(--color-primary-hover) !important;
    border-color: var(--color-primary-hover) !important;
    color: var(--color-text-inverse) !important;
}

/* Input focus states — orange instead of plugin default blue */
.fluentform .ff-el-form-control input:focus,
.fluentform .ff-el-form-control textarea:focus,
.fluentform .ff-el-form-control select:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 2px var(--color-primary-light) !important;
    outline: none;
}

/* Required-field asterisk in brand color */
.fluentform .ff-el-is-required.asterisk-right label::after,
.fluentform label .ff-el-is-required {
    color: var(--color-primary);
}


/* =============================================================================
   NEWS / ARTICLES — listing + single article
   ----------------------------------------------------------------------------
   To revert ("ångra"): delete everything below this banner down to EOF.
   ============================================================================= */

/* ── News listing hero ────────────────────────────────────────────────────── */
.news-hero {
    padding-block: var(--space-16) var(--space-10);
    background-color: var(--color-surface, #fafafa);
}

.news-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.news-hero__eyebrow-rule {
    display: inline-block;
    width: 44px;
    height: 1px;
    background-color: var(--color-primary);
}

.news-hero__title {
    font-family: var(--font-display);
    font-size: clamp(var(--font-size-4xl), 6vw, var(--font-size-6xl));
    font-weight: var(--font-weight-bold);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--color-secondary);
    margin: 0 0 var(--space-5) 0;
    max-width: 18ch;
    text-wrap: balance;
}

.news-hero__intro {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--base-text-color, #373737);
    max-width: 60ch;
}

.news-hero__intro p {
    margin: 0 0 var(--space-4) 0;
}


/* ── News grid section ────────────────────────────────────────────────────── */
.news-grid-section {
    padding-block: var(--space-12) var(--space-20);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-8);
}


/* ── News card ────────────────────────────────────────────────────────────── */
.news-card {
    background-color: #fff;
    border: 1px solid #ececec;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: #dfdfdf;
    box-shadow: 0 20px 40px -20px rgba(42, 42, 42, 0.18);
}

.news-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #fbfbfb 0%, #f1f1f1 100%);
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.04);
}

.news-card__media--placeholder {
    position: relative;
}

.news-card__media-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

.news-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-6);
}

.news-card__date {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
}

.news-card__title {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    letter-spacing: -0.012em;
    color: var(--color-secondary);
    margin: 0;
    text-wrap: balance;
}

.news-card__more {
    margin-top: auto;
    padding-top: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.news-card:hover .news-card__more {
    gap: var(--space-3);
}


/* ── Pagination ───────────────────────────────────────────────────────────── */
.news-pagination {
    margin-top: var(--space-12);
    display: flex;
    justify-content: center;
}

.news-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e2e2;
    background-color: #fff;
    color: var(--color-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.news-pagination .page-numbers:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.news-pagination .page-numbers.current {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.news-pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

.news-empty {
    text-align: center;
    padding: var(--space-16) 0;
    color: var(--base-text-color);
    font-size: var(--font-size-md);
}


/* ── Single article ────────────────────────────────────────────────────── */
.article-hero {
    padding-block: var(--space-12) var(--space-8);
}

.article-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.article-hero__eyebrow-rule {
    display: inline-block;
    width: 44px;
    height: 1px;
    background-color: var(--color-primary);
}

.article-hero__title {
    font-family: var(--font-display);
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.022em;
    color: var(--color-secondary);
    margin: 0;
    max-width: 24ch;
    text-wrap: balance;
}


/* ── Article feature image — 3:2 rectangle, centered ─────────────────── */
.article-feature {
    padding-block: var(--space-4) var(--space-10);
}

.article-feature__frame {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 3 / 2;
    margin-inline: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, #fbfbfb 0%, #f1f1f1 100%);
}

.article-feature__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.article-feature__corner {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    pointer-events: none;
}


/* ── Article body ─────────────────────────────────────────────────────── */
.article-body {
    padding-block: var(--space-4) var(--space-16);
}

.article-content {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--base-text-color);
}

.article-content > * + * {
    margin-top: var(--space-5);
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.018em;
    color: var(--color-secondary);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.article-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: rgba(255, 136, 0, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition-fast);
}

.article-content a:hover {
    text-decoration-color: var(--color-primary);
}

.article-content ul,
.article-content ol {
    padding-left: var(--space-6);
}

.article-content li + li {
    margin-top: var(--space-2);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin-block: var(--space-6);
}

.article-content blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-5);
    margin-block: var(--space-6);
    font-style: italic;
    color: var(--color-secondary);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-block: var(--space-6);
    font-size: var(--font-size-md);
    font-variant-numeric: tabular-nums;
}

.article-content table th {
    text-align: left;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
    padding: var(--space-3) var(--space-4);
    border-bottom: 2px solid var(--color-secondary);
}

.article-content table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid #ececec;
    vertical-align: top;
}

.article-content table tr:last-child td {
    border-bottom: none;
}


/* ── Article foot — back link ─────────────────────────────────────────── */
.article-foot {
    padding-block: 0 var(--space-12);
    border-top: 1px solid #ececec;
    margin-top: var(--space-8);
}

.article-foot__back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    color: var(--color-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: border-color var(--transition-fast), color var(--transition-fast), gap var(--transition-fast);
}

.article-foot__back:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    gap: var(--space-3);
}


/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .news-hero {
        padding-block: var(--space-12) var(--space-8);
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .news-card__body {
        padding: var(--space-5);
    }

    .article-content {
        font-size: var(--font-size-md);
    }

    .article-feature__frame {
        max-width: 100%;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PRIMARY NAV — single-line items (multi-lang)
   ─────────────────────────────────────────────────────────────────────────
   Förhindrar att menyobjekt med flera ord (ES: "Cizallas forestales",
   DE: "Greifersägen", FR: "Grappins coupeurs" osv.) bryter till två rader.
   Mindre gap/padding så menyn får plats utan att tvinga ut språkväljaren.
   Ångra: ta bort hela detta block.
   ═══════════════════════════════════════════════════════════════════════ */

@media (min-width: 1025px) {
    .primary-nav__item a,
    .primary-nav__list > .menu-item > a {
        white-space: nowrap;
        padding-inline: var(--space-3);
    }

    .primary-nav__item a::after,
    .primary-nav__list > .menu-item > a::after {
        left: var(--space-3);
        right: var(--space-3);
    }

    .primary-nav__list {
        gap: 0;
    }

    .site-header__inner {
        gap: var(--space-4);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   COMPATIBLE ACCESSORIES — prominent card section (single-product.php section 7)
   ─────────────────────────────────────────────────────────────────────────
   Ersätter den tidigare kompakta chip-raden (.product-accessories) med en
   fullbredd mörk sektion, eyebrow + stor H2, intro, kort med stor produktbild
   och text + central CTA-knapp. Per produkt visas endast de tillbehör som
   kryssats i på edit-skärmen.
   Ångra: ta bort hela detta block.
   ═══════════════════════════════════════════════════════════════════════ */

.product-accessories-v2 {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.92);
    padding-block: var(--space-16);
    position: relative;
    overflow: hidden;
}

.product-accessories-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top left, rgba(255, 136, 0, 0.08), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(255, 255, 255, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.product-accessories-v2 > .container {
    position: relative;
    z-index: 1;
}

.product-accessories-v2__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--space-12);
    align-items: start;
}

@media (max-width: 960px) {
    .product-accessories-v2__layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

.product-accessories-v2__header {
    max-width: 460px;
}

.product-accessories-v2__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    margin: 0 0 var(--space-4);
    color: #fff;
    letter-spacing: -0.01em;
}

.product-accessories-v2__intro {
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.product-accessories-v2__main {
    min-width: 0;
}

/* The track drifts continuously horizontally — no scroll-snap (it would hack
   against the slow continuous animation). Manual arrow clicks use smooth scroll.
   Vertical padding + negative margin gives space for hover-lift shadow without
   visually shifting the layout. */
.product-accessories-v2__grid {
    list-style: none;
    margin: -8px 0;
    padding: 8px 0;
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-accessories-v2__grid::-webkit-scrollbar {
    display: none;
}

.product-accessories-v2__card {
    flex: 0 0 240px;
}

@media (min-width: 1300px) {
    .product-accessories-v2__card {
        flex: 0 0 260px;
    }
}

@media (max-width: 600px) {
    .product-accessories-v2__card {
        flex: 0 0 calc(100% - var(--space-6));
    }
}

/* Nav arrows — shown only when track overflows (JS toggles [hidden]) */
.product-accessories-v2__nav {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-5);
    justify-content: flex-end;
}

.product-accessories-v2__nav[hidden] {
    display: none;
}

.product-accessories-v2__nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition:
        background-color var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base),
        opacity var(--transition-base),
        transform var(--transition-base);
}

.product-accessories-v2__nav-btn:hover:not(:disabled) {
    background: rgba(255, 136, 0, 0.18);
    border-color: rgba(255, 136, 0, 0.55);
    color: #fff;
}

.product-accessories-v2__nav-btn:active:not(:disabled) {
    transform: scale(0.94);
}

.product-accessories-v2__nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.product-accessories-v2__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-base);
}

/* Orange corner accent — matches the visual language used in product-hero, cat-deep, cat-story */
.product-accessories-v2__card::before {
    content: "";
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 18px;
    height: 18px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    opacity: 0.55;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.product-accessories-v2__card:hover::before {
    opacity: 1;
}

.product-accessories-v2__card:hover {
    border-color: rgba(255, 136, 0, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
    transform: translateY(-3px);
}

.product-accessories-v2__card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    margin-bottom: var(--space-5);
    border-radius: var(--radius-md);
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Thin orange marker line above the title — separates image from text and ties to brand */
.product-accessories-v2__card-body::before {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: var(--color-primary);
    margin-bottom: var(--space-3);
    border-radius: 1px;
}

.product-accessories-v2__card-media.is-empty {
    background: repeating-linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.04),
        rgba(0, 0, 0, 0.04) 8px,
        rgba(0, 0, 0, 0.02) 8px,
        rgba(0, 0, 0, 0.02) 16px
    );
}

.product-accessories-v2__card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: var(--space-3);
}

.product-accessories-v2__card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}

.product-accessories-v2__card-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin: 0;
    color: var(--color-secondary);
    line-height: 1.3;
}

.product-accessories-v2__card-desc {
    font-size: var(--font-size-sm);
    line-height: 1.55;
    color: var(--color-text);
    margin: 0;
}

.product-accessories-v2__cta-row {
    display: flex;
    justify-content: flex-start;
    margin-top: var(--space-6);
}

@media (max-width: 960px) {
    .product-accessories-v2__cta-row {
        justify-content: flex-start;
    }
}
