@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'spartan', sans-serif;
}

h1 {
    font-size: 50px;
    line-height: 64px;
    color: #000;
}

h2 {
    font-size: 46px;
    line-height: 54px;
    color: #000;
}

h4 {
    font-size: 20px;
    color: #000;
}

h6 {
    font-weight: 700;
    font-size: 12px;
}

p {
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

button.normal {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}

button.white {
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid white;
    outline: none;
    transition: 0.2s;
}

body {
    width: 100%;
}

/* ========================================== */
/* HEADER & NAVBAR */
/* ========================================== */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background-color: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
    color: darkorange;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background-color: darkorange;
    position: absolute;
    bottom: -4px;
    left: 0px;
}

/* Navbar Search Styling */
.search-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #333;
    padding: 6px 15px;
    border-radius: 20px;
    width: 200px;
    margin-left: 20px;
    transition: 0.4s ease;
}

.search-container:focus-within {
    border-color: darkorange;
    width: 280px;
}

.search-container input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    width: 100%;
}

.search-container i {
    color: #606063;
    font-size: 14px;
    margin-left: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.search-container i:hover {
    color: darkorange;
    transform: scale(1.2);
}

#mobile,
#mobile a i.fa-bag-shopping {
    display: none !important;
}

#close {
    display: none;
}

/* Cart Badge Styling */
#navbar li a,
#mobile a {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: red;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    border: 2px solid #000;
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

/* ========================================== */
/* HOME PAGE & SLIDER */
/* ========================================== */
.container {
    padding: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 0.5rem;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    height: 100%; /* Make sure it takes up the wrapper's height */
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider img {
    flex: 0 0 100%; /* Important: prevents images from shrinking */
    width: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 0.70rem;
    height: 0.70rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: all ease 250ms;
}

.slider-nav a:hover,
.slider-nav a.active {
    background-color: darkorange !important;
    opacity: 1;
    transform: scale(1.3);
}

/* ========================================== */
/* STANDARD PRODUCTS (HOME, HOMME, FEMME) */
/* ========================================== */
#product1 {
    text-align: center;
}

#product1 .pro-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding-top: 20px;
    flex-wrap: wrap;
}

#product1 .pro {
    width: 22%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid #e7dacc;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
    margin: 15px 0;
    position: relative;
    transition: transform 0.5s ease;
    background: #fff;
}

#product1 .pro:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}

#product1 .pro img {
    width: 100%;
    border-radius: 20px;
    transition: 0.3s ease;
}

#product1 .pro:hover img {
    transform: scale(1.05);
}

#product1 .pro .des {
    text-align: start;
    padding: 10px 0;
}

#product1 .pro .des span {
    color: #606063;
    font-size: 12px;
}

#product1 .pro .des h5 {
    padding-top: 7px;
    color: #1a1a1a;
    font-size: 14px;
}

#product1 .pro .des i {
    font-size: 12px;
    color: rgb(243, 181, 25);
}

#product1 .pro .des h4 {
    padding-top: 7px;
    font-size: 15px;
    font-weight: 700;
    color: darkorange;
}

#product1 .pro i.cart {
    font-size: 16px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50px;
    background-color: #ffecbe;
    color: darkorange;
    border: 1px solid #ffd26a;
    position: absolute;
    bottom: 20px;
    right: 15px;
    transition: 0.3s;
    z-index: 10;
}

#product1 .pro i.cart:hover {
    background-color: darkorange;
    color: white;
}

.pro a:has(.cart) {
    pointer-events: auto;
}

/* Niche Premium UI Patch */
.pro.niche-exclusive-badge {
    position: relative;
    transition: all 0.3s ease !important;
}

.pro.niche-exclusive-badge::before {
    content: "NICHE EXCLUSIVE";
    position: absolute;
    top: 15px !important;
    right: 15px !important;
    background-color: orange;
    color: #000;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 7px !important;
    z-index: 10;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ========================================== */
/* BANNERS */
/* ========================================== */
#collections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

#collections .banner-box {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    text-align: center;
    background-image: url(img/banner/male.png);
    flex: 1 1 400px;
    max-width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center;
    padding: 30px;
}

