/**
 * Plantscount Main Stylesheet
 * Clean, professional design
 */

/* Fonts loaded via preload in header.php for optimal performance */
/* font-family: 'Fraunces', Georgia, serif for headings */
/* font-family: 'DM Sans', sans-serif for body text */


/* CSS Variables */

:root {
    /* Brand colors */
    --pc-forest: #2D5A3D;
    --pc-forest-dark: #1E3D29;
    --pc-sage: #7a9b7a;
    --pc-primary: #89A550;
    --pc-primary-dark: #6b8540;
    --pc-cream: #faf7f2;
    --pc-charcoal: #3D3229;
    --pc-mist: #E8EDE5;
    --pc-white: #ffffff;

    /* Extended palette */
    --pc-sand: #F5F3EF;
    --pc-bark: #3D3229;
    --pc-stone: #6B6B68;
    --pc-border: #E2E2E2;
    --pc-success: #2E7D32;
    --pc-warning: #F9A825;
    --pc-error: #D32F2F;

    /* Typography - Font Families */
    --font-family-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-family-serif: 'Fraunces', Georgia, serif;
    --font-family: var(--font-family-sans);
    
    /* Typography - Font Sizes */
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}

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

* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--pc-charcoal);
    background: var(--pc-white);
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
}

/* Canvas elements should be handled separately by JavaScript */
canvas {
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================================================
   BUTTON SYSTEM - Plantscount Design System
   All buttons should use these classes for consistent styling
   ======================================================================== */

/* Base Button */
.pc-btn,
.button,
button[type="submit"],
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* PRIMARY BUTTON - Green background, WHITE text */
/* Base primary button */
.pc-btn--primary,
.pc-btn.pc-btn--primary,
button.pc-btn--primary,
a.pc-btn--primary {
    background: #2D5A3D;
    color: #ffffff;
    border-color: #2D5A3D;
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.25);
    -webkit-text-fill-color: #ffffff;
}

.pc-btn--primary:hover,
.pc-btn.pc-btn--primary:hover,
button.pc-btn--primary:hover,
a.pc-btn--primary:hover {
    background: #1E3D29;
    color: #ffffff;
    border-color: #1E3D29;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.35);
    -webkit-text-fill-color: #ffffff;
}

/* WooCommerce primary buttons - higher specificity to override WC styles */
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce .add_to_cart_button,
.woocommerce a.add_to_cart_button,
.woocommerce .single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce button[type="submit"],
.woocommerce input[type="submit"] {
    background: #2D5A3D;
    color: #ffffff;
    border-color: #2D5A3D;
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.25);
    -webkit-text-fill-color: #ffffff;
}

.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce .add_to_cart_button:hover,
.woocommerce a.add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce button[type="submit"]:hover,
.woocommerce input[type="submit"]:hover {
    background: #1E3D29;
    color: #ffffff;
    border-color: #1E3D29;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.35);
    -webkit-text-fill-color: #ffffff;
}

/* Global form submit buttons (outside WooCommerce) */
form:not(.woocommerce) button[type="submit"],
form:not(.woocommerce) input[type="submit"] {
    background: #2D5A3D;
    color: #ffffff;
    border-color: #2D5A3D;
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.25);
    -webkit-text-fill-color: #ffffff;
}

form:not(.woocommerce) button[type="submit"]:hover,
form:not(.woocommerce) input[type="submit"]:hover {
    background: #1E3D29;
    color: #ffffff;
    border-color: #1E3D29;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.35);
    -webkit-text-fill-color: #ffffff;
}

/* OUTLINE BUTTON - Transparent background, DARK text */
.pc-btn--outline,
.pc-btn.pc-btn--outline,
button.pc-btn--outline,
a.pc-btn--outline {
    background: transparent;
    color: #2D5A3D;
    border: 2px solid #C5D4C0;
    box-shadow: none;
    -webkit-text-fill-color: #2D5A3D;
}

.pc-btn--outline:hover,
.pc-btn.pc-btn--outline:hover,
button.pc-btn--outline:hover,
a.pc-btn--outline:hover {
    background: rgba(45, 90, 61, 0.08);
    color: #1E3D29;
    border-color: #2D5A3D;
    transform: translateY(-2px);
    -webkit-text-fill-color: #1E3D29;
}

/* SECONDARY BUTTON - Light background, DARK text */
.pc-btn--secondary,
.pc-btn.pc-btn--secondary {
    background: #F5F1E8;
    color: #2D5A3D;
    border-color: #F5F1E8;
    -webkit-text-fill-color: #2D5D3D;
}

.pc-btn--secondary:hover,
.pc-btn.pc-btn--secondary:hover {
    background: #E8EDE5;
    color: #1E3D29;
    border-color: #E8EDE5;
    transform: translateY(-2px);
    -webkit-text-fill-color: #1E3D29;
}

/* WooCommerce secondary buttons (non-primary) */
.woocommerce .button:not(.alt):not(.add_to_cart_button):not(.single_add_to_cart_button),
.woocommerce a.button:not(.alt):not(.add_to_cart_button):not(.single_add_to_cart_button) {
    background: #F5F1E8;
    color: #2D5A3D;
    border-color: #F5F1E8;
    -webkit-text-fill-color: #2D5A3D;
}

.woocommerce .button:not(.alt):not(.add_to_cart_button):not(.single_add_to_cart_button):hover,
.woocommerce a.button:not(.alt):not(.add_to_cart_button):not(.single_add_to_cart_button):hover {
    background: #E8EDE5;
    color: #1E3D29;
    border-color: #E8EDE5;
    transform: translateY(-2px);
    -webkit-text-fill-color: #1E3D29;
}

/* WHITE BUTTON - White background, DARK text (for use on dark backgrounds) */
.pc-btn--white,
.pc-btn.pc-btn--white,
button.pc-btn--white,
a.pc-btn--white {
    background: #ffffff;
    color: #2D5A3D;
    border-color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    -webkit-text-fill-color: #2D5A3D;
}

.pc-btn--white:hover,
.pc-btn.pc-btn--white:hover,
button.pc-btn--white:hover,
a.pc-btn--white:hover {
    background: #FDFAF5;
    color: #1E3D29;
    border-color: #FDFAF5;
    transform: translateY(-2px);
    -webkit-text-fill-color: #1E3D29;
}

/* Button SVG icons */
.pc-btn svg,
.button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pc-btn:hover svg,
.button:hover svg {
    transform: translateX(3px);
}

/* Full width button */
.pc-btn--full {
    width: 100%;
}

/* ========================================================================
   SLIM CONTACT BANNER - Below Header
   ======================================================================== */
.pc-slim-banner {
    background: var(--pc-cream);
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pc-slim-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pc-slim-banner__text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--pc-charcoal);
}

.pc-slim-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: transparent;
    color: var(--pc-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1.5px solid var(--pc-primary);
}

.pc-slim-banner__btn:hover {
    background: var(--pc-primary);
    color: var(--pc-white);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .pc-slim-banner {
        padding: 8px 0;
    }

    .pc-slim-banner__inner {
        gap: 12px;
    }

    .pc-slim-banner__text {
        font-size: 0.8rem;
    }

    .pc-slim-banner__btn {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

/* Small button variant */
.pc-btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* Large button variant */
.pc-btn--lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

/* Disabled state */
.pc-btn:disabled,
.pc-btn.disabled,
.button:disabled,
.button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ======================================================================== */

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

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    background: var(--pc-forest);
    color: var(--pc-white);
    padding: var(--spacing-sm) var(--spacing-md);
}

/* USP Bar */
.usp-bar {
    background: var(--pc-forest);
    color: var(--pc-white);
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.usp-bar__items {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.usp-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    opacity: 0.92;
}

.usp-bar__item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* Clickable USP item (e.g., Persoonlijk advies) */
a.usp-bar__item,
.usp-bar__item--link {
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
    opacity: 0.92;
}

a.usp-bar__item:hover,
.usp-bar__item--link:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .usp-bar__items {
        gap: var(--spacing-md);
        flex-wrap: wrap;
        justify-content: center;
    }

    .usp-bar__item:nth-child(3) {
        display: none;
    }
}

/* Header */
.site-header {
    background: var(--pc-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--spacing-xs);
    cursor: pointer;
    color: var(--pc-charcoal);
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Site Branding */
.site-branding {
    flex-shrink: 0;
}

.site-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--pc-forest);
    text-decoration: none;
}

.site-branding .custom-logo {
    height: 56px;
    width: auto;
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    padding: 0;
    margin: 0;
}

.primary-menu a {
    color: var(--pc-charcoal);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-base);
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
    color: var(--pc-primary);
}

@media (max-width: 992px) {
    .main-navigation {
        display: none;
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.header-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    color: var(--pc-charcoal);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast);
    position: relative;
}

/* Ensure SVG icons in header actions are visible */
/* Using high specificity to override any conflicting styles */
.site-header .header-actions .header-action svg,
.header-actions .header-action svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke: var(--pc-charcoal, #3D3229);
    stroke-width: 2;
    fill: none;
    visibility: visible;
    opacity: 1;
}

