.aviso-producto {
    margin: 16px 0;
    display: grid;
    gap: 10px
}

.aviso-boton {
    gap: 10px;
    font: inherit;
    font-weight: 700;
    max-width: 100%;
    white-space: normal;
    box-sizing: border-box;
}
.aviso-producto:empty { display: none; }
.aviso-producto > div > .aviso-boton { width: 100%; }

.aviso-boton:focus-visible, .aviso-modal a:focus-visible {
    outline: 3px solid #e87524;
    outline-offset: 3px
}

.aviso-boton:disabled {
    opacity: .65;
    cursor: default
}

.aviso-boton[aria-busy=true]:before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: aviso-giro .7s linear infinite
}

.aviso-feedback {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere
}

.aviso-feedback[data-error=true] {
    color: #b42318
}

.aviso-modal {
    box-sizing: border-box;
    border: 0;
    border-radius: 14px;
    padding: 28px;
    width: 460px;
    max-width: calc(100% - 24px);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    color: #202431;
    box-shadow: 0 12px 48px #0003;
    font: 16px/1.5 Arial, sans-serif
}

.aviso-modal::backdrop {
    background: #17202b80
}

.aviso-modal h2 {
    width: auto;
    font-size: 23px;
    line-height: 1.25;
    margin: 8px 32px 12px 0
}

.aviso-modal h3 {
    font-size: 16px;
    margin: 10px 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e1e4eb
}

.aviso-modal label {
    display: block;
    margin: 16px 0 6px
}

.aviso-modal input[type=email] {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid #aeb6bf;
    border-radius: 6px;
    font: inherit
}

.aviso-modal label.pedido-confirmar-consentimiento { display: grid; margin: 0; cursor: pointer; }

.aviso-modal p {
    margin: 12px 0
}

.aviso-modal small {
    display: block;
    color: #596174;
    font-size: 13px
}

.aviso-modal .aviso-primary {
    width: 100%;
    margin-top: 18px
}

.aviso-cerrar {
    position: absolute;
    right: 14px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px
}

.aviso-secondary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px
}

.aviso-enlace {
    border: 0;
    background: transparent;
    padding: 6px 0;
    color: #86216d;
    text-decoration: underline;
    cursor: pointer;
    font: inherit
}

.aviso-tarjeta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin: 12px 0;
    background: #fff;
    border: 1px solid #e1e4eb;
    border-radius: 10px
}

.aviso-tarjeta img {
    width: 80px;
    height: 80px;
    object-fit: contain
}

.aviso-tarjeta .aviso-detalle {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere
}

.aviso-tarjeta h2 {
    font-size: 17px;
    margin: 0 0 6px
}

.aviso-tarjeta p {
    margin: 5px 0
}

.aviso-tabs {
    display: flex;
    gap: 20px;
    margin: 20px 0
}

.aviso-tabs a[aria-current=page] {
    font-weight: bold;
    text-decoration: underline
}

.aviso-preferencia {
    margin: 20px 0
}

.aviso-preferencia label {
    cursor: pointer
}

.aviso-fecha {
    font-size: 13px;
    color: #596174
}

@keyframes aviso-giro {
    to {
        transform: rotate(360deg)
    }
}

@media (max-width: 600px) {
    .aviso-tarjeta {
        gap: 12px;
        flex-wrap: wrap
    }

    .aviso-tarjeta .aviso-boton {
        width: 100%
    }

    .aviso-modal {
        padding: 22px
    }

    .aviso-modal h2 {
    width: auto;
        font-size: 21px
    }
}

.aviso-modal [hidden] {
    display: none !important
}

.popupProductoLista [data-aviso-producto] { margin-right: 12px; }
