/*
Theme Name: green
Description: A professional healthcare and pharmacy-inspired WordPress theme in a sophisticated lavender and mint palette.
Author: Gemini (based on Developer's original)
Version: 2.2
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--uc-body-text);
    background-color: var(--uc-global-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    top: 0;
    z-index: 1000;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideInDown 0.5s ease-in-out;
}

@keyframes slideInDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-top {
    background: var(--uc-topbar-bg);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--uc-logo-color);;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    margin: 0 30px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--uc-search-border);
    border-radius: 25px;
    font-size: 16px;
    outline: none;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--uc-search-btn-bg);;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-actions a {
    text-decoration: none;
    color: var(--uc-body-text);
    font-weight: 500;
    transition: color 0.3s;
}
.header-actions a:hover {
    color: var(--uc-logo-color);;
}

/* Navigation */
.main-navigation {
    background: var(--uc-search-btn-bg);;
    padding: 0;
    position: relative;
    z-index: 10;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 500;
}

.nav-menu a:hover, .nav-menu a.active {
    background: rgba(255,255,255,0.2);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--uc-body-text);
    font-size: 24px;
    cursor: pointer;
}

/* Off-Canvas Menu */
.off-canvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    padding: 20px;
    box-sizing: border-box;
}

.off-canvas-menu.open {
    transform: translateX(0);
}

.off-canvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--uc-search-btn-bg);;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
    display: none;
    transition: opacity 0.3s;
}

/* =========================================
   FINAL RESPONSIVE SLIDESHOW CSS (Fixes White Space)
   ========================================= */

/* Main Container */
.slideshow-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

/* Slide Wrapper - CRITICAL FIX: Removes fixed height */
.slide {
    display: none; /* JavaScript controls showing this */
    width: 100%;
    position: relative;
    /* height: 500px;  <-- THIS WAS THE PROBLEM LINE. IT IS NOW GONE. */
}

/* Image Styling - Height Auto adjusts to the screen width */
.slide img {
    width: 100%;
    height: auto;       
    display: block;     
    object-fit: contain; 
}

/* Navigation Arrows - Centered Vertically */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Keeps arrows in the middle of the IMAGE */
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 5;
    margin-top: 0; /* Removes old centering hack */
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots Container - Positioned over the image */
.slideshow-section .dot-container {
    text-align: center;
    position: absolute;
    bottom: 15px; 
    width: 100%;
    z-index: 5;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.active, .dot:hover {
    background-color: #fff;
    border-color: var(--uc-logo-color);
}

/* --- MOBILE & TABLET ADJUSTMENTS --- */
@media (max-width: 768px) {
    .prev, .next {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }
}



/* Dots Container - Positioned over the image */
.slideshow-section .dot-container {
    text-align: center;
    position: absolute;
    bottom: 15px; 
    width: 100%;
    z-index: 5;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.active, .dot:hover {
    background-color: #fff;
    border-color: var(--uc-logo-color);
}

/* --- MOBILE & TABLET ADJUSTMENTS --- */
@media (max-width: 768px) {
    /* Make arrows smaller on phones */
    .prev, .next {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    /* Make dots smaller on phones */
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }
}
/* Main Sections */
.product-section, .testimonials-section, .newsletter-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--uc-body-text);
    font-weight: bold;
}

/* Trust Badges Section */
.trust-badges-section {
    padding: 40px 0;
    background-color: var(--uc-global-bg);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.trust-badge i {
    font-size: 2em;
    color: var(--uc-logo-color);;
}

.trust-badge span {
    font-size: 16px;
    font-weight: 500;
    color: #555;
}

/* Product Card and Grid Styles */
.products-grid, .product-slider .slick-list {
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--uc-body-text);
    min-height: 48px;
    line-height: 1.5;
}
.product-title a {
    text-decoration: none;
    color: inherit;
}

.product-card .woocommerce-loop-product__link img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--uc-logo-color);;
    margin-bottom: 15px;
    min-height: 30px;
}

/* Newsletter */
.newsletter-section {
    background: var(--uc-search-btn-bg);;
    color: white;
    text-align: center;
}
.newsletter-section h3 { font-size: 28px; margin-bottom: 10px; }
.newsletter-section p { font-size: 16px; margin-bottom: 30px; }
.newsletter-form { display: flex; justify-content: center; gap: 10px; }
.newsletter-form input { width: 100%; max-width: 350px; padding: 15px 20px; border-radius: 30px; border: none; outline: none; }
.newsletter-form button { padding: 15px 30px; border-radius: 30px; border: none; background: var(--uc-newsletter-btn); color: white; cursor: pointer; font-weight: bold; transition: background 0.3s; }
.newsletter-form button:hover { background: #7F53AC; }


/* Footer Styles */
.site-footer {
    background: #333;
    color: #eee;
    padding: 60px 0 20px;
    clear: both;
    position: relative;
    z-index: 20;
    width: 100%;
}
main#primary {
    position: relative;
    z-index: 1;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-section h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-section p {
    color: #bbb;
    line-height: 1.7;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links a {
    color: #bbb;
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}
.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}


/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .menu-toggle { display: block; }
    .main-navigation { display: none; }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .products-grid { grid-template-columns: 1fr; }
  
}

/* ----------------------------------------- */
/* -- STYLES FOR PHOTO CATEGORIES SECTION -- */
/* ----------------------------------------- */
.photo-categories-section {
    padding: 60px 0;
    background-color: #fff;
}
.photo-categories-section .section-title-container {
    text-align: left;
    margin-bottom: 30px;
}
.photo-categories-section .section-title {
    text-align: left;
    font-size: 24px;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}
.photo-categories-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--uc-category-accent);
}
.category-photo-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
}
.category-photo-item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.category-photo-item.tall-item {
    grid-row: span 2;
    grid-column: 2 / 3;
    grid-row-start: 1;
    grid-row-end: 3;
}
.category-photo-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
.category-photo-item:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.category-photo-item:nth-child(4) { grid-column: 1 / 2; grid-row: 2 / 3; }
.category-photo-item:nth-child(5) { grid-column: 3 / 4; grid-row: 2 / 3; }
.category-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}
.category-item-overlay h3 {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
@media (max-width: 992px) {
    .category-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }
    .category-photo-item, .category-photo-item.tall-item, .category-photo-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
    .category-photo-item:nth-child(1) { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .category-photo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .category-photo-item { min-height: 200px; }
    .category-photo-item:nth-child(1) { grid-column: auto; }
}

/* ----------------------------------------- */
/* -- STYLES FOR POLISHED TESTIMONIALS -- */
/* ----------------------------------------- */
/* --- Testimonial Slider Section --- */

/* --- Testimonial Slider Section --- */

.testimonial-slider-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.testimonial-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Side: Rating Summary */
.rating-summary {
    flex-basis: 250px;
    flex-shrink: 0;
    text-align: center;
    padding-right: 40px;
    border-right: 1px solid #e0e0e0;
}

.rating-summary .rating-value {
    font-size: 4rem;
    font-weight: bold;
    color: var(--uc-body-text);
    line-height: 1;
}

/* UPDATED: Ensuring all stars are golden */
.rating-summary .stars,
.testimonial-card .stars {
    color: #f5b50a;
}

.rating-summary .reviews-count {
    font-size: 1rem;
    color: #555;
}

.rating-summary .see-all-reviews {
    font-size: 0.9rem;
    color: #0073aa;
    text-decoration: none;
}

/* Right Side: Slider */
.testimonial-slider-wrapper {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.testimonial-slider-wrapper .section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--uc-body-text);
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    box-sizing: border-box;
    padding: 0 15px;
}

/* Individual Testimonial Card */
.testimonial-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid var(--uc-testimonial-border);
    padding: 20px;
    border-radius: 5px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.testimonial-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.testimonial-card .reviewer-name {
    font-weight: bold;
    color: #8DC89C;
}

.testimonial-card .testimonial-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 5px 0 15px;
    color: #444;
}

/* UPDATED: More creative font for testimonial message */
.testimonial-card .testimonial-content {
    color: #555;
    font-family: Georgia, serif; /* Elegant serif font */
    font-style: italic; /* Italicized for quotes */
    line-height: 1.6;
    flex-grow: 1;
}

/* UPDATED: More creative style for the date */
.testimonial-card .testimonial-date {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 15px;
    text-align: right; /* Aligned to the right */
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-weight: 600;
    text-transform: uppercase; /* STYLIZED TEXT */
    letter-spacing: 0.5px;
}


/* Arrow Styles */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #555;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    line-height: 1;
}

.slider-arrow.prev-arrow {
    left: 10px;
}

.slider-arrow.next-arrow {
    right: 10px;
}

.slider-arrow.is-hidden {
    display: none;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
    .testimonial-container {
        flex-direction: column;
        gap: 20px;
    }
    .rating-summary {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-right: 0;
        padding-bottom: 20px;
    }
    .testimonial-slide {
        flex-basis: 50%;
    }
}

@media (max-width: 767px) {
    .testimonial-slider-section {
        padding: 40px 10px;
    }
    .testimonial-slide {
        flex-basis: 100%;
        padding: 0 5px;
    }
    .slider-arrow.prev-arrow {
        left: 5px;
    }
    .slider-arrow.next-arrow {
        right: 5px;
    }
}

/* ----------------------------------------- */
/* -- STYLES FOR PRODUCT SLIDER -- */
/* ----------------------------------------- */
.product-slider .slick-slide {
    padding: 0 15px;
    height: auto;
}
.product-slider .slick-track {
    display: flex;
}
.product-slider .slick-slide > div {
    height: 100%;
}
.product-slider .product-card {
    margin: 0 auto;
}
.slick-prev, .slick-next {
    width: 45px; height: 45px; z-index: 10; background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.slick-prev:hover, .slick-next:hover { background-color: #fff; }
.slick-prev { left: -25px; }
.slick-next { right: -25px; }
.slick-prev:before, .slick-next:before {
    font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 22px; color: var(--uc-logo-color);; opacity: 0.8;
}
.slick-prev:hover:before, .slick-next:hover:before { opacity: 1; }
.slick-prev:before { content: '\f053'; }
.slick-next:before { content: '\f054'; }
.slick-dots li button:before { font-size: 12px; color: var(--uc-logo-color);; opacity: 0.5; }
.slick-dots li.slick-active button:before { color: var(--uc-logo-color);; opacity: 1; }
@media (max-width: 1250px) {
  .slick-prev { left: 10px; }
  .slick-next { right: 10px; }
}

/* ----------------------------------------- */
/* -- CREATIVE BORDERS FOR PRODUCT CARDS -- */
/* ----------------------------------------- */
.product-card::before,
.product-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background-color: transparent;
    border-color: #A2D9CE;
    transition: all 0.4s ease;
    z-index: 1;
}
.product-card::before {
    top: 15px; left: 15px; border-top: 2px solid; border-left: 2px solid;
}
.product-card::after {
    bottom: 15px; right: 15px; border-bottom: 2px solid; border-right: 2px solid;
}
.product-card:hover::before,
.product-card:hover::after {
    width: 30px;
    height: 30px;
}
.product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1), inset 0 0 10px rgba(0,0,0,0.04);
}

/* ----------------------------------------- */
/* -- STYLES FOR LOOP VARIATION FORM -- */
/* ----------------------------------------- */
.loop-variation-form-wrap {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.loop-variation-form .loop-variation-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
}
.loop-variation-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 5px;
}
.loop-variation-buttons .button {
    text-align: center;
    padding: 10px 5px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
}
.loop-add-to-cart-button {
    background-color: var(--uc-logo-color); !important;
    color: white !important;
    border-color: var(--uc-logo-color); !important;
}
.loop-add-to-cart-button:hover {
    background-color: var(--uc-newsletter-btn) !important;
    border-color: var(--uc-newsletter-btn) !important;
}
.loop-add-to-cart-button:disabled {
    background-color: #e9e9e9 !important;
    border-color: #e9e9e9 !important;
    color: #aaa !important;
    cursor: not-allowed;
}
.loop-view-detail-button {
    background-color: transparent !important;
    color: #555 !important;
    border-color: #ccc !important;
}
.loop-view-detail-button:hover {
    background-color: #f5f9ff !important;
    border-color: #aaa !important;
    color: #333 !important;
}
.loop-add-to-cart-button.loading {
    position: relative;
    color: transparent !important;
}
.loop-add-to-cart-button.loading::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.loop-add-to-cart-message {
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 5px;
    border: 1px solid;
}
.loop-add-to-cart-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-color: #a5d6a7;
}
.loop-add-to-cart-message.error {
    background-color: #ffebee;
    color: #c62828;
    border-color: #ef9a9a;
}
/* ----------------------------------------- */
/* -- UI IMPROVEMENTS FOR LOOP VARIATION FORM -- */
/* ----------------------------------------- */
.loop-variation-form-wrap {
    background-color: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}
.loop-variation-form .loop-variation-select {
    margin-bottom: 10px;
}
.loop-variation-buttons {
    margin-top: 10px;
}









/* ----------------------------------------- */
/* -- STYLING FOR SINGLE PRODUCT PAGE TABLE -- */
/* ----------------------------------------- */
.product-variation-table-wrapper {
    overflow-x: auto;
    width: 100%;
    margin-top: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.product-variation-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 16px;
    text-align: left;
}

.product-variation-table th,
.product-variation-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.product-variation-table tbody tr:last-child td {
    border-bottom: none;
}

.product-variation-table thead {
    background-color: #f9f9f9;
}

.product-variation-table th {
    font-weight: 600;
    color: #444;
}

.product-variation-table .quantity-add-to-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.product-variation-table .quantity input.input-text {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.product-variation-table .button.alt {
    padding: 10px 20px !important;
    background-color: var(--uc-logo-color); !important;
    color: white !important;
    border: none;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.product-variation-table .button.alt:hover {
    background-color: var(--uc-newsletter-btn) !important;
}

/* Responsive Table for Mobile */
@media (max-width: 768px) {
    .product-variation-table thead { display: none; }
    .product-variation-table, .product-variation-table tbody, .product-variation-table tr, .product-variation-table td { display: block; width: 100%; }
    .product-variation-table tr { margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; padding: 10px; }
    .product-variation-table td { text-align: right; padding-left: 50%; position: relative; border-bottom: 1px dashed #eee; padding-bottom: 10px; margin-bottom: 10px; }
    .product-variation-table td:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .product-variation-table td:before { content: attr(data-label); position: absolute; left: 10px; width: calc(50% - 20px); white-space: nowrap; text-align: left; font-weight: bold; color: #444; }
    .product-variation-table td:nth-of-type(1):before { content: "Pack Size"; }
    .product-variation-table td:nth-of-type(2):before { content: "Price Per Unit"; }
    .product-variation-table td:nth-of-type(3):before { content: "Total Price"; }
    .product-variation-table td:nth-of-type(4):before { content: "Add to Cart"; }
}




/* --- Live Search Main Container --- */
.search-bar {
    position: relative; /* This is the anchor for the absolute results */
    z-index: 9999;
}

/* --- The Dropdown Results Container --- */
#search-results-container {
    /* THIS IS THE KEY FIX: Takes the element out of the page flow to overlay content */
    position: absolute; 
    top: 100%; /* Positions it right below the search bar */
    left: 0;
    right: 0;
    
    /* General Styling */
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none; /* Initially hidden */
}

/* --- "PRODUCTS" Heading in Dropdown --- */
.results-heading {
    font-size: 0.8em;
    color: #555;
    text-transform: uppercase;
    margin: 0;
    padding: 10px 15px;
    letter-spacing: 1px;
    font-weight: bold;
    background-color: #f7f7f7;
    border-bottom: 1px solid #eee;
}

/* --- Container for the Scrollable Items --- */
.results-items-container {
    max-height: 350px;
    overflow-y: auto; /* Adds the scrollbar when needed */
}

/* --- Individual Product Item Styling --- */
.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--uc-body-text);
    border-bottom: 1px solid #f0f0f0; /* Separator line */
    transition: background-color 0.2s ease;
}

/* Remove border from the last item for a clean look */
.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item .product-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
}

.search-result-item .product-details {
    display: flex;
    flex-direction: column;
}

.search-result-item .product-title {
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.search-result-item .price {
    font-size: 0.9em;
    color: var(--uc-search-price-color);
    font-weight: bold;
}

/* --- "SEE ALL" Footer --- */
.see-all-results {
    display: block;
    text-align: center;
    padding: 12px;
    background-color: #f7f7f7;
    border-top: 1px solid #eee;
    text-decoration: none;
    color: var(--uc-body-text);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}
.see-all-results:hover {
    background-color: #e9e9e9;
}

/* --- Message for No Results --- */
.no-results {
    padding: 20px;
    text-align: center;
    color: #777;
}



/* --- Blog Page Template Layout --- */
.blog-page-template .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Space between content and sidebar */
    padding: 40px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-page-template .main-content-wrap {
    flex: 1; /* Main content takes up available space */
    min-width: 0; /* Prevents flexbox overflow */
}

.blog-page-template .widget-area {
    flex-basis: 300px; /* Sidebar width */
    flex-shrink: 0;
}

/* --- Individual Blog Post Styling --- */
.blog-post-item {
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.blog-post-item .post-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.blog-post-item .entry-title {
    font-size: 2em;
    margin-bottom: 10px;
}

.blog-post-item .entry-title a {
    text-decoration: none;
    color: var(--uc-body-text);
}
.blog-post-item .entry-title a:hover {
    color: #0073aa; /* A classic WordPress blue */
}

.blog-post-item .entry-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}

.blog-post-item .entry-meta span {
    margin-right: 15px;
}

.blog-post-item .entry-content {
    line-height: 1.6;
}

.blog-post-item .read-more {
    font-weight: bold;
    text-decoration: none;
    color: #0073aa;
}

/* --- Sidebar Widget Styling --- */
.widget {
    margin-bottom: 30px;
    border: 1px solid #e5e5e5;
}

.widget-title {
    background-color: var(--uc-widget-title-bg); /* Green background like screenshot */
    color: #fff;
    padding: 12px 15px;
    margin: 0;
    font-size: 1.1em;
}

.widget ul {
    list-style: none;
    padding: 10px 15px;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    text-decoration: none;
    color: #555;
}
.widget ul li a:before {
    content: '> ';
    margin-right: 5px;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .blog-page-template .container {
        flex-direction: column;
    }
    .blog-page-template .widget-area {
        flex-basis: auto; /* Allow sidebar to be full width */
    }
}





/* Step 1: Give the parent list item a relative position */
.main-navigation .nav-menu li {
    position: relative;
}

/* Step 2: Style the submenu, and take it out of the normal flow */
.main-navigation .nav-menu li ul {
	padding: 1px 10px;
    display: none; /* Keep the display: none to hide it by default */
    
    /* This is the key change to make it float over the content */
    position: absolute;
    top: 100%; /* Positions the top of the dropdown just below the parent link */
    left: 110;
    
    /* Other styles for your multi-column layout */
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
   background-color: var(--uc-submenu-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 1100px; /* Adjust this width to fit all your columns */
    
    z-index: 999; /* Ensures the menu appears on top of other content */
}

/* Removes bullets from the main horizontal menu */
.main-navigation .nav-menu {
    list-style: none !important;
    list-style-type: none !important;
}

/* Removes bullets from the sub-menu dropdowns */
.main-navigation .nav-menu ul, 
.main-navigation .nav-menu li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Redundant safety: ensures no hidden markers appear */
.main-navigation .nav-menu li::before {
    content: none !important;
}

/* Show the submenu on hover, as before */
.main-navigation .nav-menu li:hover > ul {
    display: grid;
}

/* --- Styles for submenu links to remove extra space --- */
.main-navigation .nav-menu li ul li a {
    /* Reduce padding for a more compact look */
    padding: 5px 5px; 
    
    /* Ensure the link is still a block element so padding works */
    display: block; 
}

















/* --- DEVELOPER FIX: Welcome Footer Bar (CSS Foundation) --- */
#welcome-popup-container.footer-signup-bar {
    /* Base styles that will be enforced by JavaScript */
    background: linear-gradient(to right, var(--uc-popup-gradient-start), var(--uc-popup-gradient-end));
    color: #fff;
    z-index: 10000;
    padding: 15px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    overflow: hidden;

    /* These are !important to fight back, but JS is the final guarantee */
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    top: auto !important;
    transform: none !important;
}

/* This is a safeguard to remove any full-screen overlays */
#welcome-popup-container.footer-signup-bar::before,
#welcome-popup-container.footer-signup-bar::after {
    display: none !important;
    content: '' !important;
}

.footer-signup-bar .container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.footer-signup-bar .popup-text-content {
    text-align: left;
}

.footer-signup-bar .popup-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.footer-signup-bar .popup-text {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

#welcome-popup-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-grow: 1;
    max-width: 550px;
}

#welcome-popup-form .form-inputs {
    display: flex;
    flex-grow: 1;
    gap: 10px;
}

#welcome-popup-form .input-group {
    position: relative;
    flex-grow: 1;
}

#welcome-popup-form .input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

#welcome-popup-form input[type="text"],
#welcome-popup-form input[type="email"] {
    height: 45px;
    padding: 10px 15px 10px 40px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

#popup-submit {
    height: 45px;
    padding: 0 25px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

#welcome-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    background: rgba(0,0,0,0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .footer-signup-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-signup-bar .popup-text-content {
        text-align: center;
    }
    #welcome-popup-form {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 580px) {
    #welcome-popup-form {
        flex-direction: column;
    }
    #welcome-popup-form .form-inputs {
        flex-direction: column;
        width: 100%;
    }
}


/*
======================================================
STYLES FOR BLOG PAGE & RECENT POSTS
======================================================
*/