/* Force cart icon to be visible */
.site-header .header-actions .cart-toggle svg,
.site-header button.cart-toggle svg,
.site-header [data-flyout-toggle="cart"] svg,
.header-actions .cart-toggle svg,
button.cart-toggle svg,
[data-flyout-toggle="cart"] svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke: var(--pc-charcoal, #3D3229);
    stroke-width: 2;
}

.header-action:hover {
    background: var(--pc-cream);
}

.cart-link,
.cart-toggle {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--pc-primary);
    color: var(--pc-white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Header Search */
.header-search {
    background: var(--pc-cream);
    padding: var(--spacing-md) 0;
}

.header-search[hidden] {
    display: none;
}

.search-form {
    display: flex;
    gap: var(--spacing-sm);
}

.search-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--pc-mist);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--pc-primary);
}

.search-submit {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--pc-primary);
    color: var(--pc-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-submit:hover {
    background: var(--pc-primary-dark);
}

/* ============================================
   Mobile Drawer Menu - Full Redesign
   ============================================ */

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.mobile-drawer[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}

.mobile-drawer[aria-hidden="true"] {
    visibility: hidden;
    opacity: 0;
}

.mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mobile-drawer__content {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--pc-white);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-drawer[aria-hidden="false"] .mobile-drawer__content {
    transform: translateX(0);
}

/* Header with Logo */
.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--pc-forest);
    color: white;
}

.mobile-drawer__logo {
    display: flex;
    align-items: center;
}

.mobile-drawer__logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-drawer__site-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.mobile-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    transition: background 0.2s ease;
    position: relative;
}

/* X icon using CSS */
.mobile-drawer__close::before,
.mobile-drawer__close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: white;
    border-radius: 1px;
}

.mobile-drawer__close::before {
    transform: rotate(45deg);
}

.mobile-drawer__close::after {
    transform: rotate(-45deg);
}

.mobile-drawer__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Search */
.mobile-drawer__search {
    padding: 16px 20px;
    background: var(--pc-cream);
    border-bottom: 1px solid var(--pc-mist);
}

.mobile-search-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--pc-white);
    border: 1px solid var(--pc-mist);
    border-radius: 10px;
    padding: 12px 16px;
}

.mobile-search-wrapper svg {
    color: #9B9B98;
    flex-shrink: 0;
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--pc-charcoal);
    outline: none;
}

.mobile-search-input::placeholder {
    color: #9B9B98;
}

/* Navigation */
.mobile-drawer__nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: block !important;
    visibility: visible !important;
    min-height: 100px;
}

/* Mobile Menu - Main List */
.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block !important;
    visibility: visible !important;
}

/* Fallback menu styling */
.mobile-menu--fallback {
    background: var(--pc-white);
}

.mobile-menu-item {
    border-bottom: 1px solid var(--pc-mist);
}

.mobile-menu-item__row {
    display: flex;
    align-items: stretch;
}

.mobile-menu-link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: var(--pc-charcoal);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-item--active > .mobile-menu-item__row > .mobile-menu-link {
    background: var(--pc-cream);
    color: var(--pc-forest);
}

/* Depth styling */
.mobile-menu-item--depth-0 > .mobile-menu-item__row > .mobile-menu-link {
    font-weight: 600;
    font-size: 1.05rem;
}

.mobile-menu-item--depth-1 > .mobile-menu-item__row > .mobile-menu-link {
    padding-left: 36px;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-menu-item--depth-2 > .mobile-menu-item__row > .mobile-menu-link {
    padding-left: 52px;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--pc-stone);
}

/* Submenu Toggle Button */
.mobile-submenu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    min-width: 50px !important;
    min-height: 48px !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    border-left: 1px solid var(--pc-mist) !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

.mobile-submenu-toggle:hover {
    background: var(--pc-cream) !important;
}

/* Hide original SVG completely */
.mobile-submenu-toggle svg {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

/* CSS chevron arrow using unicode character */
.mobile-submenu-toggle::after {
    content: '›' !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    color: #6B6B68 !important;
    transform: rotate(90deg) !important;
    transition: transform 0.2s ease !important;
}

/* Open state - rotate chevron up */
.mobile-menu-item--has-children.open > .mobile-menu-item__row > .mobile-submenu-toggle::after,
.mobile-menu-item.open > .mobile-menu-item__row > .mobile-submenu-toggle::after {
    transform: rotate(-90deg) !important;
}

.mobile-menu-item--has-children.open > .mobile-menu-item__row > .mobile-menu-link {
    color: var(--pc-forest);
    background: var(--pc-cream);
}

/* Submenus - Hidden by default */
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #FAFAF8;
}

.mobile-menu-item--has-children.open > .mobile-submenu {
    max-height: 2000px;
}

.mobile-submenu--level-2 {
    background: #F5F5F3;
}

/* Mobile highlight item (e.g. Combideal) */
.mobile-menu-item--highlight > .mobile-menu-item__row > .mobile-menu-link,
.mobile-menu-link--highlight {
    color: var(--pc-primary);
    font-weight: 700;
}

.mobile-menu-item--highlight > .mobile-menu-item__row {
    background: rgba(45, 90, 61, 0.04);
}

/* Mobile "see all" footer links */
.mobile-menu-item--footer {
    border-top: 1px solid var(--pc-mist);
}

.mobile-menu-link--see-all {
    color: var(--pc-primary) !important;
    font-weight: 600 !important;
    font-size: 0.9rem;
}

/* Quick Links Section - Collapsible */
.mobile-drawer__section {
    padding: 0;
    border-top: 1px solid var(--pc-mist);
}

.mobile-drawer__section--collapsible .mobile-drawer__quick-links {
    display: none;
    padding: 0 20px 16px;
}

.mobile-drawer__section--collapsible.is-open .mobile-drawer__quick-links {
    display: block;
}

.mobile-drawer__section-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--pc-charcoal);
    text-align: left;
}

.mobile-drawer__section-toggle svg:first-child {
    color: var(--pc-forest);
    flex-shrink: 0;
}

.mobile-drawer__section-arrow {
    margin-left: auto;
    color: var(--pc-stone);
    transition: transform 0.2s ease;
}

.mobile-drawer__section--collapsible.is-open .mobile-drawer__section-arrow {
    transform: rotate(180deg);
}

.mobile-drawer__section-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pc-stone);
    margin-bottom: 12px;
}

.mobile-drawer__quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-drawer__quick-links li {
    margin-bottom: 2px;
}

.mobile-drawer__quick-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--pc-charcoal);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.mobile-drawer__quick-links a:hover {
    background: var(--pc-cream);
}

.mobile-drawer__quick-links svg {
    color: var(--pc-forest);
    flex-shrink: 0;
}

/* Account Links */
.mobile-drawer__account {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--pc-mist);
    background: var(--pc-cream);
}

.mobile-drawer__account-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--pc-white);
    border: 1px solid var(--pc-mist);
    border-radius: 10px;
    color: var(--pc-charcoal);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-drawer__account-link:hover {
    border-color: var(--pc-forest);
    color: var(--pc-forest);
}

.mobile-drawer__account-link svg {
    color: var(--pc-forest);
}

.mobile-drawer__cart-link {
    position: relative;
}

.mobile-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pc-forest);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 0 6px;
}

/* Contact CTA */
.mobile-drawer__cta {
    padding: 16px 20px;
    background: var(--pc-forest);
    text-align: center;
}

.mobile-drawer__contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: white;
    color: var(--pc-forest);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.mobile-drawer__contact-btn:hover {
    background: var(--pc-cream);
    transform: translateY(-1px);
}

.mobile-drawer__contact-info {
    margin: 12px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.mobile-drawer__contact-info a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.mobile-drawer__contact-info a:hover {
    text-decoration: underline;
}

/* Main Content */
.site-main {
    min-height: 50vh;
}

/* Footer */
.site-footer {
    background: var(--pc-cream);
    margin-top: var(--spacing-2xl);
}

.footer-widgets {
    padding: var(--spacing-2xl) 0;
    border-bottom: 1px solid var(--pc-mist);
}

.footer-widgets__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

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

@media (max-width: 480px) {
    .footer-widgets__grid {
        grid-template-columns: 1fr;
    }
}

.footer-widget .widget-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--pc-forest);
    margin-bottom: var(--spacing-md);
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.copyright {
    font-size: var(--font-size-sm);
    color: var(--pc-sage);
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    padding: 0;
    margin: 0;
}

.footer-menu a {
    font-size: var(--font-size-sm);
    color: var(--pc-sage);
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--pc-forest);
}

@media (max-width: 640px) {
    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* PC Footer Styles */
.pc-footer {
    background: var(--pc-forest);
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--spacing-3xl);
}

.pc-footer__main {
    padding: var(--spacing-3xl) 0;
}

.pc-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
}

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

@media (max-width: 640px) {
    .pc-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

.pc-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.pc-footer__logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    /* Make logo completely white */
}

.pc-footer__tagline {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.pc-footer__social {
    display: flex;
    gap: var(--spacing-sm);
}

.pc-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-fast);
}

.pc-footer__social a:hover {
    background: var(--pc-primary);
    color: var(--pc-white);
    transform: translateY(-2px);
}

.pc-footer__column {
    display: flex;
    flex-direction: column;
}

.pc-footer__title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--pc-white);
    margin-bottom: var(--spacing-md);
}

