/*
Theme Name: Prenavljam Hello Child
Theme URI: https://prenavljam.si
Description: Custom WooCommerce Child Theme for Prenavljam.si
Author: UX Expert
Template: hello-elementor
Version: 1.0.0
Text Domain: prenavljam-child
*/

/* ==========================================================================
   0. GLOBAL HORIZONTAL OVERFLOW GUARD
   Prevents absolutely-positioned bleed elements (Elementor icons/shapes
   with negative offsets) from creating page-wide horizontal scroll on
   mobile. `clip` is preferred over `hidden`: it does NOT create a scroll
   container, so position:sticky inside the page keeps working.
   ========================================================================== */
html, body {
    overflow-x: clip;
}

/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES & BASE
   ========================================================================== */
:root {
    --brand-yellow: #FBBF24;
    --brand-yellow-hover: #F59E0B;
    --text-dark: #111827;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
    --danger: #EF4444;
    --success: #10B981;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ==========================================================================
   2. GLOBAL COMPONENTS (Header & Buttons)
   ========================================================================== */
.custom-header,
.checkout-header {
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--brand-yellow);
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--success);
    font-size: 0.875rem;
}

.btn {
    display: inline-block;
    background-color: var(--brand-yellow);
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    text-align: center;
    transition: background 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.btn:hover {
    background-color: var(--brand-yellow-hover);
}

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

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

.btn-dark:hover {
    background-color: #000;
}

.mobile-only-close {
    display: none;
    margin-top: 32px;
}

@media (max-width: 900px) {
    .mobile-only-close {
        display: block;
    }
}

/* ==========================================================================
   3. STORE & PRODUCT GRID 
   ========================================================================== */
.store-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

.sidebar {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 40px;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.03);
}

.filter-group {
    margin-bottom: 32px;
}

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

.filter-group h4 {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

/* Category List Styling */
.filter-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-categories-list li {
    margin-bottom: 8px;
}

.filter-categories-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    color: var(--text-light);
    transition: color 0.2s;
    font-weight: 500;
}

.filter-categories-list li a:hover,
.filter-categories-list li.active > a {
    color: var(--text-dark);
    font-weight: 600;
}

.filter-categories-list .count {
    font-size: 0.75rem;
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    color: var(--text-light);
}

.filter-categories-list .children {
    list-style: none;
    padding: 8px 0 8px 16px;
    margin: 0;
}

.filter-categories-list .children li {
    margin-bottom: 6px;
    font-size: 0.875rem;
}

/* WooCommerce Widgets Reset & Styling */
.sidebar .widget {
    margin-bottom: 0;
}

/* Price Filter Slider */
.widget_price_filter .price_slider {
    margin-bottom: 20px;
    background: var(--bg-light);
    height: 6px;
    border-radius: 10px;
    position: relative;
    border: none;
}

.widget_price_filter .ui-slider-range {
    background: var(--brand-yellow);
    position: absolute;
    height: 100%;
    border-radius: 10px;
}

.widget_price_filter .ui-slider-handle {
    width: 18px;
    height: 18px;
    background: var(--white);
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    position: absolute;
    top: -6px;
    margin-left: -9px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.widget_price_filter .price_slider_amount {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget_price_filter .price_label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
}

.widget_price_filter .price_slider_amount .button {
    background: var(--text-dark);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s;
}

.widget_price_filter .price_slider_amount .button:hover {
    opacity: 0.9;
}

/* Attribute Filter Lists */
.woocommerce-widget-layered-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-widget-layered-nav-list__item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px;
    width: 100%;
}

.woocommerce-widget-layered-nav-list__item a {
    font-size: 0.9375rem;
    color: var(--text-light);
    transition: color 0.2s;
    text-decoration: none;
    flex-grow: 1;
    margin-right: 10px;
}

.woocommerce-widget-layered-nav-list__item--chosen a {
    color: var(--text-dark);
    font-weight: 700;
}

.woocommerce-widget-layered-nav-list__item .count {
    font-size: 0.75rem;
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-small {
    padding: 8px 16px !important;
    font-size: 0.8125rem !important;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

/* Subcategory cards grid */
.subcategory-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.subcategory-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    color: var(--text-dark);
}

.subcategory-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.subcategory-card__img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-light);
}

.subcategory-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.subcategory-card:hover .subcategory-card__img-wrap img {
    transform: scale(1.05);
}

