@font-face {

    font-family: 'Cormorant';

    src:
        url('/public/css/fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2'),
        

    font-weight: 400;
    font-style: italic;

}



.product-media {

    width: 100%;
    position:relative;
    margin: 0;
    padding: 0;

    display: flex;

    align-items: flex-start;

}

.product-media picture {

    width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;

    display: block;

}

.product-media img {

    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

}
.product-media img{border-top-left-radius: var(--amoo-radius);
border-bottom-left-radius: var(--amoo-radius);}
.product-media__picture--secondary img{border-top-right-radius: var(--amoo-radius);
border-bottom-right-radius: var(--amoo-radius);border-top-left-radius:0;border-bottom-left-radius:0; margin-left:2px;}

.product-media__gallery {
    position: absolute;
    top: 1rem;
    right: 1rem;

    width: 2.45rem;
    height: 2.45rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 999px;

    background: rgba(255,255,255,.70);
    color: var(--amoo-muted);

    box-shadow:
        0 2px 8px rgba(0,0,0,0.08),
        0 10px 24px rgba(0,0,0,0.10);

    cursor: pointer;
}

.product-media__gallery:hover {
    background: #fff;
    color: var(--amoo-text);
}

.product-media__gallery .icon {
    width: 2.0rem;
    height: 2.0rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}




div.product-buy-box__row{width: 100%; margin-bottom:10px; display:flex; gap:10px;}
div.product-buy-box__horarios{width: 100%; margin-bottom:10px;}
div.product-buy-box__extras{width: 100%; margin-bottom:10px;}
div.product-buy-box__actions{width: 100%; margin-bottom:10px;}
label.product-buy-box__extra, label.product-buy-box__horario{display: inline-block;width: 100%; margin-bottom:10px;}



body[data-gallery="open"] {
    overflow: hidden;
}
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.95);
}

.gallery-modal__box {
    background: transparent;
    margin: 0 auto;
    padding:2vh 1vw;
    position: relative;
    color: #fff;
    height: 100%;
        width:
        min(
            calc(var(--page-max) * var(--page-scale)),
            100%
        );
}
body[data-gallery="open"] {
    overflow: hidden;
}
.gallery-modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;

    z-index: 20;

    width: 2.75rem;
    height: 2.75rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);

    color: #fff;
    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease;
}

.gallery-modal__close:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.45);
}
.gallery {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.25rem;
}

.gallery__stage {
    min-width: 0;
    height: 96vh;

    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    padding:0; margin:0;
}

.gallery__stage picture {
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--amoo-radius);
}

.gallery__caption {
    padding: .75rem 0 0;
    color: rgba(255,255,255,.82);
    text-align: center;
}

.gallery__nav {
    min-height: 0;
    overflow: auto;
    padding-right: .35rem;
    margin-top:6vh;
}

.gallery__group + .gallery__group {
    margin-top: 1.25rem;
}

.gallery__group-title {
    margin-bottom: .55rem;
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    font-weight: 600;
}

.gallery__thumbs {
    display: grid;
    gap: .55rem;
}

.gallery__thumb {
    display: grid;
    grid-template-columns: 5rem 1fr;
    align-items: center;
    gap: .75rem;

    padding: .35rem;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: .75rem;

    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.84);

    font: inherit;
    text-align: left;
    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease;
}

.gallery__thumb:hover,
.gallery__thumb[aria-current="true"] {
    border-color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.12);
}

.gallery__thumb img {
    width:5rem;
    height:5rem;
    border-radius: .55rem;
}

.gallery__thumb span {
    line-height: 1.25;
}
body.gallery-open {
    overflow: hidden;
    position:fixed; top:0; left:0; height:100%;width:100%;
}



.product-detail {
    display: grid;
    grid-template-columns: 1fr 25%;
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}

.product_info_box {
    min-width: 0;
}


.product-buy-box {
    position: sticky;
    top: 1rem;
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--amoo-border);
    border-radius: var(--amoo-radius);
    background: var(--amoo-surface);
}

.product-buy-box > div + div {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--amoo-border);
}


.product-buy-box__actions {
    display: grid;
    gap: .55rem;
}

