/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--leading-normal);
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    line-height: var(--leading-tight);
    font-weight: var(--font-weight-bold);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    border-radius: var(--radius-btn);
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
    border: 1px solid transparent;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

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

.btn--secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn--dark:hover {
    background-color: var(--color-dark-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

.btn--outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn--ghost {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-gray-300);
}

.btn--ghost:hover {
    background-color: var(--color-gray-100);
    border-color: var(--color-gray-400);
    color: var(--color-text);
}

.btn--lg {
    height: 56px;
    padding: 15px 20px;
    font-size: var(--text-base);
}

.btn--sm {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
}

/* ============================================
   TOP BENEFITS BAR
   ============================================ */

.top-bar {
    background-color: #1a1a1a;
    color: var(--color-white);
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: calc(var(--z-sticky) + 1);
    transition: transform var(--transition-base);
}

.top-bar .container {
    max-width: 1400px;
    padding: 0 var(--space-8, 32px);
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;  /* even gaps between items, not pushed to edges */
    gap: 24px;
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.2px;
    color: #fff;
}

.top-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.top-bar__icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;        /* top-bar removed — header now anchors to viewport top */
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: transparent;
    border-bottom: none;
    transition: all var(--transition-base), top var(--transition-base);
    height: var(--header-height);
}

.site-header--scrolled,
.site-header:has(.primary-nav__item:hover) {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-gray-200);
}

.site-header:has(.primary-nav__item:hover) {
    box-shadow: none;
    border-bottom: none;
}

.site-header--scrolled .primary-nav__link,
.site-header:has(.primary-nav__item:hover) .primary-nav__link {
    color: var(--color-text);
}

.site-header--scrolled .cart-icon,
.site-header:has(.primary-nav__item:hover) .cart-icon {
    color: var(--color-text);
}

/* On the light/scrolled header, the cart icon is dark — keep its hover the
   brand red so it stays visible (the global rule already does this, but
   without this scoped rule, browsers can apply the body link-color cascade). */
.site-header--scrolled .cart-icon:hover,
.site-header:has(.primary-nav__item:hover) .cart-icon:hover {
    color: var(--color-primary);
}

.site-header--scrolled .lang-switcher__current,
.site-header:has(.primary-nav__item:hover) .lang-switcher__current {
    color: var(--color-text);
    border-color: rgba(0, 0, 0, 0.2);
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1.5fr 7fr 4fr;
    align-items: center;
    height: var(--header-height);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-logo {
    display: flex;
    align-items: center;
}

/* MAUS Greece logo — two variants, both 300×42 (aspect ~7.14:1):
   - white version (`maus-greece-logo-white.png`) for dark backgrounds
     (transparent header over hero, dark footer).
   - color version (`maus-greece-logo-color.png`) for light backgrounds
     (scrolled header, mobile drawer).
   Source PNGs are 300×42; display height 36px keeps the text crisp without
   needing to upscale (would blur at 56px+). */
.site-logo__img {
    height: 36px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    transition: opacity var(--transition-base);
}

.site-logo__img--dark {
    display: none;
}

.site-header--scrolled .site-logo__img--light,
.site-header:has(.primary-nav__item:hover) .site-logo__img--light {
    display: none;
}

.site-header--scrolled .site-logo__img--dark,
.site-header:has(.primary-nav__item:hover) .site-logo__img--dark {
    display: block;
}

.footer-logo {
    width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .site-logo__img {
        height: 32px;
        max-width: 230px;
    }
    .footer-logo {
        height: 32px;
        max-width: 230px;
    }
}

/* Primary Nav */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 0;
    padding-left: 40px;
}

.primary-nav__item {
    position: relative;
}

.primary-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    margin-right: 24px;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.primary-nav__link--trigger {
    background: transparent;
    border: 0;
    cursor: default;
    font-family: inherit;
    line-height: inherit;
}

.primary-nav__link:hover,
.primary-nav__link--active {
    color: rgba(255, 255, 255, 0.75);
}

.primary-nav__label {
    position: relative;
    padding-bottom: 4px;
}

.primary-nav__label::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.primary-nav__item:hover .primary-nav__label::after,
.primary-nav__link--active .primary-nav__label::after {
    opacity: 1;
}

.primary-nav__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.primary-nav__item:hover .primary-nav__link svg {
    transform: rotate(180deg);
}

/* Mega Menu - Full-width dropdown panel */
.mega-menu {
    position: fixed;
    top: calc(var(--top-bar-height) + var(--header-height));
    left: 0;
    right: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.12);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transition: top var(--transition-base), opacity 0.25s ease, visibility 0s linear 0.25s;
    pointer-events: none;
    z-index: var(--z-dropdown);
}

.site-header--at-top .mega-menu {
    top: var(--header-height);
}

.primary-nav__item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -8px;
    right: -8px;
    height: 30px;
    background: transparent;
}

.primary-nav__item:hover .mega-menu,
.primary-nav__item:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

.mega-menu__grid--products {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
}

.mega-menu__grid--industrial {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
}

.mega-menu__grid--certifications {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-auto-flow: column;
}

.mega-menu__grid--env {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 40px;
}

.mega-menu--env {
    padding: 40px 0;
}

/* Environments mega menu: icon + name layout */
.mega-menu__env-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 8px;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
    text-decoration: none;
    color: var(--color-text);
}

.mega-menu__env-item:hover {
    background-color: var(--color-gray-100);
}

.mega-menu__env-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fdeeee;
}

.mega-menu__env-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.mega-menu__env-name {
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

/* Products mega menu items */
.mega-menu__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: 10px 8px;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.mega-menu__item:hover {
    background-color: var(--color-gray-100);
}

.mega-menu__item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fdeeee;
}

.mega-menu__item-icon img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}


.mega-menu__item-title {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    line-height: 1.3;
}

.mega-menu__item-desc {
    font-size: 12px;
    color: var(--color-gray-500);
    line-height: var(--leading-snug);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    justify-self: end;
}

.header-cta {
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.lang-switcher {
    position: relative;
}

.lang-switcher__current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
    transition: all var(--transition-fast);
}

.lang-switcher__current:hover {
    border-color: var(--color-white);
}

.lang-switcher__flag {
    font-size: var(--text-base);
    line-height: 1;
}

.lang-switcher__flag-img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.lang-switcher__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 100px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-200);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    margin-top: var(--space-1);
}

.lang-switcher:hover .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
}

.lang-switcher__option {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text);
    transition: background-color var(--transition-fast);
}

.lang-switcher__option:hover {
    background-color: var(--color-gray-100);
}

.lang-switcher__flag {
    font-size: 16px;
    line-height: 1;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: color var(--transition-fast);
    color: var(--color-white);
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.cart-icon:hover {
    color: var(--color-primary);
}

.cart-icon svg {
    width: 20px;
    height: 20px;
}

.cart-icon__count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 23px;
    height: 23px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 0 0;
}

/* Mobile Menu Toggle - bordered square box */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
}

.mobile-toggle__bar {
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.site-header--scrolled .mobile-toggle__bar,
.site-header:has(.primary-nav__item:hover) .mobile-toggle__bar {
    background: var(--color-text);
}

.site-header--scrolled .mobile-toggle,
.site-header:has(.primary-nav__item:hover) .mobile-toggle {
    border-color: var(--color-gray-400);
}

/* Full-screen Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: calc(var(--z-overlay) + 10);
    overflow-y: auto;
    flex-direction: column;
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-gray-200);
}

.mobile-nav__header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* The shared `.cart-icon` is white-on-dark for the desktop header, but the
   open mobile drawer has a white background — without this override the SVG
   stroke is white-on-white and only the red count badge is visible. Match
   the close button's size + color so the two controls feel like a pair. */
.mobile-nav__header .cart-icon {
    width: 40px;
    height: 40px;
    color: var(--color-text, #1a1a1a);
    border: 1.5px solid var(--color-gray-400, #c8c8c8);
    border-radius: var(--radius-md, 6px);
}

.mobile-nav__header .cart-icon:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.mobile-nav__header .cart-icon svg {
    width: 22px;
    height: 22px;
}

/* Reposition the count badge so it doesn't poke past the new bordered box
   awkwardly — slightly inset from the corner. */
.mobile-nav__header .cart-icon__count {
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
}

.mobile-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--color-gray-400);
    border-radius: var(--radius-md);
    color: var(--color-text);
    background: none;
    cursor: pointer;
}

.mobile-nav__close svg {
    width: 20px;
    height: 20px;
}

.mobile-nav__body {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lang-switcher--mobile {
    margin-bottom: var(--space-4);
}

.lang-switcher--mobile .lang-switcher__current {
    display: inline-flex;
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    background: var(--color-light);
}

.mobile-nav__links {
    display: flex;
    flex-direction: column;
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) 0;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    text-decoration: none;
}

.mobile-nav__link--has-arrow svg {
    color: var(--color-gray-400);
}

/* Expandable groups (Environments / Products) */
.mobile-nav__group,
.mobile-nav__links > .mobile-nav__link {
    border-bottom: 1px solid var(--color-gray-100);
}

.mobile-nav__link--trigger {
    width: 100%;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: var(--color-text);
}

.mobile-nav__chevron {
    color: var(--color-gray-400);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.mobile-nav__link--trigger[aria-expanded="true"] .mobile-nav__chevron {
    transform: rotate(180deg);
}

.mobile-nav__panel {
    display: none;
    flex-direction: column;
    padding: 0 0 var(--space-4);
}

.mobile-nav__group.is-open .mobile-nav__panel {
    display: flex;
}

.mobile-nav__sublink {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-2);
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.mobile-nav__sublink:hover,
.mobile-nav__sublink:focus-visible {
    background: var(--color-gray-50);
}

.mobile-nav__sublink-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fdeeee;
}

.mobile-nav__sublink-icon img {
    max-width: 76%;
    max-height: 76%;
    object-fit: contain;
}

.mobile-nav__sublink-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav__sublink-title {
    font-weight: var(--font-weight-medium);
    font-size: var(--text-base);
}

.mobile-nav__sublink-desc {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.mobile-nav__cta {
    display: block;
    text-align: center;
    margin-top: var(--space-6);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--color-white);
    overflow: hidden;
    background-color: #000000;
    /* Asymmetric padding shifts the centered flex content slightly upward
       — bigger bottom buffer pushes the visual centerline higher. */
    padding: calc(var(--total-header-height) + 7vh) 0 clamp(80px, 10vw, 130px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.82;
    z-index: 0;
}

/* Vertical scrim for text legibility — darker at top where the heading sits,
   gradually fading to a subtle wash at the bottom. Keeps contrast consistent
   regardless of where the photo is bright or dark. */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    padding: 0 100px;
    margin: 0 auto;
}

.hero__content {
    max-width: 1180px;
    text-align: center;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-5);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    text-wrap: balance;
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 3.25rem;
        line-height: 1.1;
    }
}

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

.hero__description {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: #ffffff;
    margin: 0 auto var(--space-8);
    line-height: 1.6;
    max-width: 1100px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    text-wrap: pretty;
}

.hero__cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--total-header-height) + var(--space-12));
        padding-bottom: var(--space-12);
    }

    .hero .container {
        padding: 0 var(--space-5);
    }

    .hero__title {
        margin-bottom: var(--space-4);
    }

    .hero__description {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: var(--space-6);
    }

    .hero__cta {
        flex-direction: column;
        gap: var(--space-3);
        width: 100%;
    }

    .hero__cta .btn {
        width: 100%;
    }
}

.hero__badge {
    margin-top: var(--space-6);
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.6);
    color: rgba(255, 255, 255, 0.7);
    width: fit-content;
}

.hero__badge strong {
    color: var(--color-white);
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section {
    padding: var(--space-24) 0;
}

.section--light {
    background-color: var(--color-light);
}

.section--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
    margin: 0 0 var(--space-16);
    text-align: left;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 0;
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: var(--leading-relaxed);
    margin: 0;
}

.section--dark .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   ENVIRONMENTS GRID
   ============================================ */

.environments-archive {
    padding: var(--space-12) 0 var(--space-16);
}

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

.environment-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: var(--space-4);
    color: var(--color-text);
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.environment-card:hover {
    background: #f0f0f0;
}

/* Inner clickable surface (image + title + excerpt) — links to the env page. */
.environment-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

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

.environment-card__image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--color-light, #F7F7F7);
    border-radius: 10px;
    margin-bottom: var(--space-5);
    transition: background-color .2s ease;
}

