/* Custom CSS for Reverie Fashion eCommerce */

:root {
    --primary-color: #ad341e;
    --secondary-color: #dde2e73a;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #ecf0f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*background: #FFF2E9;*/
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #FFF2E9 !important;
}

.for-her-btn:hover,
.for-him-btn:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.for-her-btn,
.for-him-btn {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
    border-color: var(--secondary-color) !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.header {
    /* background: var(--white); */
    background: transparent;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.4s ease;
}

.header:hover {
    background: white;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.brand-logo {
    width: auto;
    height: 110px;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    margin: 0 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 1rem 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px !important;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Main Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: none;
    padding: 1rem 0;
    display: block;
    pointer-events: none;
}

/* Show dropdown on hover */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Submenu Styles */
.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
    padding: 1rem 0;
    pointer-events: none;
}

/* Working hover implementation */
.dropdown-item.has-submenu:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}


/* Arrow indicator for submenu */
.has-submenu::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    margin-left: 10px;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.dropdown-item:hover.has-submenu::after {
    transform: translateX(3px);
}

/* Child Category Menu - FIXED STYLES */
.dropdown-child {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1003;
    padding: 1rem 0;
    pointer-events: none;
    margin-top: 0;
}

.submenu-item.has-child:hover .dropdown-child {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.dropdown-child:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.submenu-item.has-child:hover .submenu-link {
    background: var(--bg-light);
    color: var(--accent-color);
}

.submenu-item.has-child:hover .dropdown-child,
.dropdown-child:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.submenu-item {
    position: relative;
}

.submenu-link {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 0.5rem;
}

.submenu-link:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

.has-child::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    margin-left: 10px;
    font-size: 0.7rem;
}

.child-link {
    display: block;
    padding: 0.4rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.child-link:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    /*gap: 1.5rem;*/
}

.header-icon {
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
}

.header-icon:hover {
    color: var(--accent-color);
    background: var(--bg-light);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    padding: 0.5rem;
    border-radius: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

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

.mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: var(--white);
}

.mobile-menu-header .logo {
    color: var(--white);
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    padding: 0.5rem;
}

/* Mobile Accordion */
.mobile-accordion-item {
    border-bottom: 1px solid #eee;
}

.mobile-accordion-header {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-light);
}

.mobile-accordion-content.active {
    max-height: 500px;
}

.mobile-sub-item {
    padding: 0.75rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-sub-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-child-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.05);
}

.mobile-child-content.active {
    max-height: 300px;
}

.mobile-child-item {
    padding: 0.5rem 3rem;
}

.mobile-child-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-overlay.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .header-container {
        /*padding: 0.75rem 0;*/
    }

    .logo {
        font-size: 1.8rem;
    }
}