.product-buy-box__btn {
    width: 100%;
    border: 1px solid var(--amoo-primary);
    border-radius: 999px;
    padding: .75rem 1rem;
    background: var(--amoo-surface);
    color: var(--amoo-primary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.product-buy-box__btn--gift {
    background: var(--amoo-primary);
    color: #fff;
}

.product-buy-box__btn:hover {
    box-shadow:
        0 4px 12px rgba(0,0,0,0.05),
        0 14px 32px rgba(0,0,0,0.08);
}
.qty-control__btn:disabled {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}

.qty-control__btn:disabled:hover {
    border-color: var(--amoo-border);
    color: var(--amoo-text);
    box-shadow: none;
}
.product-buy-box__total {
    display: grid;
    grid-template-columns: 72% 1fr;
    align-items: baseline;
    gap: 1.5rem;
    font-size:1.5rem;
}

.product-buy-box__price-current {
    white-space: nowrap;
}

.product-buy-box__total strong {
    font-size: 1.9rem;
}

.product-buy-box__old-price {
    justify-self: end;
    color: var(--amoo-muted);
    white-space: nowrap;
    font-size:1.1rem;
}
.product-buy-box__old-price del {
    color: var(--amoo-muted);
    text-decoration-color: #d9534f;
    text-decoration-thickness: 1.5px;
}
.product-buy-box__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    align-items: center;
}

.product-buy-box__qty {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-width: 0;
    white-space: nowrap;
}

.product-buy-box__qty--children {
    justify-self: end;
}

.product-buy-box__prefix,
.product-buy-box__suffix {
    color: var(--amoo-text);
    font-size: .95rem;
    font-weight: 500;
}


.qty-control {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    flex-shrink: 0;
}

.qty-control__btn {
    width: 1.3rem;
    height: 1.3rem;
    border: 1px solid var(--amoo-border);
    border-radius: 50%;
    background: var(--amoo-surface);
    color: var(--amoo-primary);
    font: inherit;
    line-height: 1;
    cursor: pointer;
    padding:0;
    vertical-align: middle;
}

.qty-control__btn:hover {
    color: var(--amoo-border);
    border-color: var(--amoo-border);
}

.qty-control__btn:disabled {
    color: var(--amoo-border);
    border-color: var(--amoo-border);
    background: var(--amoo-surface);
    cursor: not-allowed;
    pointer-events: none;
}

.qty-control__value {
    min-width: 1.25rem;
    text-align: center;
    font-weight: 600;
}

.product-buy-box [hidden] {
    display: none !important;
}
.product-buy-box__children-info {  
    padding: .55rem .7rem;
    border-radius: .65rem;
    background: color-mix(in srgb, var(--amoo-primary) 6%, transparent);
    color: var(--amoo-muted);
    font-size: .85rem;
    line-height: 1.4;
}

.product-buy-box__children-info p {
    margin: 0;
    padding: 0;
}

.product-buy-box__children-info p + p {
    margin-top: .25rem;
}

.product-buy-box__children-info strong {
    color: var(--amoo-text);
    font-weight: 600;
}
.product-buy-box__horario {

     color: var(--amoo-muted);
    transition: color .15s ease;
}

.product-buy-box__horario:has(input:checked) {
    color: var(--amoo-text);

}

.product-buy-box__horario input {
    margin: 0;
}
.product-buy-box__extras-title {
    color: var(--amoo-primary);
    font-weight: 600;
}
.product-buy-box__horario,
.product-buy-box__extra {
    display: flex;
    align-items: flex-start;
    gap: .1rem;
    padding: 0;
    cursor: pointer;
    font-size:.95rem;
}

.product-buy-box__horario input,
.product-buy-box__extra input {
    margin-top: .2rem;
    accent-color: var(--amoo-primary);
}

.product-buy-box__extras-title {
    padding: 0;
    margin-bottom: .35rem;
    color: var(--amoo-primary);
    font-weight: 600;
}

.product-buy-box__extra-main {
    flex: 1;
    min-width: 0;
}


.product-buy-box__extra-price {
    color: var(--amoo-muted);
    font-size: .9rem;
}
.product-buy-box__extra-more {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--amoo-primary);
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
}

.product-buy-box__extra-more:hover {
    text-decoration: underline;
}


.product-buy-box__extra-desc {
    margin-top: .35rem;
    color: var(--amoo-muted);
    font-size: .85rem;
    line-height: 1.45;
}
.product-buy-box{
    box-shadow:
        0 2px 8px rgba(0,0,0,.04),
        0 10px 24px rgba(0,0,0,.06);
}


/* =========================
   GIFT WORKSHOP - DESKTOP
========================= */

body.gift-open {
    overflow: hidden;
}

.gift-workshop[hidden],
.gift-workshop [hidden] {
    display: none !important;
}

.gift-workshop {
    position: fixed;
    inset: 0;
    z-index: 1100;

    display: grid;
    place-items: center;

    padding: 2vh 1vw;

    background: rgba(0,0,0,.72);
    backdrop-filter: blur(5px);
}

.gift-workshop__overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.gift-workshop__modal {
    position: relative;
    z-index: 2;

    width:
        min(
            calc(var(--page-max) * var(--page-scale)),
            96vw
        );

    height: 94vh;

    display: grid;
    grid-template-rows: auto minmax(0, 1fr);

    overflow: hidden;

    border-radius: var(--amoo-radius);
    background: var(--amoo-surface);
    color: var(--amoo-text);

    box-shadow:
        0 10px 30px rgba(0,0,0,.16),
        0 30px 90px rgba(0,0,0,.28);
}

/* Cerrar */

.gift-workshop__modal > button[data-gift-close] {
    position: absolute;
    top: .85rem;
    right: .95rem;
    z-index: 4;

    width: 2.45rem;
    height: 2.45rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--amoo-border);
    border-radius: 999px;

    background: var(--amoo-surface);
    color: var(--amoo-muted);

    font: inherit;
    font-size: 0;
    cursor: pointer;

    box-shadow:
        0 2px 8px rgba(0,0,0,.04),
        0 10px 24px rgba(0,0,0,.06);
}

.gift-workshop__modal > button[data-gift-close]::before,
.gift-workshop__modal > button[data-gift-close]::after {
    content: "";
    position: absolute;

    width: 1.05rem;
    height: 1.5px;

    background: currentColor;
    border-radius: 999px;
}

.gift-workshop__modal > button[data-gift-close]::before {
    transform: rotate(45deg);
}

.gift-workshop__modal > button[data-gift-close]::after {
    transform: rotate(-45deg);
}

.gift-workshop__modal > button[data-gift-close]:hover {
    color: var(--amoo-primary);
    border-color: var(--amoo-primary);
}

/* Cabecera */

.gift-workshop__top {
    padding: 1rem 4rem 1rem 1.45rem;

    border-bottom: 1px solid var(--amoo-border);

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 3%,
            var(--amoo-surface)
        );
}

.gift-workshop__eyebrow {
    display: block;

    margin-bottom: .15rem;

    color: var(--amoo-muted);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
}

.gift-workshop__top h2 {
    margin: 0;
    padding: 0;

    color: var(--amoo-text);
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    font-weight: 600;
    line-height: 1.18;
}

/* Contenido AJAX */

.gift-workshop [data-gift-workshop-content] {
    min-height: 0;
    overflow: auto;

    display: block;

    padding: 1.5rem 3rem 2rem;

    background: var(--amoo-surface);
}

/* =========================
   BASE FORM
========================= */

.gift-workshop__form,
.gift-workshop__form.page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.gift-workshop__form {
    display: grid;
    gap: 1.9rem;
    align-content: start;
}

