/* ===== SHOP HEADER ===== */
.shop-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.shop-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.shop-header p {
    font-size: 18px;
    color: var(--light-gray);
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 60px 20px;
    min-height: 60vh;
}

.category-section {
    margin-bottom: 80px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-red);
}

.category-header h2 {
    font-size: 32px;
    color: var(--black);
    margin: 0;
}

.category-header i {
    font-size: 36px;
    color: var(--primary-red);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--light-gray);
}

.product-info {
    padding: 20px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--black);
    min-height: 50px;
}

.product-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price-range {
    color: var(--primary-red);
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.view-details-btn {
    width: 100%;
    padding: 10px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.view-details-btn:hover {
    background: var(--primary-red);
}

/* ===== PRODUCT MODAL ===== */
.product-modal-content {
    max-width: 900px;
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.product-modal-image img {
    width: 100%;
    border-radius: 10px;
}

.product-modal-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--black);
}

.product-modal-info p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-options {
    margin-bottom: 25px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
}

.select-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.3s;
}

.select-input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.product-price {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.price-label {
    font-size: 16px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.price-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-red);
}

.product-stock {
    margin-bottom: 20px;
    font-weight: 600;
}

.product-stock .in-stock {
    color: #28a745;
}

.product-stock .out-of-stock {
    color: #dc3545;
}

.quantity-selector {
    margin-bottom: 25px;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-red);
    background: var(--white);
    color: var(--primary-red);
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-controls button:hover {
    background: var(--primary-red);
    color: var(--white);
}

.quantity-controls input {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
}

.btn-add-cart {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-bottom: 20px;
}

.other-brands-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}

.other-brands-notice i {
    color: #ffc107;
    margin-right: 5px;
}

.other-brands-notice a {
    color: var(--primary-red);
    font-weight: 600;
}

/* ===== CART ITEMS ===== */
.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin-bottom: 5px;
    color: var(--black);
}

.cart-item-details p {
    color: #666;
    font-size: 14px;
    margin-bottom: 3px;
}

.cart-item-price {
    font-weight: bold;
    color: var(--primary-red);
    font-size: 18px;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}

.remove-item:hover {
    color: #a71d2a;
}

.cart-empty {
    text-align: center;
    padding: 40px;
    color: #666;
}

.delivery-note {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

.final-total {
    color: var(--primary-red);
    font-size: 24px;
}

/* ===== CHECKOUT FORM ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.checkout-total {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: right;
}

.checkout-total h3 {
    color: var(--primary-red);
    font-size: 24px;
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .product-modal-body {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .shop-header h1 {
        font-size: 32px;
    }
    
    .category-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card h3 {
        min-height: auto;
    }
}