.subcategory-card__title {
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 32px 24px !important;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Store page specifically: 3 columns */
.store-container ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px 30px !important;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ==========================================================================
   MOBILE STORE MENU (Shortcode [mobile_store_menu])
   ========================================================================== */
.mobile-store-menu-wrapper {
    position: relative;
    z-index: 9999;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.hamburger-box {
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
}

.hamburger-inner {
    position: relative;
}

.hamburger-inner::before, 
.hamburger-inner::after {
    content: "";
    position: absolute;
    left: 0;
}

.hamburger-inner::before { top: 6px; }
.hamburger-inner::after { top: 12px; }

/* Drawer */
.mobile-store-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    z-index: 10001;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-store-drawer.open {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
}

.drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.drawer-section {
    margin-bottom: 32px;
}

.drawer-section h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.drawer-links {
    list-style: none;
    padding: 0;
}

.drawer-links li {
    margin-bottom: 12px;
}

.drawer-links li a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.drawer-cat-list {
    list-style: none;
    padding: 0;
}

.drawer-cat-list li {
    margin-bottom: 10px;
}

.drawer-cat-list li a {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-dark);
}

.drawer-cat-list .count {
    color: var(--text-light);
    font-size: 0.875rem;
}

.drawer-feature-card {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(229, 231, 235, 0.95);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
    background: #ffffff;
    line-height: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.drawer-feature-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.drawer-feature-card:hover,
.drawer-feature-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
}

/* Filter Section inside Drawer */
.filter-section .widget {
    margin-bottom: 24px;
}

.filter-section .widget h2, 
.filter-section .widget h4,
.filter-section .widget .widget-title {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.drawer-actions {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

/* Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   STORE — MOBILE-FIRST RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 900px) {
    /* Single-column layout: sidebar hidden, products full-width */
    .store-container {
        grid-template-columns: 1fr;
        padding: 16px 4%;
        gap: 0;
    }

    .store-container .sidebar {
        display: none;
    }

    /* 1 column of products on mobile */
    .store-container ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .store-header {
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .subcategory-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .blog-list {
        grid-template-columns: 1fr;
    }

    .blog-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .blog-img {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 600px) {
    .cart-item {
        flex-direction: column;
        position: relative;
    }

    .item-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .remove-btn {
        position: absolute;
        top: 24px;
        right: 24px;
    }

    .item-actions {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ==========================================================================
   9. WOOCOMMERCE DEFAULT RESET & FIXES FOR PROTOTYPE
   ========================================================================== */
.pdp-grid::before,
.pdp-grid::after {
    display: none !important;
}

/* Clear wp defaults */
.pdp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

.pdp-info-wrapper {
    clear: none !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    max-width: 100%;
    overflow-x: hidden;
}

/* Prevent iframe blowout */
.pdp-gallery-wrapper {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    max-width: 100%;
}

.gallery-main {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    float: none !important;
    width: 100% !important;
}

/* Add to Cart styling */
.action-box form.cart {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 0;
}

.action-box form.cart .quantity {
    margin: 0;
}

.action-box form.cart button.single_add_to_cart_button {
    background-color: var(--brand-yellow);
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    text-align: center;
    transition: background 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
}

.action-box form.cart button.single_add_to_cart_button:hover {
    background-color: var(--brand-yellow-hover);
}

/* Payment providers overlap reset */
.action-box iframe,
.action-box #payment,
.action-box .stripe-button-el,
.action-box .ppc-button-wrapper {
    max-width: 100% !important;
    clear: both;
    box-sizing: border-box;
}

/* Output data tabs */
.woocommerce-tabs {
    width: 100%;
    clear: both;
    margin-top: 40px;
}

/* ==========================================================================
   10. FAQ SECTION
   ========================================================================== */
.pdp-faq-section {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.faq-accordion details {
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion details:last-child {
    border-bottom: none;
}

.faq-accordion summary {
    padding: 20px 0;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    color: var(--text-dark);
}

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

.faq-accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.faq-accordion details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
    color: var(--brand-yellow-hover);
}

.faq-accordion .faq-answer {
    padding: 0 0 20px 0;
    color: var(--text-light);
    line-height: 1.6;
    animation: fadein 0.3s ease-in-out;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   11. CART & CHECKOUT IMPROVEMENTS
   ========================================================================== */

/* Cart: continue shopping link */
.continue-shopping {
    font-size: 0.875rem;
    color: var(--text-light);
    display: inline-block;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.continue-shopping:hover {
    color: var(--text-dark);
}

/* Cart: free shipping label */
.shipping-free {
    color: var(--success);
    font-weight: 600;
}

/* Cart: trust badges with payment logos */
.trust-badge-divider {
    color: var(--border-color);
    margin: 0 4px;
}

.trust-badge-payments {
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-logo {
    height: 22px;
    width: auto;
    border-radius: 3px;
    vertical-align: middle;
}

/* Cart: coupon field */
.coupon-toggle-wrap {
    margin-top: 16px;
    padding: 0 6px 24px;
}

.coupon-toggle {
    background: none;
    border: none;
    color: var(--brand-yellow-hover);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    font-family: 'Inter', sans-serif;
}

.coupon-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

.coupon-form input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    background: var(--bg-light);
}

.coupon-form input[type="text"]:focus {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
    background: var(--white);
}

.coupon-form button {
    padding: 10px 20px;
    background: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.coupon-form button:hover {
    opacity: 0.85;
}

/* Checkout: field hints */
.field-hint {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
    display: block;
    line-height: 1.4;
}

/* Checkout: payment method icons */
.payment-method-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.payment-method-icon img {
    height: 22px;
    width: auto;
    border-radius: 3px;
}

.payment-method-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

/* Checkout: trust anchor SVG icons */
.trust-anchor-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.trust-anchor-icon svg {
    width: 18px;
    height: 18px;
    color: var(--text-light);
}

/* Checkout: phone link in trust anchor */
.trust-phone {
    color: var(--text-dark) !important;
    font-weight: 600;
    text-decoration: underline;
}

.trust-phone:hover {
    color: var(--brand-yellow-hover) !important;
}

/* ==========================================================================
   X. SPECIFIC FIXES (Cart & WP AutoP issues)
   ========================================================================== */

/* Hide mysterious whitespace and runaway p tags caused by wpautop in cart */
.woocommerce-cart .woocommerce>p:has(script),
.woocommerce-cart .woocommerce>p:empty,
.woocommerce-cart .woocommerce>p:last-child,
.woocommerce-cart .woocommerce>br,
.woocommerce-cart .cart-grid>br,
.woocommerce-cart form>br,
.woocommerce-cart .cart-items br {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* Hide the default theme page header specifically on the cart page */
.woocommerce-cart .page-header,
.woocommerce-cart h1.entry-title {
    display: none !important;
}

/* Force container width over Elementor defaults */
.woocommerce-cart .elementor-section.elementor-section-boxed>.elementor-container {
    max-width: 1350px !important;
    width: 100%;
}

/* ==========================================================================
   Y. CHECKOUT PAGE SPECIFIC FIXES
   ========================================================================== */

/* Hide the "Zaključek nakupa" Elementor heading section */
.woocommerce-checkout .elementor-element-7ebe15c {
    display: none !important;
}

/* Remove default page title on checkout */
.woocommerce-checkout .page-header,
.woocommerce-checkout h1.entry-title {
    display: none !important;
}

/* Expand Elementor container on checkout to allow 2-col grid */
.woocommerce-checkout .elementor-section.elementor-section-boxed>.elementor-container,
.woocommerce-checkout .elementor-widget-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Checkout container */
.woocommerce-checkout .checkout-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 5% 60px;
}

/* ── Checkout header: h1 on left, back-link below it ── */
.woocommerce-checkout .checkout-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
}

.woocommerce-checkout .checkout-header h1 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 10px 0;
    color: var(--text-dark);
    font: inter;
    box-sizing: border-box;
}

.woocommerce-checkout .checkout-header .continue-shopping {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    display: inline-block;
    transition: color 0.2s;
    text-decoration: none;
}

.woocommerce-checkout .checkout-header .continue-shopping:hover {
    color: var(--text-dark);
}

/* ── 2-column grid ──
   .summary-section is a sibling of .checkout-grid inside form.checkout,
   so we make form.checkout the grid container. */
.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 48px;
    align-items: start;
}

/* checkout-grid passes through so its single-child div is column 1 */
.woocommerce-checkout .checkout-grid {
    display: contents !important;
}

/* Summary section: always column 2, sticky */
.woocommerce-checkout form.checkout .summary-section {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 40px;
}

/* Hide WordPress wpautop junk */
.woocommerce-checkout .woocommerce>p:has(script),
.woocommerce-checkout .woocommerce>p:empty,
.woocommerce-checkout .woocommerce>br,
.woocommerce-checkout form>br {
    display: none !important;
    margin: 0 !important;
    height: 0 !important;
}

/* ══════════════════════════════════════════════
   PAYMENT METHODS — rebuilt from scratch
   ══════════════════════════════════════════════ */

/* Remove list styling */
.woocommerce-checkout .wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Each payment method item */
.woocommerce-checkout .wc_payment_method {
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
}

/* The clickable label row */
.woocommerce-checkout .wc_payment_method label.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: border-color 0.2s, background 0.2s;
    margin: 0;
    line-height: 1.4;
    /* Remove any default label styling */
    text-decoration: none !important;
    box-shadow: none !important;
}

.woocommerce-checkout .wc_payment_method label.payment-method:hover {
    border-color: #9CA3AF;
}

.woocommerce-checkout .wc_payment_method label.payment-method.active {
    border-color: var(--text-dark);
    background: var(--white);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Radio button — reset and style */
.woocommerce-checkout .wc_payment_method .input-radio {
    appearance: auto;
    -webkit-appearance: radio;
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    margin: 0;
    accent-color: var(--text-dark);
    flex-shrink: 0;
}

/* Payment method icon */
.woocommerce-checkout .wc_payment_method .payment-method-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.woocommerce-checkout .wc_payment_method .payment-method-icon img,
.woocommerce-checkout .wc_payment_method .payment-method-icon svg {
    height: 22px;
    width: auto;
    display: block;
}

/* Payment box — only shown for active/selected gateway */
.woocommerce-checkout .payment_box {
    padding: 16px;
    padding-top: 45px;
    background: var(--bg-light);
    border: 1px solid var(--text-dark);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 8px;
}

/* ── Stripe UPE (Payment Element) specific ── */

/* The fieldset wrapping the Stripe UPE element — remove default fieldset styling */
.woocommerce-checkout #wc-stripe-upe-form {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Empty saved-cards UL — hide */
.woocommerce-checkout .wc-saved-payment-methods:empty {
    display: none !important;
}

/* The Stripe UPE element div — let it size naturally */
.woocommerce-checkout .wc-stripe-upe-element {
    min-height: unset !important;
}

/* All iframes inside payment box: full width, no min-height override */
.woocommerce-checkout .payment_box iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-height: unset !important;
    display: block;
    border: none;
}

/* Save new payment method row — hide unless needed */
.woocommerce-checkout .woocommerce-SavedPaymentMethods-saveNew {
    display: none !important;
}

/* ── PayPal & bank-transfer: they redirect, no form fields needed ── */
/* Hide their payment_box entirely (it's empty or just a description) */
.woocommerce-checkout .payment_method_paypal .payment_box,
.woocommerce-checkout .payment_method_ppec_paypal .payment_box,
.woocommerce-checkout .payment_method_bacs .payment_box {
    display: none !important;
}

/* Show BACS/PayPal box if they are actively selected and have real content */
.woocommerce-checkout .payment_method_bacs .payment_box:not(:empty),
.woocommerce-checkout .payment_method_ppec_paypal .payment_box:not(:empty) {
    display: block !important;
}

/* Remove stray empty paragraphs from any payment box */
.woocommerce-checkout .payment_box>p:empty,
.woocommerce-checkout .payment_box>fieldset:empty {
    display: none !important;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .woocommerce-checkout form.checkout.woocommerce-checkout {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .woocommerce-checkout form.checkout .summary-section {
        position: static !important;
        order: -1;
    }
}

/* ==========================================================================
   11. SINGLE PRODUCT REDESIGN
   ========================================================================== */
.single-product .pdp-page {
    background:
        radial-gradient(circle at top left, rgb(239 244 255 / 18%), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #f3f4f6 100%);
}

body.single-product {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.single-product .pdp-container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 48px;
}

.single-product .pdp-breadcrumb {
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.single-product .pdp-breadcrumb .woocommerce-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.single-product .pdp-breadcrumb a {
    color: var(--text-dark);
    font-weight: 600;
}

.single-product .pdp-hero,
.single-product .pdp-content-grid {
    display: grid;
    gap: 20px;
}

.single-product .pdp-main-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-width: 0;
    width: 100%;
}

.single-product .pdp-main-column > .pdp-tabs-card {
    margin-top: 0;
}

.single-product .pdp-summary-card,
.single-product .pdp-specs-section,
.single-product .pdp-tabs-card,
.single-product .pdp-support-card,
.single-product .pdp-faq-section {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(10px);
}

.single-product .pdp-summary-entry form.variations_form .reset_variations {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 10px;
    display: inline-block;
    text-decoration: underline;
}

.single-product .pdp-gallery-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
}

.single-product .pdp-summary-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    width: 100%;
}

.single-product .pdp-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single-product .pdp-category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    max-width: 100%;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.22);
    color: #8a5a00;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-wrap: balance;
    text-transform: uppercase;
}

.single-product .pdp-summary-card {
    padding: 20px;
    display: grid;
    gap: 22px;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

.single-product .pdp-summary-entry,
.single-product .pdp-gallery-card .images,
.single-product .pdp-gallery-card .summary {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    max-width: 100%;
}

.single-product .pdp-summary-entry>*:first-child {
    margin-top: 0;
}

.single-product .pdp-summary-entry>* {
    min-width: 0;
}

.single-product .pdp-summary-entry .product_title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.single-product .pdp-summary-entry .woocommerce-product-rating {
    margin: 0 0 14px;
}

.single-product .pdp-summary-entry .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--text-dark);
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.1;
}

.single-product .pdp-summary-entry .price del {
    color: var(--text-light);
    font-size: 0.7em;
    font-weight: 600;
    text-decoration-thickness: 2px;
}

.single-product .pdp-summary-entry .price ins {
    color: var(--text-dark);
    text-decoration: none;
}

.single-product .pdp-summary-entry .price .woocommerce-price-suffix {
    color: var(--text-light);
    font-size: 0.42em;
    font-weight: 700;
    letter-spacing: 0;
}

.single-product .pdp-summary-entry .woocommerce-product-details__short-description {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.single-product .pdp-summary-entry .woocommerce-product-details__short-description>*:first-child {
    margin-top: 0;
}

.single-product .pdp-summary-entry .woocommerce-product-details__short-description>*:last-child {
    margin-bottom: 0;
}

.single-product .pdp-summary-entry .woocommerce-product-details__short-description p {
    margin: 0;
}

.single-product .pdp-summary-entry .woocommerce-product-details__short-description ul {
    display: grid;
    gap: 10px;
    margin: 0;
}

.single-product .pdp-summary-entry .woocommerce-product-details__short-description li {
    position: relative;
    padding-left: 18px;
}

.single-product .pdp-summary-entry .woocommerce-product-details__short-description li::before {
    content: '';
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-yellow);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
}

.single-product .pdp-summary-entry form.cart {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    min-width: 0;
    width: 100%;
}

.single-product .pdp-summary-entry form.cart div.quantity,
.single-product .pdp-summary-entry form.cart .quantity {
    margin: 0;
}

.single-product .pdp-summary-entry form.cart > .quantity,
.single-product .pdp-summary-entry .wc-pao-addon-container,
.single-product .pdp-summary-entry #product-addons-total,
.single-product .pdp-summary-entry .ppc-button-wrapper,
.single-product .pdp-summary-entry .product_meta {
    padding: 16px !important;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.95);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.single-product .pdp-summary-entry form.cart .qty {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

.single-product .pdp-summary-entry form.cart .qty::-webkit-outer-spin-button,
.single-product .pdp-summary-entry form.cart .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Quantity selector with +/- buttons — use .quantity itself as flex container */
.single-product .pdp-summary-entry form.cart .quantity.qty-initialized {
    display: flex;
    align-items: stretch;
    height: 54px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.single-product .pdp-summary-entry form.cart .quantity.qty-initialized .qty {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: 0;
    background: transparent;
    text-align: center;
    -moz-appearance: textfield;
}

.single-product .pdp-summary-entry form.cart .quantity.qty-initialized .qty::-webkit-outer-spin-button,
.single-product .pdp-summary-entry form.cart .quantity.qty-initialized .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single-product .pdp-summary-entry form.cart .qty-btn {
    flex: 0 0 38px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f8fafc;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
    user-select: none;
}

.single-product .pdp-summary-entry form.cart .qty-btn:hover {
    background: #f3f4f6;
}

.single-product .pdp-summary-entry form.cart .qty-btn:active {
    background: #e5e7eb;
}

.single-product .pdp-summary-entry form.cart button.single_add_to_cart_button,
.single-product .pdp-summary-entry form.cart .single_add_to_cart_button,
.single-product .pdp-support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.single-product .pdp-summary-entry form.cart button.single_add_to_cart_button:hover,
.single-product .pdp-summary-entry form.cart .single_add_to_cart_button:hover,
.single-product .pdp-support-link:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
    box-shadow: 0 20px 38px rgba(245, 158, 11, 0.28);
}

.single-product .pdp-summary-entry form.variations_form table.variations {
    margin: 0 0 20px;
    border: 0 !important;
    border-collapse: collapse;
    border-spacing: 0;
    box-shadow: none !important;
    width: 100%;
}

.single-product .pdp-summary-entry form.variations_form table.variations tbody {
    border: 0 !important;
}

.single-product .pdp-summary-entry form.variations_form tr {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    border: 0 !important;
}

.single-product .pdp-summary-entry form.variations_form th {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 700;
    border: 0 !important;
}

.single-product .pdp-summary-entry form.variations_form td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0 !important;
}

.single-product .pdp-summary-entry form.variations_form select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

.single-product .pdp-summary-entry .stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 600;
}

.single-product .pdp-summary-entry .stock::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.single-product .pdp-summary-entry .out-of-stock::before {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
}

.single-product .pdp-summary-entry .product_meta {
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.95);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
    color: var(--text-light);
    font-size: 0.875rem;
    display: grid;
    gap: 6px;
}

.single-product .pdp-summary-entry .product_meta .posted_in {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.single-product .pdp-summary-entry .product_meta .sku_wrapper + .posted_in {
    display: none;
}

.single-product .pdp-summary-entry .product_meta a {
    color: var(--text-dark);
    font-weight: 600;
}

.single-product .pdp-summary-entry .ppc-button-wrapper,
.single-product .pdp-summary-entry iframe,
.single-product .pdp-summary-entry #payment {
    width: 100% !important;
    max-width: 100% !important;
}

.single-product .pdp-summary-entry .ppc-button-wrapper {
    margin-top: 14px;
}

.single-product .pdp-pricing-note {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.05);
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.55;
}