.gift-workshop input[type="text"],
.gift-workshop input[type="tel"],
.gift-workshop select,
.gift-workshop textarea {
    width: 100%;

    border: 1px solid var(--amoo-border);
    border-radius: .75rem;

    background: var(--amoo-surface);
    color: var(--amoo-text);

    padding: .65rem .8rem;

    font: inherit;
    font-weight: 400;
}

.gift-workshop textarea {
    min-height: 6.4rem;
    resize: vertical;
}

.gift-workshop input:focus,
.gift-workshop select:focus,
.gift-workshop textarea:focus {
    outline: none;
    border-color: var(--amoo-primary);

    box-shadow:
        inset 0 1px 3px rgba(0,0,0,.04),
        0 0 0 3px color-mix(in srgb, var(--amoo-primary) 12%, transparent);
}

.gift-workshop input::placeholder,
.gift-workshop textarea::placeholder {
    color:
        color-mix(
            in srgb,
            var(--amoo-muted) 78%,
            transparent
        );
}

/* =========================
   STEP HEADERS
========================= */

.gift-step-head {
    display: grid;
    gap: .25rem;

    margin-bottom: .95rem;
}

.gift-step-head__kicker {
    width: fit-content;

    padding: .2rem .65rem;

    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 10%,
            var(--amoo-surface)
        );

    color: var(--amoo-primary);

    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gift-step-head h3 {
    margin: 0;
    padding: 0;

    color: var(--amoo-text);

    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top:1rem;
}

.gift-step-head p {
    max-width: 58rem;

    margin: 0;
    padding: 0;

    color: var(--amoo-muted);

    font-size: .95rem;
    line-height: 1.45;
}

/* =========================
   STEP 1 - EDITOR
========================= */

.gift-editor {
    display: grid;
    gap: 0;
}

.gift-editor__grid {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

/* Campos mensaje */

.gift-message-box {
    display: grid;
    gap: .9rem;

    align-self: start;

    padding: 1rem;

    border: 1px solid var(--amoo-border);
    border-radius: calc(var(--amoo-radius) - 4px);

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 3%,
            var(--amoo-surface)
        );
}

.gift-field {
    display: grid;
    gap: .35rem;
}

.gift-field > span,
.gift-card-collection > span {
    color: var(--amoo-text);

    font-size: .9rem;
    font-weight: 600;
}

.gift-field textarea {
    min-height: 7.4rem;
}

.gift-field textarea:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* Vídeo */

.gift-video-box {
    display: grid;
    gap: .55rem;

    padding-top: .25rem;
}

.gift-video-box__btn {
    width: 100%;

    border: 1px solid var(--amoo-primary);
    border-radius: 999px;

    padding: .72rem 1rem;

    background: var(--amoo-surface);
    color: var(--amoo-primary);

    font: inherit;
    font-weight: 700;

    cursor: pointer;
}

.gift-video-box__btn:hover {
    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 7%,
            var(--amoo-surface)
        );
}

.gift-video-box__created {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;

    padding: .65rem .75rem;

    border: 1px solid color-mix(in srgb, var(--amoo-primary) 30%, var(--amoo-border));
    border-radius: .75rem;

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 8%,
            var(--amoo-surface)
        );

    color: var(--amoo-text);

    font-size: .9rem;
    font-weight: 600;
}

.gift-video-box__created button {
    border: 0;
    background: transparent;

    color: #d9534f;

    font: inherit;
    font-size: .85rem;
    font-weight: 700;

    cursor: pointer;
}

.gift-video-box__note {
    margin: 0;
    padding: 0;

    color: var(--amoo-muted);

    font-size: .82rem;
    line-height: 1.35;
}
.gift-video-box__created span{color:#2ECC71; font-weight:400; font-size:1.1rem;}

/* =========================
   CARD DESIGNER
========================= */

.gift-card-designer {
    min-width: 0;

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;

    align-items: start;
}

.gift-card-designer__main {
    min-width: 0;
    width: 100%;
}

.gift-card-live {
    --gift-card-text-main: #2a211b;
    --gift-card-text-soft: #5e4e42;
    --gift-card-accent: var(--amoo-primary);

    --gift-name-size: clamp(1rem, 1.25vw, 1.25rem);
    --gift-message-size: 1.4rem;
    --gift-from-size: clamp(.85rem, 1.05vw, 1rem);

    position: relative;

    width: 100%;
    aspect-ratio: 2.1 / 1;

    overflow: hidden;

    border-radius: calc(var(--amoo-radius) - 2px);
    background: #f4f1ec;

    box-shadow:
        0 4px 14px rgba(0,0,0,.07),
        0 18px 42px rgba(0,0,0,.10);
}

.gift-card-live__picture,
.gift-card-live__picture img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.gift-card-live__picture img {
    object-fit: cover;
}


.gift-card-live__to {
    align-self: start;
    position: absolute;
    left:21%;
    top:82%;
    z-index: 2;
    color: var(--gift-card-text-main);
    font-size: var(--gift-name-size);
    line-height: 1.15;
    width: 34%;
    text-align:center;
}
.gift-card-live__Product {
    align-self: start;
    position: absolute;
    left:21%;
    top:65%;
    z-index: 2;
    color: var(--gift-card-text-main);
    font-size:1rem;
    line-height:.95rem;
    width: 34%;
    text-align:center;
}
.gift-card-live__Product span{color:var(--amoo-primary);}
.gift-card-live__text{
    align-self: start;
    position: absolute;
    left:70%;
    top:66%;
    z-index: 2;
    color: var(--gift-card-text-main);

    font-size: .8rem;
    line-height: 1.2;
    font-weight:100;
    width: 27%;
    text-align:center;

}
.gift-card-live__text span{font-size:1rem; font-style:italic; color: var(--gift-card-text-soft); line-height:2rem;}
.gift-card-live__message {
    font-family:Cormorant;
    position: absolute;
    left:47%;
    top:22%;
    width: 43%;text-align:center;
    color: var(--gift-card-text-soft);
    font-size: var(--gift-message-size);
    white-space: pre-wrap;
}

.gift-card-live__from {
    align-self: start;
    position: absolute;
    left:47%;
    top:5%;
    z-index: 2;
    color: var(--gift-card-text-main);
    font-size: var(--gift-name-size);
    line-height: 1.15;
    width: 43%;
    text-align:center;
}

.gift-card-live__video {
    position: absolute;
    right: 1rem;
    bottom: 1rem;

    padding: .38rem .7rem;

    border-radius: 999px;

    background: rgba(255,255,255,.78);
    color: var(--gift-card-accent);

    font-size: .8rem;
    font-weight: 700;

    box-shadow:
        0 2px 8px rgba(0,0,0,.08);
}

/* Selector + thumbs */

.gift-card-designer__picker {
    min-width: 0;

    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
}

.gift-card-collection {
    display: grid;
    gap: .35rem;

    max-width: 220px;
}

.gift-card-thumbs {
    min-width: 0;

    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 76px;
    gap: .55rem;

    max-height: none;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 0 0 .4rem;
}

.gift-card-thumb {
    width: 76px;
    height: 76px;

    display: block;

    border: 1px solid var(--amoo-border);
    border-radius: .75rem;

    padding: .28rem;

    background: var(--amoo-surface);

    cursor: pointer;
}

.gift-card-thumb:hover,
.gift-card-thumb[aria-current="true"] {
    border-color: var(--amoo-primary);

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 6%,
            var(--amoo-surface)
        );
}

