/* Theme5 storefront shell — Dar Al Nijara layout, Tecno brand colors */

body.body_theme5 {
    --t5-brand: #1421AB;
    --t5-brand-dark: #0f1890;
    --t5-ink: #1a1a1a;
    --t5-muted: #6b7280;
    --t5-surface: #ffffff;
    --t5-soft: #f5f6f8;
    --t5-hero-bg: #1c1f2a;
}

body.body_theme5 .t5-storefront-header {
    background: var(--t5-surface);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    position: relative;
    z-index: 40;
}

body.body_theme5 .t5-storefront-header__utility {
    display: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: var(--t5-soft);
    font-size: 0.8125rem;
    color: var(--t5-muted);
}

@media (min-width: 768px) {
    body.body_theme5 .t5-storefront-header__utility {
        display: block;
    }
}

body.body_theme5 .t5-storefront-header__utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    max-height: none;
    padding-block: 6px;
    overflow: visible;
}

body.body_theme5 .t5-storefront-header__contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    min-width: 0;
    flex: 1 1 auto;
}

body.body_theme5 .t5-storefront-header__contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--t5-ink) !important;
    text-decoration: none !important;
    text-transform: none !important;
    font-weight: 600;
    white-space: nowrap;
}

body.body_theme5 .t5-storefront-header__contact i {
    color: var(--t5-brand);
    font-size: 0.75rem;
}

body.body_theme5 .t5-storefront-header__contact-label {
    color: var(--t5-muted);
    font-weight: 600;
}

body.body_theme5 .t5-storefront-header__contact:hover {
    color: var(--t5-brand) !important;
}

body.body_theme5 .t5-storefront-header__contact:hover .t5-storefront-header__contact-label {
    color: var(--t5-brand);
}

body.body_theme5 .t5-storefront-header__utility-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
    flex: 0 1 auto;
    min-width: 0;
}

/* Language switcher — must stay tiny (was unbounded after leaving .top-bar) */
body.body_theme5 .t5-storefront-header #lang-toggle {
    position: relative;
    flex: 0 0 auto;
}

body.body_theme5 .t5-storefront-header .lang-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 8px !important;
    border-radius: 6px;
    min-height: 32px;
    max-height: 36px;
}

body.body_theme5 .t5-storefront-header .lang-flag,
body.body_theme5 .t5-storefront-header img.lang-flag,
body.body_theme5 .t5-storefront-header #selected-flag {
    width: 22px !important;
    height: 15px !important;
    max-width: 22px !important;
    max-height: 15px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
    display: inline-block !important;
    flex: 0 0 22px !important;
}

body.body_theme5 .t5-storefront-header #lang-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 160px;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    position: absolute;
    z-index: 1200;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.body_theme5 .t5-storefront-header #lang-menu .lang-item {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

body.body_theme5 .t5-storefront-header #lang-menu .lang-item:hover {
    background: var(--t5-brand);
    color: #fff;
}

body.body_theme5 .t5-storefront-header__utility-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--t5-ink) !important;
    text-decoration: none !important;
    font-weight: 700;
    text-transform: none !important;
}

body.body_theme5 .t5-storefront-header__main {
    display: none;
}

@media (min-width: 768px) {
    body.body_theme5 .t5-storefront-header__main {
        display: block;
        padding: 14px 0;
    }
}

body.body_theme5 .t5-storefront-header__main-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px 28px;
}

body.body_theme5 .t5-storefront-header__logo {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
}

body.body_theme5 .t5-storefront-header__logo img {
    width: auto !important;
    height: 64px !important;
    max-width: 200px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    display: block !important;
}

body.body_theme5 .t5-storefront-header__search {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
}

body.body_theme5 .t5-storefront-header__search form,
body.body_theme5 .t5-storefront-header__search-form {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: var(--t5-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.body_theme5 .t5-storefront-header__search form:focus-within,
body.body_theme5 .t5-storefront-header__search-form:focus-within {
    border-color: rgba(20, 33, 171, 0.45);
    box-shadow: 0 0 0 3px rgba(20, 33, 171, 0.08);
    background: #fff;
}

body.body_theme5 .t5-storefront-header__search input,
body.body_theme5 .t5-storefront-header__search #__product__search {
    flex: 1;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--t5-ink);
    text-transform: none !important;
}

body.body_theme5 .t5-storefront-header__search button[type="submit"] {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--t5-brand);
    cursor: pointer;
}

/* Live search suggest (reuses myscript.js + CatalogController@suggestSearch) */
body.body_theme5 .t5-search-suggest.serch-result {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 0;
    z-index: 1200;
    max-height: min(420px, 70vh);
    overflow: auto;
    margin: 0;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

body.body_theme5 .t5-search-suggest .s-r-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.body_theme5 .t5-search-product,
body.body_theme5 .t5-search-suggest .product-card.p-col {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 8px;
    border-radius: 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.2s ease;
}

body.body_theme5 .t5-search-product:hover,
body.body_theme5 .t5-search-suggest .product-card.p-col:hover {
    background: rgba(20, 33, 171, 0.06);
}

body.body_theme5 .t5-search-product__media,
body.body_theme5 .t5-search-suggest .product-thumb {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f5f9;
}

body.body_theme5 .t5-search-product__media img,
body.body_theme5 .t5-search-suggest .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.body_theme5 .t5-search-product__body,
body.body_theme5 .t5-search-suggest .product-card-body {
    min-width: 0;
}

body.body_theme5 .t5-search-product__title,
body.body_theme5 .t5-search-suggest .product-title,
body.body_theme5 .t5-search-suggest .product-title a {
    display: block;
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--t5-ink) !important;
    text-decoration: none !important;
    text-transform: none !important;
}

body.body_theme5 .t5-search-product__meta {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    color: #6b7280;
}

body.body_theme5 .t5-search-suggest .rating-stars,
body.body_theme5 .t5-search-suggest .product-price {
    display: none !important;
}

body.body_theme5 .t5-search-empty {
    padding: 18px 12px;
    text-align: center;
    color: #6b7280;
    font-weight: 600;
}

body.body_theme5 .t5-search-group + .t5-search-group {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.body_theme5 .t5-search-group__label {
    margin: 0 0 8px;
    padding: 0 4px;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase !important;
}

body.body_theme5 .t5-search-topic {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.2s ease;
}

body.body_theme5 .t5-search-topic:hover {
    background: rgba(20, 33, 171, 0.06);
}

body.body_theme5 .t5-search-topic__media {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f5f9;
}

body.body_theme5 .t5-search-topic__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.body_theme5 .t5-search-topic__title {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--t5-ink);
    text-transform: none !important;
}

body.body_theme5 .t5-search-topic__meta {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    color: #6b7280;
}

body.body_theme5 .t5-search-suggest .bottom-area {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
}

body.body_theme5 .t5-search-suggest .bottom-area a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(20, 33, 171, 0.08);
    color: var(--t5-brand) !important;
    font-weight: 700;
    text-decoration: none !important;
}