.pc-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.pc-footer__links a {
    color: rgba(255, 255, 255, 0.9); /* Improved contrast */
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.pc-footer__links a:hover {
    color: var(--pc-white);
    padding-left: 4px;
}

.pc-footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.pc-footer__contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.pc-footer__contact-item svg {
    flex-shrink: 0;
    color: var(--pc-primary);
}

.pc-footer__contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.pc-footer__contact-item a:hover {
    color: var(--pc-white);
}

.pc-footer__newsletter {
    margin-top: var(--spacing-md);
}

.pc-footer__newsletter-text {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
}

.pc-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
}

.pc-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.pc-footer__copyright {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.85); /* Improved contrast for accessibility */
}

.pc-footer__legal {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.pc-footer__legal a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9); /* Improved contrast for accessibility */
    text-decoration: none;
    transition: color var(--transition-fast);
}

.pc-footer__legal a:hover {
    color: var(--pc-white);
}

.pc-footer__payments {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.pc-footer__payment {
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .pc-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .pc-footer__legal,
    .pc-footer__payments {
        justify-content: center;
    }
}

/* Buttons */
.button,
button[type="submit"],
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--pc-primary);
    color: var(--pc-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.button:hover,
button[type="submit"]:hover {
    background: var(--pc-primary-dark);
}

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

.button--outline:hover {
    background: var(--pc-forest);
    color: var(--pc-white);
}

/* Page Content */
.page-content {
    padding: var(--spacing-2xl) 0;
}

.page-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.page-header--centered {
    text-align: center;
}

.page-header__title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--pc-forest);
    margin-bottom: var(--spacing-sm);
}

.page-header__subtitle {
    font-size: var(--font-size-lg);
    color: var(--pc-sage);
    max-width: 600px;
    margin: 0 auto;
}

/* Entry Content - Standard page content styling */
.entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    line-height: 1.7;
    color: var(--pc-charcoal, #2c2c2c);
}


.entry-content h2 {
    font-size: var(--font-size-2xl);
    color: var(--pc-forest);
    margin: var(--spacing-xl) 0 var(--spacing-md);
}

.entry-content h3 {
    font-size: var(--font-size-xl);
    color: var(--pc-forest);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.entry-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.entry-content li {
    margin-bottom: var(--spacing-xs);
}

.entry-content a {
    color: var(--pc-primary);
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}

.entry-content img {
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--pc-primary);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    color: var(--pc-sage);
}

/* ================================================================
   FAQ & Accordion Styling (native HTML elements from old Elementor)
   ================================================================ */

/* Hide broken search widget SVGs and fix search form */
.entry-content search,
.entry-content [role="search"] {
    display: block;
    margin-bottom: var(--spacing-lg);
}

.entry-content search form,
.entry-content [role="search"] form {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    max-width: 400px;
    background: var(--pc-white);
    border: 1px solid var(--pc-mist);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xs) var(--spacing-sm);
}

.entry-content search label,
.entry-content [role="search"] label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
    margin: 0;
}

.entry-content search input[type="search"],
.entry-content [role="search"] input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--spacing-sm);
    font-size: var(--font-size-base);
    outline: none;
}

.entry-content search button[type="submit"],
.entry-content [role="search"] button[type="submit"] {
    background: var(--pc-primary);
    color: var(--pc-white);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    font-weight: 600;
}

/* Hide all SVGs inside search/form elements - they're broken Elementor remnants */
.entry-content search svg,
.entry-content [role="search"] svg,
.entry-content search output,
.entry-content [role="search"] output {
    display: none !important;
}

/* Tab buttons - from old Elementor tabs */
.entry-content button[id^="e-n-tab-title"] {
    background: var(--pc-sand);
    border: 1px solid var(--pc-mist);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    margin: var(--spacing-xs);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--pc-charcoal);
    transition: all 0.2s ease;
}

.entry-content button[id^="e-n-tab-title"]:hover,
.entry-content button[id^="e-n-tab-title"][aria-selected="true"] {
    background: var(--pc-primary);
    color: var(--pc-white);
    border-color: var(--pc-primary);
}

/* Details/Summary - FAQ Accordion styling */
.entry-content details {
    background: var(--pc-white);
    border: 1px solid var(--pc-mist);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.entry-content details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    font-weight: 600;
    color: var(--pc-charcoal);
    list-style: none;
    transition: background 0.2s ease;
}

.entry-content details summary::-webkit-details-marker {
    display: none;
}

.entry-content details summary:hover {
    background: var(--pc-sand);
}

.entry-content details[open] summary {
    background: var(--pc-primary);
    color: var(--pc-white);
}

/* Hide broken SVG icons in summary, show custom arrow */
.entry-content details summary svg {
    display: none !important;
}

.entry-content details summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: inherit;
    flex-shrink: 0;
    margin-left: var(--spacing-md);
}

.entry-content details[open] summary::after {
    content: '−';
}

/* Details content */
.entry-content details > p,
.entry-content details > div {
    padding: var(--spacing-md) var(--spacing-lg);
    margin: 0;
    line-height: 1.7;
    color: var(--pc-charcoal);
}

/* Fix line breaks in content */
.entry-content br {
    display: none;
}

/* Hidden inputs */
.entry-content input[type="hidden"] {
    display: none;
}

/* Contact Form Styles - Only for Contact Form 7 and explicit contact forms */
.entry-content .wpcf7-form,
.entry-content .contact-form {
    max-width: 600px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-xl);
    background: var(--pc-white, #ffffff);
    border: 1px solid var(--pc-mist, #e8ebe8);
    border-radius: var(--radius-lg);
}

/* Contact form labels */
.entry-content .wpcf7-form label,
.entry-content .contact-form label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--pc-charcoal, #2c2c2c);
    margin-bottom: var(--spacing-xs);
}

/* Contact form inputs - only for CF7 and explicit contact forms */
.entry-content .wpcf7-form input[type="text"],
.entry-content .wpcf7-form input[type="email"],
.entry-content .wpcf7-form input[type="tel"],
.entry-content .wpcf7-form textarea,
.entry-content .contact-form input,
.entry-content .contact-form textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--pc-mist, #e8ebe8);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    color: var(--pc-charcoal, #2c2c2c);
    background: var(--pc-white, #ffffff);
    transition: border-color var(--transition-fast);
    box-sizing: border-box;
}

.entry-content .wpcf7-form input:focus,
.entry-content .wpcf7-form textarea:focus,
.entry-content .contact-form input:focus,
.entry-content .contact-form textarea:focus {
    outline: none;
    border-color: var(--pc-primary, #89A550);
}

.entry-content .wpcf7-form textarea,
.entry-content .contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Contact form buttons - only for CF7 and explicit contact forms */
.entry-content .wpcf7-form .wpcf7-submit,
.entry-content .contact-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-xl);
    background: var(--pc-primary, #89A550);
    color: var(--pc-white, #ffffff);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.entry-content .wpcf7-form .wpcf7-submit:hover,
.entry-content .contact-form button[type="submit"]:hover {
    background: var(--pc-primary-dark, #6b8540);
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-size: var(--font-size-sm);
    color: var(--pc-sage);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.woocommerce-breadcrumb a {
    color: var(--pc-sage);
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: var(--pc-primary);
}

/* Spacing variable for 3xl */
:root {
    --spacing-3xl: 4rem;
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: var(--spacing-3xl) 0;
    max-width: 500px;
    margin: 0 auto;
}

.error-404__icon {
    color: var(--pc-sage);
    margin-bottom: var(--spacing-lg);
}

.error-404__title {
    font-size: var(--font-size-2xl);
    color: var(--pc-forest);
    margin-bottom: var(--spacing-sm);
}

.error-404__text {
    color: var(--pc-charcoal);
    margin-bottom: var(--spacing-xl);
}

.error-404__actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Search Results */
.search-results {
    margin-bottom: var(--spacing-xl);
}

.search-results .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .search-results .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .search-results .products {
        grid-template-columns: 1fr;
    }
}

.search-result {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--pc-white);
    border: 1px solid var(--pc-mist);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 640px) {
    .search-result {
        flex-direction: column;
    }
}

.search-result__image {
    flex-shrink: 0;
}

.search-result__image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.search-result__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.search-result__title a {
    color: var(--pc-forest);
    text-decoration: none;
}

.search-result__title a:hover {
    color: var(--pc-primary);
}

.search-result__excerpt {
    color: var(--pc-charcoal);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.search-result__link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--pc-primary);
    font-weight: 500;
    text-decoration: none;
}

.search-result__link:hover {
    text-decoration: underline;
}

/* No Results */
.no-results {
    text-align: center;
    padding: var(--spacing-3xl);
    background: var(--pc-cream);
    border-radius: var(--radius-lg);
}

.no-results svg {
    color: var(--pc-sage);
    margin-bottom: var(--spacing-md);
}

.no-results h2 {
    color: var(--pc-forest);
    margin-bottom: var(--spacing-sm);
}

.no-results p {
    color: var(--pc-charcoal);
    margin-bottom: var(--spacing-lg);
}

/* ====== Mega Menu ====== */
.mega-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    padding: 0;
    margin: 0;
    align-items: center;
}

