/*
Theme Name: Willies Wellness Theme v2
Theme URI: https://example.com/willies-wellness-theme
Author: Willies Wellness
Author URI: https://example.com
Description: A modern, high-converting WooCommerce wellness & dispensary theme inspired by Kultivate Wellness. Features a desktop menu bar, sidebar shop filters, mobile off-canvas drawers, live order status notifications, customizable homepage slider with configurable button location & crisp images (no green gradient), customizable announcement bar, dynamic category management, editable social media icons, and a customizable 21+ Age Verification Gate with Date of Birth entry, custom background image, and movable card placement.
Version: 2.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: willies-wellness-theme
Tags: woocommerce, wellness, cbd, dispensary, mobile-first, responsive, filters, sidebar, grid-layout, social-media, age-gate
*/

/* ============================================================
   DESIGN TOKENS & CSS VARIABLES (Kultivate Wellness Aesthetic)
   ============================================================ */
:root {
    --primary: #00aa00;
    --primary-hover: #008a00;
    --primary-dark: #005d00;
    --primary-light: #e6f7e6;
    --heading-color: #209d58;
    --heading-dark: #166534;
    --accent-gold: #ffbd00;
    --badge-sale: #ee0000;
    --badge-sale-text: #ffffff;
    
    --bg-page: #f3f5f6;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    
    --border-color: #e1e3e4;
    --border-color-subtle: #edf0f2;
    --border-focus: #209d58;
    
    --text-main: #2d3748;
    --text-dark: #1a202c;
    --text-muted: #677279;
    --text-light: #9ca3af;
    
    --glass-bg: rgba(255, 255, 255, 0.94);
    --glass-border: rgba(225, 227, 228, 0.8);
    
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.1);
    
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;
    
    --font-main: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --header-height: 72px;
    --menubar-height: 48px;
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: 80px; /* Space for mobile sticky bottom nav */
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

a:hover {
    color: var(--heading-color);
}

ul, ol {
    list-style: none;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
    background: #166534;
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1002;
}

.announcement-bar a {
    color: #a7f3d0;
    text-decoration: underline;
    margin-left: 0.5rem;
}

.announcement-bar a:hover {
    color: #ffffff;
}

/* ============================================================
   MAIN HEADER
   ============================================================ */
.main-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: var(--shadow-xs);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 1.35rem;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.mobile-menu-toggle:hover {
    background: var(--bg-page);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Site Branding & Logo Constraints */
.site-branding {
    display: flex;
    align-items: center;
    max-height: calc(var(--header-height) - 14px);
    overflow: hidden;
}

.site-branding a,
.custom-logo-link {
    display: flex;
    align-items: center;
    max-height: calc(var(--header-height) - 14px);
}

.site-branding img,
.custom-logo-link img,
.custom-logo,
.site-logo-link img,
img.custom-logo {
    max-height: 50px !important;
    height: auto !important;
    width: auto !important;
    max-width: 240px !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 768px) {
    .site-branding img,
    .custom-logo-link img,
    .custom-logo,
    .site-logo-link img,
    img.custom-logo {
        max-height: 40px !important;
        max-width: 170px !important;
    }
}

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--heading-color);
    white-space: nowrap;
}

.site-title a {
    color: var(--heading-color);
}

/* Header Center Search Bar (Kultivate Style) */
.header-search {
    flex: 1;
    max-width: 540px;
    margin: 0 1rem;
    display: none;
}

@media (min-width: 768px) {
    .header-search {
        display: block;
    }
}

.header-search form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.header-search input[type="search"] {
    width: 100%;
    height: 42px;
    padding: 0 2.75rem 0 1rem;
    background: var(--bg-page);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.header-search input[type="search"]:focus {
    background: #ffffff;
    border-color: var(--heading-color);
    box-shadow: 0 0 0 3px rgba(32, 157, 88, 0.12);
}

.header-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s, transform 0.15s;
}

