/* ========================= HEADER ========================= */
.header {
    width: 100%;
    background-color: #FDFFF0;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-header {
    display: flex;
    justify-content: space-between;
    background-color: #FDFFF0;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    justify-content: center;
}

.logo-container .logo-image {
    height: 35px;
    width: auto;
}

.right-section {
    display: flex;
    align-items: center;
}

.icon-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground, #374151);
    position: relative;
}

.icon-button:hover {
    background-color: #f3f4f6;
    border-radius: 4px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-button-header {
    padding: 0.5rem 1rem;
    background-color: #1a4845 !important;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.navigation {
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0.75rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-item {
    font-weight: 500;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--foreground, #111);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 99;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: var(--background, #fff);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 100;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.mobile-menu-header .logo-image {
    height: 35px;
}

.close-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground, #374151);
}

/* Mobile nav items */
.mobile-nav-items {
    padding-top: 1rem;
}

.mobile-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-weight: 500;
    font-size: 16px;
    color: #006400;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    text-decoration: none;
}

.mobile-nav-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.plus-icon {
    width: 20px;
    text-align: center;
}

/* Submenu */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f0ebe8;
}

.submenu.expanded {
    max-height: 500px;
}

.submenu-item {
    padding: 12px 20px 12px 40px;
    color: #006400;
    text-decoration: none;
    font-size: 14px;
    display: block;
    border-bottom: 1px solid #e5e7eb;
}

.submenu-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ================= SEARCH BAR ================= */
/* Hide search icon button by default */
.search-icon-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #374151;
}

/* Show full search bar on large screens */
.search-container {
    position: relative;
    width: 500px;
    margin-right: 1rem;
}

.search-input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid #1a4845;
    color: #1a4845;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    background-color: #FDFFF0;

}

.search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #1a4845;
    pointer-events: none;
}

/* 🔽 Responsive rules */

/* Tablet adjustments */
@media (max-width: 1024px) {
    .search-container {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .search-container {
        width: 250px;
    }
}

/* 📱 When screen ≤600px: hide input, show only icon */
@media (max-width: 600px) {
    .search-container {
        display: none;
    }

    .search-icon-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile search overlay */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: white;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

.mobile-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 480px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 6px 10px;
    background: #fff;
}

.mobile-search-icon {
    color: #6b7280;
    margin-right: 8px;
}

.mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 6px;
}

.mobile-search-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #374151;
}

/* Show only on mobile */
@media (max-width: 600px) {
    .search-container {
        display: none;
    }

    .search-icon-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Hide login/profile on mobile */
@media (max-width: 600px) {
    .auth-buttons {
        display: none;
    }
}




@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }
}


/* ///////////////////////////////////////////end of header ////////////////////////////////////////////////////////////// */


/* ///////////////////////////////////////////BaseHomeHeader ////////////////////////////////////////////////////////////// */


