/* ================================================================
   ACTIESCOOTERS — "STRAAT" Theme
   Urban & energetic design for a Dutch scooter shop
   ================================================================ */

/* ── Design Tokens ── */
:root {
    --bg-primary: #F5F5F0;
    --bg-secondary: #F5F5F7;
    --bg-card: #FFFFFF;
    --bg-elevated: #EDEDF0;
    --bg-light: #F5F0EB;
    --bg-light-alt: #EDE8E2;

    --accent-primary: #FF4D00;
    --accent-primary-soft: rgba(255, 77, 0, 0.08);
    --accent-secondary: #0891B2;
    --accent-secondary-soft: rgba(8, 145, 178, 0.08);
    --accent-success: #16A34A;

    --price-direct: #15803D;
    --price-in3: #C2410C;
    --price-lease: #6D28D9;

    --text-primary: #1A1A2E;
    --text-secondary: #5A5A6E;
    --text-muted: #9898A8;

    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(255, 77, 0, 0.3);
    --border-light: rgba(0, 0, 0, 0.06);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --glow-orange: 0 4px 20px rgba(255, 77, 0, 0.15);
    --glow-cyan: 0 4px 20px rgba(8, 145, 178, 0.1);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 999px;

    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    --ease-out: cubic-bezier(0.2, 0, 0, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --container-max: 1200px;
    --section-gap: 100px;
    --header-height: 260px;
}

/* ── Global price colors ── */
.woocommerce-Price-amount {
    color: var(--price-direct);
}

/* IN3/Lease containers override green with their own color */
.in3-installment .woocommerce-Price-amount,
.in3-primary-price .woocommerce-Price-amount,
.minicart-prices__in3 .woocommerce-Price-amount,
.minicart-subtotal__in3 .woocommerce-Price-amount,
.cart-sidebar-row--in3 .woocommerce-Price-amount,
[class*="--in3"] .woocommerce-Price-amount {
    color: var(--price-in3);
}

.lease-installment .woocommerce-Price-amount,
.minicart-prices__lease .woocommerce-Price-amount,
.minicart-subtotal__lease .woocommerce-Price-amount,
.cart-sidebar-row--lease .woocommerce-Price-amount,
[class*="--lease"] .woocommerce-Price-amount {
    color: var(--price-lease);
}

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

html {
    scroll-behavior: smooth;
}

body.acties-light-theme {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

.acties-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    text-decoration: none;
    color: var(--accent-primary);
    transition: color 0.2s ease;
}

/* ── Animation Base States ── */
[data-anim] {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
}

[data-anim].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s var(--ease-out);
    padding: 0 !important;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom-color: var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

/*
 * Header layout: 2-column grid
 * Left column:  logo (row 1) + nav (row 2)
 * Right column: search (row 1) + cart (row 2)
 *
 * HTML structure:
 *   .site-header
 *     > .col-full  (logo + search)
 *     > .storefront-primary-navigation > .col-full  (nav + cart)
 */

/* Top bar: logo left, cart+search stacked right */
.site-header > .col-full {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 10px 24px 6px;
    max-width: var(--container-max);
    margin: 0 auto;
    gap: 4px 24px;
}

/* Logo spans full left column */
.site-header .site-branding {
    grid-column: 1;
    grid-row: 1 / 3;
    min-width: 0;
}

/* Cart top-right — all items on one line, right-aligned */
.site-header > .col-full > .site-header-cart,
.site-header .site-header-cart {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 100% !important;
    text-align: right;
    white-space: nowrap;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header .site-header-cart > li {
    display: inline;
}

.site-header .site-header-cart .cart-contents {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
    width: 100%;
}

.site-header .site-header-cart .cart-contents br {
    display: none;
}

/* Search below cart — fills entire right column */
.site-header .site-search {
    grid-column: 2;
    grid-row: 2;
    justify-self: stretch;
    width: 100% !important;
}

.site-header .site-search .widget_product_search,
.site-header .site-search .woocommerce-product-search {
    width: 100%;
}

/* Nav bar: centered */
.site-header .storefront-primary-navigation {
    border-top: 1px solid var(--border-subtle);
}

.site-header .storefront-primary-navigation > .col-full {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.custom-logo-link {
    display: block;
    padding: 14px 24px 14px 0;
}

.custom-logo {
    height: auto !important;
    width: 100% !important;
    max-width: 340px !important;
    max-height: 128px !important;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.custom-logo:hover {
    opacity: 0.8;
}

.site-title,
.site-description {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
}

/* Search - width set by grid column */

/* Cart */
.site-header > .col-full > .site-header-cart {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.site-header .site-search .search-field {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    width: 100%;
    transition: border-color 0.2s ease;
}

.site-header .site-search .search-field::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.site-header .site-search .search-field:focus {
    border-color: var(--accent-secondary);
    outline: none;
}

.site-header .site-search button {
    display: none;
}

/* Cart - right-aligned under search */
.site-header .site-header-cart {
    margin-left: auto;
    flex-shrink: 0;
}

/* Navigation */
.main-navigation {
    font-family: var(--font-body);
}

.main-navigation ul.menu,
.main-navigation ul.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition:
        color 0.2s ease,
        background 0.2s ease;
    display: block;
    white-space: nowrap;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.nav-menu > li > a:hover,
.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.nav-menu > li.current-menu-item > a {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

/* Sub-menus */
.main-navigation ul.menu ul,
.main-navigation ul.nav-menu ul {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
}

.main-navigation ul.menu ul li a,
.main-navigation ul.nav-menu ul li a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
}

.main-navigation ul.menu ul li a:hover,
.main-navigation ul.nav-menu ul li a:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

/* Cart icon */
.site-header-cart {
    margin-left: 16px;
}

.site-header-cart .cart-contents {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.site-header-cart .cart-contents > .woocommerce-Price-amount {
    color: var(--price-direct);
}

.site-header-cart .cart-contents::after {
    float: none !important;
    line-height: 1;
}

.site-header-cart .cart-contents:hover {
    color: var(--accent-primary);
}

.site-header-cart .cart-contents .count {
    background: var(--accent-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 2px 6px;
    line-height: 1;
}

/* Cart dropdown — light theme styling, Storefront handles positioning */
.site-header-cart .widget_shopping_cart {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    width: 480px;
}

/* Right-align dropdown only when visible (on hover) */
.site-header-cart:hover .widget_shopping_cart,
.site-header-cart.focus .widget_shopping_cart {
    right: 0;
    left: auto !important;
}

/* Mini-cart light theme colors */
.site-header-cart .widget_shopping_cart,
.site-header-cart .widget_shopping_cart * {
    color: var(--text-primary) !important;
}

/* Normal prices in mini-cart — green (including child elements) */
.site-header-cart .widget_shopping_cart .woocommerce-Price-amount,
.site-header-cart .widget_shopping_cart .woocommerce-Price-amount * {
    color: var(--price-direct) !important;
}

/* IN3/lease colors in mini-cart and header cart (classes + legacy inline style fallback) */
.minicart-subtotal__in3,
.site-header-cart .widget_shopping_cart .minicart-subtotal__in3,
.site-header-cart .widget_shopping_cart .minicart-subtotal__in3 *,
.site-header-cart .widget_shopping_cart span[style*="C2410C"],
.site-header-cart .widget_shopping_cart span[style*="C2410C"] *,
.site-header-cart span[style*="C2410C"],
.site-header-cart span[style*="C2410C"] * {
    color: var(--price-in3) !important;
    font-weight: 600;
}

.minicart-subtotal__lease,
.site-header-cart .widget_shopping_cart .minicart-subtotal__lease,
.site-header-cart .widget_shopping_cart .minicart-subtotal__lease *,
.site-header-cart .widget_shopping_cart span[style*="6D28D9"],
.site-header-cart .widget_shopping_cart span[style*="6D28D9"] *,
.site-header-cart span[style*="6D28D9"],
.site-header-cart span[style*="6D28D9"] * {
    color: var(--price-lease) !important;
    font-weight: 600;
}

.site-header-cart .widget_shopping_cart a:hover {
    color: var(--accent-primary) !important;
}

.site-header-cart .widget_shopping_cart .quantity {
    color: var(--text-muted) !important;
}

.site-header-cart .widget_shopping_cart p.total,
.site-header-cart .widget_shopping_cart p.buttons,
.site-header-cart .widget_shopping_cart .widget_shopping_cart_content {
    background: transparent !important;
    border-color: var(--border-subtle);
}

/* Subtotal: prices inline, hide <br> separators */
.site-header-cart .widget_shopping_cart p.total br {
    display: none;
}

.site-header-cart .widget_shopping_cart p.total {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 8px;
}

/* View cart / Checkout buttons */
.site-header-cart .widget_shopping_cart .buttons a.wc-forward {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-full);
}

.site-header-cart .widget_shopping_cart .buttons a.wc-forward:hover {
    background: var(--bg-elevated) !important;
    color: var(--accent-primary) !important;
}

.site-header-cart .widget_shopping_cart .buttons a.checkout {
    background: var(--accent-primary) !important;
    border-color: var(--accent-primary) !important;
    color: white !important;
    border-radius: var(--radius-full);
}

.site-header-cart .widget_shopping_cart .buttons a.checkout:hover {
    background: #e04400 !important;
    border-color: #e04400 !important;
    color: white !important;
}

/* Mini-cart product list — allow scrolling with larger images */
.site-header-cart .widget_shopping_cart .product_list_widget {
    max-height: 90vh !important;
}

/* Mini-cart item layout: image left, details right */
.site-header-cart .widget_shopping_cart .product_list_widget li.mini_cart_item {
    display: grid !important;
    grid-template-columns: 120px 1fr;
    gap: 0 8px;
    align-items: start;
    padding: 8px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--border-subtle);
    white-space: normal;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Remove button — hidden in mini-cart */
.site-header-cart .widget_shopping_cart .product_list_widget li.mini_cart_item > a.remove {
    display: none !important;
}

/* Product link: dissolve into parent grid so image + name participate directly */
.site-header-cart .widget_shopping_cart .product_list_widget li a:not(.remove) {
    display: contents !important;
    text-decoration: none;
    color: var(--text-primary) !important;
}

/* Product image — column 1, span all rows */
.site-header-cart .widget_shopping_cart .product_list_widget li a:not(.remove) img {
    grid-column: 1;
    grid-row: 1 / 20;
    width: 120px !important;
    max-width: 120px !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: var(--radius-sm);
    object-fit: cover;
    align-self: start;
}

/* Variation details — each attribute on own line, label + value inline */
.site-header-cart .widget_shopping_cart .product_list_widget li dl.variation {
    grid-column: 2;
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 2px 4px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.75rem;
    line-height: 1.4;
}

.site-header-cart .widget_shopping_cart .product_list_widget li dl.variation dt {
    grid-column: 1;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 600;
}

.site-header-cart .widget_shopping_cart .product_list_widget li dl.variation dd {
    grid-column: 2;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 400;
}

.site-header-cart .widget_shopping_cart .product_list_widget li dl.variation dd p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Price / quantity row */
.site-header-cart .widget_shopping_cart .product_list_widget li .quantity {
    grid-column: 2;
    margin: 0;
    padding: 0;
    font-size: 0.85rem !important;
}

/* Multi-price display in mini-cart */
.minicart-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.minicart-prices__normal {
    font-weight: 700 !important;
    color: var(--price-direct) !important;
    font-size: 1rem !important;
}

.minicart-prices__in3 {
    color: var(--price-in3) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

.minicart-prices__in3 strong {
    color: var(--price-in3) !important;
}

.minicart-prices__lease {
    color: var(--price-lease) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

/* PAY.nl payment method blocks — remove empty space */
.PPMFWC_container .description:empty {
    display: none;
}

.PPMFWC_container .descriptionError:empty {
    display: none;
}

.PPMFWC_container > img[src=""],
.PPMFWC_container > img:not([src]) {
    display: none;
}

/* Tighter payment method blocks in checkout */
.wc-block-components-radio-control-accordion-option {
    padding: 0 !important;
}

.wc-block-components-radio-control__option {
    padding: 8px 16px 8px 48px !important;
}

.wc-block-components-radio-control-accordion-content {
    padding: 0 8px 8px 48px !important;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.acties-hero {
    background: linear-gradient(160deg, #FFFFFF 0%, #F5F5F7 50%, #EDEDF0 100%);
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 20px) 0 60px;
}

.acties-hero__noise {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.02) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.acties-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.acties-hero__tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    background: var(--accent-primary-soft);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.acties-hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 3.4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0 0 28px;
}

.acties-hero__title span {
    color: var(--accent-primary);
    text-shadow: none;
}

.acties-hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 40px;
    max-width: 440px;
}

.acties-hero__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.acties-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acties-home-block-link {
    color: inherit;
    text-decoration: none;
}

.acties-home-block-link:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

.acties-hero__product-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-lg);
}

.acties-hero__scooter {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transform: translateY(-10px);
    transition: transform 0.3s var(--ease-out);
}

.acties-hero__product-link:hover .acties-hero__scooter,
.acties-hero__product-link:focus-visible .acties-hero__scooter {
    transform: translateY(-18px) scale(1.02);
}

.acties-hero__glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

.acties-hero__glow--cyan {
    background: radial-gradient(circle, rgba(8, 145, 178, 0.05) 0%, transparent 70%);
    left: 65%;
    top: 60%;
    width: 250px;
    height: 250px;
    animation-delay: -2s;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.acties-hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 2;
    transition: color 0.2s ease;
}

.acties-hero__scroll:hover,
.acties-hero__scroll:focus-visible {
    color: var(--text-secondary);
}

.acties-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Buttons ── */
.acties-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition:
        background 0.3s ease,
        transform 0.2s var(--ease-spring),
        box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.acties-btn:active {
    transform: scale(0.97);
}

.acties-btn--primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 24px rgba(255, 77, 0, 0.3);
}

.acties-btn--primary:hover {
    background: #ff6020;
    box-shadow: var(--glow-orange);
    transform: translateY(-2px);
    color: white;
}

.acties-btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.acties-btn--ghost:hover {
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.03);
}

/* ================================================================
   USP STRIP
   ================================================================ */
.acties-usp {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 32px 0;
}

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

.acties-usp__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    margin: -10px -12px;
    border-radius: var(--radius-md);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s var(--ease-out);
}

.acties-usp__item:hover,
.acties-usp__item:focus-visible {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.acties-usp__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-primary-soft);
    color: var(--accent-primary);
}

.acties-usp__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.acties-usp__text strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.acties-usp__text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.acties-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 20px;
    margin-bottom: 48px;
}

