/*
Theme Name: Flower Theme 2.0
Description: A custom WordPress theme for flower-related content
Version: 2.0.0
Author: Hoangle Devs
Text Domain: flower-theme
*/

/* ========================================
   BASIC LAYOUT
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

:root {
    --color-main: #9fc2b6;
    --color-main-hover: #43b28b;
    --color-secondary: #ede5df;
    --bg-color: #f4f4f4;
    --text-color: #333;
    --text-color-secondary: #666;
    --text-color-forenround: #fff;
    --border-radius: 10px;
    --bs-primary: var(--color-main) !important;
    --bs-primary-rgb: 159, 194, 182 !important;
    --bs-link-color-rgb: 159, 194, 182 !important;

    --bs-btn-color: #fff !important;
    --bs-btn-bg: var(--color-main) !important;
    --bs-btn-bg-rgb: 159, 194, 182 !important;
    --bs-btn-border-color: var(--color-main-hover) !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: var(--color-main-hover) !important;
    --bs-btn-hover-border-color: var(--color-main-hover) !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253 !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: var(--color-main) !important;
    --bs-btn-active-border-color: var(--color-main-hover) !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
}

body {
    font-family: 'Nunito', sans-serif !important;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
}

header {
    text-align: center;
    position: relative;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

main {
    margin: 0 auto;
}

a {
    text-decoration: none !important;
}

.global-button__primary.btn {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    background-color: var(--color-main);
    color: var(--text-color-forenround);
    display: inline-block;
    border-radius: 40px;
    padding: 10px 20px;
}

.global-button__primary.btn:hover {
    background-color: var(--color-secondary);
    color: var(--text-color-forenround);

}

/* ========================================
   HEADER STYLES
======================================== */

.header-logo img {
    display: inline-flex;
    height: 100px;
    width: auto;
}

.header-right-phone a {
    display: block;
    color: var(--color-main);
    font-weight: bold;

}

.header-nav {
    background: var(--color-main);
}

.header-detail {
    a {

        color: var(--text-color);
    }

    .dropdown-menu {
        width: 100vh !important;
        max-width: 400px;
        inset: unset !important;
        transform: none !important;
        right: 0 !important;
        padding: 10px;
    }

    .boxaddress {
        border: 1px solid rgba(23, 23, 24, 0.18);
        border-radius: 5px;
        padding: 6px 15px;
        font-size: 13px;
        background: rgba(23, 23, 24, 0.1);
        color: #333;
    }

    .boxprovince .textprov {
        color: #000;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .boxprovince .listprov {
        list-style: none;
        padding: 0;
    }

    .boxprovince .listprov li {
        position: relative;
        cursor: pointer;
        padding: 10px 0 10px 35px;
        transition: background 0.4s ease;
        font-size: 13px;
        color: #333;
        border-top: 1px dotted #eae4e8;
    }

    .boxprovince .listprov li img {
        width: 25px;
        height: 25px;
        position: absolute;
        top: 8px;
        left: 0px;
    }

    .boxprovince .listprov li .address-name {
        display: block;
        font-weight: 600;
    }

    .dropdown a::after {
        display: none;
    }

    .header-address-icon {
        width: 30px;
        padding-left: 10px;
    }

    .header-address-box {
        .header-location-title {
            font-size: 11px;
        }

        .header-address {
            font-size: 13px;
            display: block;
            font-weight: 500;
        }
    }

    .header-right-button-item {
        position: relative;

        span {
            position: absolute;
            top: -10px;
            right: -15px;
            border-radius: 100px;
            background: var(--color-main);
            width: 20px;
            height: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 10px;
            color: var(--text-color-forenround);
        }
    }
}

/* ========================================
   NAVIGATION
======================================== */

.main-menu,
.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-menu>li {
    position: relative;
}

.main-menu>li>a {
    color: var(--text-color-forenround);
    display: block;
    padding: 8px 0;

    text-transform: uppercase;
}

