

html {
    font-size: 14px;
    background-color: rgb(255, 255, 255); !important
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: rgb(255, 255, 255);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


/* Target the images inside your product cards */
.card-img-top {
    width: 100%;
    height: 250px; /* Set a fixed height that looks good for your layout */
    object-fit: cover; /* This is the magic: it crops the image to fit without stretching */
    object-position: center;
    background-color: #f8f9fa; /* Adds a light grey background if an image fails to load */
    object-fit: contain;
}

.card {
    height: 100%;        /* Ensures all cards in a row are the same height */
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.03); /* Adds a nice professional hover effect */
}


/* Navigation Styling */
.navbar-brand {
    letter-spacing: -1px;
}

.nav-link i {
    transition: color 0.3s ease;
}

.nav-link:hover i {
    color: #0d6efd; /* Your primary theme color */
}

/* Search Bar customization */
.rounded-start-pill {
    border-top-left-radius: 50px !important;
    border-bottom-left-radius: 50px !important;
    padding-left: 20px;
}

.rounded-end-pill {
    border-top-right-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
    padding-right: 20px;
}

/* Mobile Search (Hidden on desktop) */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem !important;
    }
}



body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

/* Figma Style: Sticky Header with Glassmorphism */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

/* Pill-shaped Search Bar */
.search-pill {
    background-color: #f1f3f5;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
}

    .search-pill:focus-within {
        background-color: #fff;
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    }

    .search-pill input {
        border: none;
        background: transparent;
        box-shadow: none;
        outline: none;
        width: 100%;
        font-size: 0.9rem;
    }

/* Navigation Icon Buttons */
.nav-icon-btn {
    color: #343a40;
    font-size: 1.4rem;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
    position: relative;
}

    .nav-icon-btn:hover {
        background-color: #f1f3f5;
        color: #0d6efd;
    }

/* Custom Cart Badge */
.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #dc3545;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Sub-navigation categories */
.category-nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    /*    overflow-x: auto;*/

    white-space: nowrap;
    /*-ms-overflow-style: none;*/ /* IE and Edge */
    scrollbar-width: none; /* Firefox */


    position: sticky;
    top: 0;
    /*    overflow: hidden;*/
    background-color: #333;
    
    
}

    .category-nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

.category-link {
    color: rgb(33, 28, 36);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 12px 16px;
    display: inline-block;
    border-bottom: 2px solid transparent;
}

    .category-link.active {
        color: #0d6efd;
        border-bottom-color: #0d6efd;
    }

/* Product Card Styling */
.product-card {
    border: 1px solid #eee;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

.img-container {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f1f3f5;
}

    .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


.product-card {
    background-color: #ffffff;
    border-radius: 24px; /* Soft rounded corners from design */
    border: none;
    width: 340px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    }

/* Wishlist Heart Icon */
.wishlist-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

    .wishlist-btn:hover {
        color: #ff4757;
    }

/* Product Image Container */
.product-img-container {
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

    .product-img-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* Title Styling */
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

/* Price Tag */
.price-tag {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 24px;
    text-align: center;
}

    .price-tag::before {
        content: '$';
        font-size: 1.8rem;
        font-weight: 600;
        margin-right: 2px;
    }

/* Buy Now Button */
.btn-buy {
    background-color: #000000;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 0;
    border-radius: 12px;
    border: none;
    width: 100%;
    transition: background-color 0.2s;
}

    .btn-buy:hover {
        background-color: #333333;
        color: #ffffff;
    }

    .btn-buy:active {
        transform: scale(0.98);
    }


.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 10px;
    scrollbar-width: none; /* Firefox */
}

    .product-carousel::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

/* The Custom Product Card */
.product-card {
    background-color: #ffffff;
    border-radius: 24px;
    border: none;
    width: 300px; /* Slightly smaller for carousel fit */
    flex-shrink: 0; /* Prevents cards from squishing */
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    }

/* Wishlist Heart Icon */
.wishlist-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

    .wishlist-btn:hover {
        color: #ff4757;
    }

/* Product Image Container */
.product-img-container {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    overflow: hidden;
}

    .product-img-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
    }

/* Title Styling */
.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    height: 2.8em; /* Fixed height for title alignment */
}

/* Price Tag */
.price-tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

    .price-tag::before {
        content: '$';
        font-size: 1.4rem;
        font-weight: 600;
        margin-right: 2px;
    }

