﻿body {
    background-color: #000000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: white;
}

main {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* =================================
   HEADER & NAVIGATION
   ================================= */
header {
    background-color: #000;
    border-bottom: 1px solid #2a2a2a;
    padding: 10px 1%;
    position: sticky;
    top: 0;
    z-index: 1030
}

.nav-link {
    color: #a0a0a0 !important;
    font-weight: 500
}

    .nav-link:hover, .nav-link.active {
        color: #fff !important
    }

.logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 1px solid #fff;
    object-fit: cover
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff
}

.search-container {
    width: 50%;
    border-radius: 50px
}

.search-container-mobile {
    width: 80%;
    margin: 0 auto
}

.search-bar {
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #212529;
    border-radius: 50px !important;
}

    .search-bar::placeholder {
        color: #6c757d
    }

    .search-bar:focus {
        background-color: #fff;
        color: #212529;
        border-color: #86b7fe;
        box-shadow: 0 0 0 .25rem rgba(13,110,253,.25)
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}

.navbar-toggler {
    border-color: rgba(255,255,255,.1)
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    background-color: #000;
    overflow-x: hidden;
    transition: .5s;
    padding-top: 60px
}

    .sidenav.open {
        width: 250px
    }

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: .3s
    }

        .sidenav a:hover {
            color: #f1f1f1
        }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px
    }

/* =================================
   HERO BANNER (Desktop)
   ================================= */
.hero-banner {
    position: relative;
    height: 90vh;
    background-image: url(https://m.media-amazon.com/images/I/71izjNHcVhL._AC_SL1500_.jpg);
    background-color: #222; /* Fallback color */
    background-size: cover;
    background-position: center;
    margin: 10px;
    display: flex;
    align-items: flex-end; /* Aligns content to the bottom */
    justify-content: flex-start; /* Aligns content to the left */
    padding: 2rem;
    border-radius: 10px;
    color: #fff; /* Ensure all text inside is white by default */
}

    .hero-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        border-radius: 10px; /* Match the parent border-radius */
    }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left; /* Default for desktop */
    max-width: 800px; /* Prevents text from becoming too wide */
}

    .hero-content h2 {
        font-size: 3.5rem;
        font-weight: 900;
        color: #fff;
        margin: 0;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1.25rem;
        color: #e0e0e0;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .hero-content h3 {
        font-size: 1.5rem;
        font-weight: 400;
        color: #e0e0e0;
        font-style: italic;
        margin-bottom: 2rem;
    }

.cta-button {
    background-color: #fff;
    color: #000;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    text-transform: uppercase;
    transition: all .3s ease;
    border: none;
}

    .cta-button:hover {
        background-color: #f0f0f0;
        transform: translateY(-2px);
        color: #000;
    }


/* =================================
   RESPONSIVE STYLES FOR MOBILE ✨
   ================================= */
@media (max-width: 768px) {
    .hero-banner {
        height: 70vh; /* Shorter height on mobile */
        align-items: center; /* Vertically center content */
        justify-content: center; /* Horizontally center content */
        padding: 1rem; /* Less padding on smaller screens */
    }

    .hero-content {
        text-align: center; /* Center-align all text */
    }

        .hero-content h2 {
            font-size: 2.5rem; /* Smaller font size for the main heading */
        }

        .hero-content p {
            font-size: 1rem; /* Smaller paragraph text */
        }

        .hero-content h3 {
            font-size: 1.2rem; /* Smaller sub-heading */
            margin-bottom: 2.5rem; /* A bit more space before the button */
        }

    /* === START OF CORRECTED CODE === */

    /* 1. All rules are now separate (not nested) */
    .product-card {
        min-height: 340px;
        background-color: #000000; /* Fix: Re-add black background */
    }

        .product-card .product-image-container {
            flex-basis: 60%; /* This is the 60% you asked for */
            flex-shrink: 0;
            height: 60%;
        }

        .product-card .card-img-top {
            aspect-ratio: unset; /* Remove the desktop rule */
            height: 100%; /* Fill the 60% container */
            object-fit: cover; /* Keep the image looking good */
        }

        .product-card .card-body {
            flex-basis: 40%; /* This is the 40% you asked for */
            flex-shrink: 0;
            height: 40%;
            padding: 0.75rem; /* Adjust padding to fit */
        }

        /* 2. Fix: Re-add white text color for price/season */
        .product-card .card-season,
        .product-card .card-price {
            color: #ffffff;
        }

    /* 3. Fix: Re-add colors for "Why Choose Us" section */
    .feature-card {
        background-color: #000000;
        color: #ffffff;
    }

        .feature-card h3 {
            color: #ffffff;
        }

    /* === END OF CORRECTED CODE === */

    .cta-button {
        padding: 10px 24px; /* Slightly smaller button */
        font-size: 0.9rem;
    }

    .btn-product-action {
        font-size: 0.85rem; /* Makes the font smaller */
        padding-left: 0.25rem; /* Reduces padding on the sides */
        padding-right: 0.25rem;
        white-space: nowrap; /* Stops the text from wrapping to a new line */
    }
}
/* =================================
   SPACING UTILITIES
   ================================= */
