
/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}
:root {
    --bs-primary: #db883f !important;
}
/**/
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f8f9fb;
    color: #222739;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
}
/* Container max widths */
.container {
    width: 100%;
    padding: 0 16px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
        padding: 0 32px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
        padding: 0 48px;
    }
}

/* HEADER */
header {
    background-color: #4e3a2f;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    user-select: none;
}

.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    background-color: #6e523b; /*#3b3f6e;*/
    gap: 10px;
}

    .top-bar span {
        white-space: nowrap;
    }

    .top-bar .separator {
        border-left: 1px solid #5a5fb2;
        height: 12px;
    }
/* Main nav */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #3c2e22;
}

.logo {
    color: #db883f;
    display: flex;
    align-items: center;
    gap: 8px;
    width:200px;
}

.logo .material-icons {
    width:100%;
}

.search-bar {
    flex: 1;
    max-width: 560px;
    margin: 0 24px;
    position: relative;
}

    .search-bar input[type="search"] {
        width: 100%;
        padding: 10px 40px 10px 20px;
        border-radius: 6px;
        border: none;
        font-size: 14px;
        outline-offset: 2px;
        outline-color: #db883f;
        background: #694838;
        color: #e7e9f7;
    }

        .search-bar input[type="search"]::placeholder {
            color: #db883f;
        }

    .search-bar button {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        color: #db883f;
        font-size: 24px;
        cursor: pointer;
    }

.nav-icons {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .nav-icons button {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 28px;
        position: relative;
    }

        .nav-icons button .badge {
            position: absolute;
            top: -4px;
            right: -4px;
            background: #db883f;
            color: white;
            font-size: 12px;
            font-weight: 700;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            /* Flexbox centering */
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

/* Secondary nav horizontal menu */
/*.secondary-nav {
    background: #f9fafc;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    height: 48px;
    font-weight: 600;
    font-size: 14px;
}

    .secondary-nav ul {
        display: flex;
        list-style: none;
        gap: 32px;
        margin: 0;
        padding: 0;
        align-items: center;
    }

    .secondary-nav li {
        display: flex;
        align-items: center;
    }

    .secondary-nav a {
        color: #393c58;
        cursor: pointer;
        padding: 12px 0;
        display: block;
        border-bottom: 3px solid transparent;
        transition: border-color 0.2s ease;
    }

        .secondary-nav a.active,
        .secondary-nav a:hover {
            border-bottom-color: #db883f;
            color: #db883f;
        }*/

.secondary-nav {
    background: #f9fafc;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    height: 48px;
    font-weight: 600;
    font-size: 14px;
    padding: 0 16px;
}
.secondary-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .secondary-nav ul li {
        position: relative;
        display: inline-block;
    }

        .secondary-nav ul li a {
            display: block;
            padding: 10px 15px;
            text-decoration: none;
            color: #333;
        }

        .secondary-nav ul li:hover > a {
            background-color: #f2f2f2;
        }

        /* Dropdown menu hidden by default */
        .secondary-nav ul li .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            list-style: none;
            min-width: 180px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
            padding: 0;
            margin: 0;
            z-index: 1000;
        }

            .secondary-nav ul li .dropdown-menu li {
                display: block;
            }

                .secondary-nav ul li .dropdown-menu li a {
                    padding: 8px 12px;
                    color: #333;
                }

                    .secondary-nav ul li .dropdown-menu li a:hover {
                        background-color: #f5f5f5;
                    }

        /* Show dropdown on hover */
        .secondary-nav ul li:hover .dropdown-menu {
            display: block;
        }

/*@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        width: 100%;
        text-align: left;
    }

    .secondary-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

        .secondary-nav ul li {
            display: block;
        }

            .secondary-nav ul li .dropdown-menu {
                position: relative;
                box-shadow: none;
            }

    .secondary-nav.open ul {
        display: flex;
    }

    .secondary-nav ul li:hover .dropdown-menu {
        display: none; 
    }

    .secondary-nav ul li.open > .dropdown-menu {
        display: block;
    }
}*/




.contact-info {
    font-weight: 500;
    color: #9b8461;
    font-size: 14px;
    margin-left: auto;
    margin-right: 24px;
    white-space: nowrap;
}
/* Hamburger for mobile */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 28px;
    padding: 8px 12px;
}

