/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.logo-img {
    height: 56px;
    width: auto;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .search-bar {
        display: block;
    }
    .logo-img {
        height: 72px;
    }
}

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

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #ffc72c;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.2s;
}

.icon-btn:hover {
    color: #ffc72c;
}

.icon-btn svg {
    width: 24px;
    height: 24px;
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: #ffc72c;
    color: #000;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn {
    display: flex;
}

@media (min-width: 1024px) {
    .menu-btn {
        display: none;
    }
}

/* Mobile Search */
.mobile-search {
    display: block;
    padding: 0 16px 12px;
    position: relative;
}

@media (min-width: 1024px) {
    .mobile-search {
        display: none;
    }
}

.mobile-search .search-input {
    padding: 10px 16px 10px 40px;
    font-size: 14px;
}

.mobile-search .search-icon {
    width: 18px;
    height: 18px;
    left: 28px;
}

/* Categories Nav */
.categories-nav {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    height: 48px;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #eee;
    position: relative;
}

@media (min-width: 1024px) {
    .categories-nav {
        display: flex;
    }
}

.category-item {
    position: relative;
    padding: 12px 8px;
}

.category-link {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    transition: color 0.2s;
}

.category-link:hover {
    color: #ffc72c;
}

.category-dot {
    color: #ddd;
    font-size: 8px;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 150;
    display: none;
    border-top: 3px solid #ffc72c;
}

.mega-menu.active {
    display: block;
}

.mega-menu-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    min-height: 400px;
}

.mega-menu-left {
    width: 280px;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    padding: 16px 0;
}

.mega-menu-right {
    flex: 1;
    padding: 24px 32px;
    background: #fff;
}

.mega-menu-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.mega-menu-category:hover,
.mega-menu-category.active {
    background: #fff;
    color: #ffc72c;
    border-left-color: #ffc72c;
}

.mega-menu-category svg {
    width: 16px;
    height: 16px;
    color: #999;
}

.mega-menu-category:hover svg,
.mega-menu-category.active svg {
    color: #ffc72c;
}

.mega-menu-subcategories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mega-menu-subcategory h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffc72c;
}

.mega-menu-subcategory a {
    display: block;
    font-size: 13px;
    color: #666;
    padding: 6px 0;
    transition: color 0.2s;
}

.mega-menu-subcategory a:hover {
    color: #ffc72c;
}

.mega-menu-view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #ffc72c;
}

.mega-menu-view-all:hover {
    text-decoration: underline;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 200;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

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

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    font-size: 18px;
}

.mobile-menu-header button {
    font-size: 24px;
    color: #666;
}

.mobile-menu-content {
    padding: 16px;
}

.mobile-menu-content h3 {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 12px;
    margin-top: 24px;
}

.mobile-menu-content h3:first-child {
    margin-top: 0;
}

.mobile-menu-content a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    font-size: 15px;
}

/* Hero Section */
.hero-section {
    background: #f5f5f5;
    padding: 0;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 16px;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-slider {
        border-radius: 16px;
    }
}

.hero-slide {
    min-width: 100%;
    flex-shrink: 0;
    transition: transform 0.7s ease;
}

/* Image-Based Hero Slide */
.hero-image-slide {
    width: 100%;
    line-height: 0;
    font-size: 0;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Slider Dots */
.hero-slide-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-slide-dot.active {
    background: #ffc72c;
    width: 24px;
    border-radius: 5px;
}

/* Slider Buttons - Hide on mobile */
@media (max-width: 767px) {
    .slider-btn {
        display: none !important;
    }
}

.hero-slide-logo {
    position: absolute;
    top: 20px;
    left: 24px;
    height: 48px;
    width: auto;
}

@media (min-width: 768px) {
    .hero-slide-logo {
        top: 24px;
        left: 40px;
        height: 64px;
    }
}

.hero-slide-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .hero-slide-title {
        font-size: 28px;
    }
}

.hero-slide-discount {
    color: #ffc72c;
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero-slide-discount {
        font-size: 48px;
        margin-bottom: 32px;
    }
}

.hero-slide-content {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-slide-image {
    height: 160px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(255,199,44,0.4));
}

@media (min-width: 768px) {
    .hero-slide-image {
        height: 220px;
    }
}

.hero-slide-price-circle {
    width: 110px;
    height: 110px;
    background: #ffc72c;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(255,199,44,0.4);
}

@media (min-width: 768px) {
    .hero-slide-price-circle {
        width: 130px;
        height: 130px;
    }
}

.hero-slide-product-name {
    font-size: 8px;
    font-weight: 700;
    color: #0a1a3a;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .hero-slide-product-name {
        font-size: 9px;
    }
}