/* --- Recent Posts Section on Homepage --- */
.recent-posts-section {
    padding: 60px 0;
    background-color: #fff;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.recent-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.post-thumbnail-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-card-content {
    padding: 25px;
}

.post-card-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.post-card-title {
    font-size: 20px;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.post-card-title a {
    text-decoration: none;
    color: var(--uc-body-text);
}

.post-card-title a:hover {
    color: var(--uc-logo-color);;
}

.post-card-excerpt p {
    margin: 0;
    color: #555;
}

.view-all-container {
    text-align: center;
}
.button.view-all-posts-button {
    background-color: var(--uc-logo-color);;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.button.view-all-posts-button:hover {
    background-color: var(--uc-view-all-btn-hover);
}

/* --- Dedicated Blog Page Template --- */
.blog-post-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.blog-post-summary .post-thumbnail {
    flex: 0 0 300px;
}
.blog-post-summary .post-thumbnail img {
    border-radius: 5px;
}

.blog-post-summary .entry-title {
    font-size: 28px;
    margin-top: 0;
}
.blog-post-summary .entry-title a {
    text-decoration: none;
    color: var(--uc-body-text);
}
.blog-post-summary .entry-meta {
    color: #777;
    margin-bottom: 15px;
}
.read-more-link {
    font-weight: bold;
    color: var(--uc-logo-color);;
    text-decoration: none;
}
.pagination-container .pagination {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.pagination-container .page-numbers {
    padding: 8px 14px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #555;
    margin: 0 3px;
    border-radius: 4px;
}
.pagination-container .page-numbers.current,
.pagination-container .page-numbers:hover {
    background-color: var(--uc-logo-color);;
    color: #fff;
    border-color: var(--uc-logo-color);;
}

/* Responsive adjustments for blog page */
@media (max-width: 768px) {
    .blog-post-summary {
        flex-direction: column;
        gap: 20px;
    }
    .blog-post-summary .post-thumbnail {
        flex-basis: auto;
        max-width: 100%;
    }
}



/*
======================================================
STYLES FOR SINGLE POST PAGE (single.php)
======================================================
*/

.single-post-container .entry-meta span {
    margin: 0 10px;
}

.single-post-container .entry-meta a {
    color: var(--uc-logo-color);;
    text-decoration: none;
}

.single-post-container .post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.single-post-container .entry-content p {
    margin-bottom: 1.5em;
}

.single-post-container .entry-content h2,
.single-post-container .entry-content h3 {
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--uc-body-text);
}







/*
======================================================
STYLES FOR PROFESSIONAL SINGLE POST PAGE (single.php)
======================================================
*/

.single-post-page {
    padding: 50px 0;
    background-color: #fff;
}

.single-post-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* --- Main Content Area --- */
.main-content-area {
    flex: 1;
    min-width: 0; /* Prevents flexbox content from overflowing */
}

.blog-post-full .entry-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.breadcrumbs {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: #555;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: var(--uc-logo-color);;
}
.breadcrumbs span {
    color: var(--uc-body-text);
    font-weight: 500;
}

.blog-post-full .entry-title {
    font-size: 42px;
    line-height: 1.2;
    color: #222;
    margin-bottom: 15px;
}

.blog-post-full .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #777;
}
.entry-meta a {
    color: var(--uc-logo-color);;
    text-decoration: none;
    font-weight: 500;
}
.entry-meta i {
    margin-right: 6px;
}

.post-thumbnail-wrapper {
    margin-bottom: 30px;
}
.post-thumbnail-wrapper img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Post Content Readability --- */
.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--uc-body-text);
}
.entry-content p,
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
}
.entry-content h2,
.entry-content h3 {
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.3;
    color: #222;
}
.entry-content blockquote {
    border-left: 4px solid var(--uc-blockquote-line);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* --- Social Sharing --- */
.social-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.social-share h3 {
    font-size: 16px;
    margin: 0 10px 0 0;
    font-weight: 600;
}
.social-share a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.social-share a:hover {
    transform: scale(1.1);
}
.share-facebook { background-color: var(--uc-social-facebook-bg); }
.share-twitter { background-color: var(--uc-social-twitter-bg); }
.share-linkedin { background-color: var(--uc-social-linkedin-bg); }
.share-email { background-color: var(--uc-social-email-bg); }


/* --- Author Box --- */
.author-box {
    margin: 50px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}
.author-avatar img {
    border-radius: 50%;
}
.author-title {
    margin: 0 0 10px 0;
    font-size: 18px;
}
.author-description {
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
}
.author-link {
    font-weight: bold;
    color: var(--uc-logo-color);;
    text-decoration: none;
    font-size: 14px;
}

/* --- Post Navigation --- */
.nav-links {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 40px 0;
}
.nav-links .nav-previous,
.nav-links .nav-next {
    padding: 20px;
    width: 50%;
}
.nav-links .nav-previous {
    border-right: 1px solid #eee;
    text-align: left;
}
.nav-links .nav-next {
    text-align: right;
}
.nav-links a {
    text-decoration: none;
    color: #444;
}
.nav-subtitle {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}
.nav-title {
    font-weight: 600;
}

/* --- Sidebar --- */
.blog-sidebar {
    flex: 0 0 300px; /* Sidebar will not grow, will not shrink, and has a base width */
}
.widget {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.widget .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--uc-body-text);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--uc-link);
}
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.widget ul li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.widget ul li a {
    text-decoration: none;
    color: #555;
}
.widget ul li a:hover {
    color: var(--uc-logo-color);;
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {
    .single-post-layout {
        flex-direction: column;
    }
    .blog-sidebar {
        flex-basis: 100%;
        margin-top: 40px;
    }
    .blog-post-full .entry-title {
        font-size: 32px;
    }
}


/* --- Custom Product Page Layout: 30% Image / 70% Details --- */

/* This rule applies only to screens wider than 768px (tablets and desktops) */
@media (min-width: 769px) {

  .woocommerce div.product {
    /* Use modern Flexbox for clean alignment */
    display: flex;
    flex-wrap: wrap;
  }

  /* Target the product image gallery container */
  .woocommerce div.product div.images {
    /* Set the width to 30% */
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 30px; /* Optional: Adds some space between image and text */
    box-sizing: border-box; /* Ensures padding doesn't add to the width */
  }

  /* Target the product summary/details container */
  .woocommerce div.product div.summary {
    /* Set the width to 70% */
    flex: 0 0 60%;
    max-width: 60%;
  }

}













*
===================================================================
 PART 1: (UPDATED) - CHANGE PRODUCT PAGE LAYOUT TO 40% / 60%
===================================================================
*/

/* This media query ensures the layout only applies to larger screens */
@media (min-width: 768px) {

    /*
    This is the stronger rule. We target the specific body class for a single product page
    to make sure our styles win over the theme's styles.
    */
    body.single-product div.product .woocommerce-product-gallery {
        width: 40% !important; /* <<< CHANGED FROM 30% TO 40% */
        flex-basis: 40% !important;
        float: left !important;
    }

    body.single-product div.product .summary.entry-summary {
        width: 60% !important; /* <<< CHANGED FROM 70% TO 60% */
        flex-basis: 60% !important;
        float: left !important;
        padding-left: 35px !important;
        box-sizing: border-box;
    }
}







/*
--- Breadcrumb Styles for Product Page ---
*/

.breadcrumb-container-wrapper {
    width: 100%;
    padding: 20px 0;
    margin-bottom: 30px; /* Adds space between breadcrumbs and product info */
    background-color: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-container-wrapper .woocommerce-breadcrumb {
    font-size: 14px;
    color: #666;
    margin: 0;
    padding: 0 20px; /* Adds spacing on the sides */
    max-width: 1200px; /* Aligns with a common container width */
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-breadcrumb a {
    text-decoration: none;
    color: #0073e6;
}

.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

.woocommerce-breadcrumb .delimiter {
    margin: 0 10px;
    color: #999;
}

.woocommerce-breadcrumb span.breadcrumb-last {
    color: #111;
    font-weight: 500;
}




/* --- STYLING FOR CUSTOMIZED PRODUCT VARIATION TABLE --- */

/* Style for the new Quantity Dropdown */
.product-variation-table .quantity-dropdown {
    width: 70px; /* Adjust width as needed */
    padding: 8px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    -webkit-appearance: none; /* Removes default OS styling */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: .65em auto;
    padding-right: 30px; /* Space for the arrow */
}

/* Center the content of the "Add to Cart" cell */
.product-variation-table .add-to-cart-cell {
    text-align: center;
}

/* Center the "Add to Cart" header */
.product-variation-table .cart-column-header {
    text-align: center;
}

/* Style for the new Icon Button */
.product-variation-table .button.cart-icon-button {
    padding: 0 !important;
    width: 42px;  /* Make it square */
    height: 42px; /* Make it square */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.product-variation-table .button.cart-icon-button .fas.fa-shopping-cart {
    font-size: 16px; /* Adjust icon size */
    color: white;
}

/* On mobile, ensure dropdown and button align properly */
@media (max-width: 768px) {
    .product-variation-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: calc(50% - 20px);
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #444;
    }
    
    .product-variation-table .add-to-cart-cell {
        text-align: right;
    }
}

/* --- STYLING FOR SALE PRICES & DISCOUNT PERCENTAGE (v3) --- */

/* The main price cell container */
.product-variation-table .price-cell {
    line-height: 1.3;
}

/* Styles the top line (the final sale price) */
.product-variation-table .sale-price-display {
    display: block; /* Ensures it takes up the full line */
    font-weight: bold;
    font-size: 1.1em;
    color: var(--uc-sale-price-gold); /* A gold-like color to make it stand out */
}

/* This new wrapper holds the second line (percentage and original price) */
.product-variation-table .sale-details-wrapper {
    display: flex;
    align-items: center; /* Vertically aligns the items in the middle */
    margin-top: 3px;
}

/* Styles the discount percentage */
.product-variation-table .you-save-percentage {
    color: var(--uc-save-percent-red); /* Red */
    font-size: 0.9em;
    font-weight: bold;
    margin-right: 8px; /* Adds space between percentage and original price */
}

/* Styles the strikethrough original price */
.product-variation-table del.original-price {
    font-size: 0.9em;
    font-weight: normal;
    color: #888; /* Lighter grey color */
}




/* Styling for Custom Product Info Below Price */
.product-attribute-table {
    margin: 20px 0; /* Adds space above and below the block */
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.attribute-row {
    display: flex;
    justify-content: flex-start;
    padding: 5px 0;
    font-size: 14px;
}

.attribute-label {
    font-weight: 600; /* Makes the label bold */
    color: var(--uc-body-text);
    width: 150px; /* Aligns the values */
    flex-shrink: 0;
}

.attribute-value {
    color: #666;
}














/* --- New Product Review Summary Styling --- */

/* Main titles */
.reviews-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--uc-review-border); /* Green color from image */
    text-align: center;
    margin-bottom: 20px;
}

.top-product-reviews-title {
    font-size: 20px;
    color: var(--uc-body-text);
    text-align: left;
    margin-top: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Summary container */
.reviews-summary-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    font-family: sans-serif;
}

.summary-left {
    text-align: center;
    flex-shrink: 0;
    width: 150px;
}

.average-rating-number {
    font-size: 4em;
    font-weight: 300;
    line-height: 1;
    color: var(--uc-body-text);
}

.summary-left .star-rating {
    font-size: 1.5em;
    margin: 5px 0;
    color: var(--uc-review-stars);
}

.summary-left .star-rating::before {
    color: var(--uc-review-stars);
}

.total-reviews-count {
    color: #555;
    font-size: 1em;
}

.summary-right {
    width: 100%;
    flex: 1;
}

.rating-breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

.star-label {
    width: 50px;
    flex-shrink: 0;
}

.rating-bar-container {
    flex-grow: 1;
    height: 8px;
    background-color: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar {
    height: 100%;
    background-color: var(--uc-review-stars); /* Gold color */
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

.star-percentage {
    width: 35px;
    text-align: right;
}

.star-count {
    width: 45px;
    text-align: left;
    color: #777;
}

/* Styling for individual review comments */
.woocommerce-Reviews #comments ol.commentlist li {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid var(--uc-review-border); /* Green highlight border */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.woocommerce-Reviews #comments ol.commentlist li .comment-text {
    border: none;
    padding: 0;
}

.woocommerce-Reviews #comments ol.commentlist li .meta {
    font-weight: bold;
    color: var(--uc-body-text);
    font-size: 15px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .reviews-summary-container {
        flex-direction: column;
    }
    .summary-left {
        width: 100%;
        margin-bottom: 20px;
    }
}




/* --- New Centered Product Review Styling --- */

/* Main titles */
.reviews-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--uc-review-border); /* Green color from image */
    text-align: center;
    margin-bottom: 20px;
}

/* New Centered Summary Container */
.reviews-summary-container-centered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px;
    font-family: sans-serif;
}

.summary-middle {
    text-align: center;
    flex-shrink: 0;
}

.summary-middle .average-rating-number {
    font-size: 4em;
    font-weight: 300;
    line-height: 1;
    color: var(--uc-body-text);
}

.summary-middle .star-rating {
    font-size: 1.5em;
    margin: 5px 0;
    color: var(--uc-review-stars);
}

.summary-middle .star-rating::before {
    color: var(--uc-review-stars);
}

.summary-middle .total-reviews-count {
    color: #555;
    font-size: 1em;
}

.summary-right-bars {
    width: 100%;
    max-width: 350px; /* Control max width of the bars section */
    flex-grow: 1;
}

.rating-breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

.rating-breakdown-row .star-label {
    width: 45px;
    flex-shrink: 0;
}

.rating-breakdown-row .rating-bar-container {
    flex-grow: 1;
    height: 8px;
    background-color: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
}

.rating-breakdown-row .rating-bar {
    height: 100%;
    background-color: var(--uc-review-stars);
    border-radius: 4px;
}

.rating-breakdown-row .star-percentage {
    width: 35px;
    text-align: right;
}

.rating-breakdown-row .star-count {
    width: 45px;
    text-align: left;
    color: #777;
}

/* Styling for individual review comments */
#reviews .commentlist {
    margin: 0;
    padding: 0;
    list-style: none;
}
.woocommerce-Reviews #comments ol.commentlist li {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid var(--uc-review-border);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}



/*
======================================================
STYLES FOR SHOP SIDEBAR & SUGGESTION BOX
======================================================
*/
.shop-layout-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.shop-sidebar {
    flex: 0 0 300px;
}
.woocommerce-products-area {
    flex: 1;
    min-width: 0;
}
.shop-sidebar .widget {
    border: 1px solid #e0e0e0;
    padding: 25px;
    background-color: #fff;
}
.shop-sidebar .widget .widget-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--uc-body-text);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.suggestion-box-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}
.suggestion-box-form .form-group {
    margin-bottom: 20px;
}
.suggestion-box-form input[type="text"],
.suggestion-box-form input[type="email"],
.suggestion-box-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.suggestion-box-form textarea {
    min-height: 120px;
}
.suggestion-box-form .g-recaptcha {
    margin-bottom: 20px;
}
.suggestion-box-form input[type="submit"] {
    background-color: #93c021;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
}
.suggestion-box-form input[type="submit"]:hover {
    background-color: #7a9f1b;
}
@media (max-width: 992px) {
    .shop-layout-wrapper {
        flex-direction: column;
    }
    .shop-sidebar {
        flex-basis: auto;
        width: 100%;
    }
}







/*
======================================================
STYLES FOR CUSTOM PRODUCT INFO BLOCK (SKU, etc.)
======================================================
*/

/* Main container for the info block */
.product-attribute-table {
    background-color: #f9f9f9; /* Light grey background */
    border: 1px solid #e5e5e5;
    border-top: 3px solid #1D6F42;; /* Branded top border using your theme's purple */
    border-radius: 5px;
    padding: 10px 20px; /* Vertical and horizontal padding */
    margin: 25px 0; /* Space above and below the block */
}

/* Each row (e.g., SKU and its value) */
.attribute-row {
    display: flex;
    align-items: center; /* Vertically align label and value */
    padding: 12px 0; /* Space inside each row */
    border-bottom: 1px dashed #ddd; /* Separator line between rows */
    font-size: 15px;
}

/* Remove the bottom border from the very last row for a clean look */
.attribute-row:last-child {
    border-bottom: none;
}

/* The label (e.g., "SKU", "Manufacturer") */
.attribute-label {
    font-weight: 600; /* Make the label bold */
    color: var(--uc-body-text);
    width: 150px; /* Fixed width to align all values */
    flex-shrink: 0;
}

/* The value (e.g., "560", "Cipla, India") */
.attribute-value {
    color: #555; /* Slightly lighter text color for the value */
    flex-grow: 1;
}



.entry-content {
    max-width: 100% !important; /* change value */
    margin: 0 auto !important;
    line-height: 1.6 !important;
    color: #333 !important;
}



/* --- Custom Medical History Form Styles --- */
#medical-history-form-container {
    background-color: #fdfdfa;
    border: 1px solid #e0e0e0;
    padding: 2em;
    border-radius: 8px;
}
#medical-history-form-container h2 {
    margin-top: 0;
    margin-bottom: 1.5em;
    text-align: left;
    font-size: 1.5em;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5em;
}
.form-row-flex {
    display: flex;
    gap: 4%;
    width: 100%;
    flex-wrap: wrap;
}
.form-row-flex .form-row-first { 
    width: 100%;
    margin-bottom: 1em;
}
.form-row-flex .form-row-last { 
    width: 100%;
}
@media (min-width: 768px) {
    .form-row-flex .form-row-first,
    .form-row-flex .form-row-last {
        width: 48%;
        margin-bottom: 0;
    }
}

/* Checkbox and Textarea Group */
.checkbox-textarea-group {
    margin-bottom: 1.5em;
}
.checkbox-textarea-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
}
.checkbox-textarea-group .checkbox-inline {
    display: inline-block;
    font-weight: normal;
    margin-bottom: 0.5em;
}
.checkbox-textarea-group textarea {
    width: 100%;
}

/* Radio Button Styling */
.radio-group-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1.5em;
    padding: 1em;
    border: 1px solid #eee;
    border-radius: 4px;
}
.radio-group-container fieldset {
    border: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 150px;
}
.radio-group-container legend {
    font-weight: bold;
    margin-bottom: 0.5em;
    padding: 0;
    font-size: 1em;
}
.radio-group-container label {
    margin-right: 15px;
    font-weight: normal;
}
.radio-group-container input[type="radio"] {
    margin-right: 5px;
}

/* Informational Notes Styling */
.medical-form-notes {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #555;
}
.medical-form-notes p { 
    margin-bottom: 0.8em; 
}
.medical-form-notes .medical-history-added {
    font-weight: bold;
    color: #697a6a;
}
.medical-form-notes .delivery-warning {
    color: #0073e6;
    font-weight: bold;
}
.medical-form-notes a { 
    color: #BF5700; 
}




/* --- Multi-Step Checkout Tabs Styles --- */
.checkout-tabs-nav {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2em;
}
.checkout-tabs-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
}
.checkout-tabs-nav li {
    padding: 1em;
    cursor: pointer;
    font-weight: 600;
    color: #888;
    position: relative;
    flex: 1;
    text-align: center;
}
.checkout-tabs-nav li.active {
    color: #000;
}
.checkout-tabs-nav li.active::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8ac24a; /* Green accent color */
}

/* Tab Content */
.tab-content {
    animation: fadeIn 0.5s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Navigation Buttons */
.tab-navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #eee;
}
.tab-navigation-buttons .button {
    font-size: 1.1em;
    padding: 0.8em 2em;
}





/* --- Custom Review Page Styling --- */

/* 1. Header Text */
.review-header-text {
    text-align: center;
    margin-bottom: 30px;
}
.review-header-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}
.review-header-text h3 {
    font-size: 20px;
    color: var(--uc-body-text);
    font-weight: 500;
}

/* 2. Star Rating Selector Styling */
.woocommerce-reviews .comment-form-rating {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.woocommerce-reviews .comment-form-rating label {
    display: none; /* Hide default label */
}
.woocommerce-reviews .stars a {
    color: #ffb800; /* Yellow stars */
}

/* 3. Form Layout */
#welcome-popup-form, #commentform {
    max-width: 800px;
    margin: 0 auto;
}

.review-form-row {
    margin-bottom: 20px;
}

.two-col {
    display: flex;
    gap: 20px;
}
.two-col .form-group {
    flex: 1;
}

input[type="text"], 
input[type="email"], 
textarea#comment {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px; /* Slightly square corners like image */
    font-size: 14px;
    background: #fff;
}

/* 4. Footer of Form (Photo & Recommend) */
.review-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.photo-btn-label {
    background: #e0e0e0;
    color: var(--uc-body-text);
    padding: 6px 15px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
}

.recommend-section {
    font-size: 14px;
    color: var(--uc-body-text);
}
.recommend-section input[type="checkbox"] {
    margin-left: 5px;
    transform: scale(1.2);
}

/* 5. Submit Button */
.submit-review-btn {
    background-color: #9abf15 !important; /* The Green color from image */
    color: white !important;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    width: auto;
    display: block;
    border-radius: 2px;
}
.submit-review-btn:hover {
    background-color: #89ab13 !important;
}

/* 6. Hiding default form elements we replaced */
.comment-form-author, .comment-form-email, .comment-form-comment {
    display: block !important; 
}

/* --- Review Summary Section (Bottom Part) --- */
.product-reviews-summary {
    max-width: 800px;
    margin: 60px auto 0;
    border-top: 1px solid #eee;
    padding-top: 40px;
}
.summary-title {
    text-align: center;
    color: #9abf15;
    font-size: 24px;
    margin-bottom: 30px;
}

.summary-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.summary-left {
    text-align: center;
}
.big-rating {
    font-size: 60px;
    line-height: 1;
    font-weight: 400;
    color: var(--uc-body-text);
}
.stars-static {
    color: #ffb800;
    margin: 5px 0;
}
.total-count {
    font-size: 13px;
    color: #777;
}