/* Buy Now Button */
.btn-buy {
    background-color: #000000;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 0;
    border-radius: 12px;
    border: none;
    width: 100%;
    transition: background-color 0.2s;
}

    .btn-buy:hover {
        background-color: #333333;
        color: #ffffff;
    }

/* Carousel Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 20;
    border: none;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.2s;
}

    .nav-btn:hover {
        background: #000;
        color: #fff;
    }

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}





.banner1 {
    width:100%;
background-color :  rgb(33, 28, 36);

}


.btnMain{
    outline:solid 1px white;
    color:white;
}

.text-White {
/*    outline: solid 1px white;*/
    color: white;
}





.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-pill {
    border-radius: 50px;
    padding-left: 20px;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

/* 2. The Dropdown Results Box */
#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-top: 8px;
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    display: none; /* Hidden by default */
    border: 1px solid #eee;
}

/* 3. Result Item Styling */
.result-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
    border-bottom: 1px solid #f8f9fa;
}

    .result-item:last-child {
        border-bottom: none;
    }

    .result-item:hover {
        background-color: #f1f3f5;
        color: #0d6efd;
    }

.result-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 6px;
    margin-right: 15px;
}

.result-info {
    flex-grow: 1;
}

.result-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.result-price {
    font-size: 0.85rem;
    color: #0d6efd;
    font-weight: 700;
}


