body {
    font-family: 'Segoe UI', sans-serif;
    background: #F9F9F9;
}



:root {
    --primary: #4A6FA5;
    /* calm blue */
    --accent: #D4AF37;
    /* soft gold */
    --bg: #F5F7FA;
    /* light background */
    --white: #FFFFFF;
    --text: #222222;
    --muted: #777777;
}

.custom-nav {
    position: relative !important;

}

.nav-inner {

    position: relative;
    background: var(--white);

    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: var(--primary);
}

.nav-right span,
.nav-left span {

    cursor: pointer;
}

/* 🔥 STICKY NAV */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* 🔥 STICKY CATEGORY */
.cat-fixed {
    position: fixed;
    top: 70px;
    /* below nav */
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* CATEGORY BAR */
.nav-categories {

    background: #fff;

    padding: 18px 32px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-categories span {
    padding: 8px 22px;
    background: #eef2f7;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;



}

/* OVERLAY */
.nav-search-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);

    transform: translateY(-100%);
    opacity: 0;
    transition: 0.3s;
}

.nav-search-overlay.active {
    transform: translateY(0);
    opacity: 1;
}

/* 🔥 SEARCH BOX */
.search-container {
    width: 60%;
    max-width: 700px;

    display: flex;
    align-items: center;

    background: #f1f3f5;
    padding: 12px 18px;

    border-radius: 50px;
    gap: 10px;


}

/* INPUT */
.search-container input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;

    font-size: 16px;
}

/* ICONS */
.search-icon {
    font-size: 18px;
    color: #777;
}

.close-icon {
    font-size: 18px;
    cursor: pointer;
    color: #777;
    transition: 0.3s;
}

.close-icon:hover {
    color: var(--primary);
}



.nav-categories span:hover {
    background: var(--primary);
    color: #fff;
}

.nav-categories input {
    border: none;
    background: #eef2f7;
    padding: 8px 32px;
    border-radius: 12px;
}


.nav-right {
    display: flex;
    align-items: center;
    /* ✅ vertical center */
    gap: 8px;
}

.nav-right span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;
}

.nav-left {
    display: flex;
    align-items: center;
}

/* ICON */
.i-color {
    color: var(--text);
    font-size: 18px;
    transition: 0.3s;
    line-height: 1;
}

/* HOVER EFFECT */
.nav-right span:hover {
    background: #eef2f7;
}

.nav-right span:hover .i-color {
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 15px;
}


/* Wrapper spacing */
.carousel-wrapper {

    padding: 28px 32px;
}

/* Background image instead of img */
.carousel-bg {
    height: 74vh;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    position: relative;
    overflow: hidden;

}

/* Overlay */
.carousel-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* CENTER CONTENT */
.carousel-content-left {
    margin-left: 60px;
    color: #fff;
}

