@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins' , sans-serif;
    overflow-x: hidden;
}

h1{
    font-size: 2.5rem;
    font-weight: 700;
    color: #a01e1e;
}

h2{
    font-size: 1.8rem;
    font-weight: 600;
}

h3{
    font-size: 1.5rem;
    font-weight: 800;
}

h4{
    font-size: 1.2rem;
    font-weight: 600;
}

h5{
    font-size: 1rem;
    font-weight: 400;
}

h6{
    color: #d8d8d8;
}

ul{
    list-style: none;
    font-size: medium;
}

small{
    font-size: 0.75rem !important; 
    
}
#suggestions-list .btn {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    line-height: 1.2;
}

#display-name-suggestions small {
    font-size: 0.75rem;
    color: #6c757d;
}
/* nabar */

.nav-buttons{

    margin-left: ms-auto;
    
}


.navbar {
    padding: 0.3rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: #030202;
    height: 60px; /* Add fixed height */
}

.navbar img {
    width: 70px;
    height: 40px; /* Set specific height */
    object-fit: contain; /* Maintains aspect ratio within bounds */
}

.navbar-light .navbar-nav .nav-link{
    padding: 0 1px;
    height: 100%;
    transition: color 0.4s ease, transform 0.4s ease;
}

.nav-item {

    margin-right: 5px;
}

.nav-link:hover, .navbar-nav .nav-link:focus{
    color: coral;
    transform: scale(1.1);
}
.navbar i:hover{
    color: coral;
}

.navbar i{
    /* font-size: 1.0rem; */
    padding: 0 0.5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 9px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-buttons {
        margin-left: 80%; /* Center the buttons */
        display: flex;
        flex-direction: column; /* Stack the buttons vertically */
        align-items: center; /* Center align the buttons */
        gap: 10px; /* Add spacing between buttons */
    }

    .navbar-nav .nav-link {
        padding: 5px 0; /* Adjust padding for smaller screens */
        /* font-size: 1rem; Adjust font size */
    }

    .navbar i {
        margin-top: 5px; /* Adjust icon spacing */
        margin-bottom: 5px;
        margin-right: 20px;
        margin-left: 0px;
    }
}

@media (max-width: 600px) {
    .desktop-navbar {
        display: none !important;
    }
    .mobile-navbar {
        display: block !important;
    }
    .mobile-navbar {
        background: #fff !important;
        color: #222;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        border-bottom: 1px solid #eee;
    }
    .mobile-navbar .nav-link,
    .mobile-navbar i {
        color: #222 !important;
    }
    .mobile-navbar {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100vw;
        z-index: 1000;
        background: #fff !important;
        color: #222;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.07);
        border-top: 1px solid #eee;
        border-bottom: none;
        padding: 0.2rem 0;
    }
    body {
        padding-bottom: 56px; /* Add space for bottom navbar */
        padding-top: 0 !important;
    }
}

.navbar-nav{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
}

.navbar-nav .nav-item{
    margin: 0 6px;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    padding: 5px 5px;
    transition: color 0.4s ease, transform 0.4s ease;

}

/* Account Dropdown Styles */
.account-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none !important;
    color: #000 !important;
    position: relative;
}

.account-trigger:hover {
    background-color: #f8f9fa;
    text-decoration: none !important;
}

.account-text {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.account-dropdown {
    position: fixed;
    top: 60px; /* Match your navbar height */
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    padding: 8px 0;
    pointer-events: none;
}

.account-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-item i {
    width: 20px;
    color: #666;
    font-size: 1rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #dc3545;
    text-decoration: none;
}

.dropdown-item:hover i {
    color: #dc3545;
}

.dropdown-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 8px 0;
}

.logout-item {
    color: #dc3545;
}

.logout-item i {
    color: #dc3545;
}

.logout-item:hover {
    background-color: #fff5f5;
}

/* Hide on mobile - keep old mobile approach */
@media (max-width: 600px) {
    .account-dropdown {
        display: none !important;
    }
    
    .account-text {
        display: none;
    }
}



#home{
    background: url(../../../uploads/banners/home.jpg) no-repeat center center/cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    background-position-x: 0px ;
    background-position-y: 0px;
    background-attachment: fixed;
    align-items: center;
    text-align: center;
    padding-top: 170px;
}

