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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f4f8;
    color: #333;
    height: 100vh;
    padding-top: 70px;
}

.container {
    width: 100%;
    max-width: 1000px;
    background-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-self: center;
}


/* Header Styles */
.header {
    background-color: #331a5c;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.logo_con{
    width: 120px;
    height: 40px;
    background-color: #331a5c;
    display: flex;
    justify-content: center;
    border-radius: 10px;
}
.logo{
    width: 120px;
    height: 40px;
    object-fit: cover;
}

.location-text {
    font-size: 14px;
    color: #6b7280;
}

.location-value {
    font-weight: 600;
    color: #1f2937;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 26px;
}






.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: #331a5c;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color:white;
    min-width: 160px;
    box-shadow: var(--shadow);
    border-radius: 5px;
    z-index: 1;
    margin-top: 5px;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}




.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #10b981;
    cursor: pointer;
    object-fit: cover;
}

/* Search Bar */
.search-container {
    position: relative;
    margin: 16px 0;
    padding: 0 8px;
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9ca3af;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border-radius: 9999px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #10b981;
}

/* Banner Carousel */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    margin: 16px 0;
    max-height: 35vh; /* Maximum height for all screens */
}

.banner-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.banner {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    padding: 16px;
    display: flex;
    flex-direction: row; /* Always row layout */
    align-items: center;
    justify-content: space-between;
    color: white;
}

.banner-1 {
    background: linear-gradient(to right, #7940d6, #331a5c);
}

.banner-2 {
    background: linear-gradient(to right, #331a5c, #7940d6);
}

.banner-3 {
    background: linear-gradient(to right, #d65555, #d10e0e);
}

.banner-content {
    flex: 1;
    padding-right: 16px;
}

.banner-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 8px;
}

@media (min-width: 480px) {
    .banner-title {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .banner-title {
        font-size: 20px;
    }
}

.banner-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

@media (min-width: 480px) {
    .banner-description {
        font-size: 14px;
    }
}

.banner-button {
    padding: 6px 16px;
    background-color: #f97316;
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
}

@media (min-width: 480px) {
    .banner-button {
        padding: 8px 20px;
        font-size: 14px;
    }
}

.banner-button:hover {
    transform: scale(1.05);
}

.banner-image {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

@media (min-width: 480px) {
    .banner-image img {
        width: 100px;
        height: 100px;
    }
}

@media (min-width: 768px) {
    .banner-image img {
        width: 120px;
        height: 120px;
    }
}

/* Shop by brands */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    padding: 0 8px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 8px;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

/* The container for the scroll animation */
.categories-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 8px 0;
}

/* The scrolling container with all the category cards */
.categories-container {
    display: flex;
    gap: 20px;
    padding: 16px 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

.categories-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

/* The individual category cards */
.category-card {
    flex: 0 0 auto;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

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

.category-card-inner {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    padding: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card-inner:hover {
    border-color: #6366f1;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.category-card-inner img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-inner img {
    transform: scale(1.1);
}

.category-name {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    word-wrap: break-word;
    width: 100%;
    line-height: 1.4;
    padding: 0 8px;
}

/* Navigation arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: none;
    font-size: 20px;
    color: #4b5563;
}

.nav-arrow:hover {
    background-color: #6366f1;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.arrow-left {
    left: -0px;
}

.arrow-right {
    right: -0px;
}

/* Scroll indicators */
.scroll-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #6366f1;
    transform: scale(1.2);
}

/* Responsive design */
@media (max-width: 900px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .arrow-left {
        left: -0px;
    }
    
    .arrow-right {
        right: -0px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .category-card {
        width: 140px;
    }
    
    .category-card-inner {
        width: 120px;
        height: 120px;
    }
    
    .category-card-inner img {
        width: 70px;
        height: 70px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .arrow-left {
        left: -0px;
    }
    
    .arrow-right {
        right: -0px;
    }
}

@media (max-width: 640px) {

    .category-card {
        width: 120px;
    }
    
    .category-card-inner {
        width: 100px;
        height: 100px;
    }
    
    .category-card-inner img {
        width: 60px;
        height: 60px;
    }
    
    .category-name {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    
    .nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .arrow-left {
        left: -0px;
    }
    
    .arrow-right {
        right: -0px;
    }
    
    .scroll-indicators {
        margin-top: 16px;
    }
}














/* Limited products */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    margin: 24px 0 16px;
}

.view-all {
    font-size: 20px;
    font-weight: 800;
    color: #6b7280;
    text-decoration: none;
}

.view-all:hover {
    color: #10b981;
}

.products-container {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.products-container::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex-shrink: 0;
    width: 150px;
    height: 250px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-decoration: none;
}
@media screen and (max-width: 700px) {
    .products-container {
        grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    }
}
.product-image {
    position: relative;
    width: 100%;
    height: 150px;
}

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

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #f97316;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 9999px;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.product-details {
    font-size: 12px;
    color: #6b7280;
}

/* Carousel indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #10b981;
    width: 20px;
    border-radius: 4px;
}
































