/* --- Global Design System Tokens: Warm & Artisanal --- */
:root {
    /* Brand Palette - Deep Organic Forest & Sage */
    --gp-primary: #2D5A27;
    --gp-primary-dark: #1E3D1A;
    --gp-primary-light: #3D7535;
    --gp-primary-hover: #22461D;
    
    /* Warm Artisanal Accents - Terracotta, Clay & Spiced Amber */
    --gp-accent: #C25E38;
    --gp-accent-hover: #A84E2C;
    --gp-accent-light: #FBF0EB;
    --gp-sage: #8A9A5B;
    --gp-sage-light: #EBF0E4;
    --gp-amber: #D48B28;
    --gp-amber-light: #FEF7EC;

    /* Warm Neutrals - Oatmeal, Cream & Linen */
    --gp-bg: #FAF7F2;
    --gp-bg-soft: #F4EFE6;
    --gp-bg-card: #FFFFFF;
    --gp-border: #EAE3D2;
    --gp-border-light: #F0EAE1;
    --gp-border-focus: #8A9A5B;

    /* Typography & Ink - Espresso & Charcoal */
    --gp-text: #28231D;
    --gp-text-dark: #1C1814;
    --gp-text-secondary: #5C544B;
    --gp-text-muted: #7A7268;
    --gp-text-white: #FFFFFF;
    --gp-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --gp-font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Elevation & Shadows */
    --gp-shadow-sm: 0 2px 8px rgba(40, 35, 29, 0.04);
    --gp-shadow: 0 10px 30px rgba(40, 35, 29, 0.06);
    --gp-shadow-hover: 0 18px 45px rgba(40, 35, 29, 0.12);
    --gp-shadow-float: 0 20px 50px rgba(45, 90, 39, 0.18);

    /* Radii */
    --gp-radius-sm: 8px;
    --gp-radius-md: 14px;
    --gp-radius-card: 20px;
    --gp-radius-pill: 50px;

    /* Transitions */
    --gp-transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --gp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gp-transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hide standard Astra/WooCommerce title and breadcrumb bars for a cleaner modern UI */
.ast-archive-description,
.entry-header,
.woocommerce-breadcrumb,
.ast-breadcrumbs-wrapper {
    display: none !important;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    background-color: var(--gp-bg);
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    background-color: var(--gp-bg);
    color: var(--gp-text);
    font-family: var(--gp-font-body);
    -webkit-font-smoothing: antialiased;
}

.modern-landing-page {
    width: 100%;
    background-color: var(--gp-bg);
}

/* Modern Quick Actions (Floating Menu) */
.modern-ui-container {
    display: none !important;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.modern-ui-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2D5A27, #8A9A5B);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.modern-ui-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.modern-ui-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-ui-container.is-open .modern-ui-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.modern-ui-menu .menu-item {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #2D5A27 !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.modern-ui-menu .menu-item:hover {
    background: #2D5A27 !important;
    color: white !important;
    transform: translateX(-50px);
    /* Adjust based on original behavior */
}

/* Header Branding & Restoration */
.site-branding {
    padding: 2px 0 !important;
    display: flex;
    align-items: center;
}

.site-branding .site-title a {
    color: var(--gp-primary) !important;
    font-family: var(--gp-font-heading);
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -0.02em;
    text-decoration: none;
    line-height: 1;
}

.custom-logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

/* Fallback: Inject title text via ::after */
.custom-logo-link::after {
    content: "Grandma's Pantry";
    color: var(--gp-primary) !important;
    font-family: var(--gp-font-heading);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.02em;
    margin-left: 20px;
    display: inline-block;
    white-space: nowrap !important;
}

/* Search Bar (FiboSearch) Restoration */
.dgwt-wcas-search-wrapp {
    max-width: 800px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.site-header-primary-section-center {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
}

.site-header-primary-section-center .header-widget-area,
.site-header-primary-section-center .widget_block {
    width: 100% !important;
}

.site-header-primary-section-left,
.site-header-primary-section-right {
    flex: 0 0 350px !important;
}

.site-header-primary-section-left {
    justify-content: flex-start !important;
}

.site-header-primary-section-right {
    justify-content: flex-end !important;
}

.dgwt-wcas-sf-wrapp {
    position: relative !important;
    background-color: var(--gp-bg-card) !important;
    border: 1.5px solid var(--gp-border) !important;
    border-radius: var(--gp-radius-pill) !important;
    padding: 0 20px !important;
    box-shadow: var(--gp-shadow-sm) !important;
    transition: var(--gp-transition) !important;
}

.dgwt-wcas-sf-wrapp:hover,
.dgwt-wcas-sf-wrapp:focus-within {
    border-color: var(--gp-sage) !important;
    box-shadow: 0 4px 16px rgba(45, 90, 39, 0.08) !important;
}

.dgwt-wcas-search-input {
    background: transparent !important;
    font-family: var(--gp-font-body) !important;
    color: var(--gp-text) !important;
    border-radius: var(--gp-radius-pill) !important;
    padding: 0 !important;
    font-size: 14px !important;
}

.dgwt-wcas-search-input::placeholder {
    color: var(--gp-text-muted) !important;
}

/* Redesign Search Bar for Desktop */
@media (min-width: 922px) {

    /* Restore and Style Search Button */
    .dgwt-wcas-search-submit {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute !important;
        left: auto !important;
        right: 5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: var(--gp-primary) !important;
        border-radius: 50% !important;
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        cursor: pointer !important;
        z-index: 10;
        border: none !important;
        transition: var(--gp-transition) !important;
        box-shadow: 0 2px 8px rgba(45, 90, 39, 0.2) !important;
    }

    .dgwt-wcas-search-submit:hover {
        transform: translateY(-50%) scale(1.08) !important;
        background: var(--gp-primary-hover) !important;
        box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3) !important;
    }

    .dgwt-wcas-search-submit svg {
        fill: white !important;
        width: 18px !important;
        height: 18px !important;
        display: block !important;
    }

    /* Ensure magnifier icon is visible if it's separate */
    .dgwt-wcas-ico-magnifier {
        display: block !important;
    }

    /* Reduce height and padding of the search bar wrapper */
    .dgwt-wcas-sf-wrapp {
        min-height: 38px !important;
        height: 45px !important;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Reduce height of the input field and remove extra padding since icon is gone */
    .dgwt-wcas-search-input {
        height: 100% !important;
        padding: 0 45px 0 15px !important;
        /* Right padding for button, Left for text */
        margin: 0 !important;
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Remove the focus outline from the input field specifically */
    .dgwt-wcas-search-input:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    /* Ensure the search text container doesn't have left padding */
    .dgwt-wcas-st {
        padding-left: 0 !important;
    }
}

/* Header Icons Balance */
.ast-header-account-wrap svg,
.ast-cart-menu-wrap svg {
    height: 24px;
    width: 24px;
    fill: var(--gp-text);
}

/* Professional Header Navigation */
.main-header-menu {
    display: flex !important;
    justify-content: center !important;
    gap: 30px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: fit-content !important;
}

.main-navigation .menu-link {
    color: #2D5A27 !important;
    font-weight: 600 !important;
    padding: 10px 0 !important;
    transition: all 0.3s ease !important;
    position: relative;
}

.main-navigation .menu-item:hover>.menu-link {
    color: #8A9A5B !important;
    transform: translateY(-2px);
}

/* Dropdown Menu - Base Styles */
.main-navigation .sub-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    padding: 20px !important;
    min-width: 220px !important;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Mega Menu Style for 'Pantry' (Desktop Only) */
@media (min-width: 922px) {
    #menu-item-1029 {
        position: static !important;
        /* Allow sub-menu to expand based on header */
    }

    #menu-item-1029 .sub-menu {
        width: 100vw !important;
        max-width: 900px !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(20px) !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
        padding: 40px !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    #menu-item-1029:hover .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) !important;
    }

    #menu-item-1029 .sub-menu .menu-item {
        margin: 0 !important;
        padding: 0 !important;
    }

    #menu-item-1029 .sub-menu .menu-link {
        padding: 15px 20px !important;
        background: rgba(45, 90, 39, 0.05);
        /* Slightly darker tint */
        border-radius: 12px;
        display: flex !important;
        align-items: center;
        gap: 12px;
        color: #1B3B18 !important;
        /* Darker Green */
        font-weight: 600 !important;
        /* Bolder text */
        transition: all 0.3s ease !important;
        height: 100%;
        border: 1px solid transparent;
    }

    #menu-item-1029 .sub-menu .menu-link:hover {
        background: white !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
        color: #8A9A5B !important;
        transform: translateY(-3px);
        border-color: rgba(138, 154, 91, 0.1);
    }

    /* Mega Menu Category Images */
    .menu-category-img {
        width: 45px !important;
        height: 45px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        border: 2px solid white !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
        transition: transform 0.3s ease !important;
    }

    #menu-item-1029 .sub-menu .menu-link:hover .menu-category-img {
        transform: scale(1.1);
    }

    /* Hide FontAwesome icon if image is present */
    #menu-item-1029 .sub-menu .menu-link:has(.menu-category-img)::before {
        display: none !important;
    }

    /* Add category prefix style or icon indicator if desired */
    #menu-item-1029 .sub-menu .menu-link::before {
        content: '\f105';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 12px;
        color: #8A9A5B;
        transition: transform 0.3s ease;
    }

    #menu-item-1029 .sub-menu .menu-link:hover::before {
        transform: translateX(4px);
    }
}