/* Image Gallery Styling */
.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thumbnail-box {
    width: 70px;
    height: 85px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

    .thumbnail-box:hover, .thumbnail-box.active {
        border-color: #333;
    }

    .thumbnail-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.main-image-container {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .main-image-container img {
        max-height: 500px;
        object-fit: contain;
    }

/* Color Selector */
.color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

    .color-circle.active {
        outline-color: #333;
    }

/* Storage Buttons */
.storage-btn {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 0;
    color: #9e9e9e;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

    .storage-btn.active {
        border-color: #1a1a1a;
        color: #1a1a1a;
        font-weight: 600;
    }

/* Specs Grid */
.spec-box {
    background-color: #f5f5f7;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
}

.spec-icon {
    color: #6c757d;
    font-size: 1.2rem;
    line-height: 1;
}

.spec-text p {
    margin: 0;
    line-height: 1.3;
}

.spec-label {
    font-size: 0.75rem;
    color: #9e9e9e;
}

.spec-value {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

/* Trust Badges */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon-box {
    width: 45px;
    height: 45px;
    background-color: #f5f5f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.2rem;
}

.trust-text p {
    margin: 0;
    line-height: 1.3;
}


.cart-section {
    padding: 60px 0;
}

@media (min-width: 992px) {
    .summary-column {
        border-left: 1px solid #f0f0f0;
        padding-left: 40px !important;
    }

    .cart-column {
        padding-right: 40px !important;
    }
}

/* --- Cart Items --- */
.cart-item {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .cart-item:last-child {
        border-bottom: none;
    }

.cart-img-box {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    border-radius: 12px;
    padding: 5px;
    margin-right: 20px;
}

    .cart-img-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.item-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-spec {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 4px;
}

.item-id {
    font-size: 0.8rem;
    color: #adb5bd;
    margin-bottom: 0;
}

/* --- Quantity Selector --- */
.qty-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: color 0.2s;
}

    .qty-btn:hover {
        color: #000;
    }

.qty-input {
    width: 45px;
    height: 35px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

    .qty-input:focus {
        outline: none;
        border-color: #adb5bd;
    }

    /* Hide Number Input Arrows */
    .qty-input::-webkit-outer-spin-button,
    .qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .qty-input[type=number] {
        -moz-appearance: textfield;
    }

.item-price {
    font-size: 1.15rem;
    font-weight: 700;
    min-width: 80px;
    text-align: right;
}

.remove-btn {
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    margin-left: 15px;
}

    .remove-btn:hover {
        color: #dc3545;
    }

/* --- Order Summary --- */
.summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.summary-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
}

.custom-input {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    box-shadow: none;
    transition: border-color 0.2s;
}

    .custom-input:focus {
        border-color: #000;
        box-shadow: none;
    }

.apply-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
    border-radius: 6px;
    padding: 4px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

    .apply-btn:hover {
        background: #1a1a1a;
        color: #fff;
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 500;
}

    .summary-row.total {
        font-size: 1.1rem;
        font-weight: 700;
        margin-top: 25px;
        margin-bottom: 30px;
    }

.checkout-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.2s;
}

    .checkout-btn:hover {
        background-color: #333333;
    }

/* Mobile tweaks */
@media (max-width: 767px) {
    .cart-item {
        flex-wrap: wrap;
    }

    .qty-price-group {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
        padding-left: 110px; /* Aligns with text under image */
    }
}





:root {
    --card-bg: #F6F6F6;
    --text-muted: #8B8B8B;
    --border-color: #EDEDED;
    --thumb-border: #EDEDED;
    --thumb-active: #000000;
    --bg-light: #F6F6F6;
}




/* Sidebar Styling */
.filter-section-title {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

.filter-search {
    background-color: #F5F5F5;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.count-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    float: right;
}

/* Product Card Styling */
.product-card {
    background-color: var(--card-bg);
    border: none;
    border-radius: 15px;
    padding: 20px;
    height: 100%;
    transition: transform 0.2s;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #C1C1C1;
    transition: color 0.2s;
}

    .wishlist-btn:hover {
        color: #ff4757;
    }

.product-img-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
    height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.buy-now-btn {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 0;
    width: 100%;
    font-weight: 600;
    transition: background-color 0.2s;
}

    .buy-now-btn:hover {
        background-color: #333;
        color: #fff;
    }

/* Sort Dropdown */
.sort-select {
    border: none;
    font-weight: 500;
    background-color: #F9F9F9;
    padding: 8px 15px;
    border-radius: 8px;
}

.results-count span {
    font-weight: 700;
    font-size: 1.2rem;
}




.gallery-container {
    display: flex;
    gap: 20px;
    max-width: 700px;
    margin: 40px auto;
}

/* Vertical Thumbnail List */
.thumbnail-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80px;
}

.thumb-item {
    width: 150px;
    height: 150px;
/*    border: 1.5px solid var(--thumb-border);*/
    border-radius: 10px;
    cursor: pointer;
    padding: 5px;
    background-color: #fff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .thumb-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        opacity: 0.6;
    }

    .thumb-item:hover {
        border-color: #ccc;
    }

    .thumb-item.active {
        border-color: var(--thumb-active);
        border-width: 2px;
    }

        .thumb-item.active img {
            opacity: 1;
        }

/* Main Image Display */
.main-display {
    flex-grow: 1;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.main-img {

    max-width: 100%;
    max-height: 800px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Mobile Optimization */
@media (max-width: 576px) {
    .gallery-container {
        flex-direction: column-reverse;
    }

    .thumbnail-column {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
}



:root {
    --address-bg: #F8F9FA;
    --text-dark: #1A202C;
    --badge-bg: #000;
}

body {
    font-family: 'Inter', sans-serif;
    padding: 40px 0;
}

.section-title {
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 30px;
}

/* Address Card Styling */
.address-card {
    background-color: var(--address-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

    .address-card:hover {
        border-color: #E2E8F0;
    }

    .address-card.active {
        border-color: #000;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

.type-badge {
    background: var(--badge-bg);
    color: #fff;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.address-header {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.address-details {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-left: 35px; /* Alignment with radio button */
}

/* Radio Styling */
.form-check-input {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: #000;
        border-color: #000;
    }

/* Action Icons */
.action-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    color: #718096;
}

    .action-icons i:hover {
        color: #000;
        cursor: pointer;
    }

/* Add New Section */
.add-address-divider {
    border-top: 1px dashed #CBD5E0;
    margin: 40px 0;
    position: relative;
    text-align: center;
}

.add-address-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 0 15px;
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer Buttons */
.checkout-footer {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.btn-checkout {
    padding: 12px 60px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-back {
    border: 1px solid #000;
    color: #000;
    background: #fff;
}

.btn-next {
    background: #000;
    color: #fff;
    border: none;
}



.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Summary Column Styles */
.summary-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.summary-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.product-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

    .product-item img {
        width: 50px;
        height: 50px;
        object-fit: contain;
        border-radius: 8px;
        background: #fff;
        margin-right: 15px;
    }

.product-name {
    font-size: 0.95rem;
    font-weight: 500;
    flex-grow: 1;
    margin-bottom: 0;
}

.product-price {
    font-weight: 700;
    font-size: 1rem;
}

.summary-details {
    margin-top: 25px;
    font-size: 0.9rem;
}

.summary-label {
    color: #7a7a7a;
    margin-bottom: 5px;
}

.summary-value {
    font-weight: 500;
    margin-bottom: 20px;
}

.line-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 500;
}

    .line-item.label-gray {
        color: #7a7a7a;
    }

.total-item {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Payment Column Styles */
.payment-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.nav-tabs {
    border-bottom: none;
    margin-bottom: 30px;
    gap: 30px;
}

.nav-link {
    border: none !important;
    padding: 0 0 8px 0;
    color: #7a7a7a;
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent !important;
}

    .nav-link.active {
        color: #000 !important;
        border-bottom: 2px solid #000 !important;
    }

/* Visual Credit Card */
.card-preview {
    width: 100%;
    max-width: 380px;
    height: 220px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    border-radius: 18px;
    padding: 25px;
    color: #fff;
    position: relative;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.chip-icon {
    width: 45px;
    height: 35px;
    background: #e0b44a;
    border-radius: 6px;
    margin-bottom: 30px;
    position: relative;
    background: linear-gradient(45deg, #d4af37, #f9d71c);
}

.contactless {
    position: absolute;
    top: 28px;
    left: 80px;
    font-size: 1.2rem;
    opacity: 0.8;
}

.card-number {
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-family: 'Courier New', Courier, monospace;
}

.card-holder-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 2px;
}

.card-holder-name {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.mastercard-logo {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
}

.mc-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.mc-red {
    background: #eb001b;
    margin-right: -12px;
}

.mc-orange {
    background: #f79e1b;
    opacity: 0.9;
}

/* Form Controls */
.form-control {
    border: 1px solid #efefef;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: all 0.2s;
}

    .form-control:focus {
        box-shadow: none;
        border-color: #000;
    }

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.btn-action {
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-back {
    border: 1px solid #ced4da;
    background: #fff;
    color: #000;
    flex: 1;
}

.btn-pay {
    background: #000;
    color: #fff;
    border: none;
    flex: 1.5;
}

    .btn-pay:hover {
        background: #222;
        color: #fff;
    }

@media (max-width: 768px) {
    .summary-card {
        margin-bottom: 40px;
    }

    .btn-group-custom {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
        margin-bottom: 10px;
    }
}

#Sbtn{
    border:none;
}


.success-container {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

/* Checkmark Animation */
.checkmark-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #000;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #000;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #000;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 50px transparent;
    }
}

/* Content Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 1.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Receipt Card Styling */
.receipt-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    text-align: left;
    margin-top: 30px;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.receipt-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.order-id {
    color: #7a7a7a;
    font-size: 0.85rem;
}

.item-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.item-name {
    color: #444;
    font-weight: 500;
}

.item-price {
    font-weight: 600;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 20px 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-home {
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-weight: 600;
    width: 100%;
    margin-top: 30px;
    transition: transform 0.2s;
}

    .btn-home:hover {
        background: #222;
        color: #fff;
        transform: translateY(-2px);
    }

.btn-print {
    background: transparent;
    color: #7a7a7a;
    border: none;
    font-size: 0.9rem;
    margin-top: 15px;
    text-decoration: underline;
    cursor: pointer;
}



/* The container holding the cards */
.product-carousel {
    scroll-snap-type: x mandatory; /* Forces the scroll to snap horizontally */
    scroll-behavior: smooth; /* Native smooth scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
}

/* The individual product cards */
.product-card {
    scroll-snap-align: start; /* Snaps the left edge of the card to the left edge of the container */
    scroll-margin-inline-start: 1rem; /* Optional: Adds a little breathing room on the left when snapped */
}






#btn-back-to-top {
    bottom: 30px;
    right: 30px;
    display: none; /* Hidden by default */
    z-index: 99; /* Keeps it above your other content */
}



/* Container for the links */
.category-nav-sub {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers them on desktop */
    gap: 20px; /* Space between links */
    padding: 12px 0;
    /* Mobile-friendly horizontal scrolling */
    overflow-x: auto;
    white-space: nowrap;
    /* Hide scrollbars for a cleaner look */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    /* Hide scrollbar for Chrome, Safari and Opera */
    .category-nav-sub::-webkit-scrollbar {
        display: none;
    }

/* Styling the links */
.category-link {
    text-decoration: none;
    color: #495057; /* Standard Bootstrap gray */
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px; /* Gives them a nice pill shape */
    transition: all 0.3s ease;
}

    /* Hover and Active states */
    .category-link:hover,
    .category-link.active {
        background-color: #0d6efd; /* Bootstrap primary blue */
        color: #ffffff;
    }