.main-menu li .sub-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: absolute;
    top: 100%;
    left: 0;
    width: 550px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all .25s ease;
    z-index: 9999;
    border-radius: 0 0 5px 5px;
    border-top: 4px solid var(--color-main);
    padding: 10px 0;
    gap: 0;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
}

.main-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.main-menu li .sub-menu>li {
    flex: 50%;
    padding: 0;
    margin: 0;
}

.main-menu li .sub-menu>li>a {
    display: flex;
    padding: 5px 15px;
    color: var(--text-color);
    justify-content: center;
}

.main-menu li .sub-menu>li:hover>a {
    background: var(--color-main);
    color: var(--text-color-forenround);
}

#search-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#search-collapse.active {
    max-height: 200px;
    opacity: 1;
}

/* Mobile Menu Styles */
#offcanvasMobileMenu {
    width: 300px;
}

#offcanvasMobileMenu .offcanvas-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

#offcanvasMobileMenu .offcanvas-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

#offcanvasMobileMenu .offcanvas-body {
    padding: 1.5rem;
}

/* Mobile Menu Navigation */
.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu>li {
    margin-bottom: 0.5rem;
}

.mobile-menu>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu>li>a:hover {
    color: var(--color-main);
}

/* Submenu Styles */
.mobile-menu .sub-menu {
    list-style: none;
    padding: 0.5rem 0 0.5rem 1rem;
    margin: 0;
}

.mobile-menu li.menu-item-has-children.active>.sub-menu {
    display: none;
}

.mobile-menu .sub-menu li {
    margin-bottom: 0.25rem;
}

.mobile-menu .sub-menu a {
    display: block;
    padding: 0.5rem 0;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    text-align: left;
}

.mobile-menu .sub-menu a:hover {
    color: var(--color-main);
}

/* Dropdown Arrow */
.mobile-menu li.menu-item-has-children>a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.9rem;
    color: #999;
    transition: transform 0.3s;
}

.mobile-menu li.menu-item-has-children.active>a::after {
    transform: rotate(180deg);
}

/* Mobile Contact Section */
.mobile-contact h6 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.mobile-contact a {
    color: var(--color-main);
    font-size: 1.1rem;
    font-weight: 600;
}

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

.cart-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.cart-icon a {
    color: white;

    font-weight: bold;
}