.acties-section-header--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.acties-section-header__link {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.acties-section-header__link .acties-section-tag {
    width: auto;
}

.acties-section-header__link:hover .acties-section-title,
.acties-section-header__link:focus-visible .acties-section-title {
    color: var(--accent-primary);
}

.acties-section-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    width: 100%;
}

.acties-section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
}

.acties-section-link {
    margin-left: auto;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.acties-section-link:hover {
    color: var(--accent-primary);
}

.acties-section-link svg {
    transition: transform 0.2s ease;
}

.acties-section-link:hover svg {
    transform: translateX(4px);
}

/* ================================================================
   CATEGORY CARDS
   ================================================================ */
.acties-categories {
    padding: var(--section-gap) 0;
}

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

.acties-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.4s ease,
        transform 0.4s var(--ease-out),
        box-shadow 0.4s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.acties-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary-soft) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.acties-cat-card:hover::before {
    opacity: 1;
}

.acties-cat-card__icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-secondary-soft);
    color: var(--accent-secondary);
}

.acties-cat-card__title {
    position: relative;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    margin: 0;
}

.acties-cat-card__desc {
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.acties-cat-card__count {
    position: relative;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
}

.acties-cat-card__arrow {
    position: absolute;
    bottom: 32px;
    right: 32px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-8px);
    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease-out);
}

.acties-cat-card:hover .acties-cat-card__arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent-secondary);
}

/* ================================================================
   PRODUCT CARDS (Homepage custom & WooCommerce loop)
   ================================================================ */
.acties-products-section {
    padding: var(--section-gap) 0;
}

.acties-products-section--alt {
    background: var(--bg-secondary);
}

.acties-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

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

.acties-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    will-change: transform;
}

.acties-product-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.acties-product-card__image {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.acties-product-card__image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out);
    mix-blend-mode: normal;
}

.acties-product-card:hover .acties-product-card__image img {
    transform: scale(1.08);
}

.acties-product-card__info {
    padding: 20px 22px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.acties-product-card__name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.acties-product-card__price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-primary);
}

.acties-product-card__price del {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.acties-product-card__price ins {
    text-decoration: none;
    color: var(--accent-success);
}

.acties-product-card__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 22px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-secondary);
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease-out);
}

.acties-product-card:hover .acties-product-card__cta {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   BRANDS
   ================================================================ */
.acties-brands {
    padding: var(--section-gap) 0;
    background: var(--bg-secondary);
}

.acties-brands__grid {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.acties-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    height: 100px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition:
        transform 0.3s var(--ease-out),
        box-shadow 0.3s ease;
}

.acties-brand:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.acties-brand img {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.acties-brand:hover img {
    opacity: 1;
}

/* ================================================================
   LEASE CTA
   ================================================================ */
.acties-lease-cta {
    position: relative;
    padding: var(--section-gap) 0;
    overflow: hidden;
}

.acties-lease-cta__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--accent-primary) 0%, #cc3d00 50%, #992e00 100%);
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}

.acties-lease-cta__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.acties-lease-cta__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    color: white;
    margin: 12px 0 24px;
    letter-spacing: -0.02em;
}

.acties-lease-cta__title span {
    display: block;
    font-size: 1.4em;
}

.acties-lease-cta__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin: 0 0 32px;
    line-height: 1.7;
}

.acties-lease-cta .acties-section-tag {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.acties-lease-cta .acties-btn--primary {
    background: white;
    color: var(--accent-primary);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.acties-lease-cta .acties-btn--primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--accent-primary);
}

.acties-lease-cta__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.acties-lease-cta__visual-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.acties-lease-cta__price-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    animation: float-tag 3s ease-in-out infinite;
}

