/*
Theme Name: PackEmAll Theme
Theme URI: http://packemall.local
Author: PackEmAll
Author URI: http://packemall.local
Description: Custom theme for PackEmAll
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: packemall-theme
*/


/* ============================================================
   1. RESET & BASE
   ============================================================ */

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
}

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

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}


/* ============================================================
   2. LAYOUT UTILITIES
   ============================================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ── Barlow for all titles (closest free alternative to CYC's obvia) ── */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.product-card-title,
.vg-title,
.cat-card h3,
.why-us-text h2,
.cta-banner-text h2,
.newsletter-text h2,
.why-feature h4 {
    font-family: 'Barlow', sans-serif;
}


/* ============================================================
   3. TOP BAR
   ============================================================ */

.top-bar {
    background: #111827;
    color: #d1d5db;
    font-size: 0.8125rem;
    font-weight: 500;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: default;
    transition: color 0.15s ease;
}

.top-bar-item:hover {
    color: #fbbf24;
}

.top-bar-item svg {
    color: #fbbf24;
    flex-shrink: 0;
}

.top-bar-sep {
    color: #374151;
    user-select: none;
}

@media (max-width: 768px) {
    .top-bar-sep {
        display: none;
    }

    .top-bar-inner {
        gap: 6px 12px;
    }
}


/* ============================================================
   5. HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 12px;
}


/* ── 3a. Logo ── */

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

.header-logo img {
    height: 60px;
    width: auto;
}


/* ── 3b. Search bar ── */

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.header-search-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}

.header-search input[type="search"] {
    width: 100%;
    height: 44px;
    padding: 0 48px 0 40px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #f3f4f6;
    border: 1.5px solid transparent;
    border-radius: 8px;
    color: #111827;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
}

.header-search input[type="search"]:focus {
    background: #fff;
    border-color: #0057ff;
}

.header-search input[type="search"]::placeholder {
    color: #9ca3af;
}

.header-search button[type="submit"] {
    position: absolute;
    right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: none;
    background: #0057ff;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.header-search button[type="submit"]:hover {
    background: #0046d6;
}


/* ── 3c. Primary Nav ── */

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

.header-nav:not(:has(li)) {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #2c2c2c;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a:focus-visible {
    background: #f4f4f4;
    color: #000;
    outline: none;
}

.nav-menu li.current-menu-item > a,
.nav-menu li.current-page-ancestor > a {
    color: #0057ff;
}

/* Dropdown */
.nav-menu li ul {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 6px;
    z-index: 100;
}

.nav-menu li:hover > ul,
.nav-menu li:focus-within > ul {
    display: block;
}

.nav-menu li ul li a {
    padding: 8px 12px;
    font-size: 0.875rem;
    border-radius: 6px;
}


/* ── 3c. Review Badge ── */

.header-review-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    height: 42px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    transition: box-shadow 0.15s;
}

.header-review-badge:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.header-review-badge-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.header-review-badge-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.header-review-badge-score {
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    margin-left: 3px;
    line-height: 1;
}

.header-review-badge-count {
    font-size: 0.65rem;
    color: #6b7280;
    line-height: 1;
}


/* ── 3d. Header Actions: CTA + Hamburger ── */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    background: #0057ff;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1;
    border: none;
    border-radius: 8px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 87, 255, 0.3);
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
}

.btn-call:hover {
    background: #0046d6;
    box-shadow: 0 4px 14px rgba(0, 87, 255, 0.4);
}

.btn-giveaway {
    background: #ff6900;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 105, 0, 0.35);
}
.btn-giveaway:hover {
    background: #e05c00;
    box-shadow: 0 4px 14px rgba(255, 105, 0, 0.45);
    color: #fff;
}

.btn-call:active {
    background: #003ab8;
    transform: translateY(1px);
    box-shadow: 0 1px 4px rgba(0, 87, 255, 0.3);
}

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #2c2c2c;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger → X when active */
.hamburger.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   4. CATEGORY NAVIGATION BAR
   ============================================================ */

.category-nav {
    background: #1a1a2e;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 72px;
    z-index: 999;
}

.category-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.category-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-nav-menu > li {
    position: relative;
}

.category-nav-menu > li > a {
    display: block;
    padding: 13px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #c9d1e0;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
    letter-spacing: 0.01em;
}

.category-nav-menu > li > a:hover,
.category-nav-menu > li:focus-within > a {
    color: #fff;
    background: rgba(255,255,255,0.07);
}

/* Sale highlight */
.category-nav-sale > a {
    color: #fbbf24 !important;
}

.category-nav-sale > a:hover {
    color: #fff !important;
    background: #fbbf24 !important;
}

/* Live indicator */
.category-nav-live > a {
    display: flex;
    align-items: center;
    gap: 7px;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
}

/* Pulse only when live — add class "is-live" to <li> */
.category-nav-live.is-live .live-dot {
    background: #22c55e;
    animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
    50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* Dropdown */
.category-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 6px;
    z-index: 1000;
    list-style: none;
}

.has-dropdown:hover .category-dropdown,
.has-dropdown:focus-within .category-dropdown {
    display: block;
}

.category-dropdown li a {
    display: block;
    padding: 9px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    border-radius: 6px;
    transition: background 0.12s ease, color 0.12s ease;
}

.category-dropdown li a:hover {
    background: #f4f6ff;
    color: #0057ff;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .category-nav {
        display: none;
    }
}


/* ============================================================
   5. MAIN CONTENT AREA
   ============================================================ */

.site-main {
    min-height: 60vh;
}


/* ============================================================
   5. FOOTER
   ============================================================ */

.site-footer {
    background: #111827;
    color: #d1d5db;
    font-size: 0.9rem;
}


/* ── 5b. Footer Middle: Grid ── */

.footer-middle {
    padding: 48px 0;
    border-bottom: 1px solid #1f2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.footer-middle .container {
    max-width: 1400px;
}

.footer-newsletter-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
    margin-bottom: 16px;
}

