/* Bilingual EN/AR & RTL Support Stylesheet for Tahwila */
[dir="rtl"] body,
[dir="rtl"] body *:not(i):not([class*="fa-"]):not([class^="w-icon-"]):not([class*=" w-icon-"]):not(svg):not(path) {
    font-family: 'Cairo', 'IBM Plex Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    letter-spacing: 0 !important;
}

/* Safe minimum line-heights for multi-line headings in LTR */
html:not([dir="rtl"]) h1,
html:not([dir="rtl"]) .h1,
html:not([dir="rtl"]) .h1.cc-home,
html:not([dir="rtl"]) .about-stats_title,
html:not([dir="rtl"]) .cs2_stat-num {
    line-height: 1.14;
}

html:not([dir="rtl"]) h2,
html:not([dir="rtl"]) .h2,
html:not([dir="rtl"]) h3,
html:not([dir="rtl"]) .h3,
html:not([dir="rtl"]) .h3-5,
html:not([dir="rtl"]) .s-d_client-content-title,
html:not([dir="rtl"]) .series_b-content-stats-title {
    line-height: 1.18;
}

html:not([dir="rtl"]) h4,
html:not([dir="rtl"]) .h4,
html:not([dir="rtl"]) .h4-2,
html:not([dir="rtl"]) .h4.is-line-height,
html:not([dir="rtl"]) h5,
html:not([dir="rtl"]) .h5,
html:not([dir="rtl"]) .h5-2,
html:not([dir="rtl"]) h6,
html:not([dir="rtl"]) .h6,
html:not([dir="rtl"]) .nav-menu_link-item,
html:not([dir="rtl"]) .footer-link.cc-big,
html:not([dir="rtl"]) .tahwila-kpi-value,
html:not([dir="rtl"]) .cs2_card-value,
html:not([dir="rtl"]) .cs2_card-label,
html:not([dir="rtl"]) .eng-lp_footer-title {
    line-height: 1.28;
}

/* Generous line-heights for Arabic headings & copy in RTL so multi-line titles never collide */
[dir="rtl"] h1,
[dir="rtl"] .h1,
[dir="rtl"] .h1.cc-home,
[dir="rtl"] .about-stats_title,
[dir="rtl"] .cs2_stat-num,
[dir="rtl"] .eng-lp_h1 {
    line-height: 1.42 !important;
    letter-spacing: 0 !important;
}

[dir="rtl"] .h1.cc-home,
[dir="rtl"] .rotating-text__phrase {
    word-spacing: 0.08em;
}

.rotating-text__word:not(:last-child) {
    margin-inline-end: 0.12em;
}

/* Prevent horizontal overflow or clipped centered sections on any viewport width */
html,
body,
.page-wrapper,
.main-wrapper {
    max-width: 100%;
    overflow-x: clip;
}

.hp-hero,
.hp-hero_head,
.hp-hero_head > *,
.center-hero_head,
.product-hero_head-inner,
.reviews-wrap_rows,
.hero-partners-strip,
.hero-partners-list {
    max-width: 100%;
    min-width: 0;
}

.hp-hero_head,
.center-hero_head,
.product-hero_head-inner {
    width: 100%;
}

@media screen and (min-width: 992px) {
    [dir="rtl"] h1:not(.h2):not(.h3):not(.h4):not(.h5):not(.h6),
    [dir="rtl"] .h1,
    [dir="rtl"] .h1.cc-home {
        font-size: clamp(2.5rem, 4.1vw, 3.85rem);
    }

    [dir="rtl"] .h2 {
        font-size: clamp(2rem, 3.2vw, 3.1rem);
    }

    [dir="rtl"] .h3 {
        font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    }
}