.summary-right {
    flex: 1;
    max-width: 400px;
}
.rating-bar-row {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.star-label {
    width: 50px;
}
.bar-track {
    flex: 1;
    height: 8px;
    background: #eee;
    margin: 0 15px;
    border-radius: 4px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background-color: #ffb800; /* Yellow bars */
}
.star-percent {
    width: 60px;
    text-align: right;
}

/* Responsive */
@media (max-width: 600px) {
    .two-col { flex-direction: column; gap: 0; }
    .summary-container { flex-direction: column; gap: 20px; }
}

/* Hide the duplicate form that might appear below the list */
.existing-reviews-list #respond {
    display: none;
}




/* Container styling */
.trust-badges-section {
    padding: 20px 0;
    background-color: #fff; /* White background per screenshot */
    border-bottom: 1px solid #eee; /* Optional separator */
}

/* Grid layout for 3 items */
.trust-badges-grid {
    display: flex;
    justify-content: space-between; /* Spreads items out */
    flex-wrap: wrap;
    gap: 20px;
}

/* Individual Item styling */
.trust-badge-item {
    display: flex;
    align-items: center; /* Vertically center icon and text */
    flex: 1; /* Make items equal width */
    min-width: 250px;
}

/* Icon styling */
.badge-icon {
    font-size: 32px; /* Adjust icon size */
    color: var(--uc-review-border);  /* The Green color from your screenshot */
    margin-right: 15px;
    width: 50px;
    text-align: center;
}

/* Text styling */
.badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-text strong {
    font-size: 16px;
    color: #000; /* Dark heading color */
    margin-bottom: 4px;
    line-height: 1.2;
}

.badge-text span {
    font-size: 14px;
    color: var(--uc-body-text);
    line-height: 1.2;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .trust-badges-grid {
        flex-direction: column;
    }
    .trust-badge-item {
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
}



















/* FAQ Styles */
.info-layout-section { padding: 50px 0; }

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f2f2f2; /* Light gray background like screenshot */
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 16px;
    color: var(--uc-body-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover { background-color: #e6e6e6; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
    padding: 0 20px;
}

.faq-answer p { margin: 15px 0; }

/* About and Why Choose Layout */
.about-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.about-col, .why-choose-col {
    flex: 1;
    min-width: 300px;
}

.info-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000;
}

.about-content p, .why-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: justify;
}

/* Green Button */
.btn-read-more {
    display: inline-block;
    background-color: #4b6b23; /* Dark olive green from screenshot */
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    border-radius: 2px;
}

.btn-read-more:hover {
    background-color: #3a521b;
    color: #fff;
}

/* Features List (Two Columns) */
.features-list-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.features-list-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 48%;
}

.features-list-grid li {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--uc-body-text);
    display: flex;
    align-items: center;
}

.features-list-grid li i {
    color: #bfa048; /* Goldish color from screenshot */
    margin-right: 8px;
    font-size: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-grid { flex-direction: column; }
    .features-list-grid { flex-direction: column; }
    .features-list-grid ul { width: 100%; }
}






/* ==========================================================================
   SECTION 1: CATEGORY TABS CONTAINER STYLING
   ========================================================================== */

/* Main container for the Info and FAQ section */
.cat-info-container {
    margin-top: 60px;       /* Space above the section */
    margin-bottom: 60px;    /* Space below the section */
    background: #ffffff;    /* White background */
    border-top: 1px solid #e5e5e5; /* Light grey separator line */
    padding-top: 20px;
}

/* Flex container to center the tab buttons */
.cat-tabs {
    display: flex;
    justify-content: center; /* Centers the tabs horizontally */
    border-bottom: 2px solid #f1f1f1; /* Line underneath tabs */
    margin-bottom: 30px;
}

/* ==========================================================================
   SECTION 2: TAB BUTTON STYLING
   ========================================================================== */

/* Default style for the tab buttons */
.cat-tab-link {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;        /* Bold text */
    text-transform: uppercase;
    color: #555555;          /* Dark grey text */
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent; /* Invisible border by default */
    margin: 0 5px;
}

/* Style for Hover state and Active state */
.cat-tab-link:hover, 
.cat-tab-link.active {
    color: #000000;          /* Black text when active */
    border-bottom: 3px solid var(--uc-btn-bg);
}

/* ==========================================================================
   SECTION 3: TAB CONTENT AREA
   ========================================================================== */

/* Content wrapper styling */
.cat-tab-content {
    display: none;           /* Hidden by default */
    padding: 10px 20px;
    max-width: 1100px;       /* Limits width for readability */
    margin: 0 auto;          /* Centers the content block */
    animation: fadeEffect 0.8s; /* Smooth fade-in animation */
    color: #444;             /* Text color */
    line-height: 1.6;        /* Spacing between lines */
}

/* Class to show the content */
.cat-tab-content.active {
    display: block;
}

/* Heading styles inside the content */
.cat-tab-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--uc-body-text);
}

/* Fade animation definition */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* ==========================================================================
   SECTION 4: FAQ ACCORDION STYLING
   ========================================================================== */

/* Individual FAQ item wrapper */
.faq-item {
    border-bottom: 1px solid #eeeeee; /* Light line between questions */
    margin-bottom: 0;
}

/* The clickable question button */
.faq-question {
    background-color: #ffffff;
    color: #444;
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    transition: 0.4s;
    display: flex;
    justify-content: space-between; /* Pushes arrow to the right */
    align-items: center;
}

/* Hover effect for the question */
.faq-question:hover {
    background-color: #f9f9f9;
    color: var(--uc-btn-bg);
}

/* The Active state (when open) */
.faq-question.active {
    background-color: #fcfcfc;
}

/* The Plus (+) Icon styling using CSS pseudo-elements */
.faq-question:after {
    content: '\002B'; /* Unicode for Plus sign */
    color: #777;
    font-size: 20px;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

/* The Minus (-) Icon when active */
.faq-question.active:after {
    content: "\2212"; /* Unicode for Minus sign */
}

/* The Answer container (hidden by default) */
.faq-answer {
    padding: 0 20px;
    background-color: white;
    max-height: 0;
    overflow: hidden; /* Hides content that overflows */
    transition: max-height 0.3s ease-out; /* Smooth slide animation */
}

/* Paragraph styling inside the answer */
.faq-answer p {
    margin: 20px 0;
    color: #666;
}

















/* =========================================
   MOBILE RESPONSIVE FIXES (ADD TO BOTTOM)
   ========================================= */

@media (max-width: 768px) {

    /* --- FIX 1: STOP ABOUT US / WHY CHOOSE FROM GOING OFF SCREEN --- */
    .about-col, 
    .why-choose-col {
        /* This overrides the 300px limit causing the overflow */
        min-width: 0 !important; 
        width: 100% !important;
        box-sizing: border-box !important;
        margin-right: 0 !important;
    }
    
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* --- FIX 2: TESTIMONIAL SLIDER CUT-OFF FIX --- */
    .testimonial-slider-section {
        padding: 30px 10px !important; /* Reduces padding to give content room */
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevents the container from scrolling horizontally */
    }

    .testimonial-container {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .testimonial-slider-wrapper {
        width: 100% !important;
        padding: 0 !important;
    }

    .testimonial-slider {
        padding: 0 !important;
        width: 100% !important;
    }

    /* Ensure the individual card fits perfectly */
    .testimonial-slide {
        width: 100% !important;
        padding: 0 5px !important; /* Small gap only */
        box-sizing: border-box !important;
    }

    /* Fix Arrows on Mobile */
    .slider-arrow {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.5rem !important;
        background: rgba(255,255,255,0.8) !important; /* Add background so arrows are visible over text */
        border-radius: 50% !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    }
    
    .slider-arrow.prev-arrow { left: 0 !important; }
    .slider-arrow.next-arrow { right: 0 !important; }
}




/* --- MOBILE MENU STYLES --- */

/* 1. Header Layout Fix: Keep Search Bar Visible */
@media (max-width: 992px) {
    .header-main .container {
        flex-direction: column; /* Stack items vertically */
        align-items: stretch;
        padding-bottom: 10px;
    }
    
    /* Center the logo */
    .logo {
        text-align: center;
        margin: 10px 0;
    }
    
    /* Make search bar full width and visible */
    .header-main .search-bar {
        display: block !important;
        width: 100%;
        margin: 10px 0;
        max-width: none;
    }
    
    /* Position the hamburger button absolutely to the top-left */
    .menu-toggle {
        display: block;
        position: absolute;
        top: 25px; /* Adjust based on your logo height */
        left: 20px;
        z-index: 1002;
        font-size: 26px;
        color: var(--uc-logo-color);
    }
    
    /* Center the cart/account icons below search */
    .header-actions {
        justify-content: center;
        margin-top: 5px;
    }
}

/* 2. Off-Canvas Menu Design */
.off-canvas-menu { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 280px; 
    height: 100%; 
    background-color: #ffffff; 
    z-index: 2000; 
    transform: translateX(-100%); 
    transition: transform 0.3s ease-in-out; 
    box-shadow: 2px 0 10px rgba(0,0,0,0.1); 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column;
}

.off-canvas-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 15px 20px; 
    background: var(--uc-search-btn-bg); /* Your Theme Green */
    color: #fff;
}
.off-canvas-header .menu-title { font-weight: bold; font-size: 18px; text-transform: uppercase; }
.close-menu-btn { color: #fff; background: none; border: none; font-size: 24px; cursor: pointer; }

/* 3. Overlay */
.off-canvas-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background-color: rgba(0, 0, 0, 0.5); z-index: 1999; 
    opacity: 0; visibility: hidden; transition: opacity 0.3s; 
}

/* 4. Open States */
body.mobile-menu-open .off-canvas-menu { transform: translateX(0); }
body.mobile-menu-open .off-canvas-overlay { opacity: 1; visibility: visible; }
body.mobile-menu-open { overflow: hidden; /* Prevent background scrolling */ }

/* 5. Menu List Styling */
.mobile-nav-menu { list-style: none; padding: 0; margin: 0; }
.mobile-nav-menu li { border-bottom: 1px solid #f1f1f1; position: relative; }
.mobile-nav-menu li a { 
    display: block; padding: 15px 20px; text-decoration: none; 
    color: var(--uc-body-text); font-weight: 500; font-size: 16px; 
}
.mobile-nav-menu li a:hover { background-color: #f9f9f9; color: var(--uc-logo-color); }

/* 6. Sub-Menu (Categories Dropdown) */
.mobile-nav-menu .sub-menu {
    display: none; /* Hidden by default */
    background-color: #f5f5f5; /* Light grey for inner menu */
    list-style: none; padding: 0;
}
.mobile-nav-menu .sub-menu li { border-bottom: 1px solid #e0e0e0; }
.mobile-nav-menu .sub-menu li a { 
    padding-left: 40px; /* Indent sub-items */
    font-size: 15px; 
    color: #555; 
}

/* Show sub-menu when the 'sub-menu-open' class is added by JS */
.mobile-nav-menu li.sub-menu-open > .sub-menu { display: block; }

/* 7. The Arrow Button */
.menu-arrow-btn {
    position: absolute; 
    top: 0; 
    right: 0;
    width: 54px; 
    height: 54px;
    background: transparent; 
    border: none;
    font-size: 16px; 
    color: var(--uc-logo-color); 
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-left: 1px solid #f1f1f1;
}





















/* --- Smart Sales Counter (Small & Visible) --- */
.sales-social-proof-small {
    font-size: 13px;          /* Small text */
    color: #ffffff;              /* Dark grey for readability */
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;      /* Space below title */
    display: inline-block;
    background-color: #ffca00; /* Very light grey background */
    padding: 3px 8px;         /* Compact padding */
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.sales-social-proof-small .sales-count {
    font-weight: 600;         /* Semi-bold text */
    color: #000000;
}






























/* -------------------------------------------------------------------
   AMAZON STYLE REVIEW CSS
------------------------------------------------------------------- */
.amazon-review-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 0;
    font-family: 'Inter', sans-serif;
    color: var(--uc-body-text);
    align-items: flex-start;
}

/* LEFT COLUMN */
.ar-col-left {
    flex: 0 0 150px;
    text-align: center;
}
.ar-average-score {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: var(--uc-body-text);
}
.ar-stars {
    margin: 5px 0;
    color: #fea500; /* Amazon Orange/Yellow */
}
.ar-total-count {
    font-size: 13px;
    color: #767676;
}

/* MIDDLE COLUMN (BARS) */
.ar-col-middle {
    flex: 1;
    min-width: 250px;
}
.ar-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}
.ar-star-label {
    width: 50px;
    color: #007185;
    white-space: nowrap;
}
.ar-progress-bg {
    flex-grow: 1;
    height: 20px;
    background-color: #f0f2f2;
    border-radius: 4px;
    border: 1px solid #e3e6e6;
    margin: 0 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.ar-progress-fill {
    height: 100%;
    background-color: #ffce00; /* The Amazon Bar Yellow */
    border-right: 1px solid #ad8b00;
}
.ar-percent-label {
    width: 40px;
    text-align: right;
    color: #555;
}

/* RIGHT COLUMN (BUTTONS) */
.ar-col-right {
    flex: 0 0 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    text-align: center;
}
.ar-col-right h3 {
    font-size: 16px;
    margin: 0 0 5px 0;
    font-weight: 700;
}
.ar-col-right p {
    font-size: 13px;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.4;
}
.ar-btn {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    margin-top: 5px;
    cursor: pointer;
}
/* Style for "Write Review" */
.ar-write-btn {
    background: #fff;
    border-color: #ccc;
    color: var(--uc-body-text);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.ar-write-btn:hover {
    background: #f7fafa;
}
/* Style for "Login to Review" */
.ar-login-btn {
    background: var(--uc-search-btn-bg); /* Using your theme green */
    border-color: var(--uc-logo-color);
    color: #fff;
}
.ar-login-btn:hover {
    background: #155532;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .amazon-review-wrapper {
        flex-direction: column;
    }
    .ar-col-right {
        width: 100%;
        margin-top: 20px;
    }
}










@media (min-width: 769px) {
    /* 1. Keep the main container as Flexbox */
    .woocommerce div.product {
        display: flex;
        flex-wrap: wrap; /* Allows items to wrap to the next line */
        justify-content: space-between;
    }

    /* 2. Define width for Image and Description (Top Section) */
    .woocommerce-product-gallery {
        width: 48%; /* Takes up roughly half */
        float: none !important;
    }

    .summary.entry-summary {
        width: 48%; /* Takes up the other half */
        float: none !important;
    }

    /* 3. THE FIX: Force the Reviews/Tabs to take a full new row */
    .woocommerce-tabs, 
    #reviews, 
    .woocommerce-product-reviews,
    .reviews-detailed-summary {
        width: 100% !important;      /* Forces full width */
        flex-basis: 100% !important; /* Tells flexbox this item needs the whole line */
        max-width: 100% !important;
        margin-top: 40px;            /* Adds space between summary and reviews */
    }
}


















// -------------------------------------------------------------------
// 15. CUSTOMER REVIEW PHOTO UPLOAD (FORCE COMPATIBILITY)
// -------------------------------------------------------------------

/**
 * A. Add the File Input Field to the Review Form
 */
add_action( 'woocommerce_review_before_submit', 'add_review_photo_field_force' );
function add_review_photo_field_force() {
    echo '<p class="comment-form-photo">
            <label for="review_photo" style="font-weight:bold; display:block;">Upload a Photo with your review:</label>
            <input type="file" name="review_photo" id="review_photo" accept="image/*" style="margin-bottom:15px;">
          </p>';
}

/**
 * B. Force Form to Accept Files (Fixes "Nothing Happened" issue)
 */
add_action( 'wp_footer', 'force_review_form_multipart_script' );
function force_review_form_multipart_script() {
    if ( is_product() ) {
        ?>
        <script type="text/javascript">
        document.addEventListener("DOMContentLoaded", function(event) {
            var reviewForm = document.getElementById('commentform');
            if (reviewForm) {
                reviewForm.setAttribute('enctype', 'multipart/form-data');
            } else {
                // Fallback for themes that don't use the standard ID
                var forms = document.getElementsByTagName('form');
                for (var i = 0; i < forms.length; i++) {
                   if (forms[i].innerHTML.indexOf('review_photo') > -1) {
                       forms[i].setAttribute('enctype', 'multipart/form-data');
                   }
                }
            }
        });
        </script>
        <?php
    }
}

/**
 * C. Save the Uploaded Photo Securely
 */
add_action( 'comment_post', 'save_review_photo_data', 10, 2 );
function save_review_photo_data( $comment_id, $comment_approved ) {
    if ( ! isset( $_FILES['review_photo'] ) || empty( $_FILES['review_photo']['name'] ) ) {
        return;
    }

    require_once( ABSPATH . 'wp-admin/includes/image.php' );
    require_once( ABSPATH . 'wp-admin/includes/file.php' );
    require_once( ABSPATH . 'wp-admin/includes/media.php' );

    $attachment_id = media_handle_upload( 'review_photo', 0 );

    if ( ! is_wp_error( $attachment_id ) ) {
        update_comment_meta( $comment_id, 'review_photo_id', $attachment_id );
    }
}

/**
 * D. Display Photo on Product Page
 */
add_action( 'woocommerce_review_before_comment_meta', 'display_review_photo_visual' );
function display_review_photo_visual( $comment ) {
    $attachment_id = get_comment_meta( $comment->comment_ID, 'review_photo_id', true );
    if ( $attachment_id ) {
        $image_url = wp_get_attachment_image_url( $attachment_id, 'thumbnail' );
        $full_link = wp_get_attachment_url( $attachment_id );
        echo '<div style="margin: 10px 0;">';
        echo '<a href="' . esc_url( $full_link ) . '" target="_blank">';
        echo '<img src="' . esc_url( $image_url ) . '" style="max-width:100px; border:1px solid #ccc; padding:3px;" />';
        echo '</a>';
        echo '</div>';
    }
}

/**
 * E. Display Photo in Admin Dashboard
 */
add_filter( 'manage_edit-comments_columns', 'add_photo_column_admin_force' );
function add_photo_column_admin_force( $columns ) {
    $columns['review_photo'] = 'Photo';
    return $columns;
}

add_action( 'manage_comments_custom_column', 'show_photo_column_content', 10, 2 );
function show_photo_column_content( $column, $comment_id ) {
    if ( 'review_photo' === $column ) {
        $attachment_id = get_comment_meta( $comment_id, 'review_photo_id', true );
        if ( $attachment_id ) {
            echo wp_get_attachment_image( $attachment_id, array(50, 50) );
        }
    }
}




.ticket-form-container {
    max-width: 600px;
    background: #f9f9f9;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Arial, sans-serif;
}

.ticket-form-container h2 {
    font-size: 28px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
}

.form-group label {
    width: 150px;
    font-weight: bold;
    color: #555;
}

.form-group input, .form-group select, .form-group textarea {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.required { color: red; }

.btn-submit {
    background: #7DA23F;
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    cursor: pointer;
}

.btn-cancel {
    background: #7DA23F;
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
}

.btn-submit:hover, .btn-cancel:hover { opacity: 0.9; }






/* Base reset */
* {
  box-sizing: border-box;
}

/* Wrapper */
.ticket-wrapper {
  display: flex;
  gap: 30px;
  background: #f2f2f2;
  padding: 30px;
}

/* Left & Right */
.ticket-left {
  flex: 2;
  background: #fff;
  padding: 25px;
}

.ticket-right {
  flex: 1;
}

/* Labels */
.ticket-left label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

.ticket-left span {
  color: red;
}

/* Inputs */
.ticket-left input,
.ticket-left select,
.ticket-left textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Buttons */
.ticket-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-submit,
.btn-cancel {
  padding: 12px 20px;
  border: none;
  color: #fff;
  cursor: pointer;
}

.btn-submit {
  background: #7dbd3b;
}

.btn-cancel {
  background: #6b9f2d;
}

/* Contact box */
.contact-box {
  background: #fff;
  padding: 20px;
}

/* Success message */
.bac-success {
  margin-top: 20px;
  padding: 15px;
  background: #e8f7e5;
  border-left: 5px solid var(--uc-review-border);
}

/* =========================
   TABLET (≤ 992px)
   ========================= */
@media (max-width: 992px) {
  .ticket-wrapper {
    flex-direction: column;
  }

  .ticket-right {
    margin-top: 20px;
  }
}

/* =========================
   MOBILE (≤ 576px)
   ========================= */
@media (max-width: 576px) {

  .ticket-wrapper {
    padding: 15px;
  }

  .ticket-left {
    padding: 15px;
  }

  .ticket-buttons {
    flex-direction: column;
  }

  .btn-submit,
  .btn-cancel {
    width: 100%;
  }
}





























































































































.entry-content {
    max-width: 100% !important; /* change value */
    margin: 0 auto !important;
    line-height: 1.6 !important;
    color: #333 !important;
}





/* =========================================
   1. STAR RATING STYLING
   ========================================= */
/* Center the rating section */
.woocommerce-reviews .comment-form-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    gap: 10px;
}

.woocommerce-reviews .comment-form-rating label {
    font-size: 16px;
    font-weight: 600;
    color: var(--uc-body-text);
    margin: 0;
}

/* This forces the "Star Font" to load so stars look like icons, not text */
p.stars a {
    position: relative;
    height: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
    margin-right: 4px; 
    font-size: 18px; /* Make stars slightly bigger */
}

/* The Empty Star (Grey) */
p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-family: WooCommerce; /* Requires WooCommerce to be installed */
    content: "\e021"; 
    text-indent: 0;
    color: #d3ced2; 
}

/* The Filled Star (Yellow) on Hover or Selection */
p.stars a:hover ~ a::before,
p.stars:hover a::before,
p.stars.selected a.active::before,
p.stars.selected a.active ~ a::before {
    content: "\e020";
    color: #ffb800; /* The Yellow Color */
}

/* =========================================
   2. FORM INPUTS & LAYOUT
   ========================================= */
.review-header-text {
    text-align: center;
    margin-bottom: 30px;
}

.review-header-text h3 {
    font-size: 22px;
    color: var(--uc-body-text);
    margin-top: 10px;
}

.review-form-row {
    margin-bottom: 20px;
}

/* Make inputs look nice and square-ish */
input#review_title,
input#author,
input#email,
textarea#comment {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    box-shadow: none;
}

input#review_title:focus,
textarea#comment:focus {
    border-color: #9abf15;
    outline: none;
}

/* Split Name/Email into two columns if needed */
.two-col {
    display: flex;
    gap: 20px;
}
.two-col .form-group {
    flex: 1;
}

/* =========================================
   3. BOTTOM ROW: PHOTO BUTTON & RECOMMEND
   ========================================= */
.review-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

/* "Add Photo" Button Style */
.photo-btn-label {
    background-color: #e6e6e6;
    color: var(--uc-body-text);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
}

.photo-btn-label:hover {
    background-color: #d4d4d4;
}

/* "I Recommend" Checkbox */
.recommend-section label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

/* =========================================
   4. SUBMIT BUTTON (GREEN)
   ========================================= */
button.submit-review-btn {
    background-color: #9abf15 !important; /* The specific green from your image */
    color: #fff !important;
    border: none;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    width: auto;
    display: inline-block;
    transition: background 0.3s;
}

button.submit-review-btn:hover {
    background-color: #89ab13 !important; /* Slightly darker green on hover */
}

/* =========================================
   5. SUMMARY BARS (THE BOTTOM SECTION)
   ========================================= */
.product-reviews-summary {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.summary-title {
    text-align: center;
    font-size: 24px;
    color: #9abf15; /* Green title */
    margin-bottom: 40px;
}

.summary-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px; /* Space between the big number and the bars */
}

/* Left Side: Big Number */
.summary-left {
    text-align: center;
}

.big-rating {
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
    color: var(--uc-body-text);
}

.stars-static {
    margin: 10px 0;
    color: #ffb800;
    font-size: 18px;
}

.total-count {
    color: #888;
    font-size: 14px;
}

/* Right Side: Progress Bars */
.summary-right {
    width: 350px; /* Fixed width for consistency */
}

.rating-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.star-label {
    width: 50px;
}

.bar-track {
    flex-grow: 1;
    height: 10px;
    background-color: #f1f1f1;
    margin: 0 15px;
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: #ffb800; /* Yellow bars */
}

.star-percent {
    width: 65px;
    text-align: right;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .summary-container {
        flex-direction: column;
        gap: 30px;
    }
    .summary-right {
        width: 100%;
    }
    .review-form-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    button.submit-review-btn {
        width: 100%;
    }
}










































/* --- 1. FORCE GRID LAYOUT (Overrides 'columns-3' floats) --- */
.woocommerce ul.products {
    display: grid !important;
    /* This creates responsive columns that don't break */
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important; 
    gap: 25px !important;
    margin-bottom: 50px !important;
}

/* Disable the default float behavior */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
}