.section-spacer {
    margin-top: 8rem;
    margin-bottom: 8rem;
}

/* =================================
   SHARED SECTION STYLES
   ================================= */
.featured-jerseys h2, .why-choose-us h2 {
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
}

/* =================================
   PRODUCT CARD SECTION
   ================================= */
.product-card {
    background-color: #000000;
    border: 1px solid #ffffff;
    border-radius: 5px;
    overflow: hidden;
    text-align: left;
    display: flex; /* <-- ADD THIS */
    flex-direction: column; /* <-- ADD THIS */
}

    .product-card .card-img-top {
        width: 100%;
        aspect-ratio: 1 / 1; /* This creates a perfect square that scales */
        object-fit: cover;
    }

    .product-card .card-body {
        padding: 1rem;
        display: flex; /* <-- ADD THIS */
        flex-direction: column; /* <-- ADD THIS */
        flex-grow: 1; /* <-- ADD THIS */
    }

        .product-card .card-body .d-grid {
            margin-top: auto;
        }

    .product-card .card-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #ffffff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-card .card-season, .product-card .card-price {
        margin-bottom: 0.75rem;
    }

.btn-product-action {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text */
    border: 1px solid #ffffff; /* Thin white border */
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
}

    .btn-product-action:hover {
        background-color: #ffffff; /* White background on hover */
        color: #000000; /* Black text on hover */
    }
/* =================================
   WHY CHOOSE US SECTION
   ================================= */
.feature-card {
    background-color: #000000;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: #00aaff;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* =================================
   INFLUENCER CTA SECTION
   ================================= */

.influencer-cta {
    position: relative;
    padding: 2rem 0;
    border: 1px solid #ffffff;
    background-image: url('/Images/influencer-bg.jpg'); /* <-- REPLACE WITH YOUR IMAGE */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a nice parallax effect */
    color: #ffffff;
    margin: 50px;
    border-radius: 5px;
}

    /* Dark overlay for text readability */
    .influencer-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.7);
    }

    /* Ensures content is on top of the overlay */
    .influencer-cta .container {
        position: relative;
        z-index: 2;
    }

    .influencer-cta h2 {
        font-size: 3rem;
        font-weight: 200;
        text-transform: uppercase;
    }

    .influencer-cta .lead {
        font-size: 1.25rem;
        margin: 1rem auto 2rem;
        max-width: 600px;
    }

.cta-button-influencer {
    background-color: #ffffff;
    color: #000000;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 10px;
    text-transform: uppercase;
    transition: transform 0.2s ease-in-out;
    border: none;
}

    .cta-button-influencer:hover {
        transform: scale(1.05);
        color: #000000;
    }

/* =================================
   FOOTER
   ================================= */

