.pet-payment-details,.pet-proof-box{padding:16px;border:1px solid #ddd;border-radius:10px;margin:15px 0;background:#fafafa}.pet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.pet-ticket-card{border:1px solid #ddd;border-radius:12px;padding:18px}.pet-ticket-page{margin:0;background:#eef1f5;font-family:Arial,Helvetica,sans-serif;padding:30px;color:#172033}.pet-digital-ticket{max-width:620px;margin:auto;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 14px 45px rgba(17,32,55,.16);border:1px solid #e1e6ee}.pet-ticket-header{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;background:#101827;color:#fff}.pet-brand-logo{max-width:150px;max-height:54px;object-fit:contain}.pet-ticket-brand{font-weight:900;letter-spacing:4px;font-size:20px}.pet-ticket-kicker{font-size:12px;font-weight:800;letter-spacing:1.8px;opacity:.85}.pet-ticket-main{text-align:center;padding:28px 28px 20px}.pet-ticket-main h1{font-size:30px;line-height:1.15;margin:0 0 8px}.pet-ticket-type{font-size:17px;font-weight:700;margin:0 0 18px;color:#4b5567}.pet-qr-wrap{display:inline-flex;padding:12px;background:#fff;border:2px solid #172033;border-radius:14px}.pet-qr{width:280px;max-width:72vw;height:auto;display:block}.pet-scan-hint{font-size:13px;color:#687386;margin:12px auto 22px;max-width:390px}.pet-attendee,.pet-code{display:flex;flex-direction:column;gap:5px;margin:14px auto}.pet-attendee span,.pet-code span,.pet-event-details span{font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:#687386;font-weight:700}.pet-attendee strong{font-size:21px}.pet-code code{font-size:16px;font-weight:700;word-break:break-all;background:#f3f5f8;padding:9px 12px;border-radius:8px}.pet-event-details{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e5e9ef;border-top:1px solid #e5e9ef;border-bottom:1px solid #e5e9ef}.pet-event-details div{display:flex;flex-direction:column;gap:5px;padding:16px 20px;background:#f8f9fb}.pet-event-details strong{font-size:14px}.pet-status{margin:22px auto 0;text-align:center;font-weight:800;border-radius:999px;padding:9px 14px;width:max-content;max-width:80%}.pet-status-valid{color:#087a32;background:#e6f6ec}.pet-status-cancelled,.pet-status-refunded{color:#a32525;background:#fdecec}.pet-ticket-footer{text-align:center;padding:18px 28px 26px;color:#687386;font-size:13px}.pet-ticket-footer button{border:0;border-radius:8px;background:#172033;color:#fff;font-weight:700;padding:11px 18px;cursor:pointer}.pet-support{font-weight:700;color:#3d4758}@media(max-width:560px){.pet-ticket-page{padding:12px}.pet-ticket-header{padding:16px 18px}.pet-ticket-main{padding:22px 16px 16px}.pet-ticket-main h1{font-size:25px}.pet-event-details{grid-template-columns:1fr}.pet-qr{width:240px}}@media print{.pet-ticket-page{background:#fff;padding:0}.pet-digital-ticket{box-shadow:none;border:1px solid #bbb}.pet-ticket-footer button{display:none}}
/* Personalización de boleto por evento */
.pet-digital-ticket{background:var(--pet-secondary,#fff);color:var(--pet-text,#172033)}
.pet-ticket-header{background-color:var(--pet-primary,#101827);background-size:cover;background-position:center;color:var(--pet-secondary,#fff)}
.pet-brand-group{display:flex;align-items:center;gap:14px;min-width:0}.pet-event-logo{max-width:150px;max-height:64px;object-fit:contain}.pet-ticket-slogan{margin:0 0 8px;color:var(--pet-accent,#2538e8);font-weight:700}.pet-ticket-type{color:var(--pet-primary,#4b5567)}
.pet-qr-wrap{border-color:var(--pet-primary,#172033)}.pet-code code{border-left:4px solid var(--pet-accent,#2538e8)}.pet-ticket-footer button{background:var(--pet-primary,#172033)}
.pet-access-conditions{margin:18px 28px 0;padding:14px 16px;background:color-mix(in srgb,var(--pet-accent,#2538e8) 8%,white);border-left:4px solid var(--pet-accent,#2538e8);border-radius:8px;font-size:13px}.pet-access-conditions p{margin:6px 0 0;line-height:1.45}.pet-sponsors{text-align:center;padding:18px 28px 0}.pet-sponsors span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#687386;font-weight:700;margin-bottom:8px}.pet-sponsors img{max-width:100%;max-height:90px;object-fit:contain}
.pet-layout-horizontal{max-width:900px}.pet-layout-horizontal .pet-ticket-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:26px;text-align:left}.pet-layout-horizontal .pet-ticket-copy{text-align:left}.pet-layout-horizontal .pet-attendee,.pet-layout-horizontal .pet-code{align-items:flex-start}.pet-layout-horizontal .pet-ticket-qr-column{text-align:center}
.pet-qr-left .pet-ticket-main{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:24px}.pet-qr-right .pet-ticket-main{display:flex;align-items:center;justify-content:space-between;gap:24px}.pet-qr-left .pet-ticket-copy,.pet-qr-right .pet-ticket-copy{flex:1}.pet-qr-left .pet-ticket-qr-column,.pet-qr-right .pet-ticket-qr-column{flex:0 0 auto}
.pet-template-premium{border:2px solid var(--pet-accent,#2538e8)}.pet-template-premium .pet-ticket-header{padding-top:28px;padding-bottom:28px}.pet-template-premium .pet-status{box-shadow:0 0 0 3px color-mix(in srgb,var(--pet-accent,#2538e8) 18%,transparent)}
.pet-template-minimal{box-shadow:none;border-radius:8px}.pet-template-minimal .pet-ticket-header{background:transparent;color:var(--pet-primary,#101827);border-bottom:2px solid var(--pet-primary,#101827)}.pet-template-minimal .pet-event-details div{background:#fff}
.pet-template-sponsors .pet-sponsors{border-top:1px solid #e5e9ef;margin-top:18px;padding-top:20px}
@media(max-width:700px){.pet-layout-horizontal .pet-ticket-main,.pet-qr-left .pet-ticket-main,.pet-qr-right .pet-ticket-main{display:block;text-align:center}.pet-layout-horizontal .pet-ticket-copy,.pet-qr-left .pet-ticket-copy,.pet-qr-right .pet-ticket-copy{text-align:center}.pet-layout-horizontal .pet-attendee,.pet-layout-horizontal .pet-code,.pet-qr-left .pet-attendee,.pet-qr-left .pet-code,.pet-qr-right .pet-attendee,.pet-qr-right .pet-code{align-items:center}.pet-ticket-qr-column{margin-top:18px}}
/* Modo imagen creativa completa */
.pet-creative-ticket-shell{max-width:900px;margin:0 auto}.pet-creative-ticket{position:relative;width:min(100%,760px);margin:0 auto;aspect-ratio:var(--pet-creative-ratio,4/5);background-size:100% 100%;background-position:center;background-repeat:no-repeat;overflow:hidden;border-radius:18px;box-shadow:0 14px 45px rgba(17,32,55,.18)}.pet-creative-qr{position:absolute;transform:translate(-50%,-50%);z-index:3}.pet-creative-qr.has-backing{padding:10px;background:#fff;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.18)}.pet-creative-qr img{display:block;width:100%;height:auto}.pet-creative-label{position:absolute;transform:translateY(-50%);z-index:2;max-width:56%;text-shadow:0 1px 2px rgba(255,255,255,.35)}.pet-creative-label span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.9px;font-weight:700;opacity:.8;margin-bottom:4px}.pet-creative-label strong{display:block;font-size:clamp(16px,2.4vw,28px);line-height:1.15}.pet-creative-label code{display:inline-block;font-size:clamp(11px,1.6vw,16px);font-weight:800;background:rgba(255,255,255,.78);color:#111827;padding:7px 10px;border-radius:7px;word-break:break-all}.pet-creative-ticket-meta{max-width:760px;margin:14px auto 0;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;background:#fff;border-radius:12px;padding:12px 16px;box-shadow:0 6px 20px rgba(17,32,55,.08);font-size:13px}.pet-creative-ticket-meta button{border:0;border-radius:8px;background:#172033;color:#fff;font-weight:700;padding:10px 16px;cursor:pointer}@media(max-width:700px){.pet-creative-ticket{border-radius:10px}.pet-creative-qr{max-width:32vw}.pet-creative-label{max-width:52%}.pet-creative-ticket-meta{display:block;text-align:center}.pet-creative-ticket-meta span,.pet-creative-ticket-meta strong{display:block;margin-bottom:8px}}@media print{.pet-creative-ticket-shell{max-width:none}.pet-creative-ticket-meta{box-shadow:none}.pet-creative-ticket-meta button{display:none}}

.pet-creative-attendee strong{font-size:var(--pet-attendee-size,28px)}.pet-creative-label.pet-align-center{transform:translate(-50%,-50%);text-align:center;max-width:88%;width:80%}.pet-creative-label.pet-align-right{transform:translate(-100%,-50%);text-align:right}


/* Renderer proporcional para imagen creativa completa (v0.2.3) */
.pet-creative-ticket-shell{width:100%;max-width:920px;margin:0 auto;padding:0;box-sizing:border-box}
.pet-creative-ticket{position:relative!important;width:min(100%,760px)!important;height:auto!important;aspect-ratio:var(--pet-creative-ratio,4/5)!important;margin:0 auto!important;background:none!important;overflow:hidden!important;border-radius:18px;box-shadow:0 14px 45px rgba(17,32,55,.18);isolation:isolate}
.pet-creative-background{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;object-fit:fill!important;object-position:center!important;z-index:0!important;margin:0!important;padding:0!important;border:0!important}
.pet-creative-qr{position:absolute!important;width:var(--pet-creative-qr-width,42%)!important;transform:translate(-50%,-50%)!important;z-index:5!important;box-sizing:border-box!important;max-width:none!important}
.pet-creative-qr.has-backing{padding:1.5%!important;background:#fff!important;border-radius:12px!important;box-shadow:0 4px 15px rgba(0,0,0,.18)!important}
.pet-creative-qr img{display:block!important;width:100%!important;height:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}
.pet-creative-label{position:absolute!important;z-index:6!important;box-sizing:border-box!important;line-height:1.15!important;margin:0!important;padding:0!important;text-shadow:none!important}
.pet-creative-label span{display:none!important}.pet-creative-label strong{display:block!important;font-weight:800!important;line-height:1.15!important;margin:0!important;padding:0!important;color:inherit!important}
.pet-creative-attendee strong{font-size:clamp(14px,3vw,var(--pet-attendee-size,28px))!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pet-creative-code code{display:inline-block!important;font-size:var(--pet-code-size,14px)!important;font-weight:800!important;background:rgba(255,255,255,.9)!important;color:#111827!important;padding:5px 8px!important;border-radius:6px!important;white-space:nowrap}
.pet-creative-label.pet-align-center{transform:translate(-50%,-50%)!important;text-align:center!important;width:86%!important;max-width:86%!important}.pet-creative-label.pet-align-right{transform:translate(-100%,-50%)!important;text-align:right!important}.pet-creative-label.pet-align-left{transform:translate(0,-50%)!important;text-align:left!important}
.pet-creative-ticket-actions{max-width:760px;margin:12px auto 0;text-align:center}.pet-creative-ticket-actions.has-meta{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;background:#fff;border-radius:12px;padding:12px 16px;box-shadow:0 6px 20px rgba(17,32,55,.08);font-size:13px}.pet-creative-ticket-actions button{border:0;border-radius:8px;background:#172033;color:#fff;font-weight:700;padding:10px 16px;cursor:pointer}
@media(max-width:700px){.pet-ticket-page{padding:8px!important}.pet-creative-ticket{width:100%!important;border-radius:8px}.pet-creative-ticket-actions{margin-top:10px}.pet-creative-attendee strong{font-size:clamp(12px,4vw,var(--pet-attendee-size,28px))!important}}
@media print{.pet-ticket-page{padding:0!important;background:#fff!important}.pet-creative-ticket{width:100%!important;max-width:none!important;border-radius:0!important;box-shadow:none!important}.pet-creative-ticket-actions{display:none!important}}

/* Ajuste de zona de identificación Publiart (v0.2.5) */
.pet-profile-reserved .pet-creative-attendee{width:86%!important;max-width:86%!important}
.pet-profile-reserved .pet-creative-attendee strong{font-size:clamp(14px,2.7vw,var(--pet-attendee-size,24px))!important;line-height:1!important}
.pet-profile-reserved .pet-creative-code{width:86%!important;max-width:86%!important}
.pet-profile-reserved .pet-creative-code code{background:transparent!important;padding:0!important;border-radius:0!important;box-shadow:none!important;font-size:clamp(9px,1.45vw,var(--pet-code-size,11px))!important;line-height:1!important;letter-spacing:.02em!important;color:inherit!important}
@media(max-width:700px){.pet-profile-reserved .pet-creative-attendee strong{font-size:clamp(13px,3.8vw,var(--pet-attendee-size,24px))!important}.pet-profile-reserved .pet-creative-code code{font-size:clamp(8px,2.2vw,var(--pet-code-size,11px))!important}}

/* v0.2.7 · identificación ASCII segura en una sola línea para arte Publiart */
.pet-profile-reserved .pet-creative-identification{width:92%!important;max-width:92%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
.pet-profile-reserved .pet-creative-identification strong{display:block!important;font-size:clamp(22px,4.2vw,var(--pet-ident-size,44px))!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;letter-spacing:0!important}
.pet-profile-reserved .pet-creative-identification code{display:inline!important;background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;font:inherit!important;font-weight:600!important;color:inherit!important;white-space:nowrap!important}
.pet-profile-reserved .pet-ident-separator{display:inline!important;font:inherit!important;font-weight:700!important;opacity:.75!important;margin:0 .45em!important}
@media(max-width:700px){.pet-profile-reserved .pet-creative-identification strong{font-size:clamp(19px,4.8vw,var(--pet-ident-size,44px))!important}}


/* v0.3.0 · autoajuste real de identificación + impresión/PDF en una sola página */
.pet-profile-reserved .pet-creative-identification{
    left:50%!important;
    width:92%!important;
    max-width:92%!important;
    overflow:hidden!important;
}
.pet-profile-reserved .pet-creative-identification strong{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    font-size:44px;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
    text-align:center!important;
    overflow:visible!important;
}
.pet-profile-reserved .pet-creative-identification code{
    font:inherit!important;
    font-weight:600!important;
}

@page{
    size:A4 portrait;
    margin:6mm;
}
@media print{
    html,body{
        margin:0!important;
        padding:0!important;
        width:100%!important;
        height:auto!important;
        background:#fff!important;
    }
    body.pet-ticket-page{
        min-height:0!important;
        padding:0!important;
        background:#fff!important;
        overflow:visible!important;
    }
    .pet-creative-ticket-shell{
        width:100%!important;
        max-width:none!important;
        margin:0!important;
        padding:0!important;
        display:flex!important;
        justify-content:center!important;
        align-items:flex-start!important;
        break-inside:avoid!important;
        page-break-inside:avoid!important;
        page-break-after:avoid!important;
    }
    .pet-creative-ticket{
        height:260mm!important;
        width:auto!important;
        max-width:190mm!important;
        margin:0 auto!important;
        aspect-ratio:var(--pet-creative-ratio,4/5)!important;
        border-radius:0!important;
        box-shadow:none!important;
        break-inside:avoid!important;
        page-break-inside:avoid!important;
        page-break-after:avoid!important;
    }
    .pet-creative-ticket-actions,
    .pet-creative-ticket-meta,
    .pet-ticket-footer button{
        display:none!important;
    }
    .pet-digital-ticket{
        max-height:270mm!important;
        overflow:hidden!important;
        break-inside:avoid!important;
        page-break-inside:avoid!important;
        page-break-after:avoid!important;
        box-shadow:none!important;
    }
}


/* v0.3.1 · evita truncamiento del código en Ver boleto.
   El tamaño calculado por JS gana sobre reglas clamp anteriores mediante variable CSS. */
.pet-profile-reserved .pet-creative-identification strong{
    font-size:var(--pet-ident-fit-size,44px)!important;
}
.pet-profile-reserved .pet-creative-identification{
    box-sizing:border-box!important;
    padding-left:12px!important;
    padding-right:12px!important;
}

/* v0.3.2 · corrección exclusiva para impresión/PDF: identificación completa */
@media print{
    .pet-profile-reserved .pet-creative-identification{
        left:50%!important;
        width:94%!important;
        max-width:94%!important;
        overflow:visible!important;
    }
    .pet-profile-reserved .pet-creative-identification strong{
        width:100%!important;
        max-width:100%!important;
        font-size:22px!important;
        line-height:1.05!important;
        letter-spacing:-.15px!important;
        white-space:nowrap!important;
        text-align:center!important;
        overflow:visible!important;
    }
    .pet-profile-reserved .pet-creative-identification code,
    .pet-profile-reserved .pet-ident-separator{
        font-size:inherit!important;
        line-height:inherit!important;
        white-space:nowrap!important;
    }
}


/* v0.3.3 · tipografía coherente entre pantalla, PDF y PNG */
.pet-profile-reserved .pet-creative-identification,
.pet-profile-reserved .pet-creative-identification strong,
.pet-profile-reserved .pet-creative-identification code,
.pet-profile-reserved .pet-ident-separator{
    font-family:Arial,Helvetica,"Liberation Sans","DejaVu Sans","Noto Sans",sans-serif!important;
}
@media print{
    .pet-profile-reserved .pet-creative-identification,
    .pet-profile-reserved .pet-creative-identification strong,
    .pet-profile-reserved .pet-creative-identification code,
    .pet-profile-reserved .pet-ident-separator{
        font-family:Arial,Helvetica,"Liberation Sans","DejaVu Sans","Noto Sans",sans-serif!important;
    }
}

/* v0.4.3 — Selector de tipo de boleto */
.pet-ticket-type-selector{margin:0 0 18px;padding:16px 18px;border:1px solid #dfe3ea;border-radius:10px;background:#f8f9fb}.pet-ticket-type-selector label{display:block;margin-bottom:8px}.pet-ticket-type-selector select{width:100%;max-width:520px;min-height:44px;padding:6px 10px}.pet-ticket-type-help{margin-top:7px;font-size:13px;color:#666}

/* v0.5.0 · Constructor unificado de compra */
.pet-purchase-builder{margin:24px 0 28px;border:1px solid #dfe4eb;border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(23,32,51,.07);overflow:hidden}.pet-builder-head{display:flex;gap:14px;align-items:center;padding:22px 24px;background:linear-gradient(135deg,#172033,#2538e8);color:#fff}.pet-builder-head>span{font-size:34px}.pet-builder-head h2{color:#fff;margin:0 0 4px;font-size:25px}.pet-builder-head p{margin:0;opacity:.88}.pet-event-builder-form{padding:0}.pet-builder-section{padding:22px 24px;border-bottom:1px solid #edf0f4}.pet-builder-section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:15px}.pet-builder-section-title>span{font-size:25px}.pet-builder-section-title h3{margin:0 0 3px;font-size:19px}.pet-builder-section-title p{margin:0;color:#687386}.pet-builder-options{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:12px}.pet-builder-option{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border:1px solid #dfe3e8;border-radius:12px;padding:16px;background:#fafbfd}.pet-option-copy{min-width:0}.pet-option-copy>strong{display:block;font-size:16px;color:#172033}.pet-option-price{display:inline-block;margin:5px 0;font-size:18px;font-weight:800;color:#2538e8}.pet-option-copy p{margin:6px 0;color:#4b5567;line-height:1.4}.pet-option-copy small{color:#687386}.pet-option-tag{display:inline-block;font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:800;background:#eef2ff;color:#2538e8;border-radius:999px;padding:4px 7px;margin-bottom:7px}.pet-option-qty{flex:0 0 88px;text-align:center}.pet-option-qty label{display:block;font-size:11px;font-weight:700;color:#687386;margin-bottom:5px}.pet-option-qty input{width:76px!important;min-height:42px;text-align:center}.pet-attendee-panels{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:12px;margin-top:16px}.pet-attendee-card{border:1px solid #dfe3e8;border-radius:12px;padding:15px;background:#fff}.pet-attendee-card h4{margin:0 0 12px}.pet-attendee-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pet-attendee-grid label{display:grid;gap:5px;font-size:12px;font-weight:700}.pet-attendee-grid input,.pet-attendee-grid select{width:100%;min-height:40px}.pet-builder-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:#f7f9fc}.pet-builder-summary div strong{display:block}.pet-builder-summary div span{display:block;color:#687386;font-size:12px;margin-top:3px}.pet-builder-summary>strong{font-size:24px;color:#172033}.pet-builder-submit{margin:18px 24px 24px!important;min-height:48px;padding:0 24px!important;font-weight:800!important}.woocommerce-cart .pet-attendee-summary{font-size:12px;color:#687386}@media(max-width:800px){.pet-builder-options,.pet-attendee-panels{grid-template-columns:1fr}.pet-attendee-grid{grid-template-columns:1fr}.pet-builder-option{display:block}.pet-option-qty{margin-top:12px;text-align:left}.pet-builder-summary{display:block}.pet-builder-summary>strong{display:block;margin-top:8px}}


/* v0.5.1 · Precio público inteligente para eventos con tipos de boletos */
.single-product .pet-event-public-price{display:inline-flex;align-items:center;gap:7px;margin:2px 0 12px;padding:9px 13px;border:1px solid #dfe4eb;border-radius:10px;background:#f8f9fc;color:#172033;font-size:16px;line-height:1.2}.single-product .pet-event-public-price strong{font-size:20px;color:#2538e8}.single-product .pet-event-public-price-prompt{font-weight:700;color:#2538e8;background:#f4f6ff;border-color:#d9defd}.single-product .pet-event-price-label{font-weight:700}

/* v0.5.2 — Constructor de compra guiado y responsive */
.pet-builder-wide{clear:both;width:100%;max-width:1180px;margin:38px auto 32px!important}
.pet-builder-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#f4f6fa;border-bottom:1px solid #e1e5eb}
.pet-step{appearance:none;border:0;background:transparent;padding:15px 10px;display:flex;align-items:center;justify-content:center;gap:8px;color:#687386;font-weight:700;cursor:pointer;border-bottom:3px solid transparent}
.pet-step b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dfe4ed;color:#475569;font-size:13px}
.pet-step.is-active{color:#172033;border-bottom-color:#2538e8;background:#fff}.pet-step.is-active b{background:#2538e8;color:#fff}.pet-step.is-done{color:#176b3a}.pet-step.is-done b{background:#def3e7;color:#176b3a}
.pet-builder-panel{display:none}.pet-builder-panel.is-active{display:block}
.pet-builder-nav,.pet-builder-final-actions{display:flex;justify-content:space-between;gap:12px;padding:18px 24px;background:#fbfcfe;border-top:1px solid #edf0f4}.pet-builder-nav .button,.pet-builder-final-actions .button{min-height:44px;padding:6px 20px!important}
.pet-builder-final-actions{align-items:center}.pet-builder-final-actions .pet-builder-submit{margin:0!important}
.pet-attendee-panels{display:grid;grid-template-columns:repeat(2,minmax(360px,1fr));gap:16px;margin-top:16px}
.pet-attendee-card{padding:18px}.pet-attendee-card header{display:flex;gap:10px;align-items:center;margin-bottom:14px}.pet-attendee-card header>span{font-size:26px}.pet-attendee-card h4{margin:0;font-size:17px}.pet-attendee-card header small{color:#687386}
.pet-attendee-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.pet-field-error{border-color:#d63638!important;box-shadow:0 0 0 1px #d63638!important}
.pet-builder-empty{padding:18px;border:1px dashed #cbd2dc;border-radius:12px;background:#f8fafc;color:#687386;text-align:center}
.pet-builder-summary-lines{display:grid;gap:10px}.pet-summary-line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px;border:1px solid #e3e7ed;border-radius:10px;background:#fff}.pet-summary-line span b{display:block}.pet-summary-line span small{display:block;color:#687386;margin-top:3px}.pet-summary-line>strong{white-space:nowrap}
@media(max-width:900px){.pet-attendee-panels{grid-template-columns:1fr}.pet-builder-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.pet-step{display:grid;justify-items:center;gap:5px}.pet-step span{font-size:11px}.pet-builder-wide{margin-top:24px!important}}
@media(max-width:600px){.pet-builder-section{padding:18px 14px}.pet-builder-head{padding:18px 16px}.pet-builder-head h2{font-size:21px}.pet-builder-steps{overflow-x:auto}.pet-step{min-width:82px}.pet-attendee-grid{grid-template-columns:1fr}.pet-builder-nav,.pet-builder-final-actions{padding:14px;flex-direction:column-reverse}.pet-builder-nav .button,.pet-builder-final-actions .button{width:100%}.pet-builder-summary{padding:16px}.pet-summary-line{align-items:flex-start}}

/* v0.5.5 · Nombre + Cédula/Pasaporte completos en vista, impresión y PDF.
   El documento se renderiza como texto del <strong> para evitar que la regla
   histórica .pet-creative-label span {display:none} lo oculte. */
.pet-profile-reserved .pet-creative-identification{
    overflow:hidden!important;
}
.pet-profile-reserved .pet-creative-identification strong{
    font-size:var(--pet-ident-fit-size,44px)!important;
    white-space:nowrap!important;
    overflow:visible!important;
}
@media print{
    .pet-profile-reserved .pet-creative-identification{
        width:94%!important;
        max-width:94%!important;
        padding-left:8px!important;
        padding-right:8px!important;
        overflow:hidden!important;
    }
    .pet-profile-reserved .pet-creative-identification strong{
        font-size:var(--pet-ident-fit-size,18px)!important;
        white-space:nowrap!important;
        overflow:visible!important;
        text-align:center!important;
    }
}


/* v0.5.7 · identificación completa y segura en pantalla e impresión.
   Se mide un contenedor inline real para evitar que Cédula/Pasaporte quede
   fuera de la franja. En impresión se apilan nombre y documento para máxima
   legibilidad en A4 sin alterar el PNG descargado. */
.pet-profile-reserved .pet-creative-identification .pet-ident-content{
    display:inline-block!important;
    width:auto!important;
    max-width:none!important;
    font:inherit!important;
    font-size:var(--pet-ident-fit-size,44px)!important;
    line-height:1!important;
    white-space:nowrap!important;
    font-style:normal!important;
}
.pet-profile-reserved .pet-creative-identification .pet-ident-content b{
    display:inline!important;
    font:inherit!important;
    font-weight:700!important;
    white-space:nowrap!important;
}
.pet-profile-reserved .pet-creative-identification .pet-ident-document{
    font-weight:650!important;
}
@media print{
    .pet-profile-reserved .pet-creative-identification{
        width:94%!important;
        max-width:94%!important;
        min-height:26px!important;
        overflow:visible!important;
    }
    .pet-profile-reserved .pet-creative-identification strong{
        width:100%!important;
        max-width:100%!important;
        overflow:visible!important;
        white-space:normal!important;
    }
    .pet-profile-reserved .pet-creative-identification .pet-ident-content{
        display:flex!important;
        flex-direction:column!important;
        align-items:center!important;
        justify-content:center!important;
        width:100%!important;
        max-width:100%!important;
        font-size:12px!important;
        line-height:1.05!important;
        white-space:normal!important;
        gap:1px!important;
    }
    .pet-profile-reserved .pet-creative-identification .pet-ident-separator{
        display:none!important;
    }
    .pet-profile-reserved .pet-creative-identification .pet-ident-name,
    .pet-profile-reserved .pet-creative-identification .pet-ident-document{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        text-align:center!important;
        white-space:nowrap!important;
    }
}


/* v0.5.8 · Nombre + Cédula/Pasaporte en UNA sola línea al imprimir/PDF.
   Mantiene la franja blanca, conserva el separador y reduce únicamente la
   tipografía de impresión para evitar recortes en A4. */
@media print{
    .pet-profile-reserved .pet-creative-identification{
        width:94%!important;
        max-width:94%!important;
        min-height:22px!important;
        overflow:hidden!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        padding-left:5px!important;
        padding-right:5px!important;
        box-sizing:border-box!important;
    }
    .pet-profile-reserved .pet-creative-identification strong{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        white-space:nowrap!important;
        overflow:hidden!important;
        text-align:center!important;
        line-height:1!important;
    }
    .pet-profile-reserved .pet-creative-identification .pet-ident-content{
        display:inline-block!important;
        width:auto!important;
        max-width:100%!important;
        font-size:9px!important;
        line-height:1!important;
        white-space:nowrap!important;
        letter-spacing:-.12px!important;
        font-style:normal!important;
    }
    .pet-profile-reserved .pet-creative-identification .pet-ident-content b,
    .pet-profile-reserved .pet-creative-identification .pet-ident-name,
    .pet-profile-reserved .pet-creative-identification .pet-ident-document,
    .pet-profile-reserved .pet-creative-identification .pet-ident-separator{
        display:inline!important;
        width:auto!important;
        max-width:none!important;
        white-space:nowrap!important;
        text-align:inherit!important;
    }
    .pet-profile-reserved .pet-creative-identification .pet-ident-separator{
        margin:0 4px!important;
    }
}

/* v0.7.0 - Área de clientes y escáner */
.pet-client-area{max-width:1100px;margin:32px auto;padding:0 16px}.pet-client-hero{padding:28px;border-radius:18px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 28px rgba(15,23,42,.06)}.pet-client-hero h2{margin:0 0 6px}.pet-client-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.pet-client-cards a{display:flex;gap:10px;align-items:center;padding:18px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;text-decoration:none;font-size:22px}.pet-client-cards strong{font-size:15px;color:#111827}.pet-my-tickets{margin-top:24px}.pet-client-ticket{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:center;padding:14px 16px;margin:10px 0;background:#fff;border:1px solid #e5e7eb;border-radius:12px}.pet-scanner{max-width:680px;margin:24px auto;padding:20px;background:#fff;border:1px solid #e5e7eb;border-radius:16px}.pet-scanner video{display:block;margin:12px 0}.pet-scan-ok,.pet-scan-bad{padding:16px;border-radius:12px;margin-top:12px}.pet-scan-ok{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.pet-scan-bad{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}.pet-identity-check{grid-column:1/-1;margin-top:4px;min-height:20px}@media(max-width:760px){.pet-client-cards{grid-template-columns:repeat(2,1fr)}.pet-client-ticket{grid-template-columns:1fr}.pet-client-cards a{font-size:18px}}

/* v0.7.5 - Bancos y métodos de pago */
.pet-payment-destinations{margin:14px 0;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.pet-bank-account{box-sizing:border-box}.pet-bank-accounts-compact{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.pet-bank-accounts-compact .pet-bank-account{margin:0!important}

/* ============================================================
 * v0.7.7 · Capa responsive aislada para productos/eventos Daismar
 * Se aplica únicamente cuando el <body> tiene .pet-event-product,
 * evitando alterar páginas, productos o constructores ajenos.
 * ============================================================ */
body.pet-event-product,
body.pet-event-product *{
    box-sizing:border-box;
}
body.pet-event-product img,
body.pet-event-product video,
body.pet-event-product iframe{
    max-width:100%;
    height:auto;
}
body.pet-event-product .pet-purchase-builder,
body.pet-event-product .pet-purchase-builder *,
body.pet-event-product .pet-event-public-price{
    min-width:0;
    max-width:100%;
}
body.pet-event-product .pet-purchase-builder{
    width:100%!important;
    overflow:hidden!important;
}
body.pet-event-product .pet-builder-head,
body.pet-event-product .pet-builder-section,
body.pet-event-product .pet-builder-summary,
body.pet-event-product .pet-builder-nav,
body.pet-event-product .pet-builder-final-actions{
    width:100%;
}
body.pet-event-product .pet-builder-head h2,
body.pet-event-product .pet-builder-head p,
body.pet-event-product .pet-builder-section-title h3,
body.pet-event-product .pet-builder-section-title p,
body.pet-event-product .pet-option-copy,
body.pet-event-product .pet-option-copy p,
body.pet-event-product .pet-summary-line,
body.pet-event-product .pet-summary-line span{
    overflow-wrap:anywhere;
    word-break:normal;
}

@media (max-width: 900px){
    /* WooCommerce/Astra/temas: fuerza una sola columna solamente en eventos. */
    body.pet-event-product.single-product .woocommerce div.product,
    body.pet-event-product.single-product div.product{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
    }
    body.pet-event-product.single-product div.product .woocommerce-product-gallery,
    body.pet-event-product.single-product div.product .images,
    body.pet-event-product.single-product div.product .summary,
    body.pet-event-product.single-product div.product .entry-summary{
        float:none!important;
        clear:both!important;
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        margin-left:0!important;
        margin-right:0!important;
    }
    body.pet-event-product.single-product div.product .woocommerce-product-gallery,
    body.pet-event-product.single-product div.product .images{
        margin-bottom:24px!important;
    }
    body.pet-event-product.single-product div.product .summary,
    body.pet-event-product.single-product div.product .entry-summary{
        padding-left:0!important;
        padding-right:0!important;
    }
    body.pet-event-product .pet-builder-wide{
        width:100%!important;
        max-width:100%!important;
        margin:24px 0 28px!important;
    }
}

@media (max-width: 767px){
    body.pet-event-product .site-content,
    body.pet-event-product .site-main,
    body.pet-event-product .content-area,
    body.pet-event-product .entry-content,
    body.pet-event-product .woocommerce,
    body.pet-event-product .woocommerce-page{
        max-width:100%!important;
        min-width:0!important;
        overflow-x:hidden;
    }
    body.pet-event-product .pet-builder-head{
        display:block!important;
        padding:18px 16px!important;
    }
    body.pet-event-product .pet-builder-head>span{
        display:block;
        font-size:28px;
        margin-bottom:6px;
    }
    body.pet-event-product .pet-builder-head h2{
        font-size:22px!important;
        line-height:1.2!important;
    }
    body.pet-event-product .pet-builder-head p{
        font-size:14px!important;
        line-height:1.45!important;
    }
    body.pet-event-product .pet-builder-section{
        padding:18px 14px!important;
    }
    body.pet-event-product .pet-builder-section-title{
        gap:9px!important;
    }
    body.pet-event-product .pet-builder-options,
    body.pet-event-product .pet-attendee-panels,
    body.pet-event-product .pet-attendee-grid{
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        width:100%!important;
    }
    body.pet-event-product .pet-builder-option{
        display:block!important;
        width:100%!important;
        padding:14px!important;
    }
    body.pet-event-product .pet-option-qty{
        width:100%!important;
        max-width:100%!important;
        flex:0 0 auto!important;
        margin-top:12px!important;
        text-align:left!important;
    }
    body.pet-event-product .pet-option-qty input,
    body.pet-event-product .pet-builder-qty,
    body.pet-event-product .pet-attendee-grid input,
    body.pet-event-product .pet-attendee-grid select,
    body.pet-event-product .pet-attendee-grid textarea{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
    }
    body.pet-event-product .pet-builder-summary,
    body.pet-event-product .pet-summary-line{
        display:block!important;
        width:100%!important;
    }
    body.pet-event-product .pet-summary-line>strong,
    body.pet-event-product .pet-builder-summary>strong{
        display:block!important;
        margin-top:8px!important;
        white-space:normal!important;
    }
    body.pet-event-product .pet-builder-nav,
    body.pet-event-product .pet-builder-final-actions{
        display:flex!important;
        flex-direction:column-reverse!important;
        gap:10px!important;
        padding:14px!important;
    }
    body.pet-event-product .pet-builder-nav .button,
    body.pet-event-product .pet-builder-final-actions .button,
    body.pet-event-product .pet-builder-submit{
        width:100%!important;
        max-width:100%!important;
        margin:0!important;
        text-align:center!important;
    }
    /* Pasos: 2 x 2, sin scroll horizontal ni etiquetas superpuestas. */
    body.pet-event-product .pet-builder-steps{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        overflow:visible!important;
        width:100%!important;
    }
    body.pet-event-product .pet-step{
        min-width:0!important;
        width:100%!important;
        padding:12px 6px!important;
        display:flex!important;
        flex-direction:column!important;
        align-items:center!important;
        justify-content:center!important;
        text-align:center!important;
    }
    body.pet-event-product .pet-step span{
        display:block!important;
        width:100%!important;
        font-size:11px!important;
        line-height:1.2!important;
        white-space:normal!important;
        overflow-wrap:anywhere!important;
    }
    body.pet-event-product .pet-step b{
        flex:0 0 auto!important;
    }
}

@media (max-width: 480px){
    body.pet-event-product .pet-purchase-builder{
        border-radius:12px!important;
    }
    body.pet-event-product .pet-builder-head h2{
        font-size:20px!important;
    }
    body.pet-event-product .pet-builder-section-title h3{
        font-size:17px!important;
    }
    body.pet-event-product .pet-option-price{
        font-size:17px!important;
    }
    body.pet-event-product .pet-event-public-price{
        display:flex!important;
        width:100%!important;
        justify-content:space-between!important;
        align-items:center!important;
        flex-wrap:wrap!important;
    }
}


/* ============================================================
 * v0.7.8 · Responsive móvil reforzado y neutral frente al tema
 * Objetivo: evitar que Astra/otros temas conserven columnas de
 * escritorio dentro de un producto-evento. Todo queda limitado
 * por .pet-event-product para no modificar el resto del portal.
 * ============================================================ */
@media (max-width: 900px){
    body.pet-event-product #primary,
    body.pet-event-product #secondary,
    body.pet-event-product .content-area,
    body.pet-event-product .site-main,
    body.pet-event-product .ast-woocommerce-container,
    body.pet-event-product .woocommerce,
    body.pet-event-product .woocommerce-page,
    body.pet-event-product .site-content > .ast-container,
    body.pet-event-product .site-content .ast-container{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        flex:0 0 100%!important;
    }
    body.pet-event-product .site-content > .ast-container,
    body.pet-event-product .site-content .ast-container{
        display:block!important;
    }
    body.pet-event-product #secondary{
        display:none!important;
    }
    body.pet-event-product.single-product .woocommerce div.product,
    body.pet-event-product.single-product .woocommerce-page div.product,
    body.pet-event-product.single-product div.product.product{
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        grid-auto-flow:row!important;
        gap:0!important;
        width:100%!important;
        max-width:100%!important;
        margin:0!important;
    }
    body.pet-event-product.single-product div.product.product > .woocommerce-product-gallery,
    body.pet-event-product.single-product div.product.product > .images,
    body.pet-event-product.single-product div.product.product > .summary,
    body.pet-event-product.single-product div.product.product > .entry-summary,
    body.pet-event-product.single-product div.product.product > .pet-purchase-builder,
    body.pet-event-product.single-product div.product.product > .woocommerce-tabs,
    body.pet-event-product.single-product div.product.product > .related,
    body.pet-event-product.single-product div.product.product > section{
        grid-column:1 / -1!important;
        float:none!important;
        clear:both!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        margin-left:0!important;
        margin-right:0!important;
    }
    body.pet-event-product.single-product div.product.product > .woocommerce-product-gallery,
    body.pet-event-product.single-product div.product.product > .images{
        justify-self:stretch!important;
    }
    body.pet-event-product .woocommerce-tabs,
    body.pet-event-product .woocommerce-tabs .panel,
    body.pet-event-product .woocommerce-tabs .woocommerce-Tabs-panel{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
    }
}

@media (max-width: 767px){
    body.pet-event-product .site-content .ast-container,
    body.pet-event-product .site-main,
    body.pet-event-product #primary{
        padding-left:14px!important;
        padding-right:14px!important;
    }
    body.pet-event-product.single-product .product_title,
    body.pet-event-product.single-product h1.entry-title{
        font-size:clamp(30px,9vw,40px)!important;
        line-height:1.12!important;
        letter-spacing:-.02em!important;
        overflow-wrap:normal!important;
        word-break:normal!important;
        hyphens:none!important;
    }
    body.pet-event-product.single-product .woocommerce-breadcrumb{
        font-size:14px!important;
        line-height:1.45!important;
        overflow-wrap:normal!important;
        word-break:normal!important;
    }
    body.pet-event-product.single-product div.product .summary,
    body.pet-event-product.single-product div.product .entry-summary{
        font-size:16px!important;
        line-height:1.6!important;
    }
    body.pet-event-product.single-product div.product .summary p,
    body.pet-event-product.single-product div.product .entry-summary p{
        font-size:16px!important;
        line-height:1.6!important;
        overflow-wrap:normal!important;
        word-break:normal!important;
        hyphens:none!important;
    }

    /* Constructor a ancho completo real. */
    body.pet-event-product .pet-purchase-builder,
    body.pet-event-product .pet-builder-wide,
    body.pet-event-product .pet-event-builder-form,
    body.pet-event-product .pet-builder-panel,
    body.pet-event-product .pet-builder-section{
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
    }
    body.pet-event-product .pet-purchase-builder{
        margin:28px 0!important;
        border-radius:16px!important;
        overflow:hidden!important;
    }
    body.pet-event-product .pet-builder-head{
        display:flex!important;
        align-items:flex-start!important;
        gap:12px!important;
        padding:20px 18px!important;
    }
    body.pet-event-product .pet-builder-head>span{
        flex:0 0 auto!important;
        margin:1px 0 0!important;
        font-size:27px!important;
    }
    body.pet-event-product .pet-builder-head>div{
        min-width:0!important;
        flex:1 1 auto!important;
    }
    body.pet-event-product .pet-builder-head h2{
        margin:0 0 6px!important;
        font-size:24px!important;
        line-height:1.15!important;
        word-break:normal!important;
        overflow-wrap:normal!important;
        hyphens:none!important;
    }
    body.pet-event-product .pet-builder-head p{
        margin:0!important;
        font-size:14px!important;
        line-height:1.5!important;
        word-break:normal!important;
        overflow-wrap:normal!important;
    }
    body.pet-event-product .pet-builder-steps{
        display:grid!important;
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
        width:100%!important;
        margin:0!important;
    }
    body.pet-event-product .pet-step{
        width:100%!important;
        min-width:0!important;
        padding:11px 4px!important;
    }
    body.pet-event-product .pet-step span{
        font-size:11px!important;
        line-height:1.15!important;
        overflow-wrap:normal!important;
        word-break:normal!important;
        hyphens:none!important;
    }
    body.pet-event-product .pet-builder-section{
        padding:20px 16px!important;
    }
    body.pet-event-product .pet-builder-section-title{
        display:flex!important;
        align-items:flex-start!important;
        gap:10px!important;
        width:100%!important;
    }
    body.pet-event-product .pet-builder-section-title>div{
        flex:1 1 auto!important;
        min-width:0!important;
    }
    body.pet-event-product .pet-builder-section-title h3{
        font-size:20px!important;
        line-height:1.2!important;
        word-break:normal!important;
        overflow-wrap:normal!important;
    }
    body.pet-event-product .pet-builder-section-title p{
        font-size:14px!important;
        line-height:1.5!important;
        word-break:normal!important;
        overflow-wrap:normal!important;
    }
    body.pet-event-product .pet-builder-options{
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        gap:12px!important;
    }
    body.pet-event-product .pet-builder-option{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 88px!important;
        align-items:start!important;
        gap:14px!important;
        width:100%!important;
        padding:16px!important;
    }
    body.pet-event-product .pet-option-copy{
        min-width:0!important;
        width:auto!important;
    }
    body.pet-event-product .pet-option-copy strong,
    body.pet-event-product .pet-option-copy p,
    body.pet-event-product .pet-option-copy small{
        word-break:normal!important;
        overflow-wrap:normal!important;
        hyphens:none!important;
        white-space:normal!important;
    }
    body.pet-event-product .pet-option-copy strong{
        font-size:18px!important;
        line-height:1.3!important;
    }
    body.pet-event-product .pet-option-copy p{
        font-size:14px!important;
        line-height:1.5!important;
        margin:8px 0!important;
    }
    body.pet-event-product .pet-option-qty{
        width:88px!important;
        max-width:88px!important;
        margin:0!important;
        text-align:center!important;
    }
    body.pet-event-product .pet-option-qty label{
        display:block!important;
        font-size:12px!important;
        margin-bottom:6px!important;
    }
    body.pet-event-product .pet-option-qty input,
    body.pet-event-product .pet-builder-qty{
        width:88px!important;
        max-width:88px!important;
        min-width:0!important;
        text-align:center!important;
    }
    body.pet-event-product .pet-builder-nav,
    body.pet-event-product .pet-builder-final-actions{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:10px!important;
        padding:16px!important;
    }
    body.pet-event-product .pet-builder-nav>span:empty{
        display:none!important;
    }
    body.pet-event-product .pet-builder-nav .button,
    body.pet-event-product .pet-builder-final-actions .button,
    body.pet-event-product .pet-builder-submit{
        width:100%!important;
        min-height:48px!important;
        white-space:normal!important;
        line-height:1.25!important;
        font-size:15px!important;
        padding:12px 14px!important;
    }
}

@media (max-width: 380px){
    body.pet-event-product .site-content .ast-container,
    body.pet-event-product .site-main,
    body.pet-event-product #primary{
        padding-left:10px!important;
        padding-right:10px!important;
    }
    body.pet-event-product .pet-builder-steps{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    body.pet-event-product .pet-builder-option{
        grid-template-columns:minmax(0,1fr)!important;
    }
    body.pet-event-product .pet-option-qty,
    body.pet-event-product .pet-option-qty input,
    body.pet-event-product .pet-builder-qty{
        width:100%!important;
        max-width:100%!important;
        text-align:left!important;
    }
}


/* v0.7.9 · Identificación del boleto: tipografía limpia y proporcionada. */
.pet-profile-reserved .pet-creative-identification{width:88%!important;max-width:88%!important;}
.pet-profile-reserved .pet-creative-identification strong,
.pet-profile-reserved .pet-creative-identification .pet-ident-content,
.pet-profile-reserved .pet-creative-identification .pet-ident-content b{
    font-family:Arial,Helvetica,sans-serif!important;
    font-style:normal!important;
    letter-spacing:0!important;
    line-height:1.08!important;
}
.pet-profile-reserved .pet-creative-identification .pet-ident-name{font-weight:700!important;}
.pet-profile-reserved .pet-creative-identification .pet-ident-document{font-weight:600!important;}
@media print{
 .pet-profile-reserved .pet-creative-identification{width:90%!important;max-width:90%!important;}
 .pet-profile-reserved .pet-creative-identification .pet-ident-content{font-size:12px!important;letter-spacing:0!important;font-family:Arial,Helvetica,sans-serif!important;}
}

/* ============================================================
 * v0.8.0 · Render unificado de boletos creativos
 * La vista previa pública muestra el mismo PNG generado en servidor
 * que se usa para descargar y adjuntar por correo. De este modo
 * tipografía, tamaño, QR y posiciones son idénticos en todos los medios.
 * ============================================================ */
.pet-raster-ticket-shell{
    width:100%;
    max-width:920px;
    margin:0 auto;
    box-sizing:border-box;
}
.pet-raster-ticket-stage{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    width:100%;
}
.pet-raster-ticket-image{
    display:block;
    width:min(100%,760px);
    height:auto;
    max-width:100%;
    margin:0 auto;
    border-radius:18px;
    box-shadow:0 14px 45px rgba(17,32,55,.18);
}
.pet-raster-ticket-actions{
    width:min(100%,760px);
    margin:12px auto 0;
    text-align:center;
}
.pet-raster-ticket-meta{font-size:13px;margin:0 0 10px;color:#475569}
.pet-raster-ticket-meta strong,.pet-raster-ticket-meta span{display:block}
.pet-raster-ticket-buttons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.pet-raster-ticket-actions button,
.pet-raster-ticket-actions .pet-ticket-download-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    box-sizing:border-box;
    border:0;
    border-radius:8px;
    background:#172033;
    color:#fff!important;
    text-decoration:none!important;
    font:700 14px/1.2 Arial,Helvetica,sans-serif;
    padding:11px 18px;
    cursor:pointer;
}
.pet-raster-ticket-note{margin:10px auto 0;max-width:680px;color:#64748b;font-size:12px;line-height:1.45}
@media(max-width:700px){
    .pet-raster-ticket-image{width:100%;border-radius:8px}
    .pet-raster-ticket-actions{padding:0 4px;box-sizing:border-box}
    .pet-raster-ticket-buttons{display:grid;grid-template-columns:1fr;gap:8px}
    .pet-raster-ticket-actions button,.pet-raster-ticket-actions .pet-ticket-download-button{width:100%}
}
@media print{
    @page{margin:8mm}
    html,body.pet-ticket-page{margin:0!important;padding:0!important;background:#fff!important}
    .pet-raster-ticket-shell{width:100%!important;max-width:none!important;margin:0!important}
    .pet-raster-ticket-stage{width:100%!important;height:auto!important}
    .pet-raster-ticket-image{
        display:block!important;
        width:auto!important;
        height:auto!important;
        max-width:100%!important;
        max-height:calc(100vh - 16mm)!important;
        margin:0 auto!important;
        border-radius:0!important;
        box-shadow:none!important;
        object-fit:contain!important;
    }
    .pet-raster-ticket-actions{display:none!important}
}

/* v0.8.1 · tipografía determinista para render PNG mediante fuente TTF/OTF configurable */


/* ============================================================
 * v0.8.2 · Responsive móvil definitivo y aislado por evento
 * Fuerza un lienzo usable aun cuando el tema/contructor mantenga
 * columnas de escritorio. No altera productos normales.
 * ============================================================ */
@media (max-width: 921px){
  body.pet-event-product #primary,
  body.pet-event-product .content-area,
  body.pet-event-product .site-main,
  body.pet-event-product .ast-woocommerce-container,
  body.pet-event-product .woocommerce,
  body.pet-event-product .woocommerce-page{
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;float:none!important;
  }
  body.pet-event-product #secondary{display:none!important}
  body.pet-event-product.single-product div.product.product,
  body.pet-event-product.single-product .woocommerce div.product{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  body.pet-event-product.single-product div.product.product > *{
    float:none!important;clear:both!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;
  }
}
@media (max-width: 767px){
  body.pet-event-product .site-content>.ast-container,
  body.pet-event-product .site-content .ast-container{
    display:block!important;width:100%!important;max-width:100%!important;
    padding-left:12px!important;padding-right:12px!important;
  }
  body.pet-event-product.single-product .product_title,
  body.pet-event-product.single-product h1.entry-title{
    font-size:clamp(26px,7.8vw,34px)!important;line-height:1.12!important;
    margin-bottom:12px!important;word-break:normal!important;overflow-wrap:break-word!important;
  }
  body.pet-event-product.single-product div.product .woocommerce-product-gallery,
  body.pet-event-product.single-product div.product .images{
    width:100%!important;max-width:100%!important;margin:0 0 18px!important;
  }
  body.pet-event-product.single-product div.product .summary,
  body.pet-event-product.single-product div.product .entry-summary{
    width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;
  }
  /* Full-bleed controlado: evita que el constructor quede atrapado en una columna del tema. */
  body.pet-event-product .pet-builder-wide,
  body.pet-event-product .pet-purchase-builder{
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
    margin:24px 0 30px!important;
    border-radius:14px!important;
  }
  body.pet-event-product .pet-builder-head{padding:18px 15px!important;gap:10px!important}
  body.pet-event-product .pet-builder-head h2{font-size:22px!important;line-height:1.15!important}
  body.pet-event-product .pet-builder-head p{font-size:13px!important;line-height:1.45!important}
  body.pet-event-product .pet-builder-steps{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    overflow:visible!important;
  }
  body.pet-event-product .pet-step{min-width:0!important;padding:10px 5px!important}
  body.pet-event-product .pet-step span{font-size:11px!important;white-space:normal!important;overflow-wrap:break-word!important}
  body.pet-event-product .pet-builder-section{padding:17px 13px!important}
  body.pet-event-product .pet-builder-section-title{margin-bottom:12px!important}
  body.pet-event-product .pet-builder-section-title h3{font-size:18px!important;line-height:1.2!important}
  body.pet-event-product .pet-builder-section-title p{font-size:13px!important;line-height:1.45!important}
  body.pet-event-product .pet-builder-options,
  body.pet-event-product .pet-attendee-panels,
  body.pet-event-product .pet-attendee-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.pet-event-product .pet-builder-option{
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:14px!important;
  }
  body.pet-event-product .pet-option-copy strong{font-size:17px!important}
  body.pet-event-product .pet-option-copy p{font-size:13px!important;line-height:1.45!important}
  body.pet-event-product .pet-option-qty{width:100%!important;max-width:none!important;text-align:left!important;margin:0!important}
  body.pet-event-product .pet-option-qty input,
  body.pet-event-product .pet-builder-qty{width:100%!important;max-width:100%!important;min-height:44px!important;text-align:center!important}
  body.pet-event-product .pet-attendee-card{padding:13px!important}
  body.pet-event-product .pet-attendee-grid label{font-size:12px!important}
  body.pet-event-product .pet-attendee-grid input,
  body.pet-event-product .pet-attendee-grid select,
  body.pet-event-product .pet-attendee-grid textarea{min-height:44px!important;font-size:16px!important}
  body.pet-event-product .pet-builder-summary,
  body.pet-event-product .pet-summary-line{padding:13px!important}
  body.pet-event-product .pet-builder-nav,
  body.pet-event-product .pet-builder-final-actions{padding:13px!important;gap:8px!important}
  body.pet-event-product .pet-builder-nav .button,
  body.pet-event-product .pet-builder-final-actions .button,
  body.pet-event-product .pet-builder-submit{min-height:48px!important;font-size:15px!important;border-radius:8px!important}
  body.pet-event-product .pet-bank-accounts-compact{grid-template-columns:1fr!important}
}
@media (max-width: 380px){
  body.pet-event-product .pet-builder-wide,
  body.pet-event-product .pet-purchase-builder{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important}
  body.pet-event-product .site-content>.ast-container,
  body.pet-event-product .site-content .ast-container{padding-left:8px!important;padding-right:8px!important}
}

/* ============================================================
 * v0.8.3 · Constructor desacoplado de la ficha WooCommerce
 * Se renderiza mediante woocommerce_after_single_product, fuera de
 * div.product, para no heredar grids/columnas del tema del cliente.
 * ============================================================ */
body.pet-event-product.single-product form.cart{display:none!important}
body.pet-event-product .pet-purchase-builder{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1180px!important;
  min-width:0!important;
  margin:28px auto 36px!important;
  clear:both!important;
  float:none!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
body.pet-event-product .pet-purchase-builder .pet-event-builder-form,
body.pet-event-product .pet-purchase-builder .pet-builder-panel,
body.pet-event-product .pet-purchase-builder .pet-builder-section{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
@media (max-width: 767px){
  body.pet-event-product .pet-purchase-builder,
  body.pet-event-product .pet-builder-wide{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    width:calc(100% - 24px)!important;
    max-width:calc(100% - 24px)!important;
    min-width:0!important;
    margin:20px 12px 28px!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  body.pet-event-product .pet-purchase-builder *{min-width:0!important;box-sizing:border-box!important}
  body.pet-event-product .pet-builder-options,
  body.pet-event-product .pet-attendee-panels,
  body.pet-event-product .pet-attendee-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  body.pet-event-product .pet-builder-option{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  body.pet-event-product .pet-builder-nav,
  body.pet-event-product .pet-builder-final-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  body.pet-event-product .pet-builder-nav > *,
  body.pet-event-product .pet-builder-final-actions > *{width:100%!important;max-width:100%!important}
}
@media (max-width: 380px){
  body.pet-event-product .pet-purchase-builder,
  body.pet-event-product .pet-builder-wide{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;margin-left:8px!important;margin-right:8px!important}
}

/* v0.8.4 dedicated purchase page */
.pet-purchase-launcher{width:100%!important;max-width:100%!important;margin:24px 0!important;padding:20px!important;border:1px solid #dfe4eb!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(23,32,51,.06)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;clear:both!important;box-sizing:border-box!important}.pet-purchase-launcher>div{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important}.pet-launch-icon{font-size:32px!important}.pet-purchase-launcher h2{margin:0 0 4px!important;font-size:22px!important}.pet-purchase-launcher p{margin:0!important;color:#687386!important}.pet-launch-button{flex:0 0 auto!important;white-space:nowrap!important}.pet-purchase-builder{width:min(1100px,calc(100% - 32px))!important;max-width:1100px!important;margin:28px auto!important;clear:both!important;box-sizing:border-box!important}.pet-purchase-builder *{box-sizing:border-box!important}@media(max-width:800px){.pet-purchase-launcher{display:block!important;padding:16px!important}.pet-purchase-launcher>div{align-items:flex-start!important}.pet-launch-button{width:100%!important;margin-top:14px!important;white-space:normal!important;text-align:center!important}.pet-purchase-builder{width:calc(100% - 20px)!important;margin:16px auto!important}.pet-builder-options,.pet-attendee-panels,.pet-attendee-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.pet-builder-option{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-width:0!important}.pet-builder-steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.pet-builder-nav,.pet-builder-final-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.pet-builder-nav .button,.pet-builder-final-actions .button{width:100%!important;margin:0!important;white-space:normal!important}}

/* ============================================================
 * v0.8.13 · Precio dinámico en WooCommerce Blocks + landing del evento
 * ============================================================ */
.pet-event-public-price{
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  flex-wrap:wrap!important;font-weight:600!important;line-height:1.35!important;
}
.pet-event-public-price strong{font-weight:800!important;color:inherit!important}
.pet-event-archive-price-host .pet-event-public-price{font-size:1em!important}

body.pet-event-product .pet-event-landing-content{
  width:100%!important;max-width:1180px!important;margin:28px auto 8px!important;
  display:grid!important;gap:20px!important;clear:both!important;box-sizing:border-box!important;
}
body.pet-event-product .pet-event-landing-section{
  width:100%!important;box-sizing:border-box!important;background:#fff!important;
  border:1px solid #e5e7eb!important;border-radius:18px!important;padding:26px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.05)!important;
}
body.pet-event-product .pet-event-section-heading{
  display:flex!important;align-items:flex-start!important;gap:12px!important;margin:0 0 18px!important;
}
body.pet-event-product .pet-event-section-heading>span{font-size:25px!important;line-height:1!important;margin-top:2px!important}
body.pet-event-product .pet-event-section-heading small{
  display:block!important;margin:0 0 3px!important;color:#64748b!important;
  font-size:12px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.06em!important;
}
body.pet-event-product .pet-event-section-heading h2{
  margin:0!important;font-size:clamp(24px,3vw,34px)!important;line-height:1.15!important;
}
body.pet-event-product .pet-event-section-body{font-size:16px!important;line-height:1.75!important;color:inherit!important}
body.pet-event-product .pet-event-section-body>*:first-child{margin-top:0!important}
body.pet-event-product .pet-event-section-body>*:last-child{margin-bottom:0!important}
body.pet-event-product .pet-event-attributes table{width:100%!important;margin:0!important;border-collapse:collapse!important}
body.pet-event-product .pet-event-attributes th,
body.pet-event-product .pet-event-attributes td{padding:12px 10px!important;text-align:left!important;vertical-align:top!important}
body.pet-event-product .pet-event-attributes th{width:34%!important;font-weight:700!important}
body.pet-event-product .woocommerce-tabs .panel--description,
body.pet-event-product .woocommerce-tabs #tab-description,
body.pet-event-product .woocommerce-tabs #tab-additional_information{display:none!important}

@media(max-width:767px){
  body.pet-event-product .pet-event-landing-content{width:calc(100% - 24px)!important;margin:18px 12px 6px!important;gap:14px!important}
  body.pet-event-product .pet-event-landing-section{padding:18px 16px!important;border-radius:14px!important}
  body.pet-event-product .pet-event-section-heading h2{font-size:24px!important}
  body.pet-event-product .pet-event-section-body{font-size:15px!important;line-height:1.65!important}
  body.pet-event-product .pet-event-attributes table,
  body.pet-event-product .pet-event-attributes tbody,
  body.pet-event-product .pet-event-attributes tr,
  body.pet-event-product .pet-event-attributes th,
  body.pet-event-product .pet-event-attributes td{display:block!important;width:100%!important;box-sizing:border-box!important}
  body.pet-event-product .pet-event-attributes th{padding-bottom:3px!important}
  body.pet-event-product .pet-event-attributes td{padding-top:3px!important}
}