/* Default breadcrumb style */
.breadcrumb-nav {
    display:none;
    background: #f9fafc;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
}

    .breadcrumb-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
    }

    .breadcrumb-nav li {
        position: relative;
        margin-right: 16px;
    }

    .breadcrumb-nav a {
        color: #db883f;
        text-decoration: none;
    }

    .breadcrumb-nav .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        list-style: none;
        background: #fff;
        padding: 0;
        margin: 0;
    }

/* Mobile styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .breadcrumb-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .breadcrumb-nav.open ul {
        display: flex;
    }

    .breadcrumb-nav li {
        margin: 0;
        border-bottom: 1px solid #ddd;
        position: relative;
    }

    .breadcrumb-nav .dropdown-menu {
        display: none;
        position: relative;
        background: #f2f2f2;
        padding-left: 20px;
    }

    .breadcrumb-nav li.open > .dropdown-menu {
        display: block;
    }
}

/* HERO SECTION */
.hero {
    background: #f6f7fa;
    margin: 24px 0;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.hero-slider {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none;
}

    .hero-slider::-webkit-scrollbar {
        display: none;
    }

.hero-slide {
    min-width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 48px 32px;
    gap: 32px;
    background: #f6f7fa;
    position: relative;
}

.hero-content {
    flex: 1 1 50%;
    max-width: 570px;
}

    .hero-content small {
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 600;
        font-size: 12px;
        color: #9b8461;
        display: block;
        margin-bottom: 12px;
    }

    .hero-content h1 {
        font-weight: 700;
        font-size: 32px;
        line-height: 1.2;
        color: #222739;
        margin-bottom: 24px;
    }

    .hero-content button {
        background-color: #db883f;
        color: white;
        border: none;
        padding: 12px 28px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        box-shadow: 0 3px 8px rgb(160 84 17 / 50%); /* 0 3px 8px rgb(17 160 160 / 0.5);*/
        transition: background-color 0.3s ease;
    }

        .hero-content button:hover,
        .hero-content button:focus {
            background-color: #0d7c7c;
            outline: none;
        }

.hero-image {
    flex: 1 1 50%;
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

    .hero-image img {
        display: block;
        max-width: 100%;
        height: auto;
        border-radius: 24px;
        position: relative;
        z-index: 2;
        box-shadow: 0 12px 24px rgb(13 124 124 / 0.3);
    }

.discount-badge {
    position: absolute;
    top: 24px;
    right: calc(50% - 70px);
    background: #e02f0c;
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 9px rgba(224, 47, 12, 0.5);
    z-index: 3;
}
/* Hero slider controls */
.hero-controls {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

    .hero-controls button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #bbb;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .hero-controls button.active,
        .hero-controls button:hover {
            background: #db883f;
        }

/* Benefits Section */
.benefits {
    background: white;
    max-width: 860px;
    margin: 25px auto 25px auto;
    padding: 8px 24px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgb(13 124 124 / 0.1);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    font-size: 14px;
    color: #515f75;
}

.benefit-item {
    flex: 1 1 22%;
    display: flex;
    gap: 8px;
    align-items: center;
}

    .benefit-item .material-icons {
        color: #db883f;
        font-size: 28px;
    }

.benefit-text {
    display: flex;
    flex-direction: column;
}

    .benefit-text strong {
        font-weight: 700;
        font-size: 14px;
        color: #222739;
    }
/* Partner Logos */
.partners {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

    .partners img {
        max-height: 32px;
        filter: grayscale(100%);
        opacity: 0.5;
        transition: all 0.3s ease;
        cursor: default;
    }

        .partners img:hover,
        .partners img:focus {
            filter: none;
            opacity: 1;
        }

/* Products Section general */

section.products-section {
    margin-bottom: 64px;
    padding:15px 25px;
}

    section.products-section h2 {
        font-weight: 700;
        font-size: 20px;
        color: #222739;
        margin-bottom: 24px;
        padding-left: 8px;
    }
.products-grid::-webkit-scrollbar {
    height: 6px;
}

.products-grid::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.products-grid {
    /*display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 24px;*/
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}
.products-grid article {
    /*flex: 0 0 calc(20% - 0.8rem);*/
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-snap-align: start;
}
.products-grid::-webkit-scrollbar {
    height: 6px;
}

.products-grid::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}
.product-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 18px rgb(17 160 160 / 0.05);
    transition: box-shadow 0.3s ease;
    /*flex: 0 0 calc(20% - 0.8rem); /* 100% / 5 items - gap */
    /*scroll-snap-align: start;
    box-sizing: border-box;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 18px rgb(17 160 160 / 0.05);*/
    /*display: flex;
    flex-direction: column;
    position: relative;*/
    /*transition: box-shadow 0.3s ease;*/
}
    .product-card div a {
        -webkit-text-decoration: inherit;
        text-decoration: inherit;
        color: inherit;
    }
    .product-card:hover {
        box-shadow: 0 9px 20px rgb(17 160 160 / 0.15);
    }


/* Mobile: 4 products visible (2x2) => 2 columns */
@media (max-width: 767px) {
    .products-grid article {
        flex: 0 0 calc(50% - 0.5rem); /* 2 columns */
    }
}

/* Tablets: 6 products visible (3x2) => 3 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .products-grid article {
        flex: 0 0 calc(33.333% - 0.67rem); /* 3 columns */
    }
}