.site-footer {
    background-color: #000000;
    color: #a0a0a0;
    padding: 2rem 0;
    border-top: 1px solid #2a2a2a;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between; /* This is the key change */
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-links-group {
    display: flex;
    gap: 2rem; /* Creates space between "About Us" and "Contact" */
}

    .footer-links-group a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease-in-out;
    }

        .footer-links-group a:hover {
            color: #00aaff;
        }

.social-icons {
    display: flex;
    gap: 0.75rem;
}

    .social-icons a {
        display: inline-block;
        height: 35px;
        width: 35px;
        line-height: 35px;
        text-align: center;
        border-radius: 50%;
        background-color: #000000;
        color: #ffffff;
        font-size: 1rem;
        transition: background-color 0.2s ease-in-out;
    }

        .social-icons a:hover {
            background-color: #00aaff;
        }

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================= */
/* == Product Detail Page Layout == */
/* ============================================= */

/* --- Left Column: Image Gallery --- */
.pd-main-image img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    border-radius: 0.25rem;
}

.pd-thumbnail-images {
    display: flex;
    justify-content: space-between; /* Changed from flex-start */
    gap: 10px; /* This will now define the minimum gap */
}

    .pd-thumbnail-images .img-thumbnail {
        width: 32%; /* Each of the 3 images takes up about a third of the space */
        height: auto; /* Height will adjust automatically */
        aspect-ratio: 1 / 1; /* This ensures the thumbnails are always perfect squares */
        object-fit: cover;
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.3s ease;
        padding: 0.2rem;
    }

        .pd-thumbnail-images .img-thumbnail:hover {
            border-color: #adb5bd;
        }

        .pd-thumbnail-images .img-thumbnail.active {
            border-color: #0d6efd;
        }


/* --- Right Column: Product Info --- */
.pd-info-container .pd-name {
    font-size: 2.5rem;
    font-weight: 700;
}

.pd-info-container .pd-season {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-top: -0.5rem;
}

.pd-info-container .pd-price {
    font-size: 2rem;
    font-weight: 600;
    color: #0d6efd;
    margin-top: 1rem;
}

.pd-info-container .pd-divider {
    border-color: #2a2a2a;
    margin: 1.5rem 0;
}

/* On mobile, add a space between the image and the text */
@media (max-width: 991.98px) {
    .pd-info-container {
        margin-top: 2rem;
    }
}

/* --- UNIFORM DARK CONTROLS FOR PRODUCT PAGE --- */