#collections .banner-box2 {
    background-image: url(img/banner/female.png);
}

#collections h2 {
    padding-bottom: 5px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 0 15px #000;
}

#collections .banner-box:hover button {
    background-color: darkorange;
    border: 1px solid darkorange;
}

#banner3 {
    display: flex;
    padding: 0 80px;
}

#banner3 .banner-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(img/banner/bottom.png);
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    padding: 20px;
    margin-bottom: 20px;
    aspect-ratio: 3.05/1;
}

/* Page Headers */
#f-page,
#m-page,
#n-page,
#P-page,
#cart-page {
    background-color: #1a1a1a;
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
}

#m-page {
    background-image: url("img/banner/male1.png");
}

#f-page {
    background-image: url("img/banner/female1.png");
}

#n-page {
    background-image: url("img/banner/niche.jpg");
}
#p-page {
    background-image: url("img/banner/pack.jpg");
}

#cart-page {
    background-image: url("img/cart.jpg");
}

#f-page h2,
#f-page p,
#m-page h2,
#m-page p,
#n-page h2,
#n-page p,
#p-page h2,
#p-page p,
#cart-page h2,
#cart-page p {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================== */
/* PACKS & BUNDLE BUILDER (ANTAALI STYLE) */
/* ========================================== */
.pack-banner {
    background-image: url("img/banner/bottom.png");
    width: 100%;
    height: 35vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.pack-banner h2 {
    color: #fff;
    font-size: 38px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.pack-banner p {
    color: #fff;
    font-size: 18px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-top: 5px;
}

.pack-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pack-card {
    background: #fff;
    width: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: darkorange;
}

.pack-img-box {
    position: relative;
    width: 100%;
    height: 220px;
}

.pack-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pack-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: darkorange;
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 20px;
    letter-spacing: 1px;
}

.pack-details {
    padding: 25px;
    text-align: center;
}

.pack-details h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 700;
}

.pack-price {
    margin: 15px 0 20px 0;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
    margin-right: 10px;
}

.new-price {
    font-size: 26px;
    font-weight: 800;
    color: darkorange;
}

.pack-btn {
    width: 100% !important ;
    background-color: #000 !important ;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 15px !important;
}

.pack-btn:hover {
    background-color: darkorange !important;
}

/* Builder Header */
.builder-header {
    position: sticky;
    top: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.back-btn {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #000;
}

.back-btn:hover {
    color: darkorange;
}

.builder-title-area {
    text-align: center;
    flex: 1;
}

.builder-title-area h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 800;
}

.progress-container {
    width: 220px;
    height: 6px;
    background: #eee;
    border-radius: 10px;
    margin: 8px auto 0 auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: darkorange;
    width: 0%;
    transition: width 0.4s ease;
}

.spacer {
    width: 80px;
}

/* Builder Grid */
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    padding: 20px 80px;
    margin-bottom: 120px;
}

.builder-pro {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.builder-pro:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: #ddd;
}

