/* =========================================================================
   CLEANED FOR ONYX FORMS V1
   Base form/input/button styles moved to /statics/templates/onyx/onyx_forms.css
   Module-specific card/layout/interaction styles remain here.
   ========================================================================= */

/* =========================================================================
   TEMPLATE: ONYX - QUICK ACTIONS
   Estilo V1, modular, sin inline styles, FontAwesome.
   ========================================================================= */

.ez-quick-actions-section {
    padding: 1rem 20px 0 20px;
    margin: 35px 0 20px 0;
}

.ez-quick-actions-grid {
    display: flex;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.ez-qa-btn {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 4px;
    border-radius: var(--ez-radius-md, 16px);
    border: 1px solid rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.12);
    background: rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.045);
    color: var(--ez-theme-text-main);
    box-sizing: border-box;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        color 0.22s ease;
}

.ez-qa-icon {
    color: var(--ez-theme-text-main);
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 0.22s ease, color 0.22s ease;
}

.ez-qa-label {
    color: var(--ez-theme-text-main);
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.055em;
    text-align: center;
    text-transform: uppercase;
    transition: color 0.22s ease;
}

.ez-qa-btn:hover,
.ez-qa-btn:focus-visible {
    background: rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.08);
    border-color: rgba(var(--ez-pal-secondary-rgb), 0.42);
    box-shadow: 0 8px 24px rgba(var(--ez-pal-neutral-dark-rgb, 0, 0, 0), 0.2);
    transform: translateY(-4px);
    outline: none;
}

.ez-qa-btn:hover .ez-qa-icon,
.ez-qa-btn:focus-visible .ez-qa-icon,
.ez-qa-btn:hover .ez-qa-label,
.ez-qa-btn:focus-visible .ez-qa-label {
    color: var(--ez-pal-secondary);
}

.ez-qa-btn:hover .ez-qa-icon,
.ez-qa-btn:focus-visible .ez-qa-icon {
    transform: scale(1.15);
}

.ez-qa-btn:active {
    transform: scale(0.94);
}

/* =========================================================================
   MODALES QUICK ACTIONS
   Base estructural movida a /statics/css/components/modal_system.css
   ========================================================================= */

.ez-qa-modal-body {
    overflow-y: auto;
    overflow-x: hidden !important; /* FIX: Evita scroll horizontal */
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 24px 20px calc(28px + env(safe-area-inset-bottom)) 20px;
    scrollbar-width: none;
}

.ez-qa-modal-body::-webkit-scrollbar {
    display: none;
}

.ez-qa-modal-desc {
    margin: 0 0 22px 0;
    color: var(--ez-theme-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: center;
}

.ez-qa-modal-desc--main {
    text-align: left;
}

/* =========================================================================
   BOTONES INTERNOS
   ========================================================================= */















/* =========================================================================
   UBICACIÓN / MAPS
   ========================================================================= */

.ez-qa-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ez-qa-map-btn,
.ez-qa-delivery-btn {
    width: 100%;
    min-height: 82px;
    padding: 16px 8px;
    border-radius: 14px;
    border: 1px solid var(--ez-theme-border, rgba(255, 255, 255, 0.1));
    background: rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.035);
    color: var(--ez-theme-text-main);
    font-family: var(--ez-font-primary);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
}

.ez-qa-map-btn i,
.ez-qa-delivery-btn i:first-child {
    color: var(--ez-pal-secondary);
    font-size: 1.55rem;
}

.ez-qa-map-btn:hover,
.ez-qa-delivery-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--ez-pal-secondary-rgb), 0.4);
    background: rgba(var(--ez-pal-secondary-rgb), 0.055);
    color: var(--ez-pal-secondary);
    box-shadow: 0 5px 15px rgba(var(--ez-pal-neutral-dark-rgb, 0, 0, 0), 0.12);
}

/* =========================================================================
   DELIVERY
   ========================================================================= */