/* Modern Footer */
#colophon.site-footer {
    background: #111111 !important;
    color: #ffffff !important;
    padding: 80px 0 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer .ast-builder-footer-grid-columns {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr 1fr 1.8fr !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.site-footer .widget-title {
    color: #ffffff !important;
    font-family: var(--gp-font-heading) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 25px !important;
    position: relative;
}

.site-footer .widget-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 35px;
    height: 3px;
    background: #8A9A5B;
    border-radius: 2px;
}

.site-footer .ast-builder-social-element {
    background: rgba(255, 255, 255, 0.08) !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.site-footer .ast-builder-social-element:hover {
    background: #8A9A5B !important;
    transform: translateY(-5px) rotate(8deg) !important;
}

/* Responsive Navigation & Grid Fixes */
@media (min-width: 922px) {
    .ast-builder-grid-row.ast-grid-center-col-layout {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 921px) {
    .custom-logo-link::after {
        display: inline-block !important;
        font-size: 20px !important;
        margin-left: 10px !important;
        max-width: 150px !important;
    }


    .site-header-primary-section-right {
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    .site-branding {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        white-space: nowrap !important;
        z-index: 1 !important;
        margin: 0 !important;
        width: max-content !important;
    }

    .main-header-bar {
        padding: 8px 5px !important;
        /* Balanced compact height */
        position: relative !important;
        /* Anchor for absolute site-branding */
    }

    .ast-header-account-wrap,
    .ast-header-search-wrap {
        padding: 0 4px !important;
        /* Even tighter spacing */
    }

    .ast-cart-menu-wrap,
    .ast-site-header-cart,
    .ast-header-woo-cart,
    .astra-header-woo-cart,
    #ast-site-header-cart,
    .header-cart-icon,
    .ast-site-header-cart-container,
    .ast-header-woo-basket,
    .ast-mobile-header-content .ast-site-header-cart,
    .ast-mobile-popup-content .ast-site-header-cart,
    .ast-header-break-point .ast-site-header-cart {
        display: none !important;
    }


    .custom-logo-link img {
        max-width: 120px !important;
        /* Smaller logo on mobile */
        height: auto !important;
    }


    /* Tighten Mobile Menu Spacing - Agreessive Redesign */
    .ast-header-break-point .main-header-menu,
    .ast-mobile-popup-content .main-navigation ul {
        margin: 0 !important;
        padding: 0 !important;
    }

    .ast-header-break-point .main-header-menu .menu-item,
    .ast-mobile-popup-content .main-navigation .menu-item {
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
    }

    .ast-header-break-point .main-navigation ul .menu-item .menu-link,
    .ast-mobile-popup-content .main-navigation .menu-link {
        padding: 12px 20px !important;
        line-height: 1 !important;
        font-size: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Submenu Compactness & Alignment Fix */
    .ast-header-break-point .main-navigation ul.sub-menu,
    .ast-mobile-popup-content .main-navigation .sub-menu {
        padding: 0 !important;
        background: #fbfbfb !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .ast-header-break-point .main-navigation ul.sub-menu .menu-item,
    .ast-mobile-popup-content .main-navigation .sub-menu .menu-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.02) !important;
    }

    .ast-header-break-point .main-navigation ul.sub-menu .menu-link,
    .ast-mobile-popup-content .main-navigation .sub-menu .menu-link {
        padding: 8px 20px 8px 40px !important;
        /* Even tighter submenu padding */
        font-size: 14px !important;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        background: transparent !important;
    }

    /* Aggressive Toggle & Parent Spacing Fix */
    .ast-header-break-point .ast-menu-toggle {
        height: 40px !important;
        width: 40px !important;
        line-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        top: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ast-header-break-point .main-navigation ul .menu-item-has-children {
        position: relative !important;
    }

    .ast-header-break-point .main-header-menu .menu-item-has-children>.menu-link {
        padding-right: 50px !important;
        /* Make room for toggle */
    }

    /* Ensure no hidden pseudo-elements or gaps */
    .ast-header-break-point .main-navigation ul.sub-menu::before,
    .ast-header-break-point .main-navigation ul.sub-menu::after {
        content: none !important;
    }

    /* Hide floating action button on mobile */
    .modern-ui-container {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .custom-logo-link::after {
        font-size: 16px !important;
        margin-left: 8px !important;
        max-width: 140px !important;
    }
}

/* Modern Preloader */
.gp-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
}

.gp-loader-sparkles {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.gp-sparkle {
    font-size: 32px;
    color: #2D5A27;
    animation: sparkle-pulse 1.5s infinite ease-in-out;
    display: inline-block;
}

.gp-sparkle:nth-child(2) {
    animation-delay: 0.2s;
}

.gp-sparkle:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes sparkle-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
        filter: blur(0px);
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
        filter: blur(1px);
    }
}

.gp-loader-text {
    font-family: var(--gp-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D5A27;
    letter-spacing: 0.5px;
    animation: text-fade 2s infinite ease-in-out;
}

@keyframes text-fade {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* --- Homepage Typography Refinement (Desktop Only) --- */
@media (min-width: 922px) {

    /* Standardize Headings for Modern Authority */
    h1,
    .h1-visual,
    h2.elementor-heading-title:first-of-type {
        font-family: var(--gp-font-heading) !important;
        font-size: 52px !important;
        line-height: 1.15 !important;
        font-weight: 800 !important;
        letter-spacing: -0.03em !important;
        color: var(--gp-primary) !important;
        margin-bottom: 22px !important;
    }

    h2,
    .h2-visual {
        font-family: var(--gp-font-heading) !important;
        font-size: 40px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        letter-spacing: -0.025em !important;
        color: var(--gp-primary) !important;
        margin-bottom: 18px !important;
    }

    h3,
    .h3-visual {
        font-family: var(--gp-font-heading) !important;
        font-size: 26px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em !important;
        color: var(--gp-primary) !important;
    }

    h4,
    .h4-visual {
        font-family: var(--gp-font-heading) !important;
        font-size: 20px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
        letter-spacing: -0.015em !important;
    }

    /* Standardize Body / Paragraph Text */
    p,
    .elementor-text-editor,
    .elementor-text-editor p {
        font-family: 'Inter', sans-serif !important;
        font-size: 17px !important;
        line-height: 1.6 !important;
        color: var(--gp-text) !important;
    }

    /* Specific Section Adjustments */

    /* Hero Slider Font size fixes */
    .elementor-slideshow__title,
    .elementor-slides-item-title {
        font-size: 60px !important;
    }

    /* Fix the critically small 'ENERGY BOOSTER' or similar sub-headings in slider */
    .elementor-slideshow__description,
    .elementor-slides-item-description,
    .hero-subheading,
    .ad-tagline {
        font-size: 16px !important;
        font-weight: 500 !important;
        letter-spacing: 1px !important;
        display: block !important;
    }

    /* Fix Coupon/Offer text if too small */
    .coupon-offer {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    /* Section Headings specifically (What's on your mind? / Best Sellers) */
    .elementor-heading-title {
        font-size: 48px !important;
    }

    /* Legend / Story Section refinement */
    .home-legend-section p {
        font-size: 18px !important;
        margin-bottom: 1.5em !important;
    }

    /* Product Card enhancements */
    .woocommerce-loop-product__title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        min-height: 2.6em !important;
        margin-bottom: 10px !important;
    }

    /* Footer Heading adjustments */
    .site-footer h2,
    .site-footer .widget-title {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    /* Ad Banner Specific Overrides for Mobile / Tablet */
    .advanced-ad-banner .ad-title {
        color: #ffffff !important;
    }
}

/* Hide Sparkles Entirely */
.sparkle, 
.ad-sparkle {
    display: none !important;
}

/* Desktop Hero Ad Banner Full-Bleed Image Layout */
@media (min-width: 922px) {
    .advanced-ad-banner {
        height: 520px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: #0F280D !important;
        box-shadow: none !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .advanced-ad-banner .ad-slide-wrap {
        height: 100% !important;
        width: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    /* Full Bleed Image Container */
    .advanced-ad-banner .ad-image-column {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        flex: none !important;
        z-index: 1 !important;
        display: block !important;
    }

    .advanced-ad-banner .ad-image-column img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* Image fully visible with no dark scrim overlay */
    .advanced-ad-banner .ad-image-column::after {
        display: none !important;
    }

    /* Hide inner text container and shop button */
    .advanced-ad-banner .ad-content-column,
    .advanced-ad-banner .ad-card-inner,
    .advanced-ad-banner .ad-text-block,
    .advanced-ad-banner .ad-action-block {
        display: none !important;
    }
}

/* Home Layout Zero Gap beneath Header */
.home.ast-header-break-point .site-header,
.home .site-header,
.home #masthead,
.home .main-header-bar,
.home .ast-main-header-wrap,
.home #ast-desktop-header {
    margin-bottom: 0 !important;
    border-bottom: none !important;
    border: none !important;
    box-shadow: none !important;
}

.advanced-ad-banner,
.advanced-ad-banner .ad-slide-wrap,
.advanced-ad-banner .ad-image-column,
.advanced-ad-banner .ad-image-column img {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.home .ast-container,
.home .site-content,
.home #content,
.home #primary,
.home .site-main,
.home article,
.home .entry-content,
.home #home-rebuild-root,
.home .modern-landing-page {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* Compact Desktop Vertical Spacing Between Home Sections */
@media (min-width: 922px) {
    .home .modern-landing-page section,
    .home .category-hero-section,
    .home .trust-impact-section,
    .home .gp-bs-section,
    .home .comparison-section,
    .home .featured-categories-promo,
    .home .brand-impact-section,
    .home .benefit-showcase-section,
    .home .story-section,
    .home .pre-footer-cta-section {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .home .trust-marquee-section {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .home .reveal-on-scroll {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .home .gp-bs-header,
    .home .hero-header-wrap,
    .home .comp-badge,
    .home .brand-promo-banner {
        margin-bottom: 25px !important;
    }
}




/* ==========================================================================
   ULTRA-PREMIUM BRAND ELEVATION ENHANCEMENTS (Main UI)
   ========================================================================== */

/* Glassmorphic Sticky Navigation Header */
.site-header, 
.main-header-bar,
.ast-main-header-wrap,
#ast-desktop-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(45, 90, 39, 0.08) !important;
    transition: all 0.3s ease !important;
}

/* Primary & Action Button Elevate & Glow */
.btn-primary, 
.ad-btn,
.btn-write-review,
.gp-bs-buy-btn,
.shop-now-btn,
button.button, 
input[type="submit"].button, 
a.button {
    background: linear-gradient(135deg, #2D5A27 0%, #1F421C 100%) !important;
    color: #FFFFFF !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.22) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover, 
.ad-btn:hover,
.btn-write-review:hover,
.gp-bs-buy-btn:hover,
.shop-now-btn:hover,
button.button:hover, 
input[type="submit"].button:hover, 
a.button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 14px 28px rgba(45, 90, 39, 0.32), 0 0 0 2px rgba(212, 175, 55, 0.35) !important;
    color: #FFFFFF !important;
}

/* Outline Buttons Refinement */
.btn-outline {
    border: 1.5px solid #2D5A27 !important;
    color: #2D5A27 !important;
    background: transparent !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    transition: all 0.35s ease !important;
}

.btn-outline:hover {
    background: #2D5A27 !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.25) !important;
}

/* Desktop Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F7F5F0;
}
::-webkit-scrollbar-thumb {
    background: rgba(45, 90, 39, 0.35);
    border-radius: 5px;
    border: 2px solid #F7F5F0;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 90, 39, 0.65);
}

/* ==========================================================================
   Floating Quick Dock (Cart & WhatsApp Sticky Bottom Right on Scroll)
   ========================================================================== */
.gp-floating-quick-dock {
    position: fixed;
    right: 28px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 99999;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gp-floating-quick-dock.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.gp-floating-quick-dock.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px) scale(0.92);
}

/* Tooltip on Add-to-Cart */
.gp-dock-tooltip {
    background: #1C1814;
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(247, 208, 138, 0.5);
    animation: gpTooltipSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    white-space: nowrap;
}

.gp-tooltip-link {
    color: #F7D08A !important;
    text-decoration: underline !important;
    font-weight: 700;
    margin-left: 4px;
}

@keyframes gpTooltipSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Base Floating Button */
.gp-dock-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none !important;
    font-family: var(--gp-font-heading);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(40, 35, 29, 0.18);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid transparent;
}

.gp-dock-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 32px rgba(40, 35, 29, 0.25);
}

.gp-dock-icon {
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Cart Button Style */
.gp-dock-cart {
    background: #2D5A27;
    color: #FFFFFF !important;
    border-color: rgba(247, 208, 138, 0.3);
}

.gp-dock-cart:hover {
    background: #1f3f1b;
    color: #FFFFFF !important;
    border-color: rgba(247, 208, 138, 0.6);
}

.gp-dock-badge {
    background: #F7D08A;
    color: #1C1814;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.gp-dock-badge.bounce,
.gp-dock-cart.is-bumped {
    animation: gpCartBump 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes gpCartBump {
    0% { transform: scale(1); }
    40% { transform: scale(1.22); }
    100% { transform: scale(1); }
}

/* Floating WhatsApp Button Style */
.gp-dock-whatsapp {
    background: #25D366;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32);
}

.gp-dock-whatsapp:hover {
    background: #20BA56;
    color: #FFFFFF !important;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* Responsive Mobile Adjustments */
@media (max-width: 768px) {
    .gp-floating-quick-dock {
        right: 14px;
        bottom: 85px; /* Sits cleanly above mobile navigation */
        gap: 8px;
    }

    .gp-dock-btn {
        padding: 9px 15px;
        font-size: 13px;
    }

    .gp-dock-label {
        font-size: 12.5px;
    }
}

/* ==========================================================================
   WhatsApp Support Confirmation Modal / Mini Window
   ========================================================================== */
.gp-wa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 30, 16, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: gpWaOverlayFadeIn 0.25s ease-out both;
}

@keyframes gpWaOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gp-wa-modal-card {
    background: #FFFFFF;
    border-radius: 28px;
    width: 100%;
    max-width: 460px;
    padding: 32px 28px 28px 28px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
    position: relative;
    border: 1.5px solid rgba(45, 90, 39, 0.15);
    animation: gpWaModalScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    box-sizing: border-box;
}

@keyframes gpWaModalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(15px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gp-wa-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F4F1EA;
    border: 1px solid #EAE5D9;
    color: #666;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gp-wa-close-btn:hover {
    background: #E2725B;
    color: #FFFFFF;
    border-color: #E2725B;
    transform: rotate(90deg);
}

/* Modal Header */
.gp-wa-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.gp-wa-avatar-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #E8F8EE;
    border: 2px solid #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 24px;
    flex-shrink: 0;
}

.gp-wa-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 13px;
    height: 13px;
    background: #25D366;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(37, 211, 102, 0.8);
}

.gp-wa-title {
    font-family: var(--gp-font-heading);
    font-size: 19px;
    font-weight: 800;
    color: var(--gp-primary);
    margin: 0 0 2px 0;
    letter-spacing: -0.015em;
}

.gp-wa-subtitle {
    font-family: var(--gp-font-body);
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Notice Box */
.gp-wa-notice {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 14px;
    padding: 11px 15px;
    margin-bottom: 18px;
}

.gp-wa-notice p {
    font-size: 12.5px;
    color: #166534;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}

.gp-wa-topics-label {
    font-family: var(--gp-font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--gp-text);
    margin-bottom: 10px;
}

.gp-wa-topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.gp-wa-chip {
    padding: 9px 12px;
    border-radius: 12px;
    background: #FAF8F5;
    border: 1.5px solid #EAE5D9;
    font-family: var(--gp-font-body);
    font-size: 12px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-wa-chip:hover {
    border-color: #2D5A27;
    color: #2D5A27;
    background: #F4F8F3;
}

.gp-wa-chip.is-selected {
    background: #2D5A27;
    color: #FFFFFF;
    border-color: #2D5A27;
    box-shadow: 0 4px 10px rgba(45, 90, 39, 0.2);
}

/* Preview Box */
.gp-wa-preview-box {
    background: #FAF8F5;
    border: 1px dashed #D8D2C2;
    border-radius: 14px;
    padding: 12px 15px;
    margin-bottom: 22px;
}

.gp-wa-preview-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #888;
    margin-bottom: 4px;
}

.gp-wa-preview-text {
    font-size: 12.5px;
    color: #333;
    line-height: 1.45;
    margin: 0;
    font-style: italic;
}

/* Action Buttons */
.gp-wa-actions {
    display: flex;
    gap: 12px;
}

.gp-wa-btn-cancel,
.gp-wa-btn-confirm {
    border-radius: 50px;
    font-family: var(--gp-font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.gp-wa-btn-cancel {
    flex: 1;
    padding: 12px;
    background: #F4F1EA;
    color: #555;
    font-size: 13.5px;
}

.gp-wa-btn-cancel:hover {
    background: #E8E3D8;
    color: #222;
}

.gp-wa-btn-confirm {
    flex: 1.4;
    padding: 12px 18px;
    background: #25D366;
    color: #FFFFFF;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.gp-wa-btn-confirm:hover {
    background: #20BA56;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

@media (max-width: 480px) {
    .gp-wa-topics-grid {
        grid-template-columns: 1fr;
    }
}

