/* ============================================================
   PORTAVIDA
   TU EVENTO EN CASA
   Diseño basado estrictamente en la referencia aprobada.
   ============================================================ */

.pv-evento {
    --pv-evento-green: #0d4b3b;
    --pv-evento-green-2: #2f7d32;
    --pv-evento-red: #9f171d;
    --pv-evento-red-dark: #861117;
    --pv-evento-cream: #f7f4ec;
    --pv-evento-surface: #fffdf8;
    --pv-evento-border: #ded8cd;
    --pv-evento-text: #1f2f2b;
    --pv-evento-muted: #6a6a63;
    --pv-evento-soft: #efe9dc;
    --pv-evento-shadow: 0 12px 28px rgba(44, 36, 25, .08);

    width: 100%;
    max-width: 1536px;
    margin: 0 auto;
    padding: 10px 22px 28px;

    background:
        linear-gradient(
            180deg,
            #fbf9f4 0%,
            #f8f5ee 100%
        );

    color: var(--pv-evento-text);

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}

.pv-evento *,
.pv-evento *::before,
.pv-evento *::after {
    box-sizing: border-box;
}

.pv-evento button,
.pv-evento input,
.pv-evento select {
    font: inherit;
}

.pv-evento button {
    cursor: pointer;
}


/* ============================================================
   ESTRUCTURA GENERAL
   ============================================================ */

.pv-evento-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        390px;
    gap: 20px;
    align-items: start;
}

.pv-evento-main {
    min-width: 0;
}

.pv-evento-heading {
    padding: 4px 0 8px;
}

.pv-evento-heading h1 {
    margin: 0;

    color: var(--pv-evento-green);

    font-size: clamp(36px, 3.2vw, 58px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -1.8px;
}

.pv-evento-heading p {
    margin: 6px 0 0;

    font-size: 20px;
    line-height: 1.2;
}


/* ============================================================
   SECCIONES 1 / 2 / 3
   ============================================================ */

.pv-evento-section {
    margin-top: 8px;
}

.pv-evento-section-title {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 0 0 8px;
}

.pv-evento-step {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

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

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #a92228,
            #8f1117
        );

    color: #fff;

    font-size: 20px;
    line-height: 1;
}

.pv-evento-section-title h2 {
    margin: 0;

    color: #1d302d;

    font-size: 23px;
    font-weight: 700;
    line-height: 1.1;
}

.pv-evento-section-title small {
    font-size: .84em;
    font-weight: 700;
}


/* ============================================================
   DATOS DEL EVENTO
   ============================================================ */

.pv-evento-event-card {
    display: grid;
    grid-template-columns:
        1.35fr
        .9fr
        .72fr
        .82fr
        1fr;
    gap: 14px;

    padding: 13px 16px 14px;

    border: 1px solid var(--pv-evento-border);
    border-radius: 11px;

    background: rgba(255, 255, 255, .72);

    box-shadow: 0 6px 18px rgba(49, 39, 26, .04);
}

.pv-evento-field {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pv-evento-field > span {
    font-size: 14px;
}

.pv-evento-field input,
.pv-evento-field select {
    width: 100%;
    height: 42px;

    padding: 0 12px;

    border: 1px solid #d7d2c9;
    border-radius: 7px;

    outline: none;

    background: #fff;

    color: #1e2724;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 15px;
}

.pv-evento-field input:focus,
.pv-evento-field select:focus {
    border-color: var(--pv-evento-green);
    box-shadow: 0 0 0 2px rgba(13, 75, 59, .08);
}


/* ============================================================
   CONTADORES
   ============================================================ */

.pv-evento-counter {
    display: grid;
    grid-template-columns:
        38px
        minmax(42px, 1fr)
        38px;

    height: 42px;

    overflow: hidden;

    border: 1px solid #d6d0c4;
    border-radius: 7px;

    background: #fff;
}

.pv-evento-counter button,
.pv-evento-counter input {
    min-width: 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    color: #1c2825;

    text-align: center;
}

.pv-evento-counter button {
    font-size: 22px;

    background: #f4f0e7;
}

.pv-evento-counter input {
    width: 100%;

    padding: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 700;

    -moz-appearance: textfield;
}

.pv-evento-counter input::-webkit-outer-spin-button,
.pv-evento-counter input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}


/* ============================================================
   RECOMENDACIONES
   ============================================================ */

.pv-evento-recommendations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border: 1px solid var(--pv-evento-border);
    border-radius: 10px;

    overflow: hidden;

    background: rgba(255, 255, 255, .64);
}

.pv-evento-rec-card {
    min-width: 0;

    padding: 12px 14px 10px;

    border-right: 1px solid #e2ddd2;
}

.pv-evento-rec-card:last-child {
    border-right: 0;
}

.pv-evento-rec-top {
    display: flex;
    gap: 10px;
}

.pv-evento-rec-thumb {
    width: 64px;
    height: 64px;

    flex: 0 0 64px;

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

    overflow: hidden;

    border-radius: 10px;

    background: #f0ece2;
}

.pv-evento-rec-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.pv-evento-rec-thumb span {
    color: var(--pv-evento-red);

    font-size: 28px;
    font-weight: 700;
}

.pv-evento-rec-content {
    min-width: 0;
    flex: 1;
}

.pv-evento-rec-content strong {
    display: block;

    margin-bottom: 5px;

    font-size: 18px;
}

.pv-evento-counter-small {
    width: 132px;
    height: 36px;

    grid-template-columns:
        36px
        60px
        36px;
}

.pv-evento-per-person {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 3px;

    font-size: 14px;
}

.pv-evento-mini-icon {
    width: 16px;
    height: 16px;

    display: inline-flex;

    color: #263c37;
}

.pv-evento-mini-icon svg {
    width: 100%;
    height: 100%;

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

.pv-evento-rec-total {
    margin-top: 10px;

    padding-top: 8px;

    border-top: 1px solid #ebe6dc;

    color: #55534d;

    font-size: 14px;
}


/* ============================================================
   PESTAÑAS
   ============================================================ */

.pv-evento-products-section {
    position: relative;
}

.pv-evento-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));

    margin-bottom: 12px;

    border: 1px solid var(--pv-evento-border);
    border-radius: 8px;

    overflow: hidden;

    background: rgba(255, 255, 255, .7);
}

.pv-evento-tab {
    min-height: 58px;

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

    padding: 8px 10px;

    border: 0;
    border-right: 1px solid #ddd7cc;

    background: transparent;

    color: #1d2825;

    font-size: 15px;
    font-weight: 700;
}

.pv-evento-tab:last-child {
    border-right: 0;
}

.pv-evento-tab img {
    width: 38px;
    height: 38px;

    border-radius: 7px;

    object-fit: cover;
}

.pv-evento-tab.is-active {
    background:
        linear-gradient(
            180deg,
            #a71f25,
            #941117
        );

    color: #fff;
}


/* ============================================================
   PRODUCTOS
   ============================================================ */

.pv-evento-product-panel {
    display: none;
}

.pv-evento-product-panel.is-active {
    display: block;
}