.environment-card:hover .environment-card__image,
.environment-card:active .environment-card__image,
.environment-card:focus-visible .environment-card__image {
    background-color: #f0f0f0;
}

.environment-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: all .1s ease-in-out;
}

.environment-card:hover .environment-card__image img {
    transform: scale(1.03);
}

.environment-card__icon {
    width: 100%;
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gray-100), var(--color-gray-200));
}

.environment-card__icon-placeholder {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
}

.environment-card__content {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.environment-card__title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin: 0 0 var(--space-3);
    padding: 0;
}

.environment-card__excerpt {
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: var(--leading-normal);
    margin: 0;
    padding: 0;
}

/* ============================================
   PRODUCT HIGHLIGHT
   ============================================ */

.product-highlight-section .container {
    max-width: 1400px;
    padding: 0 20px;
}

.product-highlight {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 0;
    align-items: center;
}

.product-highlight__image {
    position: relative;
    border-radius: 10px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 3/2;
    overflow: visible;
}

.product-highlight__image img {
    position: absolute;
    left: -18%;
    bottom: -6%;
    width: 62%;
    height: auto;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

.product-highlight__content {
    padding-left: 100px;
    max-width: none;
}

.product-highlight__title {
    font-size: clamp(2.25rem, 3.75vw, 3.75rem);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.product-highlight__text {
    font-size: var(--text-base);
    color: var(--color-text);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

.product-highlight__text:last-of-type {
    margin-bottom: var(--space-8);
}

.product-highlight__cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.home-video {
    width: 100%;
    padding: var(--space-12) 0;
    background: var(--color-white);
}

.home-video__inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.home-video__inner iframe,
.home-video__inner video,
.home-video__player {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
    /* Block all pointer/hover events reaching the iframe — prevents YouTube
       from showing its hover-state UI (title bar, ◄ ❙❙ ► playlist controls,
       "More videos" bar). Play/pause and mute still work via postMessage from
       the .home-video__toggle and .yt-mute-btn buttons which sit outside the
       iframe and don't need pointer-events to send commands. */
    pointer-events: none;
}

/* Custom play/pause button — sits bottom-left of the video frame.
   Single control, replaces all native YouTube/HTML5 chrome. */
.home-video__toggle {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}
.home-video__toggle:hover,
.home-video__toggle:focus-visible {
    background: rgba(0, 0, 0, 0.85);
    outline: 0;
}
.home-video__toggle:active { transform: scale(0.96); }

.home-video__icon { display: block; }
/* Default state on load: video is playing → show pause icon, hide play */
.home-video__toggle .home-video__icon--play  { display: none; }
.home-video__toggle .home-video__icon--pause { display: block; }
/* When paused (aria-pressed="false") swap the icons */
.home-video__toggle[aria-pressed="false"] .home-video__icon--play  { display: block; }
.home-video__toggle[aria-pressed="false"] .home-video__icon--pause { display: none; }

@media (max-width: 640px) {
    .home-video__toggle {
        left: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }
}

/* Black overlay bars removed — YouTube branding minimised via embed params
   (controls=0, modestbranding=1, rel=0, iv_load_policy=3) and the
   transparent pointer-events overlay (.product-tab-panel__video-ctrl)
   already intercepts all clicks on the iframe. */

/* ============================================
   BENEFITS
   ============================================ */

.benefits-section {
    background: var(--color-white);
    padding: 80px 0 100px;
}

.benefits-section .container {
    display: block;
    max-width: 1280px;
}

.benefits-section__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-medium);
    line-height: 1.05;
    color: var(--color-dark);
    margin: 0 0 56px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    text-align: left;
    padding: 0;
    background: transparent;
    border: 0;
    transition: none;
}

.benefit-card:hover {
    background: transparent;
    transform: none;
}

.benefit-card__icon {
    width: 84px;
    height: 84px;
    margin: 0 0 18px;
    background: transparent;
    border-radius: 0;
    display: block;
}

.benefit-card__icon img {
    width: 84px;
    height: 84px;
    display: block;
}

.benefit-card__title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
    margin: 0 0 14px;
    line-height: 1.25;
}

.benefit-card__text {
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: var(--leading-normal);
    margin: 0;
}

@media (max-width: 900px) {
    .benefits-section__title {
        margin-bottom: 40px;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ============================================
   CASE STUDY
   ============================================ */

.case-study-section {
    padding: 100px 0;
    background: var(--color-white);
}

.case-study-section .container {
    max-width: 1280px;
    padding-left: 20px;
    padding-right: 20px;
}

.case-study {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-study__image {
    border-radius: 10px;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 600px;
    width: 100%;
}

.case-study__content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-dark);
}

.case-study__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
    color: var(--color-dark);
    margin: 0 0 24px;
}

.case-study__quote {
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: 1.65;
    font-style: normal;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    quotes: none;
}

.case-study__author {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    margin: 0;
}

.case-study__author-role {
    font-size: 15px;
    color: var(--color-gray-700);
    font-weight: var(--font-weight-regular);
}

.case-study__extra {
    margin: 24px 0 0;
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: 1.65;
}

.case-study__cta {
    margin-top: 28px;
    align-self: flex-start;
}