.single-product .pdp-summary-entry .wc-pao-addons-container {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.single-product .pdp-summary-entry .wc-pao-addon-container {
    display: grid;
    gap: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    box-sizing: border-box;
}

.single-product .pdp-summary-entry .wc-pao-addon-name {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.4;
}

.single-product .pdp-summary-entry .wc-pao-addon-name .required {
    color: #8a5a00;
}

.single-product .pdp-summary-entry .wc-pao-addon-description p {
    margin: 0 0 12px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.single-product .pdp-summary-entry .wc-pao-addon-wrap {
    margin: 0 !important;
}

.single-product .pdp-summary-entry .wc-pao-addon-checkbox-group-required {
    display: grid;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.single-product .pdp-summary-entry .wc-pao-addon-wrap label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid rgba(229, 231, 235, 0.95);
    color: var(--text-dark);
    line-height: 1.55;
    min-width: 0;
    width: 100%;
    overflow-wrap: normal;
    word-break: normal;
}

.single-product .pdp-summary-entry .wc-pao-addon-wrap label span,
.single-product .pdp-summary-entry .wc-pao-addon-wrap label small,
.single-product .pdp-summary-entry .wc-pao-addon-wrap label .amount {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.single-product .pdp-summary-entry .wc-pao-addon-wrap input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #111827;
}

.single-product .pdp-summary-entry .wc-pao-addon-select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text-dark);
    font-size: 1rem;
}

