.cart-page {
    padding: 30px 0;
    flex-grow: 1;
}

.cart-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-items {
    background: rgba(63, 62, 62, 0.2);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin-right: 20px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.item-size {
    color: #3f3e3e;
    font-size: 14px;
    margin-bottom: 10px;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: #cc2828;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 4px;
}

.quantity-btn:hover {
    background: #f5f5f5;
}

.quantity-input {
    width: 50px;
    height: 30px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
    border-radius: 4px;
}

.remove-btn {
    background: none;
    border: none;
    color: #3f3e3e;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    padding: 5px 0;
}

.remove-btn:hover {
    color: #cc2828;
}

.cart-summary {
    background: rgba(63, 62, 62, 0.2);
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-total {
    font-size: 20px;
    font-weight: 700;
    color: #cc2828;
    margin: 20px 0;
}

.checkout-btn {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
    margin-bottom: 15px;
    border-radius: 6px;
}

.checkout-btn:hover {
    background-color: #cc2828;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #3f3e3e;
    text-decoration: none;
    font-size: 14px;
}

.continue-shopping:hover {
    text-decoration: underline;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-cart-text {
    font-size: 18px;
    color: #3f3e3e;
    margin-bottom: 30px;
}

.empty-summary {
    text-align: center;
    padding: 40px 20px;
}

.empty-summary-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.empty-summary-text {
    font-size: 16px;
    color: #3f3e3e;
    margin-bottom: 20px;
}

.footer-bottom {
    margin-top: 90px;
}

.checkout-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.checkout-form h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Jost';
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #1a1a1a;
}

textarea.form-input {
    resize: vertical;
    min-height: 60px;
}

.delivery-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delivery-option:hover {
    border-color: #1a1a1a;
}

.delivery-option input[type="radio"] {
    margin-right: 12px;
}

.delivery-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.delivery-cost {
    color: #cc2828;
    font-weight: 600;
}

.delivery-option input[type="radio"]:checked + .delivery-info {
    color: #1a1a1a;
}

.delivery-option input[type="radio"]:checked {
    accent-color: #1a1a1a;
}

.summary-total-with-delivery {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.error-message {
    color: #cc2828 !important;
    font-size: 12px !important;
    margin-top: 5px !important;
}

.form-input.error {
    border-color: #cc2828 !important;
}

.delivery-info-static {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.delivery-info-static strong {
    color: #1a1a1a;
}

.delivery-info-static .delivery-cost {
    color: #cc2828;
    font-weight: 600;
}

.consent-checkbox {
    margin: 15px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 6px;
}

.consent-checkbox a:hover {
    color: #cc2828;
}

@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .item-image {
        margin-right: 0;
        margin-bottom: 15px;
        width: 120px;
        height: 120px;
        align-self: center;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cart-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .item-title {
        font-size: 16px;
    }
    
    .item-price {
        font-size: 16px;
    }
    
    .checkout-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cart-page {
        padding: 20px 0;
    }
    
    .cart-title {
        font-size: 24px;
    }
    
    .cart-items {
        padding: 15px;
    }
    
    .cart-summary {
        padding: 20px;
    }
    
    .item-quantity {
        justify-content: center;
    }
    
    .form-input {
        padding: 10px;
        font-size: 16px;
    }
    
    .consent-checkbox {
        padding: 12px;
        font-size: 13px;
    }
    
    .summary-title {
        font-size: 18px;
    }
    
    .summary-row {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .cart-items {
        padding: 10px;
    }
    
    .cart-summary {
        padding: 15px;
    }
    
    .item-image {
        width: 100px;
        height: 100px;
    }
}