@media screen and (max-width: 991px) {
    .section-hp-hero {
        overflow-x: clip !important;
    }

    .container-large,
    .container-large.cc-product-hero {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .h1,
    [dir="rtl"] h1:not(.h2):not(.h3):not(.h4):not(.h5):not(.h6),
    [dir="rtl"] .h1 {
        font-size: clamp(1.65rem, 5.4vw, 2.85rem) !important;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .h1.cc-home,
    [dir="rtl"] .h1.cc-home {
        font-size: clamp(0.85rem, 3.8vw, 2.55rem) !important;
        max-width: 100%;
    }

    .h2,
    [dir="rtl"] .h2 {
        font-size: clamp(1.45rem, 4.4vw, 2.3rem) !important;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .h3,
    [dir="rtl"] .h3 {
        font-size: clamp(1.25rem, 3.8vw, 1.85rem) !important;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .hp-hero_head .body-l,
    .seo-hero-lead {
        font-size: clamp(0.95rem, 3.4vw, 1.15rem) !important;
        max-width: 100%;
        overflow-wrap: break-word;
    }
}

[dir="rtl"] h2,
[dir="rtl"] .h2,
[dir="rtl"] .eng-lp_h2,
[dir="rtl"] h3,
[dir="rtl"] .h3,
[dir="rtl"] .h3-5,
[dir="rtl"] .eng-lp_h3,
[dir="rtl"] .n_heading-style-h3-2,
[dir="rtl"] .s-d_client-content-title,
[dir="rtl"] .series_b-content-stats-title {
    line-height: 1.42 !important;
}

[dir="rtl"] h4,
[dir="rtl"] .h4,
[dir="rtl"] .h4-2,
[dir="rtl"] .h4.is-line-height,
[dir="rtl"] .eng-lp_h4,
[dir="rtl"] .testimonial-lines_heading {
    line-height: 1.45 !important;
}

[dir="rtl"] h5,
[dir="rtl"] .h5,
[dir="rtl"] .h5-2,
[dir="rtl"] .h5.lineheight-1-3,
[dir="rtl"] h6,
[dir="rtl"] .h6,
[dir="rtl"] .nav-menu_link-item,
[dir="rtl"] .nav-menu_product-link,
[dir="rtl"] .footer-link,
[dir="rtl"] .footer-link.cc-big,
[dir="rtl"] .tahwila-kpi-value,
[dir="rtl"] .cs2_card-value,
[dir="rtl"] .cs2_card-label,
[dir="rtl"] .eng-row_head,
[dir="rtl"] .eng-lp_footer-title {
    line-height: 1.48 !important;
}

[dir="rtl"] p,
[dir="rtl"] .body-l,
[dir="rtl"] .body-m,
[dir="rtl"] .body-s,
[dir="rtl"] .body-xs {
    line-height: 1.65;
}

/* Reset Webflow asymmetric list padding in RTL so links align flush with column titles */
ul[role="list"],
[dir="rtl"] ul {
    padding-left: 0;
    padding-right: 0;
    padding-inline-start: 0;
    margin-inline-start: 0;
}

/* Center-hero and product-hero spacing so headings never touch eyebrows or subtitles */
.center-hero_head {
    row-gap: 1.35rem;
}

.center-hero_head h1,
.center-hero_head .h1 {
    margin-top: 0.15rem;
    margin-bottom: 0.25rem;
}

.product-hero_head-inner {
    row-gap: 1.35rem;
}

@media screen and (max-width: 991px) {
    .hp-input {
        margin-top: 1.25rem !important;
        position: relative;
        bottom: auto;
    }

    .owner-stack-tabs_item {
        height: auto !important;
        min-height: 26em;
        gap: 1.5rem;
    }
}

.nav_buttons .btn,
[dir="rtl"] .nav_buttons .btn,
.btn.is-nav,
.btn.is-nav .btn-text {
    white-space: nowrap !important;
    flex-shrink: 0;
}

/* Keep Smooothy / GSAP horizontal sliders in LTR coordinates internally while card text is RTL */
[dir="rtl"] [data-smooothy],
[dir="rtl"] .stories-list,
[dir="rtl"] .reviews-wrap_rows,
[dir="rtl"] .reviews-wrap_wrap,
[dir="rtl"] .reviews-wrap_row {
    direction: ltr !important;
}

[dir="rtl"] .stories-list .stories-list_item,
[dir="rtl"] .reviews-wrap_row .reviews-wrap_item {
    direction: rtl;
    text-align: right;
}

/* Mirror directional arrow SVGs in RTL */
[dir="rtl"] [data-transition="arrow"] {
    transform: scaleX(-1);
}
[dir="rtl"] [data-transition="arrow-rev"] {
    transform: scaleX(-1);
}

/* Hero headline: always 2 centered lines scaling down smoothly with viewport width */
.h1.cc-home,
[dir="rtl"] .h1.cc-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    gap: 0.08em;
}

.h1.cc-home .hero-headline-prefix,
.h1.cc-home [data-rotating-words],
.h1.cc-home .rotating-text__phrase,
[dir="rtl"] .h1.cc-home .hero-headline-prefix,
[dir="rtl"] .h1.cc-home [data-rotating-words],
[dir="rtl"] .h1.cc-home .rotating-text__phrase {
    white-space: nowrap !important;
    max-width: 100%;
    text-align: center;
}

/* Rotating headline words: never exceed container width or clip offscreen at any breakpoint */
[data-rotating-words] {
    display: inline-block;
    max-width: 100%;
    vertical-align: baseline;
}

.rotating-text__inner {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
}

.rotating-text__phrase,
[dir="rtl"] .rotating-text__phrase {
    max-width: 100%;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .hero-partners-list {
        gap: 0.6rem 0.9rem;
    }
    .hero-partner-logo {
        height: 1.15rem;
        max-width: 4.5rem;
    }
}

/* Match Webflow inline validation hide & native button borderless styling */
[field-validation],
#locations-wrap {
    display: none;
}

button.btn.is-grader {
    border: 0;
}

/* Hero input form spacing & compact visible button */
.hp-input {
    max-width: 38em;
    width: 100%;
    height: auto;
}
[dir="rtl"] .hp-input {
    max-width: 42em;
    text-align: right;
}
.hp-input_form-block {
    height: auto;
}
.hp-input_form {
    display: flex !important;
    align-items: center;
    gap: 0.625em;
    padding: 0.375em 0.5em;
    min-height: 3.35em;
}
.hp-input_form-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 2.5em;
    padding: 0 0.65em;
    font-size: 0.9375em;
    text-overflow: ellipsis;
}
[dir="rtl"] .hp-input_form-input {
    text-align: right;
    padding: 0 0.75em;
}
button.btn.is-grader {
    width: auto !important;
    height: 2.35em !important;
    padding: 0.45em 0.9em !important;
    border-radius: 0.8em !important;
    font-size: 0.85em !important;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 0.4em;
}
button.btn.is-grader .btn-text {
    display: inline-block !important;
    font-size: 0.92em;
    line-height: 1.2;
}
button.btn.is-grader .icon-20 {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}
@media screen and (max-width: 479px) {
    .hp-input_form {
        gap: 0.4em;
        padding: 0.35em;
        min-height: 3em;
    }
    .hp-input_form-input {
        font-size: 0.875em;
        padding: 0 0.35em;
    }
    button.btn.is-grader {
        height: 2.2em !important;
        padding: 0.4em 0.7em !important;
        font-size: 0.78em !important;
    }
}

/* Arabic blog & editorial RTL layout polish */
[dir="rtl"] .blog-key_rich-text li {
    background-position: 100% 7px;
    padding-left: 0;
    padding-right: 1.5em;
}
[dir="rtl"] .text-rich-text ul,
[dir="rtl"] .text-rich-text ol,
[dir="rtl"] .faq-rich-text ul,
[dir="rtl"] .faq-rich-text ol,
[dir="rtl"] .text-rich-text-role ul,
[dir="rtl"] .text-rich-text_series-c ul,
[dir="rtl"] .text-rich-text_series-d ul {
    padding-left: 0;
    padding-right: 1.5em;
    padding-inline-start: 1.5em;
}
[dir="rtl"] .tahwila-tier-card ul {
    padding-left: 0;
    padding-right: 1.15rem;
    padding-inline-start: 1.15rem;
}
[dir="rtl"] .blog-card_content {
    padding-right: 0;
    padding-left: 4.875em;
}
[dir="rtl"] .blog-card_content-item:first-child {
    padding-right: 0;
    border-right: none;
}

[dir="rtl"] .blog-card_content-item:last-child {
    padding-right: inherit;
    border-right: inherit;
    padding-left: 0;
    border-left: none;
}

.w-dyn-bind-empty {
    display: none !important;
}

/* Stories uses badge & Testimonials layout RTL polish */
[dir="rtl"] .stories-item_uses {
    left: auto;
    right: 1.5rem;
}

/* Ensure nav controls sit cleanly above the dropdown/menu layer */
.nav-mobile-start {
    display: none;
}

.nav-part,
.nav-part.cc-right,
.nav-part.cc-right .button-group,
.nav-mobile-start,
.lang-switch-pill {
    position: relative;
    z-index: 30;
}

/* Language switcher in header */
.lang-switch-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #0f172a;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}
.lang-switch-pill:hover {
    background: transparent;
    border: none;
    opacity: 0.72;
}
.nav.is-transparent .lang-switch-pill,
[data-nav-theme="dark"] .lang-switch-pill {
    border: none;
    background: transparent;
    color: #ffffff;
}
.nav.is-transparent .lang-switch-pill:hover,
[data-nav-theme="dark"] .lang-switch-pill:hover {
    background: transparent;
    border: none;
    opacity: 0.78;
}

/* AI Restaurant Report Instant Modal */
.owner-grader-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(8, 10, 15, 0.72);
    backdrop-filter: blur(8px);
}
.owner-grader-modal.is-open {
    display: flex;
}
.owner-grader-modal__card {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    color: #111827;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
}
.owner-grader-modal__close {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}
.owner-grader-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
@media (max-width: 600px) {
    .owner-grader-modal__grid {
        grid-template-columns: 1fr;
    }
}
.owner-grader-modal__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}
.owner-grader-modal__field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}
.owner-grader-modal__field input,
.owner-grader-modal__field select {
    border: 1px solid #d1d5db;
    border-radius: 0.625rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.925rem;
    width: 100%;
    color: #111827;
    background: #ffffff;
}
.owner-grader-modal__submit {
    width: 100%;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    padding: 0.9rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
}
.owner-grader-modal__submit:hover {
    background: #000000;
}