.cart-container {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.add-to-cart {
    display: inline-block;
    background-color: var(--color-main);
    color: var(--text-color-forenround);
    padding: 0.5rem 1rem;

    border-radius: 4px;
}

.add-to-cart:hover {
    background-color: var(--color-secondary);
}

/* ========================================
   HOME PAGE STYLES
======================================== */
.home-video-section {
    .home-video-content {
        grid-gap: 30px;
        padding: 40px;
        background: var(--color-secondary);
        border-radius: 60px;
        justify-content: space-between;
        align-items: center;
        display: grid;
        grid-template-columns: 5fr 7fr;

        .home-video-content__item {
            .home-video-name {
                font-size: 41px;
                line-height: 1.2;
                font-weight: 700;
            }
        }

        .featured_video {
            position: relative;
            display: flex;
            border-radius: 34px;
            overflow: hidden;
            border: 1px solid var(--colorBorder);



            button {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                z-index: 9;
                background-color: #3f3d568a;
                height: clamp(64px, 9vw, 80px);
                width: clamp(64px, 9vw, 80px);
                color: var(--bg-color);
                border-radius: 100%;
                border: 1px solid;

                img {
                    margin: 0 auto;
                    height: clamp(18px, 3vw, 24px);
                    width: clamp(18px, 3vw, 32px);
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                }

                .pause-icon {
                    display: none;
                }
            }

            video {
                object-fit: cover;
                width: 100%;
                height: 100%;
                aspect-ratio: 1 / 1;
            }
        }

        .featured_video.hide_btn {
            .play-icon {
                display: none;
            }

            .pause-icon {
                display: block;
            }
        }
    }
}

.home-insta {
    .home-insta-body {
        .home-insta-body-center {
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            align-content: center;
            text-align: center;
            padding: 15px;
            background: var(--color-main);
            margin-bottom: 20px;

            h2 {
                font-size: 2rem;
                font-weight: bold;
                margin: 0;
            }

            figture img {
                max-width: 50px;
                margin-bottom: 30px;
            }

            a {
                background: transparent;
                border: none;
                outline: none;
                padding: 0;
                box-shadow: 0;
                display: inline-block;
                width: 300px;
                margin: 0 auto;
                text-align: center;
                border: 1px solid var(--color-secondary);
                padding: 5px 10px;
                text-transform: uppercase;
                font-weight: bold;
                position: relative;
                transition: color .4s .4s ease-in, border .4s .4s ease-in;
                color: var(--text-color);

            }
        }

        .col-6 {
            margin-bottom: 20px;

            .home-insta-body-item {
                display: block;
                overflow: hidden;
                border-radius: 8px;
                transform: translateZ(0);

                img {
                    display: block;
                    width: 100%;
                    transition: all .4s;
                }

                &:hover img {
                    filter: brightness(0.5);
                    transform: scale(1.1);
                }
            }
        }
    }
}

.home-policy {
    .home-policy-wrap {
        margin-left: -10px;
        margin-right: -10px;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        padding: 0;

        li {
            padding-left: 10px;
            padding-right: 10px;
            text-align: center;
            width: calc(100% / 4);

            img {
                max-width: 45px;
                margin-bottom: 10px;
            }

            strong,
            span,
            a {
                display: block;
                margin: 5px 0;
            }

            span {
                font-size: .85rem;
                color: #AAA;
            }

            a {
                color: var(--text-color);

            }
        }
    }
}

.home-blog {
    .home-blog-left {
        .section-title-all {
            margin-bottom: 30px;

            h2 {
                font-size: 2rem;
                font-weight: bold;
                margin-bottom: 10px;
            }

            p {
                color: #AAA;
                font-size: 1rem;
                line-height: 1.5;
            }
        }

        .article-item-wrap {
            padding: 30px;
            background: var(--color-secondary);
            transition: all .5s;
            cursor: pointer;

            .article-item-image {
                position: relative;
                display: block;
                overflow: hidden;
                border-radius: var(--border-radius);

                a {
                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        transition: all 0.75s;
                        transform: scale(1.1);
                    }
                }
            }

            .article-item-detail {
                margin-top: 10px;

                .article-item-detail-name {
                    margin-bottom: 10px;
                    font-size: 1.5rem;
                    overflow: hidden;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    display: -webkit-box;

                    a {
                        transition: all 0.75s 0.25s;

                        color: var(--text-color);
                    }
                }

                .article-item-detail-info {
                    color: var(--color-main);
                    display: block;
                    margin: 10px 0;
                    transition: all 0.75s 0.25s;
                    font-size: 1rem;
                }

                .article-item-detail-info {
                    color: var(--color-main);
                    display: block;
                    margin: 10px 0;
                    transition: all 0.75s 0.25s;
                    font-size: 1rem;
                }
            }

            &:hover {
                .article-item-image a {
                    img {
                        transform: scale(1);
                    }
                }

                .article-item-detail a {
                    color: var(--color-main);
                }
            }

        }
    }

    .home-blog-right {
        .article-item-wrap {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 30px;
            background: var(--color-secondary);
            transition: all .5s;
            cursor: pointer;
            margin-bottom: 30px;

            .article-item-image {
                width: 30%;

                a {
                    display: block;
                    position: relative;
                    overflow: hidden;
                    border-radius: 5px;
                    height: auto;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        transition: all 0.75s;
                        transform: scale(1.1);
                    }
                }
            }

            .article-item-detail {
                width: 70%;
                padding-left: 25px;
                margin-top: 0;

                .article-item-detail-name {
                    font-size: 1.25rem;
                    margin-bottom: 0px;
                    overflow: hidden;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    display: -webkit-box;

                    a {

                        color: var(--text-color);
                    }
                }

                .article-item-detail-info {
                    font-size: .9rem;
                    color: var(--color-main);
                }

                .article-item-detail-des {
                    margin: 0;
                }
            }
        }

        .article-item-wrap:hover {
            .article-item-detail-name a {
                color: var(--color-main);
            }

            img {
                transform: scale(1) !important;

            }
        }

    }
}

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