.acties-lease-cta__visual-link:hover .acties-lease-cta__price-tag,
.acties-lease-cta__visual-link:focus-visible .acties-lease-cta__price-tag {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.acties-lease-cta__from {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.acties-lease-cta__amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3.5rem;
    color: white;
    line-height: 1;
}

.acties-lease-cta__period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes float-tag {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

/* ================================================================
   TRUST SECTION
   ================================================================ */
.acties-trust {
    padding: 80px 0;
}

.acties-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.acties-trust__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s var(--ease-out);
}

.acties-trust__item:hover,
.acties-trust__item:focus-visible {
    color: var(--text-primary);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.acties-trust__item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.acties-trust__item strong {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.acties-trust__item span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.acties-trust__badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    color: white;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--bg-primary) !important;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 60px 0 30px;
}

.site-footer .col-full {
    max-width: var(--container-max);
    margin: 0 auto;
}

.site-footer .widget-area {
    margin-bottom: 40px;
}

.site-footer .widget {
    color: var(--text-secondary);
}

.site-footer .widget-title,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.site-footer a {
    color: var(--text-secondary);
}

.site-footer a:hover {
    color: var(--accent-primary);
}

.acties-footer-credit {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.site-info {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

/* ================================================================
   WOOCOMMERCE SHOP / CATEGORY PAGES
   ================================================================ */
body.acties-light-theme .content-area,
body.acties-light-theme .site-main,
body.acties-light-theme #primary {
    background: var(--bg-primary);
}

/* Homepage: no extra padding — hero handles its own */
body.acties-light-theme.home .site-content > .col-full {
    padding-top: 0 !important;
    max-width: none;
}

/* Hide Storefront breadcrumb wrapper — it sits behind the fixed header */
body.acties-light-theme .storefront-breadcrumb {
    display: none;
}

/* Category/shop/archive pages: exact header clearance */
body.acties-light-theme.post-type-archive-product .site-content > .col-full,
body.acties-light-theme.tax-product_cat .site-content > .col-full {
    padding-top: calc(var(--header-height) + 12px) !important;
    max-width: var(--container-max);
}

/* Other pages: offset for fixed header */
body.acties-light-theme .site-content > .col-full {
    max-width: var(--container-max);
    padding-top: calc(var(--header-height) + 30px);
}

body.acties-light-theme .woocommerce-breadcrumb {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

body.acties-light-theme .woocommerce-breadcrumb a {
    color: var(--text-secondary);
}

body.acties-light-theme .woocommerce-breadcrumb a:hover {
    color: var(--accent-primary);
}

body.acties-light-theme .page-title,
body.acties-light-theme .woocommerce-products-header__title {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--text-primary);
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

body.acties-light-theme .woocommerce-result-count,
body.acties-light-theme .woocommerce-ordering select {
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

/* Archive sidebar layout: filters left, products right */
body.acties-light-theme.post-type-archive-product .site-main,
body.acties-light-theme.tax-product_cat .site-main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px 30px;
    align-items: start;
}

body.acties-light-theme.tax-product_cat.acties-archive-onderdelen-branch .site-main {
    grid-template-columns: minmax(0, 1fr);
}

/* Hide large page title on archive — breadcrumb is sufficient */
body.acties-light-theme .site-main > .woocommerce-products-header {
    display: none;
}

/* Full-width elements in the grid */
body.acties-light-theme .site-main > .page-header,
body.acties-light-theme .site-main > .woocommerce-breadcrumb,
body.acties-light-theme .site-main > .acties-breadcrumb,
body.acties-light-theme .site-main > .acties-filter-toggle,
body.acties-light-theme .site-main > .acties-filter-backdrop,
body.acties-light-theme .site-main > .acties-active-filters,
body.acties-light-theme .site-main > .acties-subcat-pills,
body.acties-light-theme .site-main > .acties-parts-nav,
body.acties-light-theme .site-main > .acties-trust-bar {
    grid-column: 1 / -1;
}

/* In-content breadcrumb */
.acties-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-bottom: 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border-subtle);
}

.acties-breadcrumb a {
    color: var(--text-secondary);
}

.acties-breadcrumb a:hover {
    color: var(--accent-primary);
}

.acties-breadcrumb-sep {
    margin: 0 6px;
    color: var(--text-muted);
}

/* ── Subcategory Navigation Pills ── */
.acties-subcat-pills {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.acties-subcat-pill {
    background: var(--bg-card) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.acties-subcat-pill:hover {
    border-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    background: rgba(255, 77, 0, 0.04) !important;
}

.acties-subcat-pill.is-active {
    border-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    background: rgba(255, 77, 0, 0.04) !important;
}

/* ── Parts Category Navigation ── */
.acties-parts-nav {
    grid-column: 1 / -1;
    margin-bottom: 8px;
}

.acties-parts-nav__trail {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.acties-parts-nav__trail-item {
    display: flex;
    align-items: center;
}

.acties-parts-nav__trail-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.acties-parts-nav__trail-item a:hover {
    color: var(--accent-primary);
}

.acties-parts-nav__trail-item.is-current span {
    color: var(--text-primary);
    font-weight: 600;
}

.acties-parts-nav__sep {
    margin: 0 6px;
    color: var(--text-muted);
}

.acties-parts-nav__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.acties-parts-nav__item {
    margin: 0;
}

.acties-parts-nav__link {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

a.acties-parts-nav__link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(255, 77, 0, 0.04);
}

.acties-parts-nav__link.is-active {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(255, 77, 0, 0.04);
    font-weight: 600;
}

.acties-parts-nav__count {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 4px;
}

/* ── Trust Bar ── */
.acties-trust-bar {
    grid-column: 1 / -1;
    display: flex;
    gap: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.acties-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.acties-trust-icon {
    color: var(--accent-success);
    flex-shrink: 0;
}

/* Sidebar stays in column 1 — starts at row 5 to leave room for breadcrumb, pills, trust bar */
body.acties-light-theme .site-main > .acties-filter-sidebar {
    grid-column: 1;
    grid-row: 5 / 30;
}

/* Products and sorting in column 2 */
body.acties-light-theme .site-main > .storefront-sorting,
body.acties-light-theme .site-main > ul.products,
body.acties-light-theme .site-main > .woocommerce-pagination {
    grid-column: 2;
}

body.acties-light-theme.tax-product_cat.acties-archive-onderdelen-branch .site-main > .storefront-sorting,
body.acties-light-theme.tax-product_cat.acties-archive-onderdelen-branch .site-main > ul.products,
body.acties-light-theme.tax-product_cat.acties-archive-onderdelen-branch .site-main > .woocommerce-pagination {
    grid-column: 1;
}

body.acties-light-theme .acties-filter-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

/* Product loop cards on shop/category pages */
/* Remove Storefront clearfix pseudo-elements — they occupy grid cells */
body.acties-light-theme ul.products::before,
body.acties-light-theme ul.products::after {
    display: none !important;
    content: none !important;
}

body.acties-light-theme ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

body.acties-light-theme ul.products li.product {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s var(--ease-out);
}

body.acties-light-theme ul.products li.product .acties-product-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

body.acties-light-theme ul.products li.product:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

body.acties-light-theme ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
}

body.acties-light-theme ul.products li.product img.attachment-woocommerce_thumbnail,
body.acties-light-theme ul.products li.product a.woocommerce-LoopProduct-link > img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
    background: #FFFFFF;
    transition: transform 0.5s var(--ease-out);
}

/* Placeholder images: dim and smaller so they don't look like empty white blocks */
body.acties-light-theme ul.products li.product img.woocommerce-placeholder {
    background: var(--bg-elevated);
    opacity: 0.3;
    padding: 40px;
}

body.acties-light-theme ul.products li.product:hover img.attachment-woocommerce_thumbnail,
body.acties-light-theme ul.products li.product:hover a.woocommerce-LoopProduct-link > img {
    transform: scale(1.05);
}

/* ── Product Card Badge Overlays ── */
.acties-badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.acties-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    width: fit-content;
}

.acties-badge--discount {
    background: var(--accent-primary);
}

.acties-badge--type {
    background: var(--accent-secondary);
}

.acties-badge--promo {
    background: var(--accent-success);
}

body.acties-light-theme ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
    padding: 16px 20px 4px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.acties-light-theme ul.products li.product .price {
    padding: 0;
}

/* ── Price Options: three equal-weight rows (Direct / in3 / Lease) ──
   Each row is a chip + aligned-right amount. Chip column has a fixed width
   so amounts line up neatly. Used on archive/category cards. */
.acties-price-block {
    padding: 0 20px 12px;
}

.acties-price-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.acties-price-option {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.acties-price-option__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 0;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    width: 100%;
    box-sizing: border-box;
}

.acties-price-option__chip--direct {
    background: #FFF0E8;
    color: var(--accent-primary);
}

.acties-price-option__chip--in3 {
    background: #E8F5E9;
    color: #2E7D32;
}

.acties-price-option__chip--lease {
    background: #EDE7F6;
    color: #5E35B1;
}

.acties-price-option__amount {
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.acties-price-option__amount .woocommerce-Price-amount {
    color: inherit;
    font-weight: 700;
}

.acties-price-option__period {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.85em;
}

.acties-price-option--direct .acties-price-option__amount {
    color: var(--accent-primary);
}

.acties-price-option--in3 .acties-price-option__amount {
    color: #2E7D32;
}

.acties-price-option--lease .acties-price-option__amount {
    color: #5E35B1;
}

.acties-price-option__old {
    font-size: 0.8em;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.acties-price-option__old .woocommerce-Price-amount {
    color: var(--text-muted);
}

body.acties-light-theme ul.products li.product .button,
body.acties-light-theme ul.products li.product .added_to_cart {
    margin: 0 20px 16px;
    padding: 10px 20px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    transition:
        background 0.2s ease,
        transform 0.2s var(--ease-spring);
}

body.acties-light-theme ul.products li.product .button:hover {
    background: #ff6020;
    transform: translateY(-1px);
}

/* Pagination */
body.acties-light-theme .woocommerce-pagination ul {
    border: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px;
}

body.acties-light-theme .woocommerce-pagination ul li {
    border: none;
    margin: 0;
}

body.acties-light-theme .woocommerce-pagination .page-numbers li > a.page-numbers,
body.acties-light-theme .woocommerce-pagination .page-numbers li > span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0 8px;
    line-height: 1;
    font-weight: 500;
    transition: all 0.2s ease;
}

body.acties-light-theme .woocommerce-pagination .page-numbers li > a.page-numbers:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

body.acties-light-theme .woocommerce-pagination .page-numbers li > span.page-numbers.current {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* ================================================================
   SINGLE PRODUCT PAGE
   ================================================================ */
body.acties-light-theme.single-product .summary h1.product_title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

body.acties-light-theme.single-product .summary .price {
    color: var(--accent-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

body.acties-light-theme.single-product .summary .price del {
    color: var(--text-muted);
}

body.acties-light-theme.single-product .summary .price ins {
    text-decoration: none;
    color: var(--accent-success);
}

body.acties-light-theme.single-product .woocommerce-product-details__short-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Single product: title full-width above gallery/summary */
body.acties-light-theme.single-product div.product > .product_title {
    width: 100%;
    clear: both;
    float: none;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--text-primary);
}

body.acties-light-theme.single-product .woocommerce-product-gallery {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    width: 55% !important;
    margin-right: 3% !important;
    padding: 16px;
    box-sizing: border-box;
}

body.acties-light-theme.single-product .summary.entry-summary {
    width: 42% !important;
}

/* Elements moved below gallery (left column) */
body.acties-light-theme.single-product .acties-below-gallery-color,
body.acties-light-theme.single-product div.product > .woocommerce-product-details__short-description,
body.acties-light-theme.single-product div.product > .product_meta {
    width: 55%;
    float: left;
    clear: left;
    margin-right: 3%;
}

body.acties-light-theme.single-product .acties-below-gallery-color {
    margin-top: 16px;
    margin-bottom: 12px;
}

/* When moved inside the summary panel (above the speed/options form): */
body.acties-light-theme.single-product .summary .acties-below-gallery-color,
body.acties-light-theme.single-product .acties-below-gallery-color--inline {
    width: auto !important;
    float: none !important;
    clear: none !important;
    margin: 0 0 16px 0;
}

body.acties-light-theme.single-product .acties-color-label {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

body.acties-light-theme.single-product .acties-below-gallery-color .cs-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 2px;
}

body.acties-light-theme.single-product .acties-below-gallery-color .cs-swatch {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

body.acties-light-theme.single-product .acties-below-gallery-color .cs-swatch:hover,
body.acties-light-theme.single-product .acties-below-gallery-color .cs-swatch:focus-visible {
    transform: scale(1.08);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.18);
}

body.acties-light-theme.single-product .acties-below-gallery-color .cs-swatch.selected {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

body.acties-light-theme.single-product div.product > .woocommerce-product-details__short-description {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

body.acties-light-theme.single-product div.product > .product_meta {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.9em;
}

body.acties-light-theme.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100% !important;
}

body.acties-light-theme.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

body.acties-light-theme.single-product .woocommerce-product-gallery .flex-viewport {
    aspect-ratio: 4 / 3;
    min-height: 172px;
    height: auto !important;
}

body.acties-light-theme.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    object-fit: contain;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    display: block;
}

body.acties-light-theme.single-product .summary.entry-summary {
    width: 42% !important;
}

body.acties-light-theme.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    padding: 8px 0;
}

body.acties-light-theme.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 70px;
    margin: 0 !important;
    padding: 0;
}

body.acties-light-theme.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

body.acties-light-theme.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: var(--accent-primary);
}

/* Product page: reorder add-to-cart area — price+button above lease */
body.acties-light-theme.single-product .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

body.acties-light-theme.single-product .woocommerce-variation-add-to-cart .po-product-options {
    order: 1;
    width: 100%;
}

body.acties-light-theme.single-product .woocommerce-variation-add-to-cart .po-total-price {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
}

body.acties-light-theme.single-product .po-total-price .po-total-amount {
    font-size: 1.3rem;
    font-weight: 700;
    white-space: nowrap;
}

body.acties-light-theme.single-product .po-total-price .po-total-breakdown {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

body.acties-light-theme.single-product .woocommerce-variation-add-to-cart .quantity {
    order: 3;
    flex: 0 0 auto;
}

body.acties-light-theme.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    order: 4;
    flex: 0 0 auto;
}

body.acties-light-theme.single-product .woocommerce-variation-add-to-cart .lease-calculator,
body.acties-light-theme.single-product .woocommerce-variation-add-to-cart .pricing-columns {
    order: 5;
    width: 100%;
}

body.acties-light-theme.single-product .woocommerce-variation-add-to-cart .pricing-add-to-cart {
    order: 6;
    width: 100%;
}

body.acties-light-theme.single-product .single_add_to_cart_button {
    background: var(--accent-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 14px 36px;
    font-size: 1rem;
    box-shadow: 0 4px 24px rgba(255, 77, 0, 0.3);
    transition:
        background 0.2s ease,
        transform 0.2s var(--ease-spring),
        box-shadow 0.3s ease;
}

body.acties-light-theme.single-product .single_add_to_cart_button:hover {
    background: #ff6020 !important;
    transform: translateY(-2px);
    box-shadow: var(--glow-orange);
}

body.acties-light-theme.single-product .quantity .qty {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

body.acties-light-theme.single-product .woocommerce-tabs {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 40px;
}

body.acties-light-theme.single-product .woocommerce-tabs ul.tabs {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
    margin: 0;
    padding: 10px 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
}

body.acties-light-theme.single-product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

body.acties-light-theme.single-product .woocommerce-tabs ul.tabs li a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 20px;
    display: block;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

body.acties-light-theme.single-product .woocommerce-tabs ul.tabs li.active a {
    color: var(--text-primary);
    border-left-color: var(--accent-primary);
}

body.acties-light-theme.single-product .woocommerce-tabs .panel {
    padding: 30px;
    color: var(--text-secondary);
}

body.acties-light-theme.single-product .woocommerce-tabs .panel h2 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
}

/* Variations (color swatches, dropdowns) */
body.acties-light-theme.single-product .variations {
    border: none;
}

body.acties-light-theme.single-product .variations td,
body.acties-light-theme.single-product .variations th {
    border: none;
    background: transparent;
    padding: 8px 0;
}

body.acties-light-theme.single-product .variations label {
    color: var(--text-primary);
    font-weight: 600;
}

body.acties-light-theme.single-product .variations select {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

/* Related products */
body.acties-light-theme.single-product .related.products > h2,
body.acties-light-theme.single-product .up-sells > h2 {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1.8rem;
    letter-spacing: -0.02em;
}

/* ================================================================
   CART PAGE
   ================================================================ */
body.acties-light-theme .woocommerce-cart-form table {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border-collapse: separate;
}

body.acties-light-theme .woocommerce-cart-form th {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.acties-light-theme .woocommerce-cart-form td {
    border-color: var(--border-subtle);
    color: var(--text-primary);
}

body.acties-light-theme .woocommerce-cart-form .product-name a {
    color: var(--text-primary);
    font-weight: 600;
}

body.acties-light-theme .woocommerce-cart-form .product-price,
body.acties-light-theme .woocommerce-cart-form .product-subtotal {
    color: var(--accent-primary);
    font-weight: 600;
}

body.acties-light-theme .cart-collaterals .cart_totals {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
}

body.acties-light-theme .cart-collaterals th,
body.acties-light-theme .cart-collaterals td {
    border-color: var(--border-subtle);
    color: var(--text-primary);
}

body.acties-light-theme .wc-proceed-to-checkout .checkout-button {
    background: var(--accent-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px;
    box-shadow: 0 4px 24px rgba(255, 77, 0, 0.3);
    transition: all 0.3s ease;
}

body.acties-light-theme .wc-proceed-to-checkout .checkout-button:hover {
    background: #ff6020 !important;
    box-shadow: var(--glow-orange);
}

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */
body.acties-light-theme .woocommerce-checkout h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
}

body.acties-light-theme .woocommerce-checkout .form-row label {
    color: var(--text-secondary);
    font-weight: 500;
}

body.acties-light-theme .woocommerce-checkout .form-row input,
body.acties-light-theme .woocommerce-checkout .form-row select,
body.acties-light-theme .woocommerce-checkout .form-row textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 12px 16px;
    transition: border-color 0.2s ease;
}

body.acties-light-theme .woocommerce-checkout .form-row input:focus,
body.acties-light-theme .woocommerce-checkout .form-row select:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px var(--accent-secondary-soft);
    outline: none;
}

body.acties-light-theme #place_order {
    background: var(--accent-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 40px;
    box-shadow: 0 4px 24px rgba(255, 77, 0, 0.3);
}

body.acties-light-theme #place_order:hover {
    background: #ff6020 !important;
    box-shadow: var(--glow-orange);
}

/* ================================================================
   WIDGETS (Sidebar, Footer)
   ================================================================ */
body.acties-light-theme .widget {
    color: var(--text-secondary);
}

body.acties-light-theme .widget-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

body.acties-light-theme .widget a {
    color: var(--text-secondary);
}

body.acties-light-theme .widget a:hover {
    color: var(--accent-primary);
}

body.acties-light-theme .widget_product_search .search-field {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

body.acties-light-theme .widget_product_search .search-field:focus {
    border-color: var(--accent-secondary);
    outline: none;
}

/* ================================================================
   GLOBAL FORM ELEMENTS
   ================================================================ */
body.acties-light-theme input[type="text"],
body.acties-light-theme input[type="email"],
body.acties-light-theme input[type="password"],
body.acties-light-theme input[type="search"],
body.acties-light-theme input[type="number"],
body.acties-light-theme input[type="tel"],
body.acties-light-theme textarea,
body.acties-light-theme select {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    padding: 10px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.acties-light-theme input:focus,
body.acties-light-theme textarea:focus,
body.acties-light-theme select:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px var(--accent-secondary-soft);
    outline: none;
}

body.acties-light-theme button,
body.acties-light-theme input[type="button"],
body.acties-light-theme input[type="submit"],
body.acties-light-theme .button {
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    padding: 12px 28px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s var(--ease-spring);
}

body.acties-light-theme button:hover,
body.acties-light-theme input[type="button"]:hover,
body.acties-light-theme input[type="submit"]:hover,
body.acties-light-theme .button:hover {
    background: #ff6020;
    transform: translateY(-1px);
}

/* ================================================================
   GENERIC PAGES (About, Contact, etc.)
   ================================================================ */
body.acties-light-theme .type-page .entry-header .entry-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--text-primary);
}

body.acties-light-theme .type-page .entry-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

body.acties-light-theme .type-page .entry-content h2,
body.acties-light-theme .type-page .entry-content h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
}