.ez-qa-delivery-btn {
    min-height: 58px;
    margin-bottom: 12px;
    padding: 16px 18px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    font-size: 0.88rem;
    text-transform: none;
}

.ez-qa-delivery-btn span {
    flex: 1;
}

.ez-qa-delivery-btn i:last-child {
    opacity: 0.6;
}

/* =========================================================================
   RESERVA
   ========================================================================= */





























/* =========================================================================
   INFO
   ========================================================================= */

.ez-qa-info-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.08);
}

.ez-qa-info-row:first-of-type {
    border-top: none;
}

.ez-qa-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--ez-pal-secondary-rgb), 0.1);
    color: var(--ez-pal-secondary);
}

.ez-qa-info-content h4 {
    margin: 0 0 4px 0;
    color: var(--ez-theme-text-main);
    font-size: 0.9rem;
    font-weight: 900;
}

.ez-qa-info-content p {
    margin: 0;
    color: var(--ez-theme-text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

/* =========================================================================
   LIGHT MODE
   ========================================================================= */







html[data-theme="light"] .ez-qa-btn:hover,
html[data-theme="light"] .ez-qa-map-btn:hover,
html[data-theme="light"] .ez-qa-delivery-btn:hover {
    background: rgba(var(--ez-pal-neutral-dark-rgb, 7, 7, 8), 0.055);
}

html[data-theme="light"] .ez-qa-info-row {
    border-top-color: rgba(var(--ez-pal-neutral-dark-rgb, 7, 7, 8), 0.08);
}

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

@media (max-width: 420px) {
    .ez-quick-actions-grid {
        gap: 8px;
    }

    .ez-qa-btn {
        padding: 14px 3px;
    }

    .ez-qa-label {
        font-size: 0.58rem;
    }

}

.ez-qa-modal-open {
    overflow: hidden;
}

.ez-qa-hidden-copy {
    position: fixed;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* =========================================================================
   QUICK ACTIONS — FORM FIX
   ========================================================================== */















/* =========================================================================
   QUICK ACTIONS — +INFO V1 STYLE RESTORED
   ========================================================================== */

.b-info-title-group {
    margin-bottom: 20px;
}

.b-info-main-title {
    color: var(--ez-theme-text-main);
    font-size: 1.65rem;
    font-weight: 900;
    margin: 0;
}

.b-info-branch {
    color: var(--ez-theme-text-muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 10px 0 0 0;
}

.b-info-slogan {
    color: var(--ez-theme-text-muted);
    font-size: 0.86rem;
    font-style: italic;
    opacity: 0.82;
    margin: 12px 0 0 0;
}

.b-info-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0 28px 0;
    flex-wrap: wrap;
}

.b-info-action-btn {
    flex: 1;
    min-width: 120px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.04);
    border: 1px solid var(--ez-theme-border, rgba(255, 255, 255, 0.1));
    color: var(--ez-theme-text-main);
    font-size: 0.84rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.b-info-action-btn.primary {
    background: var(--ez-pal-secondary);
    border-color: var(--ez-pal-secondary);
    color: var(--ez-pal-neutral-light);
}

.b-info-action-btn:hover,
.b-info-action-btn:focus-visible {
    transform: translateY(-2px);
    border-color: var(--ez-pal-secondary);
    outline: none;
}

.b-info-section {
    margin-bottom: 30px;
    text-align: left;
}

.b-info-section h3 {
    color: var(--ez-theme-text-main);
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.b-info-section h3 i {
    color: var(--ez-pal-secondary);
    font-size: 1.1rem;
}

.b-info-desc {
    color: var(--ez-theme-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.b-info-address-box {
    width: 100%;
    background: rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.04);
    border: 1px solid var(--ez-theme-border, rgba(255, 255, 255, 0.1));
    padding: 18px;
    border-radius: 16px;
    color: var(--ez-theme-text-muted);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.b-info-address-box:hover,
.b-info-address-box:focus-visible {
    background: rgba(var(--ez-pal-secondary-rgb), 0.055);
    border-color: rgba(var(--ez-pal-secondary-rgb), 0.4);
    transform: translateY(-2px);
    outline: none;
}

.b-info-address-action {
    color: var(--ez-pal-secondary);
    font-size: 0.78rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    white-space: nowrap;
}

.b-info-hours {
    background: rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.025);
    border-radius: 18px;
    border: 1px solid var(--ez-theme-border, rgba(255, 255, 255, 0.1));
    overflow: hidden;
}

.b-info-hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--ez-theme-border, rgba(255, 255, 255, 0.1));
    font-size: 0.88rem;
    color: var(--ez-theme-text-muted);
}

.b-info-hour-row:last-child {
    border-bottom: none;
}

.b-info-hour-row strong {
    color: var(--ez-theme-text-main);
    font-weight: 900;
    white-space: nowrap;
}

.b-info-hour-row.today {
    background: rgba(var(--ez-pal-secondary-rgb), 0.1);
    border-left: 4px solid var(--ez-pal-secondary);
}

.b-info-hour-row.today .day-label {
    color: var(--ez-pal-secondary);
    font-weight: 900;
    text-transform: uppercase;
}

.b-info-special-note {
    display: block;
    margin-top: 4px;
    color: var(--ez-pal-warning);
    font-size: 0.72rem;
    font-weight: 800;
}

.b-attr-category {
    margin-bottom: 22px;
}

.b-attr-category-title {
    color: var(--ez-theme-text-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 12px 0;
}

.b-attr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.b-attr-pill {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.025);
    border: 1px solid rgba(var(--ez-pal-neutral-light-rgb, 255, 255, 255), 0.05);
    border-radius: 16px;
    color: var(--ez-theme-text-muted);
    font-size: 0.86rem;
    line-height: 1.25;
    font-weight: 500;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    animation: ezAttrPillIn 0.42s ease forwards;
    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
}

.b-attr-pill:nth-child(1) { animation-delay: 0.02s; }
.b-attr-pill:nth-child(2) { animation-delay: 0.06s; }
.b-attr-pill:nth-child(3) { animation-delay: 0.10s; }
.b-attr-pill:nth-child(4) { animation-delay: 0.14s; }
.b-attr-pill:nth-child(5) { animation-delay: 0.18s; }
.b-attr-pill:nth-child(6) { animation-delay: 0.22s; }

.b-attr-pill i {
    color: var(--ez-theme-text-muted);
    opacity: 0.42;
    font-size: 1.45rem;
    transition:
        transform 0.22s ease,
        color 0.22s ease,
        opacity 0.22s ease;
}

.b-attr-pill:hover,
.b-attr-pill:focus-within,
.b-attr-pill:active {
    transform: translateY(-3px) scale(1.01);
    background: rgba(var(--ez-pal-secondary-rgb), 0.055);
    border-color: rgba(var(--ez-pal-secondary-rgb), 0.24);
    color: var(--ez-theme-text-main);
    box-shadow: 0 10px 24px rgba(var(--ez-pal-neutral-dark-rgb, 0, 0, 0), 0.18);
}

.b-attr-pill:hover i,
.b-attr-pill:focus-within i,
.b-attr-pill:active i {
    color: var(--ez-pal-secondary);
    opacity: 0.9;
    transform: scale(1.08);
}

@keyframes ezAttrPillIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.b-info-hashtags-section {
    margin-top: 34px;
    border-top: 1px solid var(--ez-theme-border, rgba(255, 255, 255, 0.1));
    padding-top: 22px;
    text-align: center;
}

.b-info-hashtags-text {
    color: var(--ez-pal-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 900;
}

@media (max-width: 420px) {
    

    .b-attr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .b-attr-pill {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .ez-qa-icon-btn,
    .ez-qa-btn,
    .ez-qa-map-btn,
    .ez-qa-delivery-btn,
    .b-attr-pill,
    .b-attr-pill i {
        transition: none;
    }
}