/* Top Level Menu Items */
.mega-menu > .mega-menu__item > a,
.mega-menu > .menu-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    color: var(--pc-charcoal);
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
    border-radius: 8px;
    transition: all 0.15s ease;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.mega-menu > .mega-menu__item > a:hover,
.mega-menu > .menu-item > a:hover {
    background: rgba(45, 90, 61, 0.06);
    color: var(--pc-primary);
}

/* Active/Current menu item */
.mega-menu > .mega-menu__item.current-menu-item > a,
.mega-menu > .mega-menu__item.current-menu-ancestor > a,
.mega-menu > .menu-item.current-menu-item > a,
.mega-menu > .menu-item.current-menu-ancestor > a {
    color: var(--pc-primary);
    font-weight: 600;
}

/* Highlight style for special menu items (Combideal) */
.mega-menu__item--highlight > a,
.mega-menu .menu-item.highlight > a {
    background: var(--pc-primary) !important;
    color: var(--pc-white) !important;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 24px;
}

.mega-menu__item--highlight > a:hover,
.mega-menu .menu-item.highlight > a:hover {
    background: var(--pc-primary-dark) !important;
    color: var(--pc-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.3);
}

/* Arrow indicator for items with mega menu */
.mega-menu__arrow {
    opacity: 0.5;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.mega-menu__item--has-mega:hover .mega-menu__arrow {
    transform: rotate(180deg);
}

/* =======================================================================
   MEGA DROPDOWN CONTAINER
   ======================================================================= */
.mega-menu__item--has-mega,
.mega-menu .menu-item-has-children {
    position: relative;
}

/* Invisible hover bridge to prevent dropdown from closing */
.mega-menu__item--has-mega::before,
.mega-menu .menu-item-has-children::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 20px;
    background: transparent;
}

.mega-menu__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
}

.mega-menu__item--has-mega:hover > .mega-menu__dropdown,
.mega-menu__item--has-mega.is-open > .mega-menu__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Keyboard focus support */
.mega-menu__item--has-mega:focus-within > .mega-menu__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Arrow rotation on open state */
.mega-menu__item--has-mega.is-open .mega-menu__arrow,
.mega-menu__item--has-mega:focus-within .mega-menu__arrow {
    transform: rotate(180deg);
}

/* Dropdown inner container */
.mega-menu__dropdown-inner {
    background: var(--pc-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 28px 32px 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    min-width: 680px;
    max-width: 1100px;
    width: max-content;
}

/* Columns container - flexible grid */
.mega-menu__columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 28px 32px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: flex-start;
}

/* Kamerplanten: 3 kolommen bovenste rij, 3 onderste */
.mega-menu__item--has-mega:first-child .mega-menu__columns {
    grid-template-columns: repeat(3, 1fr);
}

/* Buitenplanten / Potten: 2-3 kolommen */
.mega-menu__item--has-mega:nth-child(2) .mega-menu__columns {
    grid-template-columns: repeat(3, 1fr);
}

/* Footer links bar below columns */
.mega-menu__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 14px;
    margin-top: 20px;
    border-top: 2px solid var(--pc-cream);
}

.mega-menu__footer-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--pc-primary);
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(45, 90, 61, 0.06);
    transition: all 0.15s ease;
}

.mega-menu__footer-link:hover {
    background: var(--pc-primary);
    color: var(--pc-white);
}

.mega-menu__footer-link svg {
    transition: transform 0.15s ease;
}

.mega-menu__footer-link:hover svg {
    transform: translateX(2px);
    stroke: var(--pc-white);
}

/* =======================================================================
   MEGA MENU COLUMNS (Section Headers + Species Links)
   ======================================================================= */
.mega-menu__column {
    list-style: none;
    flex: 0 0 auto;
    width: auto;
}

/* Section Header Styling - genus group title */
.mega-menu__heading {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--pc-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pc-primary);
    cursor: default;
}

/* Section items list - clean layout per column */
.mega-menu__column .mega-menu__section-items {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

/* Items under section header */
.mega-menu__section-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu__section-items li {
    margin-bottom: 0;
}

/* Species links - DARK and BOLD for readability */
.mega-menu__section-items a,
.mega-menu__link-item a {
    display: block;
    padding: 5px 8px;
    margin: 0 -8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.15s ease;
    border-radius: 6px;
    position: relative;
}

.mega-menu__section-items a:hover,
.mega-menu__link-item a:hover {
    color: var(--pc-primary);
    background: rgba(45, 90, 61, 0.06);
    padding-left: 14px;
}

/* Subtle left accent on hover */
.mega-menu__section-items a::before,
.mega-menu__link-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--pc-primary);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.15s ease;
}

.mega-menu__section-items a:hover::before,
.mega-menu__link-item a:hover::before {
    opacity: 1;
    height: 16px;
}

/* =======================================================================
   MEGA MENU FEATURED SECTION (Optional)
   ======================================================================= */
.mega-menu__featured {
    background: var(--pc-cream);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
}

.mega-menu__featured-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--pc-forest);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.mega-menu__featured-items {
    display: flex;
    gap: 16px;
}

.mega-menu__featured-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--pc-white);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--pc-charcoal);
    font-size: 13px;
    transition: all var(--transition-fast);
}

.mega-menu__featured-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mega-menu__featured-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* =======================================================================
   WORDPRESS MENU COMPATIBILITY (Fallback for standard WP structure)
   ======================================================================= */
.mega-menu .menu-item {
    position: relative;
    list-style: none;
}

/* Standard dropdown styling when not using custom walker */
.mega-menu > .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 4px;
    background: url('data:image/svg+xml,%3Csvg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"%3E%3Cpolyline points="6 9 12 15 18 9"%3E%3C/polyline%3E%3C/svg%3E') center/contain no-repeat;
    opacity: 0.5;
    transition: transform var(--transition-fast);
}

.mega-menu > .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Standard submenus (without custom walker) */
.mega-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
    background: var(--pc-white);
    border: 1px solid var(--pc-mist);
    border-radius: 12px;
    padding: 16px 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    list-style: none;
    margin: 0;
}

.mega-menu > .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Standard submenu items */
.mega-menu .sub-menu .menu-item {
    display: block;
    width: 100%;
}

.mega-menu .sub-menu .menu-item a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--pc-charcoal);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.mega-menu .sub-menu .menu-item a:hover {
    background: var(--pc-cream);
    color: var(--pc-primary);
}

/* Nested submenu (3rd level) */
.mega-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    transform: translateX(8px) translateY(0);
    padding-top: 0;
}

.mega-menu .sub-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) translateY(0);
}

.mobile-menu .menu-item-has-children>.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    border: none;
    box-shadow: none;
    padding: 0;
    padding-left: 16px;
    min-width: auto;
    background: transparent;
}

.mobile-menu .menu-item-has-children.open>.sub-menu {
    display: block;
}

/* RESPONSIVE - Smaller screens */
@media (max-width: 1200px) {
    .mega-menu__dropdown-inner {
        min-width: 520px;
        max-width: 800px;
        padding: 24px 28px 18px;
    }
    
    .mega-menu__columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px 20px;
    }
    
    .mega-menu__item--has-mega:first-child .mega-menu__columns {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mega-menu__heading {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .mega-menu__section-items a,
    .mega-menu__link-item a {
        font-size: 13px;
        padding: 4px 8px;
    }
}

/* Hide mega menu on tablet/mobile - sync with mobile-menu-toggle breakpoint */
@media (max-width: 992px) {
    .main-navigation {
        display: none;
    }
}

/* Mobile Menu Enhancements */
.mobile-menu__highlight {
    color: var(--pc-primary);
    font-weight: 600;
}

.mobile-menu__has-sub {
    position: relative;
}

.mobile-menu__has-sub>a {
    padding-right: 40px;
}

.mobile-menu__toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--pc-cream);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--pc-charcoal);
    transition: all var(--transition-fast);
}

.mobile-menu__toggle:hover {
    background: var(--pc-primary);
    color: var(--pc-white);
}

.mobile-menu__toggle svg {
    transition: transform var(--transition-fast);
}

.mobile-menu__has-sub.is-open .mobile-menu__toggle svg {
    transform: rotate(180deg);
}

.mobile-menu__sub {
    display: none;
    list-style: none;
    padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-md);
    margin: 0;
    background: var(--pc-cream);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-xs);
}

.mobile-menu__has-sub.is-open .mobile-menu__sub {
    display: block;
}

.mobile-menu__sub a {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
    border-bottom: none;
}

/* Mobile submenu toggle (JS-injected for WP fallback menus only) */
/* This targets WP menu structure, NOT our custom plantscount menu */
.mobile-menu .menu-item-has-children > .mobile-submenu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--pc-cream);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--pc-charcoal);
    transition: all var(--transition-fast);
}

.mobile-menu .menu-item-has-children > .mobile-submenu-toggle:hover {
    background: var(--pc-primary);
    color: var(--pc-white);
}

.mobile-menu .menu-item-has-children > .mobile-submenu-toggle::after {
    transition: transform var(--transition-fast);
}

.mobile-menu .menu-item-has-children.open > .mobile-submenu-toggle::after {
    transform: rotate(180deg);
}

.mobile-menu .menu-item-has-children {
    position: relative;
}

.mobile-menu .menu-item-has-children > a {
    padding-right: 44px;
}

