/*
Theme Name: MyForever Health
Description: A custom health and wellness focused theme for dropshipping store with clean, modern design optimized for health supplements and wellness products.
Author: MyForever Team
Version: 1.1 (Optimized)
License: GPL v2 or later
Text Domain: myforever-health
Tags: ecommerce, health, wellness, woocommerce, responsive, clean, modern
*/

/* Reset and Base Styles */
body{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333;background-color:#f8f9fa}

/* CSS Variables */
:root{
    --primary-green:#2d7a2d;
    --light-green:#4caf50;
    --accent-blue:#2196f3;
    --warm-orange:#ff9800;
    --soft-gray:#f5f5f5;
    --dark-gray:#333;
    --white:#ffffff;
    --success:#28a745;
    --warning:#ffc107;
    --danger:#dc3545;
    --border-radius:10px;
    --box-shadow:0 5px 15px rgba(0,0,0,0.1);
    --transition:all 0.3s ease;
}

/* Standard List Styling */
ul, ol {
    margin: 1em 0;
    padding-left: 2em;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin: 0.5em 0;
    line-height: 1.6;
}

ul ul {
    list-style-type: circle;
    margin: 0.5em 0;
}

ul ul ul {
    list-style-type: square;
}

ol ol {
    list-style-type: lower-alpha;
    margin: 0.5em 0;
}

ol ol ol {
    list-style-type: lower-roman;
}

/* Layout & Container */
.container{max-width:1200px;margin:0 auto;padding:0 20px;width:100%}

/* Header Styling */
.site-header {
    position: relative;
    background: white;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section Styling */
.hero-section {
    /* Test background image with absolute path */
    background-image: url('/wp-content/themes/myforever-health/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    /* Fallback if image fails to load */
    background-color: #2d7a2d;
    padding: 80px 0 0 0;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Light overlay for better text contrast while showing background image */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(45, 122, 45, 0.3));
    z-index: 1;
}

@keyframes heroFloat {
    0%, 100% { opacity: 0.3; transform: translateY(0px); }
    50% { opacity: 0.1; transform: translateY(-20px); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    min-height: 500px;
}

/* Hero content (text) area */
.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    padding-right: 40px;
}

/* Hero person image */
.hero-person {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 400px;
    height: 100%;
    background-image: url('/wp-content/themes/myforever-health/assets/images/hero-main-holding-product.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 3;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 4px 16px rgba(0,0,0,0.4);
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 1;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.3);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-primary {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-block;
}

.btn-primary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.5);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    color: white;
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 20px;
}

.trust-text {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        background-attachment: scroll;
        min-height: 400px;
    }
    
    .hero-section .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }
    
    .hero-person {
        width: 250px;
        height: 300px;
        order: -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .hero-trust-badges {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .trust-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Homepage Featured Products Section */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 50px;
}

.products-section .product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

/* Increase specificity to override WooCommerce defaults */
.products-section .product-grid .product-card {
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.products-section .product-grid .product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.products-section .product-grid .product-card a {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

.products-section .product-grid .product-card .product-image {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 15px 15px 0 0 !important;
}

.products-section .product-grid .product-card .product-info {
    padding: 10x !important;
}

.products-section .product-grid .product-card .product-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
}

.products-section .product-grid .product-card .product-price {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--primary-green) !important;
    margin-bottom: 15px !important;
}

/* Homepage Product Tags Styling */
.products-section .product-grid .product-card .homepage-tags {
    margin-top: 12px !important;
    text-align: center !important;
}

.products-section .product-grid .product-card .homepage-tags .product-tag-badge {
    display: inline-block !important;
    background: var(--light-green) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    margin-right: 6px !important;
    margin-bottom: 4px !important;
    text-transform: capitalize !important;
    transition: all 0.2s ease !important;
}

.products-section .product-grid .product-card .homepage-tags .product-tag-badge:hover {
    background: var(--primary-green) !important;
    transform: scale(1.05) !important;
}

/* Responsive Product Grid */
@media (max-width: 1200px) {
    .products-section .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .products-section .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .products-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .products-section .product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-image {
        height: 200px;
    }
}

/* Trust Badges Section Styling */
.trust-badges {
    display: flex !important;
    justify-content: space-evenly !important;
    align-items: flex-start !important;
    gap: 30px !important;
    flex-wrap: nowrap !important;
    min-height: 200px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.trust-badge {
    text-align: center !important;
    transition: transform 0.3s ease !important;
    flex: 1 1 300px;
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
}

.trust-badge:hover {
    transform: translateY(-8px) !important;
}

.trust-badge img {
    width: 120px !important;
    height: 120px !important;
    margin-bottom: 15px !important;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15)) !important;
    transition: transform 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge:hover img {
    transform: scale(1.1);
}

.trust-badge p {
    margin: 0 !important;
    font-size: 18px !important;
    color: var(--primary-green) !important;
    font-weight: 700 !important;
    line-height: 1.3;
}

.trust-badge p:last-child {
    margin: 8px 0 0 !important;
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 500 !important;
    line-height: 1.4;
}

/* Responsive Trust Badges */
@media (max-width: 900px) {
    .trust-badges {
        gap: 20px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .trust-badge {
        flex: 0 0 250px;
        min-width: 180px;
        max-width: 250px;
    }
    
    .trust-badge img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .trust-badge p {
        font-size: 16px !important;
    }
    
    .trust-badge p:last-child {
        font-size: 13px !important;
    }
}

@media (max-width: 600px) {
    .trust-badges {
        gap: 15px !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .trust-badge {
        flex: none;
        min-width: 200px;
        max-width: 280px;
        width: 100%;
    }
    
    .trust-badge img {
        width: 90px !important;
        height: 90px !important;
    }
    
    .trust-badge p {
        font-size: 16px !important;
    }
    
    .trust-badge p:last-child {
        font-size: 13px !important;
    }
}

/* Trust Section Container */
.trust-section-container {
    padding: 40px;
}

.trust-section-title {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
}

/* Force horizontal layout for trust badges */
.trust-section-container .trust-badges {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: flex-start !important;
    gap: 30px !important;
    flex-wrap: nowrap !important;
    min-height: 200px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.trust-section-container .trust-badge {
    text-align: center !important;
    transition: transform 0.3s ease !important;
    flex: 1 1 300px;
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.trust-section-container .trust-badge:hover {
    transform: translateY(-8px) !important;
}

.trust-badge-img {
    width: 120px !important;
    height: 120px !important;
    margin-bottom: 15px !important;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15)) !important;
    transition: transform 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: none !important;
    outline: none !important;
}

.trust-badge-title {
    margin: 0 !important;
    font-size: 18px !important;
    color: var(--primary-green) !important;
    font-weight: 700 !important;
    line-height: 1.3;
    border: none !important;
    outline: none !important;
}

.trust-badge-subtitle {
    margin: 8px 0 0 !important;
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 500 !important;
    line-height: 1.4;
    border: none !important;
    outline: none !important;
}

/* Responsive Trust Section */
@media (max-width: 900px) {
    .trust-section-container .trust-badges {
        gap: 20px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .trust-section-container .trust-badge {
        flex: 0 0 250px;
        min-width: 180px;
        max-width: 250px;
    }
}

@media (max-width: 600px) {
    .trust-section-container .trust-badges {
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
    }
    
    .trust-section-container .trust-badge {
        flex: none;
        min-width: 200px;
        max-width: 280px;
        width: 100%;
    }
    
    .trust-section-container {
        padding: 30px 20px;
    }
}

/* Cart Page Container - Wider for better product display */
.myforever-cart-page .container {
    max-width: 1400px;
    padding: 0 15px;
}

/* Header Styles - Combined */
.site-header{background:var(--white);box-shadow:0 2px 10px rgba(0,0,0,0.1);position:sticky;top:0;z-index:1000}

/* My Account Page Styles - Prevent Duplicate Navigation and Headers */
.woocommerce-account .page-content > .woocommerce > .woocommerce-MyAccount-navigation {
    display: none !important; /* Hide the top navigation that appears outside our custom layout */
}

/* Hide the duplicate unstyled header that appears at the top of My Account pages */
.woocommerce-account .page-header {
    display: none !important;
}

/* Hide any WooCommerce generated page titles on account pages */
.woocommerce-account .woocommerce-page-title,
.woocommerce-account .page-title {
    display: none !important;
}

/* Remove unnecessary padding from page-content-wrapper on My Account pages */
.woocommerce-account .page-content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

/* Fix link colors on My Account and Cart pages to use theme colors */
.woocommerce-account a,
.woocommerce-cart a,
.myforever-cart-page a {
    color: var(--primary-green) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-account a:hover,
.woocommerce-cart a:hover,
.myforever-cart-page a:hover {
    color: var(--light-green) !important;
    text-decoration: underline;
}

/* Exception for buttons - keep their original styling */
.woocommerce-account .button,
.woocommerce-account .woocommerce-Button,
.woocommerce-cart .button,
.woocommerce-cart .woocommerce-Button,
.myforever-cart-page .button,
.myforever-cart-page .woocommerce-Button {
    color: white !important;
    background: var(--primary-green) !important;
    text-decoration: none !important;
}

.woocommerce-account .button:hover,
.woocommerce-account .woocommerce-Button:hover,
.woocommerce-cart .button:hover,
.woocommerce-cart .woocommerce-Button:hover,
.myforever-cart-page .button:hover,
.myforever-cart-page .woocommerce-Button:hover {
    background: var(--light-green) !important;
    color: white !important;
}

/* Ensure our custom account navigation in sidebar works properly */
.my-account-wrapper .account-navigation .woocommerce-MyAccount-navigation {
    display: block !important;
}

/* My Account Page Layout Improvements */
.my-account-wrapper {
    padding: 60px 0;
    background: #f8f9fa;
}

.account-header {
    text-align: center;
    margin-bottom: 50px;
}

.account-header h1 {
    color: var(--primary-green);
    font-size: 36px;
    margin-bottom: 15px;
}

.account-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.account-navigation {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: fit-content;
}

.woocommerce-MyAccount-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Remove borders and shadows from the main My Account page container and entire content area */
.woocommerce-account .page-content,
.woocommerce-account .woocommerce,
.woocommerce-account article,
.woocommerce-account .page-content-wrapper,
.woocommerce-account .entry-content,
.woocommerce-account .post,
.woocommerce-account .hentry,
.woocommerce-account .site-main,
.woocommerce-account .content-area {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    outline: none !important;
}

/* Account Navigation Styling */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 15px 20px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
    background: var(--primary-green) !important;
    color: white !important;
    transform: translateX(5px);
}

/* Ensure active navigation links have white text (override any other link styles) */
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    color: white !important;
    background: var(--primary-green) !important;
}

.woocommerce-MyAccount-navigation a::before {
    content: '→';
    margin-right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woocommerce-MyAccount-navigation a:hover::before,
.woocommerce-MyAccount-navigation .is-active a::before {
    opacity: 1;
}

/* Responsive Account Page */
@media (max-width: 768px) {
    .account-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .account-navigation {
        order: 2;
    }
    
    .woocommerce-MyAccount-content {
        order: 1;
    }
    
    .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .woocommerce-MyAccount-navigation a {
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }
}

/* Homepage Products Section Styling */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.products-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Product Card Styling */
.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product Image Styling */
.product-card .product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Product Info Styling */
.product-card .product-info {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.product-card .product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: auto;
}

.product-card .product-price .woocommerce-Price-amount {
    color: var(--primary-green);
}

.product-card .product-price .woocommerce-Price-currencySymbol {
    font-size: 0.9em;
}

/* Price Range Styling */
.product-card .product-price [aria-hidden="true"] {
    color: var(--primary-green);
}

.product-card .product-price .screen-reader-text {
    position: absolute;
    left: -9999px;
}

/* Health Badges (if they get added later) */
.product-card .health-badges {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.product-card .health-badge {
    background: var(--light-green);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Hover Effects */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }
    
    .products-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-card .product-image {
        height: 200px;
    }
    
    .product-card .product-info {
        padding: 10px;
    }
    
    .product-card .product-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .products-section .section-title {
        font-size: 1.8rem;
    }
}

/* Main Header */
.header-main{padding:15px 0;background:var(--white)}
.header-content{display:flex;justify-content:space-between;align-items:center;gap:30px}
.site-logo img{max-height:60px;width:auto}
.main-navigation ul{display:flex;list-style:none;gap:30px;margin:0;padding:0}
.main-navigation a{color:var(--dark-gray);text-decoration:none;font-weight:600;font-size:16px;transition:var(--transition);padding:10px 0;position:relative}
.main-navigation a:hover,.main-navigation a.current{color:var(--primary-green)}
.main-navigation a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--primary-green);transition:width 0.3s ease}
.main-navigation a:hover::after,.main-navigation a.current::after{width:100%}

/* Header Actions */
.header-actions{display:flex;align-items:center;gap:15px}
.search-toggle,.cart-toggle,.account-toggle{background:none;border:none;font-size:18px;color:var(--dark-gray);cursor:pointer;padding:8px;border-radius:50%;transition:var(--transition)}
.search-toggle:hover,.cart-toggle:hover,.account-toggle:hover{background:var(--soft-gray);color:var(--primary-green)}
.cart-count{background:var(--primary-green);color:var(--white);border-radius:50%;font-size:12px;font-weight:bold;padding:2px 6px;position:absolute;top:-5px;right:-5px;min-width:18px;text-align:center}

/* Hero Section - Removed duplicate, using main definition above */
.hero-content{position:relative;z-index:2}
.hero-title{font-size:3.5rem;font-weight:800;margin-bottom:20px;line-height:1.2}
.hero-subtitle{font-size:1.3rem;margin-bottom:30px;opacity:0.9;max-width:600px;margin-left:auto;margin-right:auto}
.hero-cta{display:inline-flex;align-items:center;gap:10px;background:var(--white);color:var(--primary-green);padding:15px 30px;border-radius:50px;text-decoration:none;font-weight:600;font-size:18px;transition:var(--transition);box-shadow:var(--box-shadow)}
.hero-cta:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(0,0,0,0.2)}

/* Trust Badges - Combined */
.trust-section{background:var(--white);padding:40px 0;border-top:1px solid #e9ecef}
.trust-badges{display:flex;justify-content:center;align-items:center;gap:40px;flex-wrap:wrap}
.trust-badge{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px;border-radius:var(--border-radius);transition:var(--transition)}
.trust-badge:hover{transform:translateY(-5px)}
.trust-icon{font-size:48px;color:var(--primary-green);margin-bottom:15px}
.trust-title{font-weight:600;color:var(--dark-gray);margin-bottom:5px}
.trust-description{font-size:14px;color:#666;max-width:150px}

/* Category Cards - Optimized */
.health-categories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:30px;padding:0 10px}
.health-category-card{background:var(--white);border-radius:20px;padding:30px;text-align:center;transition:var(--transition);box-shadow:var(--box-shadow);position:relative;overflow:hidden;min-height:280px;display:flex;flex-direction:column;justify-content:space-between}
.health-category-card:hover{transform:translateY(-8px);box-shadow:0 15px 35px rgba(0,0,0,0.15)}
.category-icon{font-size:56px;margin-bottom:20px;display:block;filter:drop-shadow(0 4px 8px rgba(0,0,0,0.1))}
.category-title{font-size:1.5rem;font-weight:700;margin-bottom:15px;line-height:1.3}
.category-description{font-size:1rem;color:#666;margin-bottom:25px;line-height:1.5;flex-grow:1}
.category-count{background:rgba(255,255,255,0.2);color:inherit;padding:8px 16px;border-radius:20px;font-size:0.9rem;font-weight:600;margin-bottom:20px;display:inline-block;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.3)}
.category-button{background:rgba(255,255,255,0.15);color:inherit;border:2px solid rgba(255,255,255,0.3);padding:12px 28px;border-radius:25px;text-decoration:none;font-weight:600;font-size:1rem;transition:var(--transition);display:inline-flex;align-items:center;gap:8px;backdrop-filter:blur(15px);position:relative;overflow:hidden}
.category-button:hover{background:rgba(255,255,255,0.25);border-color:rgba(255,255,255,0.5);transform:translateY(-2px)}

/* Product Category Page - Combined */
.category-hero{background:linear-gradient(135deg,#2d7a2d 0%,#4a9b4a 25%,#66bb66 50%,#7bc97b 75%,#90d690 100%);padding:100px 0 80px;position:relative;overflow:hidden;min-height:400px;display:flex;align-items:center}
.hero-pattern{position:absolute;top:0;left:0;right:0;bottom:0;background-image:radial-gradient(circle at 20% 50%,rgba(255,255,255,0.15) 0%,transparent 60%),radial-gradient(circle at 80% 20%,rgba(255,255,255,0.12) 0%,transparent 55%),radial-gradient(circle at 40% 80%,rgba(255,255,255,0.1) 0%,transparent 50%),radial-gradient(circle at 70% 60%,rgba(255,255,255,0.08) 0%,transparent 45%),linear-gradient(45deg,rgba(255,255,255,0.05) 0%,transparent 30%,rgba(255,255,255,0.03) 70%,transparent 100%);pointer-events:none;animation:heroFloat 20s ease-in-out infinite}
.category-hero-content{text-align:center;color:white;position:relative;z-index:2}
.category-hero-image{width:140px;height:140px;border-radius:50%;margin:0 auto 25px;background:rgba(255,255,255,0.1);backdrop-filter:blur(15px);border:3px solid rgba(255,255,255,0.2);box-shadow:0 15px 35px rgba(0,0,0,0.2),0 5px 15px rgba(0,0,0,0.1),inset 0 1px 0 rgba(255,255,255,0.3);animation:heroImageFloat 6s ease-in-out infinite;background-size:cover;background-position:center}
.category-hero-title{font-size:3.8rem;font-weight:800;margin-bottom:20px;line-height:1.2;background:linear-gradient(135deg,#ffffff,#f0f8f0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:0 2px 4px rgba(0,0,0,0.3),0 4px 8px rgba(0,0,0,0.2),0 8px 16px rgba(0,0,0,0.1);animation:titleGlow 4s ease-in-out infinite alternate;letter-spacing:-1px}
.category-hero-description{font-size:1.4rem;margin-bottom:25px;opacity:0.95;max-width:700px;margin-left:auto;margin-right:auto;line-height:1.5;text-shadow:0 1px 2px rgba(0,0,0,0.2)}
.category-hero-stats{background:rgba(255,255,255,0.15);backdrop-filter:blur(20px);border:2px solid rgba(255,255,255,0.2);padding:15px 30px;border-radius:50px;display:inline-block;font-size:1.1rem;font-weight:600;position:relative;overflow:hidden}

/* Subcategories Section - Combined */
.subcategories-section{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);padding:50px 0;border-top:1px solid #dee2e6;position:relative;overflow:hidden}
.subcategories-header{text-align:center;margin-bottom:40px}
.subcategories-header h2{font-size:2.2rem;font-weight:700;color:#2d7a2d;margin:0 0 15px;background:linear-gradient(135deg,#2d7a2d,#4caf50);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.subcategories-header p{font-size:1.1rem;color:#6c757d;margin:0;max-width:600px;margin:0 auto}
.subcategories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px;margin-bottom:30px}
.subcategory-card{display:block;background:white;border-radius:15px;padding:25px;text-decoration:none;color:inherit;box-shadow:0 5px 15px rgba(0,0,0,0.08);transition:all 0.3s cubic-bezier(0.4,0,0.2,1);border:2px solid transparent;position:relative;overflow:hidden;transform-origin:center;will-change:transform,box-shadow}
.subcategory-card:hover{transform:translateY(-8px);box-shadow:0 15px 35px rgba(45,122,45,0.15);border-color:#4caf50;z-index:10}
.subcategory-card:hover .shine-effect{left:100%!important}
.subcategory-image,.subcategory-icon{width:60px;height:60px;border-radius:12px;margin:0 auto 20px;box-shadow:0 4px 12px rgba(0,0,0,0.1)}
.subcategory-image{background-size:cover;background-position:center}
.subcategory-icon{background:linear-gradient(135deg,#2d7a2d,#4caf50);display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 4px 12px rgba(45,122,45,0.3)}
.subcategory-content{text-align:center}
.subcategory-content h3{font-size:1.3rem;font-weight:600;color:#2d7a2d;margin:0 0 10px;line-height:1.3}
.subcategory-content p{font-size:0.95rem;color:#6c757d;margin:0 0 15px;line-height:1.5}
.subcategory-stats{display:flex;align-items:center;justify-content:center;gap:8px;font-size:0.9rem;color:#28a745;font-weight:500}
.subcategory-stats span{background:rgba(40,167,69,0.1);padding:4px 12px;border-radius:20px;border:1px solid rgba(40,167,69,0.2)}
.shine-effect{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.4),transparent);transition:left 0.5s;pointer-events:none}

/* Product Grid - Combined */
.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px;margin-bottom:50px}
.product-card{background:var(--white);border-radius:var(--border-radius);overflow:hidden;box-shadow:var(--box-shadow);transition:var(--transition);position:relative}
.product-card:hover{transform:translateY(-5px);box-shadow:0 15px 35px rgba(0,0,0,0.15)}
.product-image{position:relative;overflow:hidden;height:250px;background:#f8f9fa}
.product-image img{width:100%;height:100%;object-fit:cover;transition:var(--transition)}
.product-card:hover .product-image img{transform:scale(1.05)}
.product-info{padding:10px}
.product-info h3{margin:0 0 10px;font-size:1.2rem;font-weight:600;color:var(--dark-gray);line-height:1.3}
.product-price{font-size:1.3rem;font-weight:700;color:var(--primary-green);margin-bottom:15px}
.product-rating{margin-bottom:15px}
.add-to-cart-btn{background:var(--primary-green);color:var(--white);border:none;padding:12px 24px;border-radius:25px;font-weight:600;cursor:pointer;transition:var(--transition);width:100%;font-size:1rem}
.add-to-cart-btn:hover{background:var(--light-green);transform:translateY(-2px)}

/* WooCommerce Overrides - Combined (excluding homepage) */
.woocommerce .products:not(.product-grid){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;gap:30px!important}
/* Only apply to shop/category pages, not homepage or single product pages */
.woocommerce .products:not(.product-grid) .product{background:var(--white)!important;border-radius:var(--border-radius)!important;overflow:hidden!important;box-shadow:var(--box-shadow)!important;transition:var(--transition)!important;margin:0!important;padding:0!important}
/* Temporarily disabled - causing page-wide hover effect */
/* .woocommerce .products:not(.product-grid) .product:hover{transform:translateY(-5px)!important;box-shadow:0 15px 35px rgba(0,0,0,0.15)!important} */
.woocommerce .product img{border-radius:0!important;width:100%!important;height:250px!important;object-fit:cover!important}
.woocommerce .product .woocommerce-loop-product__title{font-size:1.2rem!important;font-weight:600!important;color:var(--dark-gray)!important;margin:15px 0 10px!important;padding:0 20px!important}
.woocommerce .product .price{font-size:1.3rem!important;font-weight:700!important;color:var(--primary-green)!important;margin:0 0 15px!important;padding:0 20px!important}
.woocommerce .product .button{background:var(--primary-green)!important;color:var(--white)!important;border:none!important;padding:12px 24px!important;border-radius:25px!important;font-weight:600!important;margin:0 20px 20px!important;width:calc(100% - 40px)!important;text-align:center!important;transition:var(--transition)!important}
.woocommerce .product .button:hover{background:var(--light-green)!important;transform:translateY(-2px)!important}

/* Animations - Combined */
@keyframes heroFloat{0%,100%{transform:translateY(0px) rotate(0deg)}33%{transform:translateY(-10px) rotate(1deg)}66%{transform:translateY(-5px) rotate(-1deg)}}
@keyframes floatUp{0%,100%{transform:translateY(0px) rotate(0deg);opacity:0.08}25%{transform:translateY(-20px) rotate(90deg);opacity:0.15}50%{transform:translateY(-10px) rotate(180deg);opacity:0.12}75%{transform:translateY(-30px) rotate(270deg);opacity:0.1}}
@keyframes heroImageFloat{0%,100%{transform:translateY(0px) scale(1)}50%{transform:translateY(-15px) scale(1.02)}}
@keyframes titleGlow{0%{text-shadow:0 2px 4px rgba(0,0,0,0.3),0 4px 8px rgba(0,0,0,0.2),0 8px 16px rgba(0,0,0,0.1),0 0 20px rgba(255,255,255,0.1)}100%{text-shadow:0 2px 4px rgba(0,0,0,0.3),0 4px 8px rgba(0,0,0,0.2),0 8px 16px rgba(0,0,0,0.1),0 0 30px rgba(255,255,255,0.2),0 0 40px rgba(255,255,255,0.1)}}
@keyframes shine{0%{left:-100%}100%{left:100%}}

/* Responsive Design - Mobile First */
@media (max-width:1200px){
    .health-categories-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:25px}
    .hero-title{font-size:3rem}
    .category-hero-title{font-size:3.2rem}
}

@media (max-width:768px){
    .container{padding:0 15px}
    .header-content{flex-direction:column;gap:20px}
    .main-navigation ul{flex-wrap:wrap;gap:20px;justify-content:center}
    .hero-title{font-size:2.5rem}
    .hero-subtitle{font-size:1.1rem}
    .trust-badges{gap:30px}
    .health-categories-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
    .health-category-card{min-height:250px;padding:25px}
    .category-hero-title{font-size:2.8rem}
    .subcategories-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;gap:20px!important}
    .subcategories-header h2{font-size:1.8rem!important}
    .subcategory-card{padding:20px!important}
    .subcategory-icon,.subcategory-image{width:50px!important;height:50px!important;font-size:20px!important}
    .products-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:25px}
}

@media (max-width:480px){
    .hero-title{font-size:2rem}
    .hero-subtitle{font-size:1rem}
    .hero-cta{padding:12px 24px;font-size:16px}
    .trust-badges{flex-direction:column;gap:20px}
    .health-categories-grid{grid-template-columns:1fr;gap:15px}
    .health-category-card{min-height:240px}
    .category-hero-title{font-size:2.2rem}
    .subcategories-grid{grid-template-columns:1fr!important;gap:15px!important}
    .subcategories-section{padding:40px 0!important}
    .subcategories-header{margin-bottom:30px!important}
    .subcategories-header h2{font-size:1.6rem!important}
    .subcategories-header p{font-size:1rem!important}
    .products-grid{grid-template-columns:1fr;gap:20px}
    .woocommerce .products{grid-template-columns:1fr!important}
}

/* Header Search Form Styles */
.search-form {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    box-shadow: 0 4px 15px rgba(45,122,45,0.2);
    transform: translateY(-1px);
}

.search-input {
    padding: 10px 16px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #333;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    padding: 10px 14px;
    background: var(--primary-green);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.search-button svg {
    width: 16px;
    height: 16px;
}

/* Header Cart Icon Styles */
.cart-icon {
    color: var(--dark-gray);
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.cart-icon:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45,122,45,0.3);
}

.cart-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--warm-orange);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


/* Remove any bullets or list styling */
.woocommerce ul.products li.product:before,
.woocommerce-page ul.products li.product:before {
    display: none !important;
    content: none !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(45, 122, 45, 0.15) !important;
    border-color: var(--primary-green) !important;
}

/* Target the first link (image container) */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link:first-child,
.woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link:first-child {
    width: 150px !important;
    height: 150px !important;
    flex-shrink: 0 !important;
    margin-right: 15px !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
    width: 120px !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin: 0 !important;
    display: block !important;
}

/* Target the product-content div */
.woocommerce ul.products li.product .product-content,
.woocommerce-page ul.products li.product .product-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    min-height: 120px !important;
}

.woocommerce ul.products li.product .product-info,
.woocommerce-page ul.products li.product .product-info {
    flex-grow: 1 !important;
    margin-bottom: 10px !important;
}

/* Product title styling */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product h2,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4 !important;
}

/* Price styling */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--primary-green) !important;
    margin-bottom: 15px !important;
}

/* Product actions container */
.woocommerce ul.products li.product .product-actions,
.woocommerce-page ul.products li.product .product-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
}

/* Button styling */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    background: var(--primary-green) !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    min-width: 100px !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    background: #1e5f1e !important;
    transform: scale(1.05) !important;
}