/* —— Mobile shell (homepage + storefront) —— */
@media (max-width: 767.98px) {
    body.body_theme5 .t5-storefront-header {
        display: none !important;
    }

    body.body_theme5.t5-drawer-open {
        overflow: hidden;
        touch-action: none;
    }

    body.body_theme5 .t5-mobile-shell.mobile-navbar {
        position: sticky;
        top: 0;
        z-index: 1100;
        display: block !important;
        padding: 0 !important;
        background: #fff;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    }

    body.body_theme5 .t5-mobile-utility {
        background: var(--t5-soft);
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        overflow: hidden;
    }

    body.body_theme5 .t5-mobile-utility__track {
        display: flex;
        align-items: center;
        gap: 14px;
        min-height: 34px;
        padding: 0 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.body_theme5 .t5-mobile-utility__track::-webkit-scrollbar {
        display: none;
    }

    body.body_theme5 .t5-mobile-utility__track a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        color: var(--t5-muted) !important;
        text-decoration: none !important;
        font-size: 0.72rem;
        font-weight: 600;
    }

    body.body_theme5 .t5-mobile-utility__track i {
        color: var(--t5-brand);
        font-size: 0.7rem;
    }

    /* Reference pattern: logo + action icons (menu / search) */
    body.body_theme5 .t5-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 56px;
        padding: 8px 12px;
    }

    body.body_theme5 .t5-mobile-bar__actions {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
        /* Search first (near logo), menu (☰) after it at the outer edge */
        flex-direction: row;
    }

    body.body_theme5 .t5-mobile-bar__icon-btn {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--t5-brand) !important;
        text-decoration: none !important;
        font-size: 1.15rem;
        cursor: pointer;
    }

    body.body_theme5 .t5-mobile-bar__icon-btn[aria-expanded="true"] {
        background: rgba(20, 33, 171, 0.08);
    }

    body.body_theme5 .t5-mobile-bar__logo,
    body.body_theme5 .mobile-navbar .mobile-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        flex: 1;
    }

    html.rtl body.body_theme5 .t5-mobile-bar__logo,
    html[dir="rtl"] body.body_theme5 .t5-mobile-bar__logo {
        justify-content: flex-end;
    }

    body.body_theme5 .t5-mobile-bar__logo img,
    body.body_theme5 .mobile-navbar .mobile-logo img {
        width: auto !important;
        max-width: 150px !important;
        height: 40px !important;
        max-height: 40px !important;
        object-fit: contain !important;
    }

    /* Search opens as a panel under the bar (icon-triggered) */
    body.body_theme5 .t5-mobile-search-panel {
        display: none;
        padding: 0 12px 12px;
        background: #fff;
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }

    body.body_theme5 .t5-mobile-search-panel.is-open,
    body.body_theme5 .t5-mobile-search-panel:not([hidden]) {
        display: block;
    }

    body.body_theme5 .t5-mobile-search-panel form {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        border: 1px solid rgba(15, 23, 42, 0.12);
        border-radius: 999px;
        background: var(--t5-soft);
        overflow: visible;
    }

    body.body_theme5 .t5-mobile-search-panel form:focus-within {
        border-color: rgba(20, 33, 171, 0.45);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(20, 33, 171, 0.08);
    }

    body.body_theme5 .t5-mobile-search-panel input {
        flex: 1;
        min-width: 0;
        min-height: 44px;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        padding: 0 16px;
        font-size: 0.92rem;
        font-weight: 600;
        color: var(--t5-ink);
        text-transform: none !important;
    }

    body.body_theme5 .t5-mobile-search-panel button[type="submit"] {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        color: var(--t5-brand);
    }

    body.body_theme5 .t5-mobile-search-panel .t5-search-suggest {
        position: absolute;
        top: calc(100% + 8px);
        inset-inline: 0;
        z-index: 1205;
        width: auto;
        max-height: min(55vh, 360px);
    }

    body.body_theme5 #scrollToTopBtn {
        bottom: 24px !important;
    }

    body.body_theme5 .t5-mobile-overlay,
    body.body_theme5 .mobile-navbar #overlay {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: none;
        background: rgba(15, 23, 42, 0.48);
        backdrop-filter: blur(1px);
    }

    body.body_theme5 .mobile-navbar #overlay.show,
    body.body_theme5 .t5-mobile-overlay.show {
        display: block;
    }

    body.body_theme5 .t5-mobile-drawer,
    body.body_theme5 .mobile-navbar #sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: auto !important;
        width: min(86vw, 340px) !important;
        height: 100% !important;
        z-index: 1201 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-105%);
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    html.rtl body.body_theme5 .t5-mobile-drawer,
    html[dir="rtl"] body.body_theme5 .t5-mobile-drawer,
    html.rtl body.body_theme5 .mobile-navbar #sidebar,
    html[dir="rtl"] body.body_theme5 .mobile-navbar #sidebar {
        left: auto !important;
        right: 0 !important;
        transform: translateX(105%);
    }

    body.body_theme5 .t5-mobile-drawer.show,
    body.body_theme5 .mobile-navbar #sidebar.show {
        transform: translateX(0) !important;
    }

    body.body_theme5 .t5-mobile-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 14px 10px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
    }

    body.body_theme5 .t5-mobile-drawer__brand {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    body.body_theme5 .t5-mobile-drawer__brand img {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

    body.body_theme5 .t5-mobile-drawer__brand span {
        font-weight: 800;
        color: var(--t5-ink);
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-transform: none !important;
    }

    body.body_theme5 .t5-mobile-drawer__close {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 12px;
        background: #f3f4f6;
        color: #374151;
        cursor: pointer;
    }

    body.body_theme5 .t5-mobile-drawer__tabs.nav-tabs {
        display: flex !important;
        width: 100% !important;
        margin: 0;
        padding: 0 8px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    body.body_theme5 .t5-mobile-drawer__tabs .nav-link {
        flex: 1;
        min-height: 46px;
        margin: 0 !important;
        padding: 10px 6px !important;
        border: 0 !important;
        border-bottom: 2px solid transparent !important;
        border-radius: 0 !important;
        color: #6b7280 !important;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: none !important;
    }

    body.body_theme5 .t5-mobile-drawer__tabs .nav-link.active {
        color: var(--t5-brand) !important;
        border-bottom-color: var(--t5-brand) !important;
        background: transparent !important;
    }

    body.body_theme5 .t5-mobile-drawer__content {
        padding: 8px 12px 28px;
    }

    body.body_theme5 .t5-mobile-drawer__links {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    body.body_theme5 .t5-mobile-drawer__links > li {
        margin: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    body.body_theme5 .t5-mobile-drawer__links > li > a,
    body.body_theme5 .t5-mobile-drawer__accordion-head,
    body.body_theme5 .t5-mobile-mega__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 48px;
        padding: 10px 4px;
        color: var(--t5-ink) !important;
        text-decoration: none !important;
        font-weight: 700;
        text-transform: none !important;
    }

    body.body_theme5 .t5-mobile-drawer__links > li > a.is-active,
    body.body_theme5 #sidebar .tab-pane a.is-active {
        color: var(--t5-brand) !important;
    }

    body.body_theme5 .t5-mobile-drawer .submenu {
        padding-inline-start: 12px !important;
        margin: 0 0 8px !important;
    }

    body.body_theme5 .t5-mobile-drawer .submenu a {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 6px 4px;
        color: #4b5563 !important;
        text-decoration: none !important;
        font-weight: 600;
        text-transform: none !important;
    }

    body.body_theme5 .t5-mobile-drawer .toggle-icon {
        font-size: 1.25rem !important;
        color: var(--t5-muted);
        line-height: 1;
    }

    body.body_theme5 .t5-mobile-drawer .account-box li {
        margin: 0 !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    /* Hero + topics mobile home */
    body.body_theme5 .t5-home-hero__frame {
        min-height: min(52vh, 420px);
        aspect-ratio: 16 / 10;
    }

    body.body_theme5 .t5-home-hero__nav {
        display: none;
    }

    body.body_theme5 .t5-home-hero__dots {
        bottom: 12px;
    }

    body.body_theme5 .t5-topics {
        margin-top: 0;
        padding: 22px 0 28px;
    }

    body.body_theme5 .t5-topics .container {
        padding-inline: 12px;
    }

    body.body_theme5 .t5-topics__header {
        margin-bottom: 12px;
    }

    body.body_theme5 .t5-topics__title {
        font-size: 1.2rem;
    }

    body.body_theme5 .t5-topics__grid {
        gap: 8px;
    }

    body.body_theme5 .t5-topics__media {
        aspect-ratio: 4 / 3;
    }

    body.body_theme5 .t5-topics__copy {
        padding: 8px 10px 10px;
    }

    body.body_theme5 .theme5-footer {
        padding-top: 28px;
    }
}

body.body_theme5 .t5-storefront-header__aside {
    display: flex;
    align-items: center;
    gap: 16px;
}

body.body_theme5 .t5-storefront-header__cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: var(--t5-ink) !important;
    font-weight: 700;
    text-transform: none !important;
}

body.body_theme5 .t5-storefront-header__cart-icon {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 33, 171, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--t5-brand);
    font-size: 1.1rem;
}

body.body_theme5 .t5-storefront-header__cart-badge {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

body.body_theme5 .t5-storefront-header__cats {
    display: none;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
    position: relative;
    z-index: 55;
    overflow: visible;
}

@media (min-width: 768px) {
    body.body_theme5 .t5-storefront-header__cats {
        display: block;
    }
}

body.body_theme5 .t5-storefront-header__cats .container,
body.body_theme5 .t5-storefront-header__cats-inner {
    overflow: visible;
}

body.body_theme5 .t5-storefront-header__cats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 20px;
    padding: 10px 0 12px;
    margin: 0;
    list-style: none;
}

body.body_theme5 .t5-storefront-header__cat-item {
    position: relative;
    list-style: none;
}

/* Keep ancestors static so the panel anchors to __cats (full bar width) */
body.body_theme5 .t5-storefront-header__cats > .container {
    position: static;
    overflow: visible;
}

body.body_theme5 .t5-storefront-header__cat-item--explore,
body.body_theme5 .t5-storefront-header__cat-item--explore .t5-mega-nav {
    position: static !important;
}

body.body_theme5 .t5-storefront-header__cat-item--explore {
    z-index: 70;
}

body.body_theme5 .t5-storefront-header__cat-item--explore .t5-mega-nav {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    overflow: visible;
    vertical-align: middle;
}

body.body_theme5 .t5-classic-nav .t5-storefront-header__cats-inner {
    justify-content: flex-start;
    gap: 8px 22px;
}

html.rtl body.body_theme5 .t5-classic-nav .t5-storefront-header__cats-inner,
html[dir="rtl"] body.body_theme5 .t5-classic-nav .t5-storefront-header__cats-inner {
    justify-content: flex-start;
}

body.body_theme5 .t5-storefront-header__cat-link,
body.body_theme5 .t5-storefront-header__cats .t5-mega-nav__trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 2px !important;
    min-height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--t5-ink) !important;
    text-decoration: none !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
}