.single-product .pdp-summary-entry #product-addons-total {
    margin-top: 2px;
    background: linear-gradient(180deg, #fff8e7 0%, #fffdf7 100%);
    border-color: rgba(245, 158, 11, 0.22);
    color: var(--text-dark);
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
}

.single-product .pdp-summary-entry #product-addons-total:empty {
    display: none;
}

.single-product .pdp-summary-entry #product-addons-total,
.single-product .pdp-summary-entry #product-addons-total * {
    color: inherit;
}

.single-product .pdp-summary-entry #product-addons-total .price,
.single-product .pdp-summary-entry #product-addons-total .amount {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.single-product .pdp-summary-entry #product-addons-total ul,
.single-product .pdp-summary-entry #product-addons-total ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-product .pdp-summary-entry #product-addons-total li,
.single-product .pdp-summary-entry #product-addons-total p,
.single-product .pdp-summary-entry #product-addons-total dl {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 8px 0;
}

.single-product .pdp-summary-entry #product-addons-total li + li,
.single-product .pdp-summary-entry #product-addons-total p + p,
.single-product .pdp-summary-entry #product-addons-total dl + dl {
    border-top: 1px solid rgba(245, 158, 11, 0.16);
}

.single-product .pdp-summary-entry #product-addons-total strong,
.single-product .pdp-summary-entry #product-addons-total b,
.single-product .pdp-summary-entry #product-addons-total [class*="col1"],
.single-product .pdp-summary-entry #product-addons-total [class*="label"] {
    color: var(--text-light) !important;
    font-weight: 700;
}

