:root {
    --primary-color: #ff6800;
    --secondary-color: #1a1a1a;
    --accent-color: #00a859;
    --light-bg: #f8f9fa;
    --border-color: #e5e5e5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #fff;
}

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

.navbar-brand .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
}

.search-form {
    max-width: 400px;
    margin: 0 20px;
}

.cart-count {
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    position: relative;
    top: -8px;
    margin-left: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 500px;
}

.hero-slide {
    height: 500px;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Categories */
.categories-section .section-title,
.products-section .section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
}

.categories-section .section-title::after,
.products-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 10px;
}

.category-card {
    display: block;
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

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

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.category-card h5 {
    font-size: 14px;
    margin: 0;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
}

.out-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-info {
    padding: 15px;
}

.product-category {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-title {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* Banner */
.banner-card {
    height: 250px;
    border-radius: 10px;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    color: #fff;
}

.banner-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Footer */
.footer-section {
    background: var(--secondary-color);
    color: #fff;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-section h5 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

/* Auth Card */
.auth-card {
    border: none;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

/* Filters */
.filters-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h6 {
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 13px;
    color: #888;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.filter-list li a:hover,
.filter-list li a.active {
    color: var(--primary-color);
}

/* Product Details */
.product-main-image {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: auto;
}

/* Cart */
.cart-items .table th {
    border-top: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .search-form {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-slider,
    .hero-slide {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
}

/* Flash Sale Section */
.flash-sale-section {
    background: linear-gradient(135deg, #ff6800 0%, #ff3d00 100%);
}

.flash-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-products-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.flash-product-card {
    min-width: 140px;
    flex-shrink: 0;
}

.flash-product-card a {
    display: block;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.flash-product-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.flash-product-card .flash-price {
    font-size: 16px;
    font-weight: 700;
}

.flash-product-card .original-price {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    text-decoration: line-through;
}

#flash-countdown {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: #28a745;
}

.toast-error {
    background: #dc3545;
}

/* FAQ Accordion */
.accordion-button {
    background: #fff;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--light-bg);
    color: var(--primary-color);
}

.accordion-panel {
    transition: max-height 0.3s ease;
}

/* Newsletter */
.newsletter-box {
    margin-top: 20px;
}

.newsletter-box h6 {
    margin-bottom: 10px;
}