body.body_theme5 .t5-storefront-header__cats .t5-mega-nav__chevron {
    font-size: 0.65rem;
    color: var(--t5-muted);
}

body.body_theme5 .t5-storefront-header__cats .t5-mega-nav.is-open .t5-mega-nav__trigger {
    color: var(--t5-brand) !important;
    border-bottom-color: var(--t5-brand);
    background: transparent !important;
}

body.body_theme5 .t5-storefront-header__cat-link:hover,
body.body_theme5 .t5-storefront-header__cat-item:hover > .t5-storefront-header__cat-link,
body.body_theme5 .t5-storefront-header__cat-link.is-active,
body.body_theme5 .t5-storefront-header__cat-item.is-active > .t5-storefront-header__cat-link {
    color: var(--t5-brand) !important;
    border-bottom-color: var(--t5-brand);
}

/* Mobile drawer active page link */
body.body_theme5 #sidebar .tab-pane a.is-active {
    color: var(--t5-brand) !important;
    font-weight: 700;
}

body.body_theme5 .t5-storefront-header__cat-link i {
    font-size: 0.7rem;
    color: var(--t5-muted);
}

body.body_theme5 .t5-storefront-header__cat-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 50;
}

html.rtl body.body_theme5 .t5-storefront-header__cat-dropdown,
html[dir="rtl"] body.body_theme5 .t5-storefront-header__cat-dropdown {
    transform: translateX(50%) translateY(6px);
}

body.body_theme5 .t5-storefront-header__cat-item:hover .t5-storefront-header__cat-dropdown,
body.body_theme5 .t5-storefront-header__cat-item:focus-within .t5-storefront-header__cat-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

html.rtl body.body_theme5 .t5-storefront-header__cat-item:hover .t5-storefront-header__cat-dropdown,
html.rtl body.body_theme5 .t5-storefront-header__cat-item:focus-within .t5-storefront-header__cat-dropdown,
html[dir="rtl"] body.body_theme5 .t5-storefront-header__cat-item:hover .t5-storefront-header__cat-dropdown,
html[dir="rtl"] body.body_theme5 .t5-storefront-header__cat-item:focus-within .t5-storefront-header__cat-dropdown {
    transform: translateX(50%) translateY(0);
}

body.body_theme5 .t5-storefront-header__cat-item--has-list {
    position: relative;
}

body.body_theme5 .t5-storefront-header__cat-dropdown {
    min-width: 240px;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    text-align: start;
}

body.body_theme5 .t5-storefront-header__cat-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--t5-ink) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: none !important;
}

body.body_theme5 .t5-storefront-header__cat-dropdown a:hover,
body.body_theme5 .t5-storefront-header__cat-dropdown a.is-active {
    background: rgba(20, 33, 171, 0.06);
    color: var(--t5-brand) !important;
}

/* Hero banner — full-bleed image with start-side tagline + CTA */
body.body_theme5 .t5-home-hero {
    padding: 0;
    margin: 0;
    background: var(--t5-hero-bg);
}

body.body_theme5 .t5-home-hero__frame {
    position: relative;
    overflow: hidden;
    background: var(--t5-hero-bg);
    min-height: min(56vh, 520px);
    aspect-ratio: 21 / 9;
}

@media (min-width: 992px) {
    body.body_theme5 .t5-home-hero__frame {
        min-height: min(62vh, 640px);
    }
}

body.body_theme5 .t5-home-hero__slide {
    display: none;
    position: absolute;
    inset: 0;
    min-height: inherit;
}

body.body_theme5 .t5-home-hero__slide.is-active {
    display: block;
}

body.body_theme5 .t5-home-hero__media {
    position: absolute;
    inset: 0;
    background: var(--t5-hero-bg);
}

body.body_theme5 .t5-home-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

body.body_theme5 .t5-home-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            105deg,
            rgba(8, 12, 28, 0.82) 0%,
            rgba(8, 12, 28, 0.55) 42%,
            rgba(8, 12, 28, 0.28) 100%
        );
}

html.rtl body.body_theme5 .t5-home-hero__scrim,
html[dir="rtl"] body.body_theme5 .t5-home-hero__scrim {
    background:
        linear-gradient(
            255deg,
            rgba(8, 12, 28, 0.82) 0%,
            rgba(8, 12, 28, 0.55) 42%,
            rgba(8, 12, 28, 0.28) 100%
        );
}

body.body_theme5 .t5-home-hero__copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: inherit;
    height: 100%;
}

body.body_theme5 .t5-home-hero__copy-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    max-width: min(36rem, 100%);
    padding-block: 56px 64px;
    text-align: start;
}

body.body_theme5 .t5-home-hero__brand {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: none !important;
}

body.body_theme5 .t5-home-hero__brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--t5-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(20, 33, 171, 0.4);
}

body.body_theme5 .t5-home-hero__brand-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

body.body_theme5 .t5-home-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.35;
    max-width: min(40rem, 100%);
    min-height: 1.35em;
    text-transform: none !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

body.body_theme5 .t5-home-hero__title--long {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.6;
    max-width: min(42rem, 100%);
}

body.body_theme5 .t5-home-hero__lead {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 1.4vw, 1.12rem);
    line-height: 1.7;
    max-width: min(34rem, 100%);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

body.body_theme5 .t5-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

body.body_theme5 .t5-home-hero__type-text {
    white-space: pre-wrap;
}

body.body_theme5 .t5-home-hero__cursor {
    display: none;
    width: 0.14em;
    min-width: 3px;
    height: 1.05em;
    margin-inline-start: 0.16em;
    vertical-align: -0.12em;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
    animation: t5-hero-cursor 0.7s steps(1) infinite;
}

body.body_theme5 .t5-home-hero__cursor.is-typing {
    display: inline-block;
}

@keyframes t5-hero-cursor {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    body.body_theme5 .t5-home-hero__cursor {
        display: none !important;
        animation: none;
    }
}

body.body_theme5 .t5-home-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none !important;
    text-transform: none !important;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.body_theme5 .t5-home-hero__cta--primary {
    background: #fff;
    color: var(--t5-ink, #0f172a) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body.body_theme5 .t5-home-hero__cta--primary:hover {
    transform: translateY(-3px);
    background: #f8fafc;
    color: var(--t5-brand, #1421AB) !important;
    box-shadow: 0 14px 30px rgba(20, 33, 171, 0.35);
}

body.body_theme5 .t5-home-hero__cta--primary i {
    transition: transform 0.22s ease;
}

body.body_theme5 .t5-home-hero__cta--primary:hover i {
    transform: translateX(-4px);
}

html.rtl body.body_theme5 .t5-home-hero__cta--primary:hover i,
html[dir="rtl"] body.body_theme5 .t5-home-hero__cta--primary:hover i {
    transform: translateX(4px);
}

body.body_theme5 .t5-home-hero__cta--outline {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff !important;
}

body.body_theme5 .t5-home-hero__cta--outline:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.22);
    border-color: #fff;
    color: #fff !important;
}

body.body_theme5 .t5-home-hero__nav {
    position: absolute;
    inset-inline-end: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

@media (min-width: 992px) {
    body.body_theme5 .t5-home-hero__nav {
        display: flex;
    }
}

body.body_theme5 .t5-home-hero__nav button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--t5-brand);
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

body.body_theme5 .t5-home-hero__dots {
    position: absolute;
    inset-inline-start: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

body.body_theme5 .t5-home-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}

body.body_theme5 .t5-home-hero__dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

/* Soften old oversized logo habits on storefront header only */
body.body_theme5 .top-bar {
    display: none !important;
}

/* Factory units — compact equal grid + motion */
body.body_theme5 .t5-topics--atelier {
    --t5-topics-gold: #c9a227;
    position: relative;
    margin: 0;
    padding: 28px 0 36px;
    background: #f4f6fa;
    border-block-start: 1px solid rgba(20, 33, 171, 0.06);
}

