.gift-wrapper * {
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

.gifthead {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0%;
    color: #000;
    text-align: center;
    margin-top: 20px;
}
.giftshadow-card {
    border-radius: 10.12px !important;
    padding: 32px 16px !important;
    box-shadow: 0px 0px 7px 0px #cccccc59;
}
.giftshadow-card2 {
    border-radius: 10.12px !important;
    padding: 20px 16px !important;
    box-shadow: 0px 0px 7px 0px #cccccc59;
}
    .giftshadow-card2 .text-gray-500, .giftshadow-card2 .text-gray-400 {
        color: #616161!important;
    }

.gift-bg {
    background: radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%), linear-gradient(165deg, #f7f7f7 0%, #f2f3f6 100%);
}
.giftllabelstyle {
    position: absolute;
    padding-left: 14px;
    padding-top: 10px;
    font-weight: 500;
    line-height: 16px;
    width: 97%;
}
.countryno {
    margin-top: -13px;
    border-right: 1px #B5B5B5 solid;
    padding-right: 5px;
}
.textareaheight{height:64px;}
.textmrgn {
    margin: 1px 1px; background:#fff;
    border-radius: 6px; padding-right:5px;
}
.field-input {
    width: 100%;
    border: 1px solid #E3E3E3;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    padding: 28px 14px 14px;
    font-size: 14px;
    line-height: 20px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

    .field-input::placeholder {
        color: #a1a1aa;
    }

    .field-input:focus {
        outline: none;
        border-color: #9d1d27;
        box-shadow: 0 0 0 3px rgba(157, 29, 39, 0.12);
    }

    .field-input.error {
        border-color: #ef4444;
        box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.12);
    }

.occasion-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .occasion-list::-webkit-scrollbar {
        display: none;
    }

.occasion-pill {
    border: 1px solid #A0A0A04D; 
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #52525b;
    white-space: nowrap;
    background: #ffffff;
    transition: all 200ms ease;
    cursor: pointer;
}

    .occasion-pill:hover {
        border-color: #000;
        color: #000;
    }

    .occasion-pill.active {
        background: #fff;
        color: #000;
        border-color: #000000;
        
    }

.cta-button {
    width: 100%;
    border: none;
    border-radius: 50px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #9d1d27, #821821);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
    box-shadow: 0 10px 22px rgba(157, 29, 39, 0.28);
}

    .cta-button:not(:disabled):hover {
        transform: translateY(-1px);
    }

    .cta-button:disabled {
        background: #d4d4d8;
        color: #71717a;
        box-shadow: none;
        cursor: not-allowed;
        transform: none;
    }

.field-error {
    color: #dc2626;
    font-size: 12px;
    line-height: 16px;
    margin-top: 0px;
    margin-bottom: 10px;
    min-height: 16px;
    transition: color 180ms ease, opacity 180ms ease;
}

.template-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.saving-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483647;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(1px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.saving-modal-card {
    width: 100%;
    max-width: 360px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    padding: 20px;
    text-align: center;
}

.saving-modal-spinner {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 3px solid #e5e7eb;
    border-top-color: #9d1d27;
    margin: 0 auto 12px auto;
    animation: savingSpin 800ms linear infinite;
}

.saving-modal-title {
    margin: 0;
    color: #111827;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
}

.saving-modal-subtitle {
    margin: 8px 0 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
}

@keyframes savingSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Card */
.giftrcards-card {
    width: 100%;
    background: #fff;
    border-radius: 8px;
}

/* Inner Box */
.giftrcards-box {
    background: #F5F5F5;
    border: 1px solid #E3E3E3;
    border-radius: 8px;
    overflow: hidden;
}

/* Header */
.giftrcards-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #F5F5F5;
    border-bottom: 1px solid #E3E3E3;
}

/* Icon container */
.giftrcards-icon {
    width: 32px;
    height: 32px;
    background: #DAF6EA;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Image inside icon */
    .giftrcards-icon img {
        width: 16px;
        height: 16px;
        object-fit: contain;
    }

/* Header text */
.giftrcards-title {
    font-size: 16px;
    font-weight: 500;
}

/* Row */
.giftrcards-row {
    display: flex;
    border-bottom: 1px solid #E3E3E3;
}

    .giftrcards-row:last-child {
        border-bottom: none;
    }

/* Label */
.giftrcards-label {
    width: 50%;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #7F7F7F;
    border-right: 1px solid #E3E3E3;
}

/* Value */
.giftrcards-value {
    width: 50%;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    word-break: break-word;
}

/* ================================================
   Gift Qty Stepper — Value / Qty / You Pay Table
   ================================================ */

.giftqty-wrap {
    margin: 12px 0 4px 0;
    /*border: 1px solid #E8E8E8;
    border-radius: 10px;*/
    overflow: hidden;
    background: #ffffff;
}

/* Header row */
.giftqty-header-row {
    display: flex;
    align-items: center;
    padding: 10px 0px;
    /*background: #F9F9F9;
    border-bottom: 1px solid #E8E8E8;*/
}

    .giftqty-header-row span {
        font-size: 16px;
        font-weight: 500;
        color: #9B9B9B;
    }

/* Item row */
.giftqty-item-row {
    display: flex;
    align-items: center;
    padding: 10px 0px;
    /*border-bottom: 1px solid #F0F0F0;*/
}

    .giftqty-item-row:last-child {
        border-bottom: none;
    }

/* Column widths */
.giftqty-col-value {
    flex: 0 0 33%;
    max-width: 33%;
}

.giftqty-col-qty {
    flex: 0 0 34%;
    max-width: 34%;
    display: flex;
    justify-content: center;
}

.giftqty-col-pay {
    flex: 0 0 33%;
    max-width: 33%;
    text-align: right;
}

/* Amount text */
.giftqty-amount {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A1A;
}

/* Stepper controls */
.giftqty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    /*background: #FFF5F5;
    border: 1px solid #EDD8DA;*/
    border-radius: 50px;
    padding: 2px 6px;
}

/* Minus / Plus buttons */
.giftqty-stepper .minus,
.giftqty-stepper .plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width:32px!important;
    height: 32px!important;
    background: #FCF1F2;
    border: 1px solid #EDD8DA;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: background 180ms ease, border-color 180ms ease;
    padding: 0;
    line-height: 1;
}

    .giftqty-stepper .minus img,
    .giftqty-stepper .plus img {
        width: 12px;
        height: 12px;
        object-fit: contain;
        display: block;
    }

    .giftqty-stepper .minus:hover,
    .giftqty-stepper .plus:hover {
        background: #FCF1F2;
        border-color: #9d1d27;
    }

    .giftqty-stepper .minus.disabled,
    .giftqty-stepper .plus.disabled {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
    }