.gift-card-thumb picture {
    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: .5rem;

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 4%,
            var(--amoo-surface)
        );
}

.gift-card-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.gift-card-thumb span {
    display: none;
}

/* =========================
   STEP 2 - ENTREGA DEL REGALO
========================= */

.gift-format {
    padding: 1rem;

    border-top: 1px solid var(--amoo-border);
}

.gift-delivery-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.gift-delivery-card {
    position: relative;

    min-height: 8.5rem;

    display: block;

    border: 1px solid var(--amoo-border);
    border-radius: calc(var(--amoo-radius) - 4px);

    background: var(--amoo-surface);
    color: var(--amoo-text);

    cursor: pointer;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.gift-delivery-card:hover {
    border-color:
        color-mix(
            in srgb,
            var(--amoo-primary) 42%,
            var(--amoo-border)
        );

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 3%,
            var(--amoo-surface)
        );

    box-shadow:
        0 2px 8px rgba(0,0,0,.035),
        0 10px 24px rgba(0,0,0,.055);
}

.gift-delivery-card:has(input:checked) {
    border-color: var(--amoo-primary);

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 7%,
            var(--amoo-surface)
        );

    box-shadow:
        0 3px 10px rgba(0,0,0,.045),
        0 14px 30px rgba(0,0,0,.075);
}

.gift-delivery-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gift-delivery-card__body {
    height: 100%;

    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: .5rem;

    padding: 1rem;
}

.gift-delivery-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.gift-delivery-card__name {
    display: block;

    color: var(--amoo-text);

    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.gift-delivery-card__badge {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    margin-right:1.5rem;
    padding: .22rem 1rem;

    border-radius: 999px;

    background: var(--amoo-primary);
    color: #fff;

    font-size: .9rem;
    font-weight: 500;
    line-height: 1;
}

.gift-delivery-card__badge--soft {
    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 10%,
            var(--amoo-surface)
        );

    color: var(--amoo-primary);
}

.gift-delivery-card__text {
    display: block;

    color: var(--amoo-muted);

    font-size: .9rem;
    line-height: 1.4;
}

.gift-delivery-card__meta {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    padding: .25rem .6rem;

    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 9%,
            var(--amoo-surface)
        );

    color: var(--amoo-primary);

    font-size: .85rem;
    font-weight: 700;
}

.gift-delivery-card:has(input:checked)::after {
    content: "✓";

    position: absolute;
    top: .75rem;
    right: .75rem;

    width: 1.35rem;
    height: 1.35rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: var(--amoo-primary);
    color: #fff;

    font-size: .85rem;
    font-weight: 700;
}

/* =========================
   FORMATOS FÍSICOS CON IMAGEN
========================= */

.gift-physical-options {
    margin-top: 1rem;
    padding: 1rem;

    border: 1px solid color-mix(in srgb, var(--amoo-primary) 18%, var(--amoo-border));
    border-radius: calc(var(--amoo-radius) - 4px);

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 3%,
            var(--amoo-surface)
        );
}

.gift-physical-options__head {
    display: grid;
    gap: .25rem;

    margin-bottom: .85rem;
}

.gift-physical-options__head h4 {
    margin: 0;
    padding: 0;

    color: var(--amoo-text);

    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.gift-physical-options__head p,
.gift-physical-options__empty {
    margin: 0;
    padding: 0;

    color: var(--amoo-muted);

    font-size: .9rem;
    line-height: 1.4;
}

.gift-physical-options__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .9rem;
}

.gift-physical-card {
    position: relative;

    display: grid;
    grid-template-rows: auto 1fr;

    overflow: hidden;

    border: 1px solid var(--amoo-border);
    border-radius: .95rem;

    background: var(--amoo-surface);
    color: var(--amoo-text);

    cursor: pointer;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.gift-physical-card:hover {
    border-color:
        color-mix(
            in srgb,
            var(--amoo-primary) 36%,
            var(--amoo-border)
        );

    box-shadow:
        0 2px 8px rgba(0,0,0,.035),
        0 10px 24px rgba(0,0,0,.055);
}

.gift-physical-card:has(input:checked) {
    border-color: var(--amoo-primary);

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 5%,
            var(--amoo-surface)
        );

    box-shadow:
        0 3px 10px rgba(0,0,0,.045),
        0 14px 30px rgba(0,0,0,.075);
}

.gift-physical-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gift-physical-card__media {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;

    overflow: hidden;

    border-bottom: 1px solid var(--amoo-border);

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 5%,
            var(--amoo-surface)
        );
}