/* Constrain Image Size Perfectly */
.builder-pro img {
    width: 100%;
    max-width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.builder-pro:hover img {
    transform: scale(1.05);
}

.builder-pro .des {
    text-align: center;
    width: 100%;
}

.builder-pro .des span {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.builder-pro .des h5 {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.builder-pro .star {
    color: darkorange;
    font-size: 11px;
    margin-top: 8px;
}

/* Selection states */
.builder-pro.selected {
    border: 2px solid darkorange !important;
    background-color: #fffdf8;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.15);
}

.builder-pro.selected::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    background: darkorange;
    color: white;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.builder-pro.dimmed {
    opacity: 0.4;
    filter: grayscale(100%);
    pointer-events: none;
}

/* Sticky Footer */
.builder-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
    padding: 15px 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.builder-footer.active {
    transform: translateY(0);
}

.builder-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.builder-total span {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.builder-total h3 {
    font-size: 24px;
    color: #000;
    font-weight: 800;
}

#confirm-bundle-btn {
    background-color: #000;
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

#confirm-bundle-btn:not(.disabled):hover {
    background-color: darkorange;
}

#confirm-bundle-btn.disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

/* ========================================== */
/* SEARCH MODAL */
/* ========================================== */
#search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    transition: 0.3s ease;
}

.search-modal-card {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    max-width: 90%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: slideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-header-wrapper {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

#modal-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 400;
    color: #000 !important;
}

#close-modal {
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

#modal-results-list {
    max-height: 450px;
    overflow-y: auto;
    padding: 10px 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    cursor: pointer;
    transition: 0.2s;
}

.search-result-item:hover {
    background-color: #f8f8f8;
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 5px;
}

.search-result-item h4 {
    font-size: 14px;
    margin-bottom: 2px;
    color: #1a1a1a !important;
    font-weight: 700;
}

.search-result-item span {
    color: #888 !important;
    font-size: 11px;
    text-transform: uppercase;
}

.search-result-item p {
    font-size: 13px;
    color: darkorange !important;
    font-weight: 700;
    margin: 0;
}

.t-tag {
    font-size: 13px;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #444;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid transparent;
}

.t-tag:hover {
    background: #fff;
    border-color: darkorange;
    color: darkorange;
    transform: translateY(-2px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        top: 5%;
    }
    to {
        opacity: 1;
        top: 10%;
    }
}

/* ========================================== */
/* MISC COMPONENTS (CART, TOAST, WHATSAPP) */
/* ========================================== */
#cart {
    overflow-x: auto;
}

#cart table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    white-space: nowrap;
}



#cart table td:nth-child(1) {
    width: 70px;
}

#cart table td:nth-child(2) {
    width: 100px;
}

#cart table td:nth-child(3) {
    width: auto;
}

#cart table td:nth-child(4),
#cart table td:nth-child(5),
#cart table td:nth-child(6) {
    width: 120px !important;
}

/* 1. Force the column to have its own space */
.quantity-column {
    width: 150px;           /* Adjust this number to push SUBTOTAL away */
    min-width: 120px;       /* Ensures it never gets smaller than this */
    text-align: center;     /* Centers the box horizontally */
    padding: 0 20px;        /* Adds actual 'air' to the left and right */
    vertical-align: middle; /* Keeps it aligned with Price and Subtotal */
}

/* 2. Style the square box specifically */
.qty-box {
    width: 50px !important;  /* !important ensures nothing overrides the width */
    height: 40px;
    border: 1px solid #000;
    text-align: center;
    font-size: 1.1rem;
    display: inline-block;
}

/* 3. Fix the "QUANTITYSUBTOTAL" text touching in the header */
th {
    padding: 15px;          /* This pushes the headers apart */
    text-align: center;
}

/* 4. Remove the default browser arrows (spinners) */
.qty-box::-webkit-outer-spin-button,
.qty-box::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#cart table tbody td {
    padding: 20px 0;
    font-size: 13px;
    text-align: center;
}

#cart table img {
    width: 60px;
    height: auto;
}

#cart table thead {
    border: 1px solid #e2e9e1;
    border-left: none;
    border-right: none;
}

#cart table thead td {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 18px 0;
    text-align: center;
}

#cart table tbody tr td {
    border-bottom: 1px solid #e2e9e1;
}

#cart table td i {
    color: #000;
    font-size: 18px;
    transition: 0.3s;
}

#cart table td i:hover {
    color: darkorange;
}

#cart-add {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

#coupon, #shipping-goal-container {
    width: 45% !important;
    margin-bottom: 30px;
}

#subtotal{
    width: 100%;
    margin-bottom: 30px;
}

#coupon input {
    padding: 10px 20px;
    outline: none;
    width: 60%;
    margin-right: 10px;
    border: 1px solid #e2e9e1;
    border-radius: 4px;
}

#coupon button {
    background-color: darkorange;
    color: white;
    padding: 12px 20px;
}

#subtotal {
    border: 1px solid #e2e9e1;
    padding: 30px;
    border-radius: 10px;
}

#subtotal table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

