body {
    font-family: Arial, Helvetica, sans-serif;
    background: #e8e4df;
    color: #2f2f2f;
    margin: 0;
    padding: 0;
}

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

h1 {
    text-align: center;
}

section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

section:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

#order-summary p {
    margin: 5px 0;
    font-size: 16px;
}

#checkout-total {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid #8b5e3c;
    font-size: 20px;
    font-weight: bold;
    color: #8b5e3c;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d6d2cc;
    font-size: 14px;
    cursor: text;
}

input:focus {
    outline: none;
    border: 1px solid #8b5e3c;
}

button {
    margin-top: 10px;
    padding: 12px;
    background: #8b5e3c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    width: 100%;
}

button:hover {
    background: #6f472c;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.card-extra {
    display: flex;
    gap: 15px;
}

.card-extra div {
    display: flex;
    flex-direction: column;
}

#expiry {
    width: 110px;
}

#cvv {
    width: 70px;
}

@media (max-width: 600px) {
    main {
        margin: 20px;
        padding: 10px;
    }
}

#thank-you {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#thank-you .thank-you-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

#thank-you h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

#thank-you p {
    margin-bottom: 20px;
    color: #555;
}

#thank-you button {
    width: auto;
    padding: 10px 20px;
}

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

.summary-row span:nth-child(2) {
    color: #666;
}

.summary-row span:last-child {
    font-weight: 600;
}

.summary-row:hover {
    background: #f9f9f9;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.summary-item p {
    margin: 0;
    font-weight: 500;
}