/* --- 2. THE GREEN BORDER CARD DESIGN --- */
.woocommerce ul.products li.product {
    /* The Green Border */
    border: 2px solid #869e28 !important; 
    
    /* Rounded Corners */
    border-radius: 12px !important; 
    
    /* Spacing & Background */
    background: #fff !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    
    /* Center align content */
    text-align: center !important;
    
    /* Shadow for depth */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

/* Hover Effect */
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* --- 3. IMAGE STYLING --- */
.woocommerce ul.products li.product img {
    height: 180px !important;
    width: 100% !important;
    object-fit: contain !important; /* Keeps image from stretching */
    margin-bottom: 15px !important;
}

/* --- 4. BUTTONS (Make them match the Green Theme) --- */
/* This targets the 'View' and 'Add' buttons in your HTML */
.variation-wrap-v13 .button {
    background-color: var(--uc-btn-bg) !important;
    color: white !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    border: none !important;
}

.variation-wrap-v13 .button:hover {
    background-color: var(--uc-btn-hover) !important;
    color: white !important;
}

/* --- 5. SALE BADGE FIX --- */
.woocommerce ul.products li.product .onsale {
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
    background-color: #ff9f43 !important; /* Orange sale color from your screenshot */
    border-radius: 4px !important;
    min-height: auto !important;
    line-height: 1.5 !important;
    padding: 5px 10px !important;
}



/* --- FIX: RELATED PRODUCTS LAYOUT --- */

/* 1. Ensure the container takes full width so items can spread out */
.related.products, 
.up-sells {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* 2. Force the Grid to show 4 items in a row (Desktop) */
.woocommerce .related.products ul.products,
.woocommerce .up-sells ul.products {
    display: grid !important;
    /* Force exactly 4 columns. If you prefer 3, change '4' to '3' */
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 20px !important;
    margin-top: 20px !important;
}

/* 3. Make sure the individual cards behave */
.woocommerce .related.products ul.products li.product,
.woocommerce .up-sells ul.products li.product {
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* --- RESPONSIVE: Fix for Mobile/Tablet --- */
@media (max-width: 768px) {
    .woocommerce .related.products ul.products,
    .woocommerce .up-sells ul.products {
        /* On mobile, show 2 items per row */
        grid-template-columns: repeat(2, 1fr) !important; 
    }
}



/* --- FIX: Force Related Products to be Horizontal --- */

/* 1. Reset the container width to ensure it spans the whole area */
.woocommerce .related.products,
.woocommerce .up-sells {
    width: 100% !important;
    clear: both !important;
}

/* 2. Target the product list specifically inside Related/Upsells */
.woocommerce .related.products ul.products,
.woocommerce .up-sells ul.products {
    display: grid !important;
    /* This forces 4 items in a row. */
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

/* 3. Ensure the items inside don't try to be too wide */
.woocommerce .related.products ul.products li.product,
.woocommerce .up-sells ul.products li.product {
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* --- RESPONSIVE: Fix for Mobile (2 items per row) --- */
@media (max-width: 768px) {
    .woocommerce .related.products ul.products,
    .woocommerce .up-sells ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}



/* --- FIX: REMOVE GHOST ELEMENTS & ALIGN 4 IN A ROW --- */

/* 1. Kill the invisible 'ghost' elements messing up the grid */
.woocommerce .related.products ul.products::before,
.woocommerce .related.products ul.products::after {
    content: none !important;
    display: none !important;
}

/* 2. Remove default padding so it aligns with the 'Related products' title */
.woocommerce .related.products ul.products {
    padding-left: 0 !important;
    margin-left: 0 !important;
    
    /* Force exactly 4 columns */
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* 3. Ensure full width */
.woocommerce .related.products {
    width: 100% !important;
}

/* --- MOBILE RESPONSIVE (Optional) --- */
@media (max-width: 768px) {
    .woocommerce .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}



/* --- 1. VARIATION TABLE MAKEOVER (Green & Rounded) --- */

/* Add the Green Boundary to the wrapper */
.product-variation-table-wrapper {
    border: 2px solid #869e28 !important;
    border-radius: 12px !important; /* Rounded Corners */
    overflow: hidden !important; /* Ensures the table inside stays rounded */
    margin-bottom: 30px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Soft shadow */
}

/* Remove default table borders so they don't look messy */
table.product-variation-table {
    border: none !important;
    margin-bottom: 0 !important;
}

/* Style the Header Row */
table.product-variation-table th {
    background-color: #f9fdf0 !important; /* Very light green background */
    color: #333 !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #869e28 !important; /* Separator line */
    padding: 15px !important;
}

/* Style the Table Cells */
table.product-variation-table td {
    border-top: 1px solid #eee !important;
    padding: 15px !important;
    vertical-align: middle !important;
}

/* --- 2. FIX THE PURPLE BUTTONS --- */

/* Turn the Cart Icon Buttons Green */
.cart-icon-button,
.single_add_to_cart_button {
    background-color: var(--uc-btn-bg) !important; /* Your Theme Green */
    color: white !important;
    border-radius: 6px !important;
    border: none !important;
    transition: background 0.3s ease;
}

/* Hover Effect */
.cart-icon-button:hover,
.single_add_to_cart_button:hover {
    background-color: var(--uc-btn-hover) !important;
    transform: translateY(-2px);
}

/* --- 3. STYLE THE TABS (Reviews/Info) --- */

/* The Active Tab (e.g. "Additional Information") */
.woocommerce-tabs ul.tabs li.active {
    background: #fff !important;
    border-top: 3px solid #869e28 !important; /* Green Top Line */
    border-bottom-color: #fff !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--uc-btn-bg) !important; /* Green Text */
    font-weight: bold !important;
}

/* The Content Box inside the tabs */
.woocommerce-tabs .panel {
    border: 1px solid #eee !important;
    border-top: none !important; /* Seamless connection */
    border-radius: 0 0 8px 8px !important;
}


/* --- 1. STYLISH BREADCRUMBS (The Navigation Bar) --- */
.woocommerce-breadcrumb {
    /* Make it look like a pill */
    background: #f9fdf0 !important; /* Very light green background */
    border: 1px solid #869e28 !important; /* Theme Green Border */
    border-radius: 50px !important; /* Fully rounded ends */
    
    /* Spacing */
    padding: 12px 25px !important;
    margin-bottom: 30px !important;
    width: fit-content; /* Wraps around the text nicely */
    display: inline-block;
    
    /* Text Style */
    color: #777 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Style the links (Home, Category, etc) */
.woocommerce-breadcrumb a {
    color: var(--uc-btn-bg) !important; /* Green Text */
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: color 0.2s;
}

.woocommerce-breadcrumb a:hover {
    color: #555 !important; /* Dark gray on hover */
}

/* --- 2. SALE BADGE (Modern Rectangular Tag) --- */
/* Remove the default circle shape */
.woocommerce span.onsale {
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
    border-radius: 4px !important; /* Soft corners, not a circle */
    
    /* Color - Matching your shop page Orange */
    background-color: #ff9f43 !important; 
    color: #fff !important;
    
    /* Size & Position */
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    
    /* Position it nicely in the corner */
    top: 20px !important;
    left: 20px !important;
    right: auto !important;
    
    /* Add a shadow */
    box-shadow: 0 4px 6px rgba(0,0,0,0.15) !important;
}



/* --- SIDEBAR WIDGET MAKEOVER (Matches Product Cards) --- */

/* 1. The Box Container */
.shop-sidebar .widget {
    border: 2px solid #869e28 !important; /* Theme Green Border */
    border-radius: 12px !important; /* Rounded Corners */
    padding: 0 !important; /* Remove default padding so header sits flush */
    background-color: #ffffff !important;
    overflow: hidden !important; /* Keeps contents inside rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    margin-bottom: 30px !important;
}

/* 2. The Widget Title (Header) */
.shop-sidebar .widget .widget-title,
.shop-sidebar .widget h2, 
.shop-sidebar .widget h3 {
    background-color: var(--uc-btn-bg) !important; /* Green Header */
    color: #ffffff !important; /* White Text */
    padding: 15px 20px !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
}

/* 3. The Form Content Area */
/* This adds space around the inputs inside the box */
.shop-sidebar .widget form,
.shop-sidebar .widget .textwidget,
.shop-sidebar .widget-content {
    padding: 20px !important;
}

/* 4. Input Fields (Name, Email, Textarea) */
.shop-sidebar .widget input[type="text"],
.shop-sidebar .widget input[type="email"],
.shop-sidebar .widget textarea {
    border: 1px solid #ddd !important;
    border-radius: 6px !important; /* Soft corners */
    padding: 12px !important;
    width: 100% !important;
    background-color: #f9fdf0 !important; /* Very light green hint */
    margin-bottom: 15px !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease;
}

/* Input Focus Effect */
.shop-sidebar .widget input:focus,
.shop-sidebar .widget textarea:focus {
    border-color: var(--uc-btn-bg) !important; /* Green border when clicking */
    outline: none !important;
    background-color: #fff !important;
}

/* 5. The Submit Button */
.shop-sidebar .widget button[type="submit"],
.shop-sidebar .widget input[type="submit"] {
    background-color: var(--uc-btn-bg) !important;
    color: white !important;
    width: 100% !important; /* Full width button */
    padding: 12px !important;
    border-radius: 6px !important;
    border: none !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.3s ease;
}

.shop-sidebar .widget button[type="submit"]:hover,
.shop-sidebar .widget input[type="submit"]:hover {
    background-color: var(--uc-btn-hover) !important;
    transform: translateY(-2px);
}



/* --- SEARCH BAR MAKEOVER (Green Pill Style) --- */

/* 1. The Search Wrapper (Positions the elements) */
.search-form,
.woocommerce-product-search {
    position: relative !important;
    max-width: 600px !important; /* Controls width */
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* 2. The Input Field (The Pill) */
.search-form input[type="search"],
.woocommerce-product-search input[type="search"],
.search-field {
    width: 100% !important;
    border: 2px solid #869e28 !important; /* Your Theme Green */
    border-radius: 50px !important; /* Full rounded ends (Pill) */
    padding: 12px 25px !important; /* Comfortable spacing */
    padding-right: 60px !important; /* Extra space on right so text doesn't hit button */
    background-color: #ffffff !important;
    color: #555 !important;
    font-size: 15px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

/* Focus Effect (When you click to type) */
.search-form input[type="search"]:focus,
.woocommerce-product-search input[type="search"]:focus {
    background-color: #f9fdf0 !important; /* Very light green tint */
    box-shadow: 0 0 0 4px rgba(134, 158, 40, 0.15) !important; /* Soft glow */
}

/* 3. The Submit Button (The Floating Circle) */
.search-form button[type="submit"],
.woocommerce-product-search button[type="submit"] {
    position: absolute !important;
    right: 6px !important; /* Spacing from the right edge */
    top: 50% !important;
    transform: translateY(-50%) !important; /* Vertically center it */
    
    background-color: var(--uc-btn-bg) !important; /* Theme Green */
    color: #ffffff !important; /* White Icon */
    border: none !important;
    border-radius: 50% !important; /* Perfect Circle */
    
    width: 40px !important;
    height: 40px !important;
    
    /* Center the icon inside */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    box-shadow: none !important;
}

/* Button Hover */
.search-form button[type="submit"]:hover,
.woocommerce-product-search button[type="submit"]:hover {
    background-color: var(--uc-btn-hover) !important;
    transform: translateY(-50%) scale(1.05) !important; /* Slight pop effect */
}



/* --- SEARCH BAR MAKEOVER (Specific Fix for your Code) --- */

/* 1. The Container */
.search-bar {
    position: relative !important;
    max-width: 600px !important;
    width: 100% !important;
    margin: 0 auto !important; /* Centers it if it has space */
}

.search-bar form {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* 2. The Input Field (Green Pill) */
.search-bar input[type="text"]#live-product-search-input {
    width: 100% !important;
    border: 2px solid #869e28 !important; /* Your Theme Green */
    border-radius: 50px !important; /* Fully rounded ends */
    
    /* Padding: Left for text, Right for the button space */
    padding: 12px 60px 12px 25px !important; 
    
    background-color: #ffffff !important;
    color: #555 !important;
    font-size: 15px !important;
    outline: none !important;
    height: 50px !important; /* Enforce height for consistency */
    box-shadow: none !important;
}

/* Focus Effect (Light Green Glow) */
.search-bar input[type="text"]#live-product-search-input:focus {
    background-color: #f9fdf0 !important; 
    box-shadow: 0 0 0 4px rgba(134, 158, 40, 0.15) !important; 
}

/* 3. The Submit Button (Floating Circle) */
.search-bar button[type="submit"] {
    position: absolute !important;
    right: 5px !important; /* Spacing from the right edge */
    top: 50% !important;
    transform: translateY(-50%) !important; /* Perfect vertical centering */
    
    background: var(--uc-btn-bg) !important; /* Theme Green */
    color: #ffffff !important;
    border: none !important;
    
    /* Force a perfect circle */
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    
    /* Center the icon */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

/* Hover Effect */
.search-bar button[type="submit"]:hover {
    background-color: var(--uc-btn-hover) !important;
    transform: translateY(-50%) scale(1.05) !important;
}

/* Icon Size Adjustment */
.search-bar button[type="submit"] i {
    font-size: 16px !important;
    line-height: 1 !important;
}

















































/* --- FEATURED PRODUCTS SLIDER (Final Polish) --- */

/* 1. CREATIVE TITLE (Green Line + Diamond) */
.product-section .section-title {
    position: relative !important;
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #333 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 60px !important;
    padding-bottom: 25px !important;
}

.product-section .section-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 3px !important;
    background-color: var(--uc-btn-bg) !important; 
}

.product-section .section-title::before {
    content: "" !important;
    position: absolute !important;
    bottom: -4px !important; 
    left: 50% !important;
    transform: translateX(-50%) rotate(45deg) !important;
    width: 10px !important;
    height: 10px !important;
    background-color: var(--uc-btn-bg) !important;
    z-index: 2 !important;
    border: 2px solid #fff !important; 
}

/* 2. FIXED SLIDER CONTAINER (Hides the Trail) */
.product-slider .slick-list {
    margin: 0 !important;
    
    /* PADDING IS KEY: This keeps shadows visible while hiding the trail */
    padding: 25px 10px !important; 
    
    /* FIX: Changed back to hidden so the trail disappears! */
    overflow: hidden !important; 
}

/* 3. SLIDE SPACING */
.product-slider .slick-slide {
    padding: 0 15px !important; 
    height: auto !important;
    display: flex !important;
}

/* 4. CARD STYLING */
.product-slider li.product,
.product-slider .product-card {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    
    border: 2px solid #869e28 !important;
    border-radius: 12px !important;
    background: #fff !important;
    padding: 15px !important;
    text-align: center !important;
    
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin: 0 !important; 
}

/* Hover Effect */
.product-slider li.product:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(134, 158, 40, 0.2) !important;
    z-index: 5 !important;
}

/* 5. TITLE & FONT (Clean & Dark) */
.product-slider li.product h2.woocommerce-loop-product__title,
.product-slider li.product .product-title {
    color: #333 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 15px 0 10px 0 !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-slider li.product a {
    text-decoration: none !important;
    color: inherit !important;
}

.product-slider li.product:hover h2.woocommerce-loop-product__title {
    color: var(--uc-btn-bg) !important;
}

/* 6. ALIGNMENT (Buttons to Bottom) */
.product-slider .variation-wrap-v13,
.product-slider form.cart {
    margin-top: auto !important;
    width: 100% !important;
}

.product-slider select {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 5px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    color: #555 !important;
    cursor: pointer !important;
}

/* 7. ARROWS & BADGES */
.product-slider .slick-prev,
.product-slider .slick-next {
    width: 40px !important;
    height: 40px !important;
    background: var(--uc-btn-bg) !important;
    border-radius: 50% !important;
    z-index: 100 !important;
    opacity: 1 !important;
}
.product-slider .slick-prev { left: -10px !important; }
.product-slider .slick-next { right: -10px !important; }

.product-slider .onsale {
    background-color: #ff9f43 !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 10 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}




/* 8. SALE BADGE (FIXED: Always Visible) */
.product-slider .onsale {
    /* FORCE VISIBILITY RULES */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* STYLE */
    background-color: #ff9f43 !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    
    /* POSITION */
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 999 !important; /* Increased to ensure it's always on top */
    
    /* RESET DEFAULTS */
    text-decoration: none !important;
    box-shadow: none !important;
    line-height: 1 !important;
    min-height: auto !important;
}



















































/* --- CREATIVE GREEN TESTIMONIALS (Fixed Borders) --- */

/* 1. Main Section Container */
.testimonial-slider-section {
    background-color: #fff !important;
    max-width: 1200px !important;
    margin: 50px auto !important;
    padding: 0 !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    overflow: hidden !important; /* Rounds the corners of the big box */
}

.testimonial-container {
    display: flex !important;
    align-items: stretch !important; /* Forces equal height */
    flex-wrap: wrap !important;
}

/* --- LEFT SIDE: RATING SUMMARY --- */
.rating-summary {
    flex: 0 0 250px !important;
    background: #fdfdfd !important;
    border-right: 1px solid #eee !important;
    padding: 40px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Big Number */
.rating-summary .rating-value {
    font-size: 72px !important;
    font-weight: 800 !important;
    color: var(--uc-btn-bg) !important; /* Theme Green */
    line-height: 1 !important;
    margin-bottom: 10px !important;
}

/* Stars */
.rating-summary .stars {
    color: #ffb800 !important;
    font-size: 18px !important;
    margin-bottom: 15px !important;
}

/* Count & Link */
.rating-summary .reviews-count {
    font-weight: 600 !important;
    color: #555 !important;
}
.rating-summary .see-all-reviews {
    margin-top: 10px !important;
    text-decoration: underline !important;
    color: #333 !important;
    font-size: 13px !important;
}

/* --- RIGHT SIDE: SLIDER WRAPPER --- */
.testimonial-slider-wrapper {
    flex: 1 !important;
    padding: 40px !important;
    background: #fff !important;
    position: relative !important;
    min-width: 0 !important; /* Flexbox safety */
}

/* Section Title */
.testimonial-slider-wrapper .section-title {
    text-align: left !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #333 !important;
    margin-bottom: 10px !important;
    padding-left: 10px !important;
}

/* --- THE FIX: PREVENT CUT-OFF --- */
.testimonial-slider {
    /* We add padding INSIDE the slider area so the cards have room to 'breathe' */
    padding: 25px 10px !important; 
    margin: 0 -10px !important; /* Pull it back slightly to align */
    overflow: hidden !important;
}

.testimonial-track {
    display: flex !important;
    transition: transform 0.5s ease !important;
}

.testimonial-slide {
    flex: 0 0 33.333% !important; /* Shows 3 cards at a time */
    padding: 0 15px !important; /* Gap between cards */
    box-sizing: border-box !important;
}

/* --- THE CARD STYLE (Matches Products) --- */
.testimonial-card {
    border: 2px solid #869e28 !important; /* Green Border */
    border-radius: 12px !important;
    background: #fff !important;
    padding: 25px !important;
    
    height: 100% !important;
    min-height: 240px !important;
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Hover Effect */
.testimonial-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(134, 158, 40, 0.2) !important;
    border-color: var(--uc-btn-hover) !important;
}

/* Content Styling */
.testimonial-card h4.testimonial-title {
    font-size: 18px !important;
    color: #333 !important;
    margin: 0 0 15px 0 !important;
    font-weight: 700 !important;
}

.testimonial-card .testimonial-content p {
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    font-style: italic !important;
    margin: 0 !important;
}

.testimonial-card .testimonial-date {
    margin-top: 20px !important;
    text-align: right !important;
    font-size: 12px !important;
    color: #aaa !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-top: 1px dashed #eee !important;
    padding-top: 15px !important;
}

/* Hide empty stars inside card */
.testimonial-card .card-header { display: none !important; }

/* --- ARROWS --- */
.slider-arrow {
    position: absolute !important;
    top: 55% !important; /* Adjust based on card height */
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--uc-btn-bg) !important;
    color: #fff !important;
    border-radius: 50% !important;
    border: none !important;
    font-size: 16px !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
}

.slider-arrow:hover { background: #5d701a !important; }
.prev-arrow { left: 0 !important; }
.next-arrow { right: 0 !important; }

/* Mobile Responsive */
@media (max-width: 900px) {
    .testimonial-container { flex-direction: column !important; }
    .rating-summary { border-right: none !important; border-bottom: 1px solid #eee !important; width: 100% !important; }
    .testimonial-slide { flex: 0 0 100% !important; } /* 1 card on mobile */
}


















































/* --- CREATIVE BLOG SECTION (Green Box & Clean Text) --- */

.recent-posts-section {
    padding: 60px 0 !important;
    background-color: #fff !important;
}

/* 1. CREATIVE TITLE (Green Separator) */
.recent-posts-section .section-title {
    position: relative !important;
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #333 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 60px !important;
    padding-bottom: 25px !important;
}

.recent-posts-section .section-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 3px !important;
    background-color: var(--uc-btn-bg) !important; /* Theme Green */
}

.recent-posts-section .section-title::before {
    content: "" !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 50% !important;
    transform: translateX(-50%) rotate(45deg) !important;
    width: 10px !important;
    height: 10px !important;
    background-color: var(--uc-btn-bg) !important;
    z-index: 2 !important;
    border: 2px solid #fff !important;
}

/* 2. THE GRID LAYOUT */
.recent-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
}

/* 3. THE CARD STYLE (Green Box) */
.recent-post-card {
    background: #fff !important;
    border: 2px solid #869e28 !important; /* Theme Green Border */
    border-radius: 12px !important; /* Rounded Corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    overflow: hidden !important; /* Keeps image inside corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    height: 100% !important; /* Ensures equal height */
    display: flex !important;
    flex-direction: column !important;
}

/* Hover Effect (Lifts Up) */
.recent-post-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(134, 158, 40, 0.2) !important;
    border-color: var(--uc-btn-hover) !important;
}

/* 4. IMAGE STYLING */
.post-thumbnail-link img {
    width: 100% !important;
    height: 220px !important; /* Consistent height */
    object-fit: cover !important;
    display: block !important;
    border-bottom: 1px solid #eee !important;
}

/* 5. CONTENT AREA */
.post-card-content {
    padding: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* Date */
.post-card-date {
    font-size: 12px !important;
    color: var(--uc-btn-bg) !important; /* Green Accent */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.5px !important;
}

/* Title */
.post-card-title {
    font-size: 18px !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

.post-card-title a {
    text-decoration: none !important;
    color: #333 !important;
    transition: color 0.2s !important;
}

.recent-post-card:hover .post-card-title a {
    color: var(--uc-btn-bg) !important; /* Turns Green on Hover */
}

/* 6. TEXT TRUNCATION (The Magic Part) */
.post-card-excerpt p {
    margin: 0 !important;
    color: #555 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    
    /* Limits text to exactly 3 lines */
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important; 
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* 7. BUTTON STYLING */
.view-all-container {
    text-align: center !important;
    margin-top: 40px !important;
}

.button.view-all-posts-button {
    background-color: var(--uc-btn-bg) !important; /* Theme Green */
    color: #fff !important;
    padding: 12px 35px !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    transition: background-color 0.3s ease !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

.button.view-all-posts-button:hover {
    background-color: var(--uc-btn-hover) !important;
    transform: translateY(-2px) !important;
}




















































/* --- CREATIVE FAQ & INFO SECTION (Green Theme) --- */

.info-layout-section {
    background-color: #fff !important;
    padding: 60px 0 !important;
}

/* 1. CREATIVE TITLES (FAQ, About, Why Choose) */
/* We force them to center and have the green diamond separator */
.info-layout-section .section-title,
.info-layout-section .info-title {
    position: relative !important;
    text-align: center !important; /* Force center alignment */
    
    font-weight: 800 !important;
    color: #333 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 50px !important;
    padding-bottom: 25px !important;
    width: 100% !important;
    display: block !important;
}

/* The Green Line */
.info-layout-section .section-title::after,
.info-layout-section .info-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 3px !important;
    background-color: var(--uc-btn-bg) !important; /* Theme Green */
}

/* The Diamond Accent */
.info-layout-section .section-title::before,
.info-layout-section .info-title::before {
    content: "" !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 50% !important;
    transform: translateX(-50%) rotate(45deg) !important;
    width: 10px !important;
    height: 10px !important;
    background-color: var(--uc-btn-bg) !important;
    z-index: 2 !important;
    border: 2px solid #fff !important;
}

/* 2. FAQ CARD STYLE (Green Box) */
.faq-item {
    background: #fff !important;
    border: 2px solid #869e28 !important; /* Green Border */
    border-radius: 12px !important; /* Rounded Corners */
    margin-bottom: 20px !important; /* Spacing between questions */
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Hover Effect */
.faq-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(134, 158, 40, 0.15) !important;
    border-color: var(--uc-btn-hover) !important;
}

/* 3. QUESTION BUTTON STYLING */
.faq-question {
    background: #fff !important;
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 20px 25px !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: background 0.3s ease, color 0.3s ease !important;
}

.faq-question:hover {
    background-color: #f9fdf0 !important; /* Light Green Tint */
    color: var(--uc-btn-bg) !important;
}

/* Active State (When Open) */
.faq-question.active {
    background-color: var(--uc-btn-bg) !important; /* Solid Green Header */
    color: #fff !important;
}

/* 4. FIX DUPLICATE ICONS */
/* This hides the extra icon in your HTML code */
.faq-question i {
    display: none !important;
}

/* This creates the clean CSS icon */
.faq-question::after {
    content: '+' !important;
    font-size: 24px !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

/* Turn into a Minus when active */
.faq-question.active::after {
    content: '-' !important;
}

/* 5. ANSWER CONTENT (Fixed: No text cut-off) */
.faq-answer {
    background: #fff !important;
    padding: 0 25px !important; /* Keep side padding on wrapper */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out !important;
}

.faq-question.active + .faq-answer {
    /* We removed the padding here so JS doesn't get confused */
    border-top: 1px solid #eee !important;
}

.faq-answer p {
    /* We moved the vertical spacing here. Now the height is calculated correctly! */
    padding: 20px 0 !important; 
    margin: 0 !important;
    color: #555 !important;
    line-height: 1.6 !important;
}


/* 6. POLISH 'ABOUT' & 'WHY CHOOSE' COLUMNS */
.about-grid {
    margin-top: 80px !important;
    gap: 40px !important;
}

.about-col, .why-choose-col {
    background: #fff !important;
    padding: 30px !important;
    border: 1px solid #eee !important;
    border-top: 4px solid #869e28 !important; /* Green Top Accent */
    border-radius: 8px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03) !important;
}

.about-content p, .why-content p {
    text-align: left !important; /* Cleaner reading */
    color: #555 !important;
}

/* Green Buttons in these sections */
.btn-read-more {
    background-color: var(--uc-btn-bg) !important;
    border-radius: 4px !important;
    padding: 10px 20px !important;
    transition: background 0.3s !important;
}
.btn-read-more:hover {
    background-color: var(--uc-btn-hover) !important;
}

.features-list-grid li i {
    color: var(--uc-btn-bg) !important; /* Change bullet icons to green */
}














































/* --- CREATIVE CATEGORY SECTION (Green Theme) --- */

.photo-categories-section {
    padding: 60px 0 !important;
    background-color: #fff !important;
}

/* 1. CREATIVE TITLE (Green Line + Diamond) */
.photo-categories-section .section-title-container {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.photo-categories-section .section-title {
    position: relative !important;
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #333 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding-bottom: 25px !important;
    display: inline-block !important;
}

/* Green Separator Line */
.photo-categories-section .section-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 3px !important;
    background-color: var(--uc-btn-bg) !important; /* Theme Green */
}

/* Diamond Accent */
.photo-categories-section .section-title::before {
    content: "" !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 50% !important;
    transform: translateX(-50%) rotate(45deg) !important;
    width: 10px !important;
    height: 10px !important;
    background-color: var(--uc-btn-bg) !important;
    z-index: 2 !important;
    border: 2px solid #fff !important;
}

/* 2. CATEGORY GRID STYLING */
.category-photo-grid {
    display: grid !important;
    gap: 25px !important;
    /* This creates a masonry-like layout if you have items of different sizes, 
       or a standard grid. Adjust rows as needed. */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    grid-auto-rows: 250px !important; 
}

/* 3. CATEGORY CARD STYLE */
.category-photo-item {
    position: relative !important;
    display: block !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    /* Green Border */
    border: 2px solid #869e28 !important; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

/* Hover Effect */
.category-photo-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(134, 158, 40, 0.25) !important; /* Green Shadow */
    border-color: var(--uc-btn-hover) !important; /* Darker border on hover */
}

/* 4. OVERLAY & TEXT */
.category-item-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 20px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%) !important;
    transition: padding-bottom 0.3s ease !important;
}

.category-photo-item:hover .category-item-overlay {
    padding-bottom: 25px !important; /* Text moves up slightly on hover */
}

.category-item-overlay h3 {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8) !important;
    letter-spacing: 0.5px !important;
}

/* 5. RESPONSIVE FIXES */
@media (max-width: 768px) {
    .category-photo-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 200px !important;
    }
}

















/* --- CREATIVE NEWSLETTER SECTION (Perfect Flush Alignment) --- */

.newsletter-section {
    background: linear-gradient(135deg, var(--uc-newsletter-gradient-start) 0%, var(--uc-newsletter-gradient-end) 100%) !important;
    padding: 80px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
}

/* Title & Text */
.newsletter-section h3 {
    color: #ffffff !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px !important;
    margin-bottom: 40px !important;
}

/* 3. THE FORM CONTAINER (The Seamless Bar) */
#newsletter-form-wrapper .newsletter-form {
    display: flex !important;
    justify-content: space-between !important; /* Pushes content to edges */
    align-items: stretch !important; /* Forces full height */
    
    background-color: #ffffff !important;
    border-radius: 50px !important; /* The pill shape */
    
    /* FIX: Remove padding so button touches the edge */
    padding: 0 !important; 
    
    /* FIX: Crop the square corners of the button to match the rounded container */
    overflow: hidden !important; 
    
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
    max-width: 750px !important;
    margin: 0 auto !important;
    height: 60px !important; /* Fixed height for consistency */
}

/* 4. THE INPUT (Left Side) */
#newsletter-form-wrapper input[type="email"] {
    flex-grow: 1 !important; /* Takes all available space */
    height: 100% !important; /* Fills the height */
    border: none !important;
    background: transparent !important;
    padding: 0 30px !important;
    font-size: 16px !important;
    color: #333 !important;
    margin: 0 !important;
    border-radius: 0 !important; /* No rounded corners needed inside */
    box-shadow: none !important;
}

/* 5. THE SUBSCRIBE BUTTON (Right Side - Flush) */
#newsletter-form-wrapper button {
    background-color: #000000 !important; /* Solid Black */
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    
    height: 100% !important; /* Fills the height */
    padding: 0 50px !important;
    border: none !important;
    
    /* FIX: Remove border radius so it fits flush against the side */
    border-radius: 0 !important; 
    
    cursor: pointer !important;
    margin: 0 !important;
    transition: background 0.3s ease !important;
}

/* Button Hover */
#newsletter-form-wrapper button:hover {
    background-color: #333 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #newsletter-form-wrapper .newsletter-form {
        flex-direction: column !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    
    #newsletter-form-wrapper input[type="email"] {
        background: #fff !important;
        border-radius: 50px !important;
        height: 55px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    }
    
    #newsletter-form-wrapper button {
        border-radius: 50px !important;
        height: 55px !important;
        width: 100% !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    }
}






























/* --- CREATIVE FOOTER MAKEOVER (Premium Dark Theme) --- */

/* 1. Main Footer Container */
.site-footer {
    background-color: #1a1a1a !important; /* Premium Dark Charcoal */
    color: #bbb !important; /* Softer text color */
    padding: 70px 0 30px !important; /* Spacious padding */
    border-top: 5px solid #869e28 !important; /* The Signature Green Top Border */
    font-family: 'Inter', sans-serif !important;
}

/* 2. Creative Titles (Left-Aligned with Diamond) */
.footer-section h4,
.site-footer .widget-title {
    color: #fff !important; /* White Text */
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 30px !important;
    padding-bottom: 15px !important;
    position: relative !important;
    display: inline-block !important;
}

/* The Green Underline */
.footer-section h4::after,
.site-footer .widget-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important; /* Start from the left */
    width: 50px !important; /* Length of the line */
    height: 3px !important;
    background-color: var(--uc-btn-bg) !important; /* Theme Green */
    border-radius: 2px !important;
}