/* ====== Global Link Colors (Fix Blue Links) ====== */
a {
    color: var(--pc-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--pc-primary-dark);
}

/* Specific link color overrides */
.site-header a,
.mobile-menu a {
    color: var(--pc-charcoal);
}

.site-header a:hover,
.mobile-menu a:hover {
    color: var(--pc-primary);
}

/* Mega menu links - use more specific selectors in mega-menu section */
.mega-menu > .mega-menu__item > a {
    color: var(--pc-charcoal);
}

.mega-menu > .mega-menu__item > a:hover {
    color: var(--pc-primary);
}

.pc-footer a {
    color: rgba(255, 255, 255, 0.8);
}

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

/* WooCommerce links */
.woocommerce a {
    color: var(--pc-primary);
}

.woocommerce a:hover {
    color: var(--pc-primary-dark);
}

/* Product titles should be charcoal */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--pc-charcoal);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: var(--pc-primary);
}

/* ====== Utility Classes ====== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.mt-5 {
    margin-top: var(--spacing-xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mb-5 {
    margin-bottom: var(--spacing-xl);
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: var(--spacing-xs);
}

.p-2 {
    padding: var(--spacing-sm);
}

.p-3 {
    padding: var(--spacing-md);
}

.p-4 {
    padding: var(--spacing-lg);
}

.p-5 {
    padding: var(--spacing-xl);
}

/* Flexbox utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: var(--spacing-xs);
}

.gap-2 {
    gap: var(--spacing-sm);
}

.gap-3 {
    gap: var(--spacing-md);
}

.gap-4 {
    gap: var(--spacing-lg);
}

.gap-5 {
    gap: var(--spacing-xl);
}

/* Typography utilities */
.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

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

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

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

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

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

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

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

/* Color utilities */
.text-primary {
    color: var(--pc-primary);
}

.text-forest {
    color: var(--pc-forest);
}

.text-sage {
    color: var(--pc-sage);
}

.text-charcoal {
    color: var(--pc-charcoal);
}

.bg-cream {
    background-color: var(--pc-cream);
}

.bg-white {
    background-color: var(--pc-white);
}

.bg-forest {
    background-color: var(--pc-forest);
}

.bg-primary {
    background-color: var(--pc-primary);
}

/* Border utilities */
.border {
    border: 1px solid var(--pc-mist);
}

.border-t {
    border-top: 1px solid var(--pc-mist);
}