/* Font Awesome Helpers & Footer Socials */
.nav-fa-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(44, 44, 44, 0.72);
    flex-shrink: 0;
}
.lang-switch-pill i {
    font-size: 0.85em;
    opacity: 0.8;
}
.footer-brand-summary {
    max-width: 480px;
    margin-top: 0.85rem;
    line-height: 1.6;
}
.footer-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1.5rem 0;
}
.footer-contact-list,
.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
}
.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    color: inherit;
    opacity: 0.82;
    text-decoration: none;
}
.footer-contact-item:hover {
    opacity: 1;
}
.footer-social-link {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    opacity: 0.75;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* SEO, GEO & FAQ Hub Section */
.section-seo-hub {
    padding: 5.5rem 0;
    background: #f8fafc;
    color: #0f172a;
}
.seo-hub__header {
    max-width: 780px;
    margin-bottom: 3rem;
}
.seo-hub__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #047857;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.seo-hub__title {
    margin-bottom: 1rem;
    color: #0f172a;
}
.seo-hub__lead {
    line-height: 1.65;
}
.seo-hub__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 4rem;
}
@media screen and (max-width: 1100px) {
    .seo-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width: 640px) {
    .seo-hub__grid {
        grid-template-columns: 1fr;
    }
}
.seo-hub__card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.seo-hub__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.22);
}
.seo-hub__img-link {
    display: block;
    text-decoration: none;
}
.seo-hub__figure {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}
.seo-hub__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.seo-hub__card:hover .seo-hub__img {
    transform: scale(1.04);
}
.seo-hub__badge {
    display: none !important;
}
.seo-hub__card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}
.seo-hub__card-title {
    font-size: 1.15rem !important;
    line-height: 1.42 !important;
    margin: 0;
}
.seo-hub__card-title a {
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.seo-hub__inline-icon {
    color: #059669;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.seo-hub__card-desc {
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
.seo-hub__more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #047857;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 0.25rem;
}
.seo-hub__more:hover {
    text-decoration: underline;
}
.seo-hub__faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 2.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.35rem;
    padding: 2.25rem;
}
@media screen and (max-width: 900px) {
    .seo-hub__faq-wrap {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}
.seo-hub__quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}
.seo-hub__pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.seo-hub__pill-link:last-child {
    background: #f1f5f9;
    color: #0f172a;
}
.seo-hub__faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.seo-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 1rem 1.15rem;
    background: #f8fafc;
}
.seo-faq-item[open] {
    background: #ffffff;
    border-color: #cbd5e1;
}
.seo-faq-item__summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 700;
    font-size: 0.98rem;
    color: #0f172a;
}
.seo-faq-item__summary::-webkit-details-marker {
    display: none;
}
.seo-faq-item__chevron {
    font-size: 0.8rem;
    color: #64748b;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.seo-faq-item[open] .seo-faq-item__chevron {
    transform: rotate(180deg);
}
.seo-faq-item__answer {
    margin: 0.75rem 0 0;
    line-height: 1.65;
}
.seo-hero-lead {
    margin-top: 1rem;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
    line-height: 1.6;
}

/* Hero Connected Systems & Partner Logos Strip */
.hero-partners-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}
.hero-partners-label {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}
.hero-partners-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.15rem;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}
.hero-partner-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.25rem;
    border-radius: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #0f172a;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.hero-partner-pill--link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}
.hero-partner-icon {
    font-size: 1.35rem;
    line-height: 1;
    background: transparent !important;
}
.hero-partner-logo {
    height: 1.35rem;
    width: auto;
    max-width: 5.25rem;
    object-fit: contain;
    display: block;
    background: transparent !important;
}