@media (min-width: 992px) {

    .mobile-menu,
    .mobile-menu-toggle,
    .mobile-overlay {
        display: none !important;
    }

    /* Ensure all dropdown levels work */
    .dropdown-menu {
        display: block !important;
    }

    .submenu-item.has-child {
        position: relative;
    }

    .dropdown-child {
        margin-top: -10px;
    }

    /* Fix for child menu hover */
    .submenu-item.has-child:hover .dropdown-child {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }

    .dropdown-child:hover {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }

    /* Prevent menu from closing when moving between items */
    .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-submenu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

@media (max-width: 767.98px) {
    .header-actions {
        gap: 1rem;
    }

    .for-her-btn,
    .for-him-btn {
        font-size: 12px;
    }

    .header-icon {
        font-size: 1.1rem;
    }
}

/* Slider Section */
.slider-section {
    position: relative;
    height: 750px;
    overflow: hidden;
    /*margin-top: -122px;*/
}

.slider-section img {
    /*height: 100vh;*/
    width: 100%;
}

@media (max-width: 767.98px) {
    .slider-section {
        position: relative;
        height: auto;
        overflow: hidden;
        /*margin-top: -120px;*/
    }

    .slider-section img {
        height: auto;
        width: 100%;
    }

    .slider-section video {
        height: 500px !important;
        width: 100%;
        object-fit: cover;
    }
}

.slide-title {
    font-size: 34px;
    font-weight: bold;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    color: black;
    /*background: rgba(0, 0, 0, 0.3);*/
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    transition: all 0.3s ease;
}
.swiper-button-prev{
    left: -5px;
}
.swiper-button-next{
    right: -5px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    /*background: rgba(0, 0, 0, 0.6);*/
    transform: scale(1.1);
}

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

/* Product Card */
.product-card {
    transition: transform 0.3s;
    position: relative;
    border-radius: 12px;
}

.product-image {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px;
}

@media (max-width: 767px) {
    .product-image {
        height: 300px;
    }
}

.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    /* slower */
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.img-default {
    transition: opacity 0.3s ease-in-out;
}

.product-card:hover .img-hover {
    opacity: 1;
}

.product-card:hover .img-default {
    opacity: 0;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.icon-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
}

.icon-actions i {
    background: #fff;
    color: #000;
    padding: 8px;
    font-size: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.icon-actions i:hover {
    background: #000;
    color: #fff;
}

.product-card:hover .icon-actions {
    opacity: 1;
}


/* Featured Categories */
.featured-categories {
    background: var(--white);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.category-image {
    /*border-radius: 8px;*/
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-image img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 530px;
    object-fit: fill;
}

@media (max-width: 767px) {
    .category-image img {
        /*height: 300px;*/
    }
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-title {
    /*position: absolute;*/
    /*bottom: 20px;*/
    left: 50%;
    /*transform: translateX(-50%);*/
    color: black !important;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    width: 100%;
    text-decoration: none !important;
}

.long-category-image img {
    height: 750px;
}

@media (max-width: 767.98px) {
    .long-category-image img {
        height: 300px !important;
    }
}

.product-link {
    color: var(--text-light);
    text-decoration: none;
}

/* Brand Story Section */
.brand-story-section {
    background: var(--light-bg);
}

.story-image img {
    height: 500px;
    object-fit: cover;
}

.story-content {
    background: #f4f1eb;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.story-wrapper {
    text-align: center;
}

.story-brand {
    font-size: 3rem;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-transform: lowercase;
    display: block;
}

.story-tagline {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 500;
}

/* Festival Section */
.festival-section {
    position: relative;
}

.festival-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.festival-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festival-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.festival-content {
    text-align: center;
    color: var(--white);
}

.festival-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.festival-subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 400;
}

/* Boutique Section */
.boutique-section {
    background: var(--white);
}

.boutique-content {
    background: #f4f1eb;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.boutique-title {
    font-size: 3.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: lowercase;
}

.boutique-image img {
    height: 400px;
    object-fit: cover;
}

/* Business Section */
.business-section {
    /*position: relative;*/
}

.business-banner {
    /*position: relative;*/
    /*height: 700px;*/
    overflow: hidden;
}

@media (max-width: 767px) {
    .business-banner img {
        height: 500px;
    }
}

.business-banner img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.business-overlay {
    /*position: absolute;*/
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5%;
}

.business-content {
    text-align: right;
    color: var(--white);
}

.business-title {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.business-subtitle {
    font-size: 24px;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
}

.whisper-overlay {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
    /*background: rgba(0, 0, 0, 0.5);*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: flex-start;*/
    /*padding-left: 5%;*/
}

/*.whisper-content {*/
/*text-align: left;*/
/*    color: var(--white);*/
/*    position: absolute;*/
/*    bottom: 20px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    text-align: center;*/
/*    width: 100%;*/
/*}*/

/* Product Grid */
.product-grid {
    background: var(--white);
}

.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 300px;
}

.large-item {
    height: 400px;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
}

.product-text h4 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-text p {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Office Section */
.office-section {
    position: relative;
}

.office-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.office-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.office-content {
    text-align: center;
    color: var(--white);
}

.office-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Denim Section */
.denim-section {
    position: relative;
}

.denim-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.denim-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.denim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.denim-content {
    text-align: center;
    color: var(--white);
}

.denim-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.denim-subtitle {
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 400;
}

/* Casual Grid */
.casual-grid {
    background: var(--light-bg);
}

.casual-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 350px;
}

.casual-item:hover {
    transform: translateY(-3px);
}

.casual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.casual-item:hover img {
    transform: scale(1.05);
}

/* Sportswear Section */
.sportswear-section {
    position: relative;
}

.sportswear-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.sportswear-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sportswear-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sportswear-content {
    text-align: center;
    color: var(--white);
}

.sportswear-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Accessories Section */
.accessories-section {
    position: relative;
}

.accessories-banner {
    position: relative;
    height: 700px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .accessories-banner {
        height: 400px;
    }
}

.accessories-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accessories-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessories-content {
    text-align: center;
    color: var(--white);
}

.accessories-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--light-bg);
}

.newsletter-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.newsletter-desc {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    border: 2px solid var(--border-color);
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 6px 0 0 6px;
    border-right: none;
}

.newsletter-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 15px 25px;
    font-weight: 600;
    border-radius: 0 6px 6px 0;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* Footer */
.footer-section {
    background: var(--primary-color) !important;
}

.footer-section h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links a {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-logo-text {
        font-size: 3rem;
    }

    .festival-title,
    .business-title,
    .office-title,
    .denim-title,
    .sportswear-title,
    .accessories-title {
        font-size: 2.2rem;
    }

    .boutique-title {
        font-size: 2.5rem;
    }

    .story-brand {
        font-size: 2.5rem;
    }

    .product-item,
    .casual-item {
        height: 250px;
    }

    .large-item {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-logo-text {
        font-size: 2.5rem;
    }

    .festival-title,
    .business-title,
    .office-title,
    .denim-title,
    .sportswear-title,
    .accessories-title {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .business-subtitle {
        font-size: 14px;
        margin-bottom: 0 !important;
        text-transform: none;
    }

    .boutique-title {
        font-size: 2rem;
    }

    .story-brand {
        font-size: 2rem;
    }

    .hero-image-container {
        height: 50vh;
    }

    .story-image img,
    .boutique-image img,
    .story-content,
    .boutique-content {
        height: 300px;
    }

    .festival-banner,
    .business-banner img,
    .office-banner,
    .denim-banner,
    .sportswear-banner,
    .accessories-banner {
        height: 250px;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-btn {
        border-radius: 6px;
        margin-bottom: 10px;
        border: 2px solid var(--border-color);
    }
}

@media (max-width: 575.98px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-logo-text {
        font-size: 2rem;
    }

    .user-actions {
        gap: 10px;
        margin-top: 10px;
    }

    .product-item,
    .casual-item {
        height: 200px;
    }

    .large-item {
        height: 250px;
    }
}

/* Category Page */

/* Layout Controls */
.layout-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.layout-btn {
    background: var(--light-color);
    border: 2px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.layout-btn:hover,
.layout-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Filter Dropdown */
.filter-dropdown .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 8px 12px;
    font-weight: 500;
}

.filter-dropdown .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Products Grid */
.products-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(5, 1fr);
    transition: var(--transition);
    margin-bottom: 10px;
}

.products-grid.layout-2 {
    grid-template-columns: repeat(2, 1fr);
}

.products-grid.layout-2 img {
    max-height: 550px;
    min-height: 550px;
}



.products-grid.layout-3 {
    grid-template-columns: repeat(3, 1fr);
}

.products-grid.layout-3 img {
    max-height: 450px;
    min-height: 450px;
}

.products-grid.layout-4 {
    grid-template-columns: repeat(4, 1fr);
}

.products-grid.layout-5 {
    grid-template-columns: repeat(5, 1fr);
}

.products-grid.layout-6 {
    grid-template-columns: repeat(6, 1fr);
}

.products-grid.layout-4 img,
.products-grid.layout-5 img,
.products-grid.layout-6 img {
    max-height: auto;
    min-height: auto;
}

@media(max-width: 768px) {
    .products-grid.layout-2 img {
        max-height: 450px;
        min-height: 450px;
    }

    .products-grid.layout-3 img {
        max-height: 400px;
        min-height: 400px;
    }

    .products-grid.layout-4 img,
    .products-grid.layout-5 img,
    .products-grid.layout-6 img {
        max-height: auto;
        min-height: auto;
    }
}

.products-grid.layout-horizontal {
    grid-template-columns: 1fr;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card.horizontal {
    display: flex;
    align-items: center;
    /* justify-content: space-between;   */
}

.product-card.horizontal .product-image {
    width: 250px;
    max-height: 350px;
    min-height: 350px;
    flex-shrink: 0;
}

.product-card.horizontal .product-info {
    padding: 24px;
    flex: 1;
}

.horizontal img {
    margin-right: 30px;
}

.horizontal .horizontal-buttons {
    display: flex;
    margin-left: auto;
    margin-right: 30px;
}

/* Product Image */
/* .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
} */

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Overlay Icons */
.overlay-icons {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product-card:hover .overlay-icons {
    opacity: 1;
    transform: translateX(0);
}

.overlay-icon {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.overlay-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    padding: 16px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.4;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-decoration: line-through;
}

/* Modal Styles */
.modal{
    z-index:  999999999999999 !important;
}
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    background: var(--light-color);
    border-bottom: 1px solid var(--border-color);
}

/* Product Details in Modal */
.product-details {
    height: 100%;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.price {
    margin-bottom: 24px;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.color-option {
    display: none;
}

.color-label {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.color-option:checked+.color-label {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Size Options */
.size-options {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.size-option {
    display: none;
}

.size-label {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.size-option:checked+.size-label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: fit-content;
    margin-top: 8px;
}

.qty-btn {
    background: var(--light-color);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qty-input {
    border: none;
    padding: 8px 12px;
    width: 60px;
    text-align: center;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--text-light);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Swiper Styles */
.quickViewSwiper {
    height: 100%;
}

.quickViewSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quickViewSwiper .swiper-pagination-bullet {
    background: var(--primary-color);
}

.quickViewSwiper .swiper-button-next,
.quickViewSwiper .swiper-button-prev {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .products-grid.layout-6 {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {

    .products-grid.layout-5,
    .products-grid.layout-6 {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {

    .products-grid.layout-4,
    .products-grid.layout-5,
    .products-grid.layout-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .layout-controls {
        justify-content: center;
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {

    .products-grid.layout-3,
    .products-grid.layout-4,
    .products-grid.layout-5,
    .products-grid.layout-6 {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .product-card.horizontal {
        flex-direction: column;
    }

    .product-card.horizontal .product-image {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .layout-controls {
        flex-wrap: wrap;
    }

    .hero-banner {
        height: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }
}


/* Product Detail Page Styles */
.product-detail-section {
    min-height: 80vh;
}

.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
}

.productSwiper {
    /*height: 500px;*/
    border-radius: var(--border-radius);
    overflow: hidden;
}

.thumbnailSwiper {
    height: 100px;
    margin-top: 16px;
}

.thumbnailSwiper .swiper-slide {
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.thumbnailSwiper .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
}

.product-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.price-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.save-badge {
    background: var(--success-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-icon {
    height: 25px;
    border-radius: 4px;
}

/* Cart Page Styles */
.cart-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
}

.cart-summary .card {
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.summary-row.total {
    font-size: 1.2rem;
    margin-top: 8px;
}

/* Wishlist Page Styles */
.wishlist-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.wishlist-item:hover {
    box-shadow: var(--shadow-md);
}

.rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Checkout Page Styles */
.checkout-progress {
    background: var(--light-color);
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    margin: 0 16px;
}

.step-line.completed {
    background: var(--success-color);
}

.checkout-section-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.shipping-option,
.payment-option {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.shipping-option:hover,
.payment-option:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.shipping-option input:checked+label,
.payment-option input:checked+label {
    color: var(--primary-color);
}

.order-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 16px;
}

/* Thank You Page Styles */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.order-confirmation-card,
.order-items-summary {
    margin-bottom: 24px;
}

.step-card {
    text-align: center;
    padding: 24px;
    border-radius: var(--border-radius);
    background: white;
    border: 1px solid var(--border-color);
    height: 100%;
}

.newsletter-section {
    background: var(--primary-color) !important;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    background: var(--light-color);
    border-bottom: 1px solid var(--border-color);
}

/* Product Details in Modal */
.product-details {
    height: 100%;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.price {
    margin-bottom: 24px;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.color-option {
    display: none;
}

.color-label {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.color-option:checked+.color-label {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Size Options */
.size-options {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.size-option {
    display: none;
}

.size-label {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.size-option:checked+.size-label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: fit-content;
    margin-top: 8px;
}

.qty-btn {
    background: var(--light-color);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qty-input {
    border: none;
    padding: 8px 12px;
    width: 60px;
    text-align: center;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--light-color);
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Swiper Styles */
.quickViewSwiper {
    height: 100%;
}

.quickViewSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quickViewSwiper .swiper-pagination-bullet {
    background: var(--primary-color);
}

.quickViewSwiper .swiper-button-next,
.quickViewSwiper .swiper-button-prev {
    color: var(--primary-color);
}

.filter-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1050;
}

.filter-drawer.open {
    left: 0;
}

.filter-drawer .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

.filter-section {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.color-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.filter-section h6 {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.filter-section label {
    display: block;
    margin-bottom: 0.5rem;
}

.price-range {
    margin-top: 0.5rem;
    font-size: 14px;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1049;
}

.overlay.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .products-grid.layout-6 {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {

    .products-grid.layout-5,
    .products-grid.layout-6 {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {

    .products-grid.layout-4,
    .products-grid.layout-5,
    .products-grid.layout-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .layout-controls {
        justify-content: center;
        margin-bottom: 16px;
    }

    .product-images {
        position: static;
    }
}

@media (max-width: 768px) {

    .products-grid.layout-3,
    .products-grid.layout-4,
    .products-grid.layout-5,
    .products-grid.layout-6 {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .product-card.horizontal {
        flex-direction: column;
    }

    .product-card.horizontal .product-image {
        width: 100%;
    }

    .progress-steps {
        flex-wrap: wrap;
        gap: 8px;
    }

    .step-line {
        display: none;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .layout-controls {
        flex-wrap: wrap;
    }

    .hero-banner {
        height: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .cart-item,
    .wishlist-item {
        padding: 16px;
    }

    .checkout-section-card {
        padding: 16px;
    }
}

/* Button Styles */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}