body.body_theme5 .t5-topics__header {
    text-align: start;
    max-width: none;
    margin: 0 0 18px;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

body.body_theme5 .t5-topics__header.is-in {
    opacity: 1;
    transform: none;
}

body.body_theme5 .t5-topics__eyebrow {
    margin: 0 0 4px;
    color: var(--t5-brand, #1421AB);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

body.body_theme5 .t5-topics__title {
    margin: 0;
    color: #121826;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.25;
}

body.body_theme5 .t5-topics__subtitle {
    margin: 6px 0 0;
    color: #5b6475;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 36rem;
}

body.body_theme5 .t5-topics__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (min-width: 992px) {
    body.body_theme5 .t5-topics__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

body.body_theme5 a.t5-topics__card {
    --delay: 0ms;
    --t5-cta-nudge: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.08);
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--delay),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--delay),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

body.body_theme5 a.t5-topics__card.is-in {
    opacity: 1;
    transform: none;
}

body.body_theme5 .t5-topics__index {
    display: none;
}

body.body_theme5 .t5-topics__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
    overflow: hidden;
}

body.body_theme5 .t5-topics__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Soft shine sweep on hover */
body.body_theme5 .t5-topics__shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.28) 48%,
        transparent 62%
    );
    transform: translateX(-120%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

html.rtl body.body_theme5 .t5-topics__shine,
html[dir="rtl"] body.body_theme5 .t5-topics__shine {
    transform: translateX(120%);
}

body.body_theme5 .t5-topics__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px 12px;
    text-align: start;
    background: #fff;
    transition: background 0.28s ease;
}

body.body_theme5 .t5-topics__name {
    display: block;
    color: #121826;
    font-size: clamp(0.82rem, 1.1vw, 0.98rem);
    font-weight: 800;
    line-height: 1.35;
    transition: color 0.25s ease;
}

body.body_theme5 .t5-topics__name-alt {
    display: none;
}

body.body_theme5 .t5-topics__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    color: var(--t5-brand);
    font-size: 0.75rem;
    font-weight: 800;
    transition: gap 0.28s ease, color 0.25s ease;
}

body.body_theme5 .t5-topics__cta i {
    font-size: 0.65rem;
    transition: transform 0.28s ease;
}

/* Hover / focus — lift + zoom + CTA + shine */
body.body_theme5 a.t5-topics__card.is-in:hover,
body.body_theme5 a.t5-topics__card.is-in:focus-visible {
    border-color: rgba(20, 33, 171, 0.28);
    box-shadow: 0 16px 34px rgba(20, 33, 171, 0.16);
    transform: translateY(-6px);
}

body.body_theme5 a.t5-topics__card:hover .t5-topics__media img,
body.body_theme5 a.t5-topics__card:focus-visible .t5-topics__media img {
    transform: scale(1.1);
}

body.body_theme5 a.t5-topics__card:hover .t5-topics__shine,
body.body_theme5 a.t5-topics__card:focus-visible .t5-topics__shine {
    opacity: 1;
    animation: t5-topics-shine 0.75s ease forwards;
}

body.body_theme5 a.t5-topics__card:hover .t5-topics__copy,
body.body_theme5 a.t5-topics__card:focus-visible .t5-topics__copy {
    background: #f8faff;
}

body.body_theme5 a.t5-topics__card:hover .t5-topics__name,
body.body_theme5 a.t5-topics__card:focus-visible .t5-topics__name {
    color: var(--t5-brand, #1421AB);
}

body.body_theme5 a.t5-topics__card:hover .t5-topics__cta,
body.body_theme5 a.t5-topics__card:focus-visible .t5-topics__cta {
    gap: 12px;
}

body.body_theme5 a.t5-topics__card:hover .t5-topics__cta i,
body.body_theme5 a.t5-topics__card:focus-visible .t5-topics__cta i {
    transform: translateX(var(--t5-cta-nudge));
}

@keyframes t5-topics-shine {
    from { transform: translateX(-120%); }
    to { transform: translateX(120%); }
}

html.rtl body.body_theme5 a.t5-topics__card,
html[dir="rtl"] body.body_theme5 a.t5-topics__card {
    --t5-cta-nudge: -5px;
}

html.rtl body.body_theme5 a.t5-topics__card:hover .t5-topics__shine,
html.rtl body.body_theme5 a.t5-topics__card:focus-visible .t5-topics__shine,
html[dir="rtl"] body.body_theme5 a.t5-topics__card:hover .t5-topics__shine,
html[dir="rtl"] body.body_theme5 a.t5-topics__card:focus-visible .t5-topics__shine {
    animation-name: t5-topics-shine-rtl;
}

@keyframes t5-topics-shine-rtl {
    from { transform: translateX(120%); }
    to { transform: translateX(-120%); }
}

@media (prefers-reduced-motion: reduce) {
    body.body_theme5 .t5-topics__header,
    body.body_theme5 a.t5-topics__card,
    body.body_theme5 .t5-topics__media img,
    body.body_theme5 .t5-topics__cta,
    body.body_theme5 .t5-topics__cta i,
    body.body_theme5 .t5-topics__shine {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* —— Mega Nav (Explore) —— */
/*
 * Panel anchors to the full cats bar (not the narrow "Explore" trigger),
 * with side insets so the whole mega stays inside the viewport in RTL/LTR.
 */
body.body_theme5 .t5-mega-nav:hover .t5-mega-nav__panel,
body.body_theme5 .t5-mega-nav:focus-within .t5-mega-nav__panel,
body.body_theme5 .t5-storefront-header__cats .t5-mega-nav__panel {
    position: absolute !important;
    /* Bridge the gap under the trigger so hover does not drop while moving into the panel */
    top: 100% !important;
    padding-top: 10px !important;
    left: 12px !important;
    right: 12px !important;
    inset-inline-start: 12px !important;
    inset-inline-end: 12px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    --mega-offset-x: 0px;
    transform: none !important;
    transition: opacity 0.15s ease, visibility 0.15s ease !important;
    box-sizing: border-box;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1200;
}

body.body_theme5 .t5-mega-nav.is-open .t5-mega-nav__panel,
body.body_theme5 .t5-mega-nav.is-open:hover .t5-mega-nav__panel,
body.body_theme5 .t5-mega-nav.is-open:focus-within .t5-mega-nav__panel,
body.body_theme5 .t5-storefront-header__cats .t5-mega-nav.is-open .t5-mega-nav__panel {
    display: block !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.body_theme5 .t5-storefront-header__cats .t5-mega-nav__panel-inner {
    width: 100%;
    max-width: 100%;
    /* cancel the bridge padding visually — only the outer panel has padding-top */
    margin: 0;
}

/* One visible preview at a time — no stacked ghost panels */
body.body_theme5 .t5-mega-nav__panels {
    display: block !important;
    position: relative;
    min-height: 280px;
}

body.body_theme5 .t5-mega-nav__panel-content {
    display: none !important;
    grid-area: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    transition: none !important;
}

body.body_theme5 .t5-mega-nav__panel-content.is-active {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    z-index: 1;
}

body.body_theme5 .t5-mega-nav__panel-head {
    display: none !important; /* avoid duplicate title/image with preview card */
}

body.body_theme5 .t5-mega-nav__empty {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    height: 100%;
}

body.body_theme5 .t5-mega-nav__hero-link {
    display: block;
    width: min(100%, 280px);
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
    background: #eef1f7;
    border: 1px solid rgba(20, 33, 171, 0.08);
}

body.body_theme5 .t5-mega-nav__hero {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
}

body.body_theme5 .t5-mega-nav__preview-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.body_theme5 .t5-mega-nav__empty-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #121826 !important;
    text-transform: none !important;
}

body.body_theme5 .t5-mega-nav__empty-text {
    color: #6b7280 !important;
    line-height: 1.55;
    text-transform: none !important;
}

body.body_theme5 .t5-mega-nav__panel-cta--inline {
    align-self: flex-start;
    margin-top: 4px !important;
}

body.body_theme5 .t5-storefront-header__cats .t5-mega-nav.is-open .t5-mega-nav__trigger,
body.body_theme5 .t5-storefront-header__cats .t5-mega-nav.is-open .t5-mega-nav__trigger:hover {
    color: var(--t5-brand) !important;
    border-bottom-color: var(--t5-brand);
}

body.body_theme5 .t5-mega-nav__panel-inner {
    border-radius: 18px !important;
    border: 1px solid rgba(20, 33, 171, 0.1) !important;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16) !important;
    overflow: hidden;
}

body.body_theme5 .t5-mega-nav__head {
    padding: 18px 22px !important;
    background: linear-gradient(120deg, rgba(20, 33, 171, 0.08), rgba(20, 33, 171, 0.02)) !important;
}

body.body_theme5 .t5-mega-nav__eyebrow {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #1421AB !important;
    text-transform: none !important;
}

body.body_theme5 .t5-mega-nav__subtitle {
    margin-top: 4px !important;
    color: #6b7280 !important;
    text-transform: none !important;
}

body.body_theme5 .t5-mega-nav__body {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) !important;
    min-height: 320px !important;
    max-height: min(460px, 62vh) !important;
}

body.body_theme5 .t5-mega-nav__cats {
    background: #f7f8fc !important;
}

body.body_theme5 .t5-mega-nav__cat-item {
    gap: 12px !important;
    padding: 12px !important;
    border-radius: 12px !important;
}

body.body_theme5 .t5-mega-nav__cat-thumb {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
}

body.body_theme5 .t5-mega-nav__cat-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
    text-align: start;
}