body.acties-light-theme .type-page .entry-content a {
    color: var(--accent-primary);
}

body.acties-light-theme .type-page .entry-content a:hover {
    color: #ff6020;
}

/* ================================================================
   NOTICES & MESSAGES
   ================================================================ */
body.acties-light-theme .woocommerce-message,
body.acties-light-theme .woocommerce-info {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-secondary);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
}

body.acties-light-theme .woocommerce-error {
    background: var(--bg-card);
    border: 1px solid rgba(255, 77, 77, 0.2);
    border-left: 4px solid #ff4d4d;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
}

/* ================================================================
   MOBILE NAVIGATION
   ================================================================ */
body.acties-light-theme .menu-toggle {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 8px 16px 8px 38px;
    float: none;
    max-width: none;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Reposition Storefront's hamburger bars inside the new left padding */
body.acties-light-theme .menu-toggle::before,
body.acties-light-theme .menu-toggle::after,
body.acties-light-theme .menu-toggle span::before {
    left: 14px;
    width: 16px;
    background-color: var(--text-primary);
}

body.acties-light-theme .menu-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    transform: none;
}

/* Handheld footer bar */
body.acties-light-theme .storefront-handheld-footer-bar {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

body.acties-light-theme .storefront-handheld-footer-bar ul li a,
body.acties-light-theme .storefront-handheld-footer-bar ul li button {
    color: var(--text-secondary);
}

body.acties-light-theme .storefront-handheld-footer-bar ul li.active a,
body.acties-light-theme .storefront-handheld-footer-bar ul li.active button {
    color: var(--accent-primary);
}

/* ================================================================
   SCROLLBAR
   ================================================================ */
body.acties-light-theme ::-webkit-scrollbar {
    width: 8px;
}

body.acties-light-theme ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

body.acties-light-theme ::-webkit-scrollbar-thumb {
    background: #C4C4CC;
    border-radius: 4px;
}

body.acties-light-theme ::-webkit-scrollbar-thumb:hover {
    background: #A0A0AC;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* ── Narrow desktop: tighten nav so all items fit (801–1280) ── */
@media (max-width: 1280px) and (min-width: 801px) {
    :root {
        --header-height: 250px;
    }

    /* Neutralize Storefront's desktop layout for narrow desktop widths */
    .site-header .main-navigation {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        clear: none !important;
    }

    .main-navigation ul.menu,
    .main-navigation ul.nav-menu {
        gap: 0;
        justify-content: center !important;
    }

    .site-header .storefront-primary-navigation > .col-full {
        justify-content: center !important;
        padding: 0 16px !important;
    }

    .main-navigation ul.menu > li > a,
    .main-navigation ul.nav-menu > li > a {
        font-size: 0.78rem;
        padding: 6px 10px;
        letter-spacing: 0.02em;
    }
}

/* ── Tablet / small laptop: collapse desktop nav into hamburger (≤800) ── */
@media (max-width: 800px) {
    :root {
        --header-height: 205px;
    }

    /* Neutralize Storefront's ≥768px float-based header margins / widths so the
       CSS grid can size rows cleanly (the defaults add ~23px bottom margins). */
    .site-header .site-branding,
    .site-header .site-search,
    .site-header .site-header-cart,
    .site-header .main-navigation,
    .site-header .site-search form {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        clear: none !important;
    }

    /* Logo must always stay visible — anchor a minimum width so the cart
       column can never squeeze it to zero on cart/checkout pages where the
       cart subtotal text balloons. */
    .site-header .site-branding {
        min-width: 120px;
    }
    .site-header .custom-logo {
        min-width: 100px;
    }

    /* Activate the Storefront hamburger — overrides @media(min-width:768px) rules */
    .site-header .menu-toggle {
        display: inline-block !important;
    }

    .site-header .primary-navigation {
        display: none !important;
    }

    /* Compact top row: logo left, cart right, search full-width below */
    .site-header > .col-full {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        padding: 8px 20px 6px;
        gap: 6px 16px;
    }

    .site-header .site-branding {
        grid-column: 1;
        grid-row: 1;
    }

    .site-header > .col-full > .site-header-cart,
    .site-header .site-header-cart {
        grid-column: 2;
        grid-row: 1;
    }

    .site-header .site-search {
        display: block !important;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
        clear: none !important;
    }

    /* Storefront WooCommerce CSS adds 1.618em vertical padding to the cart
       contents — kills it so the cart row collapses to its natural height */
    .site-header .site-header-cart .cart-contents {
        padding: 0 !important;
    }

    /* Nav row: right-align the toggle instead of centering the menu */
    .site-header .storefront-primary-navigation > .col-full {
        justify-content: flex-end;
        padding: 8px 20px;
    }

    /* Mobile menu panel — shown when Storefront adds .toggled on .main-navigation */
    .site-header .handheld-navigation {
        display: none;
    }

    .site-header .main-navigation.toggled .handheld-navigation {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-lg);
        padding: 8px 16px 16px;
        z-index: 999;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .site-header .handheld-navigation ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        list-style: none;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .handheld-navigation ul > li {
        display: block;
        width: 100%;
    }

    .site-header .handheld-navigation ul > li > a {
        display: block;
        padding: 14px 8px !important;
        font-size: 0.95rem !important;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-primary) !important;
        border-bottom: 1px solid var(--border-subtle);
        border-radius: 0 !important;
        background: transparent !important;
    }

    .site-header .handheld-navigation ul > li:last-child > a {
        border-bottom: none;
    }

    /* Sub-menus flow inline, indented */
    .site-header .handheld-navigation ul ul {
        position: static !important;
        display: block !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 0 16px !important;
        backdrop-filter: none !important;
    }
}

/* ── Narrow header: cart subtotal can't sit on one line next to the logo.
   Wrap the cart contents into stacked lines and drop the "in3" / "Lease"
   labels so the prices fit. Triggered on cart/checkout where the subtotal
   includes 2-3 chunks of price text. ── */
@media (max-width: 600px) {
    /* Switch the cart anchor from inline-flex (single line) to block stack */
    .site-header .site-header-cart .cart-contents {
        display: inline-block !important;
        text-align: right;
        line-height: 1.25;
        width: auto;
    }

    /* Allow the line breaks that desktop hides */
    .site-header .site-header-cart .cart-contents br {
        display: inline !important;
    }

    /* Strip the "in3" label after the 3× price chunk */
    .site-header .site-header-cart .minicart-subtotal__in3 strong {
        display: none;
    }

    /* Strip the "Lease " text node before the lease price (font-size:0 trick:
       hides direct text nodes while children re-inherit a real size). The
       trailing "/mnd" text node is also hidden by the trick — re-inject it as
       a pseudo-element on the price amount so the "per month" context stays. */
    .site-header .site-header-cart .minicart-subtotal__lease {
        font-size: 0;
    }
    .site-header .site-header-cart .minicart-subtotal__lease > * {
        font-size: 0.78rem;
    }
    .site-header .site-header-cart .minicart-subtotal__lease > .woocommerce-Price-amount::after {
        content: "/mnd";
        font-size: 0.78rem;
    }

    /* Slightly shrink the cart text so the stacked lines stay compact */
    .site-header .site-header-cart .cart-contents {
        font-size: 0.78rem;
    }
}

/* ── Tablet ── */
@media (max-width: 1024px) {
    :root {
        --section-gap: 70px;
        --header-height: 230px;
    }

    /* Below 1000px: logo mag groter, vult ruimte naast de winkelwagen. */
    .custom-logo-link {
        padding: 4px 16px 4px 0;
    }
    .custom-logo {
        max-height: 200px !important;
        max-width: 520px !important;
    }

    .site-header .site-search {
        width: 200px;
    }

    .acties-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .acties-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .acties-hero__actions {
        justify-content: center;
    }

    .acties-hero__visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .acties-categories__grid {
        grid-template-columns: 1fr;
    }

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

    .acties-lease-cta__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .acties-lease-cta__text {
        margin-left: auto;
        margin-right: auto;
    }

    .acties-trust__grid {
        grid-template-columns: 1fr;
    }

    .acties-brands__grid {
        flex-wrap: wrap;
    }

    .acties-brand {
        flex: 1 1 calc(33% - 12px);
        min-width: 120px;
    }

    body.acties-light-theme.post-type-archive-product .site-main,
    body.acties-light-theme.tax-product_cat .site-main {
        grid-template-columns: 220px 1fr;
        gap: 20px;
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    :root {
        --section-gap: 56px;
        --header-height: 170px;
    }

    body.acties-light-theme.single-product .woocommerce-product-gallery,
    body.acties-light-theme.single-product .summary.entry-summary,
    body.acties-light-theme.single-product .acties-below-gallery-color,
    body.acties-light-theme.single-product div.product > .woocommerce-product-details__short-description,
    body.acties-light-theme.single-product div.product > .product_meta {
        width: 100% !important;
        float: none !important;
        clear: none !important;
        margin-right: 0 !important;
    }

    /* Header grid is restructured in the ≤800 block — only tighten padding here */
    .site-header > .col-full {
        padding: 8px 16px 6px;
        gap: 6px 12px;
    }

    .custom-logo-link {
        padding: 2px 10px 2px 0;
    }
    .custom-logo {
        max-height: 140px !important;
        max-width: 360px !important;
    }

    .acties-hero {
        min-height: auto;
        padding-top: 180px;
        padding-bottom: 40px;
    }

    .acties-hero__title {
        font-size: clamp(1.2rem, 5.5vw, 2rem);
    }

    .acties-usp__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .acties-products-grid,
    .acties-products-grid--featured {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .acties-product-card__info {
        padding: 14px 16px 12px;
    }

    .acties-product-card__name {
        font-size: 0.85rem;
    }

    .acties-product-card__price {
        font-size: 0.95rem;
    }

    .acties-product-card__cta {
        display: none;
    }

    .acties-brands__grid {
        gap: 10px;
    }

    .acties-brand {
        height: 70px;
        padding: 8px 10px;
    }

    .acties-lease-cta__bg {
        clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    }

    body.acties-light-theme ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    body.acties-light-theme.post-type-archive-product .site-main,
    body.acties-light-theme.tax-product_cat .site-main {
        grid-template-columns: 1fr;
    }

    body.acties-light-theme .site-main > .acties-filter-sidebar {
        grid-column: 1;
        grid-row: auto;
    }

    body.acties-light-theme .site-main > .storefront-sorting,
    body.acties-light-theme .site-main > ul.products,
    body.acties-light-theme .site-main > .woocommerce-pagination {
        grid-column: 1;
    }

    body.acties-light-theme .acties-filter-sidebar {
        display: none;
    }

    body.acties-light-theme .acties-filter-sidebar.is-open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        z-index: 1001;
        background: var(--bg-primary);
        padding: 20px;
        overflow-y: auto;
        box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    }

    .acties-filter-backdrop {
        display: none;
    }

    .acties-filter-backdrop.is-open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        z-index: 1000;
    }

    /* Hide brand quick-access pills on mobile — too cramped to be useful */
    .acties-subcat-pills {
        display: none !important;
    }

    .acties-parts-nav__items {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .acties-parts-nav__items::-webkit-scrollbar {
        display: none;
    }

    .acties-parts-nav__link {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .acties-trust-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
        padding: 12px 16px;
    }

    .acties-trust-item {
        white-space: normal;
    }

    .acties-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-full);
        color: var(--text-primary);
        font-family: var(--font-body);
        font-weight: 500;
        font-size: 0.85rem;
        cursor: pointer;
        margin-bottom: 16px;
    }
}