/* 🔥 TEXT BOX (DARK STRIP) */
.carousel-text-box {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* BIG TITLE */
.carousel-text-box h1 {
    font-size: 52px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
}

/* SUB TEXT */
.carousel-text-box p {
    margin-top: 10px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    letter-spacing: 6px;
    font-weight: 500;
}

/* BUTTON */
.btn-shop {
    background: #fff;
    color: #000;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: 0.3s;

}


.carousel-content-center {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-categories::-webkit-scrollbar {
    display: none;
}



/* WRAPPER */
.bestseller-header {
    text-align: center;
    margin-bottom: 20px;
}

/* TOP ROW */
.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.header-top i {
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

/* TITLE */
.header-top h3 {
    margin: 0;
    font-weight: 600;
}

/* BOTTOM ROW */
.header-bottom {
    margin-top: 5px;
}

.header-bottom a {
    font-size: 12px;
    text-decoration: underline;
    color: #555;
}

/* SCROLL CONTAINER */
.bestseller-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;

    padding: 12px 32px;
}

.title {
    align-items: center;
    justify-content: center;
}

/* HIDE SCROLLBAR */
.bestseller-scroll::-webkit-scrollbar {
    display: none;
}



.bestseller-scroll .product-card {
    flex: 0 0 25%;
    /* 🔥 4 cards */
    max-width: 24%;
}



/* CARD */
.product-card {
    background: #eef2f7;
    border-radius: 8px;

    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative !important;

}

/* IMAGE */
.card-img-slider {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 8px 8px 0px 0px;
}

.card-img-slider img {
    width: 100%;
    height: 100%;

    display: none;
}

.card-img-slider img.active {
    display: block;
}

/* 🔥 FLOATING BADGE */
.price-badge {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-16%, -16%);

    background: #4A6FA5;
    color: #fff;

    padding: 10px;
    border-radius: 50%;

    width: 70px;
    height: 70px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    text-align: center;
    z-index: 2;
}

.new-price {
    font-weight: 600;
    font-size: 14px;
}

.old-price {
    font-size: 12px;
    text-decoration: line-through;
    opacity: 0.7;
}

.rating {
    font-size: 13px;
    color: #ff7a00;
    /* star color */
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.rating span {
    color: #666;
    font-size: 12px;
}

.rating i {
    color: #ff7a00;
    /* orange star */
    font-size: 14px;
}

.rating span {
    margin-left: 5px;
    color: #666;
    font-size: 12px;
}

/* IMAGE WRAPPER */
.card-img-slider {
    position: relative;
    overflow: hidden;
}

/* ARROWS DEFAULT HIDDEN */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.8);

    width: 32px;
    height: 32px;

    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    /* 🔥 hidden */
    pointer-events: none;

    transition: 0.3s ease;
}

/* LEFT RIGHT POSITION */
.slider-btn.left {
    left: 10px;
}

.slider-btn.right {
    right: 10px;
}

/* 🔥 SHOW ON HOVER */
.card-img-slider:hover .slider-btn {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

/* CONTENT */
.card-content {
    padding: 20px;
}

.category {
    font-size: 10px;
    letter-spacing: 3px;
    color: #888;
}

.card-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin: 10px 0;
}

.card-content p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* BUTTON */
.btn-add {
    display: inline-block;
    margin-top: 15px;

    background: #4A6FA5;
    color: #fff;

    padding: 12px 24px;
    border-radius: 4px;

    font-size: 11px;
    letter-spacing: 2px;
    text-decoration: none;
}

.support-section {
    padding: 8px 32px;
    margin-top: 30px;
}

/* SECTION */
.support-section h2 {
    font-weight: 600;
}

/* TOP CARDS */
.support-card {
    background: #eef2f7;
    border-radius: 18px;
    padding: 25px;
    transition: 0.3s;
}

.support-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.support-card h6 {
    margin: 10px 0 5px;
    font-weight: 600;
}

.support-card p {
    font-size: 13px;
    color: var(--muted);
}

/* HOVER */
.support-card:hover {
    transform: translateY(-5px);
}

/* PROMO CARD */
.promo-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.promo-card img {

    width: 100%;
    height: 500px;
    object-fit: cover;

}

/* OVERLAY TEXT */
.promo-content {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    color: #fff;
    z-index: 2;
}

.promo-content h5 {
    font-weight: 600;
    font-size: 32px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    text-align: left;
    max-width: 300px;
}

.promo-card img {
    transition: 0.4s;
}

.promo-card:hover img {
    transform: scale(1.05);
}

.promo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.1) 70%,
            transparent 100%);
    z-index: 1;
}

.promo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* BUTTON */
.promo-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    width: 40px;
    height: 40px;

    background: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s;
}

/* ICON */
.promo-btn i {
    font-size: 16px;
    color: #000;
}

/* HOVER EFFECT 🔥 */
.promo-btn:hover {
    background: var(--primary);
}

.promo-btn:hover i {
    color: #fff;
}

.featured-section {
    padding: 8px 32px;
    margin-top: 30px;
}

/* BOX */
.featured-box {
    background: #eef2f7;
    border-radius: 18px;
    padding: 40px;
    display: flex;
    align-items: center;

    gap: 30px;
    justify-content: center;
}

/* ITEMS */
.featured-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ✅ center everything */
    justify-content: center;
    text-align: center;
}

.featured-item img {
    width: 180px;

    height: 180px;
    margin: 20px auto;
    display: block;
    border-radius: 180%;
}