.hero-slide-old-price {
    font-size: 10px;
    color: rgba(10,26,58,0.5);
    text-decoration: line-through;
}

.hero-slide-current-price {
    font-size: 20px;
    font-weight: 900;
    color: #0a1a3a;
    line-height: 1;
}

@media (min-width: 768px) {
    .hero-slide-current-price {
        font-size: 24px;
    }
}

.hero-slide-currency {
    font-size: 12px;
    font-weight: 700;
    color: #0a1a3a;
}

.hero-slide-btn {
    background: #ffc72c;
    color: #0a1a3a;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s;
}

.hero-slide-btn:hover {
    background: #ffdc00;
    transform: scale(1.05);
}

.hero-slide-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.hero-slide-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #ffc72c;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    transition: all 0.2s;
}

.slider-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

@media (min-width: 768px) {
    .slider-btn {
        display: flex;
    }
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    color: #333;
}

.slider-prev {
    left: 16px;
}

.slider-next {
    right: 16px;
}

/* Story Section */
.story-section {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
}

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

.story-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.story-image-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc72c 0%, #ff9500 50%, #ffc72c 100%);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    background: #f5f5f5;
}

@media (min-width: 768px) {
    .story-image-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .story-container {
        gap: 28px;
    }
}

.story-name {
    font-size: 11px;
    color: #333;
    text-align: center;
    max-width: 80px;
    font-weight: 500;
    line-height: 1.3;
}

/* Products Section */
.products-section {
    padding: 24px 0;
}

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

.category-carousel {
    margin-bottom: 32px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 16px;
}

.category-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

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

.category-see-all {
    font-size: 14px;
    color: #1a3a5c;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-see-all:hover {
    color: #ffc72c;
}

.products-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 16px 8px;
    scrollbar-width: none;
}

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

/* Product Card */
.product-card {
    flex-shrink: 0;
    width: 160px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s;
    cursor: pointer;
}

@media (min-width: 768px) {
    .product-card {
        width: 200px;
    }
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.product-image-container {
    position: relative;
    padding: 16px;
    background: #f9f9f9;
}

.product-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .product-image {
        height: 150px;
    }
}

.product-discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #dc2626;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.product-info {
    padding: 12px;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.product-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e3f2fd;
    color: #1a3a5c;
}

.product-badge.discount {
    background: #dc2626;
    color: #fff;
}

.product-name {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.product-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.product-current-price {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a5c;
}

@media (min-width: 768px) {
    .product-current-price {
        font-size: 18px;
    }
}

/* Product Detail Page */
.product-detail-page {
    min-height: 60vh;
    padding: 24px 16px;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
}

@media (min-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr 1fr;
        padding: 48px;
    }
}

.product-detail-image-container {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail-category {
    font-size: 14px;
    color: #ffc72c;
    font-weight: 600;
}

.product-detail-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .product-detail-name {
        font-size: 28px;
    }
}

.product-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-detail-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.product-detail-badge.discount {
    background: #dc2626;
    color: #fff;
}

.product-detail-badge.credit {
    background: #e3f2fd;
    color: #1a3a5c;
}

.product-detail-prices {
    margin: 16px 0;
}

.product-detail-old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.product-detail-current-price {
    font-size: 36px;
    font-weight: 800;
    color: #1a3a5c;
}

@media (min-width: 768px) {
    .product-detail-current-price {
        font-size: 42px;
    }
}

.product-detail-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.product-detail-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.product-detail-btn.add-to-cart {
    background: #fff;
    color: #0a1a3a;
    border: 2px solid #0a1a3a;
}

.product-detail-btn.add-to-cart:hover {
    background: #f0f0f0;
}

.product-detail-btn.buy-now {
    background: #ffc72c;
    color: #0a1a3a;
}

.product-detail-btn.buy-now:hover {
    background: #ffdc00;
    transform: scale(1.02);
}

.loading {
    padding: 48px;
    text-align: center;
    color: #999;
    font-size: 16px;
}

/* Footer */
.footer {
    background: #1a3a5c;
    color: #fff;
    padding: 48px 0 24px;
    margin-top: 48px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo-img {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffc72c;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffc72c;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Utility */
.text-center {
    text-align: center;
}

/* Discount Section Styles */
.discount-section {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    padding: 24px 0;
}

.discount-carousel {
    margin-bottom: 32px;
}

.discount-highlight {
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: white;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 800;
    margin-right: 12px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
}

.product-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-right: 8px;
}

.product-current-price {
    color: #ff4444;
    font-weight: 700;
    font-size: 16px;
}

.product-prices {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

/* New Year Badge Style */
.product-badge.new-year {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
}

/* End of file */


 
