/* Home page separated CSS - moved from inline <style> blocks */

.banner,
#rev_slider_5_1_wrapper,
#rev_slider_5_1,
rs-module-wrap,
rs-module {
    width: 100% !important;
    max-width: 100% !important;
}

rs-module-wrap {
    left: 0 !important;
}
@media only screen and (max-width: 767px) {
    .rs-layer.rev-btn.pq-btn-bg-white {
        margin-bottom: 10px !important;
    }
    .rs-title-font {
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.3 !important;
        padding: 0 15px !important;
    }
}
/* READ MORE BUTTON - Hover Effect */
a.rs-layer.pq-button-flat:not(.pq-btn-bg-white):hover {
    background-color: #ffffff !important;
}

a.rs-layer.pq-button-flat:not(.pq-btn-bg-white):hover .pq-button-block,
a.rs-layer.pq-button-flat:not(.pq-btn-bg-white):hover .pq-button-text,
a.rs-layer.pq-button-flat:not(.pq-btn-bg-white):hover i {
    color: #00572d !important;
}

/* GET IN TOUCH BUTTON - Hover Effect */
a.rs-layer.pq-btn-bg-white:hover {
    background-color: #00572d !important;
    border-color: #00572d !important;
}

a.rs-layer.pq-btn-bg-white:hover .pq-button-block,
a.rs-layer.pq-btn-bg-white:hover .pq-button-text,
a.rs-layer.pq-btn-bg-white:hover i {
    color: #ffffff !important;
}

/* Force override any inline styles */
a.rs-layer.pq-button-flat {
    transition: all 0.5s ease-in-out !important;
}

a.rs-layer.pq-button-flat:hover .pq-button-block {
    transition: all 0.5s ease-in-out !important;
}

/* -------------------------------------------------- */

.offer-zone-section {
        overflow: hidden;
    }

    .offer-slider-wrapper {
        position: relative;
        overflow: hidden;
        padding: 5px 0 20px;
    }

    .offer-scroll-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 24px;
        width: max-content;
        animation: offerInfiniteScroll 35s linear infinite;
    }

    .offer-scroll-row:hover {
        animation-play-state: paused;
    }

    .offer-scroll-item {
        flex: 0 0 280px;
        max-width: 280px;
    }

    @keyframes offerInfiniteScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-33.333%);
        }
    }

    .offer-card {
        position: relative;
        background: #ffffff;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        height: 100%;
    }

    .offer-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,87,45,0.15);
    }

    .offer-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: #00572d;
        color: #ffffff;
        padding: 6px 12px;
        border-radius: 30px;
        font-size: 12px;
        font-weight: 700;
        z-index: 2;
    }

    .offer-img-box {
        height: 220px;
        overflow: hidden;
        background: #f0f4f2;
    }

    .offer-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.5s ease;
    }

    .offer-card:hover .offer-img-box img {
        transform: scale(1.08);
    }

    .offer-info {
        padding: 20px;
        text-align: center;
    }

    .offer-info h5 {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 12px;
        min-height: 45px;
    }

    .offer-price {
        margin-bottom: 10px;
    }

    .old-price {
        color: #000;
        text-decoration: line-through;
        font-size: 15px;
        margin-right: 8px;
    }

    .new-price {
        color: #00572d;
        font-size: 20px;
        font-weight: 800;
    }

    .offer-info p {
        color: #000;
        font-size: 14px;
    }

    .offer-info p i {
        color: #00572d;
        margin-right: 5px;
    }

    .offer-date {
        color: #dc3545 !important;
        font-weight: 600;
    }

    .offer-date i {
        color: #dc3545 !important;
    }

    .offer-arrow {
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        border: none;
        border-radius: 50%;
        background: #00572d;
        color: #ffffff;
        z-index: 99;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .offer-arrow:hover {
        background: #004422;
    }

    .offer-arrow-left {
        left: 0;
    }

    .offer-arrow-right {
        right: 0;
    }

    @media (max-width: 768px) {
        .offer-img-box {
            height: 200px;
        }

        .offer-info h5 {
            font-size: 16px;
            min-height: auto;
        }

        .new-price {
            font-size: 18px;
        }

        .offer-arrow {
            width: 36px;
            height: 36px;
        }
    }

    @media (max-width: 576px) {
        .offer-scroll-item {
            flex: 0 0 260px;
            max-width: 260px;
        }
    }

    /* Static mode: used when there are only 1-3 active offers.
       No animation, no infinite loop, no arrows — just the cards laid
       out directly and centered, since there's nothing to scroll to. */
    .offer-slider-wrapper.offer-static {
        padding: 5px 0;
    }

    .offer-scroll-row.offer-static-row {
        animation: none !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: center;
    }

    .offer-scroll-row.offer-static-row:hover {
        animation-play-state: initial;
    }

    @media (min-width: 992px) {
        .offer-scroll-row.offer-static-row {
            justify-content: center;
        }
    }

/* -------------------------------------------------- */

/* About Us Section - Zig Zag Layout */
.about-us {
    background: #ffffff;
    overflow: hidden;
}

.about-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.about-img-wrapper img {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    display: block;
}

.about-img-wrapper:hover img {
    transform: scale(1.03);
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,87,45,0.2) 0%, rgba(0,0,0,0) 100%);
    border-radius: 20px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-img-wrapper:hover::before {
    opacity: 1;
}

