/* The following is the style for hero section */

.hero-section {
    position: relative;
    height: 75vh;
    min-height: 550px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('../images/three_girls_with_abbaya.svg');
}

.slide-2 {
    background-image: url('../images/two_girls_with_abbaya.svg');
}

.slide-3 {
    background-image: url('../images/image.svg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.brand-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    color: #FFFFFF;
    /* font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); */
}


.hero-description {
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    color: #FFFFFF;
    margin-bottom: 0px;
}

.hero-subdescription {
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    color: #FFFFFF;
    margin-bottom: 0px;
    padding-bottom: 24px;

}

.cta-button {
    width: 160px;
    height: 40px;
    border-radius: 6px;
    padding: 13px 40px;
    background-color: #000000;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 27px;

}

.cta-button:hover {
    background-color: transparent;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    /* left: 50%;
    transform: translateX(-50%); */
    display: flex;
    gap: 15px;
    z-index: 4;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 4;
    backdrop-filter: blur(10px);
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .hero-subdescription {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prev {
        left: 15px;
    }

    .next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 2rem;
    }

    .hero-description,
    .hero-subdescription {
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 0 15px;
    }
}

/* End of style for hero section */



.brand-carousel-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 80%;
    color: #3E3E3E;
    margin-bottom: 0px;
    padding-bottom: 24px;
}

.parent-container-for-swiper {
    padding-left: 64px;
    padding-right: 64px;
}

.mySwiper {
    display: flex !important;

}

.custom-swiper-wraper {
    gap: 13px;
    /* justify-content: center; */
}

.custom-swiper-slide {
    width: 171px !important;
    height: 171px !important;
}


.brand-carousel-container {
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 0px;
    padding-right: 0px;
    /* position: relative; */
    /* padding: 2rem 0; */
}

.brand-heart-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.parent-container-for-prev-carousel-button {
    display: flex;
    align-items: center;
    /* position: absolute;
    left: 0px; */
    /* height: 100%; */
    z-index: 10;
}

.parent-container-for-next-carousel-button {
    display: flex;
    align-items: center;
    /* position: absolute; */
    right: 0px;
    /* height: 100%; */
    z-index: 10;
}



.swiper-nav-button {
    width: 40px;
    height: 40px;
    /* border: 1px solid #11120D; */
    border-radius: 6px;
    background-color: white;

}

.swiper-button-prev-custom {
    background-color: #FFFFFF;
}

.swiper-button-next-custom {
    border: 1px solid black;
}

#prevBtn {
    border: none;
}

.parent-container-for-swiper:not(:has(.swiper-slide-prev)) .swiper-button-prev-custom svg rect {
    fill: white !important;
}

.parent-container-for-swiper:not(:has(.swiper-slide-prev)) .swiper-button-prev-custom svg path {
    stroke: gray !important;
}

.parent-container-for-swiper:has(.swiper-slide-next) .swiper-button-next-custom svg path {
    stroke: black;
}

.parent-container-for-swiper .swiper-button-next-custom.disabled svg rect {
    fill: white !important;
}

.parent-container-for-swiper .swiper-button-next-custom.disabled svg path {
    stroke: gray !important;
}

#prevBtn:hover svg rect {
    fill: black;
}

#prevBtn:hover svg path {
    stroke: white;
}

#nextBtn {
    border: none;
}

#nextBtn:hover svg rect {
    fill: black;
}

#nextBtn:hover svg path {
    stroke: white;
}




.swiper {
    padding: 10px 0;
}

.brand-card {
    width: 171px;
    height: 171px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fff;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 45px rgba(20, 10, 10, 0.1);
    border-color: #e0e0e0;
}

.brand-img {
    height: 120px;
    width: 120px;
    /* object-fit: contain; */
    object-fit: cover;
}


.swiper-nav-button:disabled {
    opacity: 0.4;
    cursor: default;
}


/* The following is the style for  shop by best selling carosuel */

.selling-carousel-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 104%;
    color: #282828;
    margin-bottom: 0px;
    padding-top: 29px;
    padding-bottom: 24px;
}

.parent-container-for-selling-swiper {
    padding-left: 64px;
    padding-right: 64px;
}

.parent-container-for-selling-swiper .swiper-button-prev-custom {
    background-color: white;
    border: 1px solid gray;
}

.parent-container-for-selling-swiper .swiper-button-prev-custom svg path {
    fill: gray;
}