/* Qty input display */
.giftqty-input {
    width: 45px;
    text-align: center;
    border: 1px #E6E6E6 solid;
    border-radius: 8px;
    background:#fff !important;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    padding: 4px;
    pointer-events: none;
    outline: none;
}

/* Alert message */
.giftqty-alert {
    font-size: 11px;
    color: #9D1D27;
    font-weight: 600;
    margin: 0;
    padding: 4px 14px 6px 14px;
}

/* Spinner for plus/minus buttons — fills the full button face */
.gift-spinner-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #FCF1F2;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gift-spinner-border::after {
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        border: 1.5px solid #9d1d27;
        border-right-color: transparent;
        border-radius: 50%;
        -webkit-animation: .65s linear infinite gift-spin;
        animation: .65s linear infinite gift-spin;
    }

@keyframes gift-spin {
    to {
        transform: rotate(360deg);
    }
}


/*.new-badge {
    background: linear-gradient(135deg, #20c997, #17a589);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
    display: inline-block;
    letter-spacing: 0.5px;
    animation: glowPulse 1.6s infinite;
}


@keyframes glowPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.6);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 8px 4px rgba(32, 201, 151, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(32, 201, 151, 0);
    }
}*/

.sendnew{margin-top:-7px;}

.new-badge {
    position: relative;
    inset: 0px;
    overflow: hidden;
    transition: inherit;
    background: linear-gradient(135deg, #20c997, #17a589);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
    display: inline-block;
    letter-spacing: 0.5px;
}

    .new-badge::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(-65deg, #0000 40%, #fff7 50%, #0000 70%);
        background-size: 200% 100%;
        background-repeat: no-repeat;
        animation: thing 3s ease infinite;
    }

@keyframes thing {
    0% {
        background-position: 130%;
        opacity: 1;
    }

    to {
        background-position: -166%;
        opacity: 0;
    }
}

.new-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: inherit;
    box-shadow: inset 0px 2px 8px -2px #0000;
}

@media screen and (max-width: 390px) and (min-width: 320px) {
    .giftqty-amount {
        font-size: 16px;
        font-weight: 600;
        color: #1A1A1A;
    }
    .gifthead {
        font-size: 18px;
        line-height: 26px;
    }
}



.info-concerned-box {
    display: flex;
    align-items: center;
    padding: 24px 17px;
    gap: 10px;
    width: 100%; /* better than fixed 398px */
    height: 65px;
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
}

/* Inner text container */
.info-concerned-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-style: normal !important;
}

    /* Label (Order Status) */
    .info-concerned-text .label {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: #222222;
    }

    /* Value (Pending) */
    .info-concerned-text .value {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 14px;
        color: #121212;
    }