/* Cloned header dynamic actions, mega-menu & RTL alignment */
@media screen and (min-width: 992px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .nav-part {
    width: auto;
    min-width: 0;
    justify-self: start;
  }

  .nav-menu {
    flex: initial;
    justify-self: center;
    align-self: stretch;
  }

  .nav-menu_list {
    padding: 0;
    margin: 0;
  }

  .nav-part.cc-right {
    width: auto;
    flex-shrink: 0;
    justify-self: end;
  }

  .nav-part.cc-right .button-group.cc-menu {
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
  }

  [dir="rtl"] .nav-menu_dropdowns > [data-dropdown-target] {
    left: 0;
    right: auto;
    direction: rtl;
    text-align: right;
  }

  [dir="rtl"] .nav-menu_dropdown-cases,
  [dir="rtl"] .nav-menu_link-cards {
    border-left: none;
    padding-left: 0;
    border-right: 1px solid rgba(44, 44, 44, 0.08);
    padding-right: 1.5em;
  }

  [dir="rtl"] .nav-menu_link-item:hover {
    padding-left: 0.4em;
    padding-right: 0.4em;
  }
}

.footer-middle_wrap,
.footer-middle_item,
.footer-middle_list {
  padding-inline-start: 0 !important;
  margin-inline-start: 0 !important;
}

.footer-bottom_list {
  column-gap: 1.75rem;
  row-gap: 0.65rem;
  flex-wrap: wrap;
}

[dir="rtl"] .footer-middle_item,
[dir="rtl"] .footer-middle_list {
  align-items: flex-start;
  text-align: right;
}

.footer-link,
.footer-link.cc-big {
  padding-inline-start: 0;
  margin-inline-start: 0;
}

.nav-menu_dropdown-group > .text-color-supermuted {
  padding-inline: 0;
  margin-inline: 0;
}

.nav-menu_link-list {
  padding-inline-start: 0 !important;
  margin-inline-start: 0 !important;
}

.nav-menu_product-link {
  padding: 0.45em 0;
}

.nav-menu_product-link:hover {
  padding-left: 0.35em;
  padding-right: 0.35em;
}