.woocommerce ul.products li.product .view-details-btn {
    background: #2196f3 !important;
}

.woocommerce ul.products li.product .view-details-btn:hover {
    background: #1976d2 !important;
}

/* Force remove any default list styling */
ul.products {
    list-style-type: none !important;
}

ul.products li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Mobile Responsive for Header Elements */
@media (max-width: 768px) {
    .search-input {
        width: 150px;
        font-size: 13px;
    }
    
    .cart-icon {
        padding: 6px;
    }
    
    .cart-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .search-input {
        width: 120px;
        padding: 8px 12px;
    }
    
    .search-button {
        padding: 8px 10px;
    }
    
    .search-button svg {
        width: 14px;
        height: 14px;
    }
}

/* ===== WOOCOMMERCE CUSTOM HORIZONTAL LAYOUT STYLES ===== */

/* PROFESSIONAL PRODUCT CARD LAYOUT WITH RIGHT-SIDE BUTTONS */

/* Remove bullet points and list styling */
ul.products {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

ul.products li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.products li:before {
    display: none !important;
    content: none !important;
}

/* Enhanced Product Card Layout - Image Left, Content Center, Buttons Right */
ul.products li.product {
    list-style: none !important;
    margin: 0 0 25px 0 !important;
    padding: 0 !important;
    display: flex !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    border: 1px solid #f0f0f0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    min-height: 200px !important;
    align-items: stretch !important;
}

ul.products li.product:before {
    display: none !important;
    content: none !important;
}

ul.products li.product:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(45,122,45,0.12) !important;
    border-color: var(--primary-green) !important;
}