.single-product .pdp-summary-entry #product-addons-total [class*="col2"],
.single-product .pdp-summary-entry #product-addons-total .amount,
.single-product .pdp-summary-entry #product-addons-total .price {
    color: var(--text-dark) !important;
    font-weight: 800;
}

.single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry form.cart {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
}

.single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry form.cart > * {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
}

.single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry form.cart > .wc-pao-addons-container,
.single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry form.cart > #product-addons-total {
    grid-column: 1 / -1 !important;
}

.single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry form.cart > .quantity {
    order: 20;
}

.single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry form.cart > .single_add_to_cart_button,
.single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry form.cart > button.single_add_to_cart_button {
    order: 21;
    min-height: 54px;
    width: 100% !important;
}

.single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry form.cart > .quantity .qty {
    width: 100% !important;
}

.single-product .pdp-reassurance-grid {
    display: grid;
    gap: 12px;
}

.single-product .pdp-reassurance-item {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.single-product .pdp-reassurance-title {
    font-weight: 700;
    color: var(--text-dark);
}

.single-product .pdp-reassurance-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.55;
}

.single-product .pdp-fact-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.single-product .pdp-fact-card {
    display: grid;
    gap: 6px;
    min-height: 100px;
    padding: 16px;
    border-radius: 18px;
    background: #111827;
    color: #ffffff;
}

.single-product .pdp-fact-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.single-product .pdp-fact-value {
    font-size: 1rem;
    line-height: 1.4;
}

.single-product .pdp-specs-section,
.single-product .pdp-tabs-card,
.single-product .pdp-support-card,
.single-product .pdp-faq-section {
    margin-top: 20px;
    padding: 22px;
}

.single-product .pdp-section-heading {
    margin-bottom: 18px;
}

