/* Modal Styles */
.checkout-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.checkout-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.checkout-modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.checkout-modal-close:hover {
    color: #000;
}

.checkout-modal h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
}

.checkout-modal-subtext {
    margin: 0 0 24px 0;
    color: #666;
    font-size: 15px;
}

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

.checkout-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
    color: #333;
}

.checkout-input:focus {
    outline: none;
    border-color: #6366f1;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 100%;
    background: #fff;
    transition: border-color 0.2s;
    padding: 1px 0;
}

.phone-input-wrapper:focus-within {
    border-color: #6366f1;
}

.phone-prefix {
    padding-left: 16px;
    padding-right: 12px;
    color: #1a1a1a;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    white-space: nowrap;
}

.checkout-input-noborder {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 13px 16px 13px 10px;
    font-size: 16px;
    font-family: "Outfit", sans-serif;
    color: #333;
    width: 100%;
    background: transparent;
}

.checkout-submit-btn {
    width: 100%;
    margin-top: 24px;
    padding: 18px;
    font-size: 1.15rem;
    background-color: #4A0E4E !important;
    color: white !important;
}

.checkout-summary {
    margin-top: 8px;
    margin-bottom: 16px;
    border-top: 1px solid #eee;
    padding-top: 4px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 13px;
    color: #333;
}

.summary-row.total {
    font-weight: 700;
    font-size: 14px;
    color: #000;
    margin-bottom: 0;
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 12px;
    align-items: center;
}

.tier-container {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tier-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    gap: 8px;
}

.tier-card.full-width {
    grid-column: span 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 16px;
}

.tier-card.selected {
    border-color: #6366f1;
    background: #eef2ff;
}

.tier-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tier-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.tier-price {
    font-size: 18px;
    font-weight: 700;
    color: #6366f1;
}

.tier-badge {
    position: absolute;
    top: -10px;
    left: 12px;
    background: #6366f1;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.tier-gift {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #10b981;
    font-weight: 600;
    font-size: 12px;
}

.tier-gift svg {
    width: 14px;
    height: 14px;
}

.tier-radio {
    display: none;
}