/* Product Image Section */
ul.products li.product > a.woocommerce-LoopProduct-link:first-child {
    flex-shrink: 0 !important;
    width: auto !important;
    display: block !important;
    text-decoration: none !important;
}

ul.products li.product img {
    width: 160px !important;
    height: 160px !important;
    object-fit: cover !important;
    margin: 20px !important;
    border-radius: 12px !important;
    transition: transform 0.3s ease !important;
    display: block !important;
    border: 2px solid #f8f9fa !important;
}

ul.products li.product:hover img {
    transform: scale(1.03) !important;
    border-color: var(--primary-green) !important;
}

/* Product Content Area - Center Section */
ul.products li.product .product-content {
    flex: 1 !important;
    padding: 10px 10px 10px 0 !important;
    display: flex !important;
    align-items: stretch !important;
}

/* Product Info Section - Takes up most of the center space */
ul.products li.product .product-content .product-info {
    flex: 1 !important;
    padding-right: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* Product Info Link */
ul.products li.product .product-content > a.woocommerce-LoopProduct-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
    flex: 1 !important;
}

/* Specific fix for product title link underline issue */
ul.products li.product .product-content a.woocommerce-LoopProduct-link,
ul.products li.product .product-content a.woocommerce-LoopProduct-link:hover,
ul.products li.product .product-content a.woocommerce-LoopProduct-link:focus,
ul.products li.product .product-content a.woocommerce-LoopProduct-link:active {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    text-decoration-line: none !important;
    -webkit-text-decoration-line: none !important;
}