.gift-physical-card__media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.gift-physical-card__body {
    min-height: 7rem;

    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: .45rem;

    padding: .85rem;
}

.gift-physical-card:not(.gift-physical-card--has-image) .gift-physical-card__body {
    min-height: 7.5rem;
}

.gift-physical-card__name {
    padding-right: 1.4rem;

    color: var(--amoo-text);

    font-size: .98rem;
    font-weight: 700;
    line-height: 1.2;
}

.gift-physical-card__text {
    color: var(--amoo-muted);

    font-size: .86rem;
    line-height: 1.35;
}

.gift-physical-card__price {
    width: fit-content;

    padding: .22rem .55rem;

    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 9%,
            var(--amoo-surface)
        );

    color: var(--amoo-primary);

    font-size: .82rem;
    font-weight: 700;
}

.gift-physical-card:has(input:checked)::after {
    content: "✓";

    position: absolute;
    top: .65rem;
    right: .65rem;

    width: 1.25rem;
    height: 1.25rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: var(--amoo-primary);
    color: #fff;

    font-size: .78rem;
    font-weight: 700;

    box-shadow:
        0 2px 8px rgba(0,0,0,.12);
}
/* =========================
   STEP 3 - ENVÍO
========================= */

.gift-envio {
    display: grid;
    gap: .9rem;

    padding: 1rem;

    border: 1px solid color-mix(in srgb, var(--amoo-primary) 16%, var(--amoo-border));
    border-radius: calc(var(--amoo-radius) - 4px);

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 3%,
            var(--amoo-surface)
        );
}
.gift-envio p{font-style:italic;}

.gift-envio .gift-step-head {
    margin-bottom: .25rem;
}

.gift-envio-choice {
    display: grid;
    gap: .45rem;

    margin-bottom: .25rem;
    padding: .75rem .85rem;

    border: 1px solid var(--amoo-border);
    border-radius: .75rem;

    background: var(--amoo-surface);
}

.gift-envio-choice h4 {
    margin: 0 0 .25rem;
    padding: 0;

    color: var(--amoo-text);

    font-size: .98rem;
    font-weight: 700;
}

.gift-envio-choice label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;

    color: var(--amoo-muted);

    font-size: .9rem;
    font-weight: 400;

    cursor: pointer;
}

.gift-workshop input[type="radio"] {
    accent-color: var(--amoo-primary);
}

/* Filas */

.gift-envio-row {
    display: grid;
    gap: .85rem;
    align-items: end;
}

.gift-envio-row--identity {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
}

.gift-envio-row--address {
    grid-template-columns: minmax(0, 1fr);
}

.gift-envio-row--location {
    grid-template-columns: 9rem minmax(0, 1fr) 16rem;
}

/* Campos */

.gift-envio-field {
    display: grid;
    gap: .35rem;

    min-width: 0;

    color: var(--amoo-text);

    font-size: .92rem;
    font-weight: 600;
}

.gift-envio-field > span {
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
}

.gift-envio-field em {
    color: var(--amoo-muted);

    font-size: .8rem;
    font-style: normal;
    font-weight: 400;
}

.gift-envio-field--notes {
    margin-top: .15rem;
}

/* Teléfono */

.gift-phone-field__controls {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr);
    gap: .5rem;
}

.gift-phone-field__prefix {
    text-align: center;

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 5%,
            var(--amoo-surface)
        ) !important;

    color: var(--amoo-muted);
    cursor: default;
}

/* CP cuidado: no input larguísimo */

.gift-envio-row--location input[data-gift-field="envio_cp"] {
    text-align: center;
}

/* Observaciones */

.gift-envio-field--notes textarea {
    min-height: 4.6rem;
}
/* =========================
   RESUMEN FINAL
========================= */

.gift-final-summary {
    padding: 1rem;

    border-top: 1px solid var(--amoo-border);
}

.gift-final-summary__box {
    display: grid;

    overflow: hidden;

    border: 1px solid var(--amoo-border);
    border-radius: calc(var(--amoo-radius) - 4px);

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 3%,
            var(--amoo-surface)
        );
}

.gift-final-summary__line {
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 1rem;
    align-items: baseline;

    padding: .85rem 1rem;

    border-top: 1px solid var(--amoo-border);
}

.gift-final-summary__line:first-child {
    border-top: 0;
}

.gift-final-summary__line span {
    color: var(--amoo-muted);

    font-size: .9rem;
}

.gift-final-summary__line strong {
    color: var(--amoo-text);

    font-weight: 600;
    line-height: 1.35;
}

.gift-final-summary__line--total {
    background: var(--amoo-surface);
}

.gift-final-summary__line--total strong {
    color: var(--amoo-primary);

    font-size: 1.15rem;
}

/* =========================
   CONFIRM
========================= */

.gift-confirm {
    display: grid;
    justify-items: center;
    gap: .45rem;

    padding: .25rem 1rem 1rem;
}

.gift-confirm [data-gift-cart-confirm] {
    width: 100%;
    max-width: 460px;

    border: 1px solid var(--amoo-primary);
    border-radius: 999px;

    padding: .95rem 1.35rem;

    background: var(--amoo-primary);
    color: #fff;

    font: inherit;
    font-size: 1.02rem;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(0,0,0,.05),
        0 14px 32px rgba(0,0,0,.08);
}

.gift-confirm [data-gift-cart-confirm]:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(0,0,0,.07),
        0 18px 38px rgba(0,0,0,.11);
}

.gift-confirm p {
    margin: 0;
    padding: 0;

    color: var(--amoo-muted);

    font-size: .86rem;
    text-align: center;
}
/* =========================
   GIFT CARD LIVE TEXT STATES
   Variables visibles + variables estables de medición
========================= */