.pv-evento-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pv-evento-product-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--pv-evento-border);
    border-radius: 11px;

    background: #fffdf9;

    box-shadow: 0 7px 18px rgba(54, 43, 29, .04);
}

.pv-evento-product-image {
    height: 178px;

    overflow: hidden;

    background: #f1ede5;
}

.pv-evento-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.pv-evento-product-body {
    padding: 9px 10px 11px;
}

.pv-evento-product-body h3 {
    margin: 0 0 4px;

    color: #1e2e2a;

    font-size: 18px;
    line-height: 1.1;
}

.pv-evento-product-body p {
    min-height: 44px;

    margin: 0 0 8px;

    color: #5d5d57;

    font-size: 14px;
    line-height: 1.24;
}

.pv-evento-size-label {
    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 700;
}

.pv-evento-size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.pv-evento-size {
    height: 37px;

    border: 1px solid #cec7bb;
    border-radius: 6px;

    background: #fffdf8;

    color: #1e2825;

    font-size: 14px;
    font-weight: 700;
}

.pv-evento-size.is-active {
    border-color: var(--pv-evento-red);

    background: var(--pv-evento-red);

    color: #fff;
}

.pv-evento-yield-note {
    margin-top: 6px;

    color: #6b675e;

    font-size: 12px;
}

.pv-evento-add-button {
    width: 100%;
    height: 42px;

    margin-top: 9px;

    border: 0;
    border-radius: 5px;

    background:
        linear-gradient(
            180deg,
            #ad1d23,
            #941117
        );

    color: #fff;

    font-size: 15px;
    font-weight: 700;
}

.pv-evento-add-button:hover {
    background: var(--pv-evento-red-dark);
}

.pv-evento-empty-category {
    padding: 34px 20px;

    border: 1px dashed #cfc8bc;
    border-radius: 10px;

    background: rgba(255, 255, 255, .5);

    color: #67645e;

    text-align: center;
}


/* ============================================================
   RESUMEN DERECHO
   ============================================================ */

.pv-evento-summary {
    position: sticky;
    top: 18px;

    overflow: hidden;

    border: 1px solid #d9d3c8;
    border-radius: 13px;

    background: #fffdf8;

    box-shadow: var(--pv-evento-shadow);
}

.pv-evento-summary-head {
    min-height: 64px;

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

    padding: 0 20px;

    background:
        linear-gradient(
            135deg,
            #0a4939,
            #0e5a47
        );

    color: #fff;
}

.pv-evento-summary-title {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 26px;
}

.pv-evento-summary-cart {
    width: 30px;
    height: 30px;

    display: inline-flex;
}

.pv-evento-summary-head svg,
.pv-evento-summary-event-grid svg,
.pv-evento-selected-item svg,
.pv-evento-continue svg {
    width: 100%;
    height: 100%;

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

.pv-evento-summary-head > span {
    font-size: 14px;
}

.pv-evento-summary-body {
    padding: 9px 14px 15px;
}

.pv-evento-summary-event {
    padding: 10px 12px 11px;

    border-radius: 9px;

    background:
        linear-gradient(
            180deg,
            #fbfaf5,
            #f5f1e8
        );
}

.pv-evento-summary-event-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 9px;
}

.pv-evento-summary-event-head > strong {
    overflow: hidden;

    font-size: 18px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.pv-evento-summary-event-head button {
    padding: 6px 17px;

    border: 0;
    border-radius: 999px;

    background: var(--pv-evento-green);

    color: #fff;

    font-size: 13px;
}

.pv-evento-summary-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 13px;
}

.pv-evento-summary-event-grid > div {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
}

.pv-evento-summary-event-grid svg {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;
}


/* ============================================================
   PROGRESO
   ============================================================ */

.pv-evento-progress-list {
    margin-top: 8px;
}

.pv-evento-progress {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 9px;

    padding: 11px 5px;

    border-bottom: 1px solid #e1dbd0;
}

.pv-evento-progress-thumb {
    width: 56px;
    height: 56px;

    overflow: hidden;

    border-radius: 9px;

    background: #f2ede2;
}

.pv-evento-progress-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.pv-evento-progress-thumb span {
    width: 100%;
    height: 100%;

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

    color: var(--pv-evento-red);

    font-size: 24px;
}

.pv-evento-progress-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;

    font-size: 14px;
}

.pv-evento-progress-bar {
    height: 10px;

    margin-top: 5px;

    overflow: hidden;

    border-radius: 999px;

    background: #ece9df;
}

.pv-evento-progress-bar span {
    width: 0;
    height: 100%;

    display: block;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #2e7c39,
            #51964a
        );

    transition: width .2s ease;
}

.pv-evento-progress-missing {
    margin-top: 4px;

    font-size: 12px;
}

/* Estado del progreso por categoría. Solo cambia presentación. */
.pv-evento-progress.is-complete .pv-evento-progress-missing {
    color: #2f7d32;
    font-weight: 700;
}

.pv-evento-progress.is-extra .pv-evento-progress-missing {
    color: #7b5a18;
    font-weight: 700;
}

.pv-evento-progress.is-no-target .pv-evento-progress-missing {
    color: var(--pv-evento-muted);
}

.pv-evento-progress.is-extra .pv-evento-progress-bar span {
    background: linear-gradient(90deg, #2f7d32, #8aa83e);
}

.pv-evento-progress-rec {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 7px;

    font-size: 12px;
}

.pv-evento-counter-tiny {
    width: 90px;
    height: 31px;

    grid-template-columns:
        30px
        30px
        30px;
}


/* ============================================================
   PRODUCTOS SELECCIONADOS
   ============================================================ */

.pv-evento-selected {
    padding-top: 9px;
}

.pv-evento-selected-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 6px;
}

.pv-evento-selected-head h3 {
    margin: 0;

    font-size: 18px;
}

.pv-evento-selected-head button {
    border: 0;

    background: transparent;

    color: #9b1117;

    font-size: 13px;
    text-decoration: underline;
}

.pv-evento-selected-empty {
    padding: 18px 5px;

    color: #77736c;

    font-size: 13px;
    text-align: center;
}

.pv-evento-selected-item {
    display: grid;
    grid-template-columns:
        50px
        minmax(0, 1fr)
        75px
        auto
        26px;
    gap: 7px;
    align-items: center;

    padding: 8px 3px;

    border-bottom: 1px solid #e4ded3;
}

.pv-evento-selected-item img {
    width: 48px;
    height: 48px;

    border-radius: 7px;

    object-fit: cover;
}

.pv-evento-selected-copy {
    min-width: 0;
}

