.gc-wrapper {
    max-width: 720px !important;
    margin: 30px auto !important;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e8e0d5;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    box-sizing: border-box;
}

/* ===== Progress bar ===== */
.gc-progress {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 30px;
    background: #faf8f5;
    padding: 16px 12px;
    border-radius: 16px;
    border: 1px solid #eee8dd;
}

.gc-line {
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e6dcce;
    z-index: 0;
}

.gc-step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
}

.gc-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #777777;
    border: 1px solid #e0d8cb;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}

.gc-step p {
    margin: 0;
    font-weight: 500;
    font-size: 13px;
    color: #777777;
}

.gc-step.active span {
    background: linear-gradient(135deg, #c5a059 0%, #a37c35 100%);
    color: #ffffff;
    border-color: #c5a059;
    box-shadow: 0 3px 10px rgba(197, 160, 89, 0.3);
}

.gc-step.active p {
    color: #1a1a1a;
    font-weight: 600;
}

/* ===== Cards / steps ===== */
.gc-card {
    display: none;
}

.gc-card.gc-active {
    display: block;
    animation: gcFade .25s ease;
}

@keyframes gcFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.gc-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    border-bottom: 2px solid #f4efe6;
    padding-bottom: 10px;
}

.gc-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2b2b2b;
    margin: 18px 0 8px;
}

/* ===== Fields ===== */
.gc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.gc-field label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #3a3a3a;
    margin-bottom: 6px;
}

.gc-field input[type="text"],
.gc-field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcd3c5;
    border-radius: 8px;
    background: #fdfcfb;
    font-size: 14px;
    color: #333333;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gc-field input:focus {
    outline: none;
    border-color: #c5a059;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
    background: #ffffff;
}

/* ===== Payment method toggle ===== */
.gc-payment-toggle {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.gc-radio-option {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
    background: #faf8f5;
    border: 1px solid #e5dccb;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gc-radio-option:hover {
    border-color: #c5a059;
    background: #f5efe2;
}

.gc-radio-option input {
    width: auto !important;
    accent-color: #c5a059;
}

/* ===== Buttons ===== */
.gc-next,
.gc-check,
#submitGiftCard {
    background: linear-gradient(135deg, #c5a059 0%, #a37c35 100%);
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(197, 160, 89, 0.25);
}

.gc-next:hover,
.gc-check:hover,
#submitGiftCard:hover {
    opacity: 0.93;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
    transform: translateY(-1px);
}

.gc-next:disabled {
    background: #e0d8cb;
    color: #999999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gc-prev {
    background: #ece8e1;
    color: #555555;
    border: none;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gc-prev:hover {
    background: #e0d9cd;
    color: #222222;
}

.gc-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== Balance / notification ===== */
#wps_notification {
    margin-top: 12px;
    font-weight: 500;
    color: #555555;
}

#balanceBox {
    margin-top: 20px;
    padding: 20px;
    background: #faf6ee;
    border: 1px solid #e8decb;
    border-radius: 10px;
}

#giftBalance {
    font-size: 26px;
    font-weight: 700;
    color: #a37c35;
}

/* ===== Summary box ===== */
.gc-summary {
    background: #faf6ee;
    border: 1px solid #e8decb;
    border-radius: 10px;
    padding: 20px;
    margin-top: 10px;
}

.gc-summary div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #333333;
}

.gc-summary div.total {
    border-top: 1px solid #e8decb;
    margin-top: 8px;
    padding-top: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .gc-wrapper {
        padding: 18px;
        margin: 15px 10px !important;
    }
    .gc-progress {
        padding: 12px 6px;
    }
    .gc-step p {
        font-size: 11px;
    }
    .gc-btns {
        flex-direction: column;
    }
    .gc-btns button {
        width: 100%;
    }
}