.nav-menu_link-item {
  padding: 0.45em 0;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.nav-menu_link-item:hover {
  padding-left: 0.4em;
  padding-right: 0.4em;
}

[dir="rtl"] .nav-menu_product-link,
[dir="rtl"] .nav-menu_link-item,
[dir="rtl"] .nav-menu_dropdown-group,
[dir="rtl"] .nav-menu_cases-inner {
  text-align: right;
}

@media screen and (max-width: 991px) {
  .nav {
    height: 3.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .nav .container-large {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
  }

  .nav-mobile-start {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-self: start;
    min-width: 0;
  }

  .nav-part--brand {
    justify-self: center;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav_logo {
    height: 1.75rem !important;
    max-height: 1.85rem !important;
    width: auto !important;
  }

  .nav-part.cc-right {
    justify-self: end;
    width: auto !important;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .nav-part.cc-right .button-group.cc-menu {
    width: auto !important;
    gap: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .lang-switch-pill--desktop {
    display: none !important;
  }

  .lang-switch-pill--mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.15rem;
    padding: 0 0.35rem;
    border-radius: 0;
    border: none;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .nav-ham {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.5px;
    width: 1.9rem;
    height: 2.15rem;
    margin: 0 !important;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #0f172a;
    flex-shrink: 0;
    cursor: pointer;
  }

  .nav.is-transparent .nav-ham,
  [data-nav-theme="dark"] .nav-ham {
    color: #ffffff;
    background: transparent;
    border: none;
  }

  .nav-ham-line {
    width: 14px;
    height: 1.5px;
    background-color: currentColor;
    border-radius: 2px;
  }

  .btn.is-nav,
  [dir="rtl"] .btn.is-nav {
    height: 1.72rem !important;
    min-height: 0 !important;
    padding: 0 0.58rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.68rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
  }

  .btn.is-nav .btn-text,
  [dir="rtl"] .btn.is-nav .btn-text {
    padding: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
  }

  .btn.is-nav-text {
    display: none !important;
  }

  [dir="rtl"] .nav-menu {
    text-align: right;
    align-items: stretch;
    padding-bottom: 2.5rem;
  }
}

@media screen and (max-width: 420px) {
  .nav .container-large {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .nav-wrap {
    gap: 0.35rem;
  }

  .nav-mobile-start {
    gap: 0.35rem;
  }

  .nav_logo {
    height: 1.58rem !important;
    max-height: 1.65rem !important;
  }

  .nav-ham {
    width: 1.75rem;
    height: 1.95rem;
    border-radius: 0;
  }

  .lang-switch-pill--mobile {
    height: 1.95rem;
    padding: 0 0.28rem;
    border-radius: 0;
    font-size: 0.72rem;
  }

  .btn.is-nav,
  [dir="rtl"] .btn.is-nav {
    height: 1.56rem !important;
    padding: 0 0.48rem !important;
    border-radius: 0.44rem !important;
    font-size: 0.62rem !important;
  }
}

/* Tahwila brand logo sizing across header, footer, and dark engineering pages */
.nav_logo {
  width: auto !important;
  height: 1.65rem;
  max-height: 1.9rem;
  object-fit: contain;
}

.footer_logo {
  width: auto !important;
  justify-content: flex-start !important;
}

.eng-hero_logo img,
.eng-lp_footer-logo img {
  background: rgba(255, 255, 255, 0.94);
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
}

/* ============================================================
   Our Success Partners (شركاء نجاحنا) - Endless Marquee Carousel
   ============================================================ */
.section-partners {
  padding: 3.5rem 0 2.5rem;
  background: transparent;
  overflow: hidden;
}

.partners-section__header {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 2.25rem;
}

.partners-section__header .h3 {
  margin: 0;
}

.partners-marquee__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: ltr !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: owner-partners-marquee var(--partners-marquee-duration, 32s) linear infinite;
}

.partners-marquee__viewport:hover .partners-marquee__track,
.partners-marquee__viewport:focus-within .partners-marquee__track {
  animation-play-state: paused;
}

.partners-marquee__group {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  gap: clamp(1.25rem, 2.5vw, 2.35rem);
  padding-inline-end: clamp(1.25rem, 2.5vw, 2.35rem);
}

.partners-marquee__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-width: 3.5rem;
  padding: 0.2rem 0.25rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a.partners-marquee__item:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.partners-marquee__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.15rem;
  background: transparent !important;
}

.partners-marquee__logo {
  display: block;
  height: 1.9rem;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.partners-marquee__icon {
  font-size: 1.65rem;
  line-height: 1;
  background: transparent !important;
}

.partners-marquee__name {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: #334155;
  text-align: center;
  white-space: nowrap;
}

@keyframes owner-partners-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 767px) {
  .section-partners {
    padding: 2.25rem 0 1.5rem;
  }

  .partners-section__header {
    margin-bottom: 1.25rem;
  }

  .partners-marquee__group {
    gap: 1.15rem;
    padding-inline-end: 1.15rem;
  }

  .partners-marquee__item {
    gap: 0.35rem;
    min-width: 2.85rem;
    padding: 0.15rem;
  }

  .partners-marquee__logo-wrap {
    height: 1.75rem;
  }

  .partners-marquee__logo {
    height: 1.55rem;
    max-width: 5rem;
  }

  .partners-marquee__icon {
    font-size: 1.38rem;
  }

  .partners-marquee__name {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .partners-marquee__track {
    animation: none;
  }
}

/* ============================================================
   Tahwila Feature Showcase, Phone Feed, Directory & Tier Cards
   ============================================================ */
.hp-hero_phone-mock {
  pointer-events: none;
}

.hp-phone_phone-status {
  pointer-events: none;
}

.hp-hero_phone-screen:has(.tahwila-phone-feed) .hp-phone_phone-load {
  display: none !important;
  opacity: 0 !important;
}

.tahwila-phone-feed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  padding: 3.9em 1.35em 1.1em;
  background: #ffffff;
  color: #0f172a;
  font-size: 1em;
  line-height: 1.35;
  overflow: hidden;
}

.tahwila-phone-feed__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45em;
  padding: 0.35em 0.1em 0.55em;
  border-radius: 0;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
  color: #0f172a;
  box-shadow: none;
}

.tahwila-phone-feed__brand {
  display: flex;
  align-items: center;
  gap: 0.5em;
  min-width: 0;
}

.tahwila-phone-feed__logo-wrap {
  width: 1.55em;
  height: 1.55em;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tahwila-phone-feed__logo {
  width: 1.45em;
  height: 1.45em;
  object-fit: contain;
}

.tahwila-phone-feed__titles {
  min-width: 0;
}

.tahwila-phone-feed__title {
  font-weight: 800;
  font-size: 0.78em;
  line-height: 1.2;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tahwila-phone-feed__subtitle {
  font-size: 0.6em;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tahwila-phone-feed__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #059669;
  font-size: 0.62em;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.tahwila-phone-feed__pulse {
  width: 0.42em;
  height: 0.42em;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: tahwilaPhonePulse 1.8s ease-out infinite;
}

.tahwila-phone-feed__subbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4em;
  padding: 0.25em 0.1em 0.45em;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.6em;
  font-weight: 700;
  color: #475569;
}

.tahwila-phone-feed__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  white-space: nowrap;
}

.tahwila-phone-feed__stat i {
  color: #059669;
  font-size: 0.95em;
}

.tahwila-phone-feed__stat--pos {
  color: #065f46;
}

.tahwila-phone-feed__viewport {
  flex: 1 1 0%;
  min-height: 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 3%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 3%, #000 84%, transparent 100%);
}

.tahwila-phone-feed__track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: tahwilaPhoneFeedScroll 74s linear infinite;
}

.hp-hero_phone-box:hover .tahwila-phone-feed__track,
.tahwila-phone-feed:hover .tahwila-phone-feed__track {
  animation-play-state: paused;
}

.tahwila-phone-feed__group {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 0.25em;
}

.tahwila-msg {
  background: transparent;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  border-radius: 0;
  padding: 0.58em 0.15em;
  box-shadow: none;
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
}

.tahwila-msg--highlight {
  background: transparent;
  border-color: #f1f5f9;
}

.tahwila-msg__avatar {
  width: 1.5em;
  height: 1.5em;
  margin-top: 0.08em;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.92em;
}

.tahwila-msg__avatar--emerald {
  background: transparent;
  color: #047857;
}

.tahwila-msg__avatar--whatsapp {
  background: transparent;
  color: #16a34a;
}

.tahwila-msg__avatar--instagram {
  background: transparent;
  color: #e11d48;
}

.tahwila-msg__avatar--tiktok {
  background: transparent;
  color: #0f172a;
}

.tahwila-msg__avatar--telegram {
  background: transparent;
  color: #0284c7;
}

.tahwila-msg__avatar--messenger {
  background: transparent;
  color: #2563eb;
}

.tahwila-msg__avatar--pos {
  background: transparent;
  color: #4338ca;
}

.tahwila-msg__avatar--manager {
  background: transparent;
  color: #6d28d9;
}

.tahwila-msg__avatar--amber {
  background: transparent;
  color: #b45309;
}

.tahwila-msg__avatar--loyalty {
  background: transparent;
  color: #c2410c;
}

.tahwila-msg__content {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22em;
}

.tahwila-msg__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35em;
}

.tahwila-msg__title {
  font-weight: 800;
  font-size: 0.7em;
  line-height: 1.25;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tahwila-msg__time {
  font-size: 0.58em;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  flex-shrink: 0;
}

.tahwila-msg__body {
  font-size: 0.66em;
  line-height: 1.42;
  color: #334155;
}

.tahwila-msg__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35em;
  margin-top: 0.12em;
}

.tahwila-msg__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  font-size: 0.58em;
  font-weight: 800;
  line-height: 1.3;
}

.tahwila-msg__chip--slate {
  background: transparent;
  color: #475569;
  border: none;
}

.tahwila-msg__chip--green {
  background: transparent;
  color: #047857;
  border: none;
}

@keyframes tahwilaPhoneFeedScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes tahwilaPhonePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }
  70% {
    box-shadow: 0 0 0 0.45em rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tahwila-phone-feed__track {
    animation: none;
  }

  .tahwila-phone-feed__pulse {
    animation: none;
  }
}

.product-hero_box.tahwila-hero-visual {
  width: 100%;
  max-width: 29rem;
  padding: 0 !important;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.16);
  flex-shrink: 0;
}

.tahwila-hero-visual__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 992px) {
  .product-hero_wrap > .product-hero_head {
    flex: 1 1 0%;
    min-width: 0;
  }

  .product-hero_wrap > .product-hero_box.tahwila-hero-visual {
    width: 42%;
    max-width: 29rem;
  }
}