.header-search button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* Header Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Loyalty Points Badge */
.ww-points-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    display: none;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 640px) {
    .ww-points-badge {
        display: inline-flex;
    }
}

.ww-points-badge:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.ww-points-badge i {
    color: #ffd700;
    font-size: 0.85rem;
}

/* Header Action Icon Link */
.header-action-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
    position: relative;
}

.header-action-item:hover {
    background: var(--bg-page);
    color: var(--heading-color);
}

.header-action-item i {
    font-size: 1.15rem;
}

.header-action-item span.action-label {
    display: none;
}

@media (min-width: 1024px) {
    .header-action-item span.action-label {
        display: inline;
    }
}

/* Flashing Orders Link in Header */
.header-orders-item.has-ongoing-orders {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.75rem;
    animation: order-pulse-glow 1.6s infinite ease-in-out;
}

.header-orders-item.has-ongoing-orders i {
    color: #ef4444;
    animation: order-icon-pulse 1.6s infinite ease-in-out;
}

/* Cart Button */
.header-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(32, 157, 88, 0.08);
    border: 1.5px solid rgba(32, 157, 88, 0.25);
    border-radius: var(--radius-md);
    color: var(--heading-color);
    position: relative;
    font-size: 1.25rem;
    transition: background 0.2s, transform 0.15s;
}

.header-cart-btn:hover {
    background: rgba(32, 157, 88, 0.15);
    color: var(--heading-color);
    transform: translateY(-1px);
}

.header-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-xs);
    line-height: 1;
    padding: 0 2px;
}

/* ============================================================
   DESKTOP MENU BAR (Kultivate Horizontal Navigation)
   ============================================================ */
.desktop-menubar {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

@media (min-width: 1024px) {
    .desktop-menubar {
        display: block;
    }
}

.menubar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--menubar-height);
}

.primary-menu-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.primary-menu-nav li {
    position: relative;
}

.primary-menu-nav li a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    letter-spacing: 0.01em;
    transition: color 0.15s, background 0.15s;
}

.primary-menu-nav li a:hover,
.primary-menu-nav li.current-menu-item > a {
    color: var(--heading-color);
    background: rgba(32, 157, 88, 0.06);
}

/* Dropdown Sub-menus */
.primary-menu-nav li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.primary-menu-nav li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu-nav li ul.sub-menu li a {
    padding: 0.5rem 1.25rem;
    font-size: 0.88rem;
    border-radius: 0;
}

.primary-menu-nav li ul.sub-menu li a:hover {
    background: var(--bg-page);
}

/* Right Menu Bar Ongoing Orders Flash Pill */
.menubar-orders-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    background: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
    animation: order-pulse-glow 1.6s infinite ease-in-out;
}

.menubar-orders-badge i {
    animation: order-icon-pulse 1.6s infinite ease-in-out;
}

/* ============================================================
   MOBILE NAVIGATION DRAWER
   ============================================================ */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 10006;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
    transform: translateX(320px);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-page);
}

.mobile-drawer-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading-color);
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.mobile-menu-list li {
    border-bottom: 1px solid var(--border-color-subtle);
}

.mobile-menu-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-menu-list li a:hover {
    color: var(--heading-color);
}

.mobile-drawer-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-page);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* ============================================================
   SHOP LAYOUT (DESKTOP SIDEBAR + MAIN CONTENT AREA)
   ============================================================ */
.shop-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .shop-layout-container {
        grid-template-columns: 260px 1fr;
        gap: 2rem;
    }
}

/* Left Sidebar Filters (Desktop) */
.shop-sidebar-filters {
    display: none;
}

@media (min-width: 1024px) {
    .shop-sidebar-filters {
        display: block;
    }
}

.filter-widget {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-xs);
}