.parent-container-for-selling-swiper:has(.swiper-slide-prev) .swiper-button-prev-custom {
    border: 1px solid black;
}

.parent-container-for-selling-swiper:has(.swiper-slide-prev) .swiper-button-prev-custom svg path {
    fill: black;
}

.parent-container-for-selling-swiper .swiper-button-next-custom.disabled {
    /* dull styling */
    background-color: white;
    border: 1px solid gray;
}

.parent-container-for-selling-swiper .swiper-button-next-custom.disabled svg path {
    fill: gray;
}

.card {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 336px;
    height: 520px;
    background: #fff;
    border-radius: 15px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    /* padding: 10px; */
    /* background-color: #FFFAF4; */
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

    position: absolute;
    top: 0;
    left: 0;

}

.card .image-overlay {
    position: relative;
    height: 441px;
    max-width: 391px;
    overflow: hidden;
}

.card .icon-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.card .icon-buttons button {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #000000;
    border: none;
    cursor: pointer;
}

.card .icon-buttons button:hover svg path {
    fill: white;
}

.card .icon-buttons button svg {
    width: 19px;
    height: 19px;
}

.card .details {
    padding: 10px;
}

.selling-carousel-card-title {
    font-weight: 700;
    font-size: 19px;
    /* line-height: 80%; */
    color: #282828;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    padding-bottom: 2px;
}

.selling-carousel-card-subtitle {
    font-weight: 600;
    font-size: 16px;
    font-size: 13px;
    color: #4C4C4C;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}



.card .colors {
    display: flex;
    gap: 6px;
    /* margin: 8px 0; */
    justify-content: space-between;
    align-items: center;
}

.parent-container-for-color-dot {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 3px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;

}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.parent-container-for-color-dot.selected {
    border: 3px solid black;
}

.rating-price {
    font-weight: 700;
    font-size: 19px;
    line-height: 80%;
    color: #000000;

}

.price {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    display: inline-block;
    padding: 5px
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rating span {
    font-weight: 700;
    font-size: 16px;
    line-height: 80%;
    color: #000000;

}

.color-box {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    width: 50%;

}



/* .custom-selling-swiper-slide {
    width: 355px;
} */

.custom-selling-swiper-wraper {
    gap: 10px;
}

/* End of the style for  shop by best selling carosuel */


/* start of the style for  shop by category */
.parent-container-for-shope-by-category {
    padding-left: 64px;
    padding-right: 64px;
    padding-top: 24px;
    padding-bottom: 24px;
    background-color: #FFFBF4;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #282828;
    line-height: 104%;
    padding-bottom: 24px;
    margin-bottom: 0px;

}

/* .categories-grid {
    display: grid;
    grid-template-columns: 0.3346fr 0.6557fr;
    grid-template-rows: 292px 292px;
    gap: 13px;
    height: 597px;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    transition: background 0.3s ease;
}

.category-card:hover::before {
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
}

.professional-abaya {
    background-image: url('../images/professional_abbaya.svg');
    grid-row: 1 / 3;
}

.seasonal-abaya {
    background-image: url('../images/seasonal_abbaya.svg');
}

.casual-abaya {
    background-image: url('../images/casual.svg');
}

.category-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 471px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 56px;
    color: #FFFFFF;
    margin-bottom: 8px;
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.3); 
}

/* .category-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
}  */

.shop-now-btn {
    position: relative;
    overflow: hidden;
    width: 160px;
    height: 40px;
    border-radius: 6px;
    padding: 13px 40px;
    border: 1px solid black;
    font-weight: 700;
    font-size: 16px;
    line-height: 27px;
    color: #ffffff;
    background-color: #000000;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.8s ease;
    z-index: 1;
    cursor: pointer;
}


.shop-now-btn:hover {
    background-color: white;
    color: #000000;
    border: 1px solid black;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}



/* Alternative layout for smaller screens */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;

        height: auto;
    }

    .category-card {
        height: 250px;
    }

    .professional-abaya {
        grid-row: auto;
    }

    .category-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .category-title {
        font-size: 20px;
    }

    .section-title,
    .selling-carousel-title,
    .brand-carousel-title {
        font-size: 24px;
        text-align: center;
    }

    .hero-content .shop-now-btn {
        display: none;
    }

    .hero-section {
        height: 50vh;
        min-height: 300px;
    }

    .parent-container-for-selling-swiper .swiper-button-prev-custom .swiper-button-next-custom {
        width: 30px;
        height: 30px;
    }

    .parent-container-for-selling-swiper {
        padding-left: 40px;
        padding-right: 40px;
    }

    .nav-item svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav-item svg {
        width: 30px;
        height: 30px;
    }

    .hero-section {
        height: 65vh;
        min-height: 300px;
    }

    .hero-content .shop-now-btn {
        display: none;
    }

    .category-content {
        bottom: 15px;
        left: 145px;
        right: 15px;
    }

    .category-title {
        font-size: 18px;
    }

    .shop-now-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Additional styling for better visual hierarchy */
.professional-abaya .category-title {
    font-size: 36px;
}

.navbar-brand {
    border: none !important;
}

.professional-abaya .category-subtitle {
    font-size: 16px;
}

.professional-abaya .shop-now-btn {
    padding: 12px 24px;
    font-size: 15px;
}


/* start of the style for  shop by category */

.custom-bottom-and-top-padding {
    padding-top: 31px;
    padding-bottom: 26px;
}

.gap15 {
    gap: 15px;
}

/* .hero-shop-now-button:hover {
    background-color: black !important;
}

.shop-by-category-button:hover {
    background-color: transparent !important;
} */


/* The following is the style for banner */
.banner {
    background-color: #565448;
    color: white;
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* max-width: 1200px;
    margin: 0 auto; */
    /* border-radius: 8px; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.left_circle_banner {
    position: absolute;
    left: 0px;
    bottom: 0px;
}

.right_circle_banner {
    position: absolute;
    top: 0px;
    right: 0px;
}

.left-content {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .logo-circle {
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
        
.logo-circle::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
} */

.brand-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    /* font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px; */
}

.banner-btn {
    align-self: end;
    margin-bottom: 7px;
}

.promo-text {
    font-weight: 800;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0.15em;
}

.right-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.discount-section {
    text-align: center;
    font-weight: bold;
}

.discount-section img {
    width: 100px;
    height: 85px;
}

.up-to {
    font-size: 12px;
    opacity: 0.9;
}

.discount-amount {
    font-size: 32px;
    line-height: 1;
}

.off-text {
    font-size: 14px;
    opacity: 0.9;
}

.shop-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}