/* ── Small mobile ── */
@media (max-width: 480px) {
    :root {
        --header-height: 145px;
    }

    .site-header > .col-full {
        grid-template-columns: 1fr auto;
        padding: 6px 12px 4px;
        gap: 4px 12px;
    }

    .custom-logo {
        height: auto !important;
        width: 100% !important;
        max-width: 200px !important;
        max-height: 72px !important;
    }

    .site-header .site-search .search-field {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .acties-usp__grid {
        grid-template-columns: 1fr;
    }

    .acties-home .acties-products-section .acties-section-header {
        margin-bottom: 28px;
        gap: 8px 12px;
        align-items: center;
    }

    .acties-home .acties-section-header__link {
        gap: 8px;
    }

    .acties-home .acties-section-title {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }

    .acties-home .acties-products-grid,
    .acties-home .acties-products-grid--featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .acties-home .acties-product-card__image {
        padding: 14px;
    }

    .acties-home .acties-product-card__info {
        padding: 12px 12px 10px;
    }

    .acties-home .acties-product-card__name {
        font-size: 0.78rem;
        -webkit-line-clamp: 3;
    }

    .acties-home .acties-product-card__price {
        font-size: 0.88rem;
    }

    .acties-home .acties-product-card__price del {
        font-size: 0.74rem;
    }

    body.acties-light-theme ul.products {
        grid-template-columns: 1fr !important;
    }

    .acties-brand {
        flex: 1 1 calc(50% - 8px);
        height: 60px;
    }
}

/* ================================================================
   INFO PAGES — Informational page template
   ================================================================ */

/* ── Breadcrumb ── */
.acties-info-breadcrumb {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.acties-info-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

.acties-info-breadcrumb a:hover {
    color: var(--accent-primary);
}

.acties-info-breadcrumb__sep {
    margin: 0 8px;
    opacity: 0.5;
}

.acties-info-breadcrumb__current {
    color: var(--text-primary);
    font-weight: 500;
}

/* ── Hero ── */
.acties-info-hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-light-alt) 100%);
    padding: 60px 0;
    text-align: center;
}