body.body_theme5 .t5-mega-nav__cat-name {
    font-weight: 700 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.body_theme5 .t5-mega-nav__cat-desc {
    font-size: 0.72rem;
    color: #9ca3af;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.body_theme5 .t5-mega-nav__panels {
    padding: 18px 20px !important;
    background: #fff;
}

body.body_theme5 .t5-mega-nav__tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.body_theme5 .t5-mega-nav__tiles--main-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
    body.body_theme5 .t5-mega-nav__tiles--main-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

body.body_theme5 .t5-mega-nav__tiles--items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.body_theme5 .t5-mega-nav__tile {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 10px;
    background: #fafbff;
    min-width: 0;
}

body.body_theme5 .t5-mega-nav__tile-main {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: #111827 !important;
    font-weight: 700;
    text-transform: none !important;
}

body.body_theme5 .t5-mega-nav__tile-media {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

body.body_theme5 .t5-mega-nav__tile-media img,
body.body_theme5 .t5-mega-nav__item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.body_theme5 .t5-mega-nav__tile-title {
    font-size: 0.875rem;
    line-height: 1.3;
}

body.body_theme5 .t5-mega-nav__tile-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
}

body.body_theme5 .t5-mega-nav__tile-subs a {
    font-size: 0.72rem;
    color: #6b7280 !important;
    text-decoration: none !important;
    text-transform: none !important;
}

body.body_theme5 .t5-mega-nav__tile-subs a:hover {
    color: #1421AB !important;
}

body.body_theme5 .t5-mega-nav__item-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fafbff;
    text-decoration: none !important;
    color: #111827 !important;
    text-transform: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

body.body_theme5 .t5-mega-nav__item-card:hover {
    border-color: rgba(20, 33, 171, 0.25);
    box-shadow: 0 8px 18px rgba(20, 33, 171, 0.08);
    transform: translateY(-2px);
}

body.body_theme5 .t5-mega-nav__item-media {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f6;
}

body.body_theme5 .t5-mega-nav__item-title {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: start;
}

body.body_theme5 .t5-mega-nav__panel-cta {
    margin-top: 14px !important;
}

@media (max-width: 991.98px) {
    body.body_theme5 .t5-mega-nav__tiles,
    body.body_theme5 .t5-mega-nav__tiles--items {
        grid-template-columns: 1fr 1fr;
    }
}

/* —— Homepage corporate rhythm (Simplex-style composition) —— */
body.body_theme5 .t5-home-hero {
    margin-bottom: 0;
    padding-bottom: 0;
}

body.body_theme5 .t5-home-hero__dots {
    bottom: 28px;
}

body.body_theme5 .t5-home-hero__copy-inner {
    padding-block: 48px 72px;
}

@media (max-width: 575.98px) {
    body.body_theme5 .t5-home-hero__frame {
        min-height: 320px;
        aspect-ratio: 4 / 5;
    }

    body.body_theme5 .t5-home-hero__copy-inner {
        max-width: 100%;
        padding-block: 36px 56px;
        gap: 12px;
    }

    body.body_theme5 .t5-home-hero__title,
    body.body_theme5 .t5-home-hero__lead {
        font-size: 1.45rem;
    }

    body.body_theme5 .t5-home-hero__cta {
        min-height: 44px;
        width: auto;
        max-width: 100%;
    }
}

/* —— Simplex Arabia Style 4 Units Feature Strip (Directly Below Hero) —— */
body.body_theme5 .t5-simplex-strip,
body.body_theme5 .t5-industrial-ribbon,
body.body_theme5 .t5-feat--floating,
body.body_theme5 .t5-feat {
    position: relative;
    z-index: 10;
    margin: 0 !important;
    padding: 72px 0 72px !important;
    background-color: #f8fafc;
    background-image:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(20, 33, 171, 0.04) 0%, transparent 70%),
        radial-gradient(rgba(20, 33, 171, 0.06) 1.2px, transparent 1.2px);
    background-size: 100% 100%, 28px 28px;
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

@media (max-width: 767.98px) {
    body.body_theme5 .t5-simplex-strip,
    body.body_theme5 .t5-industrial-ribbon,
    body.body_theme5 .t5-feat--floating,
    body.body_theme5 .t5-feat {
        margin: 0 !important;
        padding: 48px 0 48px !important;
    }
}

body.body_theme5 .t5-simplex-strip__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 576px) {
    body.body_theme5 .t5-simplex-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 992px) {
    body.body_theme5 .t5-simplex-strip__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px;
    }
}

body.body_theme5 a.t5-simplex-strip__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 260px;
    padding: 32px 22px 26px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    border: 1px solid #e2e8f0;
    border-bottom: 3.5px solid #0ea5e9;
    text-decoration: none !important;
    color: inherit !important;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-bottom-color 0.3s ease, border-color 0.3s ease;
}

body.body_theme5 a.t5-simplex-strip__card:hover,
body.body_theme5 a.t5-simplex-strip__card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px -6px rgba(20, 33, 171, 0.16), 0 4px 10px rgba(15, 23, 42, 0.04);
    border-color: rgba(20, 33, 171, 0.25);
    border-bottom-color: var(--t5-brand, #1421ab);
}

/* Professional Icon Box */
body.body_theme5 .t5-simplex-strip__icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: rgba(20, 33, 171, 0.06);
    color: var(--t5-brand, #1421ab);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    border: 1px solid rgba(20, 33, 171, 0.1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.body_theme5 a.t5-simplex-strip__card:hover .t5-simplex-strip__icon {
    transform: scale(1.1);
    background: var(--t5-brand, #1421ab);
    color: #ffffff;
    border-color: var(--t5-brand, #1421ab);
    box-shadow: 0 8px 20px -4px rgba(20, 33, 171, 0.35);
}

body.body_theme5 .t5-simplex-strip__title {
    margin: 0 0 10px;
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    transition: color 0.25s ease;
}

body.body_theme5 a.t5-simplex-strip__card:hover .t5-simplex-strip__title {
    color: var(--t5-brand, #1421ab);
}

body.body_theme5 .t5-simplex-strip__desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #64748b;
}

html[dir="ltr"] body.body_theme5 a.t5-feat__card:hover .t5-feat__more i {
    transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
    body.body_theme5 .t5-feat__card,
    body.body_theme5 a.t5-feat__card,
    body.body_theme5 .t5-about-classic__media,
    body.body_theme5 .t5-about-classic__panel {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* —— About Company (Artistic Geometric Layout) —— */
/* Kill legacy style.css gaps: .t5-about-section { margin: clamp(2rem..) } and --home padding */
body.body_theme5 .t5-about-section,
body.body_theme5 .t5-about-section--home,
body.body_theme5 .t5-about-section--classic {
    margin: 0 !important;
    padding-block: 40px 48px !important;
    background: #ffffff;
}

body.body_theme5 .t5-about-classic {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 0;
}

@media (min-width: 992px) {
    body.body_theme5 .t5-about-classic {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        min-height: 420px;
    }

    html.rtl body.body_theme5 .t5-about-classic,
    html[dir="rtl"] body.body_theme5 .t5-about-classic {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    html.rtl body.body_theme5 .t5-about-classic__media,
    html[dir="rtl"] body.body_theme5 .t5-about-classic__media {
        order: 2;
    }

    html.rtl body.body_theme5 .t5-about-classic__panel,
    html[dir="rtl"] body.body_theme5 .t5-about-classic__panel {
        order: 1;
    }
}

body.body_theme5 .t5-about-classic__media,
body.body_theme5 .t5-about-classic__panel {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: var(--delay, 0ms);
}

body.body_theme5 .t5-about-classic__media {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: 18px 0 0 18px;
}

html.rtl body.body_theme5 .t5-about-classic__media,
html[dir="rtl"] body.body_theme5 .t5-about-classic__media {
    border-radius: 0 18px 18px 0;
}

body.body_theme5 .t5-about-classic__img,
body.body_theme5 .t5-about-classic__placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #e2e8f0;
}

body.body_theme5 .t5-about-classic__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t5-brand, #1421ab);
    font-size: 3.5rem;
    font-weight: 900;
}

body.body_theme5 .t5-about-classic__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 60%, rgba(239, 246, 255, 0.95) 100%);
}

html.rtl body.body_theme5 .t5-about-classic__media::after,
html[dir="rtl"] body.body_theme5 .t5-about-classic__media::after {
    background: linear-gradient(270deg, transparent 60%, rgba(239, 246, 255, 0.95) 100%);
}

@media (max-width: 991.98px) {
    body.body_theme5 .t5-about-classic__media::after {
        background: linear-gradient(180deg, transparent 55%, rgba(239, 246, 255, 0.95) 100%);
    }
}

body.body_theme5 .t5-about-classic__panel {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.95) 0%, rgba(239, 246, 255, 0.98) 100%);
    padding: 32px 26px 36px;
    /* No top clip — previous polygon(0 0, 100% 6%, ...) carved a white gap above About */
    clip-path: none;
    border-radius: 16px;
}