/* The Diamond Accent */
.footer-section h4::before,
.site-footer .widget-title::before {
    content: "" !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 20px !important; /* Position on the line */
    width: 8px !important;
    height: 8px !important;
    background-color: var(--uc-btn-bg) !important;
    transform: rotate(45deg) !important;
    z-index: 2 !important;
    border: 2px solid #1a1a1a !important; /* Matches bg color to look like a cutout */
}

/* 3. Text Paragraphs */
.footer-section p,
.site-footer p {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #aaa !important;
    margin-bottom: 25px !important;
}

/* 4. Interactive Links (The "Slide" Effect) */
.footer-links li {
    margin-bottom: 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important; /* Subtle separator */
    padding-bottom: 12px !important;
}
.footer-links li:last-child {
    border-bottom: none !important;
}

.footer-links a,
.site-footer a {
    color: #bbb !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    font-size: 14px !important;
}

/* Hover Effect: Turns Green + Slides Right + Adds Arrow */
.footer-links a:hover,
.site-footer .widget_nav_menu a:hover {
    color: var(--uc-btn-bg) !important;
    transform: translateX(8px) !important; /* Slide animation */
    padding-left: 5px !important;
}

/* 5. Social Icons (Fixing the Blue Links) */
.site-footer i.fab, 
.site-footer i.fas {
    font-size: 20px !important;
    margin-right: 15px !important;
    color: #fff !important; /* Force White initially */
    background-color: rgba(255,255,255,0.1) !important; /* Slight circle bg */
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

/* Social Hover Effect */
.site-footer a:hover i.fab, 
.site-footer a:hover i.fas {
    background-color: var(--uc-btn-bg) !important; /* Green Background */
    color: #fff !important;
    transform: translateY(-3px) !important; /* Pop up */
    box-shadow: 0 5px 15px rgba(134, 158, 40, 0.4) !important; /* Green Glow */
}

/* 6. Copyright Bar */
.footer-bottom {
    margin-top: 50px !important;
    padding-top: 25px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important; /* Faint line */
    text-align: center !important;
    font-size: 13px !important;
    color: #666 !important;
    letter-spacing: 0.5px !important;
}























/* =========================================
   MOBILE RESPONSIVE FIXES (ADD TO BOTTOM)
   ========================================= */

@media (max-width: 768px) {

    /* --- FIX 1: STOP ABOUT US / WHY CHOOSE FROM GOING OFF SCREEN --- */
    .about-col, 
    .why-choose-col {
        /* This overrides the 300px limit causing the overflow */
        min-width: 0 !important; 
        width: 100% !important;
        box-sizing: border-box !important;
        margin-right: 0 !important;
    }
    
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* --- FIX 2: TESTIMONIAL SLIDER CUT-OFF FIX --- */
    .testimonial-slider-section {
        padding: 30px 10px !important; /* Reduces padding to give content room */
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevents the container from scrolling horizontally */
    }

    .testimonial-container {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .testimonial-slider-wrapper {
        width: 100% !important;
        padding: 0 !important;
    }

    .testimonial-slider {
        padding: 0 !important;
        width: 100% !important;
    }

    /* Ensure the individual card fits perfectly */
    .testimonial-slide {
        width: 100% !important;
        padding: 0 5px !important; /* Small gap only */
        box-sizing: border-box !important;
    }

    /* Fix Arrows on Mobile */
    .slider-arrow {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.5rem !important;
        background: rgba(255,255,255,0.8) !important; /* Add background so arrows are visible over text */
        border-radius: 50% !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    }
    
    .slider-arrow.prev-arrow { left: 0 !important; }
    .slider-arrow.next-arrow { right: 0 !important; }
}



/* --- FIX: Mobile Add to Cart Button (Centered & Wider) --- */
@media (max-width: 768px) {

    /* 1. Center the cell content and remove the left-side label space */
    .product-variation-table .add-to-cart-cell {
        padding-left: 0 !important; /* Remove the responsive padding */
        text-align: center !important;
        display: flex !important;
        justify-content: center !important; /* Center the button horizontally */
        align-items: center !important;
        width: 100% !important;
        margin-top: 10px; /* Add a little breathing room above */
    }

    /* 2. Hide the "Add to Cart" text label on the left completely */
    .product-variation-table .add-to-cart-cell::before {
        display: none !important;
        content: none !important;
    }

    /* 3. Make the button wide, centered, and pill-shaped */
    .product-variation-table .button.cart-icon-button {
        width: 70% !important;        /* Make it wide (70% of the screen width) */
        min-width: 200px !important;  /* Ensure it doesn't get too small */
        height: auto !important;
        padding: 12px 0 !important;   /* Taller comfortable click area */
        border-radius: 50px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px; /* Space between icon and text */
        margin: 0 auto; /* Double check centering */
    }

    /* 4. Add the text "ADD TO CART" inside the button */
    .product-variation-table .button.cart-icon-button::after {
        content: "Add to Cart"; 
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
    }

    /* 5. Style the icon inside */
    .product-variation-table .button.cart-icon-button i {
        font-size: 16px;
        margin: 0;
    }
}















/* --- MOBILE AUTO-SLIDER FOR TOP BADGES ONLY --- */
@media (max-width: 768px) {
    
    /* 1. Target ONLY the top section with the specific class */
    .top-hero-slider .container {
        overflow: hidden;
        padding: 0; /* Full width container */
        width: 100%;
    }

    /* 2. Remove Gap and Enable Flex for Top Slider */
    .top-hero-slider .trust-badges-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100%;
        gap: 0 !important; /* CRITICAL: Removes gap so math works perfectly */
        
        /* The Animation Loop */
        animation: badge-slider 12s infinite; 
    }

    /* 3. Style the Slides (Card Look) */
    .top-hero-slider .trust-badge-item {
        min-width: 100%; /* Exact width of screen */
        flex-shrink: 0;
        box-sizing: border-box; 
        
        /* Centering Content */
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        
        /* Visual Card Style */
        padding: 15px 40px; /* 40px side padding makes it look centered */
        background: #ffffff;
        border-bottom: 1px solid #eee;
    }

    .top-hero-slider .badge-icon {
        margin-right: 12px;
        font-size: 24px;
        color: #2c3e50;
    }

    .top-hero-slider .badge-text {
        text-align: left;
    }

    /* 4. THE ANIMATION KEYFRAMES */
    @keyframes badge-slider {
        /* Slide 1 */
        0%, 30% { transform: translateX(0); }
        
        /* Slide 2 (Exact movement) */
        33%, 63% { transform: translateX(-100%); }

        /* Slide 3 (Exact movement) */
        66%, 96% { transform: translateX(-200%); }

        /* Reset */
        100% { transform: translateX(0); }
    }
}
















/* --- MOBILE LAYOUT FIX: Move Sidebar Below Products --- */
@media (max-width: 900px) {
    /* Ensure the wrapper is a column layout */
    .shop-layout-wrapper {
        display: flex;
        flex-direction: column;
    }

    /* Step 1: Force the Product Area to be FIRST */
    .woocommerce-products-area {
        order: 1;
    }

    /* Step 2: Force the Sidebar (Suggestion Box) to be SECOND */
    .shop-sidebar {
        order: 2;
        margin-top: 40px; /* Add some space between products and the box */
    }
}












/* --- FORCE MOBILE GREEN CURVY SEARCH BAR --- */
@media only screen and (max-width: 992px) {

    /* 1. Reset the "Square" look on iPhone/Android */
    #live-product-search-input {
        -webkit-appearance: none !important; /* Critical for iPhone */
        appearance: none !important;
        background-color: #fff !important;
        
        /* 2. The Green Border & Curvy Shape */
        border: 2px solid #1D6F42 !important; 
        border-radius: 50px !important; 
        
        /* 3. Padding to stop text hitting the button */
        padding: 10px 45px 10px 20px !important; 
        width: 100% !important;
    }

    /* 4. Fix the Search Button Bubble */
    .header-main .search-bar button {
        background-color: #1D6F42 !important;
        border-radius: 50% !important;
        width: 38px !important;
        height: 38px !important;
        
        /* Position it perfectly inside the right side */
        position: absolute !important;
        top: 50% !important;
        right: 4px !important;
        transform: translateY(-50%) !important;
        
        border: none !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* 5. Center the Magnifying Glass Icon */
    .header-main .search-bar button i {
        color: white !important;
        font-size: 14px !important;
        margin: 0 !important;
        line-height: 0 !important;
    }

    /* 6. Ensure the container has breathing room */
    .header-main .search-bar {
        width: 92% !important;
        margin: 10px auto !important;
        display: block !important;
        position: relative !important;
    }
}































/* =========================================
   CUSTOM LOGIN & REGISTER PAGE DESIGN
   Healthcare Pro Theme v13 Style
   ========================================= */

/* 1. The Main Container (Floating Card) */
.woocommerce-account .u-columns.col2-set {
    max-width: 1000px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 20px; /* Big rounded corners */
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* Soft medical shadow */
    border: 1px solid #eee;
    border-top: 5px solid #1D6F42; /* Your Theme Green Top Border */
    padding: 0; /* Remove default padding to control layout */
    display: flex;
    overflow: hidden;
    position: relative;
}

/* 2. The Two Columns (Split 50/50) */
.woocommerce-account .u-column1, 
.woocommerce-account .u-column2 {
    width: 50%;
    padding: 60px 50px;
    float: none; /* Disable default floats */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Add a background tint to Register side to separate it */
.woocommerce-account .u-column2 {
    background-color: #f9fdf0; /* Very light green tint matches your tables */
    border-left: 1px dashed #c0d6b6;
}

/* 3. Typography (Headers with your Diamond Style) */
.woocommerce-account h2 {
    text-align: center;
    color: var(--uc-body-text);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    letter-spacing: 1px;
}

/* Green Underline */
.woocommerce-account h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--uc-btn-bg);
    border-radius: 2px;
}