footer {
    background-color: var(--color-main);
    color: var(--text-color);
    text-align: center;
    margin-top: 5rem;
    padding: 1rem;
    bottom: 0;
    width: 100%;

    .footer-logo {
        background: var(--color-secondary);
        border-radius: 100px;
        max-width: 134px;
        margin-bottom: 15px;
    }

    .footer-detail {
        text-align: left;
    }

    .footer-menu-section {
        text-align: left;
        font-weight: bold;

        .footer-menu-title {
            border-bottom: 1px solid var(--text-color-forenround);
            padding: 5px 0;
        }

        ul {
            padding-top: 10px;

            li {
                a {
                    color: var(--text-color);
                    font-weight: normal;
                }
            }
        }
    }
}

/* ========================================
   PRODUCT PAGE STYLES
======================================== */

.product-page .post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-page .carosusel-main {
    position: relative;
}

.product-page .carousel-indicators.thumb-indicators {
    margin-top: 10px;
    position: static;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    gap: 10px;
    justify-content: center;
}

.product-page .carousel-indicators.thumb-indicators button {
    background: none !important;
    border: 2px solid transparent;
    height: auto !important;
    margin: 0 !important;
    opacity: 0.6;
    padding: 0 !important;
    text-indent: 0 !important;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    width: 60px !important;
}

.product-page .carousel-indicators.thumb-indicators button.active {
    border-color: var(--color-main);
    opacity: 1;
}

.product-page .carousel-indicators.thumb-indicators button img {
    display: block;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.product-page .product-detail .nav-item .nav-link {
    color: #444;
}

.product-page .product-detail .nav-item .active {
    color: var(--color-main);
}

.product-page .product-right-detail {
    position: sticky;
    top: 15px;
    height: min-content;
    padding-left: 50px;

    .btn-check:checked+.btn {
        background: var(--color-main) !important;
    }

    .main-product-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        font-size: 0.85rem;
        margin-bottom: 10px;

        div {
            width: 50%;
            padding-left: 15px;
            position: relative;

            span {
                font-weight: 400;
                margin-right: 5px;
            }

            &::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 0;
                width: 5px;
                height: 5px;
                border-radius: 50%;
                transform: translateY(-50%);
                background: var(--color-main);
            }
        }
    }

    .main-product-price {
        border-top: 1px dotted #dee2e6;
        border-bottom: 1px dotted #dee2e6;
        padding: 0 !important;
        font-size: 13px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;

        .main-product-price-wrap {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-wrap;
            align-items: center;
            min-height: 50px;

            .main-product-price-compare {
                margin-left: 0;
                font-size: 14px;
                color: #777a7b;
                padding-right: 10px;
                font-weight: 500;
            }

            .main-product-price-this {
                font-size: 1.5rem;
                font-weight: bold;
                color: #F30;
            }

            .main-product-price-discount {
                margin-left: 10px;
                display: inline-block;
                padding: 2.5px 10px;
                margin-right: 10px;
                background: transparent;
                font-weight: 600;
                font-size: 13px;
                color: var(--color2);
                background: #F30;
                border-radius: 5px;
            }
        }

        .haravan-product-reviews-badge {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            align-items: center;
            gap: 10px;
            line-height: 1;
        }
    }

    .main-product-quantity {
        margin-top: 20px;
    }

    .shop-quantity-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;

        label {
            font-weight: 500;
            margin-bottom: 0;
            min-width: 100px;
            display: block;
            font-size: 1rem;
        }

        .shop-quantity {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            align-items: center;
            border: 1px solid #DbDbDb;

            button {
                width: 40px;
                height: 30px;
                line-height: 30px;
            }

            input {
                width: 80px;
                height: 30px;
                line-height: 30px;
                text-align: center;
            }

            button,
            input {
                background: transparent;
                border: none;
                outline: none;
                padding: 0;
                box-shadow: 0;
            }
        }
    }

    .main-product-cta button[data-type="main-product-add"],
    .main-product-cta button[data-type="main-product-buy"] {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px;
        background: var(--color-main);
        color: #fff;
        border: none;
        border-radius: 41px;
        margin-top: 20px;
    }
}