.pv-evento-selected-copy strong {
    display: block;

    overflow: hidden;

    font-size: 14px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.pv-evento-selected-copy span {
    display: block;

    margin-top: 2px;

    color: #69665f;

    font-size: 11px;
}

.pv-evento-selected-qty {
    display: grid;
    grid-template-columns: repeat(3, 25px);

    overflow: hidden;

    border: 1px solid #d7d1c6;
    border-radius: 5px;
}

.pv-evento-selected-qty button,
.pv-evento-selected-qty span {
    width: 25px;
    height: 28px;

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

    border: 0;

    background: #fff;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 13px;
}

.pv-evento-selected-qty button {
    background: #f5f1e9;
}

.pv-evento-selected-price {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.pv-evento-remove-item {
    width: 23px;
    height: 23px;

    padding: 3px;

    border: 0;

    background: transparent;

    color: #c71118;
}


/* ============================================================
   TOTAL
   ============================================================ */

.pv-evento-total {
    padding-top: 10px;
}

.pv-evento-total-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 9px;

    font-size: 18px;
}

.pv-evento-total-row b {
    color: #0e2d26;

    font-size: 27px;
}

.pv-evento-continue {
    width: 100%;
    min-height: 54px;

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

    border: 0;
    border-radius: 5px;

    background:
        linear-gradient(
            180deg,
            #3d8f43,
            #2f7d32
        );

    color: #fff;

    font-size: 17px;
    font-weight: 700;
}

.pv-evento-continue svg {
    width: 20px;
    height: 20px;
}

.pv-evento-continue:disabled {
    cursor: default;
    opacity: .45;
}

.pv-evento-status {
    min-height: 17px;

    margin-top: 7px;

    color: #5e5b55;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 12px;
    text-align: center;
}


/* ============================================================
   MODAL SABORES
   ============================================================ */

.pv-evento-modal[hidden] {
    display: none !important;
}

.pv-evento-modal {
    position: fixed;
    inset: 0;

    z-index: 999999;

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

    padding: 20px;
}

.pv-evento-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(21, 29, 26, .28);

    backdrop-filter: blur(2px);
}

.pv-evento-modal-card {
    width: min(440px, calc(100vw - 30px));
    max-height: min(720px, calc(100vh - 30px));

    position: relative;
    z-index: 1;

    overflow: auto;

    padding: 18px;

    border: 1px solid #d5cec2;
    border-radius: 13px;

    background: #fffdf8;

    box-shadow: 0 22px 70px rgba(23, 26, 24, .25);
}

.pv-evento-modal-close {
    width: 31px;
    height: 31px;

    position: absolute;
    top: 12px;
    right: 12px;

    padding: 6px;

    border: 0;

    background: transparent;

    color: #1a2522;
}

.pv-evento-modal-close svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.pv-evento-modal-head {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;

    padding-right: 35px;
}

.pv-evento-modal-head img {
    width: 76px;
    height: 76px;

    border-radius: 8px;

    object-fit: cover;
}

.pv-evento-modal-head h3 {
    margin: 0 0 3px;

    font-size: 23px;
    line-height: 1.05;
}

.pv-evento-modal-head strong {
    font-size: 18px;
}

.pv-evento-modal-copy {
    margin: 14px 0 8px;

    padding-bottom: 8px;

    border-bottom: 1px solid #ded8cd;

    font-size: 13px;
}

.pv-evento-flavor-row {
    display: grid;
    grid-template-columns:
        28px
        minmax(0, 1fr)
        42px
        104px;
    gap: 8px;
    align-items: center;

    padding: 8px 0;

    border-bottom: 1px solid #e5ded2;
}

.pv-evento-flavor-check {
    width: 20px;
    height: 20px;

    accent-color: var(--pv-evento-red);
}

.pv-evento-flavor-name {
    font-size: 14px;
}

.pv-evento-flavor-mini {
    width: 40px;
    height: 40px;

    overflow: hidden;

    border-radius: 6px;

    background: #f0ece3;
}

.pv-evento-flavor-mini img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.pv-evento-flavor-qty {
    display: grid;
    grid-template-columns: 32px 40px 32px;

    overflow: hidden;

    border: 1px solid #d8d2c7;
    border-radius: 6px;
}

.pv-evento-flavor-qty button,
.pv-evento-flavor-qty input {
    width: 100%;
    height: 34px;

    border: 0;

    background: #fff;

    text-align: center;
}

.pv-evento-flavor-qty button {
    background: #f4f0e7;

    font-size: 18px;
}

.pv-evento-flavor-qty input {
    padding: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 13px;

    -moz-appearance: textfield;
}

.pv-evento-flavor-qty input::-webkit-outer-spin-button,
.pv-evento-flavor-qty input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.pv-evento-modal-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 10px;

    padding: 10px 12px;

    border-radius: 7px;

    background:
        linear-gradient(
            90deg,
            #f4efe4,
            #eee5d2
        );

    font-size: 14px;
}

.pv-evento-modal-valid {
    width: 23px;
    height: 23px;

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

    border-radius: 999px;

    background: #3a8740;

    color: #fff;

    opacity: .25;
}

.pv-evento-modal-valid.is-valid {
    opacity: 1;
}

.pv-evento-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 9px;

    margin-top: 12px;
}

.pv-evento-modal-actions button {
    min-height: 43px;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 700;
}

.pv-evento-modal-cancel {
    border: 1px solid #d6d0c4;

    background: #fff;

    color: #202b28;
}

.pv-evento-modal-add {
    border: 0;

    background:
        linear-gradient(
            180deg,
            #aa1d23,
            #941117
        );

    color: #fff;
}