.footer-col--contact {
    display: flex;
    flex-direction: column;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.footer-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0 12px;
    font-size: 0.8125rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.footer-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-form input[type="email"]:focus {
    border-color: #0057ff;
}

.footer-newsletter-form .btn {
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    font-size: 0.8125rem;
}

.footer-col-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 16px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu li a {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.footer-menu li a:hover {
    color: #fff;
}


/* ── 5c. Contact Column ── */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #9ca3af;
    line-height: 1.5;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #6b7280;
}

.footer-contact a {
    color: #9ca3af;
    transition: color 0.15s ease;
}

.footer-contact a:hover {
    color: #fff;
}


/* ── 5d. Social Icons ── */

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #1f2937;
    color: #9ca3af;
    transition: background 0.15s ease, color 0.15s ease;
}

.footer-social a:hover {
    background: #0057ff;
    color: #fff;
}

.footer-social a[aria-label="YouTube"]:hover {
    background: #1f2937;
    color: #ff0000;
}


/* ── 5e. Payment icons (in newsletter column) ── */

.footer-payments-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pm-badge {
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: transform 0.15s, box-shadow 0.15s;
    opacity: 0.85;
}

.pm-badge svg {
    display: block;
    width: 34px;
    height: 22px;
}

.pm-badge:hover {
    opacity: 1;
    transform: translateY(-1px);
}


/* ── 5f. Footer Bottom Bar ── */

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: #6b7280;
    transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
    color: #d1d5db;
}


/* ============================================================
   6. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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


/* ============================================================
   7. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {

    /* Header */
    .header-inner {
        height: 64px;
        gap: 8px;
    }

    /* Logo — shrink on mobile */
    .header-logo img {
        height: 42px;
    }

    /* Hide review badge — too wide for mobile header */
    .header-review-badge {
        display: none;
    }

    /* Hide giveaway button — save header space; accessible via nav */
    .btn-giveaway {
        display: none;
    }

    /* Reduce header actions gap */
    .header-actions {
        gap: 6px;
    }

    /* Show hamburger, hide nav by default */
    .hamburger {
        display: flex;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        padding: 12px 16px 16px;
        justify-content: flex-start;
        z-index: 999;
    }

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

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: 100%;
    }

    .nav-menu li a {
        padding: 12px 14px;
        font-size: 1rem;
    }

    /* Dropdowns — inline on mobile */
    .nav-menu li ul {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        background: #f8f8f8;
        border-radius: 6px;
        margin-top: 4px;
        padding: 4px;
    }

    .nav-menu li:hover > ul,
    .nav-menu li:focus-within > ul {
        display: block;
    }

    /* Hide CTA text on small screens, keep icon */
    .btn-call span {
        display: none;
    }

    .btn-call {
        padding: 10px 12px;
        min-width: 40px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Products container — reduce heavy desktop padding */
    .products .container {
        padding: 24px 16px 32px;
    }

    /* Single product — ensure full-width CTA */
    .sp-btn-order {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================================
   8. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .footer-middle {
        padding: 32px 0;
    }

    /* Logo — further shrink on small phones */
    .header-logo img {
        height: 36px;
    }

    /* Top bar — show only first item on very small screens */
    .top-bar-item:not(:first-child) {
        display: none;
    }

    /* Hero — reduce padding */
    .hero {
        padding: 48px 0 40px;
    }

    /* Categories — tighter on small screens */
    .categories {
        padding: 40px 0;
    }

    /* Why us */
    .why-us {
        padding: 40px 0;
    }

    /* Newsletter email: remove min-width so it doesn't overflow */
    .newsletter-form input[type="email"] {
        min-width: 0;
        width: 100%;
    }
}


/* ============================================================
   9. HOMEPAGE — SHARED
   ============================================================ */

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

/* Section shared styles */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 36px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 10px;
}

.section-sub {
    font-size: 1rem;
    color: #6b7280;
    max-width: 540px;
    margin: 0 auto;
}

.section-header--row .section-sub {
    margin: 0;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0057ff;
    margin-bottom: 12px;
}

/* Shared buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
                box-shadow 0.15s ease, transform 0.1s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: #0057ff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 87, 255, 0.28);
}

.btn-primary:hover {
    background: #0046d6;
    box-shadow: 0 4px 16px rgba(0, 87, 255, 0.38);
}

.btn-outline {
    background: transparent;
    color: #0057ff;
    border-color: #0057ff;
}

.btn-outline:hover {
    background: #f0f5ff;
}

.btn-white {
    background: #fff;
    color: #0057ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
    background: #f0f5ff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}


/* ============================================================
   10. HOMEPAGE — HERO
   ============================================================ */