/* Desktops: 10 products visible (5x2) => 5 columns */
@media (min-width: 1024px) {
    .products-grid article {
        flex: 0 0 calc(20% - 0.8rem); /* 5 columns */
    }
}


.product-img-container {
    position: relative;
}

    .product-img-container img {
        border-radius: 12px;
        width: 100%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
    }

.product-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #db883f;
    color: white;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    text-transform: uppercase;
}

    .product-label.sale {
        background: #f17e7e;
    }

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

    .product-actions button {
        border: none;
        background: rgba(17, 160, 160, 0.15);
        color: #db883f;
        border-radius: 50%;
        font-size: 18px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }

        .product-actions button:hover, .product-actions button.active {
            background-color: #db883f;
            color: white;
        }

.product-info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    flex-grow: 1;
}

.product-name {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* show only 1 line */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    /*font-weight: 700;
    font-size: 14px;
    color: #222739;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;*/
}

.product-price {
    font-weight: 600;
    font-size: 14px;
    color: #db883f;
}

    .product-price del {
        color: #c4c4c4;
        margin-left: 6px;
        font-weight: 400;
    }
/* Horizontal arrow nav */
.arrow-nav {
    display: flex;
    justify-content: flex-end;
}

    .arrow-nav button {
        border: none;
        background: #db883f;
        color: white;
        padding: 8px 12px;
        font-size: 20px;
        border-radius: 12px;
        transition: background-color 0.3s ease;
    }

        .arrow-nav button:hover,
        .arrow-nav button:focus {
            background-color: #0d7c7c;
            outline: none;
        }

.arrow-nav-all {
    width: 100%;
    text-align: center; /* aligns arrow to the right */
    margin-top: 10px;
    background: #db883f;
    padding: 5px 0px;
    border-radius: 12px;
}

    .arrow-nav-all a {
        width:100%; 
        display: inline-block;
        font-weight: bold;
        color: #FFFFFF;
        text-decoration: none;
        font-size: 16px;
    }

    .arrow-nav-all:hover {
        background: #FFFFFF;
        color: #db883f !important;
        border: solid 1px #db883f;
    }

/* Horizontal scroll top categories */
.top-categories-scroll {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 8px;
    scroll-padding-left: 16px;
    scrollbar-width: none;
    user-select: none;
}

    .top-categories-scroll::-webkit-scrollbar {
        display: none;
    }

.category-card {
    flex: 0 0 auto;
    min-width: 160px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 16px rgb(34 39 57 / 0.06);
}

.category-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.7) 100%);
    color: white;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
}

.category-subtext {
    font-weight: 400;
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.85;
}