@media (max-width: 900px) {
    .case-study {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .case-study__image {
        min-height: 360px;
    }
    .case-study-section {
        padding: 60px 0;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

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

.testimonial-card__stars {
    color: var(--color-accent);
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
}

.testimonial-card__text {
    font-size: var(--text-base);
    color: var(--color-gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.testimonial-card__name {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
}

.testimonial-card__role {
    font-size: var(--text-xs);
    color: var(--color-gray-600);
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
    text-align: center;
    padding: var(--space-20) var(--space-6);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.cta-banner__title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-4);
}

.cta-banner__text {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn--secondary {
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta-banner .btn--secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Trust band (homepage bottom partners row) */
.trust-band {
    background: #f0f0f0;
    color: #1a1a1a;
    padding: clamp(56px, 7vw, 96px) var(--space-6);
}

.trust-band .container {
    max-width: 1320px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.trust-band__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-medium);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
}

.trust-band__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: clamp(32px, 5vw, 72px);
}

.trust-band__logo {
    height: 88px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity var(--transition-fast);
}

.trust-band__logo:hover {
    opacity: 1;
}

@media (max-width: 900px) {
    .trust-band .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-8);
    }
    .trust-band__logos {
        justify-content: center;
        gap: 40px;
    }
    .trust-band__logo { height: 64px; }
}

@media (max-width: 480px) {
    .trust-band__logo { height: 48px; }
    .trust-band__logos { gap: 28px; }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: #222226;
    color: #ffffff;
    padding: 75px 0 25px;
    font-size: 16px;
    line-height: 1.6;
}

.site-footer .container {
    max-width: 1400px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-brand__logo-link {
    display: inline-block;
    line-height: 0;
}

.footer-logo {
    width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-brand__tagline {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    max-width: 620px;
}

.footer-brand__tagline strong {
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
}

.footer-brand__slogan {
    font-size: 22px;
    line-height: 1.3;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 14px 0 0;
    max-width: 620px;
    letter-spacing: 0.2px;
}

.footer-brand__contact,
.footer-brand__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 16px;
    line-height: 1.6;
}

.footer-brand__contact a,
.footer-brand__legal a {
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-brand__contact a:hover,
.footer-brand__legal a:hover {
    color: var(--color-primary);
}

.footer-brand__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 3px;
}

.footer-brand__contact a:hover {
    text-decoration-color: currentColor;
}

.footer-brand__contact-icon {
    flex: 0 0 auto;
    opacity: 0.85;
}

.footer-products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.footer-products a {
    color: #ffffff;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-products a:hover {
    color: var(--color-white);
}

.footer-products__heading {
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin-bottom: 6px;
    font-size: 16px;
    letter-spacing: 0.01em;
}

.footer-products--industrial {
    gap: 10px;
}

.footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-social__icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.footer-social__label {
    font-size: 15px;
    line-height: 1.4;
}

.footer-social a:hover {
    color: var(--color-white);
}

.footer-social a:hover .footer-social__icon {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-bottom__copy {
    font-size: 14px;
    color: #919191;
    margin: 0;
}

.footer-bottom__sep {
    margin: 0 8px;
    color: #5a5a5a;
}

.footer-bottom__credit {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-bottom__credit:hover,
.footer-bottom__credit:focus-visible {
    color: var(--color-primary, #e30613);
    border-bottom-color: currentColor;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-social {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-social {
        flex-direction: row;
        justify-content: flex-start;
    }
}

/* ============================================
   SINGLE PAGES
   ============================================ */

.single-hero {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
    margin-top: var(--total-header-height);
}

.single-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.single-hero .container {
    position: relative;
    z-index: 1;
    padding-bottom: var(--space-12);
}

.single-hero__title {
    font-size: var(--text-5xl);
    color: var(--color-white);
}

.single__title {
    font-size: var(--text-4xl);
    padding-top: calc(var(--total-header-height) + var(--space-12));
    margin-bottom: var(--space-8);
}

.single__content {
    max-width: var(--container-narrow);
    padding: var(--space-12) 0;
    line-height: var(--leading-relaxed);
}

.single__content p {
    margin-bottom: var(--space-6);
}

.single__content h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.single__content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.single__content img {
    border-radius: var(--radius-lg);
    margin: var(--space-8) 0;
}

/* Page */
.page-header {
    padding-top: calc(var(--total-header-height) + var(--space-8));
    margin-bottom: var(--space-4);
}

/* Kill margin-top on the first thing inside the page content. The Gutenberg
   editor likes to wrap raw HTML in extra blocks (wp-block-html, etc.) that
   compound their own top-margin with the first child's, leaving a big void
   below the page H1. We also nuke padding so wrapper blocks can't conspire
   to push the first heading down. */
.page-content > *:first-child,
.page-content section:first-child,
.page-content > section:first-child > *:first-child,
.page-content > div:first-child > *:first-child,
.page-content .wp-block-html:first-child,
.page-content .wp-block-html:first-child > *:first-child,
.page-content section:first-child > *:first-child,
.page-content section:first-child p:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Force the section wrappers themselves to have no top margin/padding. */
.page-content section,
.page-content section.privacy-policy,
.page-content section.terms,
.page-content > .wp-block-html {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* The privacy-policy / terms section sometimes ships with its own H1.
   It's redundant (the page title is already an H1) — render it small, or
   just hide it via the editor. We render it as an H2-equivalent. */
.page-content h1 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #000;
    margin: 0 0 var(--space-4);
}

/* Tables inside legal pages */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    font-size: 14px;
    line-height: 1.5;
}

.page-content table th,
.page-content table td {
    padding: 10px 14px;
    border: 1px solid var(--color-gray-200, #e6e6e6);
    text-align: left;
    vertical-align: top;
}

.page-content table th {
    background: var(--color-light, #f7f7f7);
    font-weight: var(--font-weight-semibold);
    color: #000;
}

.page-title {
    font-size: var(--text-4xl);
}

.page-content {
    max-width: var(--container-narrow);
    padding-bottom: var(--space-16);
    line-height: var(--leading-relaxed);
    color: #1a1a1a;
}

.page-content p {
    margin-bottom: var(--space-6);
}

.page-content h2 {
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: var(--space-12) 0 var(--space-4);
}

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

.page-content h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: #000;
    margin: var(--space-8) 0 var(--space-3);
}

.page-content ul,
.page-content ol {
    margin: 0 0 var(--space-6) 1.25rem;
    padding: 0;
}

.page-content li {
    margin-bottom: var(--space-2);
    line-height: var(--leading-relaxed);
}

.page-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.page-content strong {
    font-weight: var(--font-weight-semibold);
    color: #000;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-page {
    color: #121212;
}

.about-intro {
    padding: 0 50px;
}

.about-intro__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: calc(var(--total-header-height) + 80px);
    padding-bottom: 60px;
    text-align: center;
}

.about-intro__title {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 500;
    line-height: 1.15;
    max-width: 600px;
    margin: 0 auto 15px;
    color: #121212;
}

.about-intro__text {
    font-size: var(--text-base);
    line-height: 1.6;
    color: #121212;
    text-align: center;
    margin: 0;
}

.about-team {
    padding: 0 20px 100px;
}

.about-team__image {
    max-width: 1360px;
    margin: 0 auto;
    min-height: 550px;
    background-color: #eeeeee;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.about-pillars {
    padding: 0 20px 150px;
}

.about-pillars__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.about-pillars__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 80px;
    row-gap: 40px;
}

.about-pillar__title {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 15px;
    color: #121212;
}

.about-pillar__text {
    font-size: var(--text-base);
    line-height: 1.6;
    color: #121212;
    margin: 0;
}

@media (max-width: 1024px) {
    .about-pillars__grid {
        column-gap: 80px;
    }
    .about-team__image {
        min-height: 450px;
    }
}

@media (max-width: 767px) {
    .about-intro {
        padding: 0 20px;
    }
    .about-intro__inner {
        padding-top: calc(var(--total-header-height) + 40px);
    }
    .about-intro__title {
        text-align: left;
    }
    .about-intro__text {
        text-align: left;
    }
    .about-team {
        padding: 0 20px 75px;
    }
    .about-team__image {
        min-height: 250px;
        border-radius: 10px;
    }
    .about-pillars {
        padding: 0 20px 75px;
    }
    .about-pillars__grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 50px;
    }
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.trust-logo {
    height: 50px;
    width: auto;
    opacity: 0.6;
    transition: opacity var(--transition-base);
    filter: grayscale(100%);
}

.trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================================
   ENVIRONMENT PRODUCT RECOMMENDATIONS
   ============================================ */

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

.env-product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.env-product-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-4);
}

.env-product-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.env-product-card__name {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-3);
    color: var(--color-dark);
}

.env-product-card__desc {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    flex: 1;
}

.env-product-card__link {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-200);
    padding: var(--space-5) 0;
}

.faq-item__question {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    cursor: pointer;
    padding: var(--space-2) 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: '+';
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-light);
    color: var(--color-primary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    margin-left: var(--space-4);
}

.faq-item[open] .faq-item__question::after {
    content: '−';
}

.faq-item__answer {
    padding: var(--space-4) 0;
    color: var(--color-gray-600);
    line-height: var(--leading-relaxed);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail__top {
    display: grid;
    /* `minmax(0, 1fr)` (not bare `1fr`) lets columns shrink below their
       intrinsic content size when needed — without this, long words inside
       the right column would push the whole grid past the viewport. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.product-gallery__main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-gray-100);
    margin-bottom: var(--space-4);
}

.product-gallery__main img {
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1;
    /* Stops the browser's native image-drag from hijacking touch swipes. */
    -webkit-user-drag: none;
       -moz-user-drag: none;
            user-select: none;
    pointer-events: auto;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* === Gallery transition states (set by main.js / activateIndex) ===
   Sliding direction matches user intent: swiping LEFT (next) makes the
   current image exit LEFT and the new one enter from the RIGHT. */

.product-gallery__main.is-out-fade img    { opacity: 0; }
.product-gallery__main.is-in-fade img     { opacity: 1; transform: scale(1); animation: maus-gallery-in 220ms ease both; }

.product-gallery__main.is-out-left img    { opacity: 0; transform: translateX(-24px) scale(0.985); }
.product-gallery__main.is-out-right img   { opacity: 0; transform: translateX(24px)  scale(0.985); }

.product-gallery__main.is-in-left img     { animation: maus-gallery-in-left  260ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.product-gallery__main.is-in-right img    { animation: maus-gallery-in-right 260ms cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes maus-gallery-in {
    from { opacity: 0; transform: scale(0.985); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes maus-gallery-in-left {
    from { opacity: 0; transform: translateX(-24px) scale(0.985); }
    to   { opacity: 1; transform: translateX(0)     scale(1); }
}
@keyframes maus-gallery-in-right {
    from { opacity: 0; transform: translateX(24px)  scale(0.985); }
    to   { opacity: 1; transform: translateX(0)     scale(1); }
}

/* Respect reduced-motion preferences — only fade, no slide. */
@media (prefers-reduced-motion: reduce) {
    .product-gallery__main.is-out-left img,
    .product-gallery__main.is-out-right img,
    .product-gallery__main.is-out-fade img {
        opacity: 0;
        transform: none;
    }
    .product-gallery__main.is-in-left img,
    .product-gallery__main.is-in-right img,
    .product-gallery__main.is-in-fade img {
        animation: maus-gallery-in 120ms ease both;
        transform: none;
    }
}

/* Touch hint on mobile — slight grab cursor, prevents browser pull-to-refresh
   from reacting to horizontal swipes inside the gallery. */
@media (max-width: 900px) {
    .product-gallery__main--swipeable {
        cursor: grab;
        touch-action: pan-y;          /* allow vertical scroll, capture horizontal */
    }

    .product-gallery__main--swipeable:active {
        cursor: grabbing;
    }
}

.product-gallery__thumbs {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    margin-top: var(--space-3);
}

.product-gallery__thumb {
    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex: 0 0 100px;
    padding: 0;
    background: var(--color-gray-100);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-gallery__thumb:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-gallery__thumb--active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(220, 13, 21, 0.12);
}

.product-gallery__thumb img {
    transition: transform 220ms ease;
}

.product-gallery__thumb--active img {
    transform: scale(1.02);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
}

.product-detail__title {
    font-size: clamp(1.75rem, 2.6vw, 2.125rem);
    font-weight: 500;
    line-height: 1.2;
    color: #000;
    margin-bottom: var(--space-3);
}

.product-detail__price {
    font-size: 1.125rem;
    font-weight: 500;
    color: #000;
    margin-bottom: var(--space-5);
}

.product-detail__price .woocommerce-Price-amount,
.product-detail__price bdi {
    font-size: 1.125rem;
    font-weight: 500;
    color: #000;
}

.product-detail__short-desc {
    color: var(--color-gray-600);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.product-detail__desc {
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

/* Collapsible long description — hides text behind a fade + toggle button. */
.product-detail__desc--collapsible .product-detail__desc-inner {
    position: relative;
    max-height: 360px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
    transition: max-height 0.3s ease;
}

.product-detail__desc--collapsible.is-expanded .product-detail__desc-inner {
    max-height: none;
    -webkit-mask-image: none;
            mask-image: none;
}

.product-detail__desc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 0;
    background: transparent;
    border: 0;
    color: var(--color-primary, #dc0d15);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold, 600);
    cursor: pointer;
    transition: color 0.15s ease;
}

.product-detail__desc-toggle::after {
    content: "▾";
    font-size: 0.8em;
    line-height: 1;
    transition: transform 0.2s ease;
}

.product-detail__desc--collapsible.is-expanded .product-detail__desc-toggle::after {
    transform: rotate(180deg);
}

.product-detail__desc-toggle:hover {
    color: var(--color-primary-dark, #a40a10);
}

.product-detail__desc-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 13, 21, 0.18);
    border-radius: 4px;
}

@media (max-width: 600px) {
    .product-detail__desc--collapsible .product-detail__desc-inner {
        max-height: 280px;
    }
}

.product-detail__cart {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.product-detail__cart .quantity input {
    width: 70px;
    padding: var(--space-3);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: var(--text-base);
}

/* Product Tabs */
.product-detail__tabs {
    margin-bottom: var(--space-16);
}

.product-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.product-tabs__btn {
    padding: 10px 22px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #000;
    background: #fff;
    border: 1.5px solid #d1d1d1;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    white-space: nowrap;
    transition: all var(--transition-fast);
    margin-bottom: -2px;
}

.product-tabs__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.product-tabs__btn--active,
.product-tabs__btn--active:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.product-tab-panel {
    display: none;
}

.product-info-list {
    list-style: disc;
    padding-left: 22px;
    margin: 16px 0 0;
    color: #1f1f1f;
    font-size: 1rem;
    line-height: 1.6;
}

.product-info-list li {
    margin-bottom: 8px;
}

.product-info-list li::marker {
    color: var(--color-primary, #e30613);
}

.product-tab-panel__video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: var(--space-4);
    border-radius: var(--radius-image-desktop);
    overflow: hidden;
    background: transparent;
}

.product-tab-panel__video iframe,
.product-tab-panel__video video,
.product-tab-panel__player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    /* Prevent the iframe from receiving pointer/touch events directly —
       the .product-tab-panel__video-ctrl overlay handles all interaction
       and sends play/pause via postMessage. Without this, iOS lets the
       iframe z-index bleed above the overlay and YouTube's UI appears. */
    pointer-events: none;
    /* Scale up to clip YouTube's title-bar (top) and suggestion-bar (bottom)
       via the container's overflow:hidden — same technique as home-video. */
    transform: scale(1.25);
    transform-origin: center center;
    border-radius: var(--radius-image-desktop);
}

/* Transparent overlay that intercepts all pointer events so YouTube's
   own UI (title bar, share buttons, logo) never appears on tap/click.
   play/pause is driven via postMessage (enablejsapi=1). */
.product-tab-panel__video-ctrl {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Centered play icon — only visible while paused */
.product-tab-panel__video-ctrl::after {
    content: '';
    width: 64px;
    height: 64px;
    background:
        rgba(0, 0, 0, 0.62)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E")
        center / 28px no-repeat;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.product-tab-panel__video-ctrl.is-paused::after {
    opacity: 1;
}

/* SEO long-form copy block (between FAQ and Related products) */
.product-seo {
    background: #fafafa;
    padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px);
    margin: 0;
}

.product-seo__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.product-seo__title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--color-dark, #102a43);
    margin: 0 0 var(--space-4, 16px);
}

.product-seo__body {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 1100px;
}

.product-seo__body p {
    margin: 0 0 var(--space-4, 16px);
}

.product-seo__body[data-collapsed="true"] {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-seo__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-3, 12px);
    padding: 12px 22px;
    background: var(--color-primary, #e30613);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
}

.product-seo__toggle:hover {
    filter: brightness(0.95);
}

.product-seo__toggle-icon {
    transition: transform .2s ease;
}

.product-seo__toggle[aria-expanded="true"] .product-seo__toggle-icon {
    transform: rotate(90deg);
}

/* Related products carousel */
.product-related {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 24px);
}

.product-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(20px, 3vw, 32px);
}

.product-related__title {
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-dark, #102a43);
    margin: 0;
}

.product-related__nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.product-related__arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: var(--color-primary, #e30613);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .2s ease, background-color .2s ease;
}

.product-related__arrow:hover { filter: brightness(0.95); }

.product-related__arrow.is-disabled {
    background: #f4b9bd;
    cursor: default;
    pointer-events: none;
}

.product-related__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    /* Show ~1 card per view on mobile */
    --cards-per-view: 1;
    --gap: 24px;
}

@media (min-width: 640px) {
    .product-related__track { --cards-per-view: 2; }
}

@media (min-width: 980px) {
    .product-related__track { --cards-per-view: 3; }
}

.product-related__track::-webkit-scrollbar { display: none; }
.product-related__track { scrollbar-width: none; }

.product-related__card {
    flex: 0 0 calc((100% - (var(--gap) * (var(--cards-per-view) - 1))) / var(--cards-per-view));
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.product-related__media {
    text-decoration: none;
    color: inherit;
}

.product-related__image {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.product-related__image img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

.product-related__info {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 18px;
}

.product-related__name {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-dark, #102a43);
    margin: 0 0 10px;
    line-height: 1.25;
}

.product-related__price {
    color: #4a4a4a;
    font-size: 1.0625rem;
    font-weight: 500;
}

.product-related__price .woocommerce-Price-amount,
.product-related__price bdi {
    color: #4a4a4a;
    font-weight: 500;
}

.product-related__cart {
    display: block;
    margin-top: auto;
    padding: 16px 20px;
    background: var(--color-primary, #e30613);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    transition: filter .15s ease;
}

.product-related__cart:hover { filter: brightness(0.95); color: #fff; }

.product-related__cart--view {
    background: #2a2a2a;
}

/* Product FAQ — two-column layout matching the live */
.product-faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
    padding: var(--space-12, 48px) 0;
    max-width: 1280px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .product-faq {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.product-faq__title {
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-dark, #102a43);
    margin: 0 0 var(--space-4, 16px);
}

.product-faq__lead {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 0 var(--space-5, 20px);
}

.product-faq__cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
}

.product-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-faq__item {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.product-faq__item[open] {
    border-color: #d1d1d1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.product-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark, #102a43);
    cursor: pointer;
    list-style: none;
    line-height: 1.4;
}

.product-faq__question::-webkit-details-marker {
    display: none;
}

.product-faq__chevron {
    flex-shrink: 0;
    color: #4a4a4a;
    display: inline-flex;
    transition: transform .2s ease;
}

.product-faq__item[open] .product-faq__chevron {
    transform: rotate(180deg);
}

.product-faq__answer {
    padding: 0 22px 20px;
    color: #4a4a4a;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.product-faq__answer p {
    margin: 0;
}

/* Comparison table — under the YouTube section, above FAQ */
.product-comparison {
    margin: var(--space-12, 48px) 0;
    padding: var(--space-10, 40px) 0;
    background: var(--color-light, #fafafa);
    border-radius: 12px;
}

.product-comparison .section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--space-8, 32px);
    padding: 0 var(--space-4, 16px);
}

.product-comparison .section-title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 600;
    color: var(--color-dark, #102a43);
    margin-bottom: var(--space-3, 12px);
}

.product-comparison .section-subtitle {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.55;
}

.product-comparison__table-wrap {
    overflow-x: auto;
    padding: 0 var(--space-4, 16px);
}

.product-comparison__table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9375rem;
}

.product-comparison__table thead th {
    background: #fff;
    color: #4a4a4a;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 18px 14px;
    text-align: center;
    vertical-align: bottom;
    line-height: 1.35;
}

.product-comparison__table thead th:first-child {
    text-align: left;
    padding-left: 24px;
}

.product-comparison__table tbody th {
    text-align: left;
    font-weight: 400;
    color: #4a4a4a;
    padding: 14px 24px;
    background: inherit;
    white-space: nowrap;
}

.product-comparison__table tbody td {
    text-align: center;
    padding: 14px;
    color: #4a4a4a;
    font-weight: 500;
}

.product-comparison__table tbody tr:nth-child(odd) th,
.product-comparison__table tbody tr:nth-child(odd) td {
    background: #f4f4f4;
}

.comparison-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

@media (max-width: 640px) {
    /* Stack the comparison table into per-row cards on mobile — each row
       (criterion) becomes its own block with the product cells listed
       underneath as "product name → icon/value" pairs. Mirrors the live
       maussafety.com mobile layout. */
    .product-comparison__table-wrap {
        overflow: visible;
    }
    .product-comparison__table {
        min-width: 0;
        display: block;
        font-size: 0.95rem;
        border-collapse: collapse;
    }
    .product-comparison__table thead {
        display: none;
    }
    .product-comparison__table tbody,
    .product-comparison__table tbody tr {
        display: block;
        width: 100%;
    }
    .product-comparison__table tbody tr {
        padding: 18px 18px 10px;
        border-bottom: 1px solid var(--color-gray-200);
        background: transparent !important;
    }
    .product-comparison__table tbody th {
        display: block;
        width: 100%;
        padding: 0 0 12px;
        font-weight: var(--font-weight-bold);
        font-size: 0.85rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--color-dark);
        background: transparent !important;
        border: 0;
    }
    .product-comparison__table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
        border-top: 1px solid var(--color-gray-200);
        background: transparent !important;
        text-align: right;
    }
    .product-comparison__table tbody td::before {
        content: attr(data-label);
        flex: 1;
        text-align: left;
        font-weight: var(--font-weight-medium);
        color: var(--color-dark);
        font-size: 0.875rem;
    }

    .product-tabs__nav {
        gap: 8px;
    }

    .product-tabs__nav {
        gap: 8px;
    }

    .product-tabs__btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .product-faq__title {
        font-size: 1.75rem;
    }

    .product-related__head {
        flex-direction: row;
        align-items: center;
    }

    .product-related__title {
        font-size: 1.75rem;
    }

    .product-related__arrow {
        width: 40px;
        height: 40px;
    }
}

.product-tab-panel--active {
    display: block;
}

.product-tab-panel h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
}

.product-tab-panel p {
    color: var(--color-gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

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

.specs-table th,
.specs-table td {
    padding: var(--space-4);
    text-align: left;
    font-size: var(--text-sm);
}

.specs-table th {
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    width: 40%;
}

.specs-table td {
    color: var(--color-gray-600);
}

.usage-steps {
    padding-left: var(--space-6);
}

.usage-steps li {
    padding: var(--space-3) 0;
    color: var(--color-gray-700);
    line-height: var(--leading-relaxed);
}

.product-detail__faq {
    margin-bottom: var(--space-16);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.woocommerce ul.products li.product {
    float: none;
    width: 100%;
    margin: 0;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

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

.woocommerce ul.products li.product a img {
    margin: 0;
    border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-4) var(--space-4) var(--space-1);
    color: var(--color-dark);
}

.woocommerce ul.products li.product .price {
    padding: 0 var(--space-4);
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-lg);
}

.woocommerce ul.products li.product .button {
    margin: var(--space-4);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-6);
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-base);
}

.woocommerce ul.products li.product .button:hover {
    background: var(--color-primary-dark);
}

.woocommerce div.product {
    margin-top: calc(var(--total-header-height) + var(--space-8));
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-3) var(--space-8);
    transition: all var(--transition-base);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .environments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .product-highlight {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .product-highlight__content {
        padding-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .case-study {
        grid-template-columns: 1fr;
    }

    .mega-menu__grid {
        padding: 0 20px;
    }

    .mega-menu__grid--env {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 30px;
    }

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

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

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

    .product-detail__top {
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {

    .product-detail__top {
        grid-template-columns: 1fr;
    }
    :root {
        --header-height: 64px;
    }

    .top-bar__inner {
        gap: 16px;
    }

    .top-bar__item {
        font-size: 9px;
    }

    .top-bar__icon {
        width: 12px;
        height: 12px;
    }

    .top-bar__icon svg {
        width: 7px;
        height: 7px;
    }

    .site-header__inner {
        display: flex;
        justify-content: space-between;
    }

    .primary-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .lang-switcher--desktop {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

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

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

    .section {
        padding: var(--space-16) 0;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .environments-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .environments-archive {
        padding: var(--space-10) 0 var(--space-12);
    }

    .environment-card {
        text-align: center;
    }

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

    .product-highlight__image {
        max-height: 400px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

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

    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .env-products-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-banner__title {
        font-size: var(--text-2xl);
    }

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

    .single__title,
    .page-title {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 480px) {
    .hero__cta {
        flex-direction: column;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .product-highlight__title {
        font-size: var(--text-xl);
    }
}

/* ============================================
   IMAGE BORDER-RADIUS (matches target: 10px mobile / 20px desktop)
   ============================================ */

.environment-card__image img,
.environment-card__image,
.product-highlight__image img,
.case-study__image,
.case-study__image img,
.single-hero__image img,
.product-gallery img {
    border-radius: var(--radius-image-mobile);
}

@media (min-width: 768px) {
    .environment-card__image img,
    .environment-card__image,
    .product-highlight__image img,
    .case-study__image,
    .case-study__image img,
    .single-hero__image img,
    .product-gallery img {
        border-radius: var(--radius-image-desktop);
    }
}

/* ============================================
   ENVIRONMENT PAGE: BIL
   ============================================ */

.env-page {
    padding-top: calc(var(--total-header-height) + var(--space-10));
    padding-bottom: var(--space-16);
}

.env-page .container {
    max-width: 1400px;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.env-hero__image {
    position: relative;
    margin: 0 auto var(--space-12);
    max-width: 1024px;
    border-radius: var(--radius-image-desktop);
    overflow: visible;
}

.env-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-image-desktop);
}

.env-hero__image--wide {
    max-width: none;
    width: 100%;
    background: var(--color-mega-menu-bg, #f5f5f5);
    border-radius: 0;
    margin: 0 0 var(--space-16);
    padding: var(--space-10) 0;
}

.env-hero__image--wide .env-hero__image-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.env-hero__image--wide img {
    border-radius: 0;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: block;
}

.env-hero__hotspot {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 2;
}

.env-hero__dot {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #707070;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    box-shadow: 0 0 0 0 rgba(112, 112, 112, 0.55);
    animation: env-hotspot-pulse 1.8s infinite;
    cursor: pointer;
}

.env-hero__dot-icon {
    font-size: 22px;
    line-height: 1;
    font-weight: 300;
}

.env-hero__tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    max-width: 90vw;
    background: var(--color-white);
    color: #5a5a5a;
    padding: 22px 26px;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    text-align: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 3;
}

.env-hero__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--color-white);
}

/* Flipped variant — tooltip drops below the dot when there isn't room
   above (e.g. hotspots near the top of the diagram). The JS toggle adds
   .is-flipped on the hotspot whenever it opens too close to the page top. */
.env-hero__hotspot.is-flipped .env-hero__tooltip {
    bottom: auto;
    top: 30px;
}

.env-hero__hotspot.is-flipped .env-hero__tooltip::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: var(--color-white);
}

.env-hero__tooltip--right {
    left: auto;
    right: -12px;
    transform: translateX(0);
}

.env-hero__tooltip--right::after {
    left: auto;
    right: 24px;
    transform: none;
}

.env-hero__hotspot:hover .env-hero__tooltip,
.env-hero__hotspot:focus-within .env-hero__tooltip,
.env-hero__hotspot.is-active .env-hero__tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Raise the whole hotspot when its tooltip is open so the tooltip
   paints above sibling hotspots' dots. */
.env-hero__hotspot:hover,
.env-hero__hotspot:focus-within,
.env-hero__hotspot.is-active {
    z-index: 50;
}

/* Active dot keeps the brand color so users see what they tapped */
.env-hero__hotspot.is-active .env-hero__dot {
    background: var(--color-primary);
    animation: none;
    box-shadow: 0 0 0 6px rgba(227, 6, 19, 0.18);
}

.env-hero__tooltip-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.env-hero__tooltip-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #707070;
}

.env-hero__tooltip-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.env-hero__tooltip-link:hover {
    text-decoration: underline;
}

@keyframes env-hotspot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(112, 112, 112, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(112, 112, 112, 0); }
    100% { box-shadow: 0 0 0 0 rgba(112, 112, 112, 0); }
}

.env-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.env-hero__grid--full {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.env-hero__text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.env-hero__title {
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-5);
    color: var(--color-dark);
}

.env-hero__description {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-gray-700, #4a4a4a);
}

.env-hero__lead {
    font-size: var(--text-lg);
    line-height: var(--leading-normal);
    color: var(--color-dark);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-5);
}

.env-hero__video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-image-desktop);
    overflow: hidden;
    background: #000;
    position: relative;
}

/* Iframe fades in after a short delay so YouTube's loading chrome is hidden */
.env-hero__video iframe,
.home-video__inner iframe {
    animation: yt-iframe-fadein 0.5s ease 1.6s both;
}

@keyframes yt-iframe-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.env-hero__video iframe {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    border: 0;
}

.env-page__gallery {
    padding: var(--space-8) 0 var(--space-16);
}

.env-page__gallery .container {
    max-width: 1400px;
}

.env-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.env-gallery__item {
    margin: 0;
    border-radius: var(--radius-image-desktop);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--color-gray-100, #f3f4f6);
}

.env-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}

.env-gallery__item:hover img {
    transform: scale(1.03);
}

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

.env-gallery--single .env-gallery__item {
    aspect-ratio: 16 / 9;
    max-height: 600px;
}

@media (max-width: 700px) {
    .env-gallery {
        grid-template-columns: 1fr;
    }
}

.env-page__faq {
    padding: var(--space-16) 0;
    background: var(--color-gray-50, #fafafa);
}

.env-page__faq .container {
    max-width: 1400px;
}

.env-faq__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: start;
}

.env-faq__title {
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: var(--space-5);
    color: var(--color-dark);
}

.env-faq__intro p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700, #4a4a4a);
    margin-bottom: var(--space-6);
}

.env-faq__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.env-faq__item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: var(--space-6) var(--space-8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: border-color var(--transition-fast);
}

.env-faq__item:hover {
    border-color: var(--color-gray-300, #d1d5db);
}

.env-faq__question {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.env-faq__question::-webkit-details-marker { display: none; }

.env-faq__question::after {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M14.25 6.75L9 12L3.75 6.75' stroke='%2318181B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/contain no-repeat;
    transition: transform var(--transition-fast);
}

.env-faq__item[open] .env-faq__question::after {
    transform: rotate(180deg);
}

.env-faq__answer {
    padding-top: var(--space-4);
    color: var(--color-gray-700, #4a4a4a);
    line-height: var(--leading-relaxed);
}

.env-page__product {
    padding: var(--space-16) 0;
    background: #fff;
}

/* Reversed (image-right) product cards get the light-grey section bg
   to create the zig-zag pattern from the live site. */
.env-page__product:has(.product-detail__row--reverse) {
    background: var(--color-light, #F7F7F7);
}

.product-detail__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.product-detail__row--reverse .product-detail__image {
    order: 2;
}

.product-detail__image {
    border-radius: var(--radius-image-desktop);
    overflow: hidden;
    background: #fff;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail__image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: contain;
}

.product-detail__title {
    font-size: clamp(1.75rem, 2.6vw, 2.125rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--space-3);
    color: #000;
}

.product-detail__text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700, #4a4a4a);
    margin-bottom: var(--space-6);
}

.env-page__seo {
    padding: var(--space-16) 0;
    background: var(--color-white);
}

.env-page__seo .container {
    max-width: 1100px;
}

.env-page__seo-heading {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-4);
    color: var(--color-dark);
}

.env-page__seo p {
    line-height: var(--leading-relaxed);
    color: var(--color-gray-700, #4a4a4a);
    margin-bottom: var(--space-4);
}

.env-page__seo h2 {
    font-size: var(--text-2xl);
    font-weight: 500;
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    color: var(--color-dark);
}

.env-page__seo h3 {
    font-size: var(--text-xl);
    font-weight: 500;
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
    color: var(--color-dark);
}

.env-page__seo img {
    display: block;
    width: 100%;
    height: auto;
    margin: var(--space-8) 0;
    border-radius: var(--radius-image-desktop);
}

.env-page__seo-more {
    margin-top: var(--space-5);
}

.env-page__seo-toggle {
    list-style: none;
    cursor: pointer;
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    max-width: 150px;
    text-align: center;
}

.env-page__seo-toggle::-webkit-details-marker { display: none; }

.env-page__seo-more[open] .env-page__seo-toggle {
    background: var(--color-dark);
}

.env-page__seo-body {
    margin-top: var(--space-6);
}

@media (max-width: 900px) {
    .env-faq__grid,
    .product-detail__row {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .product-detail__row--reverse .product-detail__image {
        order: 0;
    }

    .env-hero__grid {
        gap: var(--space-6);
    }
}

@media (max-width: 640px) {
    .env-hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .env-hero__video {
        aspect-ratio: 16 / 9;
    }
}


/* ============================================
   CART DRAWER (slide-in from right)
   ============================================ */

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms ease, visibility 0s linear 250ms;
    z-index: 9000;
}

.cart-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 250ms ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(500px, 100vw);
    background: var(--color-white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.cart-drawer__header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-gray-200);
}

.cart-drawer__title {
    margin: 0;
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
}

.cart-drawer__close {
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    border-radius: var(--radius-full);
    transition: background-color var(--transition-fast);
}

.cart-drawer__close:hover {
    background: var(--color-gray-100);
}

.cart-drawer__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
}

.cart-drawer__body > .widget_shopping_cart_content,
.cart-drawer__body.widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.cart-drawer__items {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px 24px 16px;
    min-height: 0;
}

.cart-drawer__footer {
    flex: 0 0 auto;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--color-gray-200);
    background: var(--color-white);
}

/* Mini-cart line items, summary, and CTA */
.cart-drawer__body .woocommerce-mini-cart {
    padding: 0;
    margin: 0 0 8px;
    list-style: none;
}

.cart-drawer__body .woocommerce-mini-cart__empty-message {
    color: var(--color-gray-700);
    font-size: var(--text-base);
    text-align: center;
    padding: var(--space-12) 0;
}

.mini-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px 28px 16px 0;     /* extra right-padding for the remove × */
    border-bottom: 1px solid var(--color-gray-200);
}

.mini-cart-item__thumb,
.cart-drawer .woocommerce-mini-cart .mini-cart-item__thumb,
ul.cart_list .mini-cart-item__thumb,
ul.product_list_widget .mini-cart-item__thumb {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: 64px !important;
    height: 64px !important;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f7f7;
    border: 1px solid var(--color-gray-200);
    box-sizing: border-box;
    flex-shrink: 0;
    float: none !important;
    margin: 0 !important;
}

.mini-cart-item__thumb img,
.cart-drawer .woocommerce-mini-cart .mini-cart-item__thumb img,
ul.cart_list li .mini-cart-item__thumb img,
ul.product_list_widget li .mini-cart-item__thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mini-cart-item__body {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.mini-cart-item__name {
    color: var(--color-dark);
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    line-height: 1.3;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-cart-item__name:hover {
    color: var(--color-primary);
}

.mini-cart-item__price {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
}

.mini-cart-item__price .woocommerce-Price-amount {
    font-weight: inherit;
}

.mini-cart-item__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    width: max-content;
    overflow: hidden;
}

.mini-cart-item__qty-btn {
    background: transparent;
    border: 0;
    width: 28px;
    height: 28px;
    font-size: 16px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.mini-cart-item__qty-btn:hover {
    background: var(--color-gray-100);
}

.mini-cart-item__qty-input {
    width: 36px;
    height: 28px;
    border: 0;
    border-left: 1px solid var(--color-gray-200);
    border-right: 1px solid var(--color-gray-200);
    text-align: center;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
    -moz-appearance: textfield;
    appearance: textfield;
    background: transparent;
}

.mini-cart-item__qty-input::-webkit-outer-spin-button,
.mini-cart-item__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove button — absolute top-right corner of the item card, out of the
   grid flow so the body has more room. Uses a clean × glyph with a subtle
   hover state that hints at deletion. */
.mini-cart-item__remove {
    position: absolute;
    top: 14px;
    right: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 1;
    color: var(--color-gray-700) !important;
    background: transparent;
    text-decoration: none !important;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.mini-cart-item__remove:hover,
.mini-cart-item__remove:focus-visible {
    background: var(--color-primary);
    color: #fff !important;
    transform: scale(1.08);
    outline: none;
}

.mini-cart-summary {
    margin-top: 4px;
    padding: 4px 0 6px;
}

.mini-cart-coupon {
    padding: 0 0 4px;
}

.mini-cart-coupon__trigger {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: var(--color-text);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    user-select: none;
}

.mini-cart-coupon__trigger::-webkit-details-marker { display: none; }

.mini-cart-coupon__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
}

.mini-cart-coupon__icon svg { display: block; }

.mini-cart-coupon__label {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    color: var(--color-text);
}

.mini-cart-coupon__trigger:hover .mini-cart-coupon__label {
    color: var(--color-primary);
}

.mini-cart-coupon__form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 6px;
}

.mini-cart-coupon__input {
    flex: 1 1 auto;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    font-size: 14px;
    color: var(--color-dark);
    background: var(--color-white);
}

.mini-cart-coupon__input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.mini-cart-coupon__apply {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 16px;
    background: var(--color-dark);
    color: var(--color-white);
    border: 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.mini-cart-coupon__apply:hover {
    background: var(--color-dark-light);
}

.mini-cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;
    color: var(--color-text);
}

.mini-cart-summary__row--total {
    border-top: 1px solid var(--color-gray-200);
    margin-top: 6px;
    padding-top: 14px;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
}

.mini-cart-summary__shipping-pending {
    color: var(--color-gray-700);
    font-size: 14px;
    font-style: italic;
}

.mini-cart-help {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-gray-700, #555);
    margin: 0 0 12px;
}

.mini-cart-actions {
    margin-top: 8px;
}

.mini-cart-actions__checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: var(--radius-btn);
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.mini-cart-actions__checkout:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

body.cart-drawer-open {
    overflow: hidden;
}


/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page {
    color: #121212;
}

.contact-page .container {
    max-width: 1200px;
    padding: 0 20px;
}

/* Form / contact info block (now appears LAST) */
.contact-hero {
    padding: 80px 0 100px;
    background: #fff;
}

.contact-hero--first {
    padding: calc(var(--total-header-height) + 80px) 0 100px;
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.contact-hero__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #000;
    margin: 0 0 24px;
}

.contact-hero__lead {
    font-size: 1rem;
    line-height: 1.65;
    color: #1a1a1a;
    margin: 0 0 40px;
    max-width: none;
}

/* Callout shown when arriving via /contact/?product=<name> from an industrial
   variant card — tells the visitor we already know which product they want. */
.contact-inquiry-notice {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    padding: 12px 18px;
    margin: 0 0 32px;
    background: #fdeeee;
    border-left: 3px solid var(--color-primary, #e30613);
    border-radius: 6px;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: #1a1a1a;
}

.contact-inquiry-notice__label {
    color: #5a6a78;
}

.contact-inquiry-notice__product {
    color: var(--color-primary, #e30613);
    font-weight: 700;
}

/* Stacked label + underlined value blocks (Telephone / E-mail / Address). */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 360px;
}

.contact-info__block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info__label {
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.contact-info__value {
    font-size: 1rem;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    width: fit-content;
}

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

/* Form — borderless, transparent, sits directly on the page bg. */
.contact-form {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.contact-form__row {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.contact-form__label {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-form__req {
    color: var(--color-primary);
    margin-left: 2px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid var(--color-gray-300, #d4d4d4);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a1a;
    background: #fff;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
    opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(220, 13, 21, 0.08);
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.5;
}

.contact-form__submit {
    width: auto;
    align-self: flex-start;
    padding: 14px 36px;
    height: auto;
    margin-top: 8px;
    font-size: 16px;
    border-radius: 10px;
}

/* Team */
.contact-team {
    padding: 60px 0;
    background: var(--color-light, #F7F7F7);
}

.contact-team--first {
    padding: calc(var(--total-header-height) + 60px) 0 60px;
    background: var(--color-light, #F7F7F7);
}

.contact-team__title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 500;
    color: #000;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 100px;
}

@media (min-width: 1024px) {
    .contact-team__title {
        font-size: 4.5rem;
        line-height: 1;
    }
}

.contact-team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
}

.team-card {
    text-align: left;
    background: transparent;
}

.team-card__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-card__name {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: #000;
    margin: 0 0 6px;
    line-height: 1.2;
}

.team-card__role {
    font-size: 14px;
    color: var(--color-gray-700);
    margin: 0 0 14px;
}

.team-card__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-card__link {
    font-size: 14px;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    align-self: flex-start;
    transition: color var(--transition-fast);
}

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

.team-card__link--email {
    order: -1;
    font-weight: var(--font-weight-semibold);
    color: #000;
}

.team-card__link--email:hover {
    color: var(--color-primary);
}

/* =========================================================================
   INQUIRY CHECKOUT — classic shortcode page styling
   ========================================================================= */

/* Page wrapper — give the form room */
.woocommerce-checkout {
    padding: var(--space-12, 48px) 0 var(--space-16, 64px);
}

.woocommerce-order-received {
    padding: var(--space-12, 48px) 0 0;
}

.woocommerce-order-received .woocommerce {
    max-width: 100%;
    overflow-x: hidden;
}

/* Form spans the natural container width, no extra centering — keeps the
   page H1 ("Ολοκλήρωση αιτήματος") and the form aligned at the container
   left edge. Internal layout (customer details columns + review card) gets
   constrained inside this. */
form.checkout {
    display: block;
    margin: 0;
    max-width: none;
}

/* Stack billing-fields and additional-fields vertically, both flush-left
   to the page H1. WC's default `.col2-set .col-1 { float: left }` /
   `.col-2 { float: right }` was wrestling with our grid attempt and
   leaving them misaligned, so we just kill the columnar layout entirely.
   Both sections share a comfortable max-width for readability. */
#customer_details.col2-set {
    display: block !important;
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 0 8px !important;
}

#customer_details .col-1,
#customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 0 32px !important;
}

#customer_details::after {
    content: "";
    display: block;
    clear: both;
}

/* The default WC checkout heading "Your order" — our template prints its
   own title inside the card, so the standalone heading is redundant. */
#order_review_heading {
    display: none;
}

/* Left column — customer + extras */
.woocommerce-billing-fields,
.woocommerce-additional-fields {
    margin-bottom: 32px;
}

.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold, 700);
    color: #000;
    margin: 0 0 16px;
}

.woocommerce-billing-fields p.form-row,
.woocommerce-additional-fields p.form-row {
    margin-bottom: 18px;
}

.woocommerce-billing-fields label,
.woocommerce-additional-fields label {
    display: block;
    font-size: 14px;
    font-weight: var(--font-weight-medium, 500);
    color: #1a1a1a;
    margin-bottom: 6px;
}

.woocommerce-billing-fields .required,
.woocommerce-additional-fields .required {
    color: var(--color-primary, #dc0d15);
    text-decoration: none;
    margin-left: 2px;
}

.woocommerce-billing-fields input,
.woocommerce-billing-fields select,
.woocommerce-additional-fields input,
.woocommerce-additional-fields select,
.woocommerce-additional-fields textarea,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-gray-300, #d4d4d4);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a1a;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce-billing-fields input:focus,
.woocommerce-billing-fields select:focus,
.woocommerce-additional-fields input:focus,
.woocommerce-additional-fields textarea:focus {
    outline: none;
    border-color: var(--color-primary, #dc0d15);
    box-shadow: 0 0 0 3px rgba(220, 13, 21, 0.08);
}

/* Side-by-side first/last name */
.woocommerce-billing-fields p#billing_first_name_field,
.woocommerce-billing-fields p#billing_last_name_field {
    display: inline-block;
    width: calc(50% - 6px);
    vertical-align: top;
}
.woocommerce-billing-fields p#billing_first_name_field { margin-right: 8px; }

@media (max-width: 600px) {
    .woocommerce-billing-fields p#billing_first_name_field,
    .woocommerce-billing-fields p#billing_last_name_field {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

/* Order review card — sits below the form, same max-width so it aligns
   with the customer-details columns and the page H1. */
.maus-review {
    background: var(--color-light, #f7f7f7);
    border-radius: 12px;
    padding: 28px;
    margin-top: 32px;
    max-width: 720px;
}

@media (max-width: 600px) {
    .maus-review {
        padding: 20px;
    }
}

.maus-review__title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold, 700);
    color: #000;
    margin: 0 0 20px;
}

.maus-review__items {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.maus-review__item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-gray-200, #e6e6e6);
}

.maus-review__item:last-child { border-bottom: 0; }

.maus-review__thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    display: block;
}

.maus-review__name {
    font-size: 15px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.3;
    margin: 0 0 4px;
}

.maus-review__name a {
    color: #000;
    text-decoration: none;
}

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

.maus-review__excerpt {
    font-size: 13px;
    line-height: 1.45;
    color: var(--color-gray-700, #555);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.maus-review__qty {
    text-align: right;
    min-width: 56px;
}

.maus-review__qty-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-700, #555);
    margin-bottom: 4px;
}

.maus-review__qty-value {
    display: inline-block;
    min-width: 32px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid var(--color-gray-200, #e6e6e6);
    border-radius: 999px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold, 600);
    color: #000;
    text-align: center;
}

/* Submit / Place-order button — MAUS red, full-width inside the review card */
.maus-review__payment {
    margin-top: 24px;
}

.maus-place-order,
#place_order,
button#place_order.button.alt {
    display: block;
    width: 100%;
    padding: 16px 28px;
    background: var(--color-primary, #dc0d15) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
    box-shadow: 0 2px 6px rgba(220, 13, 21, 0.18);
    text-transform: none;
    letter-spacing: 0;
}

.maus-place-order:hover,
#place_order:hover {
    background: var(--color-primary-dark, #a40a10) !important;
    box-shadow: 0 6px 16px rgba(220, 13, 21, 0.28);
}

.maus-place-order:active,
#place_order:active { transform: translateY(1px); }

/* Hide the legacy WC payment-method radio since we have only one gateway,
   and the "I have read and agree to the terms" line we already removed. */
.woocommerce-checkout-payment ul.payment_methods,
.woocommerce-checkout-payment .place-order > .terms,
.woocommerce-checkout-payment .place-order > p.form-row {
    display: none !important;
}

/* WC renders #payment (with the place-order button) immediately AFTER our
   #order_review div. Strip its default chrome (white card, border, padding)
   so the button reads as a natural extension of the review card above.
   Constrain to the same max-width so it aligns with the form. */
.woocommerce-checkout-payment {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin-top: 16px;
    max-width: 720px;
}

.woocommerce-checkout-payment .place-order {
    padding: 0 !important;
    margin: 0 !important;
}

/* WooCommerce Cart/Checkout block buttons — Place Order, Proceed to Checkout,
   Update Cart, Apply Coupon. The block default ships unstyled, so it renders
   as plain text. Style it to match our btn--primary look. */
.wc-block-components-button,
.wp-block-woocommerce-proceed-to-checkout,
.wc-block-components-checkout-place-order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--color-primary, #dc0d15);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 2px 6px rgba(220, 13, 21, 0.18);
}

.wc-block-components-button:hover,
.wp-block-woocommerce-proceed-to-checkout:hover,
.wc-block-components-checkout-place-order-button:hover {
    background: var(--color-primary-dark, #a40a10);
    box-shadow: 0 6px 16px rgba(220, 13, 21, 0.28);
}

.wc-block-components-button:active,
.wc-block-components-checkout-place-order-button:active {
    transform: translateY(1px);
}

.wc-block-components-button:disabled,
.wc-block-components-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

/* The block also renders some "outlined" / secondary variants — keep those
   readable rather than red-on-red. */
.wc-block-components-button.outlined,
.wc-block-components-button.wc-block-components-button--outlined {
    background: transparent;
    color: var(--color-primary, #dc0d15) !important;
    border: 1.5px solid var(--color-primary, #dc0d15);
    box-shadow: none;
}

.wc-block-components-button.outlined:hover {
    background: var(--color-primary, #dc0d15);
    color: #fff !important;
}

/* The full-width "Place order" button at the bottom of the checkout block. */
.wc-block-components-checkout-place-order-button {
    width: 100%;
    padding: 18px 28px;
    font-size: 17px;
}

/* Final actions row: "Return to cart" link + Place Order button. The block
   default packs them too tightly and forces "Return to cart" to wrap onto two
   lines. Spread them out, prevent wrap, and breathe a bit. */
.wc-block-checkout__actions_row {
    display: flex !important;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: var(--space-6, 24px);
    padding-top: var(--space-6, 24px);
}

.wc-block-checkout__actions_row .wc-block-components-button.outlined,
.wc-block-checkout__actions_row a[href*="cart"] {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 12px 18px;
    font-size: 15px;
}

.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
    flex: 1 1 320px;
    width: auto;
}

/* The terms/conditions notice above the actions row (with the privacy-policy
   link) — give it a touch more bottom space so it doesn't crowd the button. */
.wc-block-components-checkout-terms,
.wc-block-checkout__terms {
    margin-bottom: var(--space-6, 24px);
    line-height: 1.55;
}

/* And the "Add a note to your order" checkbox row — tighten its rhythm with
   the divider and the actions row below. */
.wc-block-components-checkout-order-notes {
    margin: var(--space-4, 16px) 0;
}

/* ============================================
   ORDER RECEIVED / THANK-YOU PAGE
   ============================================ */

.maus-thankyou {
    max-width: 720px;
    margin: var(--space-16) auto var(--space-12);
    padding: 0 var(--space-6);
}

/* Hero confirmation block */
.maus-thankyou__hero {
    text-align: center;
    padding: var(--space-12) 0 var(--space-10);
}

.maus-thankyou__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    color: #fff;
}

.maus-thankyou__icon svg {
    width: 32px;
    height: 32px;
}

.maus-thankyou__title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-dark);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-4);
}