.about-content {
    padding: 10px 0;
}

.pq-button-flat:hover {
    background: #004422 !important;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-img-wrapper img {
        height: 350px !important;
    }
    .pq-section-main-title {
        font-size: 28px !important;
    }
}

@media (max-width: 768px) {
    .about-img-wrapper img {
        height: 280px !important;
    }
    .pq-section-main-title {
        font-size: 24px !important;
    }
    .pq-section-description {
        font-size: 14px !important;
    }
    .pq-list-check li span {
        font-size: 14px !important;
    }
}

@media (max-width: 576px) {
    .about-us {
        padding: 30px 0 !important;
    }
    .about-img-wrapper img {
        height: 220px !important;
    }
    .pq-section-main-title {
        font-size: 20px !important;
    }
    .pq-section-description {
        font-size: 13px !important;
    }
    .pq-list-heading {
        font-size: 18px !important;
    }
    .pq-list-check li span {
        font-size: 13px !important;
    }
}

.wow.animated {
    visibility: visible;
}

/* About Us Title Left Alignment Only */
.about-us .about-section-left {
    width: 100% !important;
    text-align: left !important;
}

.about-us .about-section-left .about-subtitle-left {
    display: block !important;
    width: 150px !important;
    color: #ffffff !important;
    background: #004422;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.about-us .about-section-left .pq-section-main-title,
.about-us .about-section-left .pq-section-description {
    width: 100% !important;
    text-align: justify !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* -------------------------------------------------- */

.category-card-link {
        text-decoration: none;
        display: block;
        color: inherit;
    }

    .category-card {
        background: #ffffff;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .category-img-box {
        width: 100%;
        height: 200px;
        overflow: hidden;
        background: #f0f4f2;
        position: relative;
    }

    .category-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.5s ease;
    }

    .category-img-box.category-img-fallback {
        background: linear-gradient(135deg, #00572d, #003d1f);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .category-img-box.category-img-fallback i,
    .category-fallback-icon {
        font-size: 60px;
        color: #fff;
    }

    .category-fallback-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .category-info {
        padding: 20px 20px 25px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .category-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #1a1a1a;
    }

    .product-read-more-wrap {
        display: flex;
        justify-content: center;
        margin-top: auto;
    }

    .product-read-more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 120px;
        background: #00572d;
        color: #ffffff !important;
        padding: 9px 16px;
        border-radius: 25px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        transition: all 0.3s ease;
        margin-top: 10px;
    }

    .pq-fancy-box:hover .product-read-more {
        background: #003d1f;
        transform: translateY(-2px);
    }

    .load-more-btn {
        background: #00572d;
        color: #fff;
        padding: 12px 30px;
        border: none;
        border-radius: 30px;
        transition: all 0.3s ease;
    }

    #loadMoreCategories:hover {
        background: #003d1f !important;
        transform: translateY(-2px);
    }

/* -------------------------------------------------- */

.brand-link {
    text-decoration: none;
    display: block;
}

.brand-heading-badge {
    display: inline-block;
    background: #ffffff;
    color: #00572d !important;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

/* Brand Logo Styling */

.brand-logo {
    display: block;
    max-width: 100%;
    height: 100px !important;
    width: auto;
    object-fit: contain;
    transition: all .3s ease;
}

.pq-image-box-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 15px;
    background: transparent;
}

.pq-image-box {
    transition: all .3s ease;
    cursor: pointer;
}

.pq-image-box:hover .brand-logo {
    transform: scale(1.05);
}

.pq-image-box img {
    filter: none !important;
}

.pq-image-box:hover {
    transform: translateY(-5px);
}

/* Logo Size Based Overlay */

.brand-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    line-height: 0;
    overflow: hidden;
}

.brand-hover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.brand-logo-wrap:hover .brand-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.brand-center-arrow {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #00572d;
    font-size: 18px;
    transform: scale(0.7);
    transition: all .3s ease;
}

.brand-logo-wrap:hover .brand-center-arrow {
    transform: scale(1);
}

/* Responsive */

@media (max-width: 1200px) {

    .brand-logo {
        height: 85px !important;
    }

    .pq-image-box-media {
        min-height: 120px;
    }

    .brand-hover-overlay {
        top: 13px;
        bottom: 13px;
    }

}