.filter-widget-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: 0.6rem;
    margin-bottom: 0.75rem;
    border-bottom: 1.5px solid var(--border-color-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.filter-widget-content {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.filter-widget-content::-webkit-scrollbar {
    width: 4px;
}

.filter-widget-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.filter-cat-tree-node {
    transition: background 0.15s ease;
}

.filter-parent-cat {
    font-weight: 600 !important;
    color: var(--text-dark) !important;
}

.filter-child-cat {
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
}

.filter-child-cat:hover {
    color: var(--heading-color) !important;
}

.child-indicator {
    color: var(--heading-color);
    font-weight: 700;
    margin-right: 4px;
    opacity: 0.8;
}

.filter-item-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0;
    font-size: 0.88rem;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.filter-item-label:hover {
    color: var(--heading-color);
}

.filter-item-label input[type="checkbox"],
.filter-item-label input[type="radio"] {
    accent-color: var(--heading-color);
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-item-count {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Price Range Inputs */
.price-range-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.price-range-filter input {
    width: 100%;
    height: 36px;
    padding: 0 0.5rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
    background: var(--bg-page);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.price-range-filter input:focus {
    background: #ffffff;
    border-color: var(--heading-color);
}

.filter-apply-btn {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.55rem;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-apply-btn:hover {
    background: var(--primary-hover);
}

.filter-reset-btn {
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.45rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-reset-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-dark);
}

/* ============================================================
   SHOP TOOLBAR & CONTROLS
   ============================================================ */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-xs);
}

.shop-results-count {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.shop-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Filter Trigger Button */
.mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: var(--heading-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(32, 157, 88, 0.3);
    transition: background 0.15s, transform 0.15s;
}

@media (min-width: 1024px) {
    .mobile-filter-btn {
        display: none;
    }
}

.mobile-filter-btn:active {
    transform: scale(0.96);
}

/* Sort Dropdown */
.woocommerce-ordering select,
.shop-sort-select {
    height: 38px;
    padding: 0 1.75rem 0 0.75rem;
    background-color: var(--bg-page);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.woocommerce-ordering select:focus,
.shop-sort-select:focus {
    border-color: var(--heading-color);
}

/* ============================================================
   PRODUCT GRID & CARDS (Kultivate High Density Cards)
   ============================================================ */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

@media (min-width: 600px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem !important;
    }
}

@media (min-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.woocommerce ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    padding: 0.75rem !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-xs) !important;
    position: relative !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.woocommerce ul.products li.product:hover {
    border-color: rgba(32, 157, 88, 0.4) !important;
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-2px) !important;
}

/* Product Card Image Container */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.woocommerce ul.products li.product img {
    height: 120px !important;
    object-fit: contain !important;
    margin-bottom: 0.5rem !important;
    background: #f9fafb;
    border-radius: var(--radius-sm);
    padding: 6px;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .woocommerce ul.products li.product img {
        height: 140px !important;
    }
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.04);
}

/* On-Sale Pill Badge */
.woocommerce ul.products li.product span.onsale,
.woocommerce span.onsale {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background: var(--badge-sale) !important;
    color: var(--badge-sale-text) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 3px 7px !important;
    border-radius: var(--radius-xs) !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    min-height: auto !important;
    min-width: auto !important;
    z-index: 5 !important;
    box-shadow: 0 2px 6px rgba(238, 0, 0, 0.3) !important;
}

/* Product Vendor / Brand Tag */
.product-vendor-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

/* Product Title */
.woocommerce-loop-product__title {
    font-family: var(--font-main) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    margin: 0 0 0.35rem 0 !important;
    line-height: 1.35 !important;
    min-height: 2.7em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.15s ease !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--heading-color) !important;
}

/* Star Rating */
.woocommerce .star-rating {
    font-size: 0.75rem !important;
    color: var(--accent-gold) !important;
    margin-bottom: 0.3rem !important;
}

/* Product Price */
.price {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--heading-color) !important;
    margin-bottom: 0.65rem !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 0.4rem !important;
}

.price del {
    color: var(--text-light) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    opacity: 0.85 !important;
}