.featured-item h6 {
    font-weight: 600;
}

.featured-item p {
    font-size: 18px;
    color: var(--muted);
    text-align: left;
    margin-bottom: 0;

}

.bottom-text {
    margin-top: 10px !important;
}

/* TOP TEXT RIGHT */
.top-text {
    margin-bottom: 10px !important;
    text-align: center;
}

/* BUTTON */
.view-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    border: 1px solid #ccc;
    text-decoration: none;
    font-size: 13px;
    color: #333;
    transition: 0.3s;
    align-self: center;
}

.view-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.view-btn.bottom {
    margin-top: 10px;
}

/* CENTER BADGE */
.featured-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-circle span {
    font-size: 12px;
    font-weight: 600;
}

.badge-circle {
    animation: rotate 10s linear infinite;
}


/* FOOTER BOX */
.footer-section {
    background: #4A6FA5;

    padding: 40px 32px !important;
}

.footer-box {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT */
.footer-left {
    flex: 2;
}

.footer-left h5 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

/* INPUT */
.footer-input {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    width: 300px;
}

.footer-input input {
    border: none;
    padding: 10px 15px;
    flex: 1;
    outline: none;
}

.footer-input button {
    border: none;
    background: transparent;
    padding: 10px 15px;
    cursor: pointer;
}

/* CHECK */
.footer-check {
    display: block;
    font-size: 12px;
    margin: 10px 0;
    color: #fff;
}

/* PAYMENTS */
.footer-pay img {
    height: 25px;
    margin-right: 10px;
}

/* LINKS */
.footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-links h6 {
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    margin-bottom: 6px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline !important;
}

/* BOTTOM */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

/* SOCIAL */
.footer-social i {
    margin-right: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
}

/* BACK TO TOP */
.back-top {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 15px;
    background: #fff;
    cursor: pointer;
}

.section-spacing {
    padding: 20px 40px;
}

/* ===== HEADER ===== */
.catalog-header h3 {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-btn {
    background: #f3f3f3;
    padding: 10px 14px;
    border-radius: 6px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
}


.filter-sidebar {
    position: fixed;
    /* 🔥 THIS IS THE MAIN FIX */
    top: 0;
    left: -320px;
    /* hidden */
    width: 300px;
    height: 100vh;

    background: #fff;
    padding: 20px;

    z-index: 2000;
    /* above everything */
    transition: 0.3s ease;

    overflow-y: auto;
}

.filter-sidebar.active {
    left: 0;
}

.filter-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.4);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;
    z-index: 1500;
}

.filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* HEADER */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ROW */
.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* TOGGLE */
.toggle-group {
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
}

.toggle-group button {
    border: none;
    padding: 6px 12px;
    background: transparent;
}

.toggle-group button.active {
    background: #fff;
    border: 1px solid #ccc;
}

/* ACCORDION */
.filter-accordion {
    margin-bottom: 15px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 500;
}

.accordion-body {
    display: none !important;
    margin-top: 10px;
}

/* ICON ROTATION (OPTIONAL SMOOTH) */
.accordion-header i {
    transition: 0.3s;
}

/* ACTIVE */
.filter-accordion.active .accordion-body {
    display: block !important;
}

/* PRICE */
.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.price-inputs input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* CHECKBOX */
.accordion-body label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

/* SIZE GRID */
.size-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.size-grid button {
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
}

/* HOVER */
.accordion-body button:hover {
    border-color: #4A6FA5;
    color: #4A6FA5;
}

/* CONTAINER */
.sort-container {
    position: relative;
    width: 220px;
}

/* BUTTON */
.sort-btn {
    background: #f3f3f3;
    padding: 10px 14px;
    border-radius: 6px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
}

/* DROPDOWN */
.sort-dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;

    width: 100%;
    background: #fff;

    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    display: none;
    z-index: 1000;
}

/* ACTIVE */
.sort-dropdown-menu.active {
    display: block;
}

/* ITEMS */
.sort-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
}

.sort-item:hover {
    background: #f5f5f5;
}

/* SELECTED */
.sort-item.active {
    background: #eee;
    font-weight: 500;
}