@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --theme-color: #078208;
    --color-foreground: 18, 18, 18;
    --color-background-contrast: 191, 191, 191;
    --font-playpen: "Playpen Sans", cursive;
}

body {
    overflow-x: hidden;
    font-family: var(--font-playpen);
    font-size: 16px;
    color: rgba(var(--color-foreground), .75);
    line-height: 1.8;
}

h1,
h2 {
    color: #000;
}

a {
    text-decoration: none;
    color: rgba(var(--color-foreground), .75);
}

img {
    max-width: 100%;
}

.text-theme {
    color: var(--theme-color) !important;
}

.bg-theme {
    background-color: var(--theme-color);
}

.img-parent {
    text-align: center;
}

/* ================= TOP MARQUEE ================= */
.topbar {
    padding: 5px 0;
    color: #fff;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.topbar p {
    font-size: 12px;
}

.topbar-slider {
    height: 28px;
    width: 100%;
}

.marquee-wrapper {
    white-space: nowrap;
    overflow: hidden;
}

.marquee {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 50px;
    display: inline-block;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ================= NAVBAR ================= */
.navbar {
    border-bottom: 1px solid #eee;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0 10px;
}

.nav-icons span {
    margin-left: 18px;
    cursor: pointer;
}

.navbar-brand img {
    max-width: 230px;
    max-height: unset;
}

.navbar-nav .nav-link.active {
    color: #000;
}

header svg {
    width: 22px;
    height: 22px;
    vertical-align: middle;
}

header .account svg {
    width: 22px;
    height: 26px;
}

.nav-icons a {
    display: inline-block;
    position: relative;
}

.nav-icons .num {
    position: absolute;
    top: 0;
    right: -10px;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.scroll-lock {
    overflow: hidden;
    height: 100vh;
}


/* Mobile adjustments */
@media (max-width: 991px) {
    .nav-icons {
        margin-top: 10px;
    }

    .nav-icons span {
        margin-left: 10px;
    }
}

.discount.on-img {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ba2e51;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    border-radius: 50%;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    height: 55px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-product-img {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    line-height: 1;
    border-radius: 50%;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
}

/* Extra styling */
.product-img {
    max-width: 100%;
}

.price-old {
    text-decoration: line-through;
    color: #aaa;
}

.view {
    color: #009444;
}

.text-muted {
    color: #777;
    font-size: 12px;
    letter-spacing: 1px;
}

.order-btn {
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: rgb(255, 255, 255);
    padding: 16px 20px;
    width: 100%;
    border: none;
    border-radius: 100px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 7px 0px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out 0s;
    position: relative;
}

.order-btn svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.order-btn:hover {
    transform: translateY(-2px);
}

.offer-counter {
    text-align: center;
    padding: 10px 20px 20px;
    color: #000;
}

.offer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.offer-counter .time-box {
    display: flex;
    justify-content: center;
    gap: 25px;
    text-align: center;
}

.offer-counter .time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offer-counter .time {
    display: inline-block;
    min-width: 55px;
    padding: 0;
    font-size: 26px;
    font-weight: 600;
    border: 2px solid #999;
    border-radius: 8px;
    background: #fff;
}

.offer-counter .label {
    margin-top: 6px;
    font-size: 14px;
    color: #666;
}

.social-item svg {
    height: 20px;
    width: 20px;
    fill: #fff;
}


.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    border: none;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9999;
}

/* Show state */
.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover effect */
.scroll-top:hover {
    transform: translateY(-3px);
}

/* ================= BUTTON ================= */
.btn-review {
    background: #1f7a6b;
    color: #fff;
    padding: 8px 50px;
    border-radius: 2px;
    font-weight: 600;
}

.btn-review:hover {
    background: #176457;
    color: #fff;
}


.sort-dropdown {
    position: relative;
    width: 120px;
}

.sort-toggle {
    font-weight: 600;
    color: #176457;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-toggle .arrow {
    font-size: 12px;
}

.sort-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 10px 0;
    margin: 8px 0 0;
    display: none;
    z-index: 10;
}

.sort-menu li {
    color: #176457 !important;
    margin: 0;
    padding: 4px 10px;
    font-size: 14px;
    cursor: pointer;
    color: #000;
    transition: background 0.2s;
}

.sort-menu li:hover {
    background: #f5f5f5;
}

.sort-menu li.active {
    font-weight: 600;
}

.sort-menu li.highlight {
    color: #1f7a6b;
}

.sort-container {
    padding: 15px 0;
    border-top: 1px solid #eee;
}

/* ================= REVIEW ITEMS ================= */
.review-item {
    padding: 25px 0;
    border-top: 1px solid #eee;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-item .stars {
    font-size: 18px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f7a6b;
    font-weight: 600;
}

.review-user i {
    position: relative;
    margin-right: 8px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(224, 224, 224, 0.5);
}

.review-date {
    color: #777;
    font-size: 13px;
}

.review-text {
    margin-top: 10px;
    color: #444;
}

.custom-pagination .page-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 8px 14px;
}