.price ins {
    color: var(--heading-color) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Add to Cart Button (Kultivate Clean Action Button) */
.button.add_to_cart_button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .out-of-stock {
    position: relative !important;
    z-index: 10 !important;
    background-color: var(--primary) !important;
    color: #ffffff !important;
    padding: 0.55rem 0.5rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: auto !important;
    display: block !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 170, 0, 0.25) !important;
    transition: all 0.2s ease !important;
}

.button.add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
    background-color: var(--primary-hover) !important;
    box-shadow: 0 4px 12px rgba(0, 170, 0, 0.35) !important;
    transform: translateY(-1px) !important;
}

.button.add_to_cart_button:active,
.woocommerce ul.products li.product .button:active {
    transform: scale(0.97) !important;
}

.woocommerce ul.products li.product .out-of-stock {
    background-color: var(--text-light) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

/* ============================================================
   MOBILE FILTER DRAWER (OFF-CANVAS SHEET)
   ============================================================ */
.mobile-filter-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-page);
    z-index: 10006;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-filter-drawer.active {
    transform: translateX(-320px);
}

.mobile-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.mobile-filter-drawer-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading-color);
}

.mobile-filter-drawer-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-filter-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.mobile-filter-drawer-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    display: flex;
    gap: 0.5rem;
}

/* ============================================================
   HOMEPAGE COMPONENTS (Hero Slider, Value Strip, Categories)
   ============================================================ */
/* Value Proposition Strip */
.value-props-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

@media (min-width: 768px) {
    .value-props-strip {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.value-prop-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-xs);
}

.value-prop-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.value-prop-text h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}

.value-prop-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Category Grid Section */
.home-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.02em;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-section-title a.view-all-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.home-section-title a.view-all-link:hover {
    text-decoration: underline;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 101, 52, 0.85) 0%, rgba(22, 101, 52, 0.25) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.category-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ============================================================
   RICH FOOTER (Kultivate Style 4-Column + Disclaimer)
   ============================================================ */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: 3.5rem;
    color: var(--text-muted);
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

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

@media (min-width: 1024px) {
    .footer-columns {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-links li a:hover {
    color: var(--heading-color);
    text-decoration: underline;
}

/* Social Media Icons */
.footer-social-links,
.drawer-social-links {
    margin-top: 1.15rem;
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-social-links .social-icon,
.drawer-social-links .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(32, 157, 88, 0.08);
    color: var(--heading-color, #209d58);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(32, 157, 88, 0.18);
}

.footer-social-links .social-icon:hover,
.drawer-social-links .social-icon:hover {
    background: var(--primary, #00aa00);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 170, 0, 0.28);
    border-color: var(--primary, #00aa00);
}

.footer-social-links .social-icon.social-instagram:hover {
    background: #E1306C;
    border-color: #E1306C;
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
}

.footer-social-links .social-icon.social-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.footer-social-links .social-icon.social-twitter:hover {
    background: #111111;
    border-color: #111111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-social-links .social-icon.social-tiktok:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-social-links .social-icon.social-youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
}

.footer-social-links .social-icon.social-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.footer-disclaimer-box {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: var(--radius-md);
    padding: 1rem;
    color: #c53030;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border-color-subtle);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================================
   CHECKOUT & CART ADJUSTMENTS
   ============================================================ */
.woocommerce-checkout-review-order-table thead {
    display: none;
}

.woocommerce-checkout-review-order-table .cart_item td {
    padding: 1rem 0 !important;
    border-bottom: 1px solid var(--border-color-subtle) !important;
}

.checkout-button {
    margin-top: 1.5rem !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    border-radius: var(--radius-full) !important;
    padding: 1.15rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(0, 170, 0, 0.3) !important;
}

.checkout-button:hover {
    background: var(--primary-hover) !important;
}

/* ============================================================
   HIDE REDUNDANT / OLD PLUGIN ORDER STATUS ELEMENTS
   ============================================================ */
#ww-parked-bubble-trigger,
#ww-parked-side-panel,
.ww-parked-bubble,
.my-order-status,
#my-order-status,
.my-order-status-btn,
a.my-order-status,
div.order-status-banner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

