/*
Theme Name: SWIS Technology
Author: Antigravity
Description: A simple theme for SWIS Technology
Version: 1.0
*/

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px; /* Offset for the floating header */
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #000000; /* Black text as requested */
    margin: 0;
    padding-top: 110px; /* Space for fixed header */
    overflow-x: hidden;
    width: 100%;
}

/* Remove padding for the home page so hero goes under the header */
body.home, body.blog {
    padding-top: 0;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1100px;
    height: 91px;
    background: rgba(255, 255, 255, 0.85); /* Matte white */
    backdrop-filter: blur(12px); /* Glassmorphism/Matte effect */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px; /* Floating pill shape */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Fix for WordPress Admin Bar */
.admin-bar .site-header {
    top: 52px;
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 66px;
    }
}

.header-left .logo img {
    max-height: 58px;
    width: auto;
    display: block;
}

.header-center .nav-menu {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.header-center .nav-menu li a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.header-center .nav-menu li a:hover,
.header-center .nav-menu li a.active {
    color: #15803d; /* Matched with the premium green used in hero */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

.cart-icon:hover {
    color: #2C9F4B;
    transform: scale(1.1);
}

.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #111827;
    transition: color 0.2s ease;
}

.cart-icon:hover {
    color: #2C9F4B;
}

.cart-icon svg {
    width: 32px;
    height: 32px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #ef4444; /* Red background */
    color: #ffffff; /* White text */
    font-size: 12px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
}

.order-btn {
    background: linear-gradient(135deg, #38c85e, #2C9F4B); /* Gradient button */
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(44, 159, 75, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 159, 75, 0.4);
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-image: url('/wp-content/uploads/2026/08/Hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Container */
.hero-container {
    width: 96%;
    max-width: 1400px; /* Aligned with all other sections */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.hero-content {
    max-width: 650px;
    text-align: left;
    margin-top: 50px; /* Offset for the floating header */
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #111827;
    text-align: left;
}

.text-green {
    color: #15803d; /* Matching the green in the image */
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: #15803d;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.3;
    color: #111827;
}

.feature-text strong {
    font-weight: 700;
    display: block;
}

.feature-text span {
    color: #4b5563;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #15803d;
    color: #ffffff !important;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 8px; /* Slightly rounded corners */
    font-weight: 700;
    font-size: 1.05rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-btn:hover {
    background-color: #166534;
    transform: translateY(-2px);
}

.hero-btn svg {
    width: 20px;
    height: 20px;
}

/* --- Trust Badges Section --- */
.trust-badges-section {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    padding: 40px 20px;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-badge-icon {
    flex-shrink: 0;
    color: #2C9F4B;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge-icon svg {
    width: 100%;
    height: 100%;
}

.trust-badge-text h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.trust-badge-text p {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 992px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .trust-badges-section {
        background: #f0fdf4; /* Solid light green instead of gradient */
    }
    
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row */
        gap: 15px; /* Slightly tighter gap for mobile */
    }
    
    /* Make text smaller to fit 2 per row */
    .trust-badge-text h4 {
        font-size: 0.9rem;
    }
    
    .trust-badge-text p {
        font-size: 0.75rem;
    }
    
    .trust-badge-icon {
        width: 36px;
        height: 36px;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 60px 5%;
    background-color: transparent;
}

.testimonials-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 40px;
}

.testimonials-carousel-wrapper {
    position: relative;
    /* Removed flex layout so buttons can be absolutely positioned */
}

.testimonials-carousel-wrapper .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.prev-btn-test {
    left: -25px;
}

.next-btn-test {
    right: -25px;
}

.testimonials-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    width: 100%;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 13.33px); /* 3 items minus gap */
    min-width: calc(33.333% - 13.33px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #2C9F4B;
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
}

.testimonial-content {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.testimonial-author-area {
    margin-top: auto;
}

.testimonial-author {
    font-weight: 700;
    color: #111827;
    font-size: 1rem;
    margin-bottom: 5px;
}

.testimonial-verified {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #2C9F4B;
    font-size: 0.85rem;
    font-weight: 600;
}

.testimonial-verified svg {
    width: 16px;
    height: 16px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease;
}

.test-dot.active {
    background-color: #2C9F4B;
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

/* --- How It Works Section --- */
.how-it-works-section {
    padding: 60px 5%;
    background-color: #f3f4f6; /* Distinct from #f9fafb but very close */
    box-sizing: border-box;
}

.how-it-works-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 50px;
}

.hiw-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 25px; /* Tighter gap between items and arrows */
}

.hiw-step {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Removed flex: 1 to prevent stretching apart */
}

.hiw-icon-wrapper {
    position: relative;
    padding: 10px 0 0 10px; /* Space for absolute circle */
}

.hiw-step-number {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 28px;
    height: 28px;
    background-color: #15803d; /* Dark green */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    border: 3px solid #f3f4f6; /* Matching background color to create cutout effect */
}

.hiw-icon {
    width: 54px;
    height: 54px;
    color: #111827; /* Almost black */
}

.hiw-icon svg {
    width: 100%;
    height: 100%;
}

.hiw-text h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 5px;
}

.hiw-text p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.4;
    margin: 0;
    max-width: 200px; /* Keep text constrained nicely */
}

.hiw-arrow {
    width: 35px;
    height: 35px;
    color: #cbd5e1; /* Light gray arrow */
}

.hiw-arrow svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .hiw-grid {
        flex-direction: column;
        align-items: center; /* Center them on mobile */
        gap: 30px;
        max-width: 400px;
    }
    
    .hiw-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }
}

/* --- Products Section --- */
.products-section {
    padding: 40px 5%;
    background-color: #ffffff;
    text-align: center;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 25px;
}

.products-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    color: #374151;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background: #15803d;
    color: #ffffff;
    border-color: #15803d;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.prev-btn {
    left: -24px;
}