/* Product Filter Tabs */
.product-filter {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 12px;
    color: #6b7280;
    justify-content: center;
}

    .product-filter button {
        background: transparent;
        border: none;
        letter-spacing: 1px;
        color: #6b7280;
        padding: 4px 8px;
        cursor: pointer;
        border-bottom: 2px solid transparent;
        transition: all 0.3s ease;
    }

        .product-filter button.active,
        .product-filter button:hover {
            color: #db883f;
            border-bottom-color: #db883f;
        }

/* Testimonials */
.testimonials {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 12px 24px rgb(34 39 57 / 0.1);
}

.testimonial-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    user-select: none;
}

    .testimonial-cards::-webkit-scrollbar {
        display: none;
    }

.testimonial-card {
    background-color: #f6f7fa;
    border-radius: 16px;
    flex: 0 0 320px;
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 6px 12px rgb(17 160 160 / 0.1);
    scroll-snap-align: start;
}

.testimonial-text {
    font-size: 14px;
    color: #5a5f7a;
    line-height: 1.6;
    margin-bottom: 12px;
    white-space: pre-line;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .testimonial-author img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
    }

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

    .testimonial-author-info strong {
        font-weight: 700;
        color: #222739;
    }

    .testimonial-author-info small {
        font-size: 12px;
        color: #9b8461;
    }

/* RECENTLY ADDED */
.recently-added {
    margin-bottom: 64px;
}

/* FOOTER */
footer {
    background: #3c2f22;
    color: #8898aa;
    font-size: 14px;
    padding: 48px 24px;
}

    footer .footer-container {
        display: flex;
        flex-wrap: wrap;
        gap: 48px;
        max-width: 1160px;
        margin: 0 auto;
        justify-content: space-between;
    }

    footer .footer-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #db883f;
        width:200px;
    }

        footer .footer-logo .material-icons {
            width:100%;
        }

    footer .footer-description {
        color: #9b8461;
        margin-top: 8px;
        font-size: 13px;
    }

    footer .social-links {
        margin-top: 24px;
        display: flex;
        gap: 16px;
    }

        footer .social-links a {
            color: #9b8461;
            font-size: 20px;
            transition: color 0.3s ease;
        }

            footer .social-links a:hover,
            footer .social-links a:focus {
                color: #db883f;
            }

    footer .footer-links {
        display: flex;
        gap: 64px;
        flex-wrap: wrap;
    }

        footer .footer-links > div {
            min-width: 120px;
        }

        footer .footer-links h4 {
            font-weight: 700;
            font-size: 14px;
            margin-bottom: 12px;
            color: white;
        }

        footer .footer-links a {
            display: block;
            margin-bottom: 8px;
            font-size: 13px;
            color: #aa9888;
        }

    footer .newsletter {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-top: 12px;
    }

        footer .newsletter input[type="email"] {
            padding: 8px 12px;
            border-radius: 12px;
            border: none;
            outline-offset: 3px;
            outline-color: #db883f;
            flex-grow: 1;
            font-size: 13px;
        }

        footer .newsletter button {
            background-color: #db883f;
            color: white;
            font-size: 13px;
            border: none;
            padding: 10px 24px;
            border-radius: 12px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 3px 8px rgb(160 84 17 / 50%);
            transition: background-color 0.3s ease;
        }

            footer .newsletter button:hover,
            footer .newsletter button:focus {
                background-color: #0d7c7c;
                outline: none;
            }

