* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f3ee;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-header img {
    /*max-height: 60px;*/
    margin-bottom: 15px;
}

.checkout-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.checkout-form {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.checkout-details {
    flex: 1;
    min-width: 320px;
}

.checkout-summary {
    flex: 0 0 380px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-section {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: #4a90e2;
}

.required:after {
    content: " *";
    color: #e74c3c;
}

.product-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-image {
    flex: 0 0 80px;
    margin-right: 15px;
}

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

.product-details {
    flex: 1;
}

.product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-variant {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.summary-totals {
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 600;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.checkout-button {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.checkout-button:hover {
    background-color: #3a7bc8;
}

.payment-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-option {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option.selected {
    border-color: #4a90e2;
    background-color: rgba(74, 144, 226, 0.05);
}

.payment-option img {
    height: 30px;
    margin-bottom: 10px;
}

.payment-cards {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.payment-cards img {
    height: 25px;
}

.footer {
    margin-top: 30px; 
    display: flex; 
    flex-wrap: wrap; 
    font-size: 14px;
}

.footer-link {
    color: #333; 
    text-decoration: none; 
    margin-right: 20px; 
    margin-bottom: 10px;
}

.footer-text {
    width: 100%; 
    margin-top: 10px; 
    color: #666; 
    font-size: 13px;
}

.terms-checkbox {
    margin-top: 20px; 
    margin-bottom: 30px;
}

.terms-label {
    display: inline;
}

.delivery-label {
    display: inline;
}

.delivery-time {
    margin-left: 20px; 
    font-size: 14px; 
    color: #666; 
    margin-bottom: 5px;
}

.delivery-promo {
    margin-left: 20px; 
    font-size: 14px; 
    color: #666; 
    margin-bottom: 10px;
}

.relay-button {
    background-color: #000; 
    color: #fff; 
    border: none; 
    padding: 8px 15px; 
    font-size: 12px; 
    font-weight: bold; 
    cursor: pointer; 
    margin-left: 20px;
}

.summary-disclaimer {
    font-size: 12px; 
    text-align: center; 
    margin-top: 15px; 
    color: #666;
}

.summary-link {
    color: #4a90e2;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 4px;
    color: #666;
    font-size: 13px;
}

.secure-badge svg {
    margin-right: 8px;
    color: #4CAF50;
}

@media (max-width: 768px) {
    .checkout-form {
        flex-direction: column;
    }
    
    .form-group {
        min-width: 100%;
    }
}