.next-btn {
    right: -24px;
}

.products-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.products-carousel::-webkit-scrollbar {
    display: none;
}

/* 5 items per row: total gap = 4 * 24px = 96px. */
.product-card {
    flex: 0 0 calc((100% - 96px) / 5);
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 5; /* Changed to a vertical ratio suitable for bottles */
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff; /* Blends better with product images */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents CSS cropping, shows full bottle */
    object-position: center;
}

.product-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.product-name a {
    text-decoration: none;
    color: #111827;
    transition: color 0.2s ease;
}

.product-name a:hover {
    color: #15803d;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.product-price del {
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 400;
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
    color: #15803d;
}

.product-rating {
    margin-bottom: 20px;
}

.product-rating .stars {
    color: #fbbf24;
    display: flex;
    gap: 2px;
}

.product-rating .stars svg {
    width: 16px;
    height: 16px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto; /* Push to bottom of card */
    width: 100%;
}

.buy-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #f3f4f6;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 1.5;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #38c85e, #2C9F4B);
    color: white;
}

/* WooCommerce loading state */
.buy-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Hide default WC view cart link that gets appended automatically */
.added_to_cart.wc-forward {
    display: none !important;
}

.view-cart-btn {
    background: linear-gradient(135deg, #38c85e, #2C9F4B);
    color: white;
}

.qty-controls {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space out the minus, number, and plus */
    background-color: #f3f4f6;
    border-radius: 8px;
    height: 48px;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #111827;
    width: 36px;
    height: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.qty-btn:hover {
    background-color: #e5e7eb;
}

.qty-btn.minus {
    color: #ef4444; /* Red color for minus */
}

.qty-btn.plus {
    color: #10b981; /* Green color for plus */
}

.qty-amount {
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
    min-width: 28px;
    text-align: center;
}

@media (max-width: 1200px) {
    .product-card { flex: 0 0 calc((100% - 72px) / 4); }
}
@media (max-width: 992px) {
    .product-card { flex: 0 0 calc((100% - 48px) / 3); }
}
@media (max-width: 768px) {
    .product-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 480px) {
    .product-card { flex: 0 0 100%; }
}

/* --- Slide-out Cart Styles --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.slide-out-cart {
    position: fixed;
    top: 0;
    right: -450px; /* Hidden initially */
    width: 450px;
    max-width: 90vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.slide-out-cart.active {
    right: 0;
}

.slide-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
}

.slide-cart-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-cart-btn:hover {
    color: #ef4444;
}

.slide-cart-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mini-cart-items {
    padding: 20px 25px;
    flex: 1;
}

.mini-cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
}

