* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    border-bottom: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 20px;
    min-height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 373px;
    height: 92px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #FFC107;
    display: none; /* Hidden by default, only shows if logo image fails */
}

.search-bar {
    flex: 1;
    max-width: 600px;
    display: flex;
    gap: 10px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: white;
    color: #333;
}

.search-bar input:focus {
    outline: none;
    border-color: #FFC107;
}

.search-bar input::placeholder {
    color: #666;
}

.search-bar button {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #1a1a1a;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.search-bar button:hover {
    background: linear-gradient(135deg, #FFD54F, #FFC107);
    transform: scale(1.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    font-size: 24px;
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.cart-icon:hover {
    color: #FFC107;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
}

.login-btn {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #1a1a1a;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.login-btn:hover {
    background: linear-gradient(135deg, #FFD54F, #FFC107);
    transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Navbar */
.navbar {
    background: #FFC107 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 13px;
    gap: 5px;
}

.nav-link span {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(0,0,0,0.15);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 600px;
    margin: 0 auto;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white !important;
    max-width: 800px;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: white !important;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    color: white !important;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.btn-secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.slider-dots {
    display: none !important;
}

.dot {
    display: none !important;
}

.dot.active {
    display: none !important;
}

/* Filters */
.filters-section {
    background: white;
    padding: 20px 0;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filters {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 300px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s;
    background: white;
}

.filter-group select:focus {
    outline: none;
    border-color: #FFC107;
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .filter-group {
        max-width: 100%;
    }
}

/* Products Section */
.products-section {
    padding: 50px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    position: relative;
    max-width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3);
}

.discount-badge-small {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #4CAF50;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    text-transform: lowercase;
}

.product-image-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f5f5f5;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.product-image:hover {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.product-info {
    padding: 20px;
}

.product-category {
    color: #FFC107;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.original-price-small {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.product-price.discounted {
    color: #4CAF50;
    font-size: 24px;
}

.product-currency {
    font-size: 16px;
    color: #999;
    margin-left: 5px;
}

.btn-view {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view:hover {
    background: linear-gradient(135deg, #FFD54F, #FFC107);
    transform: scale(1.05);
}

.loading {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #666;
    grid-column: 1 / -1;
}

.no-products {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #666;
    grid-column: 1 / -1;
}

.loading {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #666;
    grid-column: 1 / -1;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FFC107;
}

.contact-link {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: white !important;
    font-weight: 500;
    transition: all 0.3s;
    margin: 5px 0;
}

.phone-link {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #1a1a1a !important;
}

.phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #FFD54F, #FFC107);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .header-content {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        align-items: center;
    }
    
    .logo {
        grid-column: 1;
        min-width: 140px;
    }
    
    .logo img {
        width: 140px;
        height: 45px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .search-bar {
        grid-column: 2;
        max-width: 100%;
    }
    
    .search-bar input {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .search-bar button {
        padding: 10px 18px;
        font-size: 16px;
    }
    
    .hamburger {
        grid-column: 3;
        z-index: 1002;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #FFC107;
        transition: left 0.3s;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .navbar.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 80px 0 20px;
        gap: 0;
    }
    
    .nav-link {
        color: #1a1a1a;
        padding: 15px 30px;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        font-weight: 600;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(0,0,0,0.1);
        color: #1a1a1a;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        display: none;
        z-index: 998;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .slide {
        align-items: center;
        padding: 20px 15px;
    }
    
    .slide-content {
        padding: 20px;
        max-width: 100%;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .hero-slider {
        height: 585px;
    }
    
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        padding: 0 10px;
    }
    
    .product-card {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 12px;
    }
    
    .product-image {
        height: 200px;
        border-radius: 12px 12px 0 0;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-category {
        font-size: 10px;
        margin-bottom: 4px;
    }
    
    .product-title {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-description {
        display: none;
    }
    
    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .product-price-wrapper {
        width: 100%;
    }
    
    .original-price-small {
        font-size: 12px;
    }
    
    .product-price {
        font-size: 18px;
    }
    
    .product-currency {
        font-size: 14px;
    }
    
    .btn-view {
        width: 100%;
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .filters {
        flex-direction: column !important;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .filter-group select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-content {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }
    
    .logo {
        grid-column: 1;
        min-width: 120px;
    }
    
    .logo img {
        width: 120px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .search-bar {
        grid-column: 2;
    }
    
    .search-bar input {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .search-bar button {
        padding: 8px 15px;
    }
    
    .hamburger {
        grid-column: 3;
    }
    
    .slide-content h1 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
}