.hero {
    background: linear-gradient(135deg, #0a0f2e 0%, #0c1a5e 50%, #0a2480 100%);
    color: #fff;
    padding: 96px 0 80px;
    overflow: hidden;
    position: relative;
}

/* Subtle background texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(0, 87, 255, 0.15) 0%, transparent 60%),
                      radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #e0e7ff;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #fff;
}

.hero-title-accent {
    color: #fbbf24;
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #a5b4fc;
    max-width: 500px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 11px 18px;
    font-size: 0.875rem;
}

.hero-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Hero visual: stacked card decorations */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-stack {
    position: relative;
    width: 240px;
    height: 340px;
}

.hero-card {
    position: absolute;
    width: 160px;
    height: 224px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-card--1 {
    background: linear-gradient(135deg, #9a3d28, #B94F36);
    top: 20px;
    left: 60px;
    transform: rotate(-8deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-card--2 {
    background: linear-gradient(135deg, #2a3868, #394b85);
    top: 50px;
    left: 30px;
    transform: rotate(-2deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-card--3 {
    background: linear-gradient(135deg, #c47e00, #E49E00);
    top: 80px;
    left: 0;
    transform: rotate(5deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


/* ============================================================
   11. HOMEPAGE — CATEGORIES
   ============================================================ */

.categories {
    padding: 88px 0;
    background: #fff;
}

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

.cat-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border: 1.5px solid #e8e8e8;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.cat-card:hover {
    border-color: #0057ff;
    box-shadow: 0 8px 30px rgba(0, 87, 255, 0.12);
    transform: translateY(-3px);
}

.cat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: background 0.15s ease;
}

.cat-card--booster  .cat-card-icon { background: #eff6ff; color: #2563eb; }
.cat-card--etb      .cat-card-icon { background: #fef3c7; color: #d97706; }
.cat-card--promo    .cat-card-icon { background: #fdf2f8; color: #db2777; }
.cat-card--sleeves  .cat-card-icon { background: #ecfdf5; color: #059669; }
.cat-card--storage  .cat-card-icon { background: #f5f3ff; color: #7c3aed; }
.cat-card--other    .cat-card-icon { background: #fff7ed; color: #ea580c; }

.cat-card:hover .cat-card-icon {
    background: #0057ff;
    color: #fff;
}

.cat-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.cat-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.cat-card-link {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0057ff;
}


/* ============================================================
   13. HOMEPAGE — BESTSELLERS / PRODUCTS
   ============================================================ */

.products {
    padding: 88px 0;
    background: #f8faff;
}

.products .container {
    max-width: 1500px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 100px -8px rgba(0, 87, 255, 0.08), 0 2px 24px rgba(0, 0, 0, 0.04);
    padding: 36px 32px 44px;
}

/* ── Bestsellers tabs toolbar ── */

.bs-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bs-tab {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bs-tab:hover {
    border-color: #0057ff;
    color: #0057ff;
}

.bs-tab.is-active {
    background: #0057ff;
    border-color: #0057ff;
    color: #fff;
}

.bs-sep {
    display: block;
    flex-shrink: 0;
    width: 1px;
    height: 18px;
    background: #e5e7eb;
}

.bs-count {
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    white-space: nowrap;
}

.bs-spacer {
    flex: 1;
}

.bs-browse {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
}

.bs-browse:hover { color: #0057ff; }

.bs-browse svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.bs-panel {
    display: none;
}

.bs-panel.is-active {
    display: block;
}

.bs-seo {
    margin-bottom: 20px;
    max-width: 720px;
}

.bs-seo p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #6b7280;
}

/* Sale price display */

.product-card-price .product-price-old {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: line-through;
    line-height: 1.2;
}

.product-card-price .product-price-new {
    display: block;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #ff6900;
    line-height: 1.2;
}

/* ── Carousel ── */

.carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 8px;
    padding-bottom: 8px;
    flex: 1;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track .product-card {
    flex: 0 0 calc(22% - 15px);
    min-width: 200px;
    scroll-snap-align: start;
}

.carousel-track .product-card-image {
    height: 168px;
}

.carousel-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #e8e8e8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111827;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    z-index: 1;
}

.carousel-btn:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.product-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: vg-card-in 0.35s ease forwards;
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.product-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.product-card .btn,
.product-card .btn-meer-info {
    position: relative;
    z-index: 2;
}

.product-card:nth-child(1) { animation-delay: 0.04s; }
.product-card:nth-child(2) { animation-delay: 0.08s; }
.product-card:nth-child(3) { animation-delay: 0.12s; }
.product-card:nth-child(4) { animation-delay: 0.16s; }
.product-card:nth-child(5) { animation-delay: 0.20s; }
.product-card:nth-child(6) { animation-delay: 0.24s; }
.product-card:nth-child(7) { animation-delay: 0.28s; }
.product-card:nth-child(8) { animation-delay: 0.32s; }

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #E49E00;
    transform: translateY(-3px);
}

.product-card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #e8edf8 0%, #d1d9f0 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 12px;
    overflow: hidden;
}

.product-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.35s ease;
}

.product-card-image-hover {
    opacity: 0;
}

.product-card:hover .product-card-image-hover {
    opacity: 1;
}

/* Fade out primary only when a hover image actually exists */
.product-card:hover .product-card-image:has(.product-card-image-hover) img:not(.product-card-image-hover) {
    opacity: 0;
}

/* Zoom in when there is only one image (no hover image) */
.product-card:hover .product-card-image img:only-of-type {
    transform: scale(1.07);
}

.product-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-badge--new     { background: #0057ff; color: #fff; }
.product-badge--sale    { background: #ef4444; color: #fff; }
.product-badge--limited { background: #f59e0b; color: #fff; }
.product-badge--soldout { background: #6b7280; color: #fff; }

.product-badge--pinned {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.product-card--soldout .product-card-image {
    opacity: 0.6;
}

.btn-meer-info {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #888;
    box-shadow: none;
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
}

.btn-meer-info:hover {
    background: none;
    color: #0057ff;
}

.product-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-card-cat {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}

.product-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    flex: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.product-card-footer .btn {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 12px;
    min-height: 32px;
    white-space: nowrap;
}

.product-card-price {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #ff6900;
    white-space: nowrap;
}


/* ============================================================
   14. HOMEPAGE — VIDEO GALLERY
   ============================================================ */

.video-gallery {
    padding: 88px 0;
    background: #fff;
}

/* Tabs */
.vg-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
    border-bottom: 2px solid #e8e8e8;
    padding-bottom: 0;
}

.vg-tab {
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.vg-tab:hover {
    color: #111827;
}

.vg-tab.is-active {
    color: #0057ff;
    border-bottom-color: #0057ff;
}

/* Panel */
.vg-panel {
    display: none;
}

.vg-panel.is-active {
    display: block;
}

/* Grid */
.vg-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vg-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    padding-top: 8px;
    padding-bottom: 8px;
}

.vg-track::-webkit-scrollbar {
    display: none;
}

.vg-track .vg-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
    height: 420px;
    scroll-snap-align: start;
}

/* Card */
.vg-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    opacity: 0;
    transform: translateY(10px);
    animation: vg-card-in 0.35s ease forwards;
    transition: box-shadow 0.24s, transform 0.24s, border-color 0.24s;
}

.vg-card:nth-child(1) { animation-delay: 0.04s; }
.vg-card:nth-child(2) { animation-delay: 0.08s; }
.vg-card:nth-child(3) { animation-delay: 0.12s; }
.vg-card:nth-child(4) { animation-delay: 0.16s; }

@keyframes vg-card-in {
    to { opacity: 1; transform: translateY(0); }
}

.vg-card:hover {
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    border-color: #E49E00;
    transform: translateY(-2px);
}

.vg-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E49E00, #f5c842);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    border-radius: 12px 12px 0 0;
}

.vg-card:hover::before {
    transform: scaleX(1);
}

/* Thumbnail — mirrors .product-card-image */
.vg-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #111827;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.vg-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.vg-card:hover .vg-thumb img {
    transform: scale(1.04);
    opacity: 0.85;
}

/* Play button — white circle with CSS triangle */
.vg-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    z-index: 3;
    transition: transform 0.24s, background 0.24s;
}

.vg-play svg {
    display: none;
}

.vg-play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #E49E00;
    transition: border-left-color 0.24s;
}

.vg-card:hover .vg-play {
    background: #E49E00;
    transform: translate(-50%, -50%) scale(1.08);
}

.vg-card:hover .vg-play::after {
    border-left-color: #fff;
}

/* Card body */
.vg-body {
    padding: 13px 13px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    min-height: 130px;
}

.vg-eyebrow {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #888;
}

.vg-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vg-description {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vg-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.vg-meta li {
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #888;
    background: #f5f7fa;
    border-radius: 6px;
}

.vg-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.vg-footer .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 12px;
    min-height: 32px;
}

.vg-footer .btn-outline {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-left: auto;
    background: none;
    border: none;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #888;
    box-shadow: none;
    border-radius: 0;
}

.vg-footer .btn-outline:hover {
    background: none;
    color: #0057ff;
}

.vg-footer .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Placeholder cards */
.vg-thumb--placeholder {
    cursor: default;
    background: #f3f4f6;
}

.vg-thumb--placeholder .vg-placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    color: #9ca3af;
}

.vg-coming-soon {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 900px) {
    .vg-track .vg-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .vg-track .vg-card {
        flex: 0 0 calc(100% - 0px);
    }

    .video-gallery {
        padding: 56px 0;
    }
}


/* ============================================================
   15. HOMEPAGE — WHY US
   ============================================================ */

.why-us {
    padding: 96px 0;
    background: #fff;
}

.why-us-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #111827;
    line-height: 1.15;
    margin-bottom: 20px;
}

.why-us-text p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 14px;
}

.why-us-text .btn {
    margin-top: 12px;
}

.why-us-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.why-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.why-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0057ff;
}

.why-feature h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.why-feature p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.55;
}


/* ============================================================
   15. HOMEPAGE — CTA BANNER
   ============================================================ */

.cta-banner {
    background: linear-gradient(135deg, #0057ff, #0ea5e9);
    padding: 64px 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-banner-text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.cta-banner-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.cta-banner-text strong {
    color: #fff;
}


/* ============================================================
   16. HOMEPAGE — NEWSLETTER
   ============================================================ */

.newsletter {
    padding: 80px 0;
    background: #111827;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.875rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: #9ca3af;
    font-size: 0.9375rem;
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.newsletter-form input[type="email"] {
    padding: 12px 18px;
    border: 1.5px solid #374151;
    border-radius: 8px;
    background: #1f2937;
    color: #fff;
    font-size: 0.9375rem;
    min-width: 280px;
    outline: none;
    transition: border-color 0.15s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: #6b7280;
}

.newsletter-form input[type="email"]:focus {
    border-color: #0057ff;
}


/* ============================================================
   17. HOMEPAGE RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

    .carousel-track .product-card {
        flex: 0 0 calc(50% - 10px);
    }

    .why-us-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}


/* ============================================================
   18. HOMEPAGE RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {
    .hero {
        padding: 64px 0 56px;
    }

    .categories {
        padding: 56px 0;
    }

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

    .products {
        padding: 56px 0;
    }

    .carousel-track .product-card {
        flex: 0 0 80vw;
        max-width: 300px;
    }

    .carousel-btn {
        display: none;
    }

    .section-header--row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .why-us {
        padding: 56px 0;
    }

    .why-us-features {
        grid-template-columns: 1fr;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        min-width: 0;
        width: 100%;
    }

    .newsletter-form .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================================
   PAGE TEMPLATE (page.php)
   ============================================================ */

/* ── Page Hero Banner ── */
.page-hero {
    background: #111827;
    padding: 48px 0 40px;
}

.page-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #9ca3af;
}

.page-breadcrumb a {
    color: #9ca3af;
    transition: color 0.15s;
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb span[aria-hidden] {
    color: #4b5563;
}

.page-hero-title {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

/* ── Page Content Area ── */
.page-content {
    padding: 64px 0 80px;
    background: #fff;
}

.page-article-wrap {
    max-width: 760px;
    margin: 0 auto;
}

/* ── Article Typography ── */
.page-article {
    color: #374151;
    font-size: 1rem;
    line-height: 1.75;
}

.page-article h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 2.25rem 0 0.75rem;
    padding-left: 14px;
    border-left: 3px solid #0057ff;
    line-height: 1.3;
}

.page-article h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin: 1.5rem 0 0.5rem;
}

.page-article p {
    margin-bottom: 1rem;
}

.page-article p:last-child {
    margin-bottom: 0;
}

.page-article a {
    color: #0057ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s;
}

.page-article a:hover {
    color: #0046d6;
}

.page-article ul,
.page-article ol {
    list-style: none;
    margin: 0.75rem 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page-article ul li {
    padding-left: 20px;
    position: relative;
    color: #374151;
}

.page-article ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0057ff;
}

.page-article ol {
    counter-reset: page-ol;
}

.page-article ol li {
    padding-left: 28px;
    position: relative;
    counter-increment: page-ol;
}

.page-article ol li::before {
    content: counter(page-ol) '.';
    position: absolute;
    left: 0;
    color: #0057ff;
    font-weight: 700;
    font-size: 0.875rem;
}

.page-article strong {
    color: #111827;
    font-weight: 600;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .page-hero {
        padding: 32px 0 28px;
    }

    .page-content {
        padding: 40px 0 56px;
    }

    .page-article h2 {
        font-size: 1.1rem;
    }
}

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */

.sp-wrap {
    padding: 56px 0 80px;
}

/* Two-column layout */
.sp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Image column ── */
.sp-image-col {
    align-self: start;
}

.sp-image-box {
    position: relative;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-family: 'Barlow', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff;
}

.product-badge--new    { background: #0057ff; }
.product-badge--sale   { background: #dc2626; }
.product-badge--limited,
.sp-badge.product-badge--limited { background: #7c3aed; }
.product-badge--soldout { background: #6b7280; }

.sp-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.sp-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    padding: 40px;
}

.sp-img-placeholder p {
    margin: 0;
    font-size: 0.875rem;
}

/* ── Details column ── */
.sp-details-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-cat-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0057ff;
    background: rgba(0, 87, 255, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
}

.sp-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

/* Price */
.sp-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-stock-qty {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #059669;
    background: #d1fae5;
    border-radius: 999px;
    padding: 4px 12px;
    white-space: nowrap;
}

.sp-stock-qty:empty {
    display: none;
}

.sp-stock-qty--low {
    color: #d97706;
    background: #fef3c7;
}

.sp-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-price-old {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.sp-price {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: #111827;
}

.sp-price--sale {
    color: #dc2626;
}

/* Short description */
.sp-short-desc {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.65;
}

.sp-short-desc p {
    margin: 0 0 8px;
}

.sp-short-desc p:last-child {
    margin-bottom: 0;
}

/* Stock status */
.sp-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    width: fit-content;
}

.sp-stock.in_stock {
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.sp-stock.out_of_stock {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.sp-stock.coming_soon {
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

/* Urgency banner */
.sp-urgency {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 10px 14px;
}

/* CTA */
.sp-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-btn-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 14px 28px;
}

.sp-btn-soldout,
.sp-btn-coming {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    cursor: not-allowed;
    background: #e5e7eb;
    color: #9ca3af;
}

/* Variation selectors */
.sp-variations-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.sp-variation-group {
    margin-bottom: 16px;
}

.sp-variation-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.sp-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-var-btn {
    padding: 8px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    line-height: 1.4;
}

.sp-var-btn:hover {
    border-color: #0057ff;
    color: #0057ff;
}

.sp-var-btn.is-active {
    border-color: #0057ff;
    background: #0057ff;
    color: #fff;
}

/* Payment icons */
.sp-payment {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-payment-label {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 600;
}

.sp-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sp-payment-icons .pm-badge {
    width: 44px;
    height: 30px;
}

/* Trust list */
.sp-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}

.sp-trust li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.4;
}

.sp-trust li svg {
    flex-shrink: 0;
    color: #16a34a;
    margin-top: 2px;
}

.sp-trust li strong {
    color: #111827;
}

/* ── Description tabs ── */
.sp-tabs-section {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    margin-top: 40px;
    padding-bottom: 64px;
}

.sp-tabs-wrap {
    padding-top: 0;
}

.sp-review-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #7c3aed;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle;
}

.sp-description {
    max-width: none;
}

.sp-description-card .sp-description h1,
.sp-description-card .sp-description h2,
.sp-description-card .sp-description h3,
.sp-description-card .sp-description h4,
.sp-description-card .sp-description h5,
.sp-description-card .sp-description h6 {
    color: #0057ff !important;
}

.sp-description-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 32px 24px;
    background: #fff;
}

.sp-description-preview {
    position: relative;
    max-height: 220px;
    overflow: hidden;
}

.sp-description-preview:not(.is-expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}

.sp-description-preview.is-expanded {
    max-height: none;
    overflow: visible;
}

.sp-desc-more-wrap {
    text-align: center;
    padding-top: 16px;
}

.sp-desc-toggle {
    border: 2px solid #111827;
    background: #fff;
    color: #111827;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    padding: 10px 32px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.sp-desc-toggle:hover {
    background: #111827;
    color: #fff;
}

/* Related products */
.sp-related-section {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 48px 0 64px;
}

.sp-related-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 28px;
}

.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.sp-related-section .shop-card-btn {
    font-size: 0.7rem;
    padding: 8px 8px;
    gap: 4px;
}

.sp-related-section .shop-card-btn svg {
    flex-shrink: 0;
    width: 13px;
    height: 13px;
}

@media (max-width: 1100px) {
    .sp-related-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
    .sp-related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .sp-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.sp-reviews-wrap .woocommerce-Reviews-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.sp-reviews-wrap .comment-form-rating label,
.sp-reviews-wrap .comment-form .comment-form-comment label,
.sp-reviews-wrap .comment-form .comment-form-author label,
.sp-reviews-wrap .comment-form .comment-form-email label {
    font-weight: 600;
    font-size: 0.875rem;
}

.sp-reviews-wrap .comment-form input[type="text"],
.sp-reviews-wrap .comment-form input[type="email"],
.sp-reviews-wrap .comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
}

.sp-reviews-wrap .comment-form .form-submit .submit {
    background: #0057ff;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
}

.sp-tabs {
    display: flex;
    gap: 0;
    justify-content: center;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 32px;
}

.sp-tab {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 24px;
    cursor: pointer;
    margin-bottom: -2px;
    transition: color 0.18s, border-color 0.18s;
}

.sp-tab:hover {
    color: #111827;
}

.sp-tab.is-active {
    color: #0057ff;
    border-bottom-color: #0057ff;
}

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

.sp-tab-panel.is-active {
    display: block;
}

/* ── Gallery thumbnails ── */
.sp-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.sp-thumb-btn {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s ease;
    flex-shrink: 0;
}

.sp-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-thumb-btn:hover,
.sp-thumb-btn.is-active {
    border-color: #0057ff;
}

/* ── Aanvullende informatie table ── */
.sp-specs-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.sp-specs-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.sp-specs-table th,
.sp-specs-table td {
    padding: 12px 8px;
    text-align: left;
    vertical-align: top;
}

.sp-specs-table th {
    width: 40%;
    font-weight: 600;
    color: #374151;
}

.sp-specs-table td {
    color: #111827;
}

/* ── Mobile ── */
@media (max-width: 860px) {
    .sp-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sp-image-box {
        aspect-ratio: 4 / 3;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .sp-wrap {
        padding: 32px 0 56px;
    }

    .sp-title {
        font-size: 1.3rem;
    }

    .sp-price {
        font-size: 1.5rem;
    }

    .sp-btn-order,
    .sp-btn-soldout,
    .sp-btn-coming {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .sp-tabs-wrap {
        margin-top: 40px;
    }

    .sp-tab {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
}

/* ============================================================
   SHOP ARCHIVE (woocommerce/archive-product.php)
   ============================================================ */

.shop-wrap {
    padding: 48px 0 80px;
}

/* Two-column layout: sidebar + main */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}

/* ── Sidebar ── */
.shop-sidebar {
    position: sticky;
    top: 136px;
}

.shop-filter-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

/* Active filter tags */
.shop-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 99px;
    font-size: 0.75rem;
    color: #1d4ed8;
    white-space: nowrap;
}

.active-filter-tag a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    margin-left: 2px;
}

.shop-clear-all {
    font-size: 0.75rem;
    color: #6b7280;
    text-decoration: underline;
    white-space: nowrap;
    align-self: center;
    margin-left: auto;
}

/* Filter section (collapsible) */
.filter-section {
    border-bottom: 1px solid #e5e7eb;
}
.filter-section:last-child {
    border-bottom: none;
}

.filter-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: left;
}

.filter-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.filter-section.is-open .filter-chevron {
    transform: rotate(180deg);
}

.filter-section-body {
    display: none;
    padding: 0 16px 16px;
}
.filter-section.is-open .filter-section-body {
    display: block;
}

/* Price slider */
.price-slider-wrap {
    position: relative;
    height: 4px;
    margin: 24px 8px 8px;
}

.price-track {
    position: absolute;
    inset: 0;
    background: #e5e7eb;
    border-radius: 4px;
}

.price-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    background: #0057ff;
    border-radius: 4px;
}

.price-range-input {
    position: absolute;
    top: -6px;
    left: -8px;
    width: calc(100% + 16px);
    height: 16px;
    appearance: none;
    background: transparent;
    pointer-events: none;
}
.price-range-input::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0057ff;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    pointer-events: all;
    cursor: pointer;
}
.price-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0057ff;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    pointer-events: all;
    cursor: pointer;
}

.price-display {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 0.82rem;
    color: #374151;
}

.btn-price-filter {
    margin-top: 12px;
    padding: 7px 18px;
    background: #0057ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-price-filter:hover { background: #0046d0; }

/* Filter checkboxes */
.filter-options {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.filter-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.85rem;
    color: #374151;
    cursor: pointer;
}
.filter-option-label:hover { color: #0057ff; }

.filter-option-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #0057ff;
    flex-shrink: 0;
    cursor: pointer;
}

.filter-count {
    margin-left: auto;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ── Shop Main ── */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}

.shop-result-count {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.shop-orderby-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    color: #374151;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    cursor: pointer;
}
.shop-orderby-select:focus { outline: 2px solid #0057ff; border-color: transparent; }

/* ── Shop product grid (3 cols) ── */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Shop card ── */
.shop-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.shop-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    transform: translateY(-2px);
}

/* Stretched link covers the card; CTA sits above it */
.shop-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.shop-card-img-wrap {
    position: relative;
    background: #f9fafb;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.3s ease;
}
.shop-card:hover .shop-card-img { transform: scale(1.04); }

.shop-card-img-placeholder {
    color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.shop-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.shop-card-badge.product-badge--new     { background: #dbeafe; color: #1d4ed8; }
.shop-card-badge.product-badge--sale    { background: #fee2e2; color: #dc2626; }
.shop-card-badge.product-badge--limited { background: #fef3c7; color: #d97706; }
.shop-card-badge.product-badge--soldout { background: #f3f4f6; color: #6b7280; }

.shop-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.shop-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    margin: 0;
}

.shop-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.shop-card-price-old {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.shop-card-price-current {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}
.shop-card-price-current.is-sale { color: #dc2626; }

.shop-card-cta {
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.shop-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s, opacity 0.15s;
}
.shop-card-btn--soldout,
.shop-card-btn--coming {
    background: #f3f4f6;
    color: #9ca3af;
    border: none;
    cursor: not-allowed;
}

/* ── Pagination ── */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s;
}
.shop-pagination .page-numbers:hover { border-color: #0057ff; color: #0057ff; }
.shop-pagination .page-numbers.current { background: #0057ff; border-color: #0057ff; color: #fff; font-weight: 600; }
.shop-pagination .page-numbers.dots { border: none; }

/* ── No results ── */
.shop-no-results {
    text-align: center;
    padding: 80px 20px;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.shop-no-results p { font-size: 1rem; margin: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 200px 1fr;
        gap: 24px;
    }
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-wrap { padding: 32px 0 60px; }

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

    .shop-sidebar {
        position: static;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   CART DRAWER
   ============================================================ */

.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.cart-overlay.is-open {
    display: block;
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    background: #fff;
    z-index: 1101;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.12);
}
.cart-drawer.is-open {
    transform: translateX(0);
}

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

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.cart-drawer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.cart-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    color: #6b7280;
    display: flex;
    align-items: center;
    transition: background 0.15s, color 0.15s;
}
.cart-drawer-close:hover {
    background: #f3f4f6;
    color: #111;
}

/* Inner — fragment target */
.cart-drawer-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* Empty state */
.cart-drawer-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 24px;
    text-align: center;
    color: #6b7280;
}
.cart-drawer-empty svg { opacity: 0.35; }
.cart-drawer-empty p { margin: 0; font-size: 0.95rem; }

.cart-drawer-shop-btn {
    display: inline-block;
    background: #111;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.cart-drawer-shop-btn:hover { background: #333; }

/* Items list */
.cart-drawer-items {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.cart-drawer-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    transition: opacity 0.2s;
}

.cart-drawer-item-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9fafb;
    flex-shrink: 0;
}

.cart-drawer-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-drawer-item-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-drawer-item-price {
    font-size: 0.875rem;
    color: #4b5563;
}

.cart-drawer-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.cart-qty-btn {
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    transition: background 0.15s;
}
.cart-qty-btn:hover { background: #e5e7eb; }

.cart-qty-val {
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.cart-drawer-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.15s;
    margin-top: 2px;
}
.cart-drawer-item-remove:hover { color: #ef4444; }

/* Footer */
.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    background: #fff;
}

.cart-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.cart-drawer-checkout-btn {
    display: block;
    background: #0057ff;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}
.cart-drawer-checkout-btn:hover { background: #0046cc; }

.cart-drawer-view-btn {
    display: block;
    background: #f3f4f6;
    color: #374151;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}
.cart-drawer-view-btn:hover { background: #e5e7eb; }

/* Header cart count badge */
.cart-header-count {
    display: none;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    padding: 0 5px;
    line-height: 18px;
    text-align: center;
    margin-left: 2px;
}
.cart-header-count.has-items { display: inline-block; }

@media (max-width: 480px) {
    .cart-drawer { width: 100vw; }
}


/* ============================================================
   GLOBAL FONT FIX — WooCommerce blocks inherit theme fonts
   ============================================================ */

.wc-block-checkout,
.wc-block-checkout *,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-checkout *,
.wc-block-cart,
.wc-block-cart *,
.wc-block-components-button,
.wc-block-components-button *,
.wp-block-button__link {
    font-family: 'Inter', sans-serif;
}

.wc-block-components-checkout-step__title,
.wc-block-components-checkout-step__title *,
.wc-block-checkout__order-summary-title,
.wc-block-components-title,
.wc-block-components-checkout-order-summary__title-text,
.wp-block-woocommerce-checkout-order-summary-block h2,
.wp-block-woocommerce-checkout-order-summary-block h3 {
    font-family: 'Barlow', sans-serif;
}


/* ============================================================
   CHECKOUT & CART PAGE LAYOUT
   ============================================================ */

/* Page wrapper */
/* Hide main site header + nav on checkout/cart pages */
body.woocommerce-checkout #site-header,
body.woocommerce-cart #site-header,
body.woocommerce-checkout .top-bar,
body.woocommerce-cart .top-bar,
body.woocommerce-checkout #category-nav,
body.woocommerce-cart #category-nav,
body.woocommerce-checkout .category-nav,
body.woocommerce-cart .category-nav {
    display: none !important;
}

/* ── Checkout page wrapper ───────────────────────────────────── */

.co-page-wrap {
    background: #fff;
    min-height: 100vh;
}

/* Shared container */
.checkout-container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ── Minimal header ──────────────────────────────────────────── */

.co-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}

.co-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.co-header__logo img {
    height: 60px;
    width: auto;
    display: block;
}

.co-header__title {
    font-family: 'Barlow', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

/* ── Progress steps bar ──────────────────────────────────────── */

.co-steps-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 0;
}

.co-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.co-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    flex: 1;
    max-width: 160px;
}

/* Connecting line between steps */
.co-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.co-step--done:not(:last-child)::after,
.co-step--active:not(:last-child)::after {
    background: #0057ff;
}

.co-step__circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.co-step--done .co-step__circle {
    background: #0057ff;
    color: #fff;
}

.co-step--active .co-step__circle {
    background: #0057ff;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0,87,255,0.15);
}

.co-step__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
}

.co-step--done .co-step__label { color: #374151; }
.co-step--active .co-step__label { color: #111827; font-weight: 700; }
.co-step--done .co-step__label:hover { color: #0057ff; }

/* ── Content area ────────────────────────────────────────────── */

.co-content-wrap {
    padding: 32px 0 64px;
}

.checkout-article {
    margin: 0;
    padding: 0;
}

/* ── WC block checkout: remove WC's own padding/max-width ────── */

.checkout-article .wp-block-woocommerce-checkout,
.checkout-article .wp-block-woocommerce-cart {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Two-column grid ─────────────────────────────────────────── */

.wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid !important;
    grid-template-columns: 1fr 460px !important;
    gap: 20px !important;
    align-items: start !important;
}

@media (max-width: 960px) {
    .wc-block-components-sidebar-layout.wc-block-checkout {
        grid-template-columns: 1fr !important;
    }
}

/* ── Left: form column ───────────────────────────────────────── */

.wc-block-checkout__main,
.wp-block-woocommerce-checkout-fields-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.wc-block-checkout__form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* Each step = flat section, no card border */
.wc-block-components-checkout-step {
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    border-bottom: 1px solid #f0f1f3 !important;
    padding-bottom: 28px !important;
    margin-bottom: 28px !important;
}

.wc-block-components-checkout-step:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

/* Step heading: just a bold h3-style title, no bar */
.wc-block-components-checkout-step__heading {
    display: flex !important;
    align-items: center !important;
    padding: 0 0 18px 0 !important;
    background: transparent !important;
    border-bottom: none !important;
    gap: 10px !important;
}

/* Hide step number indicators */
.wc-block-components-checkout-step__heading-step-indicator {
    display: none !important;
}

/* Section title: matches CYC h3 style */
.wc-block-components-checkout-step__title {
    font-family: 'Barlow', sans-serif !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
}

/* Step content area: no internal padding (was on the card) */
.wc-block-components-checkout-step__container {
    padding: 0 !important;
}

.wc-block-components-checkout-step__content > :last-child {
    padding-bottom: 0 !important;
}

.wc-block-components-checkout-step__description {
    font-size: 0.8125rem !important;
    color: #6b7280 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}

/* Form rows: breathing room between fields */
.wc-block-components-checkout-step .wc-block-components-text-input,
.wc-block-components-checkout-step .wc-block-components-select,
.wc-block-components-checkout-step .wc-block-components-country-input,
.wc-block-components-checkout-step .wc-block-components-state-input {
    margin-bottom: 16px !important;
}

/* Row groups (name row, postcode/city row) */
.wc-block-components-checkout-step .wc-block-components-address-form__address_2-toggle,
.wc-block-components-checkout-step .wc-block-components-form__field-container {
    margin-bottom: 16px !important;
}

/* ── Form inputs ─────────────────────────────────────────────── */

.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-select select,
.wc-block-components-country-input input,
.wc-block-components-state-input input {
    width: 100%;
    padding: 11px 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    font-family: 'Inter', sans-serif !important;
    color: #111827 !important;
    background: #fff !important;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none !important;
    box-shadow: none !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-components-select select:focus,
.wc-block-components-country-input input:focus {
    border-color: #111827 !important;
    box-shadow: 0 0 0 2px rgba(17,24,39,0.08) !important;
}

/* ── Payment options ─────────────────────────────────────────── */

.wc-block-components-radio-control-accordion-option {
    border: 1px solid #e2e4e8 !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
    padding: 12px 16px !important;
    background: #fff;
    transition: border-color 0.15s;
}

.wc-block-components-radio-control-accordion-option:has(input:checked) {
    border-color: #111827 !important;
}

.wc-block-components-radio-control-accordion-option__title {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ── Actions block ───────────────────────────────────────────── */

.wc-block-checkout__actions {
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Full-width 52px button matching CYC layout */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions .wc-block-components-button:not(.wc-block-components-checkout-return-to-cart-button) {
    width: 100% !important;
    background: #0057ff !important;
    color: #fff !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    height: 52px !important;
    padding: 0 20px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout__actions .wc-block-components-button:not(.wc-block-components-checkout-return-to-cart-button):hover {
    background: #0046d1 !important;
}

/* Cart page: Doorgaan naar afrekenen */
.wc-block-cart__submit-container .wc-block-components-button {
    background: #0057ff !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    transition: background 0.2s !important;
}
.wc-block-cart__submit-container .wc-block-components-button:hover {
    background: #0046cc !important;
}

/* Terms text: inline, no card */
.wc-block-checkout__terms {
    font-size: 0.75rem !important;
    color: #9ca3af !important;
    text-align: center !important;
    padding: 10px 0 14px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

.wc-block-checkout__terms::before { display: none !important; }
.wc-block-checkout__terms a { color: #374151 !important; text-decoration: underline !important; }

/* Return to cart: below button, centered */
.wc-block-components-checkout-return-to-cart-button {
    font-size: 0.8125rem !important;
    color: #6b7280 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    white-space: nowrap !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 10px !important;
}

/* Actions column layout: button full width, return-to-cart below */
.wc-block-checkout__actions_row,
.wc-block-checkout__actions .wc-block-components-checkout-place-order {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
}

/* Trust signals injected below button */
.co-sidebar-trust {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.co-sidebar-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #374151;
    font-weight: 500;
}

.co-sidebar-trust__check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Note textarea */
.wc-block-checkout__add-note textarea {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    padding: 10px 14px;
    resize: vertical;
    width: 100%;
}

/* ── Right: Order summary sidebar ────────────────────────────── */

.wc-block-checkout__sidebar,
.wc-block-checkout__sidebar > *,
.wp-block-woocommerce-checkout-totals-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.wc-block-checkout__sidebar {
    align-self: start !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Jouw bestelling card — matches CYC: radius 12px + shadow */
.wp-block-woocommerce-checkout-order-summary-block {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    width: 100% !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08) !important;
}

/* Summary header: plain white, no gray */
.wc-block-components-checkout-order-summary__title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #f0f1f3 !important;
    background: #fff !important;
    cursor: pointer !important;
}

.wc-block-components-checkout-order-summary__title-text {
    font-family: 'Barlow', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.wc-block-components-checkout-order-summary__title-price {
    font-family: 'Barlow', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

/* Product rows — each item on its own clear row */
.wc-block-components-order-summary-item {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #eaecf0 !important;
    align-items: center !important;
    min-width: 0 !important;
}

/* Thumbnail with quantity badge */
.wc-block-components-order-summary-item__image {
    position: relative !important;
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    background: #f9fafb !important;
}

.wc-block-components-order-summary-item__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.wc-block-components-order-summary-item__quantity {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: #374151 !important;
    color: #fff !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 99px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    line-height: 1 !important;
}

/* Description: name + price stacked vertically, fills remaining space */
.wc-block-components-order-summary-item__description {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.wc-block-components-product-name,
.wc-block-components-order-summary-item__name {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin: 0 !important;
}

.wc-block-components-order-summary-item__individual-price {
    font-size: 0.8rem !important;
    color: #6b7280 !important;
}

/* Price pinned to the right */
.wc-block-components-order-summary-item__total-price,
.wc-block-cart-item__prices {
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    color: #111827 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    align-self: center !important;
}

/* Items wrapper: make sure it takes full sidebar width */
.wc-block-components-order-summary,
.wp-block-woocommerce-checkout-order-summary-cart-items-block,
.wc-block-components-totals-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Coupon */
.wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wc-block-components-totals-coupon {
    display: block !important;
    width: 100% !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid #f0f1f3 !important;
    box-sizing: border-box !important;
}

.wc-block-components-totals-coupon button,
.wc-block-components-panel__button {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    width: 100% !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Totals */
.wc-block-components-totals-wrapper {
    padding: 4px 20px !important;
}

.wc-block-components-totals-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 9px 0 !important;
    font-size: 0.875rem !important;
    color: #374151 !important;
    border-bottom: 1px solid #f4f5f7 !important;
}

.wc-block-components-totals-item:last-child { border-bottom: none !important; }

.wc-block-components-totals-item__label { font-weight: 400 !important; }
.wc-block-components-totals-item__value { font-weight: 600 !important; }

/* Grand total */
.wc-block-components-totals-footer-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 20px !important;
    background: #fff !important;
    border-top: 2px solid #e5e7eb !important;
    margin: 0 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-family: 'Barlow', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-family: 'Barlow', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

/* Payment icons strip inside sidebar */
.checkout-payment-icons {
    margin-top: 12px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    text-align: center;
}

.checkout-payment-icons p {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 8px;
}

.checkout-payment-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pm-icon {
    height: 24px;
    width: auto;
    border-radius: 3px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 2px 4px;
}


/* ============================================================
   SHARED LIGHT PAGE HEADER (replaces dark hero on inner pages)
   ============================================================ */

.page-header-light {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}

.page-header-light-inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 22px;
}

.page-header-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #6b7280;
    position: relative;
    z-index: 1;
}

.page-header-breadcrumb a {
    color: #374151;
    font-weight: 500;
    transition: color 0.15s;
}

.page-header-breadcrumb a:hover { color: #111827; }

.page-header-breadcrumb span { color: #9ca3af; }

.page-header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 45%;
    pointer-events: none;
}

@media (max-width: 640px) {
    .page-header-title { display: none; }
}


/* ============================================================
   GLOBAL FONT CONSISTENCY — all WC pages
   ============================================================ */

/* WC notices */
.woocommerce-notices-wrapper *,
.wc-block-components-notice-banner * {
    font-family: 'Inter', sans-serif;
}

/* WC generic buttons not already covered */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    font-family: 'Inter', sans-serif;
}

/* Page template body text */
.page-article,
.page-article p,
.page-article li,
.page-article td {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
}

.page-article h1,
.page-article h2,
.page-article h3,
.page-article h4 {
    font-family: 'Barlow', sans-serif;
    color: #111827;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}


/* ============================================================
   iOS SAFE AREA & GLOBAL MOBILE SAFETY
   ============================================================ */

/* iOS home indicator safe area */
.site-footer {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Sticky header offset for safe area (notch) */
.site-header {
    padding-top: env(safe-area-inset-top, 0);
}

/* Ensure all images never overflow */
img, video, iframe, embed, object {
    max-width: 100%;
}

/* Prevent any fixed-width tables from overflowing */
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
    border-collapse: collapse;
}

/* Specs table: allow horizontal scroll on mobile */
.sp-specs-table {
    display: table;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
    .sp-specs-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Checkout steps: tighter on small phones */
    .co-step__label {
        font-size: 0.65rem;
    }

    .co-header__logo img {
        height: 40px;
    }

    /* Cart drawer full-screen on small phones */
    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
    }
}