.single-product .pdp-section-heading h2,
.single-product .pdp-support-card h2 {
    margin: 0;
    font-size: clamp(1.45rem, 5vw, 2.2rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.single-product .pdp-eyebrow {
    margin: 0 0 8px;
    color: #8a5a00;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single-product .pdp-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.single-product .pdp-spec-card {
    display: grid;
    gap: 8px;
    min-height: 128px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.single-product .pdp-spec-label {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.4;
}

.single-product .pdp-spec-value {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-dark);
}

.single-product .pdp-tabs-card .woocommerce-tabs {
    margin: 0;
}

.single-product .pdp-tabs-card .woocommerce-tabs::after,
.single-product .pdp-tabs-card .woocommerce-tabs::before,
.single-product .pdp-tabs-card .woocommerce-tabs ul.tabs::after,
.single-product .pdp-tabs-card .woocommerce-tabs ul.tabs::before {
    display: none !important;
}

.single-product .pdp-tabs-card .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 0;
    padding: 0 0 8px;
    border: none;
}

.single-product .pdp-tabs-card .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.single-product .pdp-tabs-card .woocommerce-tabs ul.tabs li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.single-product .pdp-tabs-card .woocommerce-tabs ul.tabs li.active a {
    background: #111827;
    color: #ffffff;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel {
    margin: 18px 0 0 !important;
    padding: 0;
    color: var(--text-light);
    line-height: 1.75;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel>*:first-child {
    margin-top: 0;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel iframe {
    display: block;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 18px;
    border: none;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel .wp-block-embed {
    margin: 20px 0;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel .wp-block-embed__wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel .wp-block-embed__wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    border-radius: 0;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel th,
.single-product .pdp-tabs-card .woocommerce-Tabs-panel td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.95);
    text-align: left;
    vertical-align: top;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel th {
    background: #f8fafc;
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.single-product .pdp-tabs-card .woocommerce-Tabs-panel tr:last-child td {
    border-bottom: none;
}

.single-product .pdp-support-card {
    display: grid;
    gap: 18px;
    align-content: start;
}

.single-product .pdp-support-intro {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

.single-product .pdp-support-list {
    display: grid;
    gap: 12px;
}

.single-product .pdp-support-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-dark);
    line-height: 1.6;
}

.single-product .pdp-support-list li::before {
    content: '';
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #111827;
}

.single-product .pdp-support-link {
    text-decoration: none;
}

.single-product .pdp-faq-section .pdp-section-heading {
    margin-bottom: 20px;
}

.single-product .faq-accordion {
    display: grid;
    gap: 12px;
}

.single-product .faq-accordion details {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.single-product .faq-accordion summary {
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.single-product .faq-accordion summary::after {
    color: var(--text-dark);
}

.single-product .faq-accordion details[open] summary::after {
    color: #8a5a00;
}

.single-product .faq-accordion .faq-answer {
    padding: 0 20px 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.single-product .pdp-gallery-card .woocommerce-product-gallery {
    position: relative;
    margin: 0 !important;
    opacity: 1 !important;
}

.single-product .pdp-gallery-card .onsale {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    min-width: auto;
    min-height: auto;
    margin: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.single-product .pdp-gallery-card .woocommerce-product-gallery__wrapper,
.single-product .pdp-gallery-card .woocommerce-product-gallery__image {
    border-radius: 20px;
}

.single-product .pdp-gallery-card .woocommerce-product-gallery__image {
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.single-product .pdp-gallery-card .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 12px;
}

.single-product .pdp-gallery-card .woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.single-product .pdp-gallery-card .woocommerce-product-gallery__trigger {
    top: 14px !important;
    right: 14px !important;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14);
}

.single-product .pdp-gallery-card .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    margin-left: 0;
    padding: 0;
    list-style: none;
}

.single-product .pdp-gallery-card .flex-control-thumbs li {
    width: 100%;
}

.single-product .pdp-gallery-card .flex-control-thumbs li::marker,
.single-product .pdp-gallery-card .flex-control-nav li::marker {
    content: '';
}

.single-product .pdp-gallery-card .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(229, 231, 235, 0.95);
    background: #ffffff;
    opacity: 0.7;
}

.single-product .pdp-gallery-card .flex-control-thumbs .flex-active {
    border-color: rgba(245, 158, 11, 0.35);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.25);
}

.single-product .pdp-gallery-card .flex-control-nav {
    margin-left: 0;
    padding: 0;
    list-style: none;
}

.single-product .pdp-gallery-card .flex-control-paging {
    display: none !important;
}

.single-product .pdp-mobile-dock {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 30;
    pointer-events: auto;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.single-product .pdp-mobile-dock.is-hidden {
    opacity: 0;
    transform: translateY(120%);
    visibility: hidden;
    pointer-events: none;
}

.single-product .pdp-mobile-dock__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
    backdrop-filter: blur(12px);
}

.single-product .pdp-mobile-dock__label {
    display: block;
    margin-bottom: 4px;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.single-product .pdp-mobile-dock__price {
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.single-product .pdp-mobile-dock__price del {
    color: var(--text-light);
    margin-right: 6px;
    font-size: 0.85em;
}

.single-product .pdp-mobile-dock__price ins {
    text-decoration: none;
}

.single-product .pdp-mobile-dock__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border: none;
    border-radius: 16px;
    background: #111827;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.single-product .pdp-mobile-dock__button[hidden] {
    display: none;
}

.single-product .pdp-mobile-dock__button--view-cart {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #111827;
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.28);
}

@media (min-width: 768px) {
    body.single-product {
        padding-bottom: 0;
    }

    .single-product .pdp-container {
        width: min(1240px, calc(100% - 48px));
        padding-top: 28px;
        padding-bottom: 56px;
    }

    .single-product .pdp-main-column,
    .single-product .pdp-summary-column {
        justify-self: stretch;
        align-self: start;
    }

    .single-product .pdp-summary-column {
        position: static;
    }

    .single-product .pdp-summary-card,
    .single-product .pdp-specs-section,
    .single-product .pdp-tabs-card,
    .single-product .pdp-support-card,
    .single-product .pdp-faq-section {
        border-radius: 28px;
    }

    .single-product .pdp-gallery-card {
        padding: 0;
    }

    .single-product .pdp-summary-card {
        padding: 28px;
    }

    .single-product .pdp-product:not(.pdp-has-product-addons) .pdp-summary-entry form.cart:not(.variations_form) {
        grid-template-columns: 110px minmax(0, 1fr);
        align-items: end;
    }

    .single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry form.cart {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry .wc-pao-addons-container {
        grid-column: 1 / -1;
    }

    .single-product .pdp-product.pdp-has-product-addons .pdp-summary-entry .single_add_to_cart_button {
        grid-column: 1 / -1;
    }

    .single-product .pdp-product:not(.pdp-has-product-addons) .pdp-summary-entry form.cart:not(.variations_form) {
        grid-template-columns: 110px minmax(0, 1fr);
        align-items: end;
    }

    .single-product .pdp-reassurance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .single-product .pdp-fact-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-flow: initial;
        grid-auto-columns: initial;
        overflow: visible;
    }

    .single-product .pdp-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .single-product .pdp-content-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
        gap: 24px;
        align-items: start;
    }

    .single-product .pdp-tabs-card,
    .single-product .pdp-support-card,
    .single-product .pdp-faq-section,
    .single-product .pdp-specs-section {
        margin-top: 24px;
        padding: 28px;
    }

    .single-product .pdp-tabs-card {
        margin-top: 0;
    }

    .single-product .pdp-mobile-dock {
        display: none;
    }
}

@media (min-width: 1100px) {
    .single-product .pdp-hero {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
        gap: 28px;
        align-items: start;
    }

    .single-product .pdp-summary-column {
        position: sticky;
        top: 24px;
    }

    .single-product .pdp-summary-entry .product_title {
        max-width: 12ch;
    }

    .single-product .pdp-content-grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.7fr);
        gap: 28px;
    }

    .single-product .pdp-support-card {
        position: sticky;
        top: 24px;
    }
}

/* ==========================================================================
   PRODUCT CARDS v2 — shared between archive (ul.products) and shortcode
   ========================================================================== */

/* ── Fix: WooCommerce clearfix ::before/::after become ghost grid items ── */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
.store-container ul.products::before,
.store-container ul.products::after {
    display: none !important;
    content: none !important;
}

/* ── Archive ul.products — responsive grid (overrides earlier static rules) ── */
.store-container ul.products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    float: none !important;
    width: 100% !important;
}
@media (min-width: 480px) {
    .store-container ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (min-width: 900px) {
    .store-container ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* ── li.product — reset WooCommerce float/clear/width that breaks grid ── */
.store-container ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    clear: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    align-self: stretch;
}
.store-container ul.products li.product .ppc-card,
.woocommerce ul.products li.product .ppc-card {
    height: 100%;
}

/* ── Shortcode responsive grid ── */
.ppc-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}
@media (min-width: 480px) {
    .ppc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .ppc-grid.ppc-cols-3,
    .ppc-grid.ppc-cols-4,
    .ppc-grid.ppc-cols-5,
    .ppc-grid.ppc-cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .ppc-grid.ppc-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .ppc-grid.ppc-cols-5 { grid-template-columns: repeat(5, 1fr); }
    .ppc-grid.ppc-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

/* ── Card shell ── */
.ppc-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(196, 198, 205, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.ppc-card:hover {
    box-shadow: 0 8px 32px rgba(24, 42, 64, 0.10);
    transform: translateY(-2px);
}

/* ── Image ── */
.ppc-image-wrap {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f4ff;
    flex-shrink: 0;
}
.ppc-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.ppc-card:hover .ppc-image-wrap img { transform: scale(1.04); }

/* ── Body ── */
.ppc-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.875rem 1rem 1rem;
    gap: 0.375rem;
}

/* ── Category ── */
.ppc-cats {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7c5800;
    line-height: 1.4;
}
.ppc-cats a { color: inherit; text-decoration: none; }

/* ── Title — always #182A40, never pink ── */
.ppc-title {
    font-family: 'Work Sans', 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    flex: 1;
    padding-bottom: 0.625rem;
}
.ppc-title a,
.ppc-title a:link,
.ppc-title a:visited {
    color: #182A40 !important;
    text-decoration: none;
    transition: color 0.18s ease;
}
.ppc-title a:hover { color: #02152b !important; }

/* ── Footer: price on top, button below, both full-width ── */
.ppc-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(196, 198, 205, 0.3);
    margin-top: auto;
}

/* ── Price ── */
.ppc-price {
    font-family: 'Work Sans', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #02152b;
}
.ppc-price del,
.ppc-price del .woocommerce-Price-amount {
    color: #74777d;
    font-weight: 400;
    font-size: 0.82rem;
    text-decoration: line-through;
}
.ppc-price ins { text-decoration: none; }

/* ── Add-to-cart button ── */
.ppc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.875rem;
    border-radius: 8px;
    font-family: 'Work Sans', 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    background: #02152b;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #02152b;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.ppc-btn:hover {
    background: #182a40;
    box-shadow: 0 4px 12px rgba(2, 21, 43, 0.18);
    color: #ffffff !important;
}
.ppc-btn.ppc-btn--outline {
    background: transparent;
    color: #02152b !important;
}
.ppc-btn.ppc-btn--outline:hover {
    background: #eff4ff;
    box-shadow: none;
}