.border-b {
    border-bottom: 1px solid var(--pc-mist);
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

/* Shadow utilities */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Display utilities */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

/* Responsive utilities */
@media (max-width: 1024px) {
    .lg\:hidden {
        display: none;
    }
}

@media (max-width: 768px) {
    .md\:hidden {
        display: none;
    }

    .md\:flex-col {
        flex-direction: column;
    }

    .md\:text-center {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .sm\:hidden {
        display: none;
    }

    .sm\:flex-col {
        flex-direction: column;
    }

    .sm\:text-center {
        text-align: center;
    }
}

/* ========================================================================
   MODERN TYPOGRAPHY OVERRIDES - Fraunces/DM Sans Design System
   ======================================================================== */

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    font-family: var(--font-family-sans);
}

.primary-menu a {
    font-family: var(--font-family-sans);
    font-weight: 500;
    font-size: 0.95rem;
    color: #3D3229;
    transition: color 0.2s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
    color: #2D5A3D;
}

/* Dropdown Menu */
.primary-menu .sub-menu {
    font-family: var(--font-family-sans);
    background: #ffffff;
    border: 1px solid #E8EDE5;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(45, 90, 61, 0.12);
    padding: 8px 0;
}

.primary-menu .sub-menu a {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.primary-menu .sub-menu a:hover {
    background: #F5F1E8;
}

/* Header Action Icons */
.header-action {
    color: #3D3229;
    border-radius: 10px;
}

.header-action:hover {
    background: #F5F1E8;
    color: #2D5D3D;
}

.cart-count {
    background: #2D5A3D;
    color: #ffffff;
    font-family: var(--font-family-sans);
    font-weight: 600;
}

/* ===== FOOTER ===== */
.pc-footer {
    font-family: var(--font-family-sans);
}

.pc-footer__title {
    font-family: var(--font-family-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
}

.pc-footer__tagline {
    font-family: var(--font-family-sans);
    font-size: 0.9rem;
    line-height: 1.7;
}

.pc-footer__links a {
    font-family: var(--font-family-sans);
    font-size: 0.9rem;
}

.pc-footer__contact-item {
    font-family: var(--font-family-sans);
}

.pc-footer__bottom {
    font-family: var(--font-family-sans);
}

/* ===== BLOG STYLING ===== */
/* Blog Archive */
.blog .site-main,
.archive .site-main,
.search .site-main {
    font-family: var(--font-family-sans, 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif);
}

/* Archive Title */
.archive-title,
.page-title,
.search-title {
    font-family: var(--font-family-serif, 'Fraunces', Georgia, serif);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 400;
    color: #3D3229;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

/* Blog Post Cards */
.blog article.post,
.archive article.post {
    background: #ffffff;
    border: 1px solid #E8EDE5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(45, 90, 61, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 32px;
}

.blog article.post:hover,
.archive article.post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(45, 90, 61, 0.12);
    border-color: #A4C49A;
}

/* Post Thumbnail */
article.post .post-thumbnail img {
    border-radius: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Post Title */
.blog article.post .entry-title,
.archive article.post .entry-title,
.blog .entry-title,
.archive .entry-title {
    font-family: var(--font-family-serif, 'Fraunces', Georgia, serif);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--pc-charcoal, #3D3229);
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.blog article.post .entry-title a,
.archive article.post .entry-title a,
.blog .entry-title a,
.archive .entry-title a {
    color: var(--pc-charcoal, #3D3229);
    text-decoration: none;
}

.blog article.post .entry-title a:hover,
.archive article.post .entry-title a:hover,
.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: var(--pc-forest, #2D5A3D);
}

/* Post Meta */
.blog article.post .entry-meta,
.archive article.post .entry-meta {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    font-size: 0.85rem;
    color: var(--pc-stone, #5C5347);
    margin-bottom: 16px;
}

/* Post Excerpt */
.blog article.post .entry-summary,
.archive article.post .entry-summary,
.blog article.post .entry-content,
.archive article.post .entry-content {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--pc-stone, #5C5347);
}

/* Post Content Container */
.blog article.post .entry-content-wrapper,
.archive article.post .entry-content-wrapper {
    padding: 24px;
}

/* Read More Link */
.blog article.post .read-more,
.archive article.post .read-more,
.blog article.post .more-link,
.archive article.post .more-link {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    color: var(--pc-forest, #2D5A3D);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog article.post .read-more:hover,
.archive article.post .read-more:hover,
.blog article.post .more-link:hover,
.archive article.post .more-link:hover {
    text-decoration: underline;
}

/* ===== SINGLE BLOG POST ===== */
.single-post .entry-title,
.single article.post .entry-title {
    font-family: var(--font-family-serif, 'Fraunces', Georgia, serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--pc-charcoal, #3D3229);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.single-post .entry-meta,
.single article.post .entry-meta {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    font-size: 0.9rem;
    color: var(--pc-stone, #5C5347);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pc-mist, #E8EDE5);
}

.single-post .entry-content,
.single article.post .entry-content {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--pc-charcoal, #3D3229);
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single article.post .entry-content h2,
.single article.post .entry-content h3,
.single article.post .entry-content h4 {
    font-family: var(--font-family-serif, 'Fraunces', Georgia, serif);
    font-weight: 400;
    color: var(--pc-forest-dark, #1a3a1a);
    margin-top: 40px;
    margin-bottom: 16px;
}

.single-post .entry-content h2,
.single article.post .entry-content h2 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

.single-post .entry-content h3,
.single article.post .entry-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.4rem);
}

.single-post .entry-content p,
.single article.post .entry-content p {
    margin-bottom: 20px;
}

.single-post .entry-content a,
.single article.post .entry-content a {
    color: var(--pc-forest, #2D5A3D);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-post .entry-content a:hover,
.single article.post .entry-content a:hover {
    color: var(--pc-forest-dark, #1E3D29);
}

.single-post .entry-content blockquote,
.single article.post .entry-content blockquote {
    border-left: 4px solid var(--pc-forest, #2D5A3D);
    background: var(--pc-cream, #FDFAF5);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--pc-charcoal, #3D3229);
}

.single-post .entry-content img,
.single article.post .entry-content img {
    border-radius: 16px;
    margin: 24px 0;
}

/* ===== SEARCH RESULTS ===== */
.search-results .search-form {
    margin-bottom: 40px;
}

.search-form input[type="search"] {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    border: 1px solid var(--pc-mist, #E8EDE5);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: var(--font-size-base, 1rem);
}

.search-form button {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    background: var(--pc-forest, #2D5A3D);
    color: var(--pc-white, #ffffff);
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-weight: 500;
}

/* ===== 404 PAGE ===== */
.error404 .page-title {
    font-family: var(--font-family-serif, 'Fraunces', Georgia, serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    color: var(--pc-forest, #2D5A3D);
}

.error404 .page-content {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error404 .page-content p {
    font-size: 1.1rem;
    color: var(--pc-stone, #5C5347);
    margin-bottom: 32px;
}

/* ===== MY ACCOUNT ===== */

/* Hide ALL page titles on My Account page - WooCommerce adds its own "Mijn Account" */
.woocommerce-account .entry-title,
.woocommerce-account .page-title,
.woocommerce-account article > header .entry-title,
.woocommerce-account .woocommerce > h2:first-child,
.woocommerce-account article > header,
.woocommerce-account .entry-header,
.woocommerce-account h1.entry-title,
.woocommerce-account main > article > header > h1,
.woocommerce-account #primary > article > header {
    display: none !important;
}

/* Only show one "Mijn Account" title from WooCommerce */
.woocommerce-account .woocommerce-MyAccount-content > h2:first-child {
    display: block !important; /* Needed to override WooCommerce hidden state */
    font-family: var(--font-family-serif, 'Fraunces', Georgia, serif);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--pc-charcoal, #3D3229);
    margin-bottom: 24px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: linear-gradient(180deg, var(--pc-cream, #FDFAF5) 0%, #F5F1E8 100%);
    border: 1px solid var(--pc-mist, #E8EDE5);
    border-radius: 16px;
    padding: 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    display: block;
    padding: 12px 16px;
    color: var(--pc-charcoal, #3D3229);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: var(--pc-mist, #E8EDE5);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--pc-forest, #2D5A3D);
    color: var(--pc-white, #ffffff);
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-family: var(--font-family-serif, 'Fraunces', Georgia, serif);
    font-weight: 400;
    color: var(--pc-charcoal, #3D3229);
}

/* ===== GENERAL PAGE CONTENT ===== */
.page .entry-title {
    font-family: var(--font-family-serif, 'Fraunces', Georgia, serif);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 400;
    color: var(--pc-charcoal, #3D3229);
    margin-bottom: 24px;
}

.page .entry-content {
    font-family: var(--font-family-sans, 'DM Sans', sans-serif);
    font-size: var(--font-size-base, 1rem);
    line-height: 1.8;
    color: var(--pc-charcoal, #3D3229);
}

.page .entry-content h2,
.page .entry-content h3 {
    font-family: var(--font-family-serif, 'Fraunces', Georgia, serif);
    font-weight: 400;
    color: var(--pc-forest-dark, #1a3a1a);
}

/* ========================================================================
   SCROLL TO TOP BUTTON
   ======================================================================== */
.pc-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #2D5A3D;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.pc-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pc-scroll-top:hover {
    background: #1E3D29;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(45, 90, 61, 0.4);
}

.pc-scroll-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .pc-scroll-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
    
    .pc-scroll-top svg {
        width: 20px;
        height: 20px;
        stroke: white;
    }
}

/* ========================================================================
   LOADING STATES
   ======================================================================== */
.pc-loading {
    position: relative;
    pointer-events: none;
}

.pc-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(137, 165, 80, 0.2);
    border-top-color: #89A550;
    border-radius: 50%;
    animation: pc-spin 0.8s linear infinite;
}

@keyframes pc-spin {
    to {
        transform: rotate(360deg);
    }
}

.pc-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: pc-shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes pc-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ========================================================================
   ENHANCED FOCUS STATES (Accessibility)
   ======================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #89A550;
    outline-offset: 2px;
}

/* Remove default focus for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================================================
   ENHANCED HOVER TRANSITIONS
   ======================================================================== */
a {
    transition: color 0.2s ease;
}

img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card hover lift effect */
.pc-product-card:hover,
.pc-category-card:hover,
.pc-tip-card:hover,
.pc-why__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(45, 90, 61, 0.12);
}

/* Button ripple effect preparation */
/* Note: .pc-btn base styles are defined in homepage.css and main.css button system */
/* This ensures buttons have proper overflow for ripple effects */
.button {
    position: relative;
    overflow: hidden;
}

/* ========================================================================
   NEWSLETTER SIGNUP (Footer Enhancement)
   ======================================================================== */
.pc-footer__newsletter {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-footer__newsletter .pc-footer__title {
    margin-bottom: 8px;
}

.pc-footer__newsletter-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.pc-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pc-newsletter-form__fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc-newsletter-form__input {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}

.pc-newsletter-form__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.pc-newsletter-form__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.pc-newsletter-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #2D5A3D;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-newsletter-form__btn:hover {
    background: #F5F1E8;
    transform: translateY(-2px);
}

.pc-newsletter-form__btn svg {
    transition: transform 0.2s ease;
}

.pc-newsletter-form__btn:hover svg {
    transform: translateX(3px);
}

/* ========================================================================
   NEWSLETTER SECTION (Above Footer - Plantscount Style)
   ======================================================================== */
.pc-newsletter {
    background: var(--pc-cream, #F5F1E8);
    border-top: 1px solid rgba(45, 90, 61, 0.1);
    border-bottom: 1px solid rgba(45, 90, 61, 0.1);
    padding: 48px 24px;
}

/* ========================================================================
   OMNISEND EMBEDDED FORM STYLING
   
   Omnisend uses inline styles, so we need !important for overrides.
   This is isolated to Omnisend elements only - no impact on rest of site.
   ======================================================================== */
div[id^="omnisend-embedded-v2"] {
    background: linear-gradient(180deg, #F5F1E8 0%, #EDE9E0 100%) !important;
    padding: 48px 24px !important;
    border-top: 1px solid rgba(45, 90, 61, 0.1);
    border-bottom: 1px solid rgba(45, 90, 61, 0.1);
}

/* Remove dashed border from inner container */
div[id^="omnisend-embedded-v2"] > div {
    border: none !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    div[id^="omnisend-embedded-v2"] {
        padding: 32px 16px !important;
    }
}

.pc-newsletter__container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.pc-newsletter__icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--pc-forest, #2D5A3D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.pc-newsletter__icon svg {
    width: 32px;
    height: 32px;
}

.pc-newsletter__content {
    flex: 1;
    min-width: 0;
}

.pc-newsletter__badge {
    display: inline-block;
    background: var(--pc-forest, #2D5A3D);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.pc-newsletter__title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--pc-forest, #2D5A3D);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.pc-newsletter__text {
    font-size: 0.95rem;
    color: #5a5a5a;
    margin: 0;
    line-height: 1.5;
}

.pc-newsletter__form-wrapper {
    flex-shrink: 0;
}

.pc-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc-newsletter__input-group {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pc-newsletter__input {
    flex: 1;
    min-width: 220px;
    padding: 14px 18px;
    border: 2px solid var(--pc-forest, #2D5A3D);
    border-right: none;
    border-radius: 8px 0 0 8px;
    background: white;
    color: #333;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.pc-newsletter__input::placeholder {
    color: #999;
}

.pc-newsletter__input:focus {
    outline: none;
    border-color: var(--pc-forest, #2D5A3D);
    box-shadow: inset 0 0 0 1px var(--pc-forest, #2D5A3D);
}

.pc-newsletter__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--pc-forest, #2D5A3D);
    color: white;
    border: 2px solid var(--pc-forest, #2D5A3D);
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pc-newsletter__btn:hover {
    background: #1E3D29;
    border-color: #1E3D29;
}

.pc-newsletter__btn svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.pc-newsletter__btn:hover svg {
    transform: translateX(3px);
}

.pc-newsletter__privacy {
    font-size: 0.8rem;
    color: #888;
    margin: 4px 0 0 0;
    text-align: right;
}

/* Tablet */
@media (max-width: 900px) {
    .pc-newsletter__container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .pc-newsletter__form-wrapper {
        width: 100%;
        max-width: 400px;
    }
    
    .pc-newsletter__privacy {
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 540px) {
    .pc-newsletter {
        padding: 32px 16px;
    }
    
    .pc-newsletter__icon {
        width: 56px;
        height: 56px;
    }
    
    .pc-newsletter__icon svg {
        width: 24px;
        height: 24px;
    }
    
    .pc-newsletter__title {
        font-size: 1.25rem;
    }
    
    .pc-newsletter__input-group {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .pc-newsletter__input {
        min-width: 0;
        border-right: 2px solid var(--pc-forest, #2D5A3D);
        border-radius: 8px 8px 0 0;
        border-bottom: none;
    }
    
    .pc-newsletter__btn {
        border-radius: 0 0 8px 8px;
        justify-content: center;
    }
}

/* Old newsletter styles removed - using enhanced version above */

/* ========================================================================
   PAYMENT METHOD ICONS (Footer)
   ======================================================================== */
.pc-footer__payments {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pc-footer__payment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================================================
   COMPLIANZ COOKIE BANNER - CLS FIX
   Prevent Cumulative Layout Shift by using composited animations only
   Lighthouse flags: "Non-composited animation: bottom" - we fix this
   ======================================================================== */

/* Force composited layer and disable bottom animation */
.cmplz-cookiebanner {
    /* GPU composited properties only */
    will-change: transform, opacity;
    transform: translateZ(0);
    /* Override any bottom-based animation */
    bottom: 20px !important;
    /* Disable all animations initially */
    animation: none !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Position the banner correctly */
.cmplz-cookiebanner.cmplz-bottom-right {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    /* Start visible - no animation needed */
    opacity: 1;
    transform: translateY(0);
}

/* Hidden state uses transform (composited) not bottom */
.cmplz-cookiebanner.cmplz-bottom-right[aria-hidden="true"],
.cmplz-cookiebanner.cmplz-bottom-right.cmplz-hidden,
.cmplz-cookiebanner[aria-hidden="true"] {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
    visibility: hidden;
}

/* Container doesn't affect layout */
.cmplz-cookiebanner-container {
    position: fixed !important;
    z-index: 999999;
    pointer-events: none;
    /* No layout impact */
    contain: layout style;
}

.cmplz-cookiebanner-container .cmplz-cookiebanner {
    pointer-events: auto;
}

/* Override Complianz's slideIn keyframe to use transform only */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Force our animation over Complianz's */
.cmplz-cookiebanner[style*="animation"],
.cmplz-cookiebanner[class*="slideIn"] {
    animation: slideIn 0.3s ease forwards !important;
}

/* ========================================================================
   WORDPRESS DETAILS/ACCORDION BLOCK (FAQ)
   Fix for oversized SVG icons in details/summary elements
   ======================================================================== */
details,
.wp-block-details {
    border: 1px solid #E5E0D5;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
}

details summary,
.wp-block-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #3D3229;
    background: #FAFAF8;
    list-style: none;
    transition: background-color 0.2s ease;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::marker {
    display: none;
    content: '';
}

details summary:hover {
    background: #F5F1E8;
}

details[open] summary {
    border-bottom: 1px solid #E5E0D5;
}

/* Fix oversized SVG icons in summary */
details summary svg,
.wp-block-details summary svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    max-width: 24px !important;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

details[open] summary svg,
.wp-block-details[open] summary svg {
    transform: rotate(45deg);
}

/* Content area */
details > *:not(summary),
.wp-block-details > *:not(summary) {
    padding: 16px 20px;
}

details p:last-child,
.wp-block-details p:last-child {
    margin-bottom: 0;
}

/* Generic fix: any SVG inside summary should be icon-sized */
summary svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    flex-shrink: 0;
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS - Comprehensive fixes for mobile experience
   ========================================================================== */

/* ===== Header Mobile Fixes ===== */
@media (max-width: 992px) {
    /* Ensure mobile menu toggle is visible and properly positioned */
    .mobile-menu-toggle {
        display: flex !important;
        order: -1;
        z-index: 100;
    }

    /* Hide desktop navigation on tablet/mobile */
    .main-navigation {
        display: none !important;
    }

    /* Header inner layout for mobile */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        gap: 12px;
    }

    /* Site branding centered on mobile */
    .site-branding {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .site-branding .custom-logo {
        height: 40px;
        width: auto;
    }

    /* Header actions compact on mobile */
    .header-actions {
        display: flex !important;
        align-items: center;
        gap: 2px;
        flex-shrink: 0;
    }

    .header-action {
        width: 36px;
        height: 36px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    /* Hide search on mobile - keep cart and account visible */
    .header-action.search-toggle {
        display: none !important;
    }
    
    /* Ensure cart and account are ALWAYS visible on mobile */
    .header-action.cart-toggle,
    .header-action.account-link,
    button.cart-toggle,
    a.account-link {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure SVG icons are visible in header actions */
    .header-action svg,
    .header-actions svg {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        /* Don't override inline stroke - let the HTML SVG stroke attribute work */
    }
    
    /* Cart count badge on mobile */
    .cart-count {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
    }

    /* USP bar mobile */
    .usp-bar {
        padding: 8px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .usp-bar__items {
        flex-wrap: nowrap;
        gap: 16px;
        justify-content: flex-start;
        padding: 0 16px;
        min-width: max-content;
    }

    .usp-bar__item {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* Hide advice bar on mobile */
    .advice-bar {
        display: none;
    }
}

/* ===== Shop/Archive Page Mobile Fixes ===== */
@media (max-width: 768px) {
    /* Product grid - 2 columns on mobile */
    .products,
    .pc-products-grid,
    ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Product card compact styling */
    .products .product,
    .pc-products-grid .product {
        padding: 0;
    }

    .products .product .woocommerce-loop-product__title,
    .pc-products-grid .product .woocommerce-loop-product__title {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .products .product .price,
    .pc-products-grid .product .price {
        font-size: 0.9rem;
    }

    /* Filter sidebar - collapsible on mobile */
    .pc-filters-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--pc-white);
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    }

    .pc-filters-sidebar.is-open {
        transform: translateX(0);
    }

    /* Mobile filter toggle button */
    .pc-filters-toggle {
        display: flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        background: var(--pc-white);
        border: 1px solid var(--pc-border);
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        margin-bottom: 16px;
    }

    /* Shop header mobile */
    .woocommerce-products-header {
        padding: 16px 0;
    }

    .woocommerce-products-header__title {
        font-size: 1.5rem;
    }

    /* Sorting dropdown compact */
    .woocommerce-ordering select {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

/* ===== Single Product Page Mobile Fixes ===== */
@media (max-width: 768px) {
    /* Product layout stack on mobile */
    .pc-product-single__layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .pc-product-single__gallery,
    .pc-product-single__content {
        width: 100%;
        max-width: 100%;
    }

    /* Gallery compact */
    .pc-product-gallery {
        max-width: 100%;
    }

    .pc-product-gallery__thumbnails {
        gap: 8px;
    }

    .pc-product-gallery__thumb {
        width: 60px;
        height: 60px;
    }

    /* Product title smaller */
    .product_title {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    /* Price prominent */
    .pc-product-single__price .price {
        font-size: 1.3rem;
    }

    /* Variation buttons compact */
    .pc-variation-buttons {
        gap: 8px;
    }

    .pc-swatch {
        min-width: 50px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    /* Add to cart button full width */
    .single_add_to_cart_button {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Quantity input */
    .quantity {
        width: 100%;
        max-width: 120px;
    }

    /* Tabs compact */
    .wc-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .wc-tabs li a {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    /* Related products 2 columns */
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ===== Cart Page Mobile Fixes ===== */
@media (max-width: 768px) {
    /* Cart table responsive */
    .woocommerce-cart-form__contents {
        display: block;
    }

    .woocommerce-cart-form__contents thead {
        display: none;
    }

    .woocommerce-cart-form__contents tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 16px 0;
        border-bottom: 1px solid var(--pc-border);
        gap: 12px;
        align-items: center;
    }

    .woocommerce-cart-form__contents .product-remove {
        order: 1;
        width: auto;
    }

    .woocommerce-cart-form__contents .product-thumbnail {
        order: 2;
        width: 80px;
    }

    .woocommerce-cart-form__contents .product-thumbnail img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
    }

    .woocommerce-cart-form__contents .product-name {
        order: 3;
        flex: 1;
        min-width: 120px;
    }

    .woocommerce-cart-form__contents .product-price {
        order: 4;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .woocommerce-cart-form__contents .product-price::before {
        content: "Prijs: ";
        font-weight: 500;
    }

    .woocommerce-cart-form__contents .product-quantity {
        order: 5;
        width: auto;
    }

    .woocommerce-cart-form__contents .product-subtotal {
        order: 6;
        width: auto;
        font-weight: 600;
    }

    /* Cart totals */
    .cart_totals {
        width: 100%;
        margin-top: 20px;
    }

    .cart_totals table {
        width: 100%;
    }

    /* Coupon form */
    .coupon {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .coupon input[type="text"] {
        flex: 1;
        min-width: 150px;
    }

    .coupon button {
        width: 100%;
    }

    /* Checkout button full width */
    .wc-proceed-to-checkout .checkout-button {
        width: 100%;
    }
}

/* ===== Checkout Page Mobile Fixes ===== */
@media (max-width: 768px) {
    /* Form fields full width */
    .woocommerce-checkout .form-row {
        width: 100%;
        float: none;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100%;
    }

    /* Order review compact */
    .woocommerce-checkout-review-order-table {
        font-size: 0.9rem;
    }

    /* Payment methods */
    .wc_payment_methods {
        padding: 0;
    }

    .wc_payment_method label {
        font-size: 0.9rem;
    }

    /* Place order button */
    #place_order {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }
}

/* ===== Footer Mobile Fixes ===== */
@media (max-width: 768px) {
    .pc-footer {
        padding: 40px 0 20px;
    }

    .footer-widgets__grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .footer-widget__title {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-widget__list li {
        padding: 6px 0;
    }

    .pc-footer__bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .pc-footer__social {
        justify-content: center;
    }
}

/* ===== General Mobile Utilities ===== */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Section spacing */
    .pc-section {
        padding: 40px 0;
    }

    /* Headings */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Buttons touch-friendly */
    button,
    .button,
    .btn,
    input[type="submit"] {
        min-height: 44px;
        padding: 12px 20px;
    }

    /* Form inputs touch-friendly */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Hide elements on mobile */
    .hide-on-mobile {
        display: none !important;
    }

    /* Show elements only on mobile */
    .show-on-mobile {
        display: block !important;
    }
}

/* ===== Very Small Screens (< 480px) ===== */
@media (max-width: 480px) {
    /* Product grid still 2 columns but smaller gap */
    .products,
    .pc-products-grid,
    ul.products {
        gap: 8px !important;
    }

    /* Product card even more compact */
    .products .product .woocommerce-loop-product__title {
        font-size: 0.8rem;
    }

    .products .product .price {
        font-size: 0.85rem;
    }

    /* Add to cart button on cards */
    .products .product .button {
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    /* Single product */
    .product_title {
        font-size: 1.25rem;
    }

    /* Variation swatches smaller */
    .pc-swatch {
        min-width: 44px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* ============================================================
   SPECIES LANDING PAGE STYLES
   /plant/{species-slug}/
   ============================================================ */

.pc-species {
    background: var(--pc-cream);
}

/* ---- Section utilities ---- */
.pc-section-title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--pc-charcoal);
    line-height: 1.2;
}

.pc-section-subtitle {
    font-size: 1rem;
    color: var(--pc-stone);
    margin-bottom: 32px;
    max-width: 640px;
    line-height: 1.6;
}

/* ---- Hero ---- */
.pc-species-hero {
    position: relative;
    padding: 48px 0 64px;
    overflow: hidden;
}

.pc-species-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(135deg, #e8f5e9 0%, var(--pc-white) 100%);
    z-index: 0;
}

.pc-species-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.pc-species-hero__image-wrap {
    position: relative;
}

.pc-species-hero__image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.pc-species-hero__placeholder {
    aspect-ratio: 1;
    background: #e8f5e9;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pc-primary);
}

.pc-species-hero__content {
    padding: 16px 0;
}

/* Breadcrumbs */
.pc-breadcrumbs {
    font-size: 13px;
    margin-bottom: 16px;
}

.pc-breadcrumbs a {
    color: var(--pc-primary);
    text-decoration: none;
}

.pc-breadcrumbs a:hover {
    text-decoration: underline;
}

.pc-breadcrumbs__sep {
    margin: 0 6px;
    color: var(--pc-stone);
}

.pc-breadcrumbs__current {
    color: var(--pc-stone);
}

/* Title */
.pc-species-hero__title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--pc-charcoal);
    line-height: 1.1;
}

/* Badges */
.pc-species-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pc-species-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--pc-white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pc-charcoal);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pc-species-badge__icon {
    color: var(--pc-primary);
    flex-shrink: 0;
}

/* Intro */
.pc-species-hero__intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pc-stone);
    margin-bottom: 24px;
}

/* Stats */
.pc-species-stats {
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
}

.pc-species-stat {
    text-align: center;
}

.pc-species-stat__value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pc-primary);
}

.pc-species-stat__label {
    font-size: 12px;
    color: var(--pc-stone);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA */
.pc-species-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.pc-btn--primary:hover {
    background: var(--pc-primary-dark);
    color: var(--pc-white);
    transform: translateY(-1px);
}

.pc-btn--outline {
    background: transparent;
    border-color: var(--pc-primary);
    color: var(--pc-primary);
}

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

.pc-btn--lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* ---- Keuzehulp Section ---- */
.pc-species-keuzehulp {
    padding: 56px 0;
    background: var(--pc-white);
}

.pc-keuzehulp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.pc-keuzehulp-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--pc-cream);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.pc-keuzehulp-card:hover {
    border-color: var(--pc-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pc-keuzehulp-card__image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--pc-white);
}

.pc-keuzehulp-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-keuzehulp-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pc-keuzehulp-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--pc-charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-keuzehulp-card__density {
    font-size: 12px;
    font-weight: 400;
    color: var(--pc-stone);
    background: var(--pc-white);
    padding: 2px 8px;
    border-radius: 20px;
}

.pc-keuzehulp-card__desc {
    font-size: 13px;
    color: var(--pc-stone);
    margin: 0 0 auto;
    line-height: 1.5;
}

.pc-keuzehulp-card__meta {
    font-size: 12px;
    font-weight: 500;
    color: var(--pc-primary);
    margin-top: 8px;
}

/* ---- Care Section ---- */
.pc-species-care {
    padding: 56px 0;
    background: var(--pc-white);
}

.pc-species-care__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.pc-care-card {
    background: var(--pc-cream);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.pc-care-card__icon {
    color: var(--pc-primary);
    margin-bottom: 12px;
}

.pc-care-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--pc-charcoal);
}

.pc-care-card__text {
    font-size: 14px;
    color: var(--pc-stone);
    margin: 0;
    line-height: 1.6;
}

.pc-species-care__tips {
    background: #e8f5e9;
    padding: 24px;
    border-radius: var(--radius-lg);
}

.pc-species-care__tips h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--pc-charcoal);
}

.pc-species-care__tips ul {
    margin: 0;
    padding-left: 20px;
}

.pc-species-care__tips li {
    margin-bottom: 6px;
    color: var(--pc-stone);
    line-height: 1.5;
}

/* ---- Variants Section ---- */
.pc-species-variants {
    padding: 56px 0;
}

.pc-species-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pc-species-group {
    background: var(--pc-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.pc-species-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.pc-species-group__header:hover {
    background: var(--pc-cream);
}

.pc-species-group__info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-species-group__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pc-charcoal);
}

.pc-species-group__density {
    font-size: 12px;
    font-weight: 400;
    color: var(--pc-stone);
    background: var(--pc-cream);
    padding: 3px 10px;
    border-radius: 20px;
}

.pc-species-group__count {
    font-size: 13px;
    color: var(--pc-stone);
}

.pc-species-group__toggle {
    color: var(--pc-stone);
    transition: transform 0.2s ease;
}

.pc-species-group--open .pc-species-group__toggle {
    transform: rotate(180deg);
}

.pc-species-group__content {
    padding: 0 24px 24px;
}

/* Product Cards Grid */
.pc-species-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.pc-species-product {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--pc-cream);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.pc-species-product:hover {
    background: #e8f5e9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pc-species-product__image {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--pc-white);
}

.pc-species-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-species-product__size {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--pc-white);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--pc-primary);
}

.pc-species-product__info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pc-species-product__name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.3;
    color: var(--pc-charcoal);
}

.pc-species-product__specs {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--pc-stone);
    margin-bottom: auto;
}

.pc-species-product__specs span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pc-species-product__specs svg {
    color: var(--pc-primary);
}

.pc-species-product__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.pc-species-product__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--pc-primary);
}

.pc-species-product__price del {
    color: var(--pc-stone);
    font-weight: 400;
    font-size: 13px;
}

.pc-species-product__cta {
    font-size: 13px;
    color: var(--pc-primary);
    font-weight: 500;
}

/* ---- FAQ Section ---- */
.pc-species-faq {
    padding: 56px 0;
    background: var(--pc-white);
}

.pc-faq-list {
    max-width: 800px;
}

.pc-faq-item {
    border-bottom: 1px solid var(--pc-mist);
}

.pc-faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--pc-charcoal);
    transition: color 0.15s ease;
    gap: 16px;
}

.pc-faq-item__question:hover {
    color: var(--pc-primary);
}

.pc-faq-item__icon {
    flex-shrink: 0;
    color: var(--pc-stone);
    transition: transform 0.2s ease;
}

.pc-faq-item__question[aria-expanded="true"] .pc-faq-item__icon {
    transform: rotate(180deg);
}

.pc-faq-item__answer {
    padding: 0 0 18px;
}

.pc-faq-item__answer p {
    margin: 0;
    color: var(--pc-stone);
    line-height: 1.7;
}

/* ---- Related Section ---- */
.pc-species-related {
    padding: 56px 0;
}

.pc-species-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.pc-related-card {
    display: block;
    padding: 28px;
    background: var(--pc-white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

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

.pc-related-card--cta {
    background: var(--pc-primary);
    color: var(--pc-white);
}

.pc-related-card--cta:hover {
    background: var(--pc-primary-dark);
    color: var(--pc-white);
}

.pc-related-card__icon {
    margin-bottom: 12px;
    color: var(--pc-primary);
}

.pc-related-card--cta .pc-related-card__icon {
    color: var(--pc-white);
}

.pc-related-card h3 {
    font-size: 1.1rem;
    margin: 0 0 8px;
    font-weight: 600;
}

.pc-related-card p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
    line-height: 1.5;
}

/* ---- Empty State ---- */
.pc-species-empty {
    text-align: center;
    padding: 56px 20px;
    background: var(--pc-white);
    border-radius: var(--radius-lg);
}

.pc-species-empty p {
    font-size: 1.1rem;
    color: var(--pc-stone);
    margin-bottom: 20px;
}

/* ---- Species Page Responsive ---- */
@media (max-width: 900px) {
    .pc-species-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .pc-species-hero__image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pc-species-stats {
        justify-content: center;
    }
    
    .pc-species-hero__cta {
        justify-content: center;
    }
    
    .pc-keuzehulp-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .pc-species-hero {
        padding: 32px 0 48px;
    }
    
    .pc-species-products {
        grid-template-columns: 1fr;
    }
    
    .pc-species-product {
        flex-direction: column;
    }
    
    .pc-species-product__image {
        width: 100%;
        height: 180px;
    }
    
    .pc-species-hero__cta {
        flex-direction: column;
    }
    
    .pc-btn--lg {
        width: 100%;
    }
    
    .pc-species-group__content {
        padding: 0 16px 16px;
    }
    
    .pc-species-group__header {
        padding: 16px;
    }
    
    .pc-keuzehulp-card {
        flex-direction: column;
    }
    
    .pc-keuzehulp-card__image {
        width: 100%;
        height: 160px;
    }
}