.acties-info-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.acties-info-hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 12px auto 0;
    max-width: 560px;
    line-height: 1.6;
}

/* ── Layout Grid ── */
.acties-info-layout {
    padding: 48px 0 80px;
}

.acties-info-layout__grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

/* ── Main Content ── */
.acties-info-content {
    min-width: 0;
}

.acties-info-content__body {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-subtle);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.acties-info-content__body h2,
.acties-info-content__body h3,
.acties-info-content__body h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
    margin: 28px 0 12px;
    font-weight: 700;
}

.acties-info-content__body h2:first-child,
.acties-info-content__body h3:first-child {
    margin-top: 0;
}

.acties-info-content__body h2 { font-size: 1.4rem; }
.acties-info-content__body h3 { font-size: 1.15rem; }
.acties-info-content__body h4 { font-size: 1rem; }

.acties-info-content__body p {
    margin: 0 0 16px;
}

.acties-info-content__body ul,
.acties-info-content__body ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.acties-info-content__body li {
    margin-bottom: 6px;
}

.acties-info-content__body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.acties-info-content__body a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.acties-info-content__body a:hover {
    color: var(--text-primary);
}

.acties-info-content__body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 16px 0;
}

.acties-info-content__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}

.acties-info-content__body table th,
.acties-info-content__body table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.acties-info-content__body table th {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
}

/* ── Hub Page Cards ── */
.acties-info-hub-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.acties-info-hub-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.acties-info-hub-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glow-orange);
    transform: translateY(-2px);
}

.acties-info-hub-card__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.acties-info-hub-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.acties-info-hub-card__arrow {
    position: absolute;
    top: 24px;
    right: 20px;
    color: var(--accent-primary);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s var(--ease-out);
}

.acties-info-hub-card:hover .acties-info-hub-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Sidebar ── */
.acties-info-sidebar {
    position: sticky;
    top: 100px;
}