.custom-pagination .page-link:hover {
    background: transparent;
    color: #198754;
}

.custom-pagination .page-item.active .page-link {
    background: transparent;
    color: #198754;
    font-weight: 600;
}

.custom-pagination .page-link:focus {
    box-shadow: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .rating-wrapper {
        text-align: center;
    }

    .btn-review {
        margin-top: 20px;
    }

    .rating-bars {
        border: none;
    }
}

/* ================= TESTIMONIAL ================= */
.testimonial-section {
    background: #f5f5f5;
}

.section-title {
    font-weight: 600;
    letter-spacing: 2px;
}

.testimonialSwiper {
    padding: 25px 0;
}

.testimonial-card {
    background: #F8E9DF;
    border: 1px solid #0d5c4c;
    border-radius: 12px;
    padding: 30px 25px 60px;
    position: relative;
    height: 100%;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 30px;
    background: #0d5c4c;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

.testimonial-card .stars {
    color: #f4b400;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-family: sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #535353;
    line-height: 1.7;
}

.testimonial-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 25px;
    border-top: 1px solid #0d5c4c;
    font-weight: 600;
    color: #0d5c4c;
}

/* NAVIGATION */

.testimonial-nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.swiper-button-lock {
    display: flex !important;
}

.custom-nav {
    color: #fff !important;
    background: #0d5c4c;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-prev,
.swiper-button-next {
    background-image: none;
    font-size: 18px;
}

.swiper-button-prev svg,
.swiper-button-next svg {
    display: none;
}

.testimonial-nav .swiper-button-prev,
.testimonial-nav .swiper-rtl .swiper-button-next,
.testimonial-nav .swiper-button-next,
.testimonial-nav .swiper-rtl .swiper-button-prev {
    position: static !important;
}

/* ================= USP ================= */
.usp-section {
    background: #e6cf73;
}

.usp-section img {
    max-width: 60px;
    margin: auto;
}

.usp-section h6 {
    margin-top: 8px;
    font-weight: 600;
    color: black;
}

.usp-scroll {
    padding: 0 16px;
    /* prevents edge cutting */
    scroll-padding: 16px;
}

.footer {
    background-color: var(--theme-color);
    color: #ddd;
    padding: 60px 0 5px;
}

.footer .footer-content {
    margin-bottom: 30px;
}

.footer .footer-content p {
    display: flex;
    align-items: center;
    color: #fff;
    margin-bottom: 5px;
    font-size: 15px;
}

.footer .footer-content i {
    font-size: 22px;
}

.newsletter-parent h6 {
    color: #fff;
    font-size: 14px;
}

.newsletter-wrapper {
    background: transparent;
    margin-top: 15px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 2px solid #ffffff80;
    border-radius: 50px;
    padding: 5px;
    max-width: 420px;
}

.newsletter-form input {
    border: none;
    background: transparent;
    padding: 0px 13px;
    font-size: 14px;
    color: #fff;
    outline: none;
    min-width: 50px;
}

.newsletter-form input::placeholder {
    color: #d8f5d8;
}

.newsletter-form button {
    border: none;
    background: #111;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #fff;
    color: #000;
}

/* Footer Bottom Section */
.footer .bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .bottom p {
    color: #ddd;
    font-size: 12px;
}

.footer h4 {
    margin-bottom: 10px;
    font-weight: bold;
}


@media screen and (max-width:767px) {
    body {
        font-size: 15px;
    }

    .usp-item {
        flex: 0 0 auto;
        min-width: 100px;
    }

    .usp-section img {
        max-width: 40px;
    }

    .usp-section h6 {
        font-size: 12px;
    }
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler span {
    font-size: 23px;
}

#mobileSidebar {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Mobile Navbar Layout */
@media (max-width: 991px) {

    /* Sidebar */
    #mobileSidebar {
        display: block;
        position: fixed;
        top: 0;
        left: -350px;
        width: 300px;
        height: 100%;
        background: #fff;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: 0.3s ease-in-out;
        z-index: 9999;
    }

    #mobileSidebar.active {
        left: 0;
    }

    .sidebar-tabs {
        display: flex;
        position: relative;
        border-bottom: 1px solid #ddd;
    }

    .tab-btn {
        flex: 1;
        padding: 10px;
        background: none;
        border: none;
        font-weight: 400;
        font-size: 14px;
        background-color: #eee;
    }

    .tab-btn.active {
        border-bottom: 3px solid #2e7d32;
        background-color: #ccc;
    }

    /* Close Button */
    .close-sidebar {
        position: absolute;
        left: 300px;
        top: 0;
        font-size: 30px;
        line-height: 1;
        background-color: #333;
        color: #fff;
        padding: 0 8px 6px;
        border: none;
    }

    /* Content */
    .tab-content {
        display: none;
    }

    .tab-content.active {
        display: block;
    }

    .sidebar-list {
        list-style: none;
        padding: 0;
    }

    .sidebar-list li {
        padding: 10px 15px;
        border-bottom: 1px solid #ddd;
    }

    .tab-content div {
        padding: 10px 15px;
    }

    .sidebar-list a {
        text-decoration: none;
        color: #333;
        font-size: 15px;
    }

    /* Contact */
    .sidebar-contact {
        font-size: 14px;
    }

    .sidebar-contact p {
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: 500;
        line-height: 1;
    }

    /* Scroll Lock */
    .scroll-lock {
        overflow: hidden;
    }

}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9998;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    color: #000;
    border-left: 2px solid #ccc;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    color: #000;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    font-size: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: 333;
    line-height: 1;
    cursor: pointer;
}



