/* Checkout Page Styles */
.checkout-page {
    background-color: #f8f8f8;
    color: #333;
    min-height: 100vh;
}

.checkout-header {
    background-color: #000;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e1e1e1;
}

.checkout-header .logo {
    color: white;
    font-family: 'Marbley', 'Archivo Black', sans-serif;
    font-size: 2rem;
    text-decoration: none;
    letter-spacing: 1px;
}

.checkout-container {
    padding: 3rem 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-summary,
.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.checkout-summary h1,
.checkout-form h2 {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
    font-size: 1.5rem;
}

.order-summary h2 {
    font-size: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.order-items {
    margin: 1.5rem 0;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.order-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 1rem;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.item-variant {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.item-price {
    font-weight: 500;
}

.order-totals {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.order-totals > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.order-totals .total {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #eee;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin: 0 -0.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.form-group.half {
    flex: 0 0 calc(50% - 0.5rem);
}

.form-group.quarter {
    flex: 0 0 calc(25% - 0.75rem);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

input,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: #000;
}

/* Stripe Element Styles */
.card-element {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.card-errors {
    color: #e53935;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    min-height: 1.5rem;
}

/* Button Styles */
.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: #000;
    color: white;
}

.btn-primary:hover {
    background-color: #333;
}

.button-spinner {
    margin-left: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half,
    .form-group.quarter {
        flex: 1 1 100%;
    }
}