.home p{
    font-size: 1.2rem;
    color: #d8d8d8;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*Button*/
.btn-primary{
    background-color: red;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.4s ease, transform 0.4s ease;
}
.btn-primary:hover{
    background-color: #d8d8d8;
    color: #880d0d;
    transform: scale(1.01);
}

.btn-secondary{
    background-color:red;
    height: 30px;
    width: 100px !important;
    border: none;
    padding: 3px;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.4s ease, transform 0.4s ease;

}

.btn-secondary:hover{
    background-color: #d8d8d8;
    color: #880d0d;
    transform: scale(1.01);
}



.brand-item:nth-child(2) {
    margin-top: 0; /* Reset the top margin */
    margin-bottom: 0; /* Reset the bottom margin */
    display: flex;
    align-items: center;
    justify-content: center;
    
}

#brand .row {
    display: flex;
    justify-content: space-between; /* Distribute images evenly across the row */
    align-items: center; /* Center the images vertically */
    gap: 50; /* Remove extra spacing between images */
    width: 100%; /* Ensure the row spans the full width */
    margin: 0; /* Remove any default margins */
}

.brand-item {
    flex: 1; /* Allow each brand item to take up equal space */
    text-align: center; /* Center the content inside each brand item */
    padding: 70px; /* Optional: Add padding around each image */
}

.brand-item img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
}


.banner{
    background: url(../../../uploads/banners/banner.jpg) no-repeat center center/cover;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: flex-start;
    background-attachment: fixed;
}

/* Footer*/
.footer{
    background-color: #242624;
    padding: 20px 0;
    font-size: 1.2rem;
}

.footer-one h5{
    font-size: 18px;
    color :#fff;
    margin-bottom: 35px;
    font-weight: 600;
    position: relative;
}
.footer-one h5::before{
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #e91e63;
    bottom: -10px;
    left: 0;
    box-sizing: border-box;
}

.footer-one p{
    color: #d8d8d8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-one li:not(:last-child){
    margin-bottom: 10px;
}

.footer-one li a{
    font-size: 0.95rem;
    font-weight: 400;
    color: #d8d8d8;
    text-decoration: none;
    text-transform: capitalize;
    display: inline-block;
    transition: color 0.4s ease, transform 0.4s ease;
}
.footer-one li a:hover{
    color: #e91e63;
    transform: scale(1.1);
}

.footer-one .social-icons{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start ;
    margin-top: 20px;
}
.footer-one .social-icons i{
    font-size: 1.3rem;
    color: #d8d8d8;
    margin: 0 10px;
    transition: color 0.4s ease, transform 0.4s ease;
}

.footer-one .social-icons i:hover{
    color: #e91e63;
    transform: scale(1.2);
}