.maus-thankyou__subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    max-width: 500px;
    margin: 0 auto;
}

/* Meta strip */
.maus-thankyou__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-8);
    margin-bottom: var(--space-10);
    row-gap: 0;
    column-gap: 0;
}

.maus-thankyou__meta-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
    padding: var(--space-4) 0;
}

.maus-thankyou__meta-item--full {
    grid-column: 1 / -1;
    border-top: 1px solid var(--color-gray-200);
    padding-top: var(--space-4);
}

/* Right item on first row — left border divider */
.maus-thankyou__meta-item:nth-child(2) {
    border-left: 1px solid var(--color-gray-200);
    padding-left: var(--space-6);
}

.maus-thankyou__meta-label {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-500);
}

.maus-thankyou__meta-value {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    word-break: break-all;
}

/* Sections */
.maus-thankyou__section {
    margin-bottom: var(--space-8);
}

.maus-thankyou__section-title {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-500);
    margin-bottom: var(--space-4);
    text-align: center;
}

/* Products list */
.maus-thankyou__products {
    list-style: none;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.maus-thankyou__product {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-gray-200);
}

.maus-thankyou__product:last-child {
    border-bottom: 0;
}

.maus-thankyou__product-image {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-gray-100);
}

.maus-thankyou__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.maus-thankyou__product-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-100);
}