.tahwila-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.tahwila-kpi-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1.15rem;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tahwila-kpi-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #047857;
  line-height: 1.1;
}

.tahwila-kpi-label {
  font-size: 0.92rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.45;
}

.tahwila-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.tahwila-cap-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 10px 28px -20px rgba(15, 23, 42, 0.25);
}

.tahwila-cap-card .h5 {
  font-size: 1.15rem;
  margin: 0;
}

.tahwila-cap-card__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tahwila-cap-card__icon {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tahwila-cap-card__num {
  display: none !important;
}

.tahwila-pillar-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.75rem;
}

.tahwila-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  width: 100%;
}

.tahwila-tier-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.35rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tahwila-tier-card--featured {
  background: #0f172a;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.45);
}

.tahwila-tier-card ul {
  margin: 0;
  padding-inline-start: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.tahwila-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.tahwila-related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  text-decoration: none;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tahwila-related-card:hover {
  border-color: #059669;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .product-hero_wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .product-hero_box.tahwila-hero-visual {
    max-width: 28rem;
    margin-inline: auto;
  }

  .tahwila-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tahwila-tier-grid,
  .tahwila-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .tahwila-cap-grid,
  .tahwila-kpi-strip {
    grid-template-columns: 1fr;
  }

  .tahwila-pillar-section {
    padding: 1.25rem;
  }
}

[dir="rtl"] .tahwila-cap-card,
[dir="rtl"] .tahwila-pillar-section,
[dir="rtl"] .tahwila-tier-card,
[dir="rtl"] .tahwila-related-card,
[dir="rtl"] .tahwila-kpi-card,
[dir="rtl"] .accordion-css__item-top,
[dir="rtl"] .accordion-css__item-bottom-content {
  text-align: right;
}

[dir="rtl"] .accordion-css__list {
  padding-right: 0;
}

/* ============================================================
   Clean Typography & Iconography: Remove Shaded Pill / Box
   Backgrounds Behind Small Text Labels, Tags, Eyebrows & Icons
   ============================================================ */
.nav-tag,
.nav-tag.cc-grey,
.ow-tag,
.cs2_tag,
.cs2_meta-tag,
.cs2_growth-stage,
.cs2_growth-stage.is-soft,
.series-c_tag-item,
.demo_pos-compare-tag,
.body-s.stories-item_uses,
.prouct-list_icon-box,
.ranking-icon,
.why-backing_icon,
.why-sticky_content-top_icon,
.why-content_head-icon,
.series_b-block-icon,
.series_b-block-icon._2,
.series_b-item_number-icon,
mark {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
  border-radius: 0 !important;
}

.nav-tag {
  padding-left: 0 !important;
  padding-right: 0 !important;
  color: #047857 !important;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1.2 !important;
}

.nav-tag.cc-grey {
  color: #64748b !important;
}

.prouct-list_icon-box,
.ranking-icon,
.why-backing_icon,
.why-sticky_content-top_icon,
.why-content_head-icon,
.series_b-block-icon,
.series_b-item_number-icon {
  width: auto !important;
  height: auto !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
}

.cs2_tag,
.demo_pos-compare-tag,
.series_b-item_number-icon,
.cs2_meta-tag {
  color: #047857 !important;
  padding: 0 !important;
  font-weight: 700;
}

mark {
  color: inherit !important;
}

/* ============================================================
   8-Tab Tahwila Owner Stack Showcase & Matched Animations
   ============================================================ */
@media (min-width: 992px) {
  .owner-stack-menu {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 1.35rem;
    row-gap: 0.35rem;
  }

  .owner-stack-tabs_item.tahwila-stack-panel {
    padding-left: 7%;
    padding-right: 7%;
    gap: 3rem;
    min-height: 35em;
    height: auto;
    padding-top: 3.5em;
    padding-bottom: 3.5em;
  }

  .owner-stack-tabs_item.tahwila-stack-panel .owner-stack-tabs_content {
    max-width: 24.5rem;
    flex: 0 0 24.5rem;
  }
}

@media (max-width: 991px) {
  [dir="rtl"] .owner-stack-menu {
    direction: ltr;
  }

  [dir="rtl"] .owner-stack-menu_item {
    direction: rtl;
    text-align: right;
  }

  .owner-stack-tabs_item.tahwila-stack-panel {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 2rem 1.5rem !important;
    height: auto !important;
  }

  .owner-stack-tabs_item.tahwila-stack-panel .owner-stack-tabs_content {
    max-width: 100%;
  }
}

.owner-stack-menu_item .h5 {
  font-size: 1.05rem;
  line-height: 1.35;
}

.owner-stack-tabs_item.tahwila-stack-panel--light {
  background: radial-gradient(circle at 80% 20%, #fffaf4 0%, #f6eee5 100%);
  color: #18181b;
}

.owner-stack-tabs_item.tahwila-stack-panel--dark {
  background: radial-gradient(circle at 20% 20%, #0b3b2c 0%, #111827 72%);
  color: #ffffff;
}

.owner-stack-tabs_item.tahwila-stack-panel--dark .h6,
.owner-stack-tabs_item.tahwila-stack-panel--dark .text-color-muted {
  color: #6ee7b7 !important;
}

.owner-stack-tabs_item.tahwila-stack-panel--dark .h4 {
  color: #ffffff !important;
}

.tahwila-stack-desc {
  margin-top: 0.9rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #475569;
}

.tahwila-stack-panel--dark .tahwila-stack-desc {
  color: rgba(226, 232, 240, 0.85);
}

.owner-stack-tabs_visual {
  width: 100%;
  align-items: center !important;
}

.tahwila-stack-scene {
  width: 100%;
  max-width: 31rem;
  margin-inline: auto;
}

.tahwila-scene-card,
.tahwila-scene-card--light,
.tahwila-scene-card--dark {
  border-radius: 0;
  padding: 0.35rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border: none;
  box-shadow: none;
  background: transparent;
  color: #0f172a;
}

.tahwila-scene-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tahwila-scene-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 800;
  background: transparent;
  border: none;
}

.tahwila-scene-pill--emerald,
.tahwila-scene-pill--darkglow {
  background: transparent;
  color: #047857;
  border: none;
}

.tahwila-scene-pill--indigo {
  background: transparent;
  color: #4338ca;
  border: none;
}

.tahwila-scene-pill--amber {
  background: transparent;
  color: #b45309;
  border: none;
}

.tahwila-scene-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #059669;
  background: transparent;
}