#subtotal table td {
    width: 50%;
    border: 1px solid #e2e9e1;
    padding: 10px;
    font-size: 13px;
}

#toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: none;
    align-items: center;
    gap: 15px;
    animation: fadeInUp 0.5s ease;
}

#toast-container a {
    color: darkorange;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid darkorange;
    padding: 5px 10px;
    border-radius: 4px;
    transition: 0.3s;
}

#toast-container a:hover {
    background-color: darkorange;
    color: #fff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        bottom: 0;
    }
    to {
        opacity: 1;
        bottom: 20px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#carthike-chat-button-container.right {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000000;
}

#carthike-chat-button-container .whatsappbutton.buttonWithIcon {
    border-radius: 50%;
    padding: 12px 12px;
}

#carthike-chat-button-container .whatsappbutton {
    border-radius: 6px;
    background-color: #22cd5b;
    color: var(--carthike-button-icon-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border: 0;
}

#carthike-chat-button-container .whatsappbutton.buttonWithIcon svg {
    margin: 0;
}

#carthike-chat-button-container .whatsappbutton svg {
    width: 24px;
    margin-left: -0.25rem;
    margin-right: 0.5rem;
    height: 24px;
}

#carthike-chat-button-container .whatsappbutton svg {
    fill: var(--carthike-button-icon-color);
    stroke: none;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #000;
}

footer .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #fff;
}

footer .logo {
    margin-bottom: 30px;
}

footer h4 {
    font-size: 14px;
    padding-bottom: 20px;
    color: #fff;
}

footer p,
footer a {
    font-size: 13px;
    color: #f0f0f0;
    margin-bottom: 8px;
    text-decoration: none;
}

footer .follow i {
    padding-right: 12px;
    cursor: pointer;
}

footer .follow i:hover,
footer a:hover {
    color: darkorange;
}

footer .copyright {
    width: 100%;
    text-align: center;
}


.mobile-sticky-bar {
    display: none;
}

/* ========================================== */
/* MEDIA QUERIES */
/* ========================================== */
@media (max-width: 899px) {
    .section-p1 {
        padding: 40px 40px;
    }

    #product1 .pro {
        width: 45%;
    }
}

@media (max-width: 799px) {
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: black;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.01);
        padding: 80px 0 0 10px;
        transition: 0.3s;
    }

    #navbar.active {
        right: 0px;
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #mobile,
    #mobile a i.fa-bag-shopping {
        display: flex !important;
        align-items: center;
    }

    #mobile i {
        color: #f0f0f0;
        font-size: 24px;
        padding-left: 20px;
    }

    #close {
        display: initial;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #f0f0f0;
        font-size: 24px;
    }

    #lg-bg {
        display: none !important;
    }

    .search-container {
        width: 150px;
        margin-left: 10px;
    }

    #collections .banner-box {
        flex: 1 1 100%;
    }

    .builder-header {
        padding: 15px 20px;
        top: 60px;
    }

    .spacer {
        display: none;
    }

    .builder-footer-content {
        padding: 0 20px;
    }

    .bundle-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
        padding: 20px 40px;
    }

    #cart table {
    white-space: wrap;
    }


    #coupon, #shipping-goal-container {
    width: 100% !important;
    }
}









@media (max-width: 477px) {
    #header {
        padding: 20px;
    }

    .section-p1 {
        padding: 20px;
    }

    #product1 .pro {
        width: 45%;
        min-width: unset;
    }

    #banner3 {
        padding: 0 20px;
    }

    .pro.niche-exclusive-badge::before {
        content: "NICHE" !important;
        font-size: 8px !important;
        padding: 3px 6px !important;
        top: 12px !important;
        right: 12px !important;
    }

    .bundle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .builder-pro {
        padding: 15px 10px;
        border-radius: 10px;
    }

    .builder-pro img {
        max-width: 120px;
        height: 120px;
    }

    .builder-pro .des h5 {
        font-size: 11px;
    }

    .builder-pro .des span {
        font-size: 9px;
    }

    .builder-pro.selected::after {
        width: 22px;
        height: 22px;
        font-size: 11px;
        top: 8px;
        right: 8px;
    }

    .builder-total h3 {
        font-size: 18px;
    }

    #confirm-bundle-btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    #cart table {
    white-space: nowrap;
}
}