.maus-thankyou__product-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex: 1;
}

.maus-thankyou__product-name {
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
}

.maus-thankyou__product-name a {
    color: inherit;
    text-decoration: none;
}

.maus-thankyou__product-name a:hover {
    color: var(--color-primary);
}

.maus-thankyou__product-qty {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    background: var(--color-gray-100);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

/* Billing card */
.maus-thankyou__billing {
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-6);
}

.maus-thankyou__billing-name {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    margin-bottom: var(--space-3);
}

.maus-thankyou__billing-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.maus-thankyou__billing-row:last-child {
    margin-bottom: 0;
}

.maus-thankyou__billing-row svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-gray-500);
}

/* Customer message */
.maus-thankyou__message {
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: var(--leading-normal);
    background: var(--color-gray-50);
}

/* CTA row */
.maus-thankyou__cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    padding-top: var(--space-6);
    flex-wrap: wrap;
}

/* Buttons — scoped to avoid WooCommerce link-color overrides */
.maus-thankyou__btn-primary,
.maus-thankyou__btn-primary:link,
.maus-thankyou__btn-primary:visited {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    border: 1px solid var(--color-primary) !important;
    border-radius: var(--radius-btn);
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.maus-thankyou__btn-primary:hover,
.maus-thankyou__btn-primary:focus {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    color: #ffffff !important;
}

.maus-thankyou__btn-outline,
.maus-thankyou__btn-outline:link,
.maus-thankyou__btn-outline:visited {
    background-color: transparent !important;
    color: var(--color-dark) !important;
    border: 2px solid var(--color-dark) !important;
    border-radius: var(--radius-btn);
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.maus-thankyou__btn-outline:hover,
.maus-thankyou__btn-outline:focus {
    background-color: var(--color-dark) !important;
    color: #ffffff !important;
}

/* Hide the WP page title ("Η παραγγελία παραλήφθηκε") — our template has its own */
.woocommerce-order-received .page-header {
    display: none;
}

/* Center the page-content column and remove the default bottom padding */
.woocommerce-order-received .page-content {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0;
}

/* Mobile */
@media (max-width: 600px) {
    .maus-thankyou {
        margin-top: var(--space-10);
        padding: 0 var(--space-4);
    }

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

    .maus-thankyou__meta {
        grid-template-columns: 1fr;
        padding: var(--space-5);
    }

    .maus-thankyou__meta-item,
    .maus-thankyou__meta-item--full {
        padding: var(--space-3) 0;
        grid-column: 1;
        border-left: 0 !important;
        padding-left: 0 !important;
    }

    .maus-thankyou__meta-item ~ .maus-thankyou__meta-item {
        border-top: 1px solid var(--color-gray-200);
    }

    .maus-thankyou__cta {
        flex-direction: column;
    }

    .maus-thankyou__btn-primary,
    .maus-thankyou__btn-outline {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* INQUIRY MODE — hide every price/total element rendered by the WC
   Cart/Checkout React blocks. Server-side filters cover the PHP-rendered
   bits; this targets the block-rendered ones. */
.wc-block-components-product-price,
.wc-block-components-product-metadata__description-price,
.wc-block-formatted-money-amount,
.wc-block-components-totals-item__value,
.wc-block-components-totals-item,
.wc-block-components-totals-footer-item,
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary-item__total-price,
.wc-block-components-order-summary-item__individual-prices,
.wc-block-cart__totals-title,
.wc-block-components-totals-coupon,
.wp-block-woocommerce-cart-order-summary-totals-block,
.wp-block-woocommerce-checkout-order-summary-totals-block,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wp-block-woocommerce-checkout-order-summary-shipping-block,
.wp-block-woocommerce-checkout-order-summary-fee-block,
.wp-block-woocommerce-checkout-order-summary-discount-block,
.wp-block-woocommerce-checkout-order-summary-taxes-block,
.wc-block-components-product-price__regular,
.wc-block-components-product-price__sale,
.product-detail__price,
.summary .price,
.woocommerce-Price-amount {
    display: none !important;
}

/* WooCommerce injects an inline "View cart" link (`a.added_to_cart`) right
   after any ajax_add_to_cart button on success. We surface that confirmation
   via the toast below + the header cart badge, so the inline link is
   redundant clutter — hide it. */
.product-highlight__cta a.added_to_cart,
.product-related a.added_to_cart {
    display: none !important;
}

/* Cart toast — fired by assets/js/cart-toast.js after WC AJAX add-to-cart */
.maus-cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    max-width: 360px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
}

.maus-cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.maus-cart-toast__check {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary, #dc0d15);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* Distributors */
.contact-distributors {
    padding: 80px 0;
    background: var(--color-light, #F7F7F7);
}

.contact-distributors__title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
    text-align: center;
    margin: 0 0 16px;
}

.contact-distributors__lead {
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--color-text);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.contact-distributors__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.distributor-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    padding: 22px 20px;
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.distributor-card:hover {
    border-color: var(--color-gray-300);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.distributor-card__country {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark);
    margin: 0 0 6px;
}

.distributor-card__company {
    font-size: 14px;
    color: var(--color-gray-700);
    margin: 0 0 10px;
}

.distributor-card__email {
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
    word-break: break-word;
}

.distributor-card__email:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .contact-team__grid,
    .contact-distributors__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-team__grid,
    .contact-distributors__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-team__grid,
    .contact-distributors__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   ENVIRONMENT CARD — Read more button + Modal preview
   ========================================================================= */

.environment-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: var(--space-4, 16px);
    padding: 0;
    background: none;
    border: 0;
    color: var(--color-primary, #dc0d15);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.environment-card__more svg {
    transition: transform 0.2s ease;
}

.environment-card__more:hover {
    color: var(--color-primary-dark, #a40a10);
}

.environment-card__more:hover svg {
    transform: translateX(3px);
}

.environment-card__more:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 13, 21, 0.18);
    border-radius: 4px;
}

/* === Modal === */

.env-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.env-modal[aria-hidden="false"] {
    pointer-events: auto;
    opacity: 1;
}

.env-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.env-modal__panel {
    position: relative;
    background: #fff;
    border-radius: 18px;
    width: min(92vw, 720px);
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    transform: scale(0.96) translateY(8px);
    opacity: 0;
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
    -webkit-overflow-scrolling: touch;
}

.env-modal[aria-hidden="false"] .env-modal__panel {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.env-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-gray-200, #e6e6e6);
    color: #1a1a1a;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.15s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.env-modal__close:hover {
    background: #fff;
    transform: scale(1.05);
}

.env-modal__close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 13, 21, 0.25);
}

.env-modal__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-light, #f7f7f7);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.env-modal__media::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 64px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.env-modal__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 24px;
    box-sizing: border-box;
}

