@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
:root {
    --background-color: #faf5f0;
    --text-color: #333;
    --border-color: #e0e0e0;

    --primary-color: #ff3366;
    --secondary-color: #333;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #333;
    --price-color: #ff3366;
    --btn-hover: #e6004c;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    background-color: #fff;
    overflow-x: hidden;
}

.product-title {
    color: inherit;
    text-decoration: none;
}

.site-logo img {
    width: 200px;
}
.mainNavBg {
    background-color: #fff;
}

.top-banner {
    background-color: #f9f5f2;
    color: #333;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
}
.fixednavbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* High enough to stay above other content */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional for visual separation */
}

.main-nav {
    padding: 15px 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .main-nav {
        padding: 5px 0;
    }
}

.nav-icons a {
    color: #333;
    margin-left: 20px;
    text-decoration: none;
    font-size: 20px;
}

.language-currency {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.dropdown-toggle img {
    margin-right: 5px;
    width: 20px;
}

.category-nav {
    border-top: 1px solid rgb(223, 221, 221);
    background-color: #fff;
    padding: 5px 0;
}

.category-nav > .container > ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.category-nav > .container > ul > li {
    margin: 0 15px;
    position: relative;
}

.category-nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.category-nav a:hover {
    color: #888;
}

.search-container {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    transition: all 0.3s ease;
}

.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-cancel {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.nav-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-item {
    position: relative;
}

.category-dropdown {
    display: none;
    position: fixed;
    top: 105px; /* adjust as needed */
    left: 0;
    width: 100vw;
    z-index: 1000;
}

.nav-item:hover .category-dropdown {
    display: block;
}

.dropdown-inner {
    max-width: 1200px; /* Bootstrap-like container */
    margin: 0 auto;
    padding: 20px 15px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px; /* optional */
}

.subcategory-name {
    font-weight: 700;
}

.moved-logo {
    position: absolute;
    left: 20px;
    font-size: 20px;
    letter-spacing: 5px;
}

@media (max-width: 992px) {
    .search-container {
        width: 70%;
    }

    .category-nav ul {
        flex-wrap: wrap;
    }

    .category-nav li {
        margin: 5px 10px;
    }
}

@media (max-width: 768px) {
    .search-container {
        width: 90%;
    }

    .logo {
        font-size: 24px;
        letter-spacing: 5px;
    }

    .nav-icons a {
        margin-left: 15px;
        font-size: 18px;
    }
}

/* Why Us Section */
.why-us {
    text-align: center;
    padding: 30px 0;
}

.why-us h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.auth-options {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.auth-option {
    flex: 1;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.3s;
}

.auth-option:first-child {
    border-right: 1px solid var(--border-color);
}

.auth-option:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Footer Sections */
.footer-section {
    padding: 40px 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-text {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.form-control {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px 15px;
}

.location-options {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.location-option {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.location-option input {
    margin-right: 5px;
}

.subscribe-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: #0069d9;
}

/* Social Media */
.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: #6d1730;
    color: white;
}

/* Legal Links */
.legal-links {
    text-align: center;
    margin-bottom: 20px;
}

.legal-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    margin: 0 10px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* Copyright */
.copyright {
    text-align: center;
    font-size: 14px;
    color: #666;
    padding: 20px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo {
        font-size: 20px;
        letter-spacing: 5px;
    }

    .header-icons {
        gap: 10px;
    }

    .auth-options {
        flex-direction: column;
    }

    .auth-option:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .footer-section {
        padding: 20px 0;
    }

    .footer-title {
        margin-top: 20px;
    }

    .social-media {
        gap: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .legal-links a {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    .language-selector {
        font-size: 12px;
    }

    .header-icon {
        font-size: 18px;
    }

    .sign-in {
        font-size: 12px;
    }

    .why-us h2 {
        font-size: 24px;
    }

    .footer-title {
        font-size: 16px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Swiper Styles */

.homeSlider .swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image {
    width: 100%;
    height: 250px; /* Full screen height by default (mobile) */
    object-fit: cover;
}

@media (min-width: 1024px) {
    .slide-image {
        height: 345px; /* Set banner height for lg and up */
    }
}

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #000;
    background-color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.product-section .swiper-button-next,
.product-section .swiper-button-prev {
    color: #dddcdc;
    background-color: rgba(116, 113, 113, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 40%; /* vertically center */
    transform: translateY(-50%);
    z-index: 10;
}

.product-section .swiper-button-next {
    right: 10px;
}

.product-section .swiper-button-prev {
    left: 10px;
}

.product-section .swiper-button-next:after,
.product-section .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 767px) {
    #featured-product .swiper-button-next,
    #featured-product .swiper-button-prev {
        display: none !important;
    }
}

/* Floating Social Media Buttons */
.floating-social {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-container {
    position: relative;
    background-color: #333;
    border-radius: 30px;
    padding: 10px 0;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #555;
    color: #fff;
}

@media (max-width: 768px) {
    .floating-social {
        left: 10px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

.section-title {
    text-align: center;
    color: #6c757d;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 40px 0;
}

.brand-card {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-5px);
}

.brand-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.5rem;
        margin: 30px 0;
    }

    .brand-card {
        margin-bottom: 20px;
    }
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 0 8px;
}

.product-img-container {
    background-color: #f9f5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    overflow: hidden;
}
.product-img {
    position: relative;
}
.product-img-container .cart-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: revert;
}

.product-details {
    padding: 15px;
}

.product-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
    height: 20px;
    overflow: hidden;
}
.product-brand {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-color);
    overflow: hidden;
    margin-bottom: 20px;
}

.product-price {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 12px;
}

.rating {
    color: #ffc107;
    margin-bottom: 12px;
}

.rating .far {
    color: #ffc107;
    opacity: 0.5;
}

.buy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 8px 0;
    font-weight: 600;
    width: 100%;
}

.product-section-title {
    position: relative;
    margin-bottom: 30px;
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 18px;
}

.product-section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.mobile-navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1050;
    overflow-y: auto;
    padding: 1rem;
    transition: left 0.4s ease-in-out;
    font-size: 14px;
}

.mobile-navbar.active {
    left: 0;
}

.mobileNavSeperator {
    margin-left: -1rem;
    margin-right: -1rem;
    border-bottom: 1px solid #ddd;
    margin-top: 1rem;
}

/* Main Category */
.category-item {
    border-bottom: 1px solid #ddd;
    padding: 0.75rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    background: #fff;
    font-weight: 700;
    color: #8b1d3d;
}

/* Subcategory Wrapper */
.subcategory-list {
    display: none;
    margin-top: 1rem;
    /* Increased spacing from parent category */
}

/* Subcategory Item */
.subcategory-item {
    background: #f8f9fa;
    /* light gray */
    padding: 0.25rem 1rem;
    /* Less vertical padding */
    margin-left: -1rem;
    margin-right: -1rem;
    font-weight: 500;
    color: black;
}

/* Child Category Wrapper */
.child-list {
    display: none;
    margin-top: 1rem;
    /* Increased spacing from parent subcategory */
}

/* Child Category Item */
.child-item {
    background: #e9ecef;
    /* slightly darker gray */
    padding: 0.25rem 1rem;
    /* Less vertical padding */
    margin-left: -1rem;
    margin-right: -1rem;
    font-weight: 500;
    color: black;
}

.plus-icon {
    float: right;
    cursor: pointer;
    font-weight: bold;
    color: black;
}

.fullscreen-search-sm {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: -15px;
}

@media (max-width: 768px) {
    .fullscreen-search-sm {
        padding-bottom: 10px;
    }
}
.fullscreen-search-sm .search-wrapper {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.fullscreen-search-sm .search-input {
    width: 100%;
    min-width: 300px;
    height: 40px;
    border: 2px solid #6f0a36;
    border-radius: 9999px;
    outline: none;
    color: rgb(0, 0, 0);
    font-size: 14px;
    background-color: rgb(247, 246, 246);
    padding-left: 2.5rem;
}

/* For large screens and above (>= 1024px) */
@media (min-width: 1024px) {
    .fullscreen-search-sm .search-input {
        min-width: 400px;
    }
}


.fullscreen-search-sm .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #272626;
    pointer-events: none;
}

.fullscreen-search-sm input:focus {
        outline: none;
        box-shadow: none;
    }

/* .chat-icon {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #ff3e6c;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
} */

.global-cart-icon {
    position: fixed;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1a2e4a;
    color: white;
    border-radius: 8px;
    text-align: center;
    z-index: 1000;
    padding: 10px 8px;
    font-size: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 80px;
    line-height: 1.4;
    cursor: pointer;
}

.global-cart-icon i.cart-icon {
    font-size: 18px;
    margin-bottom: 5px;
    display: block;
}

.cart-items {
    margin: 2px 0;
    font-size: 12px;
    font-weight: 500;
}

.global-cart-price {
    background-color: #ff3e6c;
    color: white;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 12px;
    margin-top: 4px;
}

.search-product-card{
    max-width: 300px;
}


a {
    color: inherit;
    text-decoration: none;
}