@media (min-width: 800px) {
    #mobile,
    .search-container + #mobile,
    #header > #mobile {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}


/* ========================================== */
/* SINGLE PRODUCT PAGE FIXES */
/* ========================================== */
#prodetails {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 80px;
}

.single-pro-image {
    overflow: hidden;
    border-radius: 20px;
    cursor: zoom-in;
}

.single-pro-image img {
    transition: transform 0.5s ease;
    transform-origin: center;
}

.single-pro-image:hover img {
    transform: scale(1.25);
}

#prodetails .single-pro-image {
    width: 40%;
    margin-right: 20px;
}

#prodetails .single-pro-image img {
    width: 100%;
    border-radius: 15px;
    object-fit: contain;
}

#prodetails .single-pro-details {
    width: 50%;
    padding-top: 30px;
}

#prodetails .single-pro-details h4 {
    padding: 20px 0 20px 0;
}

#prodetails .single-pro-details h2 {
    font-size: 26px;
    color: darkorange;
}

#prodetails .single-pro-details input {
    width: 50px;
    height: 47px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
    border: 1px solid #ccc;
    outline: none;
}

#prodetails .single-pro-details button {
    background: #000;
    color: #fff;
    padding: 15px 30px;
}

/* Fix for mobile responsiveness */
@media (max-width: 799px) {
    #prodetails { padding: 40px 20px; }
    #prodetails .single-pro-image, 
    #prodetails .single-pro-details {
        width: 100% !important;
    }
}


@media (max-width: 477px) {
    .mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 15px;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        z-index: 999;
        display: block;
    }
    .mobile-sticky-bar button {
        width: 100%;
        background: #000;
        color: #fff;
        padding: 15px;
        font-weight: 700;
        border: none;
        border-radius: 5px;
    }
}



/* --- NEXT LEVEL RELATED PRODUCTS --- */
#related-products-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 items on large screens */
    gap: 20px;
    padding: 20px 20px;
}

/* Luxury Card Styling */
#related-products-container .pro {
    background: #fff;
    border: none !important; /* Remove borders for a cleaner look */
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
}

#related-products-container .pro img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Force perfect square */
    object-fit: contain;
    background: #f8f8f8; /* Studio-like background */
    border-radius: 10px;
    margin-bottom: 12px;
}

#related-products-container .pro .des span {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #888;
    font-weight: 700;
}

#related-products-container .pro .des h5 {
    font-size: 13px;
    color: #1a1a1a;
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Pro text truncation */
}

#related-products-container .pro h4 {
    font-size: 14px;
    font-weight: 800;
    color: darkorange;
}

/* SLEEK MOBILE CAROUSEL */
@media (max-width: 767px) {
    #product1 { padding: 40px 20px 40px 20px !important; } /* Cut right padding for edge-to-edge feel */
    
    #related-products-container {
        display: flex !important;
        overflow-x: auto;
        padding-right: 20px; /* Space at the end of scroll */
        gap: 15px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Hide for Firefox */
        -ms-overflow-style: none; /* Hide for IE */
    }

    #related-products-container::-webkit-scrollbar { display: none; } /* Hide for Chrome/Safari */

    #related-products-container .pro {
        flex: 0 0 180px; /* Fixed elegant width */
        width: 180px;
        scroll-snap-align: start;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

    /* Small sleek cart button for mobile */
    #related-products-container .pro i.cart {
        width: 32px;
        height: 32px;
        line-height: 32px;
        bottom: 10px;
        right: 10px;
        font-size: 13px;
    }
}

/* Desktop Hover Effect */
@media (min-width: 768px) {
    #related-products-container .pro:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
}





.badge-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #333;
    font-size: 8px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 477px) {
#related-products-container .pro {
        flex: 0 0 45%; /* Fixed elegant width */
        min-width: 45%;
       }
        }