.env-modal__body {
    padding: 8px 36px 36px;
}

.env-modal__title {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: var(--font-weight-bold, 700);
    color: #000;
    line-height: 1.15;
    margin: 0 0 18px;
}

.env-modal__content {
    font-size: 1rem;
    line-height: 1.65;
    color: #1a1a1a;
}

.env-modal__content p {
    margin: 0 0 1em;
}

.env-modal__content p:last-child {
    margin-bottom: 0;
}

.env-modal__content strong {
    color: #000;
}

.env-modal__cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 28px;
    background: var(--color-primary, #dc0d15);
    color: #fff !important;
    border-radius: 999px;
    font-weight: var(--font-weight-semibold, 600);
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(220, 13, 21, 0.18);
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.env-modal__cta:hover {
    background: var(--color-primary-dark, #a40a10);
    box-shadow: 0 6px 16px rgba(220, 13, 21, 0.28);
    transform: translateX(2px);
}

.env-modal__cta svg {
    transition: transform 0.18s ease;
}

.env-modal__cta:hover svg {
    transform: translateX(3px);
}

body.env-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .env-modal {
        /* Bottom-sheet style on mobile + full-width edge-to-edge */
        align-items: flex-end;
        justify-content: stretch;
    }

    .env-modal__panel {
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
        transform: translateY(40px);
    }

    .env-modal[aria-hidden="false"] .env-modal__panel {
        transform: translateY(0);
    }

    /* Drop the fixed aspect-ratio — the illustration has its own and the
       previous 16:9 / 16:10 box was leaving big white voids above and
       below. Now the image renders at its natural ratio, capped at a
       reasonable height. */
    .env-modal__media {
        aspect-ratio: auto;
        height: auto;
        padding: 16px 16px 0;
    }

    .env-modal__media::after {
        display: none;
    }

    .env-modal__image {
        padding: 0;
        max-height: 200px;
        object-fit: contain;
        border-radius: 10px;
    }

    .env-modal__body {
        padding: 16px 22px 28px;
    }

    .env-modal__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .env-modal__title {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .env-modal__cta {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .env-modal,
    .env-modal__panel {
        transition-duration: 100ms;
    }
}

/* =========================================================================
   MOBILE FIXES — single-product + single-environment + general overflow
   =========================================================================
   The product/environment templates were built with desktop 2-column grids
   and don't have media queries for narrow viewports, so on mobile the right
   column floats off-screen. This block collapses everything to one column
   below 900px and adds standard overflow guards.
   ========================================================================= */

/* Belt-and-suspenders: nothing should ever overflow horizontally. */
@media (max-width: 900px) {
    img,
    video,
    embed,
    object {
        max-width: 100%;
        height: auto;
    }

    /* iframes need max-width but NOT height:auto — absolutely-positioned
       iframes (e.g. inside .product-tab-panel__video) rely on height:100%
       to fill their container; forcing height:auto collapses them. */
    iframe {
        max-width: 100%;
    }

    /* WC default product gallery + summary */
    .woocommerce div.product .images,
    .woocommerce div.product .summary {
        width: 100% !important;
        float: none !important;
        margin: 0 0 var(--space-6, 24px) !important;
    }

    /* Our custom product detail top — gallery on top, info below.
       `minmax(0, 1fr)` (not just `1fr`) is the fix for grid items overflowing
       their container: `1fr` resolves to `minmax(auto, 1fr)`, and `auto`
       refuses to shrink below the intrinsic content min-width — so a long
       Greek paragraph would push the cell wider than the viewport. */
    .product-detail__top {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: var(--space-6, 24px) !important;
        margin-bottom: var(--space-8, 32px);
    }

    /* Belt-and-suspenders: each child also gets min-width: 0 so flex/grid
       descendants won't pop out either. */
    .product-detail__gallery,
    .product-detail__info,
    .product-detail__short-desc,
    .product-detail__desc {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .product-detail__short-desc p,
    .product-detail__desc p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .product-gallery__main img {
        aspect-ratio: 4 / 3;
        object-fit: contain;
    }

    .product-gallery__thumbs {
        gap: 8px;
    }

    .product-gallery__thumb {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
    }

    /* Tabs nav on mobile — horizontal scrollable strip with snap. Cleaner
       than wrapped pills (saves vertical space, feels app-like). The
       overflow-x bypasses the global body/page horizontal-scroll guard
       because it's scoped to the nav itself. */
    .product-tabs__nav {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 4px 16px 12px;
        margin: 0 -16px var(--space-5, 20px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scroll-padding-left: 16px;
        scrollbar-width: none;          /* hide scrollbar in Firefox */
    }

    .product-tabs__nav::-webkit-scrollbar {
        display: none;                  /* hide in Safari/Chrome */
    }

    .product-tabs__btn {
        flex: 0 0 auto;
        font-size: 13px;
        font-weight: var(--font-weight-medium, 500);
        padding: 9px 16px;
        border-radius: 999px;            /* full pill on mobile */
        border-width: 1px;
        border-color: var(--color-gray-300, #d4d4d4);
        background: #fff;
        color: #1a1a1a;
        scroll-snap-align: start;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
        transition: background-color 0.15s ease,
                    border-color 0.15s ease,
                    color 0.15s ease,
                    box-shadow 0.15s ease,
                    transform 0.1s ease;
    }

    .product-tabs__btn:active {
        transform: scale(0.97);
    }

    .product-tabs__btn:focus,
    .product-tabs__btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(220, 13, 21, 0.18);
    }

    .product-tabs__btn--active,
    .product-tabs__btn--active:hover,
    .product-tabs__btn--active:focus {
        background: var(--color-primary, #dc0d15);
        border-color: var(--color-primary, #dc0d15);
        color: #fff;
        box-shadow: 0 2px 6px rgba(220, 13, 21, 0.25);
    }

    /* Comparison table is stacked into cards at ≤640px (see the rules in
       the 640px block above). Just keep the wrapper full-width here. */
    .product-comparison,
    .product-comparison__table-wrap {
        max-width: 100%;
    }

    /* Tabs themselves — make sure the container doesn't overflow */
    .product-tabs,
    .product-tabs__content,
    .product-tab-panel {
        max-width: 100%;
        overflow: visible;
    }

    /* Force iframes inside tab panels to fluid sizing — they have inline
       width attributes from third-party embeds (YouTube, Vimeo) that
       would otherwise overflow. The parent .product-tab-panel__video has
       aspect-ratio + position absolute so the iframe will fill it. */
    .product-tab-panel iframe,
    .product-tab-panel__video iframe,
    .product-tab-panel__video video {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Keep overflow:hidden on mobile so the scale(1.18) trick continues to clip
       YouTube's title-bar and suggestion-bar. Native controls are suppressed via
       controls=0 in the embed URL, so nothing useful is hidden by the clip. */
    .product-tab-panel__video {
        overflow: hidden;
        border-radius: var(--radius-image-desktop);
    }

    /* Product video on mobile: strip the 24px side-padding so the video
       fills edge-to-edge. Keep border-radius to match environment page videos. */
    .product-video .home-video__inner {
        padding: 0;
        border-radius: var(--radius-image-desktop);
    }

    /* The product-detail / product-tabs / product-faq sit inside
       `.product-detail__container` or `.container`; ensure their inner
       padding doesn't push them past the viewport. */
    .product-detail,
    .product-detail__container,
    .product-tabs,
    .product-related,
    .product-faq,
    .product-comparison {
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Add-to-cart button + qty input — keep within viewport */
    .product-detail__cart .single_add_to_cart_button,
    .product-detail__cart button[name="add-to-cart"] {
        max-width: 100%;
        width: 100%;
    }

    /* FAQ — already collapses at 900px in its own rule, just make sure
       intro is left-aligned + readable on small screens. */
    .product-faq__intro {
        text-align: left;
    }

    /* Related products carousel — let it scroll like the cart drawer items */
    .product-related__track {
        --cards-per-view: 1.5;
    }

    /* Single-environment hero text + image grid */
    .env-hero__grid,
    .env-hero__row {
        grid-template-columns: 1fr !important;
        gap: var(--space-6, 24px) !important;
    }

    .env-hero__title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }

    /* Environment hotspot illustration — make sure it scales inside the
       container and the absolute-positioned `+` markers stay attached. */
    .env-hero__image,
    .env-hero__image-inner {
        max-width: 100%;
    }

    .env-hero__image img {
        width: 100%;
        height: auto;
    }

    /* Environment YouTube/Vimeo embeds — fluid 16:9 wrapper */
    .env-hero__video {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        height: 0;
    }

    .env-hero__video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

    /* Environment FAQ + gallery + SEO sections */
    .env-faq__grid,
    .env-page__seo-grid,
    .env-gallery {
        grid-template-columns: 1fr !important;
        gap: var(--space-4, 16px) !important;
    }

    /* Generic overflow guard: tables anywhere on a product/env page */
    .single-product table,
    .single-environment table,
    .page-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    /* Make sure long words / URLs in product copy never push the layout */
    .product-detail__desc,
    .product-detail__short-desc,
    .product-faq__answer,
    .env-hero__description,
    .page-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Even tighter at phone widths */
@media (max-width: 480px) {
    .product-detail__title {
        font-size: 1.5rem;
    }

    .product-detail__cart {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .product-detail__cart .quantity {
        width: 100%;
    }

    .product-tabs__btn {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* Small phones (≤360px) — Galaxy S, iPhone SE 1st gen, foldables in
   half-open mode. Tighten outer container padding so content gets every
   pixel of horizontal real estate. */
@media (max-width: 360px) {
    .container,
    .product-detail__container,
    .env-page .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .product-detail__title {
        font-size: 1.375rem;
    }

    .product-detail__short-desc,
    .product-detail__desc,
    .page-content {
        font-size: 0.95rem;
    }

    .product-gallery__thumb {
        width: 56px;
        height: 56px;
        flex: 0 0 56px;
    }

    .product-tabs__btn {
        font-size: 11px;
        padding: 6px 11px;
    }
}

/* Extreme — 300px viewport (Apple Watch browser, embed previews, dev
   testing). Just keep things from breaking. */
@media (max-width: 320px) {
    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .product-detail__title {
        font-size: 1.25rem;
        line-height: 1.25;
    }
}

/* ============================================
   Industrial product pages (/industrial/<slug>/)
   Reuses .about-intro / .about-pillars classes for hero & feature grid;
   the styles below add the variant cards, spec table and CTA strip.
   ============================================ */

.industrial-page {
    color: #121212;
}

/* Hero with text + product image */
.industrial-hero {
    padding: calc(var(--total-header-height) + 60px) 20px 60px;
}

.industrial-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.industrial-hero__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 20px;
    color: #121212;
}

.industrial-hero__subtitle {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: -12px 0 16px;
}

.industrial-hero__tagline {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 24px;
}

.industrial-hero__certs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.industrial-hero__certs li {
    background: #f5f5f5;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #121212;
}

.industrial-hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.industrial-hero__image img {
    max-width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .industrial-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .industrial-hero__image {
        order: -1;
    }
    .industrial-hero__image img {
        max-height: 280px;
    }
}

.industrial-section {
    padding: 0 20px 100px;
}

/* Breathing room when an industrial-section follows the dark Applications grid
   (e.g. FAQ section on industrial-* pages). */
.industrial-applications + .industrial-section {
    padding-top: 80px;
}

.industrial-section--narrow .industrial-section__inner {
    max-width: 820px;
}

.industrial-section__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 18px;
}

.industrial-section__text--center {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.industrial-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.industrial-section__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 30px;
    text-align: center;
}

.industrial-variants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.industrial-variant {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

/* Clickable variant card — used in the "Διαθέσιμα προϊόντα" sections */
a.industrial-variant--link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

a.industrial-variant--link:hover,
a.industrial-variant--link:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    background: #f0f0f0;
}

a.industrial-variant--link .industrial-variant__name {
    transition: color 0.2s ease;
}

a.industrial-variant--link:hover .industrial-variant__name,
a.industrial-variant--link:focus-visible .industrial-variant__name {
    color: var(--color-primary, #e30613);
}

.industrial-variants--with-image .industrial-variant__image {
    background: #fff;
    border-radius: 8px;
    height: 180px;
    margin: -8px -8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.industrial-variants--with-image .industrial-variant__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.industrial-variant__name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 16px;
    color: #121212;
}

.industrial-variant__desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #444;
    margin: 0 0 16px;
}

.industrial-note {
    background: #fff8e6;
    border-left: 4px solid #f5a623;
    border-radius: 6px;
    padding: 24px 28px;
}

.industrial-note__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #121212;
}

.industrial-note p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #444;
}

.industrial-variant__specs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.industrial-variant__specs li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.industrial-variant__specs li:last-child {
    border-bottom: 0;
}

.industrial-variant__specs strong {
    color: #121212;
    font-weight: 500;
}

.industrial-applications {
    background: #121212;
    color: #fff;
    padding: 80px 20px;
}

.industrial-applications__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.industrial-applications__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    margin: 0 0 30px;
    text-align: center;
    color: #fff;
}

.industrial-applications__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.industrial-applications__item {
    background: #1f1f1f;
    border-radius: 10px;
    padding: 18px 20px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.industrial-certs {
    text-align: center;
    padding: 0 20px 60px;
}

.industrial-certs__list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.industrial-certs__list li {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #121212;
}

.industrial-cta {
    background: #f5f5f5;
    padding: 80px 20px;
    text-align: center;
}

.industrial-cta__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    margin: 0 0 12px;
}

.industrial-cta__text {
    font-size: 1rem;
    color: #333;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.5;
}

/* Split section — image + text */
.industrial-split {
    padding: 0 20px 100px;
}

.industrial-split__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.industrial-split__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.industrial-split__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #121212;
}

.industrial-split__content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 16px;
}

@media (max-width: 900px) {
    .industrial-split__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* FAQ */
.industrial-faq {
    margin-top: 20px;
}

.industrial-faq__item {
    border-bottom: 1px solid #e0e0e0;
    padding: 18px 0;
}

.industrial-faq__item summary {
    font-size: 1.05rem;
    font-weight: 500;
    color: #121212;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.industrial-faq__item summary::-webkit-details-marker {
    display: none;
}

.industrial-faq__item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: #888;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.industrial-faq__item[open] summary::after {
    transform: rotate(45deg);
}

.industrial-faq__item p {
    margin: 14px 0 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #444;
}

@media (max-width: 767px) {
    .industrial-section {
        padding: 0 16px 60px;
    }
    .industrial-applications + .industrial-section {
        padding-top: 48px;
    }
    .industrial-applications {
        padding: 60px 16px;
    }
    .industrial-split {
        padding: 0 16px 60px;
    }
    .industrial-hero {
        padding: calc(var(--total-header-height) + 40px) 16px 40px;
    }
}

/* ==========================================================================
   /industrial/ landing page  — banner + product grid + trailing CTA.
   Markup lives in theme/maus-theme/industrial-index.php
   ========================================================================== */

.industrial-landing-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #111;
    overflow: hidden;
    isolation: isolate;
    /* Match the homepage hero's asymmetric padding — bigger bottom buffer
       pushes the visual centerline slightly up so the headline reads first. */
    padding: calc(var(--total-header-height) + 7vh) 20px clamp(80px, 10vw, 130px);
}

.industrial-landing-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.industrial-landing-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

.industrial-landing-hero__inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.industrial-landing-hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 18px;
}

.industrial-landing-hero__title {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 22px;
}

.industrial-landing-hero__lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 680px;
    margin: 0 auto 32px;
}

.industrial-landing-hero__cta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.industrial-landing-hero__cta .btn {
    min-width: 200px;
}

/* Outline-light button variant (white border on dark hero) */
.btn--outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.65);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--outline-light:hover,
.btn--outline-light:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* Landing-page overrides for the shared .industrial-section block */
.industrial-landing .industrial-section {
    padding: 96px 20px;
}

.industrial-landing .industrial-section__title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #121212;
    margin: 0 0 48px;
    position: relative;
    padding-bottom: 18px;
}

