/* ===================================================================
   SISINV 3.0.31 · Mesa de regalos por productos
   Componente aislado: catálogo responsive + modal real de viewport.
   =================================================================== */

.gift-product-catalog{
    container-type:inline-size;
    width:100%;
    max-width:100%;
    margin:1.5rem 0 1rem;
    box-sizing:border-box;
}
.gift-product-catalog *,
.gift-product-modal *{box-sizing:border-box}

.gift-product-catalog__heading{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:.6rem;
    width:min(100%,620px);
    margin:0 auto 1.35rem;
    text-align:center;
}
.gift-product-catalog__title{
    width:100%;
    text-align:center;
}
.gift-product-catalog__heading h3{
    margin:.15rem 0 0;
    font-size:clamp(1.3rem,4cqi,1.75rem);
    line-height:1.14;
    text-align:center;
    text-wrap:balance;
}
.gift-product-catalog__heading p{
    width:min(100%,540px);
    margin:0 auto;
    max-width:540px;
    font-size:.9rem;
    line-height:1.6;
    text-align:center;
    text-wrap:balance;
    opacity:.72;
}
.gift-product-catalog__eyebrow{
    display:block;
    width:100%;
    font-size:.7rem;
    letter-spacing:.14em;
    font-weight:800;
    text-align:center;
    opacity:.62;
}

