/* Mobile arrow tweaks (Daniel, 2026-11-19): no arrow in the top bar or in the Book/Call popups
   (popup button text centred), every other button arrow 15% smaller. Loaded site-wide. */
@media (max-width: 767px) {
    /* Top announcement bar ("Tooth pain? Same-day emergency appointments") */
    .urbn-announcement-link .elementor-button::after,
    .urbn-announcement-link .elementor-button [data-urbn-arrow] { display: none !important; }

    /* Book a Visit (274600) and Phone Offices (274599) popups */
    :is(.elementor-274600, .elementor-274599) .urbn-arrow .elementor-button::after,
    :is(.elementor-274600, .elementor-274599) [data-urbn-arrow] { display: none !important; }
    :is(.elementor-274600, .elementor-274599) .urbn-arrow .elementor-button,
    :is(.elementor-274600, .elementor-274599) .urbn-arrow .elementor-button-content-wrapper {
        justify-content: center !important; text-align: center !important;
    }
    :is(.elementor-274600, .elementor-274599) .urbn-arrow .elementor-button-content-wrapper { width: 100%; }

    /* Header "Book a visit": the fixed 120px width was too narrow for text + gap + arrow, so the
       label started at the very edge. Size to content with the same padding on both sides. */
    .urbn-header-actions .urbn-button-lime .elementor-button {
        width: auto !important; min-width: 0 !important;
        padding: 12px 14px !important; gap: 10px !important;
        justify-content: center !important; white-space: nowrap;
    }

    /* Mobile menu (popup 274598) Call / Book: same look as the sticky bottom bar
       (.urbn-mobile-action-bar: two equal 48px buttons, 12px apart). */
    .elementor-274598 .urbn-mobile-actions { gap: 12px !important; }
    .elementor-274598 .urbn-mobile-actions > .elementor-widget-button { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
    .elementor-274598 .urbn-mobile-actions .elementor-button {
        width: 100% !important; min-height: 48px !important; height: 48px;
        border-radius: 8px !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1.25 !important;
        display: flex !important; align-items: center !important; justify-content: center !important;
    }
    .elementor-274598 .urbn-mobile-actions .urbn-button-outline .elementor-button {
        padding: 12px 8px !important; background: #fff !important; border: 1px solid #cedac8 !important; gap: 8px !important;
    }
    /* Phone icon, as in the sticky bar */
    .elementor-274598 .urbn-mobile-actions .urbn-button-outline .elementor-button::before {
        content: ""; width: 19px; height: 19px; flex: none; background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-3l-5-2-2 2a14 14 0 0 1-7-7l2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
                mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-3l-5-2-2 2a14 14 0 0 1-7-7l2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    .elementor-274598 .urbn-mobile-actions .urbn-arrow .elementor-button { padding: 13px 18px !important; gap: 20px !important; }

    /* Footer "All Houston & Katy offices" accordion: same title type and "+ / −" as the
       Your care / Your visit / Get to know us column titles (16px, 500, 0.12em, text +). */
    .urbn-footer-offices .e-n-accordion-item-title-text {
        font-family: var(--urbn-font-body) !important; font-size: 16px !important; font-weight: 500 !important;
        line-height: 1.65 !important; letter-spacing: .12em !important; text-transform: uppercase !important;
    }
    .urbn-footer-offices .e-n-accordion-item-title-icon > span { display: none !important; }
    .urbn-footer-offices .e-n-accordion-item-title-icon::after {
        content: "+"; font-family: var(--urbn-font-body); font-size: 22px; font-weight: 400; line-height: 1;
        color: var(--urbn-pine, #183d36);
    }
    .urbn-footer-offices .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-icon::after { content: "\2212"; }

    /* All other button arrows: 15% smaller */
    .urbn-component .urbn-arrow .elementor-button::after,
    .urbn-mobile-popup .urbn-mobile-treatment-link .elementor-button::after,
    .urbn-404 :is(.lost-actions, .lost-shortcuts) .elementor-button::after,
    :is(.urbn-archive, .urbn-post) .post-cta-actions .urbn-arrow .elementor-button::after,
    .doctor-page .profile-button .elementor-button::after,
    .urbn-implants-page .implant-button .elementor-button::after,
    .urbn-location-page .location-button .elementor-button::after,
    .urbn-visit-page .urbn-visit-book-button:not(.has-chevron) .elementor-button::after,
    .urbn-cta-refresh .elementor-button-content-wrapper::after,
    .urbn-cta-refresh .elementor-cta__button.elementor-button::after,
    :is(a, button) [data-urbn-arrow] {
        display: inline-block;
        transform: scale(.85);
        transform-origin: center;
    }
}