.acties-info-sidebar__nav {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.acties-info-sidebar__heading {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.acties-info-sidebar__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.acties-info-sidebar__nav li {
    margin-bottom: 2px;
}

.acties-info-sidebar__nav li a {
    display: block;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s var(--ease-out);
}

.acties-info-sidebar__nav li a:hover {
    color: var(--accent-primary);
    background: rgba(255, 77, 0, 0.05);
}

.acties-info-sidebar__nav li.is-active a {
    color: var(--accent-primary);
    font-weight: 600;
    background: var(--accent-primary-soft);
}

.acties-info-sidebar__cta {
    background: linear-gradient(135deg, var(--accent-primary), #e64500);
    border-radius: var(--radius-md);
    padding: 20px;
    color: white;
    text-align: center;
}

.acties-info-sidebar__cta h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.acties-info-sidebar__cta p {
    margin: 0 0 4px;
    font-size: 0.85rem;
    opacity: 0.95;
}

.acties-info-sidebar__cta a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.acties-info-sidebar__hours {
    font-size: 0.8rem !important;
    opacity: 0.8 !important;
    margin-top: 8px !important;
}

/* ── Shortcode: Embed Widget ── */
.acties-embed-widget {
    margin: 24px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.acties-embed-widget iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ── Shortcode: Contact Info ── */
.acties-contact-info {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 24px 0;
    font-size: 0.9rem;
    line-height: 1.8;
}

.acties-contact-info strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
}

.acties-contact-info .acties-contact-info__detail {
    color: var(--text-secondary);
}

/* ── Shortcode: CTA Button ──
   Lives inside .acties-info-content__body which has a global
   `.acties-info-content__body a { color: var(--accent-primary); }` rule at
   (0,2,1) specificity — that rule was turning the button's label the same
   orange as its background (invisible). Bump specificity + !important to
   guarantee a legible white label regardless of parent scope. */
.acties-info-content__body a.acties-info-cta-btn,
a.acties-info-cta-btn,
.acties-info-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-primary);
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    margin: 16px 0;
}

.acties-info-content__body a.acties-info-cta-btn:hover,
a.acties-info-cta-btn:hover,
.acties-info-cta-btn:hover {
    background: #e64500;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: var(--glow-orange);
}

.acties-info-content__body a.acties-info-cta-btn:focus-visible,
a.acties-info-cta-btn:focus-visible {
    color: #ffffff !important;
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* ── Info Page Responsive ── */
@media (max-width: 768px) {
    .acties-info-hero {
        padding: 40px 0;
    }

    .acties-info-layout {
        padding: 32px 0 60px;
    }

    .acties-info-layout__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .acties-info-sidebar {
        position: static;
    }

    .acties-info-content__body {
        padding: 20px;
    }

    .acties-info-hub-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .acties-info-hero__title {
        font-size: 1.5rem;
    }

    .acties-info-content__body {
        padding: 16px;
        font-size: 0.9rem;
    }
}

/* ================================================================
   PRINT
   ================================================================ */
@media print {
    .acties-hero__noise,
    .acties-hero__glow,
    .acties-hero__scroll {
        display: none;
    }

    body.acties-light-theme {
        background: white;
        color: #1A1A2E;
    }
}

/* ================================================================
   IN3 TOGGLE
   ================================================================ */

.in3-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
    margin-right: 12px;
    vertical-align: middle;
}

.in3-toggle__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.in3-toggle__switch {
    width: 32px;
    height: 18px;
    border-radius: 9px;
    background: #999;
    position: relative;
    transition: background 0.2s ease;
}

.in3-toggle__knob {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
}

/* Active state */
.in3-toggle--active {
    background: rgba(240, 160, 48, 0.15);
}

.in3-toggle--active .in3-toggle__label {
    color: var(--price-in3);
}

.in3-toggle--active .in3-toggle__switch {
    background: var(--price-in3);
}

.in3-toggle--active .in3-toggle__knob {
    transform: translateX(14px);
}

/* Position in header - next to cart via absolute positioning */
.site-header > .col-full {
    position: relative;
}

.site-header > .col-full > .in3-toggle {
    position: absolute;
    right: 310px;
    top: 14px;
}

/* Cart prefix for IN3 mode */
.in3-cart-prefix {
    color: var(--price-in3);
    font-weight: 700;
}

body.in3-mode-active .site-header-cart .cart-contents .woocommerce-Price-amount {
    color: var(--price-in3);
}

/* ================================================================
   IN3 TOGGLE - PRICE DISPLAY SWITCHING
   ================================================================ */

/* Default: normal prices visible, toggled prices hidden */
.in3-price-toggled {
    display: none;
}

.in3-price-normal {
    display: contents;
}

/* IN3 mode active: swap visibility */
body.in3-mode-active .in3-price-toggled {
    display: contents;
}

body.in3-mode-active .in3-price-normal {
    display: none;
}

/* IN3 toggled primary price on product cards */
.in3-primary-price {
    display: block;
    font-size: 1em;
    font-weight: 700;
    color: var(--price-in3);
}

.in3-primary-price .woocommerce-Price-amount {
    color: var(--price-in3);
}

.in3-secondary-info {
    display: block;
    font-size: 0.8em;
    color: var(--text-muted);
    margin-top: 2px;
}

.in3-secondary-info strong {
    color: var(--price-in3);
}

/* ================================================================
   CART PAGE REDESIGN — Screenshot-style layout
   Columns: Artikel (image+name+options) | Aantal (qty) | Prijs
   ================================================================ */

/* --- Table headers --- */
.wc-block-cart-items thead th {
    padding: 10px 16px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted) !important;
    border-bottom: 2px solid var(--border-subtle) !important;
}

.wc-block-cart-items__header-image {
    width: 1px !important;
    padding: 0 !important;
}

.wc-block-cart-items__header-product {
    text-align: left !important;
}

.wc-block-cart-items__header-total {
    text-align: right !important;
    width: 400px !important;
}

/* --- Image cell: larger --- */
.wc-block-cart-item__image {
    width: 130px !important;
    padding: 16px 0 16px 16px !important;
    vertical-align: top !important;
}

.wc-block-cart-item__image img {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: var(--radius-sm) !important;
}

/* --- Product cell: name + metadata visible, price + qty hidden (qty styled in-place) --- */
.wc-block-cart-item__product {
    padding: 16px !important;
    vertical-align: top !important;
}

.wc-block-cart-item__product .wc-block-components-product-name {
    font-weight: 600 !important;
    font-size: 15px !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 6px !important;
}