/* .shop-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} */

/* @media (max-width: 768px) {
    .banner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
    
    .left-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .promo-text {
        max-width: none;
    }
} */
/* end of the style for banner */

@media(max-width : 768px) {
    .banner {
        display: none;
    }

    .category-title {
        font-size: 20px;
    }

    .professional-abaya .category-title {
        font-size: 20px;
    }

    .category-content {
        left: 50%;
    }

    .next-back-button-container {
        display: flex;
        gap: 3px;
    }


}


[lang="ar"] {
    .swiper-nav-button {
        transform: rotate(180deg);
    }
}

/* updated category styling */
.categories-grid {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    overflow-x: auto;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 372px;
    height: 372px;
    border-radius: 21px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;

    display: flex;
    justify-content: center;
    align-items: center;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: linear-gradient(156.63deg, rgba(0, 0, 0, 0.2) 32.28%, rgba(49, 49, 49, 0.9) 77.55%);

}

.category-bg {
    width: 100%;
    height: 100%;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

/* Example: set background for three different child categories */
.category-card:nth-child(1) .category-bg {
    background-image: url(../images/mobile-professional.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-card:nth-child(2) .category-bg {
    background-image: url(../images/mobile-seasonal.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-card:nth-child(3) .category-bg {
    background-image: url(../images/mobile-casual.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-card:nth-child(4) .category-bg {
    background-image: url(../images/mobile-professional.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-card:nth-child(5) .category-bg {
    background-image: url(../images/mobile-seasonal.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-card:nth-child(6) .category-bg {
    background-image: url(../images/mobile-casual.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-card:nth-child(7) .category-bg {
    background-image: url(../images/mobile-professional.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-card:nth-child(8) .category-bg {
    background-image: url(../images/mobile-seasonal.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-card:nth-child(9) .category-bg {
    background-image: url(../images/mobile-casual.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-card:nth-child(10) .category-bg {
    background-image: url(../images/mobile-professional.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.category-label {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); */
}


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 15px;
    /* margin-top: 25px; */
}

.view-all {
    font-weight: 700;
    font-style: Bold;
    font-size: 28px;
    cursor: pointer;
    line-height: 30px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
}