.industrial-landing .industrial-section__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background-color: var(--color-primary, #e30613);
    border-radius: 2px;
    margin: 18px auto 0;
}

.industrial-landing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.industrial-landing-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.industrial-landing-card:hover,
.industrial-landing-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: #d6d6d6;
}

.industrial-landing-card__media {
    height: 240px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.industrial-landing-card__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.industrial-landing-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 22px 22px 24px;
}

.industrial-landing-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #121212;
}

.industrial-landing-card__desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #5a6a78;
    margin: 0 0 18px;
}

.industrial-landing-card__specs {
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.industrial-landing-card__spec {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.industrial-landing-card__spec:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.industrial-landing-card__spec dt {
    font-weight: 600;
    color: #121212;
    margin: 0;
}

.industrial-landing-card__spec dd {
    margin: 0;
    color: #5a6a78;
    text-align: right;
}

.industrial-landing-card__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary, #e30613);
    margin-top: auto;
}

.industrial-landing-cta {
    padding: 96px 20px;
    background: #f6f7f9;
    text-align: center;
    border-top: 1px solid #ececec;
}

.industrial-landing-cta__inner {
    max-width: 720px;
    margin: 0 auto;
}

.industrial-landing-cta__title {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #121212;
    margin: 0 0 16px;
}

.industrial-landing-cta__lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #5a6a78;
    margin: 0 0 28px;
}