/* Diamond Icon */
.woocommerce-account h2::before {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: var(--uc-btn-bg);
    border: 3px solid #fff; /* Creates the cutout effect */
    z-index: 2;
}

/* 4. Input Fields (The "Pill" Shape) */
.woocommerce-form-row input.woocommerce-Input {
    border: 2px solid var(--uc-search-border);
    border-radius: 50px !important; /* Your signature pill shape */
    padding: 15px 25px !important;
    font-size: 15px;
    color: #555;
    background-color: #fff;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Focus Effect (Green Glow) */
.woocommerce-form-row input.woocommerce-Input:focus {
    border-color: var(--uc-logo-color);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(29, 111, 66, 0.1);
}

/* Labels */
.woocommerce-form-row label {
    font-weight: 700;
    color: #444;
    font-size: 13px;
    margin-left: 15px; /* Align with the pill padding */
    margin-bottom: 5px;
    display: block;
}

/* 5. Buttons (Green & Rounded) */
.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
    width: 100%;
    background-color: #1D6F42 !important; /* Main Theme Green */
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s, background 0.2s;
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
    background-color: #145231 !important; /* Darker Green */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(29, 111, 66, 0.2);
}

/* 6. "Remember Me" & Checkboxes */
.woocommerce-form-login__rememberme {
    margin: 15px 0 15px 15px;
    display: block;
}
.woocommerce-form-login__rememberme input {
    margin-right: 8px;
    accent-color: var(--uc-logo-color); /* Makes the checkbox green */
}

/* 7. Footer Links (Lost Password) */
.woocommerce-LostPassword {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}
.woocommerce-LostPassword a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}
.woocommerce-LostPassword a:hover {
    color: var(--uc-logo-color);
    text-decoration: underline;
}

/* 8. Required Asterisk */
.required { color: var(--uc-save-percent-red); text-decoration: none; }

/* 9. Privacy Policy Text fix */
.woocommerce-privacy-policy-text {
    font-size: 12px;
    color: #777;
    margin: 15px 0;
    text-align: center;
    line-height: 1.5;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    /* Stack columns vertically */
    .woocommerce-account .u-columns.col2-set {
        flex-direction: column;
        border-radius: 12px;
        margin: 20px 10px;
        width: auto;
    }

    .woocommerce-account .u-column1, 
    .woocommerce-account .u-column2 {
        width: 100%;
        padding: 40px 20px;
    }
    
    /* Add a divider line between stacked columns */
    .woocommerce-account .u-column2 {
        border-left: none;
        border-top: 2px dashed #eee;
    }
    
    /* Make titles smaller */
    .woocommerce-account h2 {
        font-size: 24px;
    }
}





























/* =========================================
   MY ACCOUNT DASHBOARD (Logged In)
   "Patient Portal" Style
   ========================================= */

/* 1. LAYOUT CONTAINER (Flexbox for Sidebar + Content) */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
}

/* 2. SIDEBAR NAVIGATION (Left Side) */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px; /* Fixed width sidebar */
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

/* The Links (Menu Items) */
.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 18px 25px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 5px solid transparent; /* Hidden marker line */
}

/* Icons (Optional - adds a bullet point visually) */
.woocommerce-MyAccount-navigation li a::before {
    content: "•";
    color: var(--uc-btn-bg);
    margin-right: 10px;
    font-size: 20px;
    line-height: 0;
    vertical-align: middle;
}

/* Hover & Active State (Green Highlight) */
.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background-color: #f9fdf0; /* Very light green background */
    color: var(--uc-logo-color); /* Dark Green Text */
    border-left: 5px solid #1D6F42; /* The Green Marker */
    padding-left: 30px; /* Slide effect */
}

/* Logout Button Special Style */
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: var(--uc-save-percent-red); /* Red text for logout */
}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background-color: #fff5f5;
    border-left-color: var(--uc-save-percent-red);
}

/* 3. CONTENT AREA (Right Side) */
.woocommerce-MyAccount-content {
    flex: 1; /* Takes remaining space */
    background: #ffffff;
    padding: 40px;
    border: 2px solid #869e28; /* Green Border */
    border-radius: 20px; /* Rounded Corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    min-height: 400px;
}

/* Welcome Message Styling */
.woocommerce-MyAccount-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* 4. ORDERS TABLE STYLING (Medical Chart Look) */
table.shop_table, 
table.my_account_orders {
    border-collapse: separate; 
    border-spacing: 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px; /* Rounds the whole table */
    overflow: hidden;
    margin-bottom: 30px;
}

/* Table Header */
table.shop_table thead th, 
table.my_account_orders thead th {
    background-color: var(--uc-logo-color); /* Dark Green Header */
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    padding: 15px;
    font-weight: 700;
    border: none;
}

/* Table Rows */
table.shop_table td, 
table.my_account_orders td {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    color: #555;
    vertical-align: middle;
}

/* Row Hover */
table.shop_table tbody tr:hover td {
    background-color: #f9fdf0; /* Light Green Tint */
}

/* 5. ACTION BUTTONS ("View Order") */
.woocommerce-MyAccount-content .button,
.my_account_orders .button {
    background-color: var(--uc-btn-bg) !important; /* Olive Green */
    color: #fff !important;
    border-radius: 50px !important; /* Pill Shape */
    padding: 8px 20px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: inline-block;
    transition: transform 0.2s ease;
}

.woocommerce-MyAccount-content .button:hover {
    background-color: #1D6F42 !important;
    transform: translateY(-2px);
}

/* 6. ADDRESS BOXES */
.woocommerce-Address {
    background: #fcfcfc;
    border: 1px dashed #869e28;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.woocommerce-Address h3 {
    color: var(--uc-logo-color);
    font-size: 18px;
    margin-top: 0;
}
.woocommerce-Address .edit {
    float: right;
    color: var(--uc-btn-bg);
    font-weight: bold;
    text-decoration: none;
}

/* 7. ACCOUNT DETAILS FORM (Using your pill inputs) */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}
.woocommerce-EditAccountForm legend {
    color: var(--uc-logo-color);
    font-weight: bold;
    padding: 0 10px;
}

/* Reuse the input styling from login page if not applying automatically */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"] {
    border: 2px solid var(--uc-search-border);
    border-radius: 50px;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
}
.woocommerce-MyAccount-content input:focus {
    border-color: var(--uc-logo-color);
    outline: none;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }
    .woocommerce-MyAccount-navigation {
        flex: 1;
        width: 100%;
    }
    /* Turn menu into a horizontal scroll strip on mobile */
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 8px;
    }
    .woocommerce-MyAccount-navigation li {
        border-bottom: none;
        border-right: 1px solid #eee;
        flex: 0 0 auto;
    }
    .woocommerce-MyAccount-navigation li a {
        padding: 15px;
        border-left: none;
        border-bottom: 4px solid transparent;
    }
    .woocommerce-MyAccount-navigation li.is-active a {
        border-left: none;
        border-bottom: 4px solid #1D6F42;
        padding-left: 15px; /* Reset slide effect */
        background-color: #f0f0f0;
    }
    
    .woocommerce-MyAccount-content {
        padding: 20px;
        border: none;
        border-top: 5px solid #1D6F42;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
}


























/* FAQ Section Layout */
.info-layout-section { 
    padding: 50px 0; 
    background-color: #fff;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f8f9fa; /* Light grey background */
    overflow: hidden;
}

/* The Button */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background: #fff;
    border: none;
    font-weight: 600;
    font-size: 16px;
    color: var(--uc-body-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover { 
    background-color: #f1f1f1; 
}

/* Active State (When clicked) */
.faq-question.active {
    background-color: #e8f5e9; /* Light Green background when open */
    color: var(--uc-logo-color); /* Dark Green Text */
}

/* The Icon */
.faq-question i {
    font-size: 14px;
    color: var(--uc-logo-color);
    transition: transform 0.3s ease;
}

/* The Answer Panel (Hidden by default) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
    border-top: 1px solid transparent;
}

.faq-question.active + .faq-answer {
    border-top: 1px solid #e0e0e0;
}

.faq-answer p { 
    margin: 20px; 
    line-height: 1.6;
    color: #555;
}

		/* 1. Hide the sub-menu by default */
.nav-menu .menu-item-has-children ul.sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background-color: var(--uc-btn-bg);
    padding: 15px;
    min-width: 850px; /* Wide enough for 4 columns */
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
}

/* 2. Only show the menu on Hover */
.nav-menu .menu-item-has-children:hover > ul.sub-menu {
    display: flex !important; /* Becomes flex only when hovering */
    flex-direction: column;
    flex-wrap: wrap;
    /* Adjust this height to make it less lengthy. 
       Lowering this number forces more columns. */
    max-height: 400px; 
}

/* 3. Style the individual items for a tighter look */
.nav-menu .sub-menu li {
    width: 200px; /* Width of each column */
    list-style: none;
    margin: 0;
    padding: 2px 0; /* Tightens vertical spacing */
}

.nav-menu .sub-menu li a {
    color: #fff !important;
    text-decoration: none;
    font-size: 13px; /* Slightly smaller font to save space */
    display: block;
    transition: background 0.2s;
}

.nav-menu .sub-menu li a:hover {
    background: rgba(255,255,255,0.1);
}
        /* =========================================
           1. MOBILE LAYOUT STYLES
           ========================================= */
        .mobile-stack-layout {
            display: none; /* Hidden on Desktop */
            background: #fff;
            width: 100%;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: relative;
            z-index: 1001;
        }

        /* Mobile Row 1 */
        .mobile-row-1 {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        .menu-toggle-mobile {
            background: none; border: none; font-size: 24px; cursor: pointer; color: var(--uc-body-text); margin-right: 15px; padding: 0;
        }
        .mobile-logo a {
            font-size: 20px; font-weight: bold; color: var(--uc-body-text); text-decoration: none;
        }

        /* Mobile Row 2: Search */
        .mobile-row-2 {
            padding: 10px 15px;
            background: #f9f9f9;
            position: relative; /* Important for dropdown positioning */
        }
        .mobile-search-form {
            display: flex;
            position: relative;
        }
        .mobile-search-form input {
    width: 100% !important;
    border: 2px solid #869e28 !important;
    border-radius: 50px !important;
    padding: 12px 60px 12px 25px !important;
    background-color: #ffffff !important;
    color: #555 !important;
    font-size: 15px !important;
    outline: none !important;
    height: 50px !important;
    box-shadow: none !important;
        }
		
    .mobile-search-form button {
    position: absolute !important;
    right: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: var(--uc-btn-bg) !important;
    color: #ffffff !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.3s 
ease !important;
        }

        /* NEW: Mobile Search Results Dropdown */
        #mobile-search-results-clone {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: #fff;
            z-index: 99999;
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
            border: 1px solid #eee;
            border-top: none;
            max-height: 400px;
            overflow-y: auto;
            display: none; /* Hidden by default */
        }
        /* Style inherited items inside the clone to ensure they look good */
        #mobile-search-results-clone ul {
            margin: 0; padding: 0; list-style: none;
        }
        #mobile-search-results-clone li {
            padding: 10px; border-bottom: 1px solid #eee;
        }
        #mobile-search-results-clone a {
            text-decoration: none; color: var(--uc-body-text); display: block;
        }

        /* Mobile Row 3: Icons */
        .mobile-row-3 {
            display: flex; justify-content: space-around; padding: 10px 0;
            background: #fff; border-top: 1px solid #eee;
        }
        .mobile-icon-item {
            text-decoration: none; color: var(--uc-body-text); display: flex; flex-direction: column;
            align-items: center; font-size: 12px; position: relative;
        }
        .mobile-icon-item i {
            font-size: 20px; margin-bottom: 4px; color: var(--uc-logo-color);
        }
        .mobile-icon-item .count {
            position: absolute; top: -5px; right: 5px; background: red; color: white;
            border-radius: 50%; padding: 2px 5px; font-size: 10px; line-height: 1;
        }

        /* =========================================
           2. EXISTING DESKTOP STYLES
           ========================================= */
        .header-main { position: relative; z-index: 1000; }
        .main-navigation { position: relative; z-index: 900; }
        
        .account-dropdown-container { position: relative; display: inline-block; height: 100%; }
        .account-dropdown-content {
            display: none; position: absolute; right: 0; top: 100%; 
            background-color: #ffffff; min-width: 200px; 
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 99999; 
            border-radius: 0 0 5px 5px; border-top: 3px solid #1D6F42; text-align: left; margin-top: 0px; 
        }
        .account-dropdown-content::before {
            content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: transparent;
        }
        .account-dropdown-container:hover .account-dropdown-content { display: block; }
        .account-dropdown-content a {
            color: var(--uc-body-text); padding: 12px 16px; text-decoration: none; display: block; 
            font-size: 14px; border-bottom: 1px solid #f1f1f1; transition: all 0.2s ease;
        }
        .dropdown-greeting {
            display: block; padding: 12px 16px; color: var(--uc-logo-color); font-weight: bold; 
            font-size: 14px; background-color: #fcfcfc; border-bottom: 1px solid #eee;
        }

        /* =========================================
           3. RESPONSIVE SWITCHING
           ========================================= */
        @media screen and (max-width: 991px) {
            .mobile-stack-layout { display: block; }
            .header-top, .header-main, .desktop-nav { display: none !important; }
            body { margin: 0; padding: 0; }
        }
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		


































/* =========================================
   1. CLEAN "POSTED ON" METADATA STYLING
   ========================================= */

.entry-meta {
    /* Create a Pill Shape */
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px; /* Space between Date and Author */
    
    background-color: #f9fdf0; /* Very light green background */
    border: 1px solid #869e28; /* Green Border */
    border-radius: 50px; /* Fully rounded corners */
    
    padding: 8px 20px;
    margin-bottom: 25px;
    
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Style the links (Author Name) */
.entry-meta a {
    color: var(--uc-btn-bg) !important; /* Green Text */
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: uppercase;
}

.entry-meta a:hover {
    color: #333 !important; /* Darken on hover */
}

/* Add icons if they are missing (Optional fallback) */
.entry-meta span {
    display: flex;
    align-items: center;
}

.entry-meta i {
    margin-right: 6px;
    color: var(--uc-btn-bg); /* Make icons green */
}


/* =========================================
   2. CREATIVE "FLOATING LABEL" SIDEBAR
   ========================================= */

/* The Box */
.blog-sidebar .widget,
#secondary .widget {
    background: #ffffff !important;
    border: 2px solid #869e28 !important; /* Green Outline */
    border-radius: 12px !important;
    
    /* Important: "visible" allows the title to float outside the box */
    overflow: visible !important; 
    
    padding: 35px 25px 25px 25px !important; /* Extra top padding for the title */
    margin-bottom: 40px !important; /* Spacing between widgets */
    margin-top: 20px !important; /* Space for the floating label to sit */
    position: relative !important;
}

/* The Creative Floating Title/Label */
.blog-sidebar .widget .widget-title,
.blog-sidebar .widget h2,
#secondary .widget h2 {
    /* Float the title on the top border */
    position: absolute !important;
    top: -18px !important; /* Moves it UP to sit on the line */
    left: 20px !important; /* Aligns it to the left */
    
    background-color: var(--uc-btn-bg) !important; /* Solid Green Background */
    color: #ffffff !important; /* White Text */
    
    padding: 8px 25px !important;
    border-radius: 20px !important; /* Pill Shape Label */
    
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    
    /* Remove old borders */
    border: none !important;
    margin: 0 !important;
    width: auto !important; /* Don't stretch full width */
    box-shadow: 0 4px 10px rgba(134, 158, 40, 0.3) !important; /* Green Glow */
}

/* Make the list items inside look clean */
.blog-sidebar .widget ul li {
    padding: 12px 0 !important;
    border-bottom: 1px dashed #ddd !important;
    position: relative;
}

/* Add a tiny "Arrow" next to posts to make them look like links */
.blog-sidebar .widget ul li a::before {
    content: "\f054"; /* FontAwesome Right Arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    color: var(--uc-btn-bg);
    margin-right: 8px;
    display: inline-block;
}



























/* =========================================
   SINGLE PRODUCT REVIEWS - GREEN THEME
   ========================================= */

/* 1. Reset List Styles */
#reviews .commentlist {
    padding: 0;
    margin: 0;
}

#reviews .commentlist li.review {
    margin-bottom: 25px;
    list-style: none;
    background: transparent;
    border: none;
}

/* 2. THE GREEN REVIEW CARD (Matches your Products/Blog) */
#reviews .commentlist li.review .comment_container {
    background: #ffffff !important;
    border: 2px solid #869e28 !important; /* Theme Green Border */
    border-radius: 12px !important;       /* Rounded Corners */
    padding: 25px !important;
    
    display: flex; 
    gap: 20px;
    position: relative;
    
    /* Shadow & Transition */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

/* Hover Effect (Lifts up like your other cards) */
#reviews .commentlist li.review .comment_container:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(134, 158, 40, 0.2) !important; /* Green Shadow */
    border-color: var(--uc-btn-hover) !important; /* Darker Green */
}

/* 3. Avatar Styling */
#reviews .commentlist li.review img.avatar {
    width: 60px !important;
    height: 60px !important;
    border: 2px solid var(--uc-search-border); /* Grey border for avatar */
    border-radius: 50% !important; /* Circle Avatar */
    padding: 2px;
    background: #fff;
    position: static;
    margin: 0;
}

/* 4. Content Area */
#reviews .commentlist li.review .comment-text {
    flex: 1;
    border: none;
    padding: 0;
    margin: 0;
}

/* 5. Header: Name & Date */
#reviews .commentlist li.review .meta {
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
}

#reviews .commentlist li.review .meta strong.woocommerce-review__author {
    color: var(--uc-body-text);
    font-weight: 800; /* Bolder name */
    font-size: 15px;
}

#reviews .commentlist li.review .meta .woocommerce-review__published-date {
    color: var(--uc-btn-bg); /* Green Date */
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

/* 6. Star Rating (Top Right) */
#reviews .commentlist li.review .star-rating {
    position: absolute;
    top: 25px;
    right: 25px;
    float: none;
    margin: 0;
    color: #ffb800; /* Gold Stars */
    font-size: 20px;
}

/* 7. Review Text */
#reviews .commentlist li.review .description p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

/* 8. Photo Thumbnail (Inside Review) */
.review-photo-box img {
    border: 1px solid #ddd;
    padding: 3px;
    border-radius: 6px;
    background: #fff;
    margin-top: 10px;
    max-width: 100px;
    height: auto;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* =========================================
   "ADD REVIEW" FORM STYLING
   ========================================= */
.comment-form-photo {
    border: 2px dashed #869e28 !important; /* Green Dashed Border */
    background: #f9fdf0 !important;       /* Light Green Tint */
    padding: 20px !important;
    border-radius: 8px !important;
}

.comment-form-photo label {
    color: #1D6F42 !important; /* Dark Green Text */
    font-weight: bold;
}













/* =========================================
   MOBILE FIX: FORCE VERTICAL STACK (NUCLEAR OPTION)
   ========================================= */
@media only screen and (max-width: 768px) {

    /* 1. Force the Container to be a Vertical Column */
    .woocommerce #reviews #comments ol.commentlist li .comment_container {
        display: flex !important;
        flex-direction: column !important; /* Forces items Top-to-Bottom */
        align-items: flex-start !important;
        padding: 20px !important;
        height: auto !important;
        position: relative !important;
    }

    /* 2. PUSH the Avatar away from everything */
    .woocommerce #reviews #comments ol.commentlist li img.avatar {
        display: block !important;
        position: static !important; /* Stop floating */
        float: none !important;
        margin: 0 0 20px 0 !important; /* 20px Gap BELOW image */
        width: 60px !important;
        height: 60px !important;
    }

    /* 3. FIX THE STARS (The Overlap Cause) */
    .woocommerce #reviews #comments ol.commentlist li .star-rating {
        position: static !important; /* Stop floating */
        float: none !important;
        clear: both !important;      /* Force new line */
        display: block !important;   /* Behave like a block */
        margin: 0 0 10px 0 !important; /* 10px Gap BELOW stars */
        width: 100% !important;
        height: 25px !important;     /* Force height so nothing sits on it */
    }

    /* 4. Fix the Star Text ("Rated 5 out of 5") */
    .woocommerce #reviews #comments ol.commentlist li .star-rating span {
        color: #ffb800 !important;
        float: none !important;
        position: static !important;
    }

    /* 5. Reset Name & Date Position */
    .woocommerce #reviews #comments ol.commentlist li .meta {
        margin-bottom: 10px !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
    }

    /* 6. Ensure Content Area is Clear */
    .woocommerce #reviews #comments ol.commentlist li .comment-text {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        clear: both !important;
    }
}