/* ========================================
   PRODUCT CATEGORY STYLES
======================================== */

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   PRODUCT LOOP STYLES
======================================== */

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.product-overlay {
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease;
}

.hover-lift:hover .product-overlay {
    opacity: 1 !important;
}

.post-overlay {
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease;
}

.hover-lift:hover .post-overlay {
    opacity: 1 !important;
}

.post-image {
    transition: transform 0.3s ease;
    height: 200px;
    object-fit: cover;
}

.product-image {
    transition: transform 0.3s ease;
    height: auto;
    object-fit: cover;
}

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

/* ========================================
   PAGINATION STYLES
======================================== */

.pagination-wrapper .nav-links,
.pagination-wrapper .pagination {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.pagination-wrapper .nav-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    padding: 0;
}

.pagination-wrapper .page-numbers {
    background-color: var(--text-color-forenround);
    border: 1px solid #dee2e6;
    border-radius: 5px;
    color: var(--text-color);
    display: block;
    line-height: 1.25;
    margin: 5px;
    padding: 0.5rem 0.75rem;

}

.pagination-wrapper .page-numbers.current {
    background-color: var(--color-main);
    border-color: var(--color-main);
    color: var(--text-color-forenround);
    z-index: 1;
}

.pagination-wrapper .page-numbers:hover:not(.current) {
    background-color: var(--color-main);
    border-color: var(--color-main);
    color: var(--text-color-forenround);
}

.pagination-wrapper .page-numbers.dots {
    background-color: transparent;
    color: #6c757d;
    pointer-events: none;
}

/* ========================================
   FILTER STYLES
======================================== */
/* --- Filter Scrollbar (Thanh cuộn dọc) --- */
.filter-scroll {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
    padding: 5px;
    margin: -5px;
}

/* Tùy chỉnh thanh cuộn cho Webkit (Chrome, Safari) */
.filter-scroll::-webkit-scrollbar {
    width: 4px;
    /* Thanh cuộn mảnh như hình */
}

.filter-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background: var(--bs-btn-active-border-color);
    /* Màu đỏ nhạt giống ảnh */
    border-radius: 4px;
}

.filter-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--bs-btn-hover-border-color);
    /* Đậm lên khi hover */
}

/* --- Color Swatches (Ô màu) --- */
.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    /* Bo góc nhẹ */
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

/* Khi ô màu được chọn (checked) */
.btn-check:checked+.color-swatch {
    outline: 2px solid var(--color-main);
    /* Viền đen bao quanh */
    outline-offset: 2px;
    transform: scale(0.95);
}

/* Style cho text checkbox */
.form-check-input:checked {
    background-color: var(--color-main) !important;
    border-color: var(--color-main) !important;
}

.form-check-label {
    cursor: pointer;
    font-size: 15px;
    color: #444;
}

/* ========================================
   POST WIDGET CLASSES
======================================== */

.post-sidebar .widget-title {
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid var(--bs-primary);
    padding-bottom: 0.5rem;
}

.post-sidebar .categories-list .category-link {
    display: block;
    padding: 0.5rem 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding-left: 0.5rem;
}