/* Tablet — slightly shorter hero (matches the homepage tablet breakpoint) */
@media (max-width: 1100px) {
    .industrial-landing-hero {
        min-height: 80vh;
    }
    .industrial-landing-hero__title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

@media (max-width: 767px) {
    .industrial-landing-hero {
        min-height: 85vh;
        padding-top: calc(var(--total-header-height) + var(--space-12));
        padding-bottom: var(--space-12);
        padding-left: 16px;
        padding-right: 16px;
    }
    .industrial-landing-hero__title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    .industrial-landing-hero__lead {
        font-size: 1rem;
    }
    .industrial-landing-hero__cta {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .industrial-landing-hero__cta .btn {
        width: 100%;
        min-width: 0;
    }
    .industrial-landing .industrial-section {
        padding: 56px 16px;
    }
    .industrial-landing .industrial-section__title {
        margin-bottom: 32px;
    }
    .industrial-landing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .industrial-landing-card__media {
        height: 200px;
        padding: 18px;
    }
    .industrial-landing-card__body {
        padding: 18px 18px 20px;
    }
    .industrial-landing-cta {
        padding: 64px 16px;
    }
}

/* Per-variant industrial product page (industrial-variant.php) */
.industrial-variant-page__breadcrumb {
    font-size: 0.875rem;
    color: #888;
    margin: 0 0 16px;
}

.industrial-variant-page__breadcrumb a {
    color: #888;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.industrial-variant-page__breadcrumb a:hover,
.industrial-variant-page__breadcrumb a:focus-visible {
    color: var(--color-primary, #e30613);
    border-bottom-color: currentColor;
}

.industrial-variant-page__breadcrumb span {
    margin: 0 6px;
    color: #c4c4c4;
}

.industrial-variant--specs-only {
    max-width: 640px;
    margin: 0 auto;
    background: #f5f5f5;
}

.industrial-variant-page__cta-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 0;
}

/* Related-products grid on per-variant pages (industrial-variant.php) */
.industrial-variant-page__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.industrial-variant-page__related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.industrial-variant-page__related-card:hover,
.industrial-variant-page__related-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #d6d6d6;
}

.industrial-variant-page__related-card--parent {
    border-color: var(--color-primary, #e30613);
    background: #fdeeee;
}

.industrial-variant-page__related-card--parent:hover,
.industrial-variant-page__related-card--parent:focus-visible {
    border-color: var(--color-primary, #e30613);
    background: #fce0e0;
}

.industrial-variant-page__related-media {
    aspect-ratio: 4 / 3;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.industrial-variant-page__related-card--parent .industrial-variant-page__related-media {
    background: #fff;
    border-bottom-color: #f4d4d4;
}

.industrial-variant-page__related-media img {
    max-width: 70%;
    max-height: 88%;
    object-fit: contain;
}

.industrial-variant-page__related-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 18px 18px 20px;
}

.industrial-variant-page__related-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary, #e30613);
    margin-bottom: 6px;
}

.industrial-variant-page__related-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #121212;
}

.industrial-variant-page__related-tagline {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #5a6a78;
    margin: 0 0 14px;
    flex-grow: 1;
}

.industrial-variant-page__related-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary, #e30613);
    margin-top: auto;
}

@media (max-width: 767px) {
    .industrial-variant-page__related-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Override .btn--secondary inside the light-bg trailing CTA — the default
   .btn--secondary is built for dark hero backgrounds (white border + light
   text), which becomes invisible on the #f6f7f9 / #fdeeee panels. */
.industrial-landing-cta .btn--secondary,
.industrial-variant-page__cta-actions .btn--secondary {
    background-color: #fff;
    color: #121212;
    border: 1.5px solid #cfd6df;
    backdrop-filter: none;
}

.industrial-landing-cta .btn--secondary:hover,
.industrial-landing-cta .btn--secondary:focus-visible,
.industrial-variant-page__cta-actions .btn--secondary:hover,
.industrial-variant-page__cta-actions .btn--secondary:focus-visible {
    background-color: #fff;
    border-color: var(--color-primary, #e30613);
    color: var(--color-primary, #e30613);
}

/* The Add-to-Cart button is wrapped in a <form> which can disturb the inline
   flex layout of the CTA actions row — collapse the form so the button sits
   inline with the secondary link. */
.industrial-variant-page__cta-actions .industrial-add-form {
    margin: 0;
}

/* YouTube play/pause + mute buttons — injected by main.js */
.yt-play-btn,
.yt-mute-btn {
    position: absolute;
    bottom: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.yt-play-btn {
    left: 20px;
}

.yt-mute-btn {
    right: 20px;
}

.yt-play-btn:hover,
.yt-mute-btn:hover {
    background: rgba(0, 0, 0, 0.88);
    transform: scale(1.08);
}
