/* Namaya Jewels - Checkout + Thank You Page */

.namaya-checkout-container {
    font-family: var(--namaya-font-body);
    background-color: var(--namaya-bg);
    color: #222222;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.checkout-notice {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
    align-items: start;
}

.checkout-form-wrap {
    background: #ffffff;
    border: 1px solid var(--namaya-border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.form-row {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
}

.form-row input,
.form-row textarea {
    padding: 10px 12px;
    border: 1px solid #dcd6cd;
    border-radius: 4px;
    font-family: var(--namaya-font-body);
    font-size: 13px;
    outline: none;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--namaya-gold);
}

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

.checkout-msg {
    font-size: 13px;
    margin-top: 10px;
}

.checkout-msg.success { color: #4caf50; }
.checkout-msg.error { color: #e53935; }

.checkout-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #444;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

/* ---- Payment Method Selection ---- */
.payment-method-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.payment-method-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid #e2ddd2;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    background: #fff;
}

.payment-method-option:hover {
    border-color: #cbb98a;
}

.payment-method-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pm-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f4efe4;
    color: #8a7346;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.pm-icon svg {
    width: 19px;
    height: 19px;
}

.pm-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.pm-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.pm-desc {
    font-size: 12px;
    color: #888;
}

.pm-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #d5cebb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    transition: all 0.2s ease;
}

.payment-method-option.selected {
    border-color: var(--namaya-gold);
    background: #fdf9ef;
    box-shadow: 0 2px 10px rgba(204, 164, 87, 0.12);
}

.payment-method-option.selected .pm-icon {
    background: var(--namaya-gold);
    color: #fff;
}

.payment-method-option.selected .pm-check {
    background: var(--namaya-gold);
    border-color: var(--namaya-gold);
    color: #fff;
}

.upi-panel,
.cod-panel {
    background: #fdf8ef;
    border: 1px solid #e9d9b8;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #444;
    animation: namayaFadeIn 0.2s ease;
}

@keyframes namayaFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.upi-panel-heading {
    font-family: var(--namaya-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px !important;
}

.upi-panel p,
.cod-panel p {
    margin: 0 0 12px;
    line-height: 1.5;
}

.upi-qr-img {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto 12px;
    border: 1px solid var(--namaya-border);
    border-radius: 6px;
    background: #fff;
}

.upi-id-row {
    text-align: center;
    font-size: 14px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px dashed #d5cebb;
    border-radius: 6px;
    padding: 8px;
}

.upi-hint {
    font-size: 11px !important;
    color: #888 !important;
    margin: 4px 0 0 !important;
}

@media (max-width: 850px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .form-row-split {
        grid-template-columns: 1fr;
    }
}

/* ---- Thank You Page ---- */
.namaya-thankyou-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
    font-family: var(--namaya-font-body);
}

.thankyou-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    margin: 0 auto 20px;
}

.thankyou-icon.success {
    background: #4caf50;
}

.thankyou-icon.pending {
    background: #ff9800;
}

.namaya-thankyou-container h1 {
    font-family: var(--namaya-font-heading);
    font-size: 28px;
    margin-bottom: 10px;
}

.thankyou-details {
    background: #ffffff;
    border: 1px solid var(--namaya-border);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: left;
    font-size: 14px;
}