.post-sidebar .categories-list .category-link:hover,
.post-sidebar .categories-list .category-link.active {
    background-color: #f8f9fa;
    color: var(--bs-primary);
    text-decoration: none;
}

.post-sidebar .popular-posts-list .popular-post-item,
.post-sidebar .most-viewed-posts-list .most-viewed-post-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.post-sidebar .popular-posts-list .popular-post-item:last-child,
.post-sidebar .most-viewed-posts-list .most-viewed-post-item:last-child {
    border-bottom: none;
}

.post-sidebar .post-number {
    background: var(--bs-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.post-sidebar .post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.post-sidebar .post-title {
    font-size: 0.9rem;
    line-height: 1.3;
}

.post-sidebar .post-title a {
    color: #333;
}

.post-sidebar .post-title a:hover {
    color: var(--bs-primary);
}

.post-sidebar .recent-posts-list .recent-post-title {
    font-size: 0.9rem;
    line-height: 1.3;
}

.post-sidebar .recent-posts-list .recent-post-title a {
    color: #333;
}

.post-sidebar .recent-posts-list .recent-post-title a:hover {
    color: var(--bs-primary);
}

.post-sidebar .recent-posts-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ========================================
   CART CLASSES
======================================== */
.payment-methods .disabled {
    opacity: 0.6;
    pointer-events: none;
    color: #999;
}

.cart-page .cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-page .cart-item-placeholder {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.cart-page .cart-item-info h6 {
    font-size: 0.95rem;
    line-height: 1.3;
}

.cart-page .quantity-controls .input-group {
    margin: 0 auto;
}

.cart-page .empty-cart-icon {
    opacity: 0.5;
}

.cart-page .payment-methods .payment-method-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-page .payment-methods .payment-method-item:last-child {
    border-bottom: none;
}

.cart-page .breadcrumb {
    background: transparent;
    padding: 0;
}

.cart-page .page-title {
    color: #333;
    font-weight: 700;
    border-bottom: 3px solid var(--color-main);
    padding-bottom: 1rem;
}

/* ========================================
   CHECKOUT CLASSES
======================================== */

.checkout-page .page-title {
    color: #333;
    font-weight: 700;
    border-bottom: 3px solid var(--color-main);
    padding-bottom: 1rem;
}

.checkout-page .card-header {
    font-weight: 600;
}

.checkout-page .form-label {
    font-weight: 500;
    color: #333;
}

.checkout-page .payment-methods .form-check-label {
    cursor: pointer;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkout-page .payment-methods .form-check-input:checked+.form-check-label {
    border-color: var(--color-main);
    background-color: #f8f9ff;
}

.checkout-page .payment-icon {
    width: 40px;
    text-align: center;
}

.checkout-page .order-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.checkout-page .order-item-placeholder {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.checkout-page .order-item-title {
    font-size: 0.9rem;
    line-height: 1.3;
}

.checkout-page .breadcrumb {
    background: transparent;
    padding: 0;
}

.sticky-top {
    z-index: 998 !important;
}

/* ========================================
   ORDER CLASSES
======================================== */

.order-success-page .page-title {
    color: #28a745;
    font-weight: 700;
}

.order-success-page .success-icon {
    animation: checkmark 0.8s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.order-success-page .order-number {
    border: 2px solid var(--color-main);
}

.order-success-page .order-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.order-success-page .order-item-placeholder {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.order-success-page .order-item-title {
    font-size: 1rem;
    line-height: 1.3;
}

.order-success-page .step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.btn-check:checked+.btn {
    background-color: var(--color-main);
    border-color: var(--color-main) !important;
    color: var(--text-color-forenround) !important;
}

.text-primary {
    color: var(--color-main) !important;
}

.btn-primary {
    border: var(--bs-btn-border-width) solid var(--color-main) !important;
    border-radius: var(--bs-btn-border-radius);
    background: var(--color-main) !important;
}

.btn-outline-primary {
    border: 2px solid var(--color-main) !important;
    color: var(--color-main) !important;
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--color-main) !important;
    color: #fff !important;
}

.main-archive-breadcrumb {
    background-image: url(https://theme.hstatic.net/200000732679/1001105291/14/main_collection_breadcrumb_bg.png?v=1083);

    h1,
    h4 {
        color: var(--text-color-forenround);
    }

    .breadcrumbs,
    .breadcrumbs a {
        color: var(--text-color-forenround);
    }
}

.main-product-breadcrumb {
    background-image: url(//theme.hstatic.net/200000732679/1001105291/14/main_product_breadcrumb_bg.png?v=1083);

    h3 {
        color: var(--text-color);
    }

    .breadcrumbs,
    .breadcrumbs a {
        color: var(--text-color);
    }
}

.main-product-breadcrumb,
.main-archive-breadcrumb {
    padding: 100px 0;
    margin-bottom: 30px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

    h3,
    h1 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 0;
        margin-top: 10px;
    }

    .breadcrumbs,
    .breadcrumbs a {
        margin-top: 20px;
    }
}

.txt-overflow {
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
    max-width: 115px;
    overflow: hidden;
}

.multi-line-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.an {
    -webkit-transition: 0.3s ease-in;
    transition: 0.3s ease-in;
}

.animate {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.animate-scale:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.animate-scale-1:hover {
    -webkit-transform: scale(1.025);
    transform: scale(1.025);
}

.animate-scale-3:hover {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
}

.lazy {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in;
    transition: opacity 0.3s ease-in;
}

.lazy.loaded {
    opacity: 1;
}

#back-to-top {
    background-color: var(--color-secondary);
    border-radius: 5px;
    bottom: 20px;
    color: #fff;
    padding: 10px 5px;
    position: fixed;
    right: 10px;
    text-align: center;
    width: 40px;
    z-index: 999;
}

/* ========================================
   MEDIA QUERIES
======================================== */

/* Mobile Filter Collapse */
@media (max-width: 991.98px) {
    #filters-collapse-mobile.collapse:not(.show) {
        display: none;
    }

    #filters-collapse-mobile.collapse.show {
        display: block;
    }

    .filters-sidebar {
        background: #fff;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        padding: 1.25rem;
        margin-bottom: 2rem;
    }

    /* Chevron rotation animation */
    [data-bs-toggle="collapse"] .fa-chevron-down {
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-bs-toggle="collapse"][aria-expanded="true"] .fa-chevron-down {
        transform: rotate(180deg);
    }
}

/* Desktop - collapse always shown */
@media (min-width: 992px) {
    #filters-collapse-mobile {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .txt-overflow {
        max-width: 170px;
    }

    .checkout-page .sticky-top {
        position: static !important;
    }

    .checkout-page .payment-methods .form-check-label {
        padding: 0.75rem;
    }

    .cart-page .table-responsive {
        font-size: 0.9rem;
    }

    .cart-page .cart-item-image {
        width: 50px;
        height: 50px;
    }

    .cart-page .cart-item-placeholder {
        width: 50px;
        height: 50px;
    }

    .order-success-page .order-summary .row>div {
        text-align: left !important;
        margin-bottom: 1rem;
    }

    .order-success-page .step-icon {
        width: 50px;
        height: 50px;
    }

    .product-page .product-right-detail {
        padding-left: 0;
    }

    .home-video-content {
        background: transparent !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 20px !important;
        text-align: center;
    }

    .home-policy {
        & .home-policy-wrap {
            li {
                width: calc(100% / 2);
            }
        }
    }
}

@media (max-width: 575.98px) {
    #sidebar {
        margin-top: 60px;
    }

    .home-box .hot-product-box .hot-product-image {
        margin: 5px 0;
    }

    .home-box .contact-box .rows a {
        padding: 5px;
    }
}