@media (min-width: 992px) {
    body.body_theme5 .t5-about-classic__panel {
        margin-inline-start: -48px;
        padding: 40px 40px 44px;
    }

    html.rtl body.body_theme5 .t5-about-classic__panel,
    html[dir="rtl"] body.body_theme5 .t5-about-classic__panel {
        margin-inline-start: 0;
        margin-inline-end: -48px;
    }
}

body.body_theme5 .t5-about-section--classic .t5-about-label {
    margin: 0 0 8px;
    color: var(--t5-brand, #1421ab);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.body_theme5 .t5-about-section--classic .t5-about-title {
    margin: 0 0 16px;
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    font-weight: 800;
    color: var(--t5-brand, #1421ab);
    line-height: 1.3;
}

body.body_theme5 .t5-about-content {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.75;
}

body.body_theme5 .t5-about-classic__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
}

body.body_theme5 .t5-about-classic__checks li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--t5-brand, #1421ab);
    font-size: 0.92rem;
    font-weight: 700;
}

body.body_theme5 .t5-about-classic__checks i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--t5-brand, #1421ab);
    color: #fff;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.body_theme5 .t5-about-section--classic .t5-about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

body.body_theme5 .t5-about-section--classic .t5-about-cta {
    background: var(--t5-brand, #1421ab);
    color: #fff !important;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(20, 33, 171, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.body_theme5 .t5-about-section--classic .t5-about-cta:hover {
    background: var(--t5-brand-dark, #0d1678);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 33, 171, 0.35);
}

body.body_theme5 .t5-about-section--classic .t5-about-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(20, 33, 171, 0.08);
    color: var(--t5-brand, #1421ab);
    border: 0;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

body.body_theme5 .t5-about-section--classic .t5-about-toggle:hover {
    background: rgba(20, 33, 171, 0.15);
}

/* —— Industrial Production Lines Showcase (2x2 Editorial Layout) —— */
body.body_theme5 .t5-lines-section {
    padding: 76px 0 88px;
    background: #ffffff;
    border-block-start: 1px solid rgba(226, 232, 240, 0.9);
    position: relative;
}

body.body_theme5 .t5-lines-header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 42px;
    text-align: start;
}

@media (min-width: 768px) {
    body.body_theme5 .t5-lines-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 28px;
    }
}

body.body_theme5 .t5-lines-header__copy {
    max-width: 42rem;
}

body.body_theme5 .t5-lines-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(20, 33, 171, 0.07);
    color: var(--t5-brand, #1421ab);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 12px;
}

body.body_theme5 .t5-lines-header__title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

body.body_theme5 .t5-lines-header__desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
}

body.body_theme5 .t5-lines-header__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--t5-brand, #1421ab) !important;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

body.body_theme5 .t5-lines-header__btn:hover {
    background: var(--t5-brand, #1421ab);
    border-color: var(--t5-brand, #1421ab);
    color: #ffffff !important;
    transform: translateY(-2px);
}

body.body_theme5 .t5-lines-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    body.body_theme5 .t5-lines-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

body.body_theme5 .t5-lines-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 20px -3px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    text-align: start;
    color: inherit;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

body.body_theme5 a.t5-lines-card:hover,
body.body_theme5 a.t5-lines-card:focus,
body.body_theme5 a.t5-lines-card:visited {
    color: inherit;
    text-decoration: none !important;
}

body.body_theme5 a.t5-lines-card:focus-visible {
    outline: 2px solid var(--t5-brand, #1421ab);
    outline-offset: 3px;
}

@media (min-width: 576px) {
    body.body_theme5 .t5-lines-card {
        flex-direction: row;
        align-items: stretch;
        min-height: 0;
        max-height: 188px;
    }
}

body.body_theme5 .t5-lines-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -6px rgba(20, 33, 171, 0.14);
    border-color: rgba(20, 33, 171, 0.25);
}

body.body_theme5 .t5-lines-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 160px;
    background: #0f172a;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    body.body_theme5 .t5-lines-card__media {
        width: 34%;
        max-width: 210px;
        aspect-ratio: auto;
        height: 188px;
        max-height: 188px;
        min-height: 0;
        align-self: stretch;
    }
}

body.body_theme5 .t5-lines-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.body_theme5 .t5-lines-card:hover .t5-lines-card__media img {
    transform: scale(1.08);
}

body.body_theme5 .t5-lines-card__num {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: monospace, sans-serif;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.body_theme5 .t5-lines-card__tag {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 12px;
    font-size: 0.74rem;
    font-weight: 800;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3px 10px;
    border-radius: 6px;
}

body.body_theme5 .t5-lines-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    padding: 12px 14px 12px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

body.body_theme5 .t5-lines-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    transition: color 0.25s ease;
}

body.body_theme5 .t5-lines-card:hover .t5-lines-card__title {
    color: var(--t5-brand, #1421ab);
}

body.body_theme5 .t5-lines-card__desc {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.body_theme5 .t5-lines-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0;
    padding-top: 10px;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

body.body_theme5 .t5-lines-card__spec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
}

body.body_theme5 .t5-lines-card__spec i {
    color: #10b981;
    font-size: 0.75rem;
}

body.body_theme5 .t5-lines-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--t5-brand, #1421ab) !important;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none !important;
    margin-top: auto;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

body.body_theme5 .t5-lines-card:hover .t5-lines-card__link {
    background: var(--t5-brand, #1421ab);
    border-color: var(--t5-brand, #1421ab);
    color: #ffffff !important;
}

/* —— Catalog product ranges (asymmetric: featured mosaic + stacked types) —— */
body.body_theme5 .t5-types-section {
    padding: 64px 0 80px;
    background: #f8fafc;
    border-block: 1px solid rgba(226, 232, 240, 0.9);
}

body.body_theme5 .t5-types-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    text-align: start;
}

@media (min-width: 768px) {
    body.body_theme5 .t5-types-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
    }
}

body.body_theme5 .t5-types-header__copy {
    max-width: 40rem;
}

body.body_theme5 .t5-types-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(20, 33, 171, 0.07);
    color: var(--t5-brand, #1421ab);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 10px;
}

body.body_theme5 .t5-types-header__title {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

body.body_theme5 .t5-types-header__desc {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.7;
    color: #64748b;
}

body.body_theme5 .t5-types-header__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--t5-brand, #1421ab) !important;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

body.body_theme5 .t5-types-header__btn:hover {
    background: var(--t5-brand, #1421ab);
    border-color: var(--t5-brand, #1421ab);
    color: #fff !important;
}

body.body_theme5 .t5-types-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 992px) {
    body.body_theme5 .t5-types-layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
        gap: 20px;
        align-items: stretch;
    }
}

body.body_theme5 a.t5-types-feature {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: inherit !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.body_theme5 a.t5-types-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 33, 171, 0.25);
    box-shadow: 0 16px 32px -8px rgba(20, 33, 171, 0.14);
}

body.body_theme5 a.t5-types-feature:focus-visible {
    outline: 2px solid var(--t5-brand, #1421ab);
    outline-offset: 3px;
}

body.body_theme5 .t5-types-feature__mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 148px;
    height: 148px;
    max-height: 148px;
    gap: 3px;
    overflow: hidden;
    background: #0f172a;
}

body.body_theme5 .t5-types-feature__mosaic--1 {
    grid-template-columns: 1fr;
}

body.body_theme5 .t5-types-feature__mosaic--2 {
    grid-template-columns: 1fr 1fr;
}

body.body_theme5 .t5-types-feature__mosaic--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.body_theme5 .t5-types-feature__mosaic img {
    width: 100%;
    height: 148px;
    min-height: 0;
    max-height: 148px;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.body_theme5 .t5-types-feature__panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 20px 20px;
    text-align: start;
}

body.body_theme5 .t5-types-feature__count {
    display: inline-flex;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(20, 33, 171, 0.08);
    color: var(--t5-brand, #1421ab);
    font-size: 0.75rem;
    font-weight: 800;
    align-items: center;
}

body.body_theme5 .t5-types-feature__name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

body.body_theme5 .t5-types-feature__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: var(--t5-brand, #1421ab);
    font-size: 0.86rem;
    font-weight: 800;
}

body.body_theme5 .t5-types-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.body_theme5 a.t5-types-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: inherit !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.body_theme5 a.t5-types-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 33, 171, 0.25);
    box-shadow: 0 10px 22px -8px rgba(15, 23, 42, 0.12);
}