.pv-evento-modal-add:disabled {
    cursor: default;
    opacity: .4;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1180px) {

    .pv-evento-layout {
        grid-template-columns:
            minmax(0, 1fr)
            340px;
    }

    .pv-evento-event-card {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pv-evento-field-name {
        grid-column: span 2;
    }

    .pv-evento-recommendations {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pv-evento-rec-card:nth-child(2) {
        border-right: 0;
    }

    .pv-evento-rec-card:nth-child(-n+2) {
        border-bottom: 1px solid #e2ddd2;
    }

    .pv-evento-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pv-evento-tabs {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .pv-evento-tab:nth-child(3n) {
        border-right: 0;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 820px) {

    .pv-evento {
        padding:
            8px
            12px
            22px;
    }

    .pv-evento-layout {
        display: block;
    }

    .pv-evento-heading h1 {
        font-size: 36px;
    }

    .pv-evento-heading p {
        font-size: 16px;
    }

    .pv-evento-event-card {
        grid-template-columns: 1fr;
    }

    .pv-evento-field-name {
        grid-column: auto;
    }

    .pv-evento-recommendations {
        grid-template-columns: 1fr;
    }

    .pv-evento-rec-card {
        border-right: 0;
        border-bottom: 1px solid #e2ddd2;
    }

    .pv-evento-rec-card:last-child {
        border-bottom: 0;
    }

    .pv-evento-tabs {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pv-evento-tab {
        border-bottom: 1px solid #ddd7cc;
    }

    .pv-evento-tab:nth-child(2n) {
        border-right: 0;
    }

    .pv-evento-product-grid {
        grid-template-columns: 1fr;
    }

    .pv-evento-product-image {
        height: 220px;
    }

    .pv-evento-summary {
        position: static;

        margin-top: 18px;
    }

}


/* ============================================================
   TELÉFONOS PEQUEÑOS
   ============================================================ */

@media (max-width: 480px) {

    .pv-evento-heading h1 {
        font-size: 31px;
    }

    .pv-evento-section-title {
        align-items: flex-start;
    }

    .pv-evento-section-title h2 {
        font-size: 19px;
    }

    .pv-evento-tab {
        min-height: 52px;

        font-size: 13px;
    }

    .pv-evento-tab img {
        width: 32px;
        height: 32px;
    }

    .pv-evento-selected-item {
        grid-template-columns:
            46px
            minmax(0, 1fr)
            72px
            24px;
    }

    .pv-evento-selected-price {
        grid-column: 2 / 4;
    }

    .pv-evento-modal {
        padding: 10px;
    }

    .pv-evento-flavor-row {
        grid-template-columns:
            24px
            minmax(0, 1fr)
            92px;
    }

    .pv-evento-flavor-mini {
        display: none;
    }

}

/* ============================================================
   TU EVENTO COMO POPUP / BOTTOM SHEET
   ------------------------------------------------------------
   Esta sección separa el resumen "Tu evento" de la columna
   derecha. El resumen usa el mismo HTML y el mismo estado JS;
   solo cambia su presentación.

   Reutilización:
   - Lanzador flotante: .pv-evento-summary-launcher
   - Overlay: .pv-evento-summary-overlay
   - Panel: .pv-evento-summary
   - En móvil el panel se transforma en bottom sheet.
   ============================================================ */

.pv-evento-layout {
    display: block;
}

body.pv-evento-summary-open {
    overflow: hidden;
}

.pv-evento-summary-launcher[hidden],
.pv-evento-summary-overlay[hidden] {
    display: none !important;
}

.pv-evento-summary-launcher {
    position: fixed;
    right: 18px;
    bottom: 88px;
    z-index: 9990;

    min-width: 210px;
    max-width: min(360px, calc(100vw - 32px));

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 10px 12px 10px 15px;

    border: 0;
    border-radius: 16px;

    background: #0e5a47;
    color: #fff;

    box-shadow: 0 12px 28px rgba(20, 52, 39, .22);

    text-align: left;
}

.pv-evento-summary-launcher:hover,
.pv-evento-summary-launcher:focus-visible {
    background: #0a4939;
    transform: translateY(-1px);
}

.pv-evento-summary-launcher-copy {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.pv-evento-summary-launcher-copy small {
    opacity: .78;
    font-size: 11px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pv-evento-summary-launcher-copy strong {
    overflow: hidden;
    font-size: 15px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pv-evento-summary-launcher-copy > span {
    overflow: hidden;
    opacity: .88;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pv-evento-summary-launcher-meta {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pv-evento-summary-launcher-meta b {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.pv-evento-summary-launcher-count {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;

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

    flex: 0 0 auto;

    border-radius: 999px;
    background: #fff;
    color: #0e5a47;

    font-size: 13px;
    font-weight: 700;
}

.pv-evento-summary-overlay {
    position: fixed;
    inset: 0;
    z-index: 100050;

    display: flex;
    align-items: stretch;
    justify-content: flex-end;

    padding: 18px;

    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.pv-evento-summary-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.pv-evento-summary-backdrop {
    position: absolute;
    inset: 0;

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

    border: 0;
    border-radius: 0;

    background: rgba(15, 28, 22, .42);
    backdrop-filter: blur(2px);
}

.pv-evento-summary {
    position: relative;
    top: auto;
    z-index: 1;

    width: min(440px, 100%);
    max-height: calc(100vh - 36px);
    margin: 0;

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

    transform: translateX(26px);
    transition: transform .22s ease;
}

.pv-evento-summary-overlay.is-open .pv-evento-summary {
    transform: translateX(0);
}

.pv-evento-summary-head {
    padding-right: 58px;
}

.pv-evento-summary-close {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 3;

    width: 34px;
    height: 34px;
    padding: 8px;

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

    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;

    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.pv-evento-summary-close:hover,
.pv-evento-summary-close:focus-visible {
    background: rgba(255, 255, 255, .22);
}

.pv-evento-summary-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 820px) {

    .pv-evento-summary-launcher {
        right: 12px;
        bottom: 76px;
        min-width: 0;
        width: min(320px, calc(100vw - 24px));
        border-radius: 14px;
    }

    .pv-evento-summary-overlay {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .pv-evento-summary {
        position: relative;
        width: 100%;
        max-height: 82vh;
        margin: 0;

        border-radius: 20px 20px 0 0;
        border-bottom: 0;

        transform: translateY(34px);
    }

    .pv-evento-summary-overlay.is-open .pv-evento-summary {
        transform: translateY(0);
    }

}

@media (max-width: 480px) {

    .pv-evento-summary-launcher {
        bottom: 70px;
        padding: 9px 10px 9px 13px;
    }

    .pv-evento-summary-launcher-copy strong {
        font-size: 14px;
    }

    .pv-evento-summary-launcher-copy > span {
        font-size: 11px;
    }

    .pv-evento-summary {
        max-height: 86vh;
    }

}

/* ============================================================
   STEPPER 1 / 2 / 3 — ENCABEZADO DE "ARMA TU EVENTO"
   ------------------------------------------------------------
   Objetivo:
   - Mantener los tres pasos siempre en UNA sola línea.
   - Reemplazar visualmente los títulos grandes repetidos de
     cada bloque, para compactar la página.
   - Funcionar igual en escritorio, tablet y celular.

   Reutilización / ajustes rápidos:
   - Altura visual: padding de .pv-evento-stepper-item
   - Color activo: background de .is-active
   - Posición sticky: top de .pv-evento-stepper
   - Punto de texto corto: media query max-width: 720px
   ============================================================ */

.pv-evento-stepper {
    position: sticky;
    top: 8px;
    z-index: 70;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;

    margin: 8px 0 12px;
    padding: 6px;

    border: 1px solid rgba(13, 75, 59, .14);
    border-radius: 14px;

    background: rgba(247, 244, 236, .94);
    box-shadow: 0 8px 24px rgba(34, 47, 41, .08);
    backdrop-filter: blur(8px);
}

.pv-evento-stepper-item {
    min-width: 0;
    min-height: 44px;

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

    padding: 9px 12px;

    border: 1px solid rgba(13, 75, 59, .18);
    border-radius: 10px;

    background: rgba(255, 255, 255, .72);
    color: #24443b;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;

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

.pv-evento-stepper-item:hover,
.pv-evento-stepper-item:focus-visible {
    border-color: rgba(13, 75, 59, .42);
    background: #fff;
    outline: none;
}

.pv-evento-stepper-item.is-active {
    border-color: #0d4b3b;
    background: #0d4b3b;
    color: #fff;
    box-shadow: 0 5px 14px rgba(13, 75, 59, .18);
}

.pv-evento-stepper-number {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;

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

    border-radius: 999px;
    background: rgba(13, 75, 59, .10);
    color: #0d4b3b;

    font-size: 13px;
    font-weight: 800;
}

.pv-evento-stepper-item.is-active .pv-evento-stepper-number {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.pv-evento-stepper-label-short {
    display: none;
}

/*
 * Los títulos internos siguen en el HTML para accesibilidad y
 * estructura semántica, pero el stepper superior pasa a ser el
 * encabezado visual único del proceso.
 */
.pv-evento-section-title-local {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.pv-evento-section[data-event-section] {
    scroll-margin-top: 76px;
}

@media (max-width: 820px) {
    .pv-evento-stepper {
        top: 6px;
        gap: 5px;
        margin: 6px 0 10px;
        padding: 5px;
        border-radius: 12px;
    }

    .pv-evento-stepper-item {
        min-height: 42px;
        gap: 6px;
        padding: 8px 7px;
        font-size: 13px;
    }

    .pv-evento-stepper-number {
        width: 23px;
        height: 23px;
        flex-basis: 23px;
        font-size: 12px;
    }
}

@media (max-width: 720px) {
    .pv-evento-stepper-label-full {
        display: none;
    }

    .pv-evento-stepper-label-short {
        display: inline;
    }
}

@media (max-width: 480px) {
    .pv-evento-stepper {
        gap: 4px;
        padding: 4px;
    }

    .pv-evento-stepper-item {
        min-height: 40px;
        gap: 4px;
        padding: 7px 4px;
        border-radius: 9px;
        font-size: 12px;
    }

    .pv-evento-stepper-number {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
        font-size: 11px;
    }

    .pv-evento-section[data-event-section] {
        scroll-margin-top: 68px;
    }
}

/* ============================================================
   ARMA TU EVENTO — ESCALA COMPACTA V3 (referencia aprobada)
   ------------------------------------------------------------
   Objetivo visual:
   - Mantener intactos cálculos, estado y reglas comerciales.
   - Usar la escala/proporción de la referencia aprobada:
     controles bajos, tipografía contenida, tarjetas compactas.
   - Paso 1: datos del evento en una sola fila en desktop.
   - Paso 2: recomendaciones compactas.
   - Paso 3: 6 categorías como tarjetas + carrusel horizontal.

   NOTA: el stepper horizontal experimental se oculta. Los títulos
   locales 1 / 2 / 3 vuelven a ser el encabezado visual de cada
   bloque, tal como en la referencia.
   ============================================================ */

/* Encabezado general más proporcionado */
.pv-evento {
    max-width: 1380px;
    padding: 8px 18px 24px;
}

.pv-evento-heading {
    padding: 2px 0 6px;
}

.pv-evento-heading h1 {
    font-size: clamp(30px, 2.45vw, 42px);
    line-height: 1.04;
    letter-spacing: -1px;
}

.pv-evento-heading p {
    margin-top: 3px;
    font-size: 16px;
    line-height: 1.25;
}

/* El experimento de stepper superior se retira visualmente. */
.pv-evento-stepper {
    display: none !important;
}

/* Vuelven 1 / 2 / 3 como títulos compactos de cada bloque. */
.pv-evento-section-title-local {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 0 7px !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    border: 0 !important;

    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}

.pv-evento-section-title-local .pv-evento-step {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    font-size: 16px;
}

.pv-evento-section-title-local h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.12;
}

.pv-evento-section-title-local h2 small {
    font-size: 13px;
    font-weight: 600;
}

.pv-evento-section {
    margin-top: 8px;
}

/* ------------------------------------------------------------
   PASO 1 — Datos del evento
   Desktop: los cinco campos quedan en una sola línea.
   ------------------------------------------------------------ */
.pv-evento-event-card {
    /* Punto 1: una sola línea en desktop, sin campo Hora. */
    grid-template-columns: 1.55fr .9fr .68fr 1.08fr;
    gap: 9px;
    padding: 9px 11px;
    border-radius: 9px;
}

.pv-evento-field {
    gap: 4px;
}

.pv-evento-field > span {
    font-size: 12px;
    line-height: 1.1;
}

.pv-evento-field input,
.pv-evento-field select {
    height: 38px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 13px;
}

.pv-evento-counter {
    height: 38px;
    grid-template-columns: 34px minmax(38px, 1fr) 34px;
    border-radius: 6px;
}

.pv-evento-counter button {
    font-size: 18px;
}

.pv-evento-counter input {
    font-size: 14px;
}

/* Cantidad de personas: control más corto y proporcional. */
.pv-evento-field-people {
    align-items: flex-start;
}

.pv-evento-field-people .pv-evento-counter {
    width: 106px;
    max-width: 100%;
    grid-template-columns: 30px 46px 30px;
}

.pv-evento-field-people .pv-evento-counter button {
    font-size: 17px;
}

.pv-evento-field-people .pv-evento-counter input {
    font-size: 13px;
}

/* ------------------------------------------------------------
   PASO 2 — Cantidades por persona
   Misma densidad visual que la referencia, sin cambiar valores.
   ------------------------------------------------------------ */
.pv-evento-recommendations {
    gap: 8px;
    border: 0;
    overflow: visible;
    background: transparent;
}

.pv-evento-rec-card {
    padding: 9px 10px 8px;
    border: 1px solid var(--pv-evento-border) !important;
    border-radius: 9px;
    background: rgba(255, 255, 255, .76);
}

.pv-evento-rec-top {
    gap: 8px;
    align-items: center;
}

.pv-evento-rec-thumb {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 8px;
}

.pv-evento-rec-thumb span {
    font-size: 21px;
}

.pv-evento-rec-content strong {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.12;
}

.pv-evento-counter-small {
    width: 104px;
    height: 32px;
    grid-template-columns: 30px 44px 30px;
}

.pv-evento-counter-small button {
    font-size: 16px;
}

.pv-evento-counter-small input {
    font-size: 13px;
}

.pv-evento-per-person {
    gap: 5px;
    margin-top: 2px;
    font-size: 11px;
}

.pv-evento-mini-icon {
    width: 13px;
    height: 13px;
}

.pv-evento-rec-total {
    margin-top: 6px;
    padding-top: 6px;
    font-size: 11px;
}

/* ------------------------------------------------------------
   PASO 3 — Categorías como tarjetas
   Las seis categorías ya provienen del config existente; aquí
   solo cambia su presentación. No se duplican productos/datos.
   ------------------------------------------------------------ */
.pv-evento-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 10px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.pv-evento-tab {
    min-height: 58px;
    justify-content: flex-start;
    gap: 8px;
    padding: 7px 9px;

    border: 1px solid var(--pv-evento-border) !important;
    border-radius: 9px;

    background: rgba(255, 255, 255, .76);
    color: #1d302d;

    font-size: 12px;
    line-height: 1.1;
    text-align: left;

    box-shadow: 0 4px 12px rgba(44, 36, 25, .035);
}

.pv-evento-tab img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 7px;
}

.pv-evento-tab.is-active {
    border-color: var(--pv-evento-green) !important;
    background: var(--pv-evento-green);
    color: #fff;
    box-shadow: 0 7px 16px rgba(13, 75, 59, .16);
}

/* ------------------------------------------------------------
   Carrusel de productos por categoría
   - Native swipe en móvil/tablet.
   - Flechas añadidas por JS en desktop/tablet.
   - Cada clic de categoría conserva la misma lógica de paneles.
   ------------------------------------------------------------ */
.pv-evento-product-panel.is-active {
    display: block;
}

.pv-evento-carousel-shell {
    position: relative;
}

.pv-evento-product-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;

    padding: 2px 2px 8px;
}

.pv-evento-product-grid::-webkit-scrollbar {
    display: none;
}

.pv-evento-product-card {
    flex: 0 0 calc((100% - 36px) / 4);
    scroll-snap-align: start;
    border-radius: 10px;
}

.pv-evento-product-image {
    height: 155px;
}

.pv-evento-product-body {
    padding: 8px 9px 10px;
}

.pv-evento-product-body h3 {
    margin-bottom: 3px;
    font-size: 16px;
}

.pv-evento-product-body p {
    min-height: 34px;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.2;
}

.pv-evento-size-label,
.pv-evento-yield-note {
    font-size: 11px;
}

.pv-evento-size-options {
    gap: 5px;
}

.pv-evento-size {
    height: 33px;
    font-size: 12px;
}

/*
 * Punto 3 — mismo flujo perceptual que Inicio:
 * pulsar formato -> sabores (si corresponde) -> agregar.
 */
.pv-evento-format-hint {
    margin: 6px 0 0 !important;
    min-height: 14px;
    color: #5b675f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 10.5px !important;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.pv-evento-add-button {
    height: 38px;
    margin-top: 7px;
    font-size: 13px;
}

.pv-evento-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;

    width: 34px;
    height: 34px;

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

    padding: 0;
    border: 1px solid rgba(13, 75, 59, .18);
    border-radius: 999px;

    background: rgba(255, 255, 255, .96);
    color: var(--pv-evento-green);
    box-shadow: 0 6px 16px rgba(20, 38, 30, .12);

    font-family: Arial, sans-serif;
    font-size: 22px;
    line-height: 1;

    transform: translateY(-50%);
}

.pv-evento-carousel-arrow.is-prev {
    left: -10px;
}

.pv-evento-carousel-arrow.is-next {
    right: -10px;
}

.pv-evento-carousel-arrow:disabled {
    opacity: .28;
    cursor: default;
}

/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
    .pv-evento {
        padding-inline: 14px;
    }

    .pv-evento-event-card {
        grid-template-columns: 1.45fr .9fr .72fr 1fr;
        gap: 8px;
    }

    .pv-evento-field-name {
        grid-column: auto;
    }

    .pv-evento-recommendations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pv-evento-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pv-evento-product-card {
        flex-basis: calc((100% - 18px) / 2.35);
    }
}

@media (max-width: 850px) and (min-width: 701px) {
    .pv-evento-event-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pv-evento-field-name {
        grid-column: 1 / -1;
    }

    .pv-evento-field-people .pv-evento-counter {
        width: 104px;
    }
}

/* ------------------------------------------------------------
   CELULAR
   ------------------------------------------------------------ */
@media (max-width: 700px) {
    .pv-evento {
        padding: 7px 10px 20px;
    }

    .pv-evento-heading h1 {
        font-size: 28px;
    }

    .pv-evento-heading p {
        font-size: 14px;
    }

    .pv-evento-section-title-local {
        align-items: center !important;
        gap: 7px !important;
    }

    .pv-evento-section-title-local .pv-evento-step {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        font-size: 14px;
    }

    .pv-evento-section-title-local h2 {
        font-size: 16px;
        white-space: nowrap;
    }

    .pv-evento-section-title-local h2 small {
        display: none;
    }

    /* Nombre ocupa ancho completo; fecha y personas/tipo se acomodan en dos columnas. */
    .pv-evento-event-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 9px;
    }

    .pv-evento-field-name {
        grid-column: 1 / -1;
    }

    .pv-evento-field > span {
        font-size: 11px;
    }

    .pv-evento-field input,
    .pv-evento-field select,
    .pv-evento-counter {
        height: 36px;
    }

    .pv-evento-field input,
    .pv-evento-field select {
        font-size: 12px;
    }

    .pv-evento-field-people .pv-evento-counter {
        width: 94px;
        grid-template-columns: 27px 40px 27px;
    }

    .pv-evento-recommendations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .pv-evento-rec-card {
        padding: 8px;
    }

    .pv-evento-rec-thumb {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .pv-evento-rec-content strong {
        font-size: 12px;
    }

    .pv-evento-counter-small {
        width: 92px;
        height: 30px;
        grid-template-columns: 28px 36px 28px;
    }

    .pv-evento-rec-total {
        font-size: 10px;
    }

    /* Las seis categorías se deslizan horizontalmente sin hacerse gigantes. */
    .pv-evento-tabs {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding-bottom: 3px;
    }

    .pv-evento-tabs::-webkit-scrollbar {
        display: none;
    }

    .pv-evento-tab {
        flex: 0 0 126px;
        min-height: 54px;
        scroll-snap-align: start;
        font-size: 11px;
    }

    .pv-evento-tab img {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .pv-evento-product-card {
        flex-basis: 84%;
    }

    .pv-evento-product-image {
        height: 170px;
    }

    .pv-evento-carousel-arrow {
        display: none;
    }
}

@media (max-width: 390px) {
    .pv-evento-section-title-local h2 {
        font-size: 15px;
    }

    .pv-evento-recommendations {
        grid-template-columns: 1fr;
    }

    .pv-evento-product-card {
        flex-basis: 88%;
    }
}

/* ============================================================
   AJUSTE 2026-10-05 — PASO 2 EN UNA SOLA LÍNEA
   Objetivo:
   - Mantener las tarjetas de "Cantidades por persona" en una sola fila.
   - Si el ancho no alcanza (tablet/celular), desplazar horizontalmente
     en vez de apilar tarjetas.
   - Compactar y hacer siempre legibles los controles − / número / +.
   No modifica cálculos ni valores; es sólo presentación.
   ============================================================ */

.pv-evento-recommendations {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 1px 1px 4px;
}

.pv-evento-recommendations::-webkit-scrollbar {
    display: none;
}

.pv-evento-rec-card {
    flex: 1 1 0;
    min-width: 0;
    scroll-snap-align: start;
}

/* Control compacto: − | número | + */
.pv-evento-counter.pv-evento-counter-small {
    width: 88px !important;
    min-width: 88px !important;
    height: 28px !important;
    grid-template-columns: 25px 38px 25px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.pv-evento-counter.pv-evento-counter-small button,
.pv-evento-counter.pv-evento-counter-small input {
    width: 100% !important;
    min-width: 0 !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    line-height: 28px !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.pv-evento-counter.pv-evento-counter-small button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1ede4 !important;
    color: #173f2d !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.pv-evento-counter.pv-evento-counter-small input {
    display: block !important;
    background: #fff !important;
    color: #173f2d !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    -webkit-text-fill-color: #173f2d !important;
}

/* Tablet: sigue siendo una sola línea; las tarjetas pueden deslizarse. */
@media (max-width: 1100px) {
    .pv-evento-rec-card {
        flex: 0 0 210px;
        min-width: 210px;
    }
}

/* Celular: tarjeta aún más compacta, siempre en carrusel horizontal. */
@media (max-width: 700px) {
    .pv-evento-recommendations {
        gap: 7px !important;
        margin-inline: -1px;
    }

    .pv-evento-rec-card {
        flex: 0 0 178px;
        min-width: 178px;
        padding: 7px 8px 6px !important;
    }

    .pv-evento-rec-thumb {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
    }

    .pv-evento-rec-content strong {
        font-size: 11px !important;
    }

    .pv-evento-counter.pv-evento-counter-small {
        width: 82px !important;
        min-width: 82px !important;
        height: 26px !important;
        grid-template-columns: 23px 36px 23px !important;
    }

    .pv-evento-counter.pv-evento-counter-small button,
    .pv-evento-counter.pv-evento-counter-small input {
        height: 26px !important;
        min-height: 26px !important;
        line-height: 26px !important;
    }

    .pv-evento-counter.pv-evento-counter-small button {
        font-size: 14px !important;
    }

    .pv-evento-counter.pv-evento-counter-small input {
        font-size: 11px !important;
    }

    .pv-evento-per-person,
    .pv-evento-rec-total {
        font-size: 10px !important;
    }
}

/* ============================================================
   AJUSTE 2026-10-06 — POPUP "TU EVENTO" + CONTROLES NUMÉRICOS
   ------------------------------------------------------------
   Objetivos:
   1) El backdrop del popup debe mantenerse SIEMPRE neutro/transparente.
      Algunos estilos globales de botones (Astra/Elementor/WooCommerce)
      aplicaban verde al hacer hover porque el backdrop es un <button>.
   2) Los controles numéricos deben mantener proporción y legibilidad
      en desktop, tablet y móvil:  − | número | +.
   3) Este ajuste es SOLO visual: no cambia cálculos, metas, sabores ni
      la regla comercial de cajas 25 / 50 / 100.

   Regla comercial Arma tu evento:
   - La meta se calcula por persona.
   - Se completa únicamente con cajas de 25 / 50 / 100 unidades.
   - Si se supera la meta, el excedente es válido.
   - No se crean formatos menores para "calzar" exactamente la meta.
   ============================================================ */

/* El backdrop jamás cambia a verde al pasar el cursor. */
.pv-evento-summary-backdrop,
.pv-evento-summary-backdrop:hover,
.pv-evento-summary-backdrop:focus,
.pv-evento-summary-backdrop:focus-visible,
.pv-evento-summary-backdrop:active {
    background: rgba(15, 28, 22, .18) !important;
    color: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
}

/* Desktop: panel flotante con la página todavía visible detrás. */
@media (min-width: 821px) {
    .pv-evento-summary-backdrop,
    .pv-evento-summary-backdrop:hover,
    .pv-evento-summary-backdrop:focus,
    .pv-evento-summary-backdrop:active {
        background: rgba(15, 28, 22, .10) !important;
        backdrop-filter: blur(1px);
    }
}

/* Móvil/tablet angosto: un poco más de contraste para el bottom sheet. */
@media (max-width: 820px) {
    .pv-evento-summary-backdrop,
    .pv-evento-summary-backdrop:hover,
    .pv-evento-summary-backdrop:focus,
    .pv-evento-summary-backdrop:active {
        background: rgba(15, 28, 22, .24) !important;
        backdrop-filter: blur(1px);
    }
}

/* Control general de cantidades: mantiene el número centrado y visible. */
.pv-evento-counter,
.pv-evento-counter.pv-evento-counter-small,
.pv-evento-flavor-qty,
.pv-evento-selected-qty {
    box-sizing: border-box;
    align-items: stretch;
}

.pv-evento-counter button,
.pv-evento-counter input,
.pv-evento-flavor-qty button,
.pv-evento-flavor-qty input,
.pv-evento-selected-qty button,
.pv-evento-selected-qty span {
    box-sizing: border-box !important;
    min-width: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Cantidad de personas: compacto, pero con + / − y número claramente visibles. */
.pv-evento-field-people .pv-evento-counter {
    width: 102px !important;
    min-width: 102px !important;
    height: 34px !important;
    grid-template-columns: 29px 44px 29px !important;
    overflow: hidden !important;
}

.pv-evento-field-people .pv-evento-counter button,
.pv-evento-field-people .pv-evento-counter input {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    text-align: center !important;
}

.pv-evento-field-people .pv-evento-counter button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.pv-evento-field-people .pv-evento-counter input {
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* Punto 2: evita que el número o los signos se recorten. */
.pv-evento-counter.pv-evento-counter-small {
    width: 90px !important;
    min-width: 90px !important;
    height: 29px !important;
    grid-template-columns: 26px 38px 26px !important;
}

.pv-evento-counter.pv-evento-counter-small button,
.pv-evento-counter.pv-evento-counter-small input {
    height: 29px !important;
    min-height: 29px !important;
    padding: 0 !important;
    line-height: 29px !important;
}

.pv-evento-counter.pv-evento-counter-small button {
    font-size: 15px !important;
}

.pv-evento-counter.pv-evento-counter-small input {
    font-size: 12px !important;
}

/* Selector de cantidades por sabor: misma proporción visual. */
.pv-evento-flavor-qty {
    grid-template-columns: 29px 42px 29px !important;
    width: 100px;
    min-width: 100px;
}

.pv-evento-flavor-qty button,
.pv-evento-flavor-qty input {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
}

.pv-evento-flavor-qty button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
}

.pv-evento-flavor-qty input {
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* Resumen: − / cantidad de cajas / + sin recortes. */
.pv-evento-selected-qty {
    grid-template-columns: 24px 30px 24px !important;
}

.pv-evento-selected-qty button,
.pv-evento-selected-qty span {
    width: auto !important;
    height: 27px !important;
    min-height: 27px !important;
    padding: 0 !important;
    font-size: 12px !important;
}

@media (max-width: 700px) {
    .pv-evento-field-people .pv-evento-counter {
        width: 96px !important;
        min-width: 96px !important;
        height: 32px !important;
        grid-template-columns: 27px 42px 27px !important;
    }

    .pv-evento-field-people .pv-evento-counter button,
    .pv-evento-field-people .pv-evento-counter input {
        height: 32px !important;
        min-height: 32px !important;
    }

    .pv-evento-counter.pv-evento-counter-small {
        width: 84px !important;
        min-width: 84px !important;
        height: 27px !important;
        grid-template-columns: 24px 36px 24px !important;
    }

    .pv-evento-counter.pv-evento-counter-small button,
    .pv-evento-counter.pv-evento-counter-small input {
        height: 27px !important;
        min-height: 27px !important;
        line-height: 27px !important;
    }

    .pv-evento-flavor-qty {
        width: 94px;
        min-width: 94px;
        grid-template-columns: 27px 40px 27px !important;
    }
}

/* ============================================================
   AJUSTE 2026-10-07 — PASO 3 CON EL MISMO LENGUAJE DE LA HOME
   Objetivo:
   - Igualar visualmente categorías y tarjetas de Arma tu evento
     con el catálogo principal ya aprobado.
   - Mantener intacta toda la lógica del evento: cantidades,
     formatos, sabores, progreso y agregado al resumen.
   ============================================================ */

.pv-evento {
    --pv-evento-home-ink: #173f2d;
    --pv-evento-home-green: #528737;
    --pv-evento-home-green-dark: #386627;
    --pv-evento-home-border: #e2e7df;
    --pv-evento-home-muted: #66756d;
}

/* Categorías: mismas superficies blancas/verde de la Home. */
.pv-evento-tabs {
    gap: 8px;
    margin-bottom: 14px;
}

.pv-evento-tab {
    min-height: 60px;
    padding: 8px 10px;
    border: 1px solid var(--pv-evento-home-border) !important;
    border-radius: 10px;
    background: #fff;
    color: var(--pv-evento-home-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: 0 2px 7px rgba(20, 45, 30, .06);
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.pv-evento-tab:hover {
    border-color: #b9ccb0 !important;
    background: #f7f8f3;
}

.pv-evento-tab.is-active {
    border-color: var(--pv-evento-home-green) !important;
    background: var(--pv-evento-home-green);
    color: #fff;
    box-shadow: 0 3px 10px rgba(23, 63, 45, .13);
}

.pv-evento-tab img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 7px;
}

/* Carrusel: misma densidad que la Home (4 / 3 / 1+). */
.pv-evento-product-grid {
    gap: 14px;
    padding: 2px 2px 10px;
}

.pv-evento-product-card {
    flex: 0 0 calc((100% - 42px) / 4);
    overflow: hidden;
    border: 1px solid var(--pv-evento-home-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(20, 45, 30, .07);
}

.pv-evento-product-image {
    height: auto;
    aspect-ratio: 1.65 / 1;
    background: #f2f2ee;
}

.pv-evento-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv-evento-product-body {
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.pv-evento-product-body h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 0 0 4px;
    color: #17261f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

/* La descripción larga queda para Single Product; aquí priorizamos compra rápida. */
.pv-evento-product-excerpt {
    display: none !important;
}

.pv-evento-product-price {
    margin: 0 0 4px;
    color: #17261f;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.pv-evento-price-prefix {
    margin-right: 4px;
    color: #536259;
    font-size: .82em;
    font-weight: 600;
}

.pv-evento-price-unit {
    margin-left: 4px;
    color: var(--pv-evento-home-muted);
    font-size: .82em;
    font-weight: 600;
}

.pv-evento-format-hint {
    min-height: 14px;
    margin: 0 0 5px !important;
    color: var(--pv-evento-home-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11.5px !important;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.pv-evento-size-label {
    display: none;
}

.pv-evento-size-options {
    gap: 6px;
}

.pv-evento-size {
    min-width: 0;
    height: 38px;
    padding: 7px 3px;
    border: 1px solid #7fae63;
    border-radius: 8px;
    background: #fff;
    color: #477f2d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.pv-evento-size:hover {
    background: #f0f5ec;
}

.pv-evento-size.is-active {
    border-color: var(--pv-evento-home-green);
    background: var(--pv-evento-home-green);
    color: #fff;
}

/*
 * En Arma tu Evento el verde significa selección real.
 * Ningún formato 25 / 50 / 100 queda destacado por defecto.
 */

.pv-evento-yield-note {
    margin-top: 6px;
    color: var(--pv-evento-home-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    text-align: center;
}

/* Flechas: mismas proporciones del carrusel principal. */
.pv-evento-carousel-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #e1e5de;
    background: rgba(255, 255, 255, .96);
    color: var(--pv-evento-home-ink);
    box-shadow: 0 2px 8px rgba(20, 40, 29, .12);
    font-size: 28px;
}

.pv-evento-carousel-arrow.is-prev {
    left: -16px;
}

.pv-evento-carousel-arrow.is-next {
    right: -16px;
}

@media (min-width: 768px) and (max-width: 1099px) {
    .pv-evento-product-card {
        flex-basis: calc((100% - 28px) / 3);
    }
}

@media (max-width: 767px) {
    .pv-evento-tabs {
        gap: 7px;
    }

    .pv-evento-tab {
        flex: 0 0 126px;
        min-height: 54px;
        padding: 7px 8px;
        font-size: 11px;
    }

    .pv-evento-tab img {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .pv-evento-product-grid {
        gap: 10px;
        padding: 2px 1px 8px;
    }

    .pv-evento-product-card {
        flex-basis: 86%;
        border-radius: 8px;
    }

    .pv-evento-product-image {
        aspect-ratio: 1.28 / 1;
    }

    .pv-evento-product-body {
        padding: 8px 7px;
    }

    .pv-evento-product-body h3 {
        min-height: 33px;
        margin-bottom: 2px;
        font-size: 13px;
        line-height: 1.25;
    }

    .pv-evento-product-price {
        margin-bottom: 3px;
        font-size: 12px;
        white-space: normal;
    }

    .pv-evento-format-hint {
        margin-bottom: 4px !important;
        font-size: 10px !important;
        white-space: nowrap;
    }

    .pv-evento-size-options {
        gap: 4px;
    }

    .pv-evento-size {
        height: 36px;
        padding: 5px 1px;
        border-radius: 7px;
        font-size: 12px;
    }

    .pv-evento-carousel-arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pv-evento-tab,
    .pv-evento-product-grid {
        scroll-behavior: auto;
        transition: none;
    }
}
\n\n/* ============================================================\n   V7.3 — CONFIRMACIÓN EXPLÍCITA AL AGREGAR EN ARMA TU EVENTO\n   25/50/100 selecciona formato; el botón confirma la caja.\n   ============================================================ */\n.pv-evento-card-added {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 5px;\n    min-height: 24px;\n    margin: 7px 0 5px;\n    color: #477f2d;\n    font-family: Arial, Helvetica, sans-serif;\n    font-size: 12px;\n    font-weight: 700;\n    line-height: 1.2;\n}\n\n.pv-evento-card-added[hidden] {\n    display: none !important;\n}\n\n.pv-evento-add-product {\n    width: 100%;\n    min-height: 38px;\n    margin-top: 7px;\n    padding: 8px 10px;\n    border: 1px solid #528737;\n    border-radius: 8px;\n    background: #528737;\n    color: #fff;\n    font-family: Arial, Helvetica, sans-serif;\n    font-size: 12px;\n    font-weight: 700;\n    line-height: 1.1;\n    cursor: pointer;\n}\n\n.pv-evento-add-product:hover:not(:disabled) {\n    background: #47782f;\n}\n\n.pv-evento-add-product:disabled {\n    border-color: #d9dfd5;\n    background: #eef1eb;\n    color: #8c978c;\n    cursor: default;\n}\n\n@media (max-width: 767px) {\n    .pv-evento-card-added {\n        margin: 5px 0 4px;\n        font-size: 11px;\n    }\n\n    .pv-evento-add-product {\n        min-height: 36px;\n        margin-top: 5px;\n        padding: 7px 8px;\n        font-size: 11px;\n    }\n}\n

/* ============================================================
   V8.10 — OCULTAR SOLO EL TÍTULO NATIVO DE LA PÁGINA
   El menú/header Portavida permanece visible.
   ============================================================ */
body.pv-evento-casa-page .entry-header,
body.pv-evento-casa-page .entry-title,
body.pv-evento-casa-page .page-title,
body.pv-evento-casa-page .ast-single-entry-banner {
    display: none !important;
}

/* ============================================================
   V8.11 — OCULTAR TÍTULO NATIVO SOLO EN ARMA TU EVENTO (PÁGINA 9251)
   Selector verificado en inspector: header.entry-header > h1.entry-title
   ============================================================ */
body.page-id-9251 header.entry-header,
body.page-id-9251 h1.entry-title {
    display: none !important;
}
