@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

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

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

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.logo i {
    margin-right: 10px;
    color: #d4af37;
}

.secure-checkout {
    display: flex;
    align-items: center;
    color: #28a745;
    font-weight: 500;
}

.secure-checkout i {
    margin-right: 8px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.progress-bar .step {
    position: relative;
    z-index: 2;
    background-color: #f8f9fa;
    padding: 0 15px;
    color: #999;
    font-weight: 500;
}

.progress-bar .step.active {
    color: #333;
    font-weight: 600;
}

.progress-bar .step::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    color: white;
    text-align: center;
    line-height: 30px;
}

.progress-bar .step.active::before {
    background-color: #9A1750;
    content: '✓';
}

main {
    display: flex;
    gap: 30px;
}

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

.order-summary {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

h1 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
}

.input-with-icon i.fa-question-circle {
    cursor: help;
    font-size: 16px;
}

.row {
    display: flex;
    gap: 20px;
}

.row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

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

.pay-button {
    width: 100%;
    padding: 15px;
    background-color: #9A1750;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    transition: background-color 0.3s;
}

.pay-button:hover {
    background-color: #c5a227;
}

.secure-info {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.secure-info i {
    margin-right: 8px;
    color: #28a745;
}

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

.product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.product-details {
    flex: 1;
}

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

.price {
    font-weight: 600;
    color: #333 !important;
    margin-top: 5px;
}

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

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

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

.support p {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.support i {
    margin-right: 10px;
    color: #9A1750;
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
    }
    
    .row {
        flex-direction: column;
        gap: 0;
    }
    
    .progress-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .progress-bar::before {
        display: none;
    }
    
    .progress-bar .step {
        margin-bottom: 15px;
        padding-left: 40px;
    }
    
    .progress-bar .step::before {
        position: absolute;
        left: 0;
    }
}