/* ── Shortcode pagination ── */
.ppc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 2rem;
    font-family: 'Work Sans', 'Inter', sans-serif;
}
.ppc-pagination a,
.ppc-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid rgba(196, 198, 205, 0.5);
    color: #44474d;
    background: #fff;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.ppc-pagination a:hover {
    background: #eff4ff;
    border-color: #02152b;
    color: #02152b;
}
.ppc-pagination .ppc-pg-current {
    background: #02152b;
    color: #ffffff;
    border-color: #02152b;
}
.ppc-pagination .ppc-pg-dots {
    border: none;
    background: transparent;
    color: #74777d;
    cursor: default;
}

/* ── WooCommerce archive pagination ── */
.woocommerce nav.woocommerce-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.375rem;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    float: none !important;
}
.woocommerce nav.woocommerce-pagination ul li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    float: none !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    border-radius: 8px !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid rgba(196, 198, 205, 0.5) !important;
    color: #44474d;
    background: #fff !important;
    margin: 0 !important;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #eff4ff !important;
    border-color: #02152b !important;
    color: #02152b;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #02152b !important;
    color: #ffffff !important;
    border-color: #02152b !important;
}
.woocommerce nav.woocommerce-pagination ul li span.dots {
    border: none !important;
    background: transparent !important;
    color: #74777d !important;
    cursor: default;
}

/* ==========================================================================
   KLIMA SELECTION FUNNEL
   ========================================================================== */
.klima-funnel {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.klima-funnel *,
.klima-funnel *::before,
.klima-funnel *::after {
    box-sizing: border-box;
}

.klima-funnel__panel {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.14);
    padding: 32px;
}

.klima-funnel__top {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.klima-funnel__eyebrow,
.klima-funnel__step-count {
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.klima-funnel__progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--bg-light);
}

.klima-funnel__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--brand-yellow);
    transition: width 0.24s ease;
}

.klima-funnel h2 {
    margin: 8px 0 18px;
    color: var(--text-dark);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.15;
    letter-spacing: 0;
}

.klima-funnel__intro {
    max-width: 620px;
    margin: -4px 0 22px;
    color: var(--text-light);
    font-size: 0.98rem;
}

.klima-funnel__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.klima-funnel__option {
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.klima-funnel__option:hover,
.klima-funnel__option.is-selected {
    border-color: var(--brand-yellow);
    background: #FFFBEB;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22);
}

.klima-funnel__number {
    display: grid;
    gap: 10px;
    max-width: 360px;
    color: var(--text-dark);
    font-weight: 800;
}

.klima-funnel__number div {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
}

.klima-funnel__number input,
.klima-funnel__lead-form input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font: inherit;
    font-weight: 600;
    padding: 12px 14px;
}

.klima-funnel__number input {
    border: 0;
    border-radius: 0;
}

.klima-funnel__number strong {
    padding: 0 16px;
    color: var(--text-light);
}

.klima-funnel__lead-form {
    display: grid;
    gap: 14px;
    max-width: 520px;
}

.klima-funnel__lead-form label {
    display: grid;
    gap: 8px;
    margin: 0;
    color: var(--text-dark);
    font-weight: 800;
}

