@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,500;0,800;1,500;1,600;1,800&display=swap');

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    list-style: none;
    text-decoration: none;
}

body {
    background-color: #fafafa;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    font-size: 20px;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.back-btn {
    color: #333;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.search-form {
    flex: 1;
    max-width: 600px;
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

.search-form button {
    background: #f85606;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #333;
    font-size: 24px;
    position: relative;
}

.cart-icon #cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f85606;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header {
        padding: 10px;
    }

    .search-form {
        max-width: none;
    }

    .search-form input {
        font-size: 13px;
    }

    .nav-link {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .left-section {
        gap: 10px;
    }

    .search-form input {
        padding: 6px 10px;
    }

    .search-form button {
        padding: 6px 10px;
    }

    .right-section {
        gap: 15px;
    }
}

.container {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
  gap: 2px;
}

/* Hero Banner Section */
.hero-banner-section {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.hero-banner-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-stats i {
    font-size: 20px;
    color: #4CAF50;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Banner Responsive */
@media (max-width: 768px) {
    .hero-banner-slider {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .hero-stats span {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .hero-overlay {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-banner-slider {
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-stats span {
        width: 100%;
        justify-content: center;
    }
}
.official-badge {
    background: #007bff;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.9em;
    margin: 5px auto;
    text-align: center;
}

.store-info {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.official-store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.store-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.store-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.store-details h1 {
    margin: 0 0 12px 0;
    font-size: 26px;
    color: #333;
    font-weight: 600;
}

.store-stats {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 15px;
}

.store-stats i {
    color: #4CAF50;
    margin-right: 5px;
}

.store-description {
    flex: 1;
    max-width: 320px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #4CAF50;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .store-description {
        max-width: 100%;
        border-left: none;
        border-top: 3px solid #4CAF50;
        text-align: center;
    }
}

/* Category Tabs */
.category-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-tabs::-webkit-scrollbar {
    height: 4px;
}

.category-tabs::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.category-tab {
    padding: 10px 18px;
    background: #f0f0f0;
    border-radius: 25px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
}

.category-tab.active {
    background: #4CAF50;
    color: white;
    box-shadow: 0 2px 8px rgba(76,175,80,0.3);
}

.category-tab:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.category-tab.active:hover {
    background: #3e8e41;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding: 15px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

.product-info h3 {
    margin: 0 0 10px 0;
    font-size: 15px;
    height: 40px;
    overflow: hidden;
    color: #333;
    line-height: 1.4;
}

.product-price {
    font-weight: 600;
    color: #4CAF50;
    font-size: 16px;
}

/* Category Sections */
.category-section {
    margin-bottom: 35px;
}

.category-section h2 {
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.view-all {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;
    background: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: all 0.3s;
}

.view-all:hover {
    background: #e0e0e0;
    transform: translateX(5px);
}

.view-all i {
    vertical-align: middle;
    transition: transform 0.3s;
}

.view-all:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .official-store-header {
        flex-direction: column;
        text-align: center;
    }
    
    .store-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .store-stats {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-info h3 {
        font-size: 14px;
    }
}