/* Product Titles */
ul.products li.product .product-content h2.woocommerce-loop-product__title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
    color: #333 !important;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    text-decoration-line: none !important;
    -webkit-text-decoration-line: none !important;
}

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

/* Product Prices */
ul.products li.product .product-content .price {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--primary-green) !important;
    margin: 0 0 10px 0 !important;
}

ul.products li.product .product-content .price del {
    color: #999 !important;
    font-size: 18px !important;
    margin-right: 8px !important;
}

/* Star Ratings */
ul.products li.product .product-content .star-rating {
    color: #ffc107 !important;
    margin: 0 0 8px 0 !important;
    font-size: 14px !important;
}

/* Product Excerpt */
ul.products li.product .product-content .product-excerpt {
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.4 !important;
    margin: 8px 0 !important;
}

/* Product Categories */
ul.products li.product .product-content .product-categories {
    margin: 8px 0 !important;
}

ul.products li.product .product-content .product-category-tag {
    background: var(--primary-green) !important;
    color: white !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Stock Status */
ul.products li.product .product-content .stock-status {
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 8px 0 0 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

ul.products li.product .product-content .stock-status.in-stock {
    color: #28a745 !important;
}

ul.products li.product .product-content .stock-status.out-of-stock {
    color: #dc3545 !important;
}

ul.products li.product .product-content .stock-icon {
    font-weight: bold !important;
    font-size: 12px !important;
}

/* Product Actions Section - Right Side */
ul.products li.product .product-content .product-actions {
    flex-shrink: 0 !important;
    width: 190px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 20px 10px 20px 0 !important;
}

/* Force buttons to fit within container */
ul.products li.product .product-actions .add_to_cart_button,
ul.products li.product .product-actions .view-details-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

/* Add to Cart Buttons - Primary Action */
ul.products li.product .product-content .add_to_cart_button {
    background: var(--primary-green) !important;
    color: white !important;
    border: none !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    font-size: 13px !important;
    width: 100% !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(45,122,45,0.2) !important;
}

ul.products li.product .product-content .add_to_cart_button:hover {
    background: #1e5e1e !important;
    transform: translateY(-1px) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(45,122,45,0.3) !important;
}

/* View Details Button - Secondary Action */
ul.products li.product .product-content .view-details-btn {
    background: transparent !important;
    color: var(--primary-green) !important;
    border: 2px solid var(--primary-green) !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    font-size: 13px !important;
    width: 100% !important;
    margin: 0 !important;
}

ul.products li.product .product-content .view-details-btn:hover {
    background: var(--primary-green) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(45,122,45,0.2) !important;
}

/* Sale Badges */
ul.products li.product .onsale {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    background: #ff4444 !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    z-index: 2 !important;
    box-shadow: 0 3px 10px rgba(255,68,68,0.3) !important;
}

/* Responsive Design for New Horizontal Layout */
@media (max-width: 768px) {
    ul.products li.product {
        flex-direction: column !important;
        min-height: auto !important;
        text-align: left !important;
    }
    
    ul.products li.product img {
        width: calc(100% - 40px) !important;
        height: 200px !important;
        margin: 20px !important;
        border-radius: 12px !important;
    }
    
    ul.products li.product .product-content {
        padding: 0 20px 20px 20px !important;
        flex-direction: column !important;
    }
    
    ul.products li.product .product-content .product-info {
        padding-right: 0 !important;
        margin-bottom: 15px !important;
    }
    
    ul.products li.product .product-content .product-actions {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    
    ul.products li.product .product-content .add_to_cart_button,
    ul.products li.product .product-content .view-details-btn {
        width: 48% !important;
    }
}

@media (max-width: 480px) {
    ul.products li.product .product-content h2.woocommerce-loop-product__title {
        font-size: 16px !important;
    }
    
    ul.products li.product .product-content .price {
        font-size: 20px !important;
    }
    
    ul.products li.product .product-content .product-excerpt {
        font-size: 13px !important;
    }
    
    ul.products li.product .product-content .product-actions {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    ul.products li.product .product-content .add_to_cart_button,
    ul.products li.product .product-content .view-details-btn {
        width: 100% !important;
    }
}

/* ===== ENHANCED SHOP TOOLBAR AND FILTERS ===== */

/* Shop Toolbar Styles */
.myforever-shop-toolbar {
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    transition: all 0.3s ease !important;
}

.myforever-shop-toolbar:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
}

/* Filter Button Styles */
.myforever-shop-toolbar .filter-btn {
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    border: 1px solid #ddd !important;
}

.myforever-shop-toolbar .filter-btn:hover {
    border-color: var(--primary-green) !important;
    color: var(--primary-green) !important;
    transform: translateY(-1px) !important;
}

.myforever-shop-toolbar .filter-btn.active {
    background: var(--primary-green) !important;
    color: white !important;
    border-color: var(--primary-green) !important;
    box-shadow: 0 2px 8px rgba(45,122,45,0.2) !important;
}

/* Sorting Dropdown Styles */
.myforever-shop-toolbar select {
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.myforever-shop-toolbar select:hover {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 2px rgba(45,122,45,0.1) !important;
}

.myforever-shop-toolbar select:focus {
    outline: none !important;
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 3px rgba(45,122,45,0.1) !important;
}

/* Enhanced Category Filter Styles */
.enhanced-category-filter ul li a {
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
}

.enhanced-category-filter ul li a:hover {
    background: rgba(45,122,45,0.1) !important;
    color: var(--primary-green) !important;
    transform: translateX(5px) !important;
}

.enhanced-category-filter ul li a[style*="var(--primary-green)"] {
    background: rgba(45,122,45,0.1) !important;
    border-left: 3px solid var(--primary-green) !important;
    padding-left: 12px !important;
}

/* Responsive Toolbar */
@media (max-width: 768px) {
    .myforever-shop-toolbar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .myforever-shop-toolbar .shop-controls {
        width: 100% !important;
        justify-content: space-between !important;
    }
    
    .myforever-shop-toolbar .quick-filters {
        flex-wrap: wrap !important;
    }
    
    .myforever-shop-toolbar .price-filters {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 480px) {
    .myforever-shop-toolbar .shop-controls {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
    }
    
    .myforever-shop-toolbar .quick-filters,
    .myforever-shop-toolbar .sorting-controls {
        width: 100% !important;
    }
    
    .myforever-shop-toolbar .sorting-controls {
        justify-content: space-between !important;
    }
    
    .myforever-shop-toolbar select {
        flex: 1 !important;
        margin-left: 10px !important;
    }
}

/* ===== CATEGORY PAGE STYLES ===== */

/* Category Hero Section */
.myforever-category-hero {
    position: relative !important;
}

.myforever-category-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(45, 122, 45, 0.85), rgba(76, 175, 80, 0.85)) !important;
    z-index: 1 !important;
}

.myforever-category-hero .container {
    position: relative !important;
    z-index: 2 !important;
}

/* Enhanced Category Filter */
.enhanced-category-filter .category-link {
    transition: all 0.3s ease !important;
}

.enhanced-category-filter .category-link:hover {
    background: rgba(45,122,45,0.05) !important;
    transform: translateX(3px) !important;
    padding-left: 8px !important;
}

/* Responsive Category Page */
@media (max-width: 768px) {
    .myforever-category-hero {
        padding: 40px 0 !important;
    }
    
    .myforever-shop-layout {
        flex-direction: column !important;
    }
    
    .myforever-shop-sidebar {
        flex: none !important;
        width: 100% !important;
        margin-bottom: 30px !important;
    }
}

/* ===== NATIVE WOOCOMMERCE BREADCRUMB STYLING ===== */

/* Allow inline styles to control container padding */

/* Subtle Native WooCommerce Breadcrumb */
nav.woocommerce-breadcrumb {
    background: rgba(248,249,250,0.8) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    margin: 0 0 20px 0 !important;
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #666 !important;
    box-shadow: none !important;
    transition: none !important;
}

nav.woocommerce-breadcrumb:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Breadcrumb Links */
nav.woocommerce-breadcrumb a {
    color: #666 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: color 0.2s ease !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    display: inline-block !important;
}

nav.woocommerce-breadcrumb a:hover {
    color: var(--primary-green) !important;
    background: none !important;
    transform: none !important;
}

/* Breadcrumb Separators */
nav.woocommerce-breadcrumb .delimiter {
    margin: 0 6px !important;
    color: #ccc !important;
    font-weight: 300 !important;
}

/* Remove automatic icons for more subtle appearance */
nav.woocommerce-breadcrumb a[href*="/"]:first-child::before,
nav.woocommerce-breadcrumb a[href*="shop"]::before,
nav.woocommerce-breadcrumb a[href*="product-category"]::before,
nav.woocommerce-breadcrumb a[href*="category"]::before {
    display: none !important;
}

/* Responsive Breadcrumb */
@media (max-width: 768px) {
    nav.woocommerce-breadcrumb {
        padding: 6px 10px !important;
        font-size: 12px !important;
        margin: 0 0 15px 0 !important;
    }
}

@media (max-width: 480px) {
    nav.woocommerce-breadcrumb {
        overflow-x: auto !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    nav.woocommerce-breadcrumb::-webkit-scrollbar {
        display: none !important;
    }
}

/* ===== FOOTER STYLES ===== */

/* Site Footer */
.site-footer {
    background: #333 !important;
    color: #ccc !important;
    padding: 40px 0 20px !important;
    font-size: 14px !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
}

.footer-section h3 {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #555 !important;
}

.footer-section h4 {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.footer-section p {
    color: #ccc !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    font-size: 13px !important;
}

.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-section ul li {
    margin-bottom: 8px !important;
    font-size: 13px !important;
}

.footer-section ul li a {
    color: #ccc !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-section ul li a:hover {
    color: #2d7a2d !important;
}

.social-links a {
    color: #ccc !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin-right: 10px !important;
}

.social-links a:hover {
    color: #2d7a2d !important;
    transform: scale(1.1) !important;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #555 !important;
    padding-top: 20px !important;
    text-align: center !important;
}

.footer-bottom p {
    color: #999 !important;
    margin: 0 !important;
    font-size: 12px !important;
}

/* Back to Top Button */
#back-to-top {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background: var(--primary-green) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: none !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 15px rgba(45,122,45,0.3) !important;
    transition: all 0.3s ease !important;
}

#back-to-top:hover {
    background: #1e5e1e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(45,122,45,0.4) !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 15px !important;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .footer-section h3 {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
}

/* ===== CART PAGE STYLES ===== */

/* Cart Wrapper */
.myforever-cart-wrapper {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Cart Header */
.cart-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.cart-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(45, 122, 45, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.cart-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 150px;
    height: 150px;
    background: rgba(45, 122, 45, 0.03);
    border-radius: 50%;
    z-index: 1;
}

.cart-header .container {
    position: relative;
    z-index: 2;
}

.cart-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 25px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cart-title::before {
    content: '🛒';
    font-size: 2rem;
    animation: cartBounce 2s ease-in-out infinite;
}

@keyframes cartBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Cart Summary Header */
.cart-summary-header {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.cart-stats {
    display: flex;
    gap: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

.stat-item:nth-child(2) .stat-icon {
    animation-delay: 0.5s;
}

.stat-item:nth-child(3) .stat-icon {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cart Empty Message */
.cart-empty-message {
    text-align: center;
    margin: 20px 0;
}

.cart-empty-message p {
    color: #6c757d;
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 25px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Progress Indicator */
.cart-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.8);
    padding: 25px 40px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8e9aaf;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-step.active {
    color: var(--primary-green);
    font-weight: 600;
    transform: scale(1.05);
}

.progress-step:hover {
    transform: scale(1.02);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    color: #8e9aaf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e8eaed;
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1e5e1e 100%);
    color: white;
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(45, 122, 45, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.progress-step.active .step-number::before {
    left: 100%;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(45, 122, 45, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(45, 122, 45, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(45, 122, 45, 0.3);
    }
}

.step-label {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.progress-step.active .step-label {
    font-weight: 700;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #e8eaed 0%, #f1f3f4 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.progress-step.active:not(:last-child)::after {
    background: linear-gradient(90deg, var(--primary-green) 0%, #1e5e1e 100%);
    box-shadow: 0 2px 8px rgba(45, 122, 45, 0.3);
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 40px 0;
}

.cart-main {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.cart-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-empty h2 {
    font-size: 1.8rem;
    color: #495057;
    margin-bottom: 15px;
}

.cart-empty p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.continue-shopping {
    background: var(--primary-green) !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.continue-shopping:hover {
    background: #1e5e1e !important;
    transform: translateY(-2px) !important;
}

/* Cart Table */
.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.shop_table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
}

.shop_table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f8f9fa;
}

.product-info a {
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.product-info a:hover {
    color: var(--primary-green);
}

.product-benefits {
    margin-top: 8px;
}

.benefits-text {
    color: var(--primary-green);
    font-weight: 500;
    font-size: 13px;
}

.product-price,
.product-subtotal {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 1.1rem;
}

.product-quantity input {
    width: 60px;
    padding: 8px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

.product-remove a {
    color: #dc3545;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-remove a:hover {
    background: #dc3545;
    color: white;
}

/* Cart Actions */
.actions {
    background: #f8f9fa;
    padding: 20px !important;
    border-radius: 10px;
}

.coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.coupon input {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    flex: 1;
    max-width: 200px;
}

.coupon button,
.actions button {
    background: var(--primary-green) !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.coupon button:hover,
.actions button:hover {
    background: #1e5e1e !important;
}

/* Fix WordPress emoji SVG sizing for categories and tags - override ul.products li.product img */
ul.products li.product .product-categories-enhanced .category-icon .emoji,
ul.products li.product .product-tags-enhanced .tags-icon .emoji,
ul.products li.product .category-icon img.emoji,
ul.products li.product .tags-icon img.emoji,
.woocommerce ul.products li.product .product-categories-enhanced .category-icon .emoji,
.woocommerce ul.products li.product .product-tags-enhanced .tags-icon .emoji,
.woocommerce ul.products li.product .category-icon img.emoji,
.woocommerce ul.products li.product .tags-icon img.emoji {
    width: 12px !important;
    height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    vertical-align: middle !important;
    margin: 0 !important;
    display: inline-block !important;
    border: none !important;
    padding: 0 !important;
    object-fit: none !important;
}

.category-icon,
.tags-icon {
    font-size: 12px !important;
    opacity: 0.7;
    margin-right: 4px;
    vertical-align: middle;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
}

/* Add spacing between tag badges and capitalize words */
.product-tag-badge {
    margin-right: 6px;
    text-transform: capitalize;
}

.product-tag-badge:last-child {
    margin-right: 0;
}

/* Cross-sells */
.cart-cross-sells {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f1f3f4;
}

.cart-cross-sells h3 {
    color: #495057;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.cross-sells-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.cross-sell-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.cross-sell-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cross-sell-item a {
    text-decoration: none;
    color: inherit;
}

.cross-sell-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.cross-sell-item h4 {
    font-size: 14px;
    margin: 0 0 8px 0;
    color: #495057;
}

.cross-sell-item .price {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 13px;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.cart-summary h3 {
    color: #495057;
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Trust Signals */
.cart-trust-signals {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.cart-trust-signals h4 {
    color: #495057;
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.badge-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.badge-text strong {
    display: block;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.badge-text small {
    color: #6c757d;
    font-size: 11px;
    line-height: 1.3;
}

/* Customer Support */
.cart-support {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.cart-support h4 {
    color: #495057;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.support-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-green);
    text-decoration: none;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.support-option:hover {
    background: rgba(45,122,45,0.1);
}

.support-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6c757d;
    padding: 8px;
    font-size: 14px;
}

.support-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* FDA Disclaimer */
.fda-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.fda-disclaimer p {
    margin: 0;
    color: #856404;
    font-size: 11px;
    line-height: 1.4;
}

/* Enhanced Cart Totals */
.order-summary-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-items-count {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.items-icon {
    font-size: 18px;
}

.items-text {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.cart_totals .shop_table {
    background: white;
    border: 1px solid #f1f3f4;
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
}

.cart_totals .shop_table th {
    background: #f8f9fa;
    padding: 15px 20px;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.cart_totals .shop_table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f4;
    font-weight: 600;
    color: #495057;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    background: #f8f9fa;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
    border-bottom: none;
}

.cart_totals .cart-discount td {
    color: #28a745;
}

.shipping-notice {
    color: #6c757d;
    font-style: italic;
    font-size: 13px;
}

/* Estimated Delivery */
.estimated-delivery {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 8px;
    padding: 15px;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.delivery-icon {
    font-size: 20px;
}

.delivery-text strong {
    display: block;
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.delivery-text small {
    color: #495057;
    font-size: 12px;
}

/* Checkout Button */
.wc-proceed-to-checkout {
    margin: 0;
}

.wc-proceed-to-checkout .checkout-button {
    width: 100% !important;
    background: var(--primary-green) !important;
    color: white !important;
    border: none !important;
    padding: 18px 30px !important;
    border-radius: 10px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: #1e5e1e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(45,122,45,0.3) !important;
}

/* Security Notice */
.checkout-security {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.security-icon {
    font-size: 16px;
}

.security-text {
    font-weight: 600;
    color: #495057;
    font-size: 13px;
}

.payment-methods {
    color: #6c757d;
    font-size: 11px;
}

/* Money Back Guarantee */
.money-back-guarantee {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
}

.guarantee-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guarantee-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.guarantee-text strong {
    display: block;
    color: #856404;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.guarantee-text small {
    color: #856404;
    font-size: 12px;
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-title {
        font-size: 1.8rem;
    }
    
    .cart-title::before {
        font-size: 1.5rem;
    }
    
    .cart-stats {
        gap: 25px;
        padding: 15px 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .cart-progress {
        gap: 30px;
        padding: 20px 25px;
        margin-top: 25px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 13px;
    }
    
    .progress-step:not(:last-child)::after {
        right: -20px;
        width: 15px;
    }
    
    .cart-main {
        padding: 20px;
    }
    
    .shop_table {
        font-size: 14px;
    }
    
    .shop_table th,
    .shop_table td {
        padding: 10px 8px;
    }
    
    .product-thumbnail img {
        width: 60px;
        height: 60px;
    }
    
    .cross-sells-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cart-header {
        padding: 25px 0;
    }
    
    .cart-title {
        font-size: 1.6rem;
        gap: 10px;
    }
    
    .cart-title::before {
        font-size: 1.3rem;
    }
    
    .cart-stats {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        align-items: center;
    }
    
    .stat-item {
        justify-content: center;
        min-width: 120px;
    }
    
    .cart-progress {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .progress-step {
        justify-content: center;
    }
    
    .progress-step:not(:last-child)::after {
        display: none;
    }
    
    .cart-empty-message p {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .cart-layout {
        padding: 20px 0;
    }
    
    .cart-main {
        padding: 15px;
    }
    
    .actions {
        padding: 15px !important;
    }
    
    .coupon {
        flex-direction: column;
        align-items: stretch;
    }
    
    .coupon input {
        max-width: none;
        margin-bottom: 10px;
    }
    
    .trust-badges {
        gap: 12px;
    }
    
    .trust-badge {
        padding: 10px;
    }
    
    .cross-sells-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== WOOCOMMERCE BLOCK CART STYLES ===== */

/* Cart Page Container */
.myforever-cart-page {
    background: #f8f9fa;
}

.myforever-cart-page .container {
    max-width: 1400px;
    padding: 0 15px;
}

/* WooCommerce Block Cart */
.wp-block-woocommerce-cart {
    background: transparent;
    padding: 40px 0;
}

/* Cart Block Header */
.wc-block-cart__main {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Cart Items Table */
.wc-block-cart-items {
    border: none;
    background: transparent;
}

.wc-block-cart-items__header {
    background: #f8f9fa;
    border-radius: 10px 10px 0 0;
    padding: 20px;
    border-bottom: 2px solid #e9ecef;
}

.wc-block-cart-items__header .wc-block-cart-items__header-image,
.wc-block-cart-items__header .wc-block-cart-items__header-product,
.wc-block-cart-items__header .wc-block-cart-items__header-price,
.wc-block-cart-items__header .wc-block-cart-items__header-quantity,
.wc-block-cart-items__header .wc-block-cart-items__header-total {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cart Item Rows */
.wc-block-cart-items__row {
    padding: 25px 20px;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.wc-block-cart-items__row:hover {
    background: #fafbfc;
}

.wc-block-cart-items__row:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

/* Product Images */
.wc-block-cart-item__image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f8f9fa;
    transition: all 0.3s ease;
}

.wc-block-cart-item__image:hover img {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

/* Product Details */
.wc-block-cart-item__product {
    padding-left: 15px;
}

.wc-block-cart-item__product .wc-block-cart-item__product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.wc-block-cart-item__product .wc-block-cart-item__product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wc-block-cart-item__product .wc-block-cart-item__product-name a:hover {
    color: var(--primary-green);
}

/* Product Attributes/Variations */
.wc-block-cart-item__product .wc-block-cart-item__product-metadata {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

.wc-block-cart-item__product .wc-block-cart-item__product-metadata dt {
    font-weight: 600;
    color: #495057;
}

/* Product Prices */
.wc-block-cart-item__price,
.wc-block-cart-item__total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
}

/* Quantity Controls */
.wc-block-cart-item__quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-block-cart-item__quantity .wc-block-cart-item__quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    overflow: hidden;
    background: white;
}

.wc-block-cart-item__quantity input {
    border: none;
    text-align: center;
    width: 60px;
    padding: 8px 5px;
    font-weight: 600;
    background: transparent;
}

.wc-block-cart-item__quantity button {
    background: #f8f9fa;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #495057;
}

.wc-block-cart-item__quantity button:hover {
    background: var(--primary-green);
    color: white;
}

/* Remove Item Button */
.wc-block-cart-item__remove-link {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.wc-block-cart-item__remove-link:hover {
    background: #c82333;
    transform: scale(1.1);
    color: white;
}

/* Cart Totals Sidebar */
.wc-block-cart__sidebar {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.wc-block-cart__sidebar .wc-block-cart__totals-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

/* Cart Totals Table */
.wc-block-cart__totals-table {
    width: 100%;
    margin-bottom: 25px;
}

.wc-block-cart__totals-table tr {
    border-bottom: 1px solid #f1f3f4;
}

.wc-block-cart__totals-table tr:last-child {
    border-bottom: 2px solid var(--primary-green);
    font-weight: 700;
}

.wc-block-cart__totals-table th,
.wc-block-cart__totals-table td {
    padding: 15px 0;
    font-size: 1rem;
}

.wc-block-cart__totals-table th {
    text-align: left;
    font-weight: 600;
    color: #495057;
}

.wc-block-cart__totals-table td {
    text-align: right;
    font-weight: 600;
    color: var(--primary-green);
}

/* Checkout Button */
.wc-block-cart__submit-container {
    margin-top: 25px;
}

.wc-block-cart__submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, #1e5e1e 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 122, 45, 0.3);
    position: relative;
    overflow: hidden;
}

.wc-block-cart__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 122, 45, 0.4);
}

.wc-block-cart__submit-button:active {
    transform: translateY(0);
}

/* Trust Signals */
.wc-block-cart__sidebar::after {
    content: '';
    display: block;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232d7a2d"><path d="M12 2L13.09 8.26L22 9L13.09 9.74L12 16L10.91 9.74L2 9L10.91 8.26L12 2Z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    min-height: 40px;
    position: relative;
}

/* Empty Cart State */
.wc-block-cart__empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.wc-block-cart__empty-cart .wc-block-cart__empty-cart__title {
    font-size: 2rem;
    color: #495057;
    margin-bottom: 15px;
}

.wc-block-cart__empty-cart .wc-block-cart__empty-cart__text {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Coupon Form */
.wc-block-cart__coupon-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.wc-block-cart__coupon-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    margin-right: 10px;
    font-size: 1rem;
}

.wc-block-cart__coupon-form input:focus {
    border-color: var(--primary-green);
    outline: none;
}









/* No Content Found Section */
.no-content-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-content-section .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.no-content-section .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #4caf50, var(--primary-green));
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

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

.no-content-section h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.no-content-section h2::before {
    content: '🔍';
    display: block;
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-content-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Enhanced Search Form Styling */
.no-content-section .search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 5px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.no-content-section .search-form:focus-within {
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1), 0 0 0 3px rgba(45, 122, 45, 0.1);
    background: white;
}

.no-content-section .search-form label {
    flex: 1;
    margin: 0;
    position: relative;
}

.no-content-section .search-form .screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.no-content-section .search-form .search-field {
    width: 100%;
    border: none;
    background: transparent;
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
    outline: none;
    border-radius: 50px;
}

.no-content-section .search-form .search-field::placeholder {
    color: #999;
    font-style: italic;
}

.no-content-section .search-form .search-submit {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    white-space: nowrap;
}

.no-content-section .search-form .search-submit:hover {
    background: #1e5e1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 122, 45, 0.3);
}

.no-content-section .search-form .search-submit:active {
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .no-content-section {
        padding: 60px 0;
        min-height: 50vh;
    }
    
    .no-content-section .container {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .no-content-section h2 {
        font-size: 2rem;
    }
    
    .no-content-section h2::before {
        font-size: 3rem;
    }
    
    .no-content-section p {
        font-size: 1.1rem;
    }
    
    .no-content-section .search-form {
        flex-direction: column;
        border-radius: 15px;
        padding: 10px;
        gap: 10px;
    }
    
    .no-content-section .search-form .search-field {
        border-radius: 10px;
        padding: 12px 15px;
    }
    
    .no-content-section .search-form .search-submit {
        border-radius: 10px;
        padding: 12px 20px;
    }
}

.wc-block-cart__coupon-form button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc-block-cart__coupon-form button:hover {
    background: #1e5e1e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .myforever-cart-page .container {
        padding: 0 10px;
    }
    
    .wc-block-cart__main,
    .wc-block-cart__sidebar {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .wc-block-cart-items__row {
        padding: 15px 10px;
    }
    
    .wc-block-cart-item__image img {
        width: 60px;
        height: 60px;
    }
    
    .wc-block-cart-item__product .wc-block-cart-item__product-name {
        font-size: 1rem;
    }
    
    .wc-block-cart__submit-button {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* ============================================================================
   BLOG PAGES STYLING - WELLNESS TIPS & PRODUCT REVIEWS
   ============================================================================ */

/* Single Post Hero Section */
.single-post-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, #4caf50 100%);
    padding: 60px 0 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.single-post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

/* Post Breadcrumbs */
.post-breadcrumbs {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.post-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-breadcrumbs a:hover {
    color: white;
}

.breadcrumb-separator {
    margin: 0 10px;
    opacity: 0.6;
}

.current-page {
    color: white;
    font-weight: 600;
}

/* Post Hero Meta */
.post-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.post-hero-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.post-category {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary-green) !important;
}

/* Post Hero Title */
.post-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

/* Single Post Content */
.single-post-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

.post-main-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Social Share Buttons */
.social-share-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.share-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.email {
    background: #666;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Post Content Wrapper */
.post-content-wrapper {
    margin-bottom: 40px;
}

.post-content-wrapper h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 30px 0 20px;
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 10px;
}

.post-content-wrapper h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 25px 0 15px;
}

.post-content-wrapper p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444;
    font-size: 16px;
}

.post-content-wrapper ul,
.post-content-wrapper ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content-wrapper li {
    line-height: 1.6;
    margin-bottom: 8px;
    color: #444;
}

.post-content-wrapper strong {
    color: var(--primary-green);
    font-weight: 700;
}

.wp-block-separator {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    margin: 30px 0;
}

/* Author Bio Section */
.author-bio-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.author-bio {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-green);
}

.author-info h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.author-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Post Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.widget-title {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-green);
}

/* Related Products Widget */
.related-products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-product-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.related-product-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-product-item a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.related-product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-product-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.related-product-price {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 16px;
}

/* Recent Posts Widget */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.recent-post-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.recent-post-item a {
    text-decoration: none;
    color: inherit;
}

.recent-post-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.recent-post-date {
    color: #666;
    font-size: 12px;
}

/* Newsletter Widget */
.newsletter-widget p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.newsletter-input-sidebar {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input-sidebar:focus {
    border-color: var(--primary-green);
}

.newsletter-btn-sidebar {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn-sidebar:hover {
    background: #1e5e1e;
    transform: translateY(-2px);
}

/* Related Posts Section */
.related-posts-section {
    padding: 60px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 50px;
    font-weight: 700;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Comments Section */
.comments-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.comments-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comment-reply-title {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.comment-form textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    outline: none;
    transition: border-color 0.3s ease;
}

.comment-form textarea:focus {
    border-color: var(--primary-green);
}

.form-submit input[type="submit"] {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.form-submit input[type="submit"]:hover {
    background: #1e5e1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 122, 45, 0.3);
}

.logged-in-as {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.logged-in-as a {
    color: var(--primary-green);
    text-decoration: none;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

.required {
    color: #e74c3c;
}

/* Mobile Responsiveness for Single Post */
@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .post-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .single-post-hero {
        padding: 40px 0 30px;
    }
    
    .post-hero-title {
        font-size: 2.2rem;
    }
    
    .post-hero-meta {
        gap: 10px;
    }
    
    .post-hero-meta span {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .post-main-content {
        padding: 25px;
    }
    
    .social-share-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .single-post-content {
        padding: 40px 0;
    }
    
    .post-hero-title {
        font-size: 1.8rem;
    }
    
    .post-main-content {
        padding: 20px;
    }
    
    .share-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .comments-wrapper {
        padding: 25px;
    }
}

/* Archive Blog Hero Section */
.blog-hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #4caf50 100%);
    padding: 60px 0 50px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.blog-hero-content {
    position: relative;
    z-index: 2;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Blog Categories Navigation */
.blog-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.blog-cat-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-cat-link:hover,
.blog-cat-link.active {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.archive-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 700;
}

.archive-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-green);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-title {
    margin-bottom: 15px;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-green);
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.blog-tag {
    background: #e7f3e7;
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card-footer {
    margin-top: auto;
}

.read-more-btn {
    background: var(--primary-green);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #1e5e1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 122, 45, 0.3);
}

.read-more-btn .arrow {
    transition: transform 0.3s ease;
}

.read-more-btn:hover .arrow {
    transform: translateX(5px);
}

/* Blog Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 60px;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
    background: white;
    color: #666;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.blog-pagination a:hover,
.blog-pagination .current {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-content h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.no-posts-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* Blog Newsletter Section */
.blog-newsletter-section {
    background: linear-gradient(135deg, var(--primary-green), #4caf50);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto 15px;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
}

.newsletter-btn {
    background: white;
    color: var(--primary-green);
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.newsletter-privacy {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
}



/* Responsive Header Styles */
.site-header {
    position: relative;
}

/* Mobile Menu Toggle and Navigation */
.mobile-menu-toggle {
    display: block !important; /* Temporarily always show for testing */
    background: red !important; /* Debug: make it red */
    border: 3px solid blue !important; /* Debug: blue border */
    font-size: 24px;
    cursor: pointer;
    color: white !important; /* Debug: white text */
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 50px !important; /* Debug: fixed width */
    height: 50px !important; /* Debug: fixed height */
    position: relative !important;
    z-index: 9999 !important; /* Debug: high z-index */
}



.mobile-menu-toggle:hover {
    background: rgba(45, 122, 45, 0.1);
    color: var(--primary-green);
}

.mobile-navigation {
    display: none;
    background: white;
    border-top: 1px solid rgba(45, 122, 45, 0.2);
    padding: 25px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 999;
}

.mobile-navigation .container {
    padding: 0 20px;
}

.mobile-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-navigation li {
    margin: 0;
}

.mobile-navigation a {
    display: block;
    padding: 15px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(45, 122, 45, 0.05);
    border: 1px solid rgba(45, 122, 45, 0.1);
}

.mobile-navigation a:hover {
    background: rgba(45, 122, 45, 0.1);
    color: var(--primary-green);
    transform: translateX(5px);
}

/* Mobile Search in Navigation */
.mobile-search {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(45, 122, 45, 0.1);
    position: relative;
}

.mobile-search::before {
    content: 'Search Products';
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(45, 122, 45, 0.1);
}

.mobile-search-form:focus-within {
    box-shadow: 0 6px 25px rgba(45,122,45,0.25);
    transform: translateY(-2px);
    border-color: rgba(45, 122, 45, 0.3);
}

.mobile-search-input {
    flex: 1;
    padding: 16px 55px 16px 24px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.mobile-search-input::placeholder {
    color: #888;
    font-weight: 400;
}

.mobile-search-input:focus {
    background: rgba(45, 122, 45, 0.03);
    color: var(--primary-green);
}

.mobile-search-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #228B22 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 42px;
    height: 42px;
    box-shadow: 0 2px 8px rgba(45, 122, 45, 0.3);
}

.mobile-search-button:hover {
    background: linear-gradient(135deg, #228B22 0%, var(--primary-green) 100%);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 15px rgba(45, 122, 45, 0.4);
}

.mobile-search-button:active {
    transform: translateY(-50%) scale(0.95);
}

.mobile-search-button svg {
    width: 16px;
    height: 16px;
}

/* Enhanced Mobile Menu Links */
#mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu li {
    margin: 0 0 8px 0;
}

#mobile-menu a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(45, 122, 45, 0.03);
    border: 1px solid rgba(45, 122, 45, 0.08);
    position: relative;
    overflow: hidden;
}

#mobile-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

#mobile-menu a:hover {
    background: rgba(45, 122, 45, 0.08);
    color: var(--primary-green);
    transform: translateX(8px);
    border-color: rgba(45, 122, 45, 0.2);
}

#mobile-menu a:hover::before {
    transform: scaleY(1);
}

#mobile-menu a:active {
    transform: translateX(4px) scale(0.98);
}

/* Current page styling */
#mobile-menu .current-menu-item a,
#mobile-menu .current_page_item a {
    background: rgba(45, 122, 45, 0.1);
    color: var(--primary-green);
    font-weight: 600;
    border-color: rgba(45, 122, 45, 0.2);
}

#mobile-menu .current-menu-item a::before,
#mobile-menu .current_page_item a::before {
    transform: scaleY(1);
}

/* Mobile Account Link */
.mobile-account {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(45, 122, 45, 0.1);
}

.mobile-account-link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(45, 122, 45, 0.03);
    border: 1px solid rgba(45, 122, 45, 0.08);
    position: relative;
    overflow: hidden;
}

.mobile-account-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-account-link:hover {
    background: rgba(45, 122, 45, 0.08);
    color: var(--primary-green);
    transform: translateX(8px);
    border-color: rgba(45, 122, 45, 0.2);
}

.mobile-account-link:hover::before {
    transform: scaleY(1);
}

.mobile-account-icon {
    font-size: 20px;
    margin-right: 12px;
}

.mobile-account-text {
    font-weight: 500;
}

/* Mobile responsive behavior */
@media (max-width: 768px) {
    /* Hide desktop search and account on mobile */
    .header-search {
        display: none !important;
    }
    
    .header-account {
        display: none !important;
    }
    
    /* Hide main navigation on mobile */
    .main-navigation {
        display: none !important;
    }
    
    /* Fix header layout - logo on left, actions on right */
    .header-main .container > div {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .site-branding {
        order: 1;
        flex-shrink: 0;
    }
    
    .header-actions {
        order: 2;
        display: flex !important;
        align-items: center;
        gap: 15px;
    }
    
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: block !important;
        background: none !important;
        border: none !important;
        font-size: 24px !important;
        color: #333 !important;
        padding: 8px !important;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(45, 122, 45, 0.1) !important;
        color: var(--primary-green) !important;
    }
    
    .mobile-menu-toggle:focus {
        outline: none;
        background: rgba(45, 122, 45, 0.1) !important;
        color: var(--primary-green) !important;
    }
    
    /* Allow mobile navigation to be toggled */
    .mobile-navigation {
        display: none; /* No !important so JS can override */
    }
    
    .mobile-navigation.show {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-navigation {
        display: none !important;
    }
    
    .main-navigation {
        display: block !important;
    }
    
    .header-search {
        display: block !important;
    }
}



/* Mobile Header Adaptations */
@media (max-width: 768px) {
    .header-main {
        padding: 15px 0;
    }
    
    .header-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .mobile-bottom-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
        order: 3;
    }
    
    /* Site branding (logo) - shared between desktop and mobile */
    .site-branding {
        order: 1;
    }
    
    .site-branding img {
        height: 40px !important;
    }
    
    /* Top row: Logo and Icons */
    .mobile-top-row {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        order: 2;
        width: 100%;
    }
    
    .mobile-header-actions {
        display: flex;
        gap: 15px;
        align-items: center;
    }
    
    /* Mobile navigation styling */
    .mobile-nav {
        order: 2;
        text-align: center;
    }
    
    .mobile-nav ul {
        flex-direction: column;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .mobile-nav a {
        padding: 12px 20px;
        font-size: 16px;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(45, 122, 45, 0.05);
        border: 1px solid rgba(45, 122, 45, 0.1);
        text-decoration: none;
        color: var(--dark-gray);
    }
    
    .mobile-nav a:hover {
        background: rgba(45, 122, 45, 0.1);
        color: var(--primary-green);
        transform: translateY(-1px);
    }
    
    /* Mobile search styling */
    .mobile-search {
        order: 1;
    }
    
    .mobile-search .search-form {
        width: 100%;
        position: relative;
    }
    
    .mobile-search .search-input {
        font-size: 16px;
        padding: 12px 50px 12px 16px;
        width: 100%;
        border-radius: 25px;
        border: 2px solid rgba(45, 122, 45, 0.2);
        box-sizing: border-box;
    }
    
    .mobile-search .search-input:focus {
        border-color: var(--primary-green);
        outline: none;
    }
    
    .mobile-search .search-button {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--primary-green);
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
    }
    
    /* Mobile account and cart styling */
    .header-account a,
    .header-cart a {
        font-size: 18px;
        padding: 8px;
        border-radius: 50%;
        background: rgba(45, 122, 45, 0.1);
        transition: all 0.3s ease;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
    
    .header-account a:hover,
    .header-cart a:hover {
        background: var(--primary-green);
        color: white;
        transform: scale(1.1);
    }
    
    .cart-count {
        font-size: 12px;
        min-width: 18px;
        height: 18px;
        line-height: 18px;
    }
}

/* Tablet Header Adaptations */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-actions {
        gap: 15px;
    }
    
    .search-form {
        max-width: 200px;
    }
    
    .main-navigation a {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Mobile Responsiveness for Blog */
@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-categories {
        gap: 10px;
    }
    
    .blog-cat-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .blog-hero-section {
        padding: 40px 0 30px;
    }
    
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-posts-section {
        padding: 60px 0;
    }
    
    .blog-card-content {
        padding: 20px;
    }
}

/* Blog Post Section Styling */
.content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.post-card-image {
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail {
    transform: scale(1.05);
}

.post-card-content {
    padding: 25px;
}

.post-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    line-height: 1.4;
}

.post-card h3 a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card h3 a:hover {
    color: var(--primary-green);
}

.post-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.post-date {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-read-more:hover {
    color: #2d5a2d;
    transform: translateX(3px);
}

.post-read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.post-read-more:hover::after {
    transform: translateX(3px);
}

/* Mobile responsive for blog posts */
@media (max-width: 768px) {
    .content-section {
        padding: 60px 0;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .post-card-content {
        padding: 20px;
    }
    
    .post-card h3 {
        font-size: 1.2rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