/* =========================================
   FIX: REVIEW PAGINATION (Green Buttons)
   Styles the ← and → arrows at the bottom of reviews
   ========================================= */

/* 1. Container for Pagination */
.woocommerce-pagination, 
#reviews .pagination, 
.pagination-wrapper {
    margin-top: 30px !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    clear: both !important; /* Forces it to the bottom */
}

/* 2. The Buttons (Numbers & Arrows) */
.woocommerce-pagination .page-numbers, 
#reviews .page-numbers {
    display: inline-block !important;
    padding: 8px 15px !important;
    margin: 0 5px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important; /* Rounded corners */
    background-color: #fff !important;
    color: #555 !important;
    font-weight: bold !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
}

/* 3. The "Active" Page (Current Page) */
.woocommerce-pagination .page-numbers.current,
#reviews .page-numbers.current {
    background-color: var(--uc-btn-bg) !important; /* Green Background */
    color: #fff !important;               /* White Text */
    border-color: var(--uc-btn-bg) !important;
}

/* 4. Hover Effect */
.woocommerce-pagination .page-numbers:hover,
#reviews .page-numbers:hover {
    background-color: #f9fdf0 !important; /* Light Green */
    border-color: var(--uc-btn-bg) !important;
    color: #1D6F42 !important;
}

/* 5. Fix the Arrow Icons specifically */
.woocommerce-pagination .next, 
.woocommerce-pagination .prev {
    font-size: 18px !important; /* Make arrows slightly larger */
    vertical-align: middle !important;
}























/* =========================================
   PRODUCT DESCRIPTION TAB MAKEOVER
   Matches the "Green Card" Theme
   ========================================= */

/* 1. THE MAIN CONTAINER (The Green Box) */
.woocommerce-tabs .panel {
    background: #ffffff !important;
    border: 2px solid #869e28 !important; /* Theme Green Border */
    border-radius: 12px !important;       /* Rounded Corners */
    padding: 40px !important;             /* Spacious padding */
    margin-bottom: 40px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important; /* Soft Shadow */
}

/* 2. REMOVE THE DEFAULT TAB BORDER (So it looks seamless) */
.woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 0 -2px 20px !important; /* Overlaps the border slightly */
    border: none !important;
    overflow: visible !important;
}

/* 3. STYLE THE TAB BUTTONS (Description, Reviews, etc.) */
.woocommerce-tabs ul.tabs li {
    background: #f8f8f8 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px 8px 0 0 !important; /* Round top corners only */
    margin-right: 5px !important;
    padding: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
    color: #555 !important;
    font-weight: 600 !important;
    padding: 12px 25px !important;
    display: inline-block !important;
}

/* Active Tab (The one selected) */
.woocommerce-tabs ul.tabs li.active {
    background: #ffffff !important;
    border: 2px solid #869e28 !important; /* Green Border */
    border-bottom: 2px solid #ffffff !important; /* Hides bottom border to merge with box */
    position: relative !important;
    z-index: 5 !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #1D6F42 !important; /* Dark Green Text */
}

/* =========================================
   INSIDE THE DESCRIPTION (Typography)
   ========================================= */

/* 4. HEADINGS (Like "Product Description" or "Key Benefits") */
.woocommerce-tabs .panel h2,
.woocommerce-tabs .panel h3 {
    color: #333 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #f0f0f0 !important; /* Light grey line */
    position: relative !important;
    display: inline-block !important;
}

/* Add the Green Underline Accent */
.woocommerce-tabs .panel h2::after,
.woocommerce-tabs .panel h3::after {
    content: "" !important;
    position: absolute !important;
    bottom: -2px !important; /* Sits on the grey line */
    left: 0 !important;
    width: 60px !important;
    height: 2px !important;
    background-color: var(--uc-btn-bg) !important; /* Green Accent */
}

/* 5. PARAGRAPH TEXT (Readability) */
.woocommerce-tabs .panel p {
    color: #555 !important;
    font-size: 16px !important;
    line-height: 1.8 !important; /* More breathing room */
    margin-bottom: 20px !important;
}

/* 6. BULLET POINTS / LISTS (Green Checks) */
.woocommerce-tabs .panel ul {
    list-style: none !important; /* Remove default dots */
    margin: 20px 0 !important;
    padding-left: 0 !important;
}

.woocommerce-tabs .panel ul li {
    position: relative !important;
    padding-left: 30px !important; /* Space for icon */
    margin-bottom: 12px !important;
    font-size: 15px !important;
    color: #444 !important;
}

/* Create a Green Checkmark or Bullet */
.woocommerce-tabs .panel ul li::before {
    content: "✔" !important; /* Checkmark Icon */
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    color: var(--uc-btn-bg) !important; /* Green Color */
    font-weight: bold !important;
    font-size: 16px !important;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .woocommerce-tabs .panel {
        padding: 20px !important; /* Less padding on mobile */
    }
    
    .woocommerce-tabs ul.tabs li {
        display: block !important; /* Stack tabs on mobile */
        width: 100% !important;
        margin: 0 0 5px 0 !important;
        border-radius: 6px !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
    
    .woocommerce-tabs ul.tabs li.active {
        border-bottom: 2px solid #869e28 !important; /* Full border on mobile */
    }
}




/* Forces the infographic titles to stay white on the frontend */
.wp-block-post-content h2, 
.entry-content h2, 
#content h2 {
    color: white !important;
}

/* If you are using a specific class for your generated content */
.gemini-generated-content {
    color: white !important;
}



/* 1. REMOVE MAGNIFYING GLASS ICON (Top Right) */
.woocommerce-product-gallery__trigger {
    display: none !important;
}