.tahwila-scene-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #10b981;
  animation: tahwilaPhonePulse 1.6s ease-out infinite;
}

.tahwila-text-emerald {
  color: #047857;
}

.tahwila-scene-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border-radius: 0;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
  background: transparent;
  border: none;
}

.tahwila-scene-chip--slate,
.tahwila-scene-chip--darkpill {
  background: transparent;
  color: #475569;
  border: none;
}

.tahwila-scene-chip--green {
  background: transparent;
  color: #047857;
  border: none;
}

/* Scene 1: Voice Drive-Through */
.tahwila-voice-box {
  background: transparent;
  color: #0f172a;
  border-radius: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.45rem 0 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tahwila-voice-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  height: 1.75rem;
}

.tahwila-voice-wave span {
  width: 0.24rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #059669;
  animation: tahwilaWaveBar 1.15s ease-in-out infinite;
}

.tahwila-voice-wave span:nth-child(2) { animation-delay: 0.12s; }
.tahwila-voice-wave span:nth-child(3) { animation-delay: 0.24s; }
.tahwila-voice-wave span:nth-child(4) { animation-delay: 0.36s; }
.tahwila-voice-wave span:nth-child(5) { animation-delay: 0.48s; }
.tahwila-voice-wave span:nth-child(6) { animation-delay: 0.36s; }
.tahwila-voice-wave span:nth-child(7) { animation-delay: 0.24s; }
.tahwila-voice-wave span:nth-child(8) { animation-delay: 0.12s; }
.tahwila-voice-wave span:nth-child(9) { animation-delay: 0.05s; }

.tahwila-voice-quote {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  color: #0f172a;
  text-align: center;
}

.tahwila-cart-mirror {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tahwila-cart-head,
.tahwila-cart-row,
.tahwila-cart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.tahwila-cart-head {
  font-weight: 800;
  color: #0f172a;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed #cbd5e1;
}

.tahwila-cart-row {
  color: #334155;
  font-weight: 600;
}

.tahwila-cart-foot {
  padding-top: 0.3rem;
}

/* Scene 2: 6-Channel AI Bot & Comment Moderation */
.tahwila-chat-mod-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.2rem 0 0.45rem;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
  color: #991b1b;
  font-size: 0.74rem;
  font-weight: 700;
}

.tahwila-chat-mod-bar i {
  color: #dc2626;
}

.tahwila-channel-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.tahwila-chan-icon {
  height: 2rem;
  border-radius: 0;
  background: transparent;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: none;
  animation: tahwilaChannelPulse 6s infinite;
}

.tahwila-chan-1 { animation-delay: 0s; }
.tahwila-chan-2 { animation-delay: 1s; }
.tahwila-chan-3 { animation-delay: 2s; }
.tahwila-chan-4 { animation-delay: 3s; }
.tahwila-chan-5 { animation-delay: 4s; }
.tahwila-chan-6 { animation-delay: 5s; }

.tahwila-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tahwila-chat-msg {
  border-radius: 0;
  padding: 0.35rem 0;
  font-size: 0.82rem;
  line-height: 1.48;
  background: transparent;
  border: none;
}

.tahwila-chat-msg--guest {
  background: transparent;
  color: #0f172a;
  align-self: flex-start;
  max-width: 100%;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tahwila-chat-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #e11d48;
  margin-bottom: 0.2rem;
}

.tahwila-chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  align-self: flex-end;
  padding: 0.15rem 0;
  background: transparent;
  border-radius: 0;
}

.tahwila-chat-typing span {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #059669;
  animation: tahwilaTypingBounce 1.2s infinite;
}

.tahwila-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.tahwila-chat-typing span:nth-child(3) { animation-delay: 0.4s; }

.tahwila-chat-msg--bot {
  background: transparent;
  border: none;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tahwila-chat-bot-head,
.tahwila-chat-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.tahwila-chat-order {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  font-weight: 800;
  color: #065f46;
}

/* Scene 3: Smart Manager Analytics */
.tahwila-ai-prompt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0 0.55rem;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
}

.tahwila-ai-prompt i {
  color: #059669;
}

.tahwila-bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tahwila-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tahwila-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e293b;
}

.tahwila-bar-track {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.tahwila-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #059669 0%, #34d399 100%);
  transform-origin: left center;
}

[dir="rtl"] .tahwila-bar-fill {
  transform-origin: right center;
}

.owner-stack-tabs_item[data-tab-state="active"] .tahwila-bar-fill--1 {
  width: 74%;
  animation: tahwilaBarGrow74 2.4s ease-out infinite alternate;
}

.owner-stack-tabs_item[data-tab-state="active"] .tahwila-bar-fill--2 {
  width: 68%;
  animation: tahwilaBarGrow68 2.4s ease-out 0.15s infinite alternate;
}

.owner-stack-tabs_item[data-tab-state="active"] .tahwila-bar-fill--3 {
  width: 61%;
  animation: tahwilaBarGrow61 2.4s ease-out 0.3s infinite alternate;
}

/* Scene 4: POS Pipeline */
.tahwila-pos-pipeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.2rem minmax(0, 1.35fr);
  align-items: center;
  gap: 0.6rem;
}

.tahwila-pos-node {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.tahwila-pos-node i {
  font-size: 1.35rem;
  color: #4338ca;
}

.tahwila-pos-node span {
  font-size: 0.72rem;
  color: #64748b;
}

.tahwila-pos-bridge {
  height: 2px;
  background: #c7d2fe;
  position: relative;
}

.tahwila-pos-pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #10b981;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  animation: tahwilaBridgeTravel 1.6s linear infinite;
}

.tahwila-pos-targets {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tahwila-pos-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.76rem;
}

.tahwila-pos-target strong {
  color: #047857;
}