/* Sell With Us Button in Footer */
.footer-one .btn-primary {
    background-color: red ;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 0.95rem;
    border-radius: 5px;
    transition: background-color 0.4s ease, transform 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-one .btn-primary:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.footer-one .btn-primary i {
    font-size: 0.95rem;
    margin: 0;
}


@media (max-width: 600px) {
    /* Category Search Container - Fixed at Top (Override sticky positioning) */
    .category-search-container {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 0.75rem 0;
        margin-top: 0 !important;
        margin-bottom: 3rem !important;
    }
    
    /* Remove excessive padding-top from category tabs on mobile */
    .category-tabs {
        padding-top: 0.5rem !important;
    }

    .footer-one .social-icons i,
    .footer-one .social-icons a,
    .mobile-footer .social-icons i,
    .mobile-footer .social-icons a {
        font-size: 1rem !important;
        margin: 0 4px !important;
    }
    .footer,
    .footer-one,
    .footer-one h5,
    .footer-one ul,
    .footer-one p,
    .footer-one form,
    .footer-one input,
    .footer-one button,
    .mobile-footer,
    .mobile-footer .copyright,
    .mobile-footer .mobile-login-link {
        font-size: 0.7em !important;
    }
}
@media (max-width: 600px) {

    .footer-one h5 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .footer-one .btn-primary {
        font-size: 0.75em;
        padding: 0.22rem 0.5rem;
    }
    .footer-one .form-control {
        font-size: 0.75em;
        padding: 0.18rem 0.3rem;
    }
    .footer-one .social-icons a {
        font-size: 1rem;
        margin-right: 0.4rem;
    }
    
}

/* footer responsive */
@media(max-width: 768px) {
    .footer-one {
        width: 50%; /* Adjust width for smaller screens */
        margin-bottom: 30px; /* Add some space below the footer section */
    }
    
}
@media(max-width: 568px) {
    .footer-one {
        width: 100%; /* Adjust width for smaller screens */
        margin-bottom: 30px; /* Add some space below the footer section */
    }
    .footer-one .btn-primary{
        width: 50%;
        margin-top: 20px;
    }
    
}

/* Make the social icons in the footer red */
.footer-one .social-icons i,
.footer-one .social-icons a,
.mobile-footer .social-icons i,
.mobile-footer .social-icons a {
    color: #4e4c4c !important;
    /* Or use #e91e63 or your preferred shade of red */
    transition: color 0.3s;
}
.footer-one .social-icons i:hover,
.footer-one .social-icons a:hover,
.mobile-footer .social-icons i:hover,
.mobile-footer .social-icons a:hover {
    color: #414040 !important;
}

.category-tabs {
    color: #000;
    padding-top: 5rem !important;
}

.category-tabs .nav-link{
    color: #880d0d;
}

.category-tabs .nav-link.active {
    color: #fff !important;
    background-color: #beb2b2 !important;
    border: none;
}

.category-tabs hr{
    
    width: 50%;
    height: 1px;
    color: #880d0d;
    margin: 20px 0;
}

.btn-outline-primary{
    background-color: #fff;
    border-color: #880d0d;
    padding: 10px 20px;
    color: #880d0d;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.order-details{
    margin-top: 7rem !important;
}




/*Account*/
.account .row {
    display: flex;
    justify-content: space-evenly; /* Evenly distribute the images */
    align-items: center; /* Center the images vertically */
    flex-wrap: wrap; /* Allow wrapping to the next line if needed */
    margin: 0; /* Remove any default margins */
    width: 70%; /* Ensure the row spans the full width */
    padding: 0; /* Optional: Add padding around the row */
}

.account .account-btns{
    display: flex;
    justify-content: center;
    align-items: center;
}

.account-btns .btn-primary{
    margin: 10px;
    width: 200px;
    height: 70px;
    font-size: 1.2rem;
    background-color: #e91e63;
    border: none;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.4s ease, transform 0.4s ease;
}
.account-btns .btn-primary:hover{
    background-color: #d8d8d8;
    color: #880d0d;
    transform: scale(1.01);
}

/*Contact Us*/
#contact-us{
    margin-top: 7rem !important;
}

/*Checkout */
#checkout{
    margin-top: 7rem !important;
}

a i.fa-user {
    color: black; /* Inherit the color from the parent element */
    text-decoration: none; /* Remove underline if present */
}

a i.fa-shopping-cart {
    color: black; /* Inherit the color from the parent element */
    text-decoration: none; /* Remove underline if present */
}


.filter-sidebar {
    position: sticky;
    top: 90px; /* Adjust this value to match your header height */
    z-index: 100;
}

/* orders*/
.orders {
    margin-top: 7rem !important;
}

/* alert message*/


.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-dismissible {
    padding-right: 4rem;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: .75rem 1.25rem;
    color: inherit;
}

/* Hide mobile navbar on desktop, show on mobile */
@media (min-width: 601px) {
    .mobile-navbar {
        display: none !important;
    }
}

/* Hide mobile navbar on desktop, show only on mobile */
@media (min-width: 601px) {
    .mobile-navbar {
        display: none !important;
    }
}

/* Hide the main footer on mobile, show only mobile-footer */
@media (max-width: 600px) {
    .footer {
        display: none !important;
    }
    .mobile-footer {
        display: flex !important;
    }
}
@media (min-width: 601px) {
    .mobile-footer {
        display: none !important;
    }
}

/* Center the content of the mobile footer */
.mobile-footer {
    justify-content: center;
    align-items: center;
    text-align: center;
}
.mobile-footer .social-icons {
    justify-content: center;
    align-items: center;
    display: flex;
}
.mobile-footer .mobile-login-link,
.mobile-footer .copyright {
    display: block;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