.BaseHomeHeader {
    background-color: #2563eb;
    color: #ffffff;
    padding: 1rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

@media (min-width: 768px) {
    .BaseHomeHeader {
        padding: 1rem 1.5rem;
    }
}

.nav-left {
    display: flex;
    align-items: center;
}

.mobileMenuContainer {
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .mobileMenuContainer {
        display: none;
    }
}

.desktopNav {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .desktopNav {
        display: flex;
    }
}

.navLink {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.navLink:hover {
    color: #e5e7eb;
}

.navLinkActive {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
}

.navLinkActive:hover {
    background-color: #f3f4f6;
}

.logoContainer {
    grid-column: 2 / 3;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.iconsContainer {
    grid-column: 3 / 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.iconButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.iconButton:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.loginButtonDesktop {
    display: none;
}

@media (min-width: 768px) {
    .loginButtonDesktop {
        display: inline-flex;
    }
}

.srOnly {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 16rem;
    height: 100vh;
    background-color: #ffffff;
    color: #1f2937;
    padding: 1rem;
    transition: left 0.3s ease-in-out;
    z-index: 50;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.sidebarOpen {
    left: 0;
}

.sidebarContent {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebarLink {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.sidebarLink:hover {
    color: #2563eb;
}

.sidebarCloseButton {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #1f2937;
}

.inlineIcon {
    display: inline-block;
    margin-right: 0.5rem;
}


/* ///////////////////////////////////////////end of BaseHomeHeader ////////////////////////////////////////////////////////////// */


/* ////////////////////////////////////////////////////  bannerslider   /////////////////////////////////////////////////////////////////////////////// */

.category-section .slick-list {
    margin: 0;
}

.category-section .slick-track {
    display: flex;
    gap: 20px;
}

.category-section .slick-slide {
    width: auto !important;
}



.category-slider .slick-list {
    margin: 0 -10px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 1100px;
    max-height: 400px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-empty {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    /* gray */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 100%;
    flex-shrink: 0;
}

.carousel-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* //////////////////////////////////////////////////////////////////////////////end of bannerslider ////////////////////////////////////////////////////////////////         */

/* //////////////////////////////////////////////////////////category section ////////////////////////////////////////////////////////////////////// */

.category-section {
    padding: 40px 20px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.category-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 600px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.category-card {
    text-align: center;
}

.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
    background-color: #e4e0cd;

}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.overlay-text {
    position: absolute;
    bottom: 0px;
    width: 100%;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    padding: 6px 0;
    background: rgba(0, 0, 0, 0.4);
}

.category-label {
    margin-top: 8px;
    font-size: 14px;
}

/* ///////////////////////////////////////////////// end of categorysection //////////////////////////////////////////////////////////////////////////////// */

/* ///////////////////////////////////////////////// featured products //////////////////////////////////////////////////////////////////////////////// */
.featured-products {
    padding: 2rem;
    margin: 0 auto;

}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: lighter;
    font-family: 'Jost', sans-serif;
    color: #1a4845;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: normal;
    display: flex;
    justify-content: center;
    font-family: 'Jost', sans-serif;
    color: #1a4845;
}

.view-all-btn {
    background-color: #111;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-all-btn:hover {
    background-color: #444;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}



@media (min-width: 600px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ///////////////////////////////////////////////// end of Featured products //////////////////////////////////////////////////////////////////////////////// */
/* ///////////////////////////////////////////////// ProductDetails page //////////////////////////////////////////////////////////////////////////////// */


body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}


.productinner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

@media (min-width: 1024px) {
    .productinner-grid {
        /* display: grid; */
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.product-details {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
}

.product-images {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

.thumbnail-list .slick-list {
    overflow: hidden;
}

.thumbnail-list .slick-track {
    display: flex;
}

.main-image {
    border: 1px solid #f8efea;
    border-radius: 1rem;
    /* padding: 1rem; */
    max-width: 100%;
    /* width: 100%; */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8efea;
}

.main-img {
    max-width: 300px;
    border-radius: 1rem !important;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.thumbnail-list {
    margin-top: 1rem;
    width: 100%;
    overflow: hidden;
    /* ✅ No horizontal scroll */
}

.thumbnail-list .slick-slider {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box;
}


.thumb-item {
    /* padding: 0.25rem; */
    width: 100px !important;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    border: none !important;
    /* border-radius: 8px; */
}


.thumb-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}


.title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.color-selector,
.size-selector {
    margin-bottom: 1.5rem;
}

.color-options {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.color-button {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: border 0.2s;
}

.color-button.selected {
    border-color: #000;
}

.size-options {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.size-button {
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.size-button.selected {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.size-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

.quantity-cart {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .quantity-cart {
        flex-direction: row;
        align-items: center;
    }
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.quantity-control button {
    background: none;
    border: none;
    cursor: pointer;
}

.add-to-cart {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: #000;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.add-to-cart:hover {
    background-color: #333;
}

.buy-now {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    background-color: #000;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.buy-now:hover {
    background-color: #333;
}

.product-display-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}



.product-detail-section {
    width: 100%;
    background: #fafafa;
    padding: 40px 20px;
    border-top: 1px solid #ddd;
}

.product-detail-section>div {
    max-width: 1000px;
    margin: 0 auto 24px auto;
}

.info-highlights p {
    font-weight: 600;
    margin-bottom: 10px;
}

.description p {
    margin-bottom: 16px;
}

.key-features h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.key-features ul {
    list-style: disc;
    padding-left: 20px;
}

.key-features li {
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 13px;
    color: #555;
}

.size-chart h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.size-chart table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.size-chart th,
.size-chart td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.size-chart th {
    background-color: #f0f0f0;
}




.slick-slide>div {
    display: flex;
    justify-content: center;
}



/* ///////////////////////////////////////////////// end of ProductDetails page //////////////////////////////////////////////////////////////////////////////// */

/* ///////////////////////////////////////////////// Filter page //////////////////////////////////////////////////////////////////////////////// */


.Filter-container {
    /* min-height: 100vh; */
    /* background-color:#FDFFF0; */
    padding: 1.5rem;
}

.max-container {
    max-width: 80rem;
    margin: 0 auto;

}

.filter-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    background-color: #FDFFF0;
    border-radius: 0.5rem;
    border: 1px solid #d6d6d6;
    padding: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Filter Button */
.filter-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Reduced padding and font size for smaller button */
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    color: #1a4845;
    border: 1px solid #1a4845;
    border-radius: 0.375rem;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.2s;
}

.filter-button:hover {
    background-color: rgba(26, 72, 69, 0.3);
}

.filter-icon {
    /* Reduced icon size */
    height: 0.875rem;
    width: 0.875rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease-in-out;
}

.modal-desktop {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 50;
    width: 100%;
    max-width: 28rem;
    padding: 1.5rem;
}

/* Updated sidebar with smooth animation and removed blur for mobile */
.modal-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 20rem;
    background-color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.modal-sidebar.open {
    transform: translateX(0);
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.close-button {
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
}

.close-button:hover {
    color: #4b5563;
}

/* Modal Content */
.modal-content {
    padding: 1rem 0;
}

.sidebar-content {
    padding: 1rem;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 5rem;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.filter-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Filter Section Styles */
.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-input {
    width: 1rem;
    height: 1rem;
    color: #2563eb;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
}

.checkbox-input:focus {
    outline: none;
    ring: 2px;
    ring-color: #3b82f6;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Price Range Styles */
.price-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slider-container {
    position: relative;
    /* margin-bottom: 3rem; */
}

.range-slider {
    position: absolute;
    width: 100%;
    height: 0.5rem;
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    appearance: none;
    cursor: pointer;
}

.price-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: 1rem;
}

/* Filter Apply Button */
.filter-apply-button {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: white;
    color: black;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.filter-apply-button:hover {
    background-color: #f9fafb;
}

.sidebar-filter-button {
    padding: 0.75rem 1rem;
}

.sidebar-button-container {
    padding-top: 1rem;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    background-color: #FDFFF0;
    border: 1px solid #1a4845;
    border-radius: 0.375rem;
    color: #1a4845;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    min-width: 120px;
}

.dropdown-trigger:hover {
    border-color: #1a4845;
    /* box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); */
}

.dropdown-trigger:focus {
    outline: none;
    border-color: #082f2c;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.dropdown-icon {
    height: 1rem;
    width: 1rem;
    transition: transform 0.2s ease-in-out;
    color: #1a4845;
}

.dropdown-icon.rotated {
    transform: rotate(180deg);
}

.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 20;
    margin-top: 0.25rem;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    min-width: 180px;
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-option {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.875rem;
    color: #374151;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.dropdown-option:hover {
    background-color: #f9fafb;
}

.dropdown-option.selected {
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 500;
}

.dropdown-option:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.dropdown-option:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

/* Responsive Styles */
@media (max-width: 768px) {

    /* Added mobile-specific smaller sizing */
    .filter-button {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .filter-icon {
        height: 0.75rem;
        width: 0.75rem;
    }

    .dropdown-trigger {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        min-width: 100px;
    }

    .dropdown-icon {
        height: 0.75rem;
        width: 0.75rem;
    }

    .dropdown-menu {
        min-width: 140px;
    }

    .dropdown-option {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }

    .modal-desktop {
        display: none;
    }

    /* Added backdrop transition for mobile */
    .modal-overlay {
        background-color: rgba(0, 0, 0, 0);
        transition: background-color 0.3s ease-in-out;
    }

    .modal-overlay.open {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 769px) {
    .modal-sidebar {
        display: none;
    }

    .modal-overlay {
        backdrop-filter: blur(8px);
        background-color: rgba(0, 0, 0, 0.3);
    }
}

/* Added custom styles for native range slider */
.slider-thumb::-webkit-slider-thumb {
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #d97706;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.slider-thumb::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #d97706;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}



/*/// ///////////////////////////////////////////////// end of Filterpage //////////////////////////////////////////////////////////////////////////////// */

/*/// /////////////////////////////////////////////////Footer //////////////////////////////////////////////////////////////////////////////// */

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    font-size: 14px;
    color: #6b7280;
    /* gray-500 */
    border-top: 1px solid #e5e7eb;
    /* light gray border */
    background-color: #FDFFF0;

}

.footer-left {
    margin-bottom: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #6b7280;
    transition: color 0.2s;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #374151;
    /* darker gray */
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
    transition: color 0.2s;
}

.social-icon:hover {
    color: #374151;
}

@media (min-width: 768px) {
    .footer {
        flex-direction: row;
    }

    .footer-left,
    .footer-links,
    .footer-socials {
        margin-bottom: 0;
        text-align: left;
    }

    .footer-links {
        justify-content: flex-start;
    }
}


/*/// ///////////////////////////////////////////////// end of Footer //////////////////////////////////////////////////////////////////////////////// */

/*/// ///////////////////////////////////////////////// seller Registration//////////////////////////////////////////////////////////////////////////////// */


.auth-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/minimalist-black-interior-with-black-sofa.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}


@media (min-width: 768px) {
    .auth-bg {
        background-size: 100%;
        background-position: center;
    }
}

@media (max-width: 767px) {
    .auth-bg {
        background-size: cover;
        background-position: bottom left;
    }
}

.otp-msg {
    color: #ccc;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: left;
}


.auth-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.auth-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    padding: 50px 240px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-card {
    background: #ffffff14;
    /* backdrop-filter: blur(10px); */
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.05);
}

.auth-title {
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 16px;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-input {
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 14px;
}

.auth-input::placeholder {
    color: #ccc;
}

.auth-input:focus {
    outline: none;
    border-color: #4f9efc;
    background: rgba(255, 255, 255, 0.15);
}

.auth-footer {
    margin-top: 16px;
    text-align: center;
}

.forgot-link {
    text-align: right;
    margin-bottom: 12px;
}

.forgot-link a {
    font-size: 12px;
    color: #add8ff;
    text-decoration: none;
}

.auth-button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(to right, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.auth-button:hover {
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    transform: scale(1.02);
}

.signup-text {
    margin-top: 10px;
    font-size: 12px;
    color: #ccc;
}

.signup-text a {
    color: #add8ff;
    font-weight: 500;
    text-decoration: none;
}

.auth-footer-text {
    text-align: center;
    font-size: 14px;
    margin-top: 12px;
    color: #ccc;
}

.auth-footer-text a {
    color: #add8ff;
    font-weight: 500;
    text-decoration: none;
}

.auth-footer-text a:hover {
    color: #ffffff;
}


@media (max-width: 768px) {
    .auth-box {
        max-width: 90%;
        padding: 12px;
    }
}


/*/// ///////////////////////////////////////////////// end of seller Registration //////////////////////////////////////////////////////////////////////////////// */

/*/// ///////////////////////////////////////////////// seller Login //////////////////////////////////////////////////////////////////////////////// */


.login-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-bg {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-image: url('/assets/images/minimalist-black-interior-with-black-sofa.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;

}

@media (min-width: 768px) {
    .login-bg {
        background-size: 100%;
        background-position: center;
    }
}

@media (max-width: 767px) {
    .login-bg {
        background-size: cover;
        background-position: bottom left;
    }
}

.login-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    /* backdrop-filter: blur(0px); */
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.login-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(2px);
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.login-title {
    text-align: center;
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
}

.login-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white !important;
    outline: none;
}

.login-input::placeholder {
    color: #ffffffff;
    opacity: 1;
}


.login-button {
    width: 100%;
    padding: 12px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.login-footer-text {
    text-align: center;
    font-size: 13px;
    margin-top: 12px;
    color: #ccc;
}

.login-footer-text a {
    color: #add8ff;
    font-weight: 500;
    text-decoration: none;
}

.login-footer-text a:hover {
    color: #ffffff;
}

.login-error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/*/// /////////////////////////////////////////////////end of seller Login //////////////////////////////////////////////////////////////////////////////// */

/*/// /////////////////////////////////////////////////TopCategory //////////////////////////////////////////////////////////////////////////////// */

/* .feature {
    margin-top: 32px;
}

.feature .arrow-center:hover .slick-arrow {
    visibility: visible;
    opacity: 1;
} */
/* 
.feature .arrow-center .slick-arrow {
    transform: translateY(0);
    margin-left: -28px;
    border: 1px solid var(--gray-100);
    visibility: hidden;
    opacity: 0;
    top: 54px;
}

.feature .arrow-center .slick-arrow.slick-next {
    margin-right: -20px;
} */

/* .feature-item-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 16px;
} */
/* .feature-item {
    text-align: center;
    padding: 0 8px;
} */

/* .feature-item-wrapper .feature-item:nth-child(10n+1) .feature-item__thumb {
    background: none !important;
}

.feature-item__content {
    text-align: center;
    margin-top: 8px;
}

.feature-item__content a {
    text-decoration: none;
    color: #1a4845;
    display: inline-block;
} */

/* .feature-item__thumb {
    max-width: 130px;
    max-height: 130px;
    background-color: white !important;
    aspect-ratio: 1;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
} */

/* .feature-item__thumb img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

/* .feature-item__thumb:hover img {
    transform: scale(1.1);
    /* Zoom in */


/* .feature-item__content h6 {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}


.featured-products .product-card,
.popular-products .product-card {
    flex-direction: row;
    align-items: unset;
}

.featuredproductimgmargin {
    margin-top: 74px;
}  */

/* @media (min-width:991px) and (max-width:1399px) {
    .featuredproductimgmargin {
        margin-top: 70px !important;
    }
}

@media (min-width:767px) and (max-width:991px) {
    .featuredproductimgmargin {
        margin-top: 67px !important;
    }
}

.popular-products .product-card__thumb {
    width: 120px !important;
} */

/* Default (desktop) */
/* .feature-item__thumb {
    max-width: 120px;
    max-height: 120px;
} */

/* Tablets */
/* @media (max-width: 991px) {
    .feature-item__thumb {
        max-width: 110px;
        max-height: 110px;
    }

    .feature-item__content h6 {
        font-size: 13px;
    }
} */

/* Small tablets & large phones */
/* @media (max-width: 768px) {
    .feature-item__thumb {
        max-width: 100px;
        max-height: 100px;
    }

    .feature-item__content h6 {
        font-size: 12px;
    }
} */

/* Small phones (≤ 480px) */
/* @media (max-width: 480px) {
    .feature-item__thumb {
        max-width: 80px;
        max-height: 80px;
    }

    .feature-item__content h6 {
        font-size: 11px;
    }
} */

/* Extra small phones (≤ 360px) */
/* @media (max-width: 360px) {
    .feature-item__thumb {
        max-width: 70px;
        max-height: 70px;
    }

    .feature-item__content h6 {
        font-size: 10px;
    }
} */

/* Mobile category bar */
/* .mobile-category-bar {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    scrollbar-width: none;
} */

/* .mobile-category-bar::-webkit-scrollbar {
    display: none;
}

.mobile-category-item {
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    color: black;
}

.mobile-category-item img {
    width: 30px;
    height: 30px;
    margin: 0 auto 5px auto;
    display: block;
} */

/* ✅ Mobile: slider mode */
/* @media (max-width: 768px) {
    .mobile-category-bar {
        overflow-x: auto;
        gap: 20px;
        justify-content: space-evenly;
    }

    .mobile-category-item {
        flex: 0 0 auto;
    }
} */

/* ✅ Tablet/Desktop: centered & evenly spaced */
/* @media (min-width: 769px) {
    .mobile-category-bar {
        justify-content: center;
        gap: 40px;
        overflow-x: hidden;
    } */

/* .mobile-category-item {
        flex: 0 0 auto;
    } */




/*/// /////////////////////////////////////////////////end of TopCategory //////////////////////////////////////////////////////////////////////////////// */

/*/// /////////////////////////////////////////////////Featured Store //////////////////////////////////////////////////////////////////////////////// */

.section-title {
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    font-size: 35px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 15px;
    }
}


.store-card-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.square-card {
    margin: 0;
    width: 100%;
}

.square-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--card-radius, 18px);
    overflow: hidden;
    background: #f2f2f2;
}

.square-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.square-card__label {
    margin-top: 8px;
    font-size: 0.95rem;
    text-align: center;
    color: #000000;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    width: 100%;
}

@media (max-width: 1100px) {
    .store-grid {
        grid-template-columns: repeat(6, 1fr);
        /* exactly 3 per row */
        gap: 16px;
    }
}

@media (max-width: 1000px) {
    .store-grid {
        grid-template-columns: repeat(5, 1fr);
        /* exactly 3 per row */
        gap: 16px;
    }
}

/* Medium screens (tablet-ish) */
@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: repeat(4, 1fr);
        /* exactly 3 per row */
        gap: 16px;
    }
}

/* Small screens (like 320px) */
@media (max-width: 480px) {
    .store-grid {
        grid-template-columns: repeat(3, 1fr);
        /* always 3 per row */
        gap: 10px;
    }

    .square-card {
        width: 100%;
        max-width: 100px;
        margin: 0 auto;
    }

    .square-card__media {
        aspect-ratio: 1 / 1;
    }

    .square-card__label {
        font-size: 0.75rem;
        text-align: center;
    }
}

/*/// /////////////////////////////////////////////////end of Featured Store //////////////////////////////////////////////////////////////////////////////// */

/*/// /////////////////////////////////////////////////Skeleton//////////////////////////////////////////////////////////////////////////////// */


.skeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f7f7f7 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton-wrapper {
    display: flex;
    /* or grid */
    gap: 20px;
    /* 👈 adds gap between skeletons */
    flex-wrap: wrap;
    /* optional for responsive */
}

/*/// /////////////////////////////////////////////////end of Skeleton//////////////////////////////////////////////////////////////////////////////// */