/* Scene 5: Saudi Payments */
.tahwila-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.tahwila-pay-badge {
  padding: 0.35rem 0.25rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  color: #334155;
}

.tahwila-pay-badge--active {
  background: transparent;
  color: #047857;
  border-color: #10b981;
  animation: tahwilaSoftPulse 2.2s ease-in-out infinite;
}

.tahwila-pay-confirm {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.tahwila-pay-check {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #059669;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: tahwilaSoftPulse 2s ease-in-out infinite;
}

.tahwila-pay-title {
  font-weight: 800;
  font-size: 0.84rem;
  color: #065f46;
}

.tahwila-pay-sub {
  font-size: 0.74rem;
  color: #334155;
  margin-top: 0.15rem;
}

/* Scene 6: Smart Digital Menu */
.tahwila-dish-card {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0.3rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tahwila-dish-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.tahwila-dish-head span {
  font-weight: 800;
  color: #047857;
}

.tahwila-dish-mods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
}

.tahwila-mod-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #475569;
}

.tahwila-mod-pill--on {
  background: transparent;
  border: none;
  color: #047857;
}

.tahwila-upsell-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  animation: tahwilaSoftPulse 2.6s ease-in-out infinite;
}

.tahwila-upsell-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #b45309;
}

.tahwila-upsell-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

/* Scene 7: Floor Plan */
.tahwila-floor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.tahwila-table-box {
  border-radius: 0;
  padding: 0.45rem 0.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: transparent;
}

.tahwila-table-box span {
  font-weight: 800;
  font-size: 0.86rem;
}

.tahwila-table-box small {
  font-size: 0.7rem;
}

.tahwila-table-box--booked {
  background: transparent;
  color: #475569;
}

.tahwila-table-box--open {
  background: transparent;
  border-color: rgba(16, 185, 129, 0.45);
  color: #059669;
}

.tahwila-table-box--pulse {
  background: transparent;
  border-color: #059669;
  color: #047857;
  animation: tahwilaSoftPulse 1.8s ease-in-out infinite;
}

/* Scene 8: Loyalty */
.tahwila-loyalty-pass {
  border-radius: 0;
  padding: 0.35rem 0 0.65rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: transparent;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tahwila-loyalty-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.tahwila-loyalty-top i {
  color: #b45309;
}

.tahwila-loyalty-top strong {
  color: #047857;
}

.tahwila-loyalty-bar {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.tahwila-loyalty-fill {
  display: block;
  height: 100%;
  width: 85%;
  border-radius: 999px;
  background: linear-gradient(90deg, #059669 0%, #34d399 100%);
  animation: tahwilaLoyaltyFill 2.8s ease-in-out infinite alternate;
}

.tahwila-loyalty-tiers {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #475569;
}

.tahwila-loyalty-tiers .tahwila-text-emerald {
  color: #047857;
}

@keyframes tahwilaWaveBar {
  0%, 100% { height: 0.45rem; opacity: 0.6; }
  50% { height: 1.55rem; opacity: 1; }
}

@keyframes tahwilaChannelPulse {
  0%, 20%, 100% { color: #475569; transform: scale(1); }
  8% { color: #059669; transform: translateY(-2px) scale(1.14); }
}

@keyframes tahwilaTypingBounce {
  0%, 80%, 100% { transform: scale(0.75); opacity: 0.45; }
  40% { transform: scale(1.1); opacity: 1; }
}

@keyframes tahwilaBarGrow74 { 0% { width: 52%; } 100% { width: 74%; } }
@keyframes tahwilaBarGrow68 { 0% { width: 46%; } 100% { width: 68%; } }
@keyframes tahwilaBarGrow61 { 0% { width: 40%; } 100% { width: 61%; } }

@keyframes tahwilaBridgeTravel {
  0% { left: 0%; opacity: 0.3; }
  50% { opacity: 1; }
  100% { left: calc(100% - 0.55rem); opacity: 0.3; }
}

@keyframes tahwilaSoftPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes tahwilaLoyaltyFill {
  0% { width: 68%; }
  100% { width: 88%; }
}

@media (prefers-reduced-motion: reduce) {
  .tahwila-scene-dot,
  .tahwila-voice-wave span,
  .tahwila-chan-icon,
  .tahwila-chat-typing span,
  .tahwila-bar-fill,
  .tahwila-pos-pulse,
  .tahwila-pay-badge--active,
  .tahwila-pay-check,
  .tahwila-upsell-banner,
  .tahwila-table-box--pulse,
  .tahwila-loyalty-fill {
    animation: none !important;
  }
}

/* Protective smooth dark gradient scrims & crisp text shadows on photo-overlay cards (no blur) */
.restaurant-wrap_box-card .restaurant-card_overlay {
  display: block !important;
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 65% !important;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 16, 0) 0%,
    rgba(10, 12, 16, 0.18) 32%,
    rgba(10, 12, 16, 0.58) 70%,
    rgba(10, 12, 16, 0.82) 100%
  ) !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.restaurant-wrap_box-card.cc-big .z-index-2,
.restaurant-wrap_box-card:not(.cc-gradient) .z-index-2 {
  position: relative;
  z-index: 2;
}

.restaurant-wrap_box-card.cc-big .h5,
.restaurant-wrap_box-card:not(.cc-gradient) .z-index-2 .h5 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.78), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.guides-card_overlay {
  height: 60% !important;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 16, 0) 0%,
    rgba(10, 12, 16, 0.18) 32%,
    rgba(10, 12, 16, 0.58) 70%,
    rgba(10, 12, 16, 0.82) 100%
  ) !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  pointer-events: none;
}

.gudies-card_inner .h5 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72), 0 1px 2px rgba(0, 0, 0, 0.85);
}

@media screen and (max-width: 767px) {
  .restaurant-wrap_box-card.cc-big .restaurant-wrap_box-card-inner,
  .restaurant-wrap_box-card .max-width-389 {
    max-width: 100% !important;
  }

  .restaurant-wrap_box-card.cc-big .h5,
  .restaurant-wrap_box-card:not(.cc-gradient) .z-index-2 .h5 {
    font-size: clamp(1.02rem, 4.1vw, 1.3rem);
    line-height: 1.52 !important;
  }
}