.klima-funnel__error {
    min-height: 22px;
    margin: 14px 0 0;
    color: var(--danger);
    font-size: 0.9rem;
    font-weight: 700;
}

.klima-funnel__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.klima-funnel__next,
.klima-funnel__back,
.klima-funnel__restart,
.klima-funnel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

.klima-funnel__next,
.klima-funnel__cta {
    border: 1px solid var(--text-dark);
    background: var(--text-dark);
    color: var(--white) !important;
}

.klima-funnel__next:hover,
.klima-funnel__cta:hover {
    background: #000;
    color: var(--white) !important;
}

.klima-funnel__back,
.klima-funnel__restart {
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
}

.klima-funnel__back:hover,
.klima-funnel__restart:hover {
    background: var(--bg-light);
}

.klima-funnel__lead-form.is-loading {
    opacity: 0.68;
    pointer-events: none;
}

.klima-funnel__result-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #FFFBEB;
    color: var(--text-dark);
    font-weight: 800;
}

.klima-funnel__result-note span {
    color: var(--text-light);
    font-size: 0.8rem;
}

.klima-funnel__result-note strong {
    color: var(--text-dark);
}

.klima-funnel__products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.klima-funnel__product {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(196, 198, 205, 0.5);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(2, 21, 43, 0.04);
}

.klima-funnel__product-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-light);
}

.klima-funnel__product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 12px;
}

.klima-funnel__product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.klima-funnel__product h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.98rem;
    line-height: 1.35;
    letter-spacing: 0;
}

.klima-funnel__product h3 a {
    color: inherit !important;
}

.klima-funnel__price {
    margin-top: auto;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 900;
}

.klima-funnel__empty {
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-light);
    font-weight: 600;
}

.klima-funnel__restart {
    margin-top: 20px;
}

@media (max-width: 760px) {
    .klima-funnel__panel {
        padding: 22px;
        border-radius: 10px;
    }

    .klima-funnel__options,
    .klima-funnel__products {
        grid-template-columns: 1fr;
    }

    .klima-funnel__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .klima-funnel__actions > *,
    .klima-funnel__next,
    .klima-funnel__back {
        width: 100%;
    }
}

/* Elementor popup hardening: keep global form/button styles out of the funnel. */
.elementor-popup-modal .klima-funnel,
.klima-funnel {
    max-width: 760px !important;
}

.elementor-popup-modal .klima-funnel__panel,
.klima-funnel .klima-funnel__panel {
    padding: clamp(22px, 4vw, 36px) !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__eyebrow,
.elementor-popup-modal .klima-funnel .klima-funnel__step-count,
.klima-funnel .klima-funnel__eyebrow,
.klima-funnel .klima-funnel__step-count {
    color: #6B7280 !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.08em !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__top,
.klima-funnel .klima-funnel__top {
    margin-bottom: 22px !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__progress,
.klima-funnel .klima-funnel__progress {
    height: 7px !important;
    background: #F3F4F6 !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__progress span,
.klima-funnel .klima-funnel__progress span {
    background: #FBBF24 !important;
}

.elementor-popup-modal .klima-funnel h2,
.klima-funnel .klima-funnel__panel h2 {
    margin: 10px 0 22px !important;
    color: #111827 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(1.75rem, 3.2vw, 2.625rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
}

.elementor-popup-modal .klima-funnel button,
.klima-funnel button {
    appearance: none !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
    outline-offset: 3px !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__options,
.klima-funnel .klima-funnel__options {
    gap: 14px !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__option,
.klima-funnel .klima-funnel__option {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 64px !important;
    padding: 16px 18px !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    color: #111827 !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__option:hover,
.elementor-popup-modal .klima-funnel .klima-funnel__option.is-selected,
.klima-funnel .klima-funnel__option:hover,
.klima-funnel .klima-funnel__option.is-selected {
    border-color: #FBBF24 !important;
    background: #FFFBEB !important;
    color: #111827 !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22) !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__actions,
.klima-funnel .klima-funnel__actions {
    margin-top: 22px !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__next,
.elementor-popup-modal .klima-funnel .klima-funnel__back,
.elementor-popup-modal .klima-funnel .klima-funnel__restart,
.elementor-popup-modal .klima-funnel .klima-funnel__cta,
.klima-funnel .klima-funnel__next,
.klima-funnel .klima-funnel__back,
.klima-funnel .klima-funnel__restart,
.klima-funnel .klima-funnel__cta {
    width: auto !important;
    min-width: 118px !important;
    min-height: 46px !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__next,
.elementor-popup-modal .klima-funnel .klima-funnel__cta,
.klima-funnel .klima-funnel__next,
.klima-funnel .klima-funnel__cta {
    border: 1px solid #111827 !important;
    background: #111827 !important;
    color: #FFFFFF !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__next:hover,
.elementor-popup-modal .klima-funnel .klima-funnel__cta:hover,
.klima-funnel .klima-funnel__next:hover,
.klima-funnel .klima-funnel__cta:hover {
    border-color: #000000 !important;
    background: #000000 !important;
    color: #FFFFFF !important;
}

.elementor-popup-modal .klima-funnel .klima-funnel__back,
.elementor-popup-modal .klima-funnel .klima-funnel__restart,
.klima-funnel .klima-funnel__back,
.klima-funnel .klima-funnel__restart {
    border: 1px solid #E5E7EB !important;
    background: #FFFFFF !important;
    color: #111827 !important;
}

.elementor-popup-modal .klima-funnel input,
.klima-funnel input {
    box-shadow: none !important;
    outline-color: #FBBF24 !important;
}

@media (max-width: 760px) {
    .elementor-popup-modal .klima-funnel h2,
    .klima-funnel .klima-funnel__panel h2 {
        font-size: 1.75rem !important;
    }

    .elementor-popup-modal .klima-funnel .klima-funnel__option,
    .klima-funnel .klima-funnel__option {
        min-height: 56px !important;
    }

    .elementor-popup-modal .klima-funnel .klima-funnel__next,
    .elementor-popup-modal .klima-funnel .klima-funnel__back,
    .klima-funnel .klima-funnel__next,
    .klima-funnel .klima-funnel__back {
        width: 100% !important;
    }
}