/* Show metadata (options like Uitvoering, Windscherm, Kleur) */
.wc-block-cart-items .wc-block-cart-item__product .wc-block-components-product-metadata {
    display: block !important;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Product options: each option on its own line */
.wc-block-cart-item__product .wc-block-components-product-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Each option: label + value inline on same line */
.wc-block-cart-item__product .wc-block-components-product-details > span {
    display: inline-flex;
    flex-wrap: nowrap;
    font-size: 13px !important;
}

/* Hide the " / " separator — we use spacing instead */
.wc-block-cart-item__product .wc-block-components-product-details > span > span[aria-hidden] {
    display: none !important;
}

/* Label: muted, semi-bold */
.wc-block-cart-item__product .wc-block-components-product-details__name {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-right: 4px;
    white-space: nowrap;
}

/* Value: darker, normal weight */
.wc-block-cart-item__product .wc-block-components-product-details__value {
    color: var(--text-primary) !important;
    font-weight: 400 !important;
    font-size: 13px !important;
}

/* On narrow screens, stack label above value */
@media screen and (max-width: 768px) {
    .wc-block-cart-item__product .wc-block-components-product-details > span {
        display: flex;
        flex-wrap: wrap;
        margin-right: 0;
        margin-bottom: 4px;
    }

    .wc-block-cart-item__product .wc-block-components-product-details__name {
        margin-right: 0;
        width: 100%;
    }

    /* Mobile cart row: image + product on row 1, total cell (price/qty/trash)
       wraps to row 2 spanning both columns. WC Blocks' default 80px image
       column is too wide for our 130px desktop image — shrink it. */
    .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row {
        grid-template-columns: 96px 1fr !important;
    }

    .wc-block-cart-item__image {
        width: 96px !important;
        padding: 16px 0 16px 0 !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .wc-block-cart-item__image img {
        width: 80px !important;
        height: 80px !important;
        object-fit: contain !important;
    }

    .wc-block-cart-item__product {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding: 16px 0 8px 12px !important;
    }

    /* Total cell spans full width on row 2 so price + qty + trash get room */
    .wc-block-cart-item__total {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        padding: 0 0 16px 0 !important;
        text-align: left !important;
    }

    /* Inside the total cell, lay out unit price + qty + total + trash in a
       single right-aligned row that can shrink */
    .cart-price-qty-wrap {
        justify-content: space-between !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }

    .cart-unit-price {
        display: none;
    }
}

/* Hide price inside product cell */
.wc-block-cart-items .wc-block-cart-item__product .wc-block-cart-item__prices {
    display: none !important;
}

/* Qty controls: moved to price cell via JS, hide from product cell */
.wc-block-cart-item__product .wc-block-cart-item__quantity {
    display: none !important;
}

.wc-block-cart-item__quantity {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.wc-block-components-quantity-selector {
    display: inline-flex !important;
    align-items: stretch;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
}

/* Order: minus(1) input(2) plus(3) */
.wc-block-components-quantity-selector__button--minus { order: 1 !important; }
.wc-block-components-quantity-selector__input { order: 2 !important; }
.wc-block-components-quantity-selector__button--plus { order: 3 !important; }

.wc-block-components-quantity-selector__input {
    width: 36px !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid var(--border-subtle) !important;
    border-right: 1px solid var(--border-subtle) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 6px 0 !important;
    background: transparent !important;
}

.wc-block-components-quantity-selector__button {
    padding: 6px 10px !important;
    border: none !important;
    background: var(--bg-secondary) !important;
    font-size: 16px !important;
    cursor: pointer;
    line-height: 1 !important;
    min-width: 32px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.wc-block-components-quantity-selector__button:hover {
    background: var(--bg-elevated) !important;
}

/* Reset border-radius — container handles it */
.wc-block-components-quantity-selector__button {
    border-radius: 0 !important;
}

/* Remove link: hide (trash button replaces it) */
.wc-block-cart-item__remove-link {
    display: none !important;
}

/* Trash button — right of total price in the wrapper row */
.cart-trash-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    background: #FEE2E2 !important;
    color: #DC2626 !important;
    cursor: pointer;
    flex-shrink: 0;
}

.cart-trash-btn:hover {
    background: #FECACA !important;
}

.cart-trash-btn svg {
    width: 14px;
    height: 14px;
}

/* --- Prijs cell: qty + total price combined --- */
.wc-block-cart-item__total {
    display: table-cell !important;
    padding: 16px !important;
    vertical-align: middle !important;
    text-align: right !important;
    white-space: nowrap;
}

.wc-block-cart-item__total .wc-block-formatted-money-amount {
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* Price cell layout: unit price | qty controls | total — horizontal by default */
.cart-price-qty-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

/* Unit price */
.cart-unit-price {
    font-size: 14px;
    color: var(--price-direct);
    white-space: nowrap;
}

/* Qty row */
.cart-qty-row {
    display: flex;
    align-items: center;
}

.cart-qty-row .wc-block-cart-item__quantity {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

/* Total row: total price + trash button always together */
.cart-total-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Total price (bold, larger) */
.cart-total-price {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: var(--price-direct) !important;
    white-space: nowrap;
}

.cart-total-price .wc-block-formatted-money-amount {
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* --- Row separator --- */
.wc-block-cart-items tbody tr {
    border-bottom: 1px solid var(--border-subtle) !important;
}

/* --- Sidebar: compact, clean --- */
.wp-block-woocommerce-cart .wp-block-woocommerce-cart-totals-block {
    max-width: 320px !important;
    margin-left: auto;
}

.wc-block-cart__totals-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid var(--border-subtle) !important;
}

/* Custom sidebar rows */
.cart-sidebar-custom {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
}

.cart-sidebar-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-sidebar-row__label {
    color: var(--text-secondary);
}

.cart-sidebar-row__value {
    font-weight: 600;
    text-align: right;
    color: var(--price-direct);
}

/* Bestelling totaal — bold, larger */
.cart-sidebar-row--total {
    border-bottom: 2px solid var(--text-primary);
    padding: 10px 0;
    margin-top: 4px;
}

.cart-sidebar-row--total .cart-sidebar-row__label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
}

.cart-sidebar-row--total .cart-sidebar-row__value {
    font-weight: 700;
    font-size: 16px;
    color: var(--price-direct);
}

/* Lease row — purple */
.cart-sidebar-row--lease .cart-sidebar-row__label,
.cart-sidebar-row--lease .cart-sidebar-row__value {
    color: var(--price-lease);
    font-weight: 600;
}

/* IN3 row — orange */
.cart-sidebar-row--in3 .cart-sidebar-row__label,
.cart-sidebar-row--in3 .cart-sidebar-row__value {
    color: var(--price-in3);
    font-weight: 600;
}

/* Hide Coupons section and original WC totals (replaced by custom sidebar) */
.wp-block-woocommerce-cart-order-summary-coupon-form-block,
.wp-block-woocommerce-cart-order-summary-block > .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-order-summary-block > .wp-block-woocommerce-cart-order-summary-totals-block,
.wp-block-woocommerce-cart-order-summary-block > .wp-block-woocommerce-cart-order-summary-shipping-block {
    display: none !important;
}

/* Green checkout button */
.wc-block-cart__submit-button {
    background-color: #16A34A !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer;
    width: 100%;
}

.wc-block-cart__submit-button:hover {
    background-color: var(--price-direct) !important;
}

/* ── Delivery time badges ── */
.acties-delivery-badge {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    margin-top: 0.4em;
    text-align: center;
}
.acties-delivery-badge--instock {
    color: #15803d;
    background: #f0fdf4;
}

body.acties-light-theme ul.products li.product .acties-delivery-badge {
    margin-top: auto;
}

.acties-delivery-badge--onorder {
    color: #9a3412;
    background: #fff7ed;
}

/* ================================================================
   BLOG / KENNISBANK
   ================================================================ */
.acties-container--narrow { max-width: 800px; }

.acties-blog-article__header { margin-bottom: 2rem; }
.acties-blog-article__title {
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0.5rem 0;
}
.acties-blog-article__date {
    font-size: 0.85rem;
    color: var(--text-muted, #888);
}
.acties-blog-article__hero { margin-bottom: 2rem; border-radius: 12px; overflow: hidden; }
.acties-blog-article__hero img { width: 100%; height: auto; display: block; }
.acties-blog-article__content { font-size: 1.05rem; line-height: 1.75; }
.acties-blog-article__content h2 { margin-top: 2rem; font-size: 1.5rem; }
.acties-blog-article__content h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.acties-blog-article__content p { margin-bottom: 1.25rem; }
.acties-blog-article__content ul,
.acties-blog-article__content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }

.acties-blog-related { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border, #eee); }

.acties-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.acties-blog-grid--archive { margin-bottom: 3rem; }

.acties-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #eee);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}
.acties-blog-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.acties-blog-card__image img { width: 100%; height: 180px; object-fit: cover; display: block; }
.acties-blog-card__info { padding: 1rem 1.25rem; }
.acties-blog-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.4rem 0;
    line-height: 1.3;
}
.acties-blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-muted, #888);
    margin: 0;
}
.acties-blog-card__date {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
}

.acties-blog-pagination { grid-column: 1 / -1; text-align: center; margin-top: 2rem; }
.acties-blog-pagination .nav-links a,
.acties-blog-pagination .nav-links span {
    display: inline-block;
    padding: 0.5em 1em;
    margin: 0 0.2em;
    border-radius: 6px;
}
.acties-blog-pagination .nav-links .current {
    background: var(--accent-primary, #FF4D00);
    color: #fff;
}

/* ── FAQ accordion ── */
.acties-faq { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border, #eee); }
.acties-faq__list { max-width: 800px; }
.acties-faq__item {
    border-bottom: 1px solid var(--border, #eee);
}
.acties-faq__question {
    padding: 1rem 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.acties-faq__question::-webkit-details-marker { display: none; }
.acties-faq__question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted, #888);
    transition: transform 0.2s;
}
details[open] .acties-faq__question::after {
    content: '−';
}
.acties-faq__answer {
    padding: 0 0 1rem;
    color: var(--text-muted, #555);
    line-height: 1.65;
}

/* ================================================================
   EXPLODED VIEWS (Technical Drawings)
   ================================================================ */
.acties-exploded-view-header {
    margin-bottom: 40px;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.acties-exploded-view-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.acties-exploded-view-table-wrapper {
    margin-top: 30px;
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.acties-parts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.acties-parts-table th {
    background: var(--bg-elevated);
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-subtle);
    white-space: nowrap;
}

.acties-parts-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

.acties-parts-table tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.acties-parts-table .col-ref {
    width: 50px;
    font-weight: 800;
    color: var(--accent-primary);
}

.acties-parts-table .col-img {
    width: 80px;
}

.acties-parts-table .col-img img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    padding: 4px;
}

.acties-parts-table .col-sku {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 0.85rem;
}

.acties-parts-table .col-name {
    font-weight: 600;
}

.acties-parts-table .col-name a {
    color: var(--text-primary);
    text-decoration: none;
}

.acties-parts-table .col-name a:hover {
    color: var(--accent-primary);
}

.acties-parts-table .col-price {
    font-weight: 700;
    color: var(--accent-primary);
    white-space: nowrap;
}

.acties-parts-table .col-action {
    text-align: right;
    width: 150px;
}

.acties-parts-table .button {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
    border-radius: var(--radius-full) !important;
}

/* Responsive Table */
@media (max-width: 768px) {
    .acties-parts-table thead {
        display: none;
    }
    
    .acties-parts-table tr {
        display: block;
        padding: 15px;
        position: relative;
    }
    
    .acties-parts-table td {
        display: block;
        border: none;
        padding: 4px 0;
        text-align: left !important;
    }
    
    .acties-parts-table .col-ref {
        position: absolute;
        top: 15px;
        right: 15px;
        text-align: right;
    }
    
    .acties-parts-table .col-img {
        float: left;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .acties-parts-table .col-action {
        width: 100%;
        margin-top: 10px;
    }
}

/* =====================================================================
 * Cart reminder — "Nog iets vergeten?" section wrapper
 * Used by actiescooters_render_cart_reminder() in functions.php.
 * The .acties-categories__grid + .acties-cat-card children are styled
 * at lines ~976-1073 (shared with the homepage).
 * ===================================================================== */
/* The reminder lives inside the cart-items column, not a full-width section,
   so we keep the vertical rhythm tight and render the tiles in a compact
   horizontal variant (icon on the left, text on the right) to stay above
   the fold together with the product row above it. */
.acties-cart-reminder {
    padding: 24px 0 16px;
}

.acties-cart-reminder .acties-categories__grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.acties-cart-reminder__title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0 0 16px;
    color: var(--text-primary);
}

/* Compact tile variant — scoped to the cart reminder only. White cards on
   the theme's cream body background would otherwise have ~8% border contrast,
   so we bump border + add a soft shadow to make the tiles visually lift. */
.acties-cart-reminder .acties-categories__grid a.acties-cat-card,
.acties-cart-reminder .acties-categories__grid a.acties-cat-card * {
    text-decoration: none;
}

.acties-cart-reminder .acties-cat-card {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-color: rgba(26, 26, 46, 0.18);
    box-shadow: 0 1px 3px rgba(26, 26, 46, 0.06);
}

.acties-cart-reminder .acties-cat-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 6px 16px rgba(26, 26, 46, 0.1);
}

.acties-cart-reminder .acties-cat-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.acties-cart-reminder .acties-cat-card__icon svg {
    width: 24px;
    height: 24px;
}

.acties-cart-reminder .acties-cat-card__title {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.2;
}

.acties-cart-reminder .acties-cat-card__desc {
    display: none;
}

.acties-cart-reminder .acties-cat-card__meta {
    font-size: 0.78rem;
    margin-top: 2px;
    color: var(--text-muted);
    white-space: normal;
    line-height: 1.35;
}

.acties-cart-reminder .acties-cat-card__title {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    line-height: 1.25;
    min-width: 0;
}

.acties-cart-reminder .acties-cat-card__arrow {
    position: static;
    opacity: 1;
    transform: none;
    margin-left: auto;
    flex-shrink: 0;
}

.acties-cart-reminder .acties-cat-card__arrow svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 1024px) {
    .acties-cart-reminder__title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .acties-cart-reminder__title {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
}