/* Base style for all inputs, selects, and buttons */
.form-control-dark-uniform,
.btn-dark-uniform,
.btn-dark-outline-uniform {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    height: 50px; /* Ensures same height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .375rem .75rem;
    font-size: 1rem;
}

/* Specifics for text inputs and select */
.form-control-dark-uniform,
.form-select.form-control-dark-uniform {
    justify-content: flex-start; /* Align text to the left */
}

    /* Placeholder text color */
    .form-control-dark-uniform::placeholder {
        color: #ccc;
        opacity: 1;
    }

/* Style for the dropdown arrow */
.form-select.form-control-dark-uniform {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Hover effect for buttons */
.btn-dark-uniform:hover,
.btn-dark-outline-uniform:hover {
    background-color: #222 !important;
}

/* Remove focus outline */
.form-control-dark-uniform:focus,
.btn-dark-uniform:focus,
.btn-dark-outline-uniform:focus {
    box-shadow: none;
}

/* Ensure quantity text input is also centered */
.input-group .form-control-dark-uniform {
    text-align: center;
}

/* About Us Page Styling */
.about-us-container {
    color: #fff;
    background-color: #000;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-content .premier-destination {
    font-size: 1.3rem;
    font-weight: 500;
}

.features-list {
    margin: 30px 0;
    padding-left: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

    .features-list li {
        margin-bottom: 10px;
    }

.slogan {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 40px;
    font-weight: 500;
}

.shop-now-btn {
    display: block;
    width: 200px;
    margin: 40px auto;
    padding: 15px 20px;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

    .shop-now-btn:hover {
        background-color: #fff;
        color: #000;
    }

.quote-section {
    margin-top: 60px;
    text-align: center;
    border-left: 3px solid #fff;
    padding-left: 25px;
    font-style: italic;
}

    .quote-section blockquote {
        font-size: 1.4rem;
        margin: 0;
        padding: 0;
    }

    .quote-section cite {
        display: block;
        margin-top: 15px;
        font-size: 1rem;
        font-style: normal;
    }

/* Contact Us Page Styling (Updated) */
.contact-us-container {
    color: #fff;
    background-color: #000;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 50px auto; /* Increased bottom margin */
    line-height: 1.6;
}

.contact-body {
    display: flex;
    flex-wrap: wrap; /* Allows columns to stack on smaller screens */
    justify-content: space-between; /* Spreads out columns */
    gap: 40px; /* Space between columns */
}

/* Reordered sections for proper layout */
.contact-info-section {
    flex: 1; /* Allows this section to grow/shrink */
    min-width: 350px; /* Minimum width before wrapping */
    padding-right: 40px; /* Space from the form */
    border-right: 1px solid #333; /* Thin separator line */
}

.contact-form-section {
    flex: 2; /* Allows the form to take up more space */
    min-width: 400px; /* Minimum width before wrapping */
    padding-left: 40px; /* Space from the info section */
}

/* Titles within sections */
.info-title, .form-title {
    font-size: 1.7rem; /* Slightly larger for main section titles */
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
}

/* Contact Us Page Styling (Updated for Mobile View) */
.contact-us-container {
    color: #fff;
    background-color: #000;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.contact-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.contact-info-section {
    flex: 1;
    min-width: 350px;
    padding-right: 40px;
    border-right: 1px solid #333;
}

.contact-form-section {
    flex: 2;
    min-width: 400px;
    padding-left: 40px;
}

.info-title, .form-title {
    font-size: 1.7rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
}

.info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

    .info-list li {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .info-list .icon {
        font-size: 1.2rem;
        margin-right: 15px;
        color: #fff;
        width: 25px;
        text-align: center;
        line-height: 1;
    }

    .info-list p {
        margin: 0;
        font-size: 1.1rem;
        color: #ccc;
    }

.social-links-title {
    margin-top: 50px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon i {
    display: inline-block;
    height: 37px;
    width: 37px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background-color: #000000;
    color: #ffffff;
    font-size: 1rem;
    transition: background-color 0.2s ease-in-out;
}

.social-icons i:hover {
    background-color: #00aaff;
}


.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    background-color: #000;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px;
    border-radius: 5px;
    font-size: 1.1rem;
    box-sizing: border-box; /* Ensures padding is included in the width */
}

    .form-control::placeholder {
        color: #aaa;
    }

    .form-control:focus {
        outline: none;
        border-color: #aaa;
    }

textarea.form-control {
    resize: vertical;
}

.submit-message-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 40px;
}

    .submit-message-btn:hover {
        background-color: #fff;
        color: #000;
    }

/* --- RESPONSIVE ADJUSTMENTS (WITH CORRECTION) --- */
@media (max-width: 800px) {
    .contact-body {
        flex-direction: column;
        gap: 60px;
    }

    .contact-info-section, .contact-form-section {
        padding-left: 0;
        padding-right: 0;
        border-right: none;
        padding-bottom: 40px;
        border-bottom: 1px solid #333;
        min-width: 100%; /* Ensures section takes full width before adjustments */
    }

    .contact-form-section {
        border-bottom: none;
    }

    /* Order sections on mobile */
    .contact-info-section {
        order: 1;
    }

    .contact-form-section {
        order: 2;
    }

        /* --- START OF FIX --- */
        /* Reduce width of form fields inside the form section on mobile */
        .contact-form-section .form-control {
            width: 90%; /* Make fields slightly narrower than container */
            margin-left: auto; /* Center the fields horizontally */
            margin-right: auto; /* Center the fields horizontally */
        }

        /* Also adjust the button width and centering */
        .contact-form-section .submit-message-btn {
            width: 90%;
            margin-left: auto;
            margin-right: auto;
        }
    /* --- END OF FIX --- */

}

/* === CHECKOUT PAGE STYLES === */

.checkout-container {
    max-width: 800px;
    margin: auto;
    color: #fff;
}

.order-summary, .customer-details {
    background-color: #000000;
    padding: 2rem;
    border-radius: 0.5rem;
}

.table-dark {
    background-color: #000000;
}

/* --- Column Width Adjustments --- */
.order-summary .table .col-product {
    width: 60%;
}

.order-summary .table .col-quantity {
    width: 25%;
}

.order-summary .table .col-price {
    width: 15%;
    text-align: right;
}

.order-summary .table td, .order-summary .table th {
    vertical-align: middle;
}

.form-control-dark {
    background-color: #000000;
    color: #fff;
    border: 1px solid #ffff;
}

    .form-control-dark::placeholder {
        color: #ffff;
    }

    .form-control-dark:focus {
        background-color: #2c2c2c;
        color: #fff;
        border-color: #007bff;
        box-shadow: none;
    }

.btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

/* --- New Remove Button Style --- */
.btn-remove-item {
    background: none;
    border: none;
    color: red; /* Red color */
    font-size: 1.2rem;
    padding: 0 0.5rem;
    margin-left: 1rem;
}

/* === RESPONSIVE STYLES for MOBILE === */
@media screen and (max-width: 768px) {
    .order-summary .table thead {
        display: none;
    }

    .order-summary .table,
    .order-summary .table tbody,
    .order-summary .table tr,
    .order-summary .table td {
        display: block;
        width: 100%;
    }

        .order-summary .table tr {
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #555;
            padding-bottom: 1rem;
        }

        .order-summary .table tbody tr:last-child {
            border-bottom: 0;
        }

        .order-summary .table td {
            text-align: right;
            padding-left: 50%;
            position: relative;
            border: none;
            padding-bottom: 0.5rem;
            padding-top: 0.5rem;
        }

            .order-summary .table td::before {
                content: attr(data-label);
                position: absolute;
                left: 15px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                text-align: left;
                font-weight: bold;
                color: #fff;
            }

            .order-summary .table td[data-label="Product"] .d-flex {
                justify-content: flex-end; /* Align product info to the right */
            }

            .order-summary .table td[data-label="Quantity"] .d-flex {
                justify-content: flex-end !important;
            }
}

/*Influencer dashboard style*/
/* General container for the dashboard */
.dashboard-container {
    padding: 2rem 4rem;
    color: white;
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: auto;
}

/* Welcome message */
.welcome-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

/* Referral information section */
.referral-info {
    margin-bottom: 3rem;
}

    .referral-info p {
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }

.copy-link {
    color: #00aaff; /* A bright blue for the link */
    text-decoration: underline;
    display: inline-block;
    margin-top: 0.5rem;
}

.share-links {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .share-links .social-icon {
        color: white;
        font-size: 1.8rem;
    }

/* Sales and Performance section titles */
.sales-section h2, .performance-summary h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* Sales table styling */
.table-responsive {
    overflow-x: auto; /* Ensures table is responsive on small screens */
}

.sales-table {
    width: 100%;
    border-collapse: collapse; /* Removes default gaps between cells */
    margin: 0px;
    /* Removed 'ma' from here */
}

    .sales-table th, .sales-table td {
        border: 1px solid #555; /* Dark gray border */
        padding: 1rem;
        text-align: left;
        height: 60px; /* Gives the empty rows some height */
    }

    .sales-table th {
        font-weight: bold;
    }

    .sales-table thead th {
        border: 1px solid #fff;
    }

/* Performance summary section */
.performance-summary p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/*Product share button*/
.product-image-container {
    position: relative; /* This is crucial */
}

.product-share-icon-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-share-icon-button:hover {
        background-color: #007bff;
    }

.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    color: #333;
}

    .share-modal-content h4 {
        margin-bottom: 1.5rem;
    }

.share-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.share-icon {
    font-size: 24px;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

    .share-icon:hover {
        transform: scale(1.1);
    }

    .share-icon.facebook {
        background-color: #1877F2;
    }

    .share-icon.whatsapp {
        background-color: #25D366;
    }

    .share-icon.instagram {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    .share-icon.tiktok {
        background-color: #000000;
    }

.copy-message {
    margin-top: 1rem;
    color: #007bff;
    font-size: 0.9rem;
}

/* Styling for the mobile sale cards */
.sale-card {
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #fff;
    border-bottom: 2px solid #1a1a1a;
}

    .sale-card .card-header {
        padding: 10px 15px;
        background-color: #333;
        border-bottom: 1px solid #444;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .sale-card .card-date {
        font-size: 0.85em;
        color: #ccc;
    }

    .sale-card .card-body {
        padding: 15px;
    }

        .sale-card .card-body p {
            margin-bottom: 8px;
        }

    .sale-card .product-list {
        padding-left: 20px;
        margin: 5px 0 10px 0;
    }

    .sale-card .card-footer {
        padding: 10px 15px;
        text-align: right;
        border-top: 1px solid #444;
    }

/* Hide table on small screens (Bootstrap class d-md-none already does this) */
/* Hide mobile cards on medium screens and up (Bootstrap class d-none d-md-block already does this) */

.sidenav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1040; /* Position it behind the sidenav but above the main content */
    /* No transition needed, appears instantly when menu opens */
}

/* =================================
   SHOP PAGINATION STYLES
   ================================= */

/* This styles the main pagination links (numbers, Previous, Next) */
.pagination .page-item .page-link {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
}

    /* This styles the link when you hover over it */
    .pagination .page-item .page-link:hover {
        background-color: #fff; /* Dark grey on hover */
        color: #000;
    }

/* This styles the currently active page number */
.pagination .page-item.active .page-link {
    background-color: #000; /* White background for active page */
    color: #fff; /* Black text for active page */
    border-color: #fff;
}

/* This styles the "Previous" or "Next" button when it's disabled */
.pagination .page-item.disabled .page-link {
    background-color: #222; /* Dark grey for disabled */
    color: #777; /* Lighter grey text */
    border-color: #444;
}

/* This media query will only apply to screens 576px or smaller (like phones) */
@media (max-width: 576px) {

    .footer-content {
        flex-direction: column; /* Stack the links and icons vertically */
        align-items: center; /* Center them */
        gap: 1.25rem; /* Add some space between the links and icons */
    }

    .footer-links-group {
        order: 2; /* Make the links appear below the icons */
    }

    .social-icons {
        order: 1; /* Make the icons appear on top */
    }
}

/* --- START: NEW STYLES FOR MOBILE NAVBAR --- */

/* This container holds the new search icon and the hamburger */
.mobile-icons-container {
    display: flex;
    align-items: center;
}

/* Styles the new search icon to look like a nav button */
.search-icon-mobile {
    color: rgba(255, 255, 255, 0.55); /* Bootstrap's default nav-link color */
    font-size: 1.1rem;
    padding-right: 0.5rem; /* Space between search and hamburger */
    padding-left: 0.5rem;
    background: none;
    border: none;
}

    .search-icon-mobile:hover {
        color: rgba(255, 255, 255, 0.75);
    }

/* This is the slide-down search bar container */
.search-container-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #0c0f12; /* Match your navbar's dark color */
    border-bottom: 1px solid #212529; /* A slightly lighter border */
    animation: slideDown 0.3s ease-out;
    /* The .d-lg-none class on the element handles showing/hiding */
}

    /* Style for the 'X' close button inside the mobile search bar */
    .search-container-mobile .btn-close {
        background-color: white; /* Make the 'X' visible on dark background */
        opacity: 0.7;
    }

/* Animation for the search bar appearing */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* On mobile (screens smaller than 992px), make the brand logo grow */
/* This is what pushes the new icons to the far right */
@media (max-width: 991.98px) {
    header .navbar-brand {
        flex-grow: 1;
    }
}

/* --- END: NEW STYLES FOR MOBILE NAVBAR --- */