/* Checkout Page Styles */
.checkout-section {
    padding: 100px 0;
}

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

.checkout-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.checkout-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-methods {
    margin: 30px 0;
}

.payment-method {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.payment-method label {
    margin-left: 10px;
    font-weight: 600;
    cursor: pointer;
}

.payment-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.terms {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.terms input {
    width: auto;
    margin-right: 10px;
}

.terms label {
    margin-bottom: 0;
    font-weight: normal;
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.order-summary {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.summary-items {
    margin-bottom: 20px;
}

.order-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.item-info {
    display: flex;
    justify-content: space-between;
}

.item-name {
    color: var(--gray-color);
}

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

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

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

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
}

.thank-you-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.thank-you-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.order-number {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.order-summary {
    margin: 40px 0;
    text-align: left;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
}

.order-summary h3 {
    text-align: center;
    margin-bottom: 20px;
}

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

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.total {
    font-weight: 700;
    font-size: 1.1rem;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}