/* Responsive: Mobile & tablet adjustments */
@media (max-width: 767px) {
    .top-bar {
        font-size: 12px;
        padding: 0 8px;
    }

    .main-nav {
        padding: 12px 8px;
        justify-content: space-between;
    }

    .logo {
        font-size: 20px;
    }

    .search-bar {
        display: none;
    }

    .nav-icons {
        gap: 12px;
    }

    .hamburger {
        display: block;
    }

    .secondary-nav {
        display: none;
    }

    .breadcrumb-nav {
        display: block;
    }

        .breadcrumb-nav nav a {
            font-weight: 700;
        }

            .breadcrumb-nav nav a:not(:last-child)::after {
                content: "›";
                margin: 0 8px;
                color: #db883f;
            }

    .hero-slide {
        flex-direction: column;
        padding: 24px 16px;
    }

    .hero-content {
        max-width: 100%;
        flex-basis: auto;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        margin: 24px auto 0 auto;
    }

    .benefits {
        flex-direction: column;
        max-width: 100%;
        margin: -24px 16px 48px;
        box-shadow: none;
    }

    .benefit-item {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }

    .partners {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }

    .top-categories-scroll {
        scroll-padding-left: 8px;
        gap: 16px;
        padding-bottom: 16px;
    }

    .category-card {
        min-width: 140px;
    }

    .product-filter {
        justify-content: center;
        gap: 12px;
        font-size: 15px;
    }

    .testimonial-cards {
        flex-wrap: nowrap;
        gap: 16px;
    }

    footer .footer-container {
        flex-direction: column;
        gap: 48px;
        padding: 0;
    }

    footer .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}



/* Utility */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    border: 0;
    padding: 0;
    margin: -1px;
}

/* Filter & Sort Bar */
.filter-sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-wrap: wrap;
}

/* left group (filters) */
.fs-left {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* right group (sort + actions) */
.fs-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* common button */
.fs-btn {
    background: #db883f;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    transition: all 0.2s ease;
}

    .fs-btn:hover {
        background: #c6742f;
    }

    .fs-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(219,136,63,0.25);
    }

/* View all button - outlined style */
.fs-view-all {
    background: transparent;
    color: #db883f;
    border: 2px solid #db883f;
    padding: 8px 16px;
    border-radius: 12px;
}

    .fs-view-all:hover {
        background: #db883f;
        color: #fff;
    }

/* select */
.fs-select {
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #db883f;
    background: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: border 0.2s ease;
}

    .fs-select:focus {
        border-color: #c6742f;
        outline: none;
        box-shadow: 0 0 0 3px rgba(219,136,63,0.25);
    }

/* filter panel (dropdown-like) */
.fs-filter-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 1200;
    min-width: 260px;
    background: #fff;
    border: 1px solid #f1f1f1;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Apply / Reset buttons inside panel */
.fs-apply {
    background: #db883f;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .fs-apply:hover {
        background: #c6742f;
    }

.fs-reset {
    background: transparent;
    color: #db883f;
    border: 2px solid #db883f;
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .fs-reset:hover {
        background: #db883f;
        color: #fff;
    }

/* small screen: stack */
@media (max-width: 720px) {
    .filter-sort-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .fs-right {
        justify-content: space-between;
        width: 100%;
    }

    .fs-filter-panel {
        position: relative;
        top: 0;
        left: 0;
        min-width: 100%;
        box-shadow: none;
        border-radius: 8px;
        border: 1px solid #f1f1f1;
    }
}

.product-item {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Optional: center vertically */
    margin: 5px;
    background-color: #fff; /* white background */
    border: 1px solid #ddd; /* Optional: add a border */
    border-radius: 5px; /* Optional: rounded corners */
}
#bigDisplay {
    height: 400px; /* fixed height */
    width: 100%; /* take full width of parent */
    object-fit: contain; /* maintain aspect ratio, show whole image */
    background-color: #f5f5f5; /* optional: placeholder background */
}

/* Thumbnail images */
.thumb {
    height: 80px; /* fixed height for thumbnails */
    width: auto; /* keep aspect ratio */
    object-fit: contain;
}
.side-panel {
    background-color: #f5f5f5; /* light gray background */
    height: 400px; /* fixed height */
    overflow-y:scroll;
}
.side-panel::-webkit-scrollbar {
    width: 6px;
}

.side-panel::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.btn-primary {
    background-color: #db883f !important;
    border-color: #db883f !important;
}
.btn-primary:hover {
    background-color: #FFF !important;
    border-color: #db883f !important;
    color:#db883f !important;
}
.btn-outline-primary {
    border-color: #db883f !important;
    color: #db883f !important;
}
.btn:hover{
    background-color:white !important;
    color:#db883f !important;
}
.text-primary{
    color:#db883f !important;
}
.spinner {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #444; /* Darker color for the moving part */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}