.mini-cart-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.mini-cart-details {
    flex: 1;
}

.mini-cart-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.mini-cart-price {
    font-size: 1rem;
    color: #10b981;
    font-weight: 700;
    margin-bottom: 10px;
}

.qty-controls.mini-qty {
    height: 36px;
    width: 100px;
}

.qty-controls.mini-qty .qty-btn {
    width: 30px;
    font-size: 1rem;
}

.qty-controls.mini-qty .qty-amount {
    font-size: 0.9rem;
}

.remove-mini-cart-item {
    position: absolute;
    top: -5px;
    right: 0;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    width: auto;
    height: auto;
}

.remove-mini-cart-item:hover {
    color: #ef4444;
    background: none;
    transform: none;
}

.mini-cart-footer {
    padding: 20px 25px;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
}

.buy-btn.checkout-btn {
    background: linear-gradient(135deg, #111827, #374151);
    color: #ffffff;
    display: block;
    width: 100%;
}

.buy-btn.checkout-btn:hover {
    background: linear-gradient(135deg, #000000, #1f2937);
}

.empty-cart-msg {
    text-align: center;
    padding: 50px 20px;
    color: #6b7280;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* --- Quick View Modal Styles --- */
.quick-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.quick-view-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 900px;
    max-width: 95vw;
    max-height: 90vh;
    background-color: #ffffff;
    z-index: 10001;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

.quick-view-modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.qv-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.close-qv {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.close-qv:hover {
    background: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

.qv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.qv-img {
    background-color: #f9fafb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.qv-img img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.qv-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.qv-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
    line-height: 1.2;
}

.qv-price {
    font-size: 1.5rem;
    color: #10b981;
    font-weight: 700;
    margin-bottom: 20px;
}

.qv-desc {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

.qv-desc p {
    margin-bottom: 10px;
}

.qv-desc ul, .qv-desc ol {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 20px;
}

.qv-desc ul {
    list-style-type: disc;
}

.qv-desc ol {
    list-style-type: decimal;
}

.qv-desc li {
    margin-bottom: 6px;
    color: #4b5563;
}

.quick-view-modal .action-buttons {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .qv-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .qv-title {
        font-size: 1.5rem;
    }
    
    .qv-img img {
        max-height: 250px;
    }
}

/* --- FAQ Section --- */
.faq-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.faq-right {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 100px; /* Make image sticky while scrolling FAQs */
}

.faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item.active {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-color: #15803d; /* Green border when active */
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #15803d;
}

.faq-item.active .faq-question {
    color: #15803d;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #15803d;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-right {
        order: -1; /* Move image above FAQs on mobile */
        position: static;
    }
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(90deg, #064e3b 0%, #15803d 100%); /* Dark green to lighter green */
    padding: 30px 5%;
    width: 100%;
    box-sizing: border-box;
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    width: 50px;
    height: 50px;
    color: #4ade80; /* Light green for the icon */
    flex-shrink: 0;
}

.cta-icon svg {
    width: 100%;
    height: 100%;
}

.cta-text h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.cta-text p {
    color: #e5e7eb;
    font-size: 1rem;
    margin: 0;
}

.cta-right {
    flex-shrink: 0;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #15803d;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    color: #15803d;
}

@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-left {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- Footer Section --- */
.site-footer {
    background-color: #111827; /* Dark background to distinct from header */
    color: #e5e7eb;
    padding: 40px 5% 20px; /* Reduced from 80px */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px; /* Reduced from 40px */
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Reduced from 30px */
    width: 100%;
}

.footer-logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 250px;
    display: block;
    filter: brightness(0) invert(1) !important;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-menu-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    text-decoration: none; /* Add this since they are now a tags */
}

.footer-menu-item:hover {
    color: #ffffff;
    /* removed cursor: default so it shows pointer */
}

.footer-middle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 0; /* Reduced from 30px */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stripe-img {
    max-height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    /* Removed filter so it keeps original colors */
}

.stripe-img:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0;
}

.footer-copyright {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-menu {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Default Pages (Cart, Checkout, etc.) --- */
.page-main {
    padding: 150px 5% 60px; /* Offset for fixed header */
    min-height: 60vh;
    background-color: #f9fafb;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.page-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.page-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

/* Fix WooCommerce specific layout issues on default pages if any */
.woocommerce-cart .page-container,
.woocommerce-checkout .page-container {
    max-width: 1400px;
}

/* --- Global Mobile Responsiveness Fixes --- */
@media (max-width: 768px) {
    /* Fix Hero Section typography overflowing */
    .hero-title {
        font-size: 1.5rem !important; /* Made even smaller */
        line-height: 1.2;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 15px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 10px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
        width: 100%;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        flex: 1;
        gap: 5px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
        margin: 0 auto 5px auto;
    }

    .feature-text {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 1rem;
        position: absolute;
        bottom: 35px; /* Move to bottom of the hero section */
        left: 50%;
        transform: translateX(-50%);
        width: 80%; /* Nice wide button on mobile */
        justify-content: center; /* Center the text and icon */
        box-shadow: 0 10px 25px rgba(21, 128, 61, 0.3); /* Add nice shadow so it pops against background */
    }

    .hero-section {
        position: relative; /* Needed to contain the absolutely positioned button */
        background-image: url('/wp-content/uploads/2026/08/Hero-mobile.png');
        background-position: top center;
        background-size: cover;
        background-repeat: no-repeat;
        height: auto; 
        aspect-ratio: 941 / 1672; /* Exact proportions of the mobile image */
        min-height: 0; /* Override the desktop 700px min-height */
        margin-bottom: 0;
    }

    .hero-container {
        justify-content: center; /* Horizontally center */
        align-items: flex-start; /* Vertically push to top! */
        padding-top: 107px; /* User requested value */
    }

    /* Fix Header breaking out */
    .header-center {
        display: none; /* Hide text menu on mobile to prevent overflow */
    }
    
    .site-header {
        padding: 0 15px;
        position: absolute;
        top: 10px; /* Reduce gap above header */
    }

    /* Mobile header logo scaling */
    .header-left .logo img {
        max-height: 40px;
    }

    .hamburger-btn {
        display: flex !important;
        width: 22px;
        height: 16px;
    }
    
    .desktop-cart-icon {
        display: none !important;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .order-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    /* Ensure sections don't overflow */
    .section-title {
        font-size: 2rem !important;
    }

    .page-title {
        font-size: 2rem !important;
    }

    /* FAQ text scaling */
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    
    /* Center products text */
    .products-section {
        padding: 40px 15px;
    }

    /* Product Cards Mobile Optimization */
    .products-carousel {
        gap: 15px;
        padding: 10px 0;
    }

    .product-card {
        flex: 0 0 calc((100% - 15px) / 2); /* Show 2 cards per row */
        padding: 12px;
        border-radius: 12px;
    }

    .product-image {
        margin-bottom: 12px;
        padding: 5px;
        border-radius: 6px;
    }

    .product-name {
        font-size: 0.9rem;
        margin: 0 0 8px 0;
        line-height: 1.3;
    }

    .product-price {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .product-rating {
        margin-bottom: 12px;
    }

    .product-rating .star {
        font-size: 0.8rem;
    }

    .product-rating .review-count {
        font-size: 0.75rem;
    }

    .add-to-cart-btn {
        padding: 10px 0;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    /* Fix Carousel Buttons going off-screen */
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    
    .prev-btn, .prev-btn-test {
        left: -5px; /* Stay well within the 15px padding of the section */
    }
    
    .next-btn, .next-btn-test {
        right: -5px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem !important;
    }
    .section-title {
        font-size: 1.75rem !important;
    }
}

/* --- Hamburger Menu & Mobile Nav Styles --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: #111827;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    max-width: 80vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-logo img {
    height: 40px;
    width: auto;
}

.close-mobile-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav {
    padding: 20px 0;
    overflow-y: auto;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #111827;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: #f9fafb;
    color: #15803d;
}

.mobile-cart-btn {
    gap: 10px;
    color: #15803d; /* Highlight cart */
}

.mobile-cart-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-cart-count {
    background-color: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Push to right */
    position: static;
}