.return-to-shop {
    padding: 5px 15px;
    background-color: green;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin: auto;
    border-radius: 50px;
}

.cart.open {
    right: 0;
}

.modal-dialog {
    max-width: 1100px;
    font-family: sans-serif;
}


.modal-title {
    font-weight: 500;
    display: flex;
    gap: 10px;
}

#orderModal .input-group {
    border-radius: 5px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

#orderModal label {
    font-size: 12px;
    color: #000;
    letter-spacing: .5px;
    margin-bottom: 5px;
}

#orderModal input {
    font-size: 14px;
    font-weight: 500;
    background-color: rgba(169, 181, 211, 0.09);
}

#orderModal input::placeholder {
    color: rgba(var(--color-foreground), .5);
}

#orderModal input:focus {
    box-shadow: none;
    outline: none;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid rgb(202, 68, 30);
    background-color: rgba(0, 83, 173, 0.1) !important;
    cursor: pointer !important;
    border-radius: 7px;
    position: relative;
}

.form-check label {
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1;
    margin: 0 !important;
}

.form-check .badge {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #777;
    font-weight: 500;
    font-size: 15px !important;
}

#orderModal .order-btn {
    padding: 10px;
}


#orderModal .product-item {
    border: 1px solid #eee;
    background: #fff;
    border-radius: 5px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#orderModal .product-item .img-parent {
    position: relative;
}

#orderModal .product-item .img-parent span {
    background-color: #333;
    color: #fff;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -5px;
    right: -5px;
}

#orderModal .product-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background: #ddd;
    object-fit: cover;
}

#orderModal .product-info {
    flex: 1;
    font-size: 13px;
}

#orderModal .product-title {
    font-weight: bold;
}

#orderModal .product-title p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

#orderModal .price {
    color: #333;
}

#orderModal .quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    width: fit-content;
    border-radius: 4px;
}

#orderModal .quantity-control button {
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    background-color: #fff;
}

#orderModal .quantity-control span {
    width: 35px;
    height: 25px;
    text-align: center;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}