.gift-product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:14px;
    width:100%;
    min-width:0;
}
.gift-product-card{
    position:relative;
    min-width:0;
    border-radius:18px;
}
.gift-product-card__open{
    -webkit-appearance:none;
    appearance:none;
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
    min-width:0;
    margin:0;
    padding:0;
    overflow:hidden;
    border:1px solid rgba(75,61,50,.14);
    border-radius:18px;
    background:rgba(255,255,255,.96);
    color:inherit;
    font:inherit;
    text-align:left;
    box-shadow:0 8px 22px rgba(38,30,24,.08);
    cursor:pointer;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.gift-product-card__open:hover,
.gift-product-card__open:focus-visible{
    transform:translateY(-2px);
    border-color:rgba(75,61,50,.27);
    box-shadow:0 14px 28px rgba(38,30,24,.13);
    outline:none;
}
.gift-product-card__image-wrap{
    display:grid;
    place-items:center;
    width:100%;
    aspect-ratio:4/3;
    overflow:hidden;
    background:#f7f5f1;
}
.gift-product-card__image-wrap img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    padding:8px;
    background:#fff;
}
.gift-product-card__placeholder{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    font-size:3rem;
}
.gift-product-card__body{
    display:flex;
    flex:1;
    flex-direction:column;
    gap:.48rem;
    min-width:0;
    padding:14px 15px 15px;
}
.gift-product-card__meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-width:0;
}
.gift-product-card__store{
    display:block;
    min-width:0;
    overflow:hidden;
    color:inherit;
    font-size:.68rem;
    font-weight:700;
    letter-spacing:.06em;
    text-overflow:ellipsis;
    text-transform:uppercase;
    white-space:nowrap;
    opacity:.57;
}
.gift-product-card__status{
    flex:0 0 auto;
    padding:5px 8px;
    border-radius:999px;
    font-size:.66rem;
    font-weight:800;
    line-height:1;
    white-space:nowrap;
}
.gift-product-card__status--available{background:#e8f7ee;color:#126c3b}
.gift-product-card__status--reserved{background:#eef0f2;color:#62676d}
.gift-product-card__status--mine{background:#fff2d2;color:#7b5100}
.gift-product-card__name{
    display:-webkit-box;
    overflow:hidden;
    color:inherit;
    font-size:.98rem;
    line-height:1.27;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}
.gift-product-card__state-copy{
    color:inherit;
    font-size:.78rem;
    line-height:1.35;
    opacity:.67;
}
.gift-product-card__detail{
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin-top:auto;
    padding-top:.2rem;
    color:inherit;
    font-size:.78rem;
    font-weight:800;
    opacity:.8;
}
.gift-product-card__detail span{font-size:1.2rem;line-height:.8}
.gift-product-card--reserved .gift-product-card__image-wrap img{filter:saturate(.55);opacity:.74}
.gift-product-card--mine .gift-product-card__open{border-color:rgba(166,111,0,.28);box-shadow:0 9px 24px rgba(166,111,0,.11)}

/* En invitaciones de ancho estrecho, una tarjeta horizontal es mucho más legible. */
@container (max-width:540px){
    .gift-product-grid{grid-template-columns:1fr;gap:11px}
    .gift-product-card__open{
        display:grid;
        grid-template-columns:118px minmax(0,1fr);
        min-height:134px;
        border-radius:16px;
    }
    .gift-product-card__image-wrap{
        width:118px;
        height:100%;
        min-height:134px;
        aspect-ratio:auto;
    }
    .gift-product-card__image-wrap img{padding:6px}
    .gift-product-card__body{padding:12px 13px}
    .gift-product-card__name{-webkit-line-clamp:2;font-size:.94rem}
    .gift-product-card__state-copy{font-size:.74rem}
}
@container (max-width:340px){
    .gift-product-card__open{grid-template-columns:96px minmax(0,1fr);min-height:122px}
    .gift-product-card__image-wrap{width:96px;min-height:122px}
    .gift-product-card__body{padding:10px 11px;gap:.4rem}
    .gift-product-card__status{font-size:.61rem;padding:4px 6px}
    .gift-product-card__store{font-size:.62rem}
    .gift-product-card__state-copy{display:none}
}

/* Modal: se mueve al BODY mediante JS para escapar de transform/overflow de las plantillas. */
.gift-product-modal{
    position:fixed!important;
    inset:0!important;
    z-index:2147483000!important;
    display:grid!important;
    place-items:center!important;
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:clamp(12px,3vw,28px)!important;
    overflow:hidden!important;
    transform:none!important;
    isolation:isolate;
    font-family:inherit;
}
.gift-product-modal[hidden]{display:none!important}
.gift-product-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(10,13,18,.72);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
}
.gift-product-modal__dialog{
    position:relative!important;
    z-index:1;
    display:flex!important;
    flex-direction:column!important;
    width:min(860px,100%)!important;
    max-width:860px!important;
    height:auto!important;
    max-height:calc(100dvh - clamp(24px,6vw,56px))!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:24px!important;
    background:#fff!important;
    color:#292724!important;
    box-shadow:0 30px 90px rgba(0,0,0,.34)!important;
    transform:none!important;
    text-align:left!important;
    outline:none;
}
.gift-product-modal__topbar{
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:space-between;
    min-height:54px;
    padding:8px 10px 8px 20px;
    border-bottom:1px solid #ece8e3;
    background:#fff;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.gift-product-modal__close{
    -webkit-appearance:none!important;
    appearance:none!important;
    display:grid!important;
    place-items:center!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#f2f3f4!important;
    color:#27292d!important;
    font:inherit!important;
    font-size:1.55rem!important;
    line-height:1!important;
    box-shadow:none!important;
    cursor:pointer!important;
}
.gift-product-modal__close:hover,
.gift-product-modal__close:focus-visible{background:#e7e9eb!important;outline:2px solid rgba(20,95,180,.25)!important;outline-offset:2px}
.gift-product-modal__body{
    display:grid;
    grid-template-columns:minmax(280px,.92fr) minmax(300px,1.08fr);
    min-height:0;
    overflow:auto;
    overscroll-behavior:contain;
}
.gift-product-modal__media{
    display:grid;
    place-items:center;
    min-height:390px;
    overflow:hidden;
    border-right:1px solid #eee9e4;
    background:linear-gradient(145deg,#faf8f5,#f2eee9);
}
.gift-product-modal__media img{
    display:block;
    width:100%;
    height:100%;
    max-height:580px;
    padding:20px;
    object-fit:contain;
    background:#fff;
}
.gift-product-modal__placeholder{font-size:5rem}
.gift-product-modal__content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    padding:clamp(25px,4vw,44px);
}
.gift-product-modal__store{
    overflow:hidden;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.12em;
    text-overflow:ellipsis;
    text-transform:uppercase;
    white-space:nowrap;
    opacity:.56;
}
.gift-product-modal__content h3{
    margin:.55rem 0 .9rem!important;
    color:#252422!important;
    font:inherit!important;
    font-size:clamp(1.45rem,3vw,2.15rem)!important;
    font-weight:800!important;
    line-height:1.15!important;
    text-align:left!important;
}
.gift-product-modal__state{
    display:inline-flex;
    align-self:flex-start;
    padding:6px 10px;
    border-radius:999px;
    background:#e8f7ee;
    color:#126c3b;
    font-size:.76rem;
    font-weight:800;
}
.gift-product-modal__state[data-state="reserved"]{background:#eef0f2;color:#62676d}
.gift-product-modal__state[data-state="mine"]{background:#fff2d2;color:#7b5100}
.gift-product-modal__message{
    min-height:0!important;
    margin:1rem 0 1.2rem!important;
    color:#62666c!important;
    font:inherit!important;
    font-size:.9rem!important;
    line-height:1.55!important;
    text-align:left!important;
}
.gift-product-modal__actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    width:100%;
}
.gift-product-modal__actions form{display:contents;margin:0!important;padding:0!important}
.gift-product-modal__reserve,
.gift-product-modal__shop{
    -webkit-appearance:none!important;
    appearance:none!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:48px!important;
    width:100%!important;
    margin:0!important;
    padding:11px 14px!important;
    border-radius:13px!important;
    font:inherit!important;
    font-size:.88rem!important;
    font-weight:800!important;
    line-height:1.2!important;
    text-align:center!important;
    text-decoration:none!important;
    box-shadow:none!important;
    cursor:pointer!important;
}
.gift-product-modal__reserve{
    border:1px solid #15283f!important;
    background:#15283f!important;
    color:#fff!important;
}
.gift-product-modal__reserve:hover,
.gift-product-modal__reserve:focus-visible{background:#0d1d30!important;outline:2px solid rgba(21,40,63,.22)!important;outline-offset:2px}
.gift-product-modal__reserve.is-confirming{background:#8a5422!important;border-color:#8a5422!important}
.gift-product-modal__reserve[disabled]{opacity:.58!important;cursor:wait!important}
.gift-product-modal__shop{
    border:1px solid #d9dde1!important;
    background:#fff!important;
    color:#2c3035!important;
}
.gift-product-modal__shop:hover,
.gift-product-modal__shop:focus-visible{background:#f5f6f7!important;outline:2px solid rgba(40,80,130,.16)!important;outline-offset:2px}
.gift-product-modal__shop.is-disabled{opacity:.45;pointer-events:none}
.gift-product-modal__privacy{
    display:block;
    margin-top:14px;
    color:#72767b;
    font-size:.74rem;
    line-height:1.45;
}
body.gift-product-modal-open{overflow:hidden!important}

@media(max-width:700px){
    .gift-product-modal{padding:0!important;place-items:stretch!important}
    .gift-product-modal__dialog{
        width:100%!important;
        max-width:none!important;
        height:100dvh!important;
        max-height:100dvh!important;
        border:0!important;
        border-radius:0!important;
    }
    .gift-product-modal__topbar{min-height:58px;padding-left:16px}
    .gift-product-modal__body{
        display:flex;
        flex-direction:column;
        min-height:0;
        overflow:auto;
        -webkit-overflow-scrolling:touch;
    }
    .gift-product-modal__media{
        flex:0 0 auto;
        width:100%;
        min-height:0;
        height:min(38dvh,330px);
        border-right:0;
        border-bottom:1px solid #eee9e4;
    }
    .gift-product-modal__media img{height:100%;max-height:none;padding:14px}
    .gift-product-modal__content{flex:0 0 auto;padding:22px 18px 28px}
    .gift-product-modal__content h3{font-size:clamp(1.35rem,6vw,1.85rem)!important}
    .gift-product-modal__actions{grid-template-columns:1fr}
    .gift-product-modal__actions form{display:block}
}

@media(prefers-reduced-motion:reduce){
    .gift-product-card__open{transition:none}
}

/* ==================================================================
   SISINV 3.0.32 · Selector inteligente de modalidades de regalo
   Productos · Yape/Plin · Transferencia bancaria
   ================================================================== */
.gift-methods{
    width:100%;
    margin:1.15rem auto 0;
    container-type:inline-size;
}
.gift-methods__heading{
    max-width:620px;
    margin:0 auto 18px;
    text-align:center;
}
.gift-methods__heading>span,
.gift-payment-method__heading>span{
    display:block;
    margin-bottom:5px;
    font-size:.7rem;
    font-weight:800;
    letter-spacing:.17em;
    text-transform:uppercase;
    opacity:.58;
}
.gift-methods__heading h3,
.gift-payment-method__heading h3{
    margin:0!important;
    color:inherit!important;
    font:inherit!important;
    font-size:clamp(1.25rem,4vw,1.65rem)!important;
    font-weight:800!important;
    line-height:1.2!important;
    text-align:center!important;
}
.gift-methods__heading p,
.gift-payment-method__heading p{
    max-width:520px;
    margin:8px auto 0!important;
    color:inherit!important;
    font:inherit!important;
    font-size:.88rem!important;
    line-height:1.55!important;
    text-align:center!important;
    opacity:.72;
}
.gift-methods__selector{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));
    gap:10px;
    margin:0 0 18px;
}
.gift-method-choice,
.gift-account-choice,
.gift-report-toggle{
    -webkit-appearance:none;
    appearance:none;
    font:inherit;
    cursor:pointer;
}
.gift-method-choice{
    display:grid;
    grid-template-columns:44px minmax(0,1fr) 18px;
    gap:10px;
    align-items:center;
    width:100%;
    min-height:82px;
    margin:0!important;
    padding:12px 13px!important;
    border:1px solid rgba(115,98,82,.19)!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.76)!important;
    color:inherit!important;
    box-shadow:0 8px 22px rgba(45,37,30,.06)!important;
    text-align:left!important;
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.gift-method-choice:hover,
.gift-method-choice:focus-visible,
.gift-method-choice.is-active{
    border-color:rgba(145,94,39,.38)!important;
    box-shadow:0 10px 26px rgba(80,54,29,.11)!important;
    outline:none!important;
}
.gift-method-choice:active{transform:translateY(1px)}
.gift-method-choice__icon{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border-radius:13px;
    background:rgba(248,241,230,.9);
    font-size:1.35rem;
}
.gift-method-choice__copy{
    display:grid;
    min-width:0;
    gap:2px;
}
.gift-method-choice__copy strong{
    color:inherit;
    font-size:.92rem;
    line-height:1.25;
}
.gift-method-choice__copy small{
    color:inherit;
    font-size:.72rem;
    line-height:1.35;
    opacity:.65;
}
.gift-method-choice__copy em{
    margin-top:3px;
    color:#756024;
    font-size:.68rem;
    font-style:normal;
    font-weight:800;
}
.gift-method-choice__arrow,
.gift-account-choice__arrow{
    font-size:1.45rem;
    line-height:1;
    opacity:.38;
}
.gift-method-choice.is-active .gift-method-choice__arrow,
.gift-account-choice.is-active .gift-account-choice__arrow{opacity:.8}
.gift-method-panel{
    width:100%;
    margin-top:12px;
}
.gift-methods.is-enhanced .gift-method-panel[hidden]{display:none!important}

.gift-payment-method{
    width:100%;
    margin:0 auto;
    padding:18px;
    border:1px solid rgba(115,98,82,.16);
    border-radius:19px;
    background:rgba(255,255,255,.64);
    box-shadow:0 8px 26px rgba(56,43,31,.055);
}
.gift-payment-method__heading{
    max-width:620px;
    margin:0 auto 16px;
    text-align:center;
}
.gift-account-picker{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));
    gap:9px;
    margin:0 0 14px;
}
.gift-account-choice{
    display:grid;
    grid-template-columns:38px minmax(0,1fr) 16px;
    gap:9px;
    align-items:center;
    width:100%;
    min-height:68px;
    margin:0!important;
    padding:10px 11px!important;
    border:1px solid rgba(120,107,95,.2)!important;
    border-radius:14px!important;
    background:#fff!important;
    color:inherit!important;
    box-shadow:none!important;
    text-align:left!important;
}
.gift-account-choice:hover,
.gift-account-choice:focus-visible,
.gift-account-choice.is-active{
    border-color:rgba(145,94,39,.42)!important;
    outline:none!important;
    box-shadow:0 7px 18px rgba(80,54,29,.08)!important;
}
.gift-account-choice__icon{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border-radius:11px;
    background:#f8f3ec;
    font-size:1.05rem;
}
.gift-account-choice>span:nth-child(2){display:grid;min-width:0;gap:1px}
.gift-account-choice strong{font-size:.84rem;line-height:1.25}
.gift-account-choice small{overflow:hidden;font-size:.7rem;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;opacity:.62}
.gift-payment-method.is-enhanced .gift-account-panel[hidden]{display:none!important}
.gift-account-panel{width:100%}
.gift-account-detail{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    align-items:center;
    padding:16px;
    border:1px solid rgba(118,103,87,.14);
    border-radius:17px;
    background:#fff;
}
.gift-account-detail--with-qr{grid-template-columns:minmax(128px,165px) minmax(0,1fr)}
.gift-account-detail__qr{
    display:grid;
    place-items:center;
    gap:7px;
    min-width:0;
}
.gift-account-detail__qr img{
    display:block;
    width:min(100%,160px)!important;
    height:auto!important;
    max-height:160px!important;
    margin:0!important;
    padding:8px!important;
    border:1px solid #ece8e2;
    border-radius:14px;
    background:#fff;
    object-fit:contain;
}
.gift-account-detail__qr small{font-size:.68rem;opacity:.58}
.gift-account-detail__info{
    display:grid;
    min-width:0;
    gap:6px;
    text-align:left;
}
.gift-account-detail__info>span{
    font-size:.66rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    opacity:.52;
}
.gift-account-detail__info h4{
    margin:0 0 3px!important;
    color:inherit!important;
    font:inherit!important;
    font-size:1.2rem!important;
    font-weight:800!important;
    line-height:1.2!important;
    text-align:left!important;
}
.gift-account-detail__info p{
    margin:0!important;
    color:inherit!important;
    font:inherit!important;
    font-size:.84rem!important;
    line-height:1.45!important;
    overflow-wrap:anywhere;
    text-align:left!important;
}
.gift-account-detail__note{
    margin-top:5px!important;
    padding-top:8px;
    border-top:1px dashed rgba(100,90,80,.18);
    opacity:.7;
}
.gift-copy-value{font-weight:700;letter-spacing:.015em}
.gift-report-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:46px!important;
    margin:10px 0 0!important;
    padding:10px 14px!important;
    border:1px solid rgba(27,65,103,.22)!important;
    border-radius:13px!important;
    background:rgba(235,244,252,.78)!important;
    color:#173c62!important;
    font-size:.84rem!important;
    font-weight:800!important;
    line-height:1.2!important;
    text-align:center!important;
    box-shadow:none!important;
}
.gift-report-toggle:hover,
.gift-report-toggle:focus-visible,
.gift-report-toggle.is-active{background:#e5f1fb!important;outline:none!important}
.gift-report-form{
    display:grid;
    gap:11px;
    margin:10px 0 0!important;
    padding:15px!important;
    border:1px solid rgba(113,100,85,.16);
    border-radius:15px;
    background:rgba(252,250,247,.92);
    text-align:left;
}
.gift-report-form[hidden]{display:none!important}
.gift-report-form__intro{display:grid;gap:3px;margin-bottom:2px;text-align:center}
.gift-report-form__intro strong{font-size:.92rem}
.gift-report-form__intro p{margin:0!important;font-size:.74rem!important;line-height:1.4!important;opacity:.64;text-align:center!important}
.gift-report-form label{display:grid;gap:5px;text-align:left}
.gift-report-form input,
.gift-report-form select,
.gift-report-form textarea{
    width:100%;
    min-width:0;
    box-sizing:border-box;
}
.gift-report-form button[type="submit"]{width:100%}
.gift-methods__history{
    display:grid;
    gap:9px;
    margin-top:16px;
    padding:13px 14px;
    border:1px solid rgba(115,98,82,.13);
    border-radius:14px;
    background:rgba(255,255,255,.5);
    text-align:left;
}
.gift-methods__history>strong{font-size:.8rem}
.gift-methods__history-list{display:grid;gap:7px}
.gift-methods__history-item{
    display:grid;
    grid-template-columns:26px minmax(0,1fr);
    gap:8px;
    align-items:center;
}
.gift-methods__history-item>span{font-size:1rem;text-align:center}
.gift-methods__history-item>div{display:grid;min-width:0;gap:1px}
.gift-methods__history-item b{overflow:hidden;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}
.gift-methods__history-item small{font-size:.66rem;opacity:.6}

@container (max-width:520px){
    .gift-methods__selector,.gift-account-picker{grid-template-columns:1fr}
    .gift-method-choice{min-height:74px}
    .gift-payment-method{padding:14px 12px}
    .gift-account-detail--with-qr{grid-template-columns:1fr}
    .gift-account-detail__qr img{width:min(66%,180px)!important;max-height:180px!important}
    .gift-account-detail__info{text-align:center}
    .gift-account-detail__info h4,.gift-account-detail__info p{text-align:center!important}
}
@media(max-width:520px){
    .gift-methods__selector,.gift-account-picker{grid-template-columns:1fr}
    .gift-payment-method{padding:14px 12px}
    .gift-account-detail--with-qr{grid-template-columns:1fr}
    .gift-account-detail__qr img{width:min(66vw,180px)!important;max-height:180px!important}
    .gift-account-detail__info{text-align:center}
    .gift-account-detail__info h4,.gift-account-detail__info p{text-align:center!important}
}

/* ==================================================================
   SISINV 3.0.34 · Formulario de confirmación de pago
   Acabado visual profesional y táctil para inputs/select/textarea.
   Solo presentación: no altera nombres, validaciones ni AJAX.
   ================================================================== */
.gift-report-form{
    gap:14px;
    padding:18px!important;
    border-color:rgba(122,91,65,.18);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,253,250,.98),rgba(251,247,242,.96));
    box-shadow:0 10px 28px rgba(63,45,31,.055);
}
.gift-report-form__intro{
    gap:5px;
    margin-bottom:2px;
    padding-bottom:3px;
}
.gift-report-form__intro strong{
    color:inherit;
    font-size:1rem;
    font-weight:800;
    line-height:1.25;
}
.gift-report-form__intro p{
    max-width:430px;
    margin:0 auto!important;
    font-size:.78rem!important;
    line-height:1.5!important;
    opacity:.68;
}
.gift-report-form label{
    display:grid;
    gap:7px;
    min-width:0;
    color:inherit;
    font-size:.84rem;
    font-weight:700;
    line-height:1.25;
    text-align:left;
}
.gift-report-form label>small{
    display:inline;
    margin-left:2px;
    color:inherit;
    font-size:.68rem;
    font-weight:500;
    opacity:.58;
}
.gift-confirmation-grid{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(104px,.85fr);
    gap:11px;
    align-items:end;
    width:100%;
}
.gift-report-form input:not([type="hidden"]),
.gift-report-form select,
.gift-report-form textarea{
    -webkit-appearance:none;
    appearance:none;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    border:1px solid rgba(96,80,66,.22)!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#302c28!important;
    font-family:inherit!important;
    font-size:16px!important;
    font-weight:500!important;
    line-height:1.3!important;
    outline:none!important;
    box-shadow:inset 0 1px 2px rgba(36,27,20,.025),0 1px 0 rgba(255,255,255,.65)!important;
    transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease!important;
}
.gift-report-form input:not([type="hidden"]),
.gift-report-form select{
    min-height:48px!important;
    padding:11px 13px!important;
}
.gift-report-form select{
    padding-right:38px!important;
    background-color:#fff!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5' fill='none' stroke='%23685c52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;
    background-position:right 12px center!important;
    background-size:16px 16px!important;
    cursor:pointer;
}
.gift-report-form textarea{
    min-height:104px!important;
    padding:12px 13px!important;
    resize:vertical;
}
.gift-report-form input::placeholder,
.gift-report-form textarea::placeholder{
    color:#948a82!important;
    opacity:1!important;
}
.gift-report-form input:not([type="hidden"]):hover,
.gift-report-form select:hover,
.gift-report-form textarea:hover{
    border-color:rgba(122,91,65,.34)!important;
}
.gift-report-form input:not([type="hidden"]):focus,
.gift-report-form select:focus,
.gift-report-form textarea:focus{
    border-color:#9b6a45!important;
    background:#fffefc!important;
    box-shadow:0 0 0 3px rgba(155,106,69,.13)!important;
}
.gift-report-form input[type="number"]{
    -moz-appearance:textfield;
}
.gift-report-form input[type="number"]::-webkit-outer-spin-button,
.gift-report-form input[type="number"]::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}
.gift-report-form button[type="submit"]{
    min-height:48px!important;
    margin-top:2px!important;
    border-radius:12px!important;
    font-size:.88rem!important;
    font-weight:800!important;
}

@container (max-width:360px){
    .gift-confirmation-grid{grid-template-columns:1fr}
}
@media(max-width:390px){
    .gift-report-form{padding:15px!important}
    .gift-confirmation-grid{grid-template-columns:1fr}
}


/* ==================================================================
   SISINV 3.0.41 · Descarga de QR Yape / Plin
   ================================================================== */
.gift-qr-download{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:36px;
    margin-top:2px;
    padding:8px 12px;
    border:1px solid rgba(111,89,65,.18);
    border-radius:999px;
    background:rgba(248,243,236,.92);
    color:inherit!important;
    font:inherit;
    font-size:.74rem;
    font-weight:800;
    line-height:1;
    text-decoration:none!important;
    box-shadow:0 4px 12px rgba(66,48,31,.055);
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.gift-qr-download:hover,
.gift-qr-download:focus-visible{
    border-color:rgba(145,94,39,.4);
    outline:none;
    box-shadow:0 6px 16px rgba(80,54,29,.1);
}
.gift-qr-download:active{transform:translateY(1px)}
.gift-qr-download span{font-size:1rem;line-height:.8}
@media(max-width:520px){
    .gift-qr-download{width:100%;max-width:180px;min-height:40px}
}