/* 2. MAIN GALLERY CONTAINER BOUNDARY */
.woocommerce-product-gallery__wrapper {
    border: 1px solid #ddd !important;
    background: #fff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* 3. SQUARE LENS ZOOM STYLE */
.woocommerce-product-gallery__image {
    overflow: hidden !important;
    border-radius: 0px !important;
}

.zoomImg {
    cursor: crosshair !important;
    background-color: #fff;
    border: 1px solid #999; /* Square box boundary while zooming */
}

/* 4. TO-AND-FRO ARROWS (Grey/White Style) */
.custom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999 !important; 
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #ddd !important;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #333 !important; /* Forces black/grey icon */
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Position adjustments */
.slick-prev.custom-nav { left: 15px; }
.slick-next.custom-nav { right: 15px; }

/* Remove Green Hover - Simple Highlight instead */
.custom-nav:hover {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 5. THUMBNAIL IMAGES & BOUNDARY BOXES */
.flex-control-thumbs {
    display: flex !important;
    justify-content: flex-start !important;
    list-style: none !important;
    padding: 20px 0 0 0 !important;
    margin: 0 !important;
    gap: 12px !important;
    opacity: 1 !important;
}

.flex-control-thumbs li {
    width: 22% !important;
    padding: 0 !important;
    float: none !important; /* Ensures flex layout works */
}

.flex-control-thumbs img {
    display: block !important;
    border: 1px solid #ddd !important;
    padding: 5px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    cursor: pointer;
    height: auto !important;
    max-width: 100% !important;
}

/* Highlight active thumbnail with green boundary only here */
.flex-control-thumbs img.flex-active {
    border: 2px solid #7DA23F !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}








/* =========================================
   CART BLOCK MODERN STYLING (Green Theme)
   ========================================= */

/* 1. Style the "Proceed to Checkout" Button */
.wc-block-cart__submit-button, 
.wc-block-components-button.contained {
    background-color: #7dbd3b !important;
    color: #ffffff !important;
    border: none !important;
    padding: 18px 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(125, 189, 59, 0.2) !important;
}

/* Hover Effect for Button */
.wc-block-cart__submit-button:hover,
.wc-block-components-button.contained:hover {
    background-color: #6b9f2d !important;
    box-shadow: 0 6px 15px rgba(125, 189, 59, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* 2. Add Green Boundary to the Cart Totals Section */
.wc-block-cart__totals-container {
    background: #ffffff !important;
    border: 2px solid #7dbd3b !important; /* The Green Border you requested */
    border-radius: 12px !important;
    padding: 25px !important;
    margin-top: 20px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
}

/* 3. Style the Cart Header & Dividers */
.wc-block-cart-items__header, 
.wc-block-cart__totals-title {
    border-bottom: 2px solid #7dbd3b !important;
    color: #333 !important;
    font-weight: 700 !important;
    padding-bottom: 10px !important;
}

/* 4. Fix typography and alignment */
.wc-block-cart {
    font-family: 'Inter', sans-serif !important;
}

.wc-block-components-totals-item__label {
    font-weight: 600 !important;
    color: #333 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #7dbd3b !important;
    font-weight: 800 !important;
    font-size: 22px !important;
}




/* =========================================
   CREATIVE PRODUCT TABS (Green Healthcare Style)
   ========================================= */

/* 1. Container & Layout */
.woocommerce-tabs ul.tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    border: none !important; /* Remove the old bottom line */
    padding: 20px 0 !important;
    margin-bottom: 30px !important;
    overflow: visible !important;
}

/* 2. Turning Tabs into "Pill" Buttons */
.woocommerce-tabs ul.tabs li {
    background: #f1f5f9 !important; /* Light grey base */
    border: 1px solid #e2e8f0 !important;
    border-radius: 50px !important; /* Makes it rounded/creative */
    padding: 0 10px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.woocommerce-tabs ul.tabs li a {
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 12px 25px !important;
    display: inline-block !important;
    text-decoration: none !important;
}

/* 3. The Active/Green State */
.woocommerce-tabs ul.tabs li.active {
    background: #7dbd3b !important; /* Your Theme Green */
    border-color: #6b9f2d !important;
    transform: translateY(-3px); /* Subtle "pop" effect */
    box-shadow: 0 4px 12px rgba(125, 189, 59, 0.3) !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #ffffff !important; /* White text on green background */
}

/* 4. Hover Effect for inactive tabs */
.woocommerce-tabs ul.tabs li:not(.active):hover {
    background: #eef2f5 !important;
    border-color: #7dbd3b !important;
}

/* 5. The Content Panel Boundary Box */
.woocommerce-Tabs-panel {
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 15px !important;
    border: 1px solid #eef2f5 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    animation: fadeInTab 0.5s ease;
}

/* Animation for clicking tabs */
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 6. Clean up the default WooCommerce styling */
.woocommerce-tabs ul.tabs::before, 
.woocommerce-tabs ul.tabs li::after, 
.woocommerce-tabs ul.tabs li::before {
    display: none !important; /* Removes the old WooCommerce "curved" corners */
}



/* =========================================
   CREATIVE CONTINUE BUTTON (Action Style)
   ========================================= */

/* 1. Container Alignment */
.tab-navigation-buttons {
    padding: 30px 0;
    display: flex;
    justify-content: flex-end; /* Aligns button to the right for "Next" flow */
    border-top: 1px solid #eee;
    margin-top: 20px;
}

/* 2. The Button Styling */
.tab-navigation-buttons .continue-btn {
    background-color: #7dbd3b !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 14px 40px !important;
    border-radius: 50px !important; /* Matches the "Pill" tab style */
    border: none !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(125, 189, 59, 0.2) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

/* 3. Creative Arrow Effect (Appears on Hover) */
.tab-navigation-buttons .continue-btn::after {
    content: '→';
    font-size: 22px;
    opacity: 0;
    transition: 0.3s;
    transform: translateX(-10px);
}

/* 4. Hover State */
.tab-navigation-buttons .continue-btn:hover {
    background-color: #6b9f2d !important;
    box-shadow: 0 6px 20px rgba(125, 189, 59, 0.4) !important;
    padding-right: 50px !important; /* Makes room for the arrow */
}

.tab-navigation-buttons .continue-btn:hover::after {
    opacity: 1;
    transform: translateX(5px);
}

/* 5. Mobile Adjustments */
@media (max-width: 768px) {
    .tab-navigation-buttons {
        justify-content: center;
    }
    .tab-navigation-buttons .continue-btn {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================
   STEP-BY-STEP NAVIGATION BUTTONS
   ========================================= */

/* 1. The Container - Spacing things out */
.tab-navigation-buttons {
    display: flex !important;
    justify-content: space-between !important; /* Pushes buttons to opposite sides */
    align-items: center;
    padding: 30px 20px !important;
    background: #fcfdfa; /* Very faint green tint background */
    border-radius: 15px;
    border: 1px dashed #7dbd3b; /* Creative dashed boundary */
    margin-top: 40px;
}

/* 2. Common Button Styles (The "Pill" look) */
.tab-navigation-buttons .button {
    padding: 14px 35px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 3. The "CONTINUE" Button (Primary Action) */
.tab-navigation-buttons .continue-btn {
    background-color: #7dbd3b !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(125, 189, 59, 0.3) !important;
}

.tab-navigation-buttons .continue-btn:hover {
    background-color: #6b9f2d !important;
    transform: translateX(5px); /* Moves slightly right on hover */
    box-shadow: 0 6px 20px rgba(125, 189, 59, 0.5) !important;
}

/* Add an arrow to Continue */
.tab-navigation-buttons .continue-btn::after {
    content: '→';
    font-size: 18px;
}

/* 4. The "PREVIOUS" Button (Secondary Action) */
.tab-navigation-buttons .previous-btn {
    background-color: transparent !important;
    color: #7dbd3b !important; /* Green text instead of background */
    border: 2px solid #7dbd3b !important; /* Outline style */
}

.tab-navigation-buttons .previous-btn:hover {
    background-color: #f1f8e9 !important; /* Very light green hover */
    color: #6b9f2d !important;
    transform: translateX(-5px); /* Moves slightly left on hover */
}

/* Add an arrow to Previous */
.tab-navigation-buttons .previous-btn::before {
    content: '←';
    font-size: 18px;
}

/* 5. Mobile Layout (Stack them on small screens) */
@media (max-width: 600px) {
    .tab-navigation-buttons {
        flex-direction: column-reverse; /* Continue button on top for mobile thumb reach */
        gap: 15px;
    }
    .tab-navigation-buttons .button {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================
   FINAL CHECKOUT: PLACE ORDER BUTTON
   ========================================= */

/* 1. The Main Button Styling */
#place_order, 
.woocommerce-checkout #payment #place_order {
    background-color: #7dbd3b !important; /* Your Theme Green */
    color: #ffffff !important;
    font-size: 20px !important; /* Slightly larger for importance */
    font-weight: 800 !important;
    padding: 20px 40px !important;
    border-radius: 12px !important; /* Elegant rounded corners */
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    width: 100% !important; /* Full width for better mobile tap-target */
    cursor: pointer;
    transition: all 0.4s ease !important;
    box-shadow: 0 8px 20px rgba(125, 189, 59, 0.3) !important;
    display: block !important;
    margin-top: 20px !important;
}

/* 2. Hover & Interaction State */
#place_order:hover, 
.woocommerce-checkout #payment #place_order:hover {
    background-color: #6b9f2d !important; /* Darker Green */
    box-shadow: 0 10px 25px rgba(125, 189, 59, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* 3. The "Processing" State (When clicked) */
#place_order:active {
    transform: translateY(1px) !important;
    box-shadow: 0 4px 10px rgba(125, 189, 59, 0.2) !important;
}

/* 4. Adding a "Secure" icon feel via CSS (Optional) */
#place_order::before {
    content: '🔒'; /* Adds a small lock icon for trust */
    margin-right: 10px;
    font-size: 18px;
    vertical-align: middle;
}

/* 5. Mobile optimization */
@media (max-width: 768px) {
    #place_order {
        font-size: 18px !important;
        padding: 15px 20px !important;
    }
}





/* =========================================
   CHECKOUT PROGRESS TRACKER (Stepped Style)
   ========================================= */

/* 1. Container Styling */
.checkout-tabs-nav {
    margin-bottom: 40px;
    padding: 20px 0;
}

.checkout-tabs-nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* 2. The Connecting Line (Background) */
.checkout-tabs-nav ul::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0; /* Light grey line */
    z-index: 1;
    transform: translateY(-50%);
}

/* 3. Individual Tab Items */
.checkout-tabs-nav li {
    position: relative;
    z-index: 2; /* Sits above the line */
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
}

.checkout-tabs-nav li span {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

/* 4. ACTIVE STEP (The "Green" State) */
.checkout-tabs-nav li.active {
    background: #7dbd3b !important; /* Your Theme Green */
    border-color: #7dbd3b !important;
    box-shadow: 0 4px 10px rgba(125, 189, 59, 0.3);
    transform: scale(1.05); /* Make the current step pop */
}

.checkout-tabs-nav li.active span {
    color: #ffffff !important;
}

/* 5. Completed Step Indicator (Optional visual cue) */
/* If your JavaScript adds a "completed" class, use this: */
.checkout-tabs-nav li.completed {
    border-color: #7dbd3b;
    background: #ffffff;
}
.checkout-tabs-nav li.completed span {
    color: #7dbd3b;
}

/* 6. Mobile Responsiveness */
@media (max-width: 768px) {
    .checkout-tabs-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .checkout-tabs-nav ul::before {
        display: none; /* Hide line on mobile */
    }
    .checkout-tabs-nav li {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================
   CREATIVE ERROR MESSAGES (Healthcare Style)
   ========================================= */

/* 1. The Main Error Box */
.woocommerce-error {
    background-color: #fffafa !important; /* Extremely soft red tint */
    border: none !important;
    border-left: 5px solid #ff4d4d !important; /* Strong medical red accent */
    border-radius: 8px !important;
    padding: 20px 30px !important;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.1) !important;
    list-style: none !important;
    margin-bottom: 30px !important;
    position: relative;
    overflow: hidden;
}

/* 2. Styling the Error List Items */
.woocommerce-error li {
    color: #333 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 8px 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 3. Creative "Alert" Icon (CSS-based) */
.woocommerce-error li::before {
    content: '!';
    background: #ff4d4d;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

/* 4. Styling the Links (Back to field) */
.woocommerce-error li a {
    color: #ff4d4d !important;
    text-decoration: none !important;
    border-bottom: 1px dashed #ff4d4d;
    transition: all 0.3s ease;
}

.woocommerce-error li a:hover {
    color: #cc0000 !important;
    border-bottom-style: solid;
}

/* 5. Highlight the "Required Field" text */
.woocommerce-error li strong {
    color: #ff4d4d;
    font-weight: 700;
}

/* 6. Subtle Pulse Animation to catch attention */
@keyframes errorPulse {
    0% { border-left-color: #ff4d4d; }
    50% { border-left-color: #ffcccc; }
    100% { border-left-color: #ff4d4d; }
}

.woocommerce-error {
    animation: errorPulse 2s infinite ease-in-out;
}






/* =========================================
   2026 MODERN HEALTHCARE FORM STYLING
   ========================================= */

/* 1. The "Clean Card" Look for Tab Content */
.tab-content {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04) !important;
    border: 1px solid #f0f0f0 !important;
    animation: slideUp 0.4s ease-out;
}

/* 2. Modern Floating Inputs */
.woocommerce-checkout .form-row input.input-text, 
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    background-color: #f9fbf9 !important; /* Extremely faint green tint */
    border: 2px solid #eef2f5 !important;
    border-radius: 12px !important;
    padding: 15px 18px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    color: #333 !important;
}

/* 3. Input Focus State (The "Glow") */
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: #7dbd3b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(125, 189, 59, 0.1) !important;
    outline: none !important;
}

/* 4. Healthcare Radio & Checkbox Styling */
/* Makes them look like modern toggle-buttons */
.radio-group-container fieldset {
    border: 1px solid #eef2f5 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    margin-bottom: 15px !important;
}

.radio-group-container label {
    background: #ffffff;
    border: 2px solid #eef2f5;
    padding: 10px 20px;
    border-radius: 8px;
    margin-right: 10px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}

.radio-group-container input[type="radio"]:checked + label,
.radio-group-container label:has(input[type="radio"]:checked) {
    border-color: #7dbd3b !important;
    background: #f1f8e9 !important;
    color: #6b9f2d !important;
}

/* 5. The "Medical History" Section Headline */
#medical-history-form-container h2 {
    font-size: 24px;
    color: var(--uc-body-text);
    font-weight: 800;
    margin-bottom: 25px;
    border-left: 5px solid #7dbd3b;
    padding-left: 15px;
}

/* 6. Order Review Table (Summary Box) */
.shop_table.woocommerce-checkout-review-order-table {
    border-radius: 15px !important;
    overflow: hidden !important;
    border: none !important;
    background: #fcfdfa !important;
}

.shop_table thead th {
    background: #7dbd3b !important;
    color: white !important;
    padding: 15px !important;
}

/* 7. Mobile Optimization (The "Fat Finger" Rule) */
@media (max-width: 768px) {
    .tab-content {
        padding: 20px 15px !important;
    }
    
    .form-row-first, .form-row-last {
        width: 100% !important; /* Stack fields on mobile */
    }
    
    .woocommerce-checkout .form-row input.input-text {
        font-size: 18px !important; /* Larger text for mobile readability */
    }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   2026 MODERN CART BLOCK TRANSFORMATION
   ========================================= */

/* 1. Table Header - Professional & Clean */
.wc-block-cart-items__header {
    background: #f8fbf8 !important; /* Very soft green tint */
    border-bottom: 2px solid #7dbd3b !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wc-block-cart-items__header th span {
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

/* 2. Product Rows - "Floating Card" Style */
.wc-block-cart-items__row {
    border-bottom: 1px solid #eee !important;
    transition: background 0.3s ease;
    padding: 20px 0 !important;
}

.wc-block-cart-items__row:hover {
    background-color: #fcfdfa !important;
}

/* 3. Product Images - Rounded & Bordered */
.wc-block-cart-item__image img {
    border-radius: 12px !important;
    border: 1px solid #eef2f5 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}

/* 4. Sale Badges - "The Green Highlight" */
.wc-block-components-sale-badge {
    background-color: #7dbd3b !important; /* Your signature green */
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-size: 11px !important;
    text-transform: uppercase;
}

/* 5. Modern Quantity Selector */
.wc-block-components-quantity-selector {
    border: 2px solid #eef2f5 !important;
    border-radius: 50px !important; /* Pill shape */
    background: #fff !important;
    overflow: hidden;
    max-width: 120px !important;
}

.wc-block-components-quantity-selector__button {
    background: transparent !important;
    color: #7dbd3b !important;
    font-weight: bold !important;
    transition: 0.3s !important;
}

.wc-block-components-quantity-selector__button:hover {
    background: #f1f8e9 !important;
}

.wc-block-components-quantity-selector__input {
    font-weight: 700 !important;
    border: none !important;
}

/* 6. "Remove Item" Link - Clean & Subtle */
.wc-block-cart-item__remove-link {
    color: #999 !important;
    font-size: 12px !important;
    text-decoration: none !important;
    margin-top: 10px !important;
    display: inline-block !important;
}

.wc-block-cart-item__remove-link:hover {
    color: #ff4d4d !important; /* Subtle red for deletion */
}

/* 7. Coupon Section - Glassmorphism touch */
.wc-block-components-panel__button {
    background: #f1f8e9 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    color: #6b9f2d !important;
    font-weight: 600 !important;
    border: 1px dashed #7dbd3b !important;
}

/* 8. Total Amount - Big & Authoritative */
.wc-block-components-totals-footer-item-tax-value {
    color: #7dbd3b !important;
    font-size: 28px !important;
    font-weight: 900 !important;
}

/* 9. Estimated Total Box Boundary */
.wc-block-cart__sidebar {
    background: #ffffff !important;
    border: 2px solid #7dbd3b !important;
    border-radius: 20px !important;
    padding: 25px !important;
    box-shadow: 0 10px 30px rgba(125, 189, 59, 0.1) !important;
}




/* Change Product Title Color */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    color: #7DA63F; /* This is an approximate olive green to match your theme */
}

/* Optional: Change color on hover (when mouse moves over it) */
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: #5d802b; /* A slightly darker green for effect */
}



/* Container */
.reviews-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f4f4f4; /* Light grey bg from screenshot */
    font-family: 'Arial', sans-serif;
}

/* Header */
.reviews-header h1 {
    text-align: center;
    font-size: 24px;
    color: var(--uc-body-text);
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Summary Card */
.rating-summary-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    gap: 40px;
}

.rating-left {
    text-align: center;
}

.big-rating {
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
    color: var(--uc-body-text);
}

.big-stars {
    color: #f4c150; /* Golden yellow */
    font-size: 24px;
    margin: 10px 0;
}

.total-reviews-text {
    color: #666;
    font-size: 14px;
}

.rating-bars {
    flex: 1;
    max-width: 400px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #555;
}

.star-label {
    width: 50px;
}

.bar-container {
    flex: 1;
    height: 10px;
    background-color: #e0e0e0;
    margin: 0 10px;
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: #f4c150;
}

.percentage {
    width: 80px;
    text-align: right;
}

/* Grid for Reviews */
.all-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .all-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Review Item Card */
.review-item-card {
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 5px solid #8bc34a; /* The Green Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reviewer-header {
    margin-bottom: 5px;
}

.r-name {
    font-weight: bold;
    color: var(--uc-body-text);
    font-size: 16px;
}

.r-stars {
    color: #f4c150;
    font-size: 14px;
    margin-bottom: 10px;
}

.r-title {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin: 10px 0;
}

.r-body p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.r-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

/* Owner Reply Box */
.owner-reply-box {
    background-color: #eef1f3; /* Light gray bg */
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    border-left: 3px solid #666;
    font-size: 13px;
}

.reply-header {
    font-weight: bold;
    color: #7c9c38; /* Greenish text color */
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reply-content {
    color: var(--uc-body-text);
    line-height: 1.4;
}

/* Pagination */
.pagination-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.pagination-info {
    font-weight: bold;
    color: var(--uc-body-text);
}

.pagination-nav .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    margin-left: 5px;
    color: #0073aa;
    text-decoration: none;
    border-radius: 3px;
}

.pagination-nav .page-numbers.current {
    background-color: var(--uc-body-text);
    color: #fff;
    border-color: var(--uc-body-text);
}






   /* Main Container */
    .reviews-page-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
        background-color: #f4f4f4;
        font-family: 'Arial', sans-serif;
    }

    /* Page Heading */
    .reviews-header h1 {
        text-align: center;
        font-size: 24px;
        color: var(--uc-body-text);
        margin-bottom: 30px;
        font-weight: 700;
        text-transform: uppercase;
        margin-top: 20px;
    }

    /* Top Summary Card (The white box with 4.9 rating) */
    .rating-summary-card {
        background: #fff;
        border-radius: 10px;
        padding: 30px;
        display: flex; /* Makes the rating and bars sit side-by-side */
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        margin-bottom: 40px;
        gap: 40px;
    }

    /* Left side of summary (4.9 Stars) */
    .rating-left {
        text-align: center;
        min-width: 200px;
    }

    .big-rating {
        font-size: 64px;
        font-weight: 400;
        line-height: 1;
        color: var(--uc-body-text);
    }

    .big-stars {
        color: #f4c150; /* Golden yellow */
        font-size: 24px;
        margin: 10px 0;
    }

    .total-reviews-text {
        color: #666;
        font-size: 14px;
    }

    /* Right side of summary (The progress bars) */
    .rating-bars {
        flex: 1;
        max-width: 400px;
        min-width: 300px;
    }

    .rating-bar-row {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        font-size: 13px;
        color: #555;
    }

    .star-label {
        width: 60px;
        font-weight: bold;
    }

    .bar-container {
        flex: 1;
        height: 10px;
        background-color: #e0e0e0;
        margin: 0 10px;
        border-radius: 5px;
        overflow: hidden;
    }

    .bar-fill {
        height: 100%;
        background-color: #f4c150;
    }

    .percentage {
        width: 90px;
        text-align: right;
    }

    /* Reviews Grid Layout */
    .all-reviews-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); /* Creates 2 columns automatically */
        gap: 20px;
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .all-reviews-grid {
            grid-template-columns: 1fr; /* 1 column on mobile */
        }
        .rating-summary-card {
            flex-direction: column;
            gap: 20px;
        }
        .rating-bars {
            min-width: 100%;
        }
    }

    /* Individual Review Card Style */
    .review-item-card {
        background: #fff;
        border-radius: 4px;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        border-left: 5px solid #8bc34a; /* THE GREEN BORDER */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .reviewer-header {
        margin-bottom: 5px;
    }

    .r-name {
        font-weight: bold;
        color: var(--uc-body-text);
        font-size: 16px;
    }

    .r-stars {
        color: #f4c150;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .r-title {
        font-size: 16px;
        font-weight: bold;
        color: #555;
        margin: 10px 0;
    }

    .r-body p {
        color: #666;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .r-date {
        font-size: 12px;
        color: #999;
        margin-bottom: 15px;
    }

    /* Owner Reply Box Style */
    .owner-reply-box {
        background-color: #eef1f3; /* Light gray background */
        padding: 15px;
        border-radius: 4px;
        margin-top: 15px;
        border-left: 3px solid #666;
        font-size: 13px;
    }

    .reply-header {
        font-weight: bold;
        color: #7c9c38; /* Green text for "Reply from..." */
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .reply-content {
        color: var(--uc-body-text);
        line-height: 1.4;
    }

    /* Pagination (Bottom of page) */
    .pagination-wrapper {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 20px;
        border-top: 1px solid #ddd;
        margin-top: 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .pagination-info {
        font-weight: bold;
        color: var(--uc-body-text);
    }

    .pagination-nav .page-numbers {
        display: inline-block;
        padding: 5px 12px;
        border: 1px solid #ddd;
        margin-left: 5px;
        color: var(--uc-body-text);
        text-decoration: none;
        border-radius: 3px;
        background: #fff;
    }

    .pagination-nav .page-numbers.current {
        background-color: #4a4a4a;
        color: #fff;
        border-color: #4a4a4a;
    }


   /* Page Background */
    .bac-reviews-wrapper {
        background-color: #fcfcfc; 
        padding: 40px 0;
        font-family: 'Arial', sans-serif;
    }
    
    .bac-reviews-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* Page Title */
    .bac-reviews-title {
        text-align: center;
        margin-bottom: 40px;
        font-size: 28px;
        color: var(--uc-logo-color); /* Theme Green */
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* =========================================
       UNIQUE REVIEW CARD STYLE (Renamed to prevent conflicts)
       ========================================= */
    .bac-review-card {
        background: #ffffff;
        border: 2px solid #869e28; /* Green Border */
        border-radius: 12px;       /* Rounded Corners */
        padding: 25px;
        margin-bottom: 25px;
        display: flex;             /* Desktop: Side-by-Side */
        gap: 20px;
        position: relative;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
    }

    .bac-review-card:hover {
        transform: translateY(-3px); /* Hover Float Effect */
    }

    /* Override any theme slider styles that might try to target children */
    .bac-review-card * {
        box-sizing: border-box;
    }

    /* LEFT: Avatar */
    .bac-review-avatar {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
    }
    
    .bac-review-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%; /* Circle Avatar */
        background: #eee;
        border: 2px solid var(--uc-search-border);
        display: block;
    }

    /* RIGHT: Content */
    .bac-review-content {
        flex-grow: 1;
        width: 100%; 
    }

    /* Header Line */
    .bac-meta-header {
        display: flex;
        justify-content: space-between; 
        align-items: flex-start;
        margin-bottom: 10px;
        border-bottom: 1px solid #f9f9f9;
        padding-bottom: 8px;
    }

    .bac-meta-author {
        font-size: 15px;
        font-weight: 800;
        color: var(--uc-body-text);
    }

    .bac-meta-date {
        font-weight: 600;
        color: var(--uc-btn-bg); /* Green Date */
        font-size: 12px;
        text-transform: uppercase;
        margin-left: 5px;
    }

    /* Gold Stars */
    .bac-stars {
        color: #ffb800; 
        font-size: 14px;
        letter-spacing: 2px;
        white-space: nowrap; 
    }

    /* Product Link */
    .bac-product-link {
        display: inline-block;
        font-size: 12px;
        text-transform: uppercase;
        color: #555;
        font-weight: 600;
        margin-bottom: 10px;
        text-decoration: none;
        background: #f0f0f0;
        padding: 4px 10px;
        border-radius: 4px;
    }
    .bac-product-link:hover {
        background: #869e28;
        color: #fff;
    }

    /* Review Text */
    .bac-text p {
        font-size: 15px;
        color: #444;
        line-height: 1.6;
        margin: 0 0 15px;
    }

    /* Uploaded Photo */
    .bac-photo-box {
        margin-top: 10px;
    }
    .bac-photo-box img {
        border: 1px solid #ddd;
        padding: 3px;
        border-radius: 6px;
        background: #fff;
        max-width: 100px; 
        height: auto;
        display: block;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    /* Pagination */
    .bac-pagination {
        margin-top: 50px;
        text-align: center;
        border-top: 1px solid #ddd;
        padding-top: 30px;
    }
    .page-numbers {
        padding: 10px 15px;
        margin: 0 5px;
        border: 2px solid #eee;
        background: #fff;
        color: var(--uc-body-text);
        text-decoration: none;
        border-radius: 6px;
        font-weight: bold;
        display: inline-block; /* Ensure they sit side by side */
    }
    .page-numbers.current, .page-numbers:hover {
        background: #869e28; 
        color: #fff;
        border-color: var(--uc-btn-bg);
    }

    /* HIDE ANY ACCIDENTAL THEME ARROWS */
    .bac-review-card .slick-arrow,
    .bac-review-card .flex-direction-nav,
    .bac-review-card .owl-nav {
        display: none !important;
    }

    /* =========================================
       MOBILE RESPONSIVENESS
       ========================================= */
    @media (max-width: 768px) {
        .bac-review-card {
            flex-direction: column; /* Stack Avatar on top */
            gap: 15px;
            padding: 20px;
        }

        .bac-review-avatar {
            width: 50px;
            height: 50px;
            margin-bottom: 5px;
        }

        .bac-meta-header {
            flex-direction: column; /* Stack Name/Date and Stars */
            align-items: flex-start;
            gap: 8px;
        }

        .bac-stars {
            margin-top: 5px;
        }
    }
	
	
	
	               /* General Clean Up */
                .woocommerce-customer-details { display: none !important; }
                .woocommerce-order-details { margin-top: 0; }
                .woocommerce-order-details__title { 
                    font-size: 20px; 
                    font-weight: 700; 
                    color: var(--uc-body-text); 
                    margin-bottom: 20px; 
                }

                /* Table Structure */
                table.woocommerce-table--order-details { 
                    border: 1px solid #e0e0e0; 
                    border-radius: 8px; 
                    border-collapse: separate; 
                    border-spacing: 0;
                    width: 100%; 
                    margin-bottom: 0;
                }

                /* Table Header (Product / Total) */
                table.woocommerce-table--order-details thead th {
                    background-color: var(--uc-global-bg); 
                    color: #555;
                    font-weight: 700;
                    text-transform: uppercase;
                    font-size: 13px;
                    padding: 18px 25px;
                    border-bottom: 2px solid #eee;
                    text-align: left; /* Force Left Alignment */
                }

                /* Table Body (Items) */
                table.woocommerce-table--order-details tbody td {
                    padding: 18px 25px;
                    border-bottom: 1px solid #eee;
                    color: #555;
                    vertical-align: middle;
                    font-size: 15px;
                }
                table.woocommerce-table--order-details tbody td a {
                    color: var(--uc-logo-color); 
                    text-decoration: none; 
                    font-weight: 600;
                }

                /* Table Footer (Subtotal, Payment Method, Total) */
                /* FIX: Align labels to the left and give them width */
                table.woocommerce-table--order-details tfoot th {
                    text-align: left; 
                    padding: 18px 25px;
                    border-bottom: 1px solid #eee;
                    color: var(--uc-body-text);
                    font-weight: 600;
                    background-color: #fafafa;
                    width: 65%; /* Make the label column wider */
                }

                table.woocommerce-table--order-details tfoot td {
                    text-align: left;
                    padding: 18px 25px;
                    border-bottom: 1px solid #eee;
                    color: var(--uc-body-text);
                    background-color: #fafafa;
                }

                /* Special Style for the Final Total Row */
                table.woocommerce-table--order-details tfoot tr:last-child th,
                table.woocommerce-table--order-details tfoot tr:last-child td {
                    border-bottom: none;
                    font-size: 18px;
                    font-weight: 800;
                    color: var(--uc-logo-color);
                    background-color: #fff;
                    padding-top: 25px;
                    padding-bottom: 25px;
                }
				
				
 /* BASE STYLES (Desktop First) */
            .search-results-wrapper {
                background: #ffffff;
                border: 1px solid #e5e5e5;
                border-radius: 8px;
                /* Modern rounded corners */
                box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
                max-height: 450px;
                overflow-y: auto;
                position: absolute;
                z-index: 100000;
                width: 100%;
                left: 0;
                top: 100%;
                /* Correctly position below the input parent */
                margin-top: 8px;
                /* Slight gap */
            }

            /* Better Scrollbar for Webkit */
            .search-results-wrapper::-webkit-scrollbar {
                width: 6px;
            }

            .search-results-wrapper::-webkit-scrollbar-track {
                background: #f1f1f1;
            }

            .search-results-wrapper::-webkit-scrollbar-thumb {
                background: #ccc;
                border-radius: 3px;
            }

            .search-result-item {
                display: flex;
                padding: 12px 15px;
                border-bottom: 1px solid #f0f0f0;
                text-decoration: none !important;
                color: #333 !important;
                transition: background 0.2s ease;
            }

            .search-result-item:hover {
                background-color: #f9fdf9;
            }

            .search-result-item:last-child {
                border-bottom: none;
            }

            .result-thumbnail {
                width: 50px;
                height: 50px;
                margin-right: 15px;
                flex-shrink: 0;
                border-radius: 4px;
                overflow: hidden;
                background: #eee;
            }

            .result-thumbnail img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .result-content {
                flex-grow: 1;
            }

            .result-title {
                font-size: 15px;
                margin: 0 0 4px 0 !important;
                font-weight: 600;
                color: #222;
                line-height: 1.2;
            }

            .result-ingredient,
            .result-generic {
                font-size: 12px;
                margin: 0 0 2px 0 !important;
                color: #777;
                line-height: 1.3;
            }

            .result-price {
                color: #2c662d;
                font-weight: 700;
                font-size: 14px;
                margin-top: 6px;
            }

            .search-see-all {
                padding: 12px;
                background: #fff;
                border-top: 1px solid #eee;
                text-align: center;
                position: sticky;
                bottom: 0;
                z-index: 10;
            }

            .see-all-link {
                background: #2c662d;
                color: #fff !important;
                padding: 10px 20px;
                border-radius: 50px;
                display: inline-block;
                font-size: 13px;
                font-weight: 600;
                letter-spacing: 0.5px;
                text-decoration: none;
            }

            .see-all-link:hover {
                background: #1e4a1f;
            }

            .no-results-found {
                padding: 20px;
                text-align: center;
                color: #555;
            }

            .no-results-hint {
                font-size: 12px;
                color: #999;
                margin-top: 5px;
            }

            /* MOBILE OPTIMIZATIONS */
            @media (max-width: 768px) {
                .search-results-wrapper {
                    position: fixed;
                    /* Fixed relative to viewport to float above everything */
                    top: 135px;
                    /* Pushed down to sit BELOW the search bar */

                    /* CENTER PRECISELY */
                    left: 50%;
                    transform: translateX(-50%);

                    /* MATCH THE SEARCH BAR WIDTH */
                    width: 92%;

                    max-height: 60vh;
                    border-radius: 12px;
                    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
                    border: 1px solid rgba(0, 0, 0, 0.1);
                }

                /* If keyboard is open, ensure scrolling works smoothly */
                .search-results-wrapper {
                    -webkit-overflow-scrolling: touch;
                }

                .search-result-item {
                    padding: 15px;
                }

                .result-title {
                    font-size: 16px;
                }

                /* Larger text for touch */
                .result-price {
                    font-size: 15px;
                }
            }
			
			
			
			 .bac-log-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,0.1); }
            .bac-log-table th, .bac-log-table td { text-align: left; padding: 12px; border-bottom: 1px solid #eee; }
            .bac-log-table th { background: #f9f9f9; font-weight: 600; color: var(--uc-body-text); }
            .bac-log-table tr:hover { background: #f1f1f1; }
            .term-highlight { color: var(--uc-logo-color); font-weight: bold; font-size: 1.1em; }
            .actions-bar { display: flex; gap: 10px; margin-top: 20px; align-items: center; }
			
			
			        /* BASE STYLES FOR SINGLE PRODUCT & GLOBAL USE */
        /* Note: Index and Category pages might have their own CSS that overrides this, which is fine. */
        
        .faq-item {
            margin-bottom: 10px;
            border: 1px solid #e0e0e0;
            border-radius: 5px;
            overflow: hidden;
            background: #fff;
        }
        
        .faq-question {
            background-color: #7DA23F; /* Default Green */
            color: #fff;
            cursor: pointer;
            padding: 15px 20px;
            width: 100%;
            border: none;
            text-align: left;
            outline: none;
            font-size: 16px;
            font-weight: 600;
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* ICON LOGIC: Only show this CSS "+" if there is NO <i> tag (FontAwesome) inside */
        .faq-question:not(:has(i))::after {
            content: '+'; 
            font-size: 20px;
            font-weight: bold;
        }
        .faq-question.active:not(:has(i))::after {
            content: '-';
        }

        .faq-answer {
            padding: 0 20px;
            background-color: #fff;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s ease;
        }
        
        .faq-answer.open {
            padding-top: 15px;
            padding-bottom: 15px;
            border-top: 1px solid #f0f0f0;
        }
		
		
		.meta-label {
    color: #7DA23F;
    font-weight: bold;
}

.meta-generic,
.meta-active {
    margin-bottom: 6px;
}


.product-specs-box {
    background: #f8fbf6;
    border: 1px solid #e2e8de;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--uc-body-text);
}



.spec-row {
    display: flex;
    justify-content: space-between;
}

.spec-bordered {
    border-bottom: 1px dashed #e2e8de;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.spec-label {
    font-weight: 600;
    color: #7DA23F;
}

.spec-value {
    font-weight: 500;
    text-align: right;
}
