
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        .container {
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            padding: 0 10px;
        }
        
        header {
            background-color: #1a1a1a;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .top-bar {
            display: flex;
            flex-direction: column;
            padding: 10px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .logo img {
            height: 50px;
            margin-right: 10px;
        }
        
        .logo h4 {
            color: #fff;
            font-size: 24px;
            font-weight: bold;
        }
        
        .search-bar {
            width: 100%;
            margin: 10px 0;
        }
        
        .search-bar form {
            display: flex;
            width: 100%;
        }
        
        .search-bar input {
            flex: 1;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px 0 0 4px;
            font-size: 14px;
        }
        
        .search-bar button {
            padding: 0 15px;
            background-color: #e63946;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
        }
        
        .user-actions {
            text-align: center;
            margin-top: 10px;
        }
        
        .user-actions a {
            color: #fff;
            margin: 0 10px;
            font-size: 18px;
            text-decoration: none;
            position: relative;
        }
        
        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #e63946;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 12px;
            display: none;
            align-items: center;
            justify-content: center;
        }
        
        nav ul {
            list-style: none;
            padding: 10px 0;
            margin: 0;
            text-align: center;
            background-color: #333;
        }

        nav ul li {
            display: inline-block;
            margin: 0 5px;
        }

        nav ul li a {
            text-decoration: none;
            color: #fff;
            font-weight: 500;
            font-size: 14px;
            padding: 5px 10px;
            white-space: nowrap;
            transition: all 0.3s;
        }

        nav ul li a:hover {
            color: #e63946;
        }
        
       .banner {
    margin: 15px 0;
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #0d0d0d; /* Fallback color */
    display: flex;
    align-items: center;
    justify-content: center;
    /* New background image properties */
    background-image: url('banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 80%;
}

.banner-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(252, 247, 247, 0.8);
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
        
        .btn {
            display: inline-block;
            padding: 10px 20px;
            background-color: #e63946;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-size: 16px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: #c1121f;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .categories, .featured-products, .product-listing, .catalog-section, .top-selling {
            margin: 25px 0;
        }
        
        h2 {
            margin-bottom: 15px;
            font-size: 20px;
            color: #333;
            padding: 0 5px;
        }
        
        .category-grid, .product-grid, .catalog-grid, .top-selling-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            padding: 0 5px;
        }
        
        .category-item, .product-card, .catalog-item, .top-selling-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            position: relative;
        }
        
        .category-item:hover, .product-card:hover, .catalog-item:hover, .top-selling-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .category-item img, .product-card img, .catalog-item img, .top-selling-card img {
            width: 100%;
            height: 120px;
            object-fit: cover;
        }
        
        .category-item h3, .product-card h3, .catalog-item h3, .top-selling-card h3 {
            padding: 10px;
            font-size: 14px;
        }
        
        .price {
            padding: 0 10px 10px;
        }
        
        .current-price {
            font-size: 16px;
            font-weight: bold;
            color: #e63946;
        }
        
        .original-price {
            font-size: 12px;
            text-decoration: line-through;
            color: #999;
            margin-left: 5px;
        }
        
        .discount-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #e63946;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }
        
        .out-of-stock-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: #f44336;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }
        
        .out-of-stock-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #f44336;
        }
        
        .out-of-stock-btn {
            background-color: #cccccc !important;
            cursor: not-allowed !important;
        }
        
        .product-actions, .catalog-actions {
            padding: 0 10px 10px;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .product-filters {
            background-color: white;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 15px;
        }
        
        .product-filters form {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .product-filters input, .product-filters select {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            width: 100%;
            font-size: 14px;
        }
        
        .product-detail {
            display: flex;
            flex-direction: column;
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            margin: 15px 0;
        }
        
        .product-image {
            padding: 15px;
        }
        
        .product-image img {
            width: 100%;
            max-height: 300px;
            object-fit: contain;
        }
        
        .product-info {
            padding: 15px;
        }
        
        .product-info h1 {
            font-size: 22px;
            margin-bottom: 8px;
        }
        
        .product-price {
            font-size: 20px;
            color: #e63946;
            margin: 10px 0;
        }
        
        .product-description {
            margin: 15px 0;
            line-height: 1.6;
            font-size: 14px;
        }
        
        .quantity-selector {
            margin: 15px 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .quantity-selector input {
            width: 60px;
            padding: 8px;
            text-align: center;
            border: 1px solid #ddd;
        }
        
        footer {
            background-color: #1a1a1a;
            color: white;
            padding: 25px 0;
            margin-top: 25px;
        }
        
        .footer-sections {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .footer-section h3 {
            margin-bottom: 12px;
            font-size: 16px;
            color: #e63946;
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section ul li {
            margin-bottom: 8px;
        }
        
        .footer-section ul li a {
            color: #ddd;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
        }
        
        .footer-section ul li a:hover {
            color: #e63946;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
        }
        
        .social-icons a {
            color: white;
            font-size: 18px;
            transition: color 0.3s;
        }
        
        .social-icons a:hover {
            color: #e63946;
        }
        
        .copyright {
            text-align: center;
            padding-top: 15px;
            border-top: 1px solid #444;
            font-size: 14px;
        }
        
        .cart-items {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
        }
        
        .cart-item {
            display: flex;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            flex-wrap: wrap;
        }
        
        .cart-item:last-child {
            border-bottom: none;
        }
        
        .cart-item-image {
            width: 80px;
            height: 80px;
            object-fit: contain;
            margin-right: 10px;
        }
        
        .cart-item-details {
            flex: 1;
            min-width: 150px;
        }
        
        .cart-item-price {
            font-weight: bold;
            color: #e63946;
            margin: 5px 0;
            font-size: 14px;
        }
        
        .cart-item-quantity {
            display: flex;
            align-items: center;
            margin: 5px 0;
        }
        
        .cart-item-quantity button {
            width: 25px;
            height: 25px;
            border: 1px solid #ddd;
            background: #f5f5f5;
            cursor: pointer;
            font-size: 14px;
        }
        
        .cart-item-quantity input {
            width: 40px;
            height: 25px;
            text-align: center;
            border: 1px solid #ddd;
            margin: 0 5px;
        }
        
        .cart-summary {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 14px;
        }
        
        .summary-total {
            font-size: 16px;
            font-weight: bold;
            border-top: 1px solid #eee;
            padding-top: 8px;
            margin-top: 8px;
        }

        .payment-method {
            margin-bottom: 15px;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: #f9f9f9;
        }
        
        .payment-method.selected {
            border-color: #e63946;
            background-color: #fff8f6;
        }
        
        .payment-method label {
            display: flex;
            align-items: center;
            cursor: pointer;
            font-size: 14px;
        }
        
        .payment-method input[type="radio"] {
            margin-right: 8px;
        }
        
        .bank-info {
            background-color: #f0f0f0;
            padding: 12px;
            border-radius: 4px;
            margin: 8px 0;
            font-size: 13px;
        }
        
        .bank-info p {
            margin-bottom: 5px;
        }
        
        .order-confirmation {
            text-align: center;
            padding: 30px 15px;
            background-color: white;
            border-radius: 8px;
            margin: 15px 0;
        }
        
        .order-confirmation i {
            font-size: 50px;
            color: #4CAF50;
            margin-bottom: 15px;
        }
        
        .order-confirmation h1 {
            margin-bottom: 15px;
            font-size: 24px;
        }
        
        .order-confirmation p {
            margin-bottom: 15px;
            font-size: 16px;
        }
        
        .order-details {
            background-color: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
            margin: 15px auto;
            max-width: 100%;
            text-align: left;
            font-size: 14px;
        }
        
        .order-details h3 {
            margin-bottom: 12px;
            border-bottom: 1px solid #ddd;
            padding-bottom: 8px;
            font-size: 16px;
        }
        
        .order-details-row {
            display: flex;
            margin-bottom: 8px;
            flex-wrap: wrap;
        }
        
        .order-details-label {
            font-weight: bold;
            width: 120px;
        }

        .pending-review {
            text-align: center;
            padding: 30px 15px;
            background-color: white;
            border-radius: 8px;
            margin: 15px 0;
        }
        
        .pending-review i {
            font-size: 50px;
            color: #FFC107;
            margin-bottom: 15px;
        }
        
        .pending-review h1 {
            margin-bottom: 15px;
            font-size: 24px;
        }
        
        .pending-review p {
            margin-bottom: 15px;
            font-size: 16px;
        }

        .checkout-columns {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .checkout-columns > div {
            width: 100%;
        }
        
        #shippingForm div {
            margin-bottom: 12px;
        }
        
        #shippingForm label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
        }
        
        #shippingForm input, 
        #shippingForm select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }
        
        .item-code {
            font-size: 12px;
            color: #666;
            margin-bottom: 5px;
            padding: 0 10px;
        }
        
        .video-ad {
            width: 100%;
            margin-top: 20px;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .video-ad video {
            width: 100%;
            border-radius: 8px;
        }
        
        .sold-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: #4CAF50;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }
        
        /* File upload styles */
        .file-upload {
            margin: 15px 0;
        }
        
        .file-upload label {
            display: block;
            margin-bottom: 5px;
        }
        
        .file-upload input[type="file"] {
            display: none;
        }
        
        .file-upload-btn {
            display: inline-block;
            padding: 8px 12px;
            background-color: #e63946;
            color: white;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        
        .file-name {
            margin-left: 10px;
            font-size: 14px;
        }
        
        /* Desktop styles */
        @media (min-width: 768px) {
            .container {
                width: 90%;
                max-width: 1200px;
                padding: 0 15px;
            }
            
            .top-bar {
                flex-direction: row;
                align-items: center;
                padding: 15px 0;
            }
            
            .logo {
                text-align: left;
                margin-bottom: 0;
                flex: 1;
            }
            
            .search-bar {
                margin: 0 20px;
                flex: 3;
            }
            
            .user-actions {
                text-align: right;
                margin-top: 0;
                flex: 1;
            }
            
            .category-grid, .product-grid, .catalog-grid, .top-selling-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 20px;
            }
            
            .product-detail {
                flex-direction: row;
            }
            
            .footer-sections {
                grid-template-columns: 2fr 1fr;
            }
            
            .checkout-columns {
                flex-direction: row;
            }
            
            .product-actions, .catalog-actions {
                flex-direction: row;
                justify-content: space-between;
            }
            
            .banner {
                height: 300px;
            }
            
            .banner-content h2 {
                font-size: 36px;
            }
            
            .banner-content p {
                font-size: 20px;
            }
        }
        
        /* Mobile landscape and tablet portrait */
        @media (min-width: 480px) and (max-width: 767px) {
            .banner {
                height: 250px;
            }
            
            .banner-content h2 {
                font-size: 24px;
            }
            
            .banner-content p {
                font-size: 16px;
            }
        }