.gift-card-live {
    /* Texto visible */
    --gift-name-size: 1.25rem;
    --gift-name-line: 1.12;

    --gift-message-size: 1.42rem;
    --gift-message-line: 1.25;

    --gift-from-size: 1.25rem;
    --gift-from-line: 1.12;

    /* Medición estable para JS: NO cambiar por estados */
    --gift-measure-to-size: 1.25rem;
    --gift-measure-to-line: 1.12;

    --gift-measure-message-size: 1.42rem;
    --gift-measure-message-line: 1.25;

    --gift-measure-from-size: 1.25rem;
    --gift-measure-from-line: 1.12;
}

/* =========================
   PARA
   Máximo 2 estados
========================= */

.gift-card-live[data-gift-to-lines="1"] {
    --gift-name-size: 1.25rem;
    --gift-name-line: 3.2;
}

.gift-card-live[data-gift-to-lines="2"] {
    --gift-name-size: 1.05rem;
    --gift-name-line: 1.6;
}

/* =========================
   DEDICATORIA
   Máximo 4 estados
========================= */

.gift-card-live[data-gift-message-lines="1"] {
    --gift-message-size: 1.5rem;
    --gift-message-line: 2.5;
}

.gift-card-live[data-gift-message-lines="2"] {
    --gift-message-size: 1.33rem;
    --gift-message-line: 1.5;
}

.gift-card-live[data-gift-message-lines="3"] {
    --gift-message-size: 1.17rem;
    --gift-message-line: 1.35;
}

.gift-card-live[data-gift-message-lines="4"] {
    --gift-message-size: 1.05rem;
    --gift-message-line: 1.20;
}

/* =========================
   DE PARTE DE
   Máximo 2 estados
========================= */

.gift-card-live[data-gift-from-lines="1"] {
    --gift-from-size: 1.25rem;
    --gift-from-line: 3.2;
}

.gift-card-live[data-gift-from-lines="2"] {
    --gift-from-size: 1.05rem;
    --gift-from-line: 1.60;
}

/* =========================
   APLICACIÓN AL TEXTO
========================= */

.gift-card-live__to {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: normal;

    font-size: var(--gift-name-size);
    line-height: var(--gift-name-line);
}

.gift-card-live__message {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;

    font-size: var(--gift-message-size);
    line-height: var(--gift-message-line);

    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.gift-card-live__from {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: normal;
    

    font-size: var(--gift-from-size);
    line-height: var(--gift-from-line);
}
.gift-field--error input,
.gift-field--error textarea,
.gift-field--error select {
    border-color: #d9534f !important;

    box-shadow:
        inset 0 1px 3px rgba(0,0,0,.04),
        0 0 0 3px rgba(217,83,79,.12) !important;
}

/* ============================================================
   AMOO · CAPA VÍDEO / AUDIO DEL REGALO · DESKTOP / TABLET
============================================================ */

.gift-media-layer[hidden] {
    display: none !important;
}

.gift-media-layer {
    position: fixed;
    inset: 0;
    z-index: 12000;

    display: grid;
    place-items: center;

    padding: 28px;

    pointer-events: none;
    isolation: isolate;
}

body.gift-media-open {
    overflow: hidden;
}


/* ============================================================
   FONDO
============================================================ */

.gift-media-layer__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        linear-gradient(
            180deg,
            rgba(14, 17, 18, 0.62),
            rgba(14, 17, 18, 0.82)
        );

    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);

    opacity: 0;

    transition:
        opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.gift-media-open .gift-media-layer {
    pointer-events: auto;
}

body.gift-media-open .gift-media-layer__overlay {
    opacity: 1;
}


/* ============================================================
   PANEL PRINCIPAL
============================================================ */

