/* Import Poppins Font from Google Fonts CDN */
@font-face {
    font-family: 'Poppins';
    src: url('https://fonts.gstatic.com/s/poppins/v22/pxiEypwloc4OYRVDDmCYPvILQ2ZQ4J7F.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Poppins Fallback' !important;
    font-weight: 400 !important;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Apply Poppins font to all text elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Poppins Fallback' !important;
    font-weight: 400 !important;
}

p, span, a, li, td, th, label, input, textarea, button, select {
    font-family: 'Poppins', 'Poppins Fallback' !important;
    font-weight: 400 !important;
}

#main-content {
    flex: 1;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Allow mega menu to overflow container */
.main-navigation > .container {
    overflow: visible;
    max-width: 100%;
    padding: 0 20px;
}

/* Header Styles */
.social-icon {
    height: 20px;
    width: auto;
    border-radius: 8px;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Modern Header Design - Nainpreet Style */
.announcement-bar {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.announcement-bar p {
    margin: 0;
    font-size: 13px;
}

.main-header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    padding: 5px;
}

.header-logo {
    flex: 1;
    text-align: center;
}

.logo-link {
    text-decoration: none;
    color: #000;
}

.logo-text {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon-link {
    color: #000;
    font-size: 20px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon-link:hover {
    color: #666;
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Navigation - Nainpreet Style */
.main-navigation {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

.nav-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    position: relative;
}

.nav-item {
    position: relative;
    white-space: nowrap;
}

.nav-link {
    color: #222222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    padding: 18px 17.5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    white-space: nowrap;
    line-height: 1;
}

.nav-link:hover {
    color: #000000 !important;
}

.dropdown-arrow {
    font-size: 8px;
    transition: transform 0.3s ease;
    opacity: 0.8;
    margin-left: 4px;
}

.nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    min-width: 220px;
    padding: 15px 0;
    list-style: none;
    margin: 10px 0 0 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

/* Mega Menu - Nainpreet Style */
.nav-item.has-dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 100vw;
    max-width: 1400px;
    background-color: #fff;
    padding: 40px 50px;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 2px solid #000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-container {
    width: 100%;
}

.mega-menu-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.mega-menu-column {
    padding: 0 5px;
}

.mega-menu-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
    font-family: 'Poppins', sans-serif;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 10px;
}

.mega-menu-list li a {
    display: block;
    padding: 5px 0;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
}

.mega-menu-list li a:hover {
    color: #000;
    padding-left: 5px;
}

.view-all-link {
    font-weight: 600 !important;
    color: #000 !important;
    margin-top: 15px;
    display: inline-block !important;
    letter-spacing: 0.5px !important;
}

.dropdown-link {
    display: block;
    padding: 10px 25px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f8f8f8;
    color: #000;
    padding-left: 30px;
}

.sale-link {
    color: #dc3545;
    font-weight: 600;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99998 !important;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: #fff;
    z-index: 99999 !important;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-content {
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: #f8f8f8;
}

.mobile-dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f8f8;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 2000px;
    overflow-y: auto;
}

.mobile-dropdown-link {
    display: block;
    padding: 12px 40px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
    background-color: #fff;
    padding-left: 45px;
}

.mobile-dropdown-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 10px 20px;
}

.mobile-menu-footer {
    padding: 20px;
    margin-top: 20px;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background-color: #7b5f30;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: #5e4824;
}

/* Navigation Styles */
.navbar-brand img {
    height: 50px;
    width: auto;
}

/* Remove navbar shadows */
.navbar, .navbar.bg-white {
    box-shadow: none !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Responsive Header Styles */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 0;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 18px 12px;
    }
}

@media (max-width: 991px) {
    .main-navigation {
        display: none;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .header-icons {
        gap: 15px;
    }
    
    .header-icon-link {
        font-size: 18px;
    }
    
    /* Mega Menu Responsive */
    .mega-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none;
        padding: 25px 20px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #e8e8e8;
    }
    
    .nav-item.has-dropdown:hover .mega-menu {
        transform: none;
    }
    
    .mega-menu-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .mega-menu-title {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    
    .mega-menu-list li a {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 11px;
        padding: 8px 0;
    }
    
    .main-header {
        padding: 15px 0;
    }
    
    .logo-text {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .header-icons {
        gap: 12px;
    }
    
    .header-icon-link {
        font-size: 16px;
    }
    
    .cart-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    .announcement-bar {
        font-size: 10px;
        padding: 6px 5px;
    }
    
    .announcement-bar p {
        font-size: 10px;
    }
    
    .main-header {
        padding: 12px 0;
    }
    
    .logo-text {
        font-size: 20px;
        letter-spacing: 0.5px;
    }
    
    .header-icons {
        gap: 10px;
    }
    
    .header-icon-link {
        font-size: 14px;
    }
    
    .cart-badge {
        width: 14px;
        height: 14px;
        font-size: 8px;
        top: -6px;
        right: -6px;
    }
    
    .mobile-menu {
        width: 90%;
    }
}

/* Hero Section background-color: #f8f9fa; */
.hero-section {
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 400px; /* Set minimum height for slider */
    background: transparent !important;
    box-shadow: none !important;
}

.hero-slide {
    display: none;
    position: relative;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 1;
}

.hero-slide.active-slide {
    display: block;
    opacity: 1;
    z-index: 1;
    animation: fadeIn 0.5s ease-in-out;
}

.hero-slide:first-child {
    display: block;
    z-index: 1;
}

.hero-slide a {
    display: block;
    width: 100%;
}

.slider-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: #000;
}

.slider-indicators {
    z-index: 2;
}

/* Slider Title Overlay */
.slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-title-overlay {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 50%;
    padding: 30px;
    pointer-events: none;
    text-align: left;
}

.slider-title-overlay * {
    pointer-events: auto;
}

.slider-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
    margin: 0 0 25px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: block;
}

.btn-shop-now {
    display: inline-block;
    padding: 8px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: fit-content;
}

.btn-shop-now:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Mobile responsive for slider title */
@media (max-width: 768px) {
    .slider-title-overlay {
        left: 5%;
        top: auto;
        bottom: 15%;
        transform: none;
        max-width: 90%;
        padding: 15px;
    }
    
    .slider-title {
        font-size: 2rem;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
        margin-bottom: 15px;
    }
    
    .btn-shop-now {
        padding: 6px 15px;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .slider-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .btn-shop-now {
        padding: 6px 14px;
        font-size: 0.7rem;
    }
}

/* Card Styles */
.collection-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.collection-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Mobile only - use wrapper for consistent aspect ratio */
@media (max-width: 768px) {
    .collection-image-wrapper {
        position: relative;
        overflow: hidden;
        padding-top: 100%;
    }
    
    .collection-image-wrapper .collection-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.collection-card:hover .collection-image {
    transform: scale(1.1);
}

.collection-overlay {
    background: transparent;
    backdrop-filter: none;
    z-index: 2;
}

.collection-overlay h3 {
    font-size: 1.2rem;
    text-wrap: nowrap;
    color: black;
    /*font-weight: bold; text-shadow: 2px 2px 4px rgba(0,0,0,0.7); */
}

.collection-overlay p {
    font-size: 0.9rem;
     color: black;
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.7); */
}

.brand-img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-item:hover .brand-img {
    transform: scale(1.1);
}

/* Brands Slider Styles */
.brands-slider-container {
    position: relative;
    padding: 20px 0;
}

.brands-track {
    /* Smooth continuous animation */
}

.product-card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Button Styles */

/* Heading with Lines - Shop By Brands */
.heading-with-lines {
    gap: 0;
    width: 100%;
}

.heading-with-lines .line {
    height: 2px;
    background: #333;
    flex-grow: 1;
    max-width: none;
    width: 100%;
}

.heading-with-lines .left-line {
    background: #333;
}

.heading-with-lines .right-line {
    background: #333;
}

.heading-with-lines h2 {
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .heading-with-lines h2 {
        font-size: 1.5rem;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
}
.btn-light {
    background-color: #000;
    border-color: #000;
    color: white;
}

.btn-light:hover {
    background-color: #333;
    border-color: #333;
    color: white;
}

/* Footer Styles */
.payment-icon {
    height: 20px;
    width: auto;
}

.social-icon-footer {
    height: 25px;
    width: auto;
}

footer a {
    color: #6c757d;
}

footer a:hover {
    color: #000;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    .social-icon {
        height: 16px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-collapse {
        margin-top: 10px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page Transition Animation */
.page-transition {
    animation: pageIn 0.4s ease-out;
}

@keyframes pageIn {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Utility Classes */
.text-danger {
    color: #dc3545 !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.rounded {
    border-radius: 8px !important;
}