@media (max-width: 992px) {

    .brand-logo {
        height: 75px !important;
    }

    .pq-image-box-media {
        min-height: 110px;
    }

    .brand-hover-overlay {
        top: 11px;
        bottom: 11px;
    }

}

@media (max-width: 768px) {

    .brand-logo {
        height: 60px !important;
    }

    .pq-image-box-media {
        min-height: 95px;
        padding: 10px;
    }

    .pq-section-main-title {
        font-size: 24px !important;
    }

    .brand-center-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .brand-hover-overlay {
        top: 8px;
        bottom: 8px;
    }

}

@media (max-width: 576px) {

    .brand-logo {
        height: 50px !important;
    }

    .pq-image-box-media {
        min-height: 80px;
        padding: 8px;
    }

    .brand-center-arrow {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .brand-hover-overlay {
        top: 7px;
        bottom: 7px;
    }

    .brand-heading-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

}

/* -------------------------------------------------- */

/* Main Section */
    .google-review-section {
        background: #ffffff;
        overflow: hidden;
    }

    /* Full Width Container */
    .google-review-full-container {
        width: 100%;
        max-width: 100%;
        padding-left: 45px;
        padding-right: 45px;
    }

    /* Heading */
    .google-review-section .pq-section-sub-title {
        color: #00572d;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .google-review-section .pq-section-main-title {
        font-size: 32px;
        font-weight: 700;
        color: #1a1a1a;
        margin-top: 10px;
        margin-bottom: 12px;
    }

    .google-review-section .pq-section-description {
        max-width: 700px;
        color: #000;
        margin-top: 0;
        line-height: 1.7;
    }

    /* Main Widget Box */
    .google-rating-display {
        width: 100%;
        background: #ffffff;
        border: 1px solid #eeeeee;
        border-radius: 15px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        padding: 20px 24px 14px;
        overflow: hidden;
    }

    /*
    Controls the visible height of SociableKIT widget.
    This removes the extra blank area before rating text.
    */
    .google-widget-viewport {
        width: 100%;
        height: 375px;
        overflow: hidden;
        position: relative;
    }

    /*
    Makes the widget cards slightly smaller
    but still fills the full available width.
    */
    .google-widget-viewport .sk-ww-google-reviews {
        width: 111.12% !important;
        max-width: none !important;
        margin-left: -5.56% !important;
        transform: scale(0.90);
        transform-origin: top center;
    }

    .google-widget-viewport .sk-ww-google-reviews iframe {
        width: 100% !important;
        max-width: 100% !important;
        border: 0 !important;
    }

    /* Google Rating */
    .rating-count {
        margin-top: 0;
        text-align: center;
        color: #000;
        font-size: 14px;
        line-height: 1.2;
    }

    .rating-count i {
        color: #f7bb19;
        font-size: 14px;
        margin-right: 2px;
    }

    .rating-count span {
        margin-left: 8px;
        color: #000;
        font-weight: 500;
    }

    /* Button */
    .google-review-section .review-btn1 a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #00572d;
        color: #ffffff;
        padding: 14px 35px;
        border: 1px solid #00572d;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .google-review-section .review-btn1 a:hover {
        background: #004422 !important;
        border-color: #004422;
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(0, 87, 45, 0.22);
    }

    .google-review-section .review-btn1 a i {
        font-size: 16px;
    }

    /* Tablet */
    @media (max-width: 991px) {
        .google-review-full-container {
            padding-left: 25px;
            padding-right: 25px;
        }

        .google-rating-display {
            padding: 18px 15px 12px;
        }

        .google-widget-viewport {
            height: 365px;
        }

        .google-widget-viewport .sk-ww-google-reviews {
            width: 107.53% !important;
            margin-left: -3.76% !important;
            transform: scale(0.93);
        }
    }

    /* Mobile */
    @media (max-width: 767px) {
        .google-review-section {
            padding-top: 55px !important;
            padding-bottom: 55px !important;
        }

        .google-review-full-container {
            padding-left: 12px;
            padding-right: 12px;
        }

        .google-review-section .pq-section-main-title {
            font-size: 26px;
            line-height: 1.35;
        }

        .google-review-section .pq-section-description {
            font-size: 14px;
            padding-left: 8px;
            padding-right: 8px; 
        }

        .google-rating-display {
            padding: 15px 8px 12px;
            border-radius: 12px;
        }

        .google-widget-viewport {
            height: 390px;
        }

        .google-widget-viewport .sk-ww-google-reviews {
            width: 100% !important;
            max-width: 100% !important;
            margin-left: 0 !important;
            transform: none;
        }

        .rating-count {
            font-size: 13px;
        }

        .google-review-section .review-btn1 a {
            width: 100%;
            max-width: 315px;
            padding: 13px 16px;
            font-size: 14px;
        }
    }