.gift-media-layer__panel {
    position: relative;
    z-index: 1;

    width: min(1160px, calc(100vw - 56px));
    max-height: calc(100dvh - 56px);

    display: grid;
    grid-template-rows: auto minmax(0, 1fr);

    overflow: hidden;

    background: var(--amoo-surface, #ffffff);
    color: var(--amoo-text, #252321);

    border: 1px solid
        color-mix(
            in srgb,
            var(--amoo-border, #ded9d3) 82%,
            transparent
        );

    border-radius: 26px;

    box-shadow:
        0 34px 100px rgba(0, 0, 0, 0.30),
        0 8px 30px rgba(0, 0, 0, 0.16);

    opacity: 0;

    transform:
        translateY(38px)
        scale(0.975);

    transform-origin: center bottom;

    transition:
        opacity 650ms ease,
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.gift-media-open .gift-media-layer__panel {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* ============================================================
   BOTÓN CERRAR
============================================================ */

.gift-media-layer__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;

    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 0 15px;

    border: 1px solid var(--amoo-border, #ded9d3);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.90);
    color: var(--amoo-text, #252321);

    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.08);

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease,
        opacity 180ms ease;
}

.gift-media-layer__close::before {
    content: "×";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
}

.gift-media-layer__close:hover {
    background: var(--amoo-text, #252321);
    border-color: var(--amoo-text, #252321);
    color: #ffffff;

    transform: translateY(-1px);
}

.gift-media-layer__close:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}

.gift-media-layer__close:focus-visible {
    outline: 3px solid
        color-mix(
            in srgb,
            var(--amoo-primary, #834050) 34%,
            transparent
        );

    outline-offset: 3px;
}


/* ============================================================
   CABECERA
============================================================ */

.gift-media-layer__top {
    position: relative;

    padding:
        28px
        160px
        23px
        32px;

    border-bottom: 1px solid var(--amoo-border, #e5e0da);

    background:
        linear-gradient(
            135deg,
            color-mix(
                in srgb,
                var(--amoo-primary, #834050) 7%,
                #ffffff
            ),
            #ffffff 58%
        );
}

.gift-media-layer__eyebrow {
    display: block;

    margin-bottom: 7px;

    color: var(--amoo-primary, #834050);

    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gift-media-layer__top h2 {
    max-width: 720px;

    margin: 0;

    color: var(--amoo-text, #252321);

    font-size: clamp(1.35rem, 2.15vw, 1.8rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.gift-media-layer__top p {
    max-width: 760px;

    margin: 10px 0 0;

    color: var(--amoo-muted, #6f6a64);

    font-size: 0.94rem;
    line-height: 1.55;
}


/* ============================================================
   DISTRIBUCIÓN PRINCIPAL
============================================================ */

.gift-media {
    min-height: 0;

    display: grid;
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(280px, 0.72fr);

    gap: 22px;

    padding: 24px;

    overflow: auto;
    overscroll-behavior: contain;
}


/* ============================================================
   ESCENARIO / PREVIEW
============================================================ */

.gift-media__stage {
    min-width: 0;

    display: grid;
    grid-template-rows: minmax(360px, 1fr) auto;

    gap: 14px;
}

.gift-media__preview {
    position: relative;

    min-width: 0;
    min-height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 35%,
            #20282b,
            #111719 72%
        );

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 -40px 90px rgba(0, 0, 0, 0.20);
}

.gift-media__preview::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.035),
            transparent 38%
        );
}

.gift-media__preview video {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 50vh;

    object-fit: contain;

    background: #090d0e;
}

.gift-media__preview audio {
    position: relative;
    z-index: 1;

    width: min(520px, calc(100% - 50px));
}

.gift-media__empty {
    position: relative;
    z-index: 1;

    width: min(460px, calc(100% - 48px));

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 45px 35px;

    text-align: center;
}

.gift-media__empty::before {
    content: "▶";

    width: 66px;
    height: 66px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;
    padding-left: 4px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);

    font-size: 1.35rem;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.20);
}

.gift-media__empty strong {
    color: #ffffff;

    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
}

.gift-media__empty span {
    max-width: 370px;

    margin-top: 9px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.9rem;
    line-height: 1.5;
}


/* ============================================================
   ESTADO
============================================================ */

.gift-media__status {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 16px;

    border: 1px solid var(--amoo-border, #e4dfd9);
    border-radius: 14px;

    background:
        color-mix(
            in srgb,
            var(--amoo-bg, #f7f5f2) 80%,
            #ffffff
        );

    color: red;

    font-size: 1rem;
    line-height: 1.45;
    text-align: center;
}

.gift-media__status strong {
    color: red;
    font-weight: 700;
}


/* ============================================================
   COLUMNA DE ACCIONES
============================================================ */

.gift-media__side {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 22px;

    border: 1px solid var(--amoo-border, #e3ded8);
    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            color-mix(
                in srgb,
                var(--amoo-bg, #f7f5f2) 74%,
                #ffffff
            )
        );

    box-shadow:
        0 10px 32px rgba(43, 37, 32, 0.06);
}

.gift-media__actions {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.gift-media__button {
    width: 100%;
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 16px;

    border: 1px solid var(--amoo-border, #dcd7d1);
    border-radius: 13px;

    background: #ffffff;
    color: var(--amoo-text, #252321);

    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;

    cursor: pointer;

    box-shadow:
        0 4px 13px rgba(35, 31, 28, 0.045);

    transition:
        transform 170ms ease,
        border-color 170ms ease,
        background-color 170ms ease,
        color 170ms ease,
        box-shadow 170ms ease,
        opacity 170ms ease;
}

.gift-media__button:hover {
    border-color:
        color-mix(
            in srgb,
            var(--amoo-primary, #834050) 50%,
            var(--amoo-border, #dcd7d1)
        );

    color: var(--amoo-primary, #834050);

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(35, 31, 28, 0.09);
}

.gift-media__button--primary {
    border-color: var(--amoo-primary, #834050);

    background: var(--amoo-primary, #834050);
    color: #ffffff;

    box-shadow:
        0 9px 24px
        color-mix(
            in srgb,
            var(--amoo-primary, #834050) 27%,
            transparent
        );
}

.gift-media__button--primary:hover {
    border-color:
        color-mix(
            in srgb,
            var(--amoo-primary, #834050) 80%,
            #000000
        );

    background:
        color-mix(
            in srgb,
            var(--amoo-primary, #834050) 88%,
            #000000
        );

    color: #ffffff;
}

.gift-media__button--danger {
    border-color: #b64444;
    background: #b64444;
    color: #ffffff;

    box-shadow:
        0 8px 22px rgba(182, 68, 68, 0.20);
}

.gift-media__button--danger:hover {
    border-color: #943535;
    background: #943535;
    color: #ffffff;
}

.gift-media__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gift-media__button:focus-visible {
    outline: 3px solid
        color-mix(
            in srgb,
            var(--amoo-primary, #834050) 28%,
            transparent
        );

    outline-offset: 3px;
}

.gift-media__small {
    margin: 5px 2px 0;

    color: var(--amoo-muted, #77716b);

    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}


/* ============================================================
   PROGRESO DE SUBIDA
============================================================ */

.gift-media__progress {
    margin-top: auto;
    padding-top: 22px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 12px;

    color: var(--amoo-muted, #6f6a64);

    font-size: 0.78rem;
}

.gift-media__progress[hidden] {
    display: none !important;
}

.gift-media__progress progress {
    grid-column: 1 / -1;

    width: 100%;
    height: 8px;

    overflow: hidden;

    border: 0;
    border-radius: 999px;

    background: #e8e4df;

    appearance: none;
    -webkit-appearance: none;
}

.gift-media__progress progress::-webkit-progress-bar {
    background: #e8e4df;
    border-radius: 999px;
}

.gift-media__progress progress::-webkit-progress-value {
    border-radius: 999px;
    background: var(--amoo-primary, #834050);
}

.gift-media__progress progress::-moz-progress-bar {
    border-radius: 999px;
    background: var(--amoo-primary, #834050);
}

.gift-media__progress strong {
    color: var(--amoo-text, #252321);
    font-size: 0.8rem;
}


/* ============================================================
   SPINNER
============================================================ */

.gift-media-spinner {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    border: 2px solid
        color-mix(
            in srgb,
            var(--amoo-primary, #834050) 18%,
            transparent
        );

    border-top-color: var(--amoo-primary, #834050);
    border-radius: 50%;

    animation:
        amooGiftMediaSpin 700ms linear infinite;
}

@keyframes amooGiftMediaSpin {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   SCROLLBAR DEL PANEL
============================================================ */

.gift-media::-webkit-scrollbar {
    width: 10px;
}

.gift-media::-webkit-scrollbar-track {
    background: transparent;
}

.gift-media::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--amoo-muted, #6f6a64) 32%,
            transparent
        );

    background-clip: padding-box;
}

.gift-media::-webkit-scrollbar-thumb:hover {
    background:
        color-mix(
            in srgb,
            var(--amoo-muted, #6f6a64) 48%,
            transparent
        );

    background-clip: padding-box;
}
/* ============================================================
   ICONOS DE ACCIONES
============================================================ */

.gift-media__button {
    gap: 10px;
}

.gift-media__button-icon {
    flex: 0 0 auto;

    width: 21px;
    height: 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gift-media__button-icon svg {
    display: block;

    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ============================================================
   CONFIRMACIÓN FINAL
============================================================ */

.gift-media__success {
    position: relative;
    z-index: 1;

    width: min(440px, calc(100% - 48px));

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 44px 30px;

    color: #ffffff;
    text-align: center;
}

.gift-media__success-mark {
    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;

    background:
        color-mix(
            in srgb,
            var(--amoo-primary, #834050) 76%,
            #ffffff
        );

    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.24);
}

.gift-media__success-mark svg {
    width: 34px;
    height: 34px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gift-media__success strong {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.gift-media__success > span:last-child {
    margin-top: 9px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.9rem;
    line-height: 1.5;
}


/* ============================================================
   COUNTDOWN
============================================================ */

.gift-media__countdown {
    margin: 5px 0 0;

    color: var(--amoo-muted, #77716b);

    font-size: 0.79rem;
    line-height: 1.5;
    text-align: center;
}

.gift-media__countdown strong {
    display: inline-block;

    min-width: 1.4em;

    color: var(--amoo-primary, #834050);

    font-size: 0.95rem;
    font-weight: 700;
}
.gift-video-box__btn[hidden],
.gift-video-box__created[hidden] {
    display: none !important;
}


/* ============================================================
   INFORMACIÓN PRINCIPAL DEL PRODUCTO — DESKTOP
============================================================ */

.product_info_box {
    min-width: 0;
}

.product_info_box > h1 {
    margin: 0 0 .55rem;
}


/* ============================================================
   LO QUE VAS A REGALAR
============================================================ */

.product-gift-summary__slogan {
    margin: 0 0 .7rem;
    padding: .58rem .8rem;

    border-left: 3px solid var(--amoo-primary);
    border-radius: 0 .65rem .65rem 0;

    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 5%,
            var(--amoo-surface)
        );

    color:
        color-mix(
            in srgb,
            var(--amoo-text) 86%,
            var(--amoo-surface)
        );

    font-size: .94rem;
    line-height: 1.38;
}

.product-gift-summary__slogan strong {
    margin-right: .15rem;

    color: var(--amoo-text);
    font-weight: 600;
}


/* ============================================================
   INCLUYE + VALIDEZ
   Lectura vertical, uno debajo del otro
============================================================ */

.product-info {
    margin: 0;
    padding: .05rem 0 0;
}


/* Separación únicamente entre las dos secciones */

.product-info + .product-info {
    margin-top: .72rem;
    padding-top: .72rem;
}


.product-info__title {
    margin: 0 0 .26rem;
    padding: 0;

    color: var(--amoo-text);

    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.20;
    letter-spacing: -.01em;
}


.product-info__text {
    max-width: 58rem;

    margin: 0;
    padding: 0;

    color:
        color-mix(
            in srgb,
            var(--amoo-text) 82%,
            var(--amoo-surface)
        );

    font-size: .94rem;
    line-height: 1.48;
}


.product-info__text strong {
    color: var(--amoo-text);
    font-weight: 600;
}


/* ============================================================
   CONTACTO
============================================================ */

.product-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .3rem;

    margin: .85rem 0 0;
    padding: .72rem 0 0;
}


/* Primera fila */

.product-contact__top {
    min-width: 0;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: .35rem .75rem;
}


.product-contact__label {
    flex: 0 0 auto;

    color: var(--amoo-muted);

    font-size: .92rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}


.product-contact__actions {
    min-width: 0;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: .2rem .45rem;
}


.product-contact__action {
    min-height: 2.25rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;

    padding: 0 .65rem;

    border-radius: 999px;

    color: var(--amoo-text);

    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;

    transition:
        background-color .16s ease,
        color .16s ease,
        transform .16s ease;
}


.product-contact__action:visited {
    color: var(--amoo-text);
}


.product-contact__action:hover {
    background:
        color-mix(
            in srgb,
            var(--amoo-primary) 8%,
            var(--amoo-surface)
        );

    color: var(--amoo-text);
    text-decoration: none;
}


.product-contact__action:active {
    transform: scale(.98);
}


.product-contact__action .icon {
    flex: 0 0 auto;

    width: 1.22rem;
    height: 1.22rem;

    color: var(--amoo-primary);
    stroke-width: 1.7;
}


.product-contact__action[href*="whatsapp"] .icon {
    color: #22a85a;
}


/* ============================================================
   SEGUNDA FILA · ESTADO U HORARIO
============================================================ */

.product-contact__status {
    width: 100%;

    margin: 0;
    padding: 0;

    color:
        color-mix(
            in srgb,
            var(--amoo-text) 64%,
            var(--amoo-surface)
        );

    font-size: 1rem;
    line-height: 1.3;
    text-align: left;
}


.product-contact__status--open {
    color:
        color-mix(
            in srgb,
            #2f9e5b 68%,
            #14532d
        );

    font-weight: 500;
}


.product-contact__status--open::before {
    content: "";

    display: inline-block;

    width: .44rem;
    height: .44rem;

    margin-right: .34rem;

    border-radius: 50%;

    background: currentColor;

    vertical-align: .06rem;
}