body.body_theme5 a.t5-types-tile:focus-visible {
    outline: 2px solid var(--t5-brand, #1421ab);
    outline-offset: 3px;
}

body.body_theme5 .t5-types-tile__thumbs {
    display: flex;
    align-items: center;
}

body.body_theme5 .t5-types-tile__thumbs img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #fff;
    background: #f1f5f9;
    margin-inline-end: -10px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

body.body_theme5 .t5-types-tile__thumbs img:last-child {
    margin-inline-end: 0;
}

body.body_theme5 .t5-types-tile__copy {
    min-width: 0;
    text-align: start;
}

body.body_theme5 .t5-types-tile__name {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

body.body_theme5 .t5-types-tile__meta {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

body.body_theme5 .t5-types-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--t5-brand, #1421ab);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    body.body_theme5 a.t5-types-tile {
        grid-template-columns: auto minmax(0, 1fr);
    }

    body.body_theme5 .t5-types-tile__cta {
        display: none;
    }

    body.body_theme5 .t5-types-feature__mosaic,
    body.body_theme5 .t5-types-feature__mosaic img {
        height: 128px;
        max-height: 128px;
        grid-template-rows: 128px;
    }
}

/* —— Industrial Manufacturing Standards & Capabilities (t5-standards) —— */
body.body_theme5 .t5-standards,
body.body_theme5 .t5-infographic,
body.body_theme5 .t5-chain,
body.body_theme5 .t5-why {
    padding: 44px 0 52px;
    background: #f8fafc;
    position: relative;
    border-block: 1px solid rgba(226, 232, 240, 0.85);
}

body.body_theme5 .t5-standards__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
}

@media (min-width: 992px) {
    body.body_theme5 .t5-standards__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
        gap: 36px;
    }
}

/* Primary Editorial Card */
body.body_theme5 .t5-standards__primary {
    height: 100%;
}

body.body_theme5 .t5-standards__primary-card {
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 38px 32px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 30px -6px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: start;
    position: relative;
}

body.body_theme5 .t5-standards__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(20, 33, 171, 0.07);
    color: var(--t5-brand, #1421ab);
    font-size: 0.82rem;
    font-weight: 800;
    align-self: flex-start;
    margin-bottom: 20px;
}

body.body_theme5 .t5-standards__title {
    margin: 0 0 16px;
    font-size: clamp(1.45rem, 2.3vw, 1.95rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

body.body_theme5 .t5-standards__lead {
    margin: 0 0 24px;
    font-size: 0.94rem;
    line-height: 1.75;
    color: #64748b;
}

body.body_theme5 .t5-standards__checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.body_theme5 .t5-standards__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.55;
}

body.body_theme5 .t5-standards__checklist li i {
    color: #10b981;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

body.body_theme5 .t5-standards__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

@media (min-width: 576px) {
    body.body_theme5 .t5-standards__actions {
        flex-direction: row;
        align-items: center;
    }
}

body.body_theme5 .t5-standards__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

body.body_theme5 .t5-standards__btn--primary {
    background: var(--t5-brand, #1421ab);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(20, 33, 171, 0.25);
}

body.body_theme5 .t5-standards__btn--primary:hover {
    background: #0d1670;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 33, 171, 0.35);
}

body.body_theme5 .t5-standards__btn--secondary {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #e2e8f0;
}

body.body_theme5 .t5-standards__btn--secondary:hover {
    background: #e2e8f0;
    color: #0f172a !important;
    transform: translateY(-2px);
}

/* Secondary 2x2 Capabilities Matrix */
body.body_theme5 .t5-standards__secondary {
    height: 100%;
}

body.body_theme5 .t5-standards__matrix {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    height: 100%;
}

@media (min-width: 576px) {
    body.body_theme5 .t5-standards__matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

body.body_theme5 .t5-standards__block {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    text-align: start;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

body.body_theme5 .t5-standards__block:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -6px rgba(20, 33, 171, 0.12);
    border-color: rgba(20, 33, 171, 0.25);
}

body.body_theme5 .t5-standards__block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

body.body_theme5 .t5-standards__block-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(20, 33, 171, 0.07);
    color: var(--t5-brand, #1421ab);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

body.body_theme5 .t5-standards__block:hover .t5-standards__block-icon {
    background: var(--t5-brand, #1421ab);
    color: #ffffff;
    transform: scale(1.05);
}

body.body_theme5 .t5-standards__block-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--t5-brand, #1421ab);
    background: rgba(20, 33, 171, 0.07);
    padding: 3px 10px;
    border-radius: 6px;
}

body.body_theme5 .t5-standards__block-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    transition: color 0.25s ease;
}

body.body_theme5 .t5-standards__block:hover .t5-standards__block-title {
    color: var(--t5-brand, #1421ab);
}

body.body_theme5 .t5-standards__block-desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #64748b;
    flex-grow: 1;
}

/* —— Clients & Partners (Simplex Corporate Style) —— */
body.body_theme5 .t5-clients--simplex {
    padding: 56px 0 64px;
    background: #f8fafc;
    border-block-start: 1px solid rgba(20, 33, 171, 0.06);
}

body.body_theme5 .t5-clients__header {
    text-align: start;
    max-width: 36rem;
    margin-bottom: 32px;
}

body.body_theme5 .t5-clients__lead {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
}

body.body_theme5 .t5-clients__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 105px;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.08);
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.body_theme5 .t5-clients__card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 33, 171, 0.25);
    box-shadow: 0 14px 30px rgba(20, 33, 171, 0.12);
}

body.body_theme5 .t5-clients__logo img {
    max-height: 55px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

body.body_theme5 .t5-clients__card:hover .t5-clients__logo img {
    filter: none;
    opacity: 1;
}

body.body_theme5 .t5-clients__name {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

/* —— Contact CTA Banner (Simplex High Impact - Solid Pure Industrial Brand) —— */
body.body_theme5 .t5-cta-banner--simplex,
body.body_theme5 .t5-cta-banner--panel {
    padding: 44px 12px 64px;
    background: transparent;
}

body.body_theme5 .t5-cta-banner--simplex .t5-cta-banner__panel,
body.body_theme5 .t5-cta-banner__panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    text-align: start;
    padding: 38px 32px;
    border-radius: 20px;
    /* Deeper navy — brand family, less electric than #1421ab */
    background: #0f1768;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px -4px rgba(10, 16, 64, 0.28);
}

@media (min-width: 992px) {
    body.body_theme5 .t5-cta-banner--simplex .t5-cta-banner__panel,
    body.body_theme5 .t5-cta-banner__panel {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        padding: 44px 48px;
    }
}

body.body_theme5 .t5-cta-banner__copy {
    min-width: 0;
    flex: 1 1 auto;
}

body.body_theme5 .t5-cta-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

body.body_theme5 .t5-cta-banner__title {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.45rem, 2.8vw, 2.1rem);
    font-weight: 800;
    line-height: 1.3;
}

body.body_theme5 .t5-cta-banner__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.96rem;
    line-height: 1.65;
}

body.body_theme5 .t5-cta-banner__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

body.body_theme5 .t5-cta-banner__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background 0.22s ease, transform 0.22s ease;
}

body.body_theme5 .t5-cta-banner__chip:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

body.body_theme5 .t5-cta-banner__chip-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
}

body.body_theme5 .t5-cta-banner__chip-icon i,
body.body_theme5 .t5-cta-banner__btn i {
    display: inline-block !important;
    color: inherit !important;
    font-size: 0.85rem;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    opacity: 1 !important;
    visibility: visible !important;
}

body.body_theme5 .t5-cta-banner__chip-icon i::before,
body.body_theme5 .t5-cta-banner__btn i::before {
    display: inline-block;
    opacity: 1 !important;
    visibility: visible !important;
}

body.body_theme5 .t5-cta-banner__btn--primary {
    color: var(--t5-brand, #1421ab) !important;
}

body.body_theme5 .t5-cta-banner__btn--primary i {
    color: var(--t5-brand, #1421ab) !important;
}

body.body_theme5 .t5-cta-banner__btn--ghost i {
    color: #ffffff !important;
}

body.body_theme5 .t5-cta-banner__chip span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
    min-width: 0;
}

body.body_theme5 .t5-cta-banner__chip small {
    font-size: 0.7rem;
    opacity: 0.85;
    font-weight: 700;
}

body.body_theme5 .t5-cta-banner__chip strong {
    font-size: 0.92rem;
    font-weight: 800;
}

body.body_theme5 .t5-cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 0 auto;
}

body.body_theme5 .t5-cta-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none !important;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

body.body_theme5 .t5-cta-banner__btn--primary {
    background: #ffffff;
    color: var(--t5-brand, #1421ab) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

body.body_theme5 .t5-cta-banner__btn--primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

body.body_theme5 .t5-cta-banner__btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
}

body.body_theme5 .t5-cta-banner__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    transform: translateY(-2px);
}

body.body_theme5 .t5-why__tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px 20px;
}

body.body_theme5 .t5-why__num {
    position: absolute;
    inset-block-start: 18px;
    inset-inline-end: 20px;
    color: var(--t5-brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

body.body_theme5 .t5-why__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(20, 33, 171, 0.08);
    color: var(--t5-brand);
    font-size: 1rem;
}

body.body_theme5 .t5-why__feature .t5-why__icon {
    margin-bottom: 18px;
}

body.body_theme5 .t5-why__body {
    min-width: 0;
}

body.body_theme5 .t5-why__card-title {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--t5-ink);
    line-height: 1.4;
}

body.body_theme5 .t5-why__feature .t5-why__card-title {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

body.body_theme5 .t5-why__card-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--t5-muted);
}

@media (prefers-reduced-motion: reduce) {
    body.body_theme5 .t5-why__feature,
    body.body_theme5 .t5-why__tile {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

body.body_theme5 .t5-topics {
    margin-top: 0;
}

body.body_theme5 .t5-product-section {
    padding-block: 2.5rem 2.75rem;
}

body.body_theme5 .t5-partners {
    padding: 40px 0 48px;
    background: var(--t5-surface);
    border-block-start: 1px solid rgba(20, 33, 171, 0.06);
}

body.body_theme5 .t5-partners__track {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 4px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

body.body_theme5 .t5-partners__item {
    flex: 0 0 148px;
    scroll-snap-align: start;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid rgba(20, 33, 171, 0.08);
    border-radius: 14px;
    background: var(--t5-soft);
}

body.body_theme5 .t5-partners__item img {
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.8;
}

body.body_theme5 .t5-partners__item:hover img {
    filter: none;
    opacity: 1;
}

body.body_theme5 .t5-cta-banner--panel {
    padding: 28px 12px 48px;
    background: #f4f6fa;
    color: #121826;
}

body.body_theme5 .t5-cta-banner__panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    text-align: start;
    padding: 28px 22px 30px;
    border-radius: 24px;
    background: #0f1768;
    color: #fff;
    box-shadow: 0 18px 40px rgba(10, 16, 64, 0.22);
}

@media (min-width: 768px) {
    body.body_theme5 .t5-cta-banner__panel {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
        padding: 36px 40px;
    }
}

body.body_theme5 .t5-cta-banner__copy {
    min-width: 0;
    flex: 1 1 auto;
}

body.body_theme5 .t5-cta-banner__eyebrow {
    color: #fde68a;
}

body.body_theme5 .t5-cta-banner__title {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 800;
    line-height: 1.3;
}

body.body_theme5 .t5-cta-banner__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.6;
}

body.body_theme5 .t5-cta-banner__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

body.body_theme5 .t5-cta-banner__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff !important;
    text-decoration: none !important;
}

body.body_theme5 .t5-cta-banner__chip i,
body.body_theme5 .t5-cta-banner__chip-icon,
body.body_theme5 .t5-cta-banner__chip-icon i {
    width: auto;
    height: auto;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.body_theme5 .t5-cta-banner__chip-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.body_theme5 .t5-cta-banner__chip span {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.25;
}

body.body_theme5 .t5-cta-banner__chip small {
    font-size: 0.7rem;
    opacity: 0.75;
    font-weight: 600;
}

body.body_theme5 .t5-cta-banner__chip strong {
    font-size: 0.9rem;
    font-weight: 800;
}

body.body_theme5 .t5-cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}

body.body_theme5 .t5-cta-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none !important;
}

body.body_theme5 .t5-cta-banner__btn--primary {
    background: #fff;
    color: var(--t5-brand) !important;
}

body.body_theme5 .t5-cta-banner__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff !important;
}

body.body_theme5 .t5-clients {
    padding: 40px 0 56px;
    background: #f4f6fa;
    border-block-start: 1px solid rgba(20, 33, 171, 0.06);
}

body.body_theme5 .t5-clients__header {
    text-align: start;
    margin-bottom: 24px;
}

body.body_theme5 .t5-clients-swiper {
    padding-bottom: 42px;
    overflow: hidden;
}

body.body_theme5 .t5-clients__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 168px;
    padding: 22px 16px 18px;
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.08);
    border-radius: 18px;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.body_theme5 .t5-clients__card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 33, 171, 0.2);
    box-shadow: 0 14px 28px rgba(20, 33, 171, 0.1);
}

body.body_theme5 .t5-clients__logo {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.body_theme5 .t5-clients__logo img {
    max-width: 78%;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(0.15);
}

body.body_theme5 .t5-clients__name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #121826;
    text-align: center;
    line-height: 1.35;
}

body.body_theme5 .t5-clients-swiper .swiper-button-prev,
body.body_theme5 .t5-clients-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    color: var(--t5-brand);
}

body.body_theme5 .t5-clients-swiper .swiper-button-prev::after,
body.body_theme5 .t5-clients-swiper .swiper-button-next::after {
    font-size: 14px;
}

body.body_theme5 .t5-clients-swiper .swiper-pagination-bullet-active {
    background: var(--t5-brand);
}

@media (max-width: 375px) {
    body.body_theme5 .t5-feat,
    body.body_theme5 .t5-why,
    body.body_theme5 .t5-cta-banner,
    body.body_theme5 .t5-clients,
    body.body_theme5 .t5-partners,
    body.body_theme5 .t5-about-section--home {
        overflow-x: clip;
    }

    body.body_theme5 .t5-feat__item,
    body.body_theme5 .t5-why__feature,
    body.body_theme5 .t5-why__tile,
    body.body_theme5 .t5-cta-banner__panel {
        min-width: 0;
    }
}

/* Footer — light editorial, same rhythm as t5-why--editorial */
body.body_theme5 footer.theme5-footer.theme5-footer--editorial {
    background: #fff !important;
    color: var(--t5-ink, #121826) !important;
    padding: 48px 0 20px;
    margin-top: 0;
    border: 0;
    border-radius: 0;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    border-top: 1px solid rgba(20, 33, 171, 0.1);
    box-shadow: none;
    overflow: hidden;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__logo {
    max-width: 168px;
    max-height: 88px;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__eyebrow {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--t5-brand, #1421AB);
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__apps {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    max-width: none;
    margin-bottom: 16px;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__app-link {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.14);
    color: var(--t5-ink, #121826) !important;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: none;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__app-link:hover {
    background: var(--t5-brand, #1421AB);
    border-color: var(--t5-brand, #1421AB);
    color: #fff !important;
    transform: none;
    box-shadow: none;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__app-link i {
    font-size: 1rem;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__app-link img {
    filter: none;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__desc {
    color: var(--t5-muted, #5b6170) !important;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 36ch;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__title {
    color: var(--t5-ink, #121826) !important;
    font-size: 1.02rem;
    font-weight: 800;
    margin: 0 0 14px;
    padding-bottom: 10px;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__title::after {
    width: 28px;
    height: 2px;
    background: var(--t5-brand, #1421AB);
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__links a {
    color: var(--t5-ink, #121826) !important;
    font-size: 0.9rem;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__links a::before {
    background: var(--t5-brand, #1421AB);
    opacity: 0.7;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__links a:hover {
    color: var(--t5-brand, #1421AB) !important;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__info-box {
    background: transparent;
    border: 0;
    border-block-end: 1px solid rgba(20, 33, 171, 0.08);
    border-inline-start: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 14px 0;
    margin-bottom: 0;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__info-box:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__info-box > i {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--t5-brand, #1421AB);
    font-size: 0.85rem;
    font-weight: 800;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__info-box span,
body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__info-box a,
body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__info-lines,
body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__phone-label {
    color: var(--t5-ink, #121826) !important;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__info-box a {
    color: var(--t5-brand, #1421AB) !important;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__info-box a:hover {
    color: var(--t5-brand-dark, #0f1890) !important;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__social-label {
    color: var(--t5-muted, #5b6170) !important;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__social-icon {
    background: #fff;
    border-color: rgba(20, 33, 171, 0.12);
    color: var(--t5-ink, #121826) !important;
    box-shadow: none;
    border-radius: 12px;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__social-icon:hover {
    background: var(--t5-brand, #1421AB);
    border-color: var(--t5-brand, #1421AB);
    color: #fff !important;
    transform: none;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__map {
    height: 220px;
    border-radius: 16px;
    border: 1px solid rgba(20, 33, 171, 0.1);
    box-shadow: none;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__map-btn {
    background: #fff;
    color: var(--t5-brand, #1421AB) !important;
    border-radius: 999px;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(20, 33, 171, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__copyright {
    display: none;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__credit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--t5-muted, #5b6170) !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__credit:hover {
    color: var(--t5-brand, #1421ab) !important;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__credit-brand {
    font-weight: 800;
}

body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__credit img {
    display: none !important;
}

@media (max-width: 767.98px) {
    body.body_theme5 footer.theme5-footer.theme5-footer--editorial {
        padding: 36px 0 18px;
        border-radius: 0;
    }

    body.body_theme5 footer.theme5-footer.theme5-footer--editorial .theme5-footer__desc {
        max-width: none;
    }
}
