/**
 * Global site branding — header, footer, drawers, mobile nav, partner logos.
 * Load after main.css + dev.css.
 * Logo images: height from CSS variables, width: auto, max-width cap, object-fit: contain.
 * Desktop header ~64–68px; phone ~52px; mobile panel / offcanvas aligned to same scale.
 */

:root {
    /* Header mark: target ~60–70px tall on desktop; width auto + max-width caps wide assets */
    --site-brand-header-h: 68px;
    --site-brand-header-max-w: min(340px, 42vw);
    --site-brand-footer-h: 52px;
    --site-brand-footer-max-w: min(280px, 58vw);
    --site-brand-offcanvas-h: 56px;
    --site-brand-offcanvas-max-w: min(300px, 82vw);
    /* Legacy slide-out + class-based mobile nav images */
    --site-brand-mobile-nav-h: 52px;
    --site-brand-mobile-nav-max-w: min(280px, 78vw);
    /* Primary mobile panel (site-mobile-panel) */
    --site-brand-mobile-panel-logo-h: 54px;
    --site-brand-mobile-panel-logo-max-w: min(280px, 80vw);
    --site-brand-credit-h: 36px;
    --site-brand-credit-max-w: min(220px, 72vw);
}

@media (max-width: 1199.98px) {
    :root {
        --site-brand-header-h: 64px;
        --site-brand-header-max-w: min(300px, 48vw);
        --site-brand-footer-h: 50px;
        --site-brand-offcanvas-h: 54px;
        --site-brand-offcanvas-max-w: min(280px, 82vw);
        --site-brand-mobile-nav-h: 50px;
        --site-brand-mobile-nav-max-w: min(260px, 78vw);
        --site-brand-mobile-panel-logo-h: 52px;
        --site-brand-mobile-panel-logo-max-w: min(260px, 80vw);
        --site-brand-credit-h: 34px;
        --site-brand-credit-max-w: min(210px, 74vw);
    }
}

@media (max-width: 991.98px) {
    :root {
        --site-brand-header-h: 58px;
        --site-brand-header-max-w: min(280px, 52vw);
        --site-brand-footer-h: 48px;
        --site-brand-offcanvas-h: 52px;
        --site-brand-offcanvas-max-w: min(260px, 82vw);
        --site-brand-mobile-nav-h: 50px;
        --site-brand-mobile-nav-max-w: min(250px, 78vw);
        --site-brand-mobile-panel-logo-h: 52px;
        --site-brand-mobile-panel-logo-max-w: min(250px, 78vw);
        --site-brand-credit-h: 32px;
        --site-brand-credit-max-w: min(200px, 74vw);
    }
}

@media (max-width: 575.98px) {
    :root {
        /* Phone: keep logo ~50–55px so it stays readable (avoid the old 36–40px caps) */
        --site-brand-header-h: 52px;
        --site-brand-header-max-w: min(240px, 72vw);
        --site-brand-footer-h: 44px;
        --site-brand-offcanvas-h: 52px;
        --site-brand-offcanvas-max-w: min(240px, 84vw);
        --site-brand-mobile-nav-h: 52px;
        --site-brand-mobile-nav-max-w: min(230px, 80vw);
        --site-brand-mobile-panel-logo-h: 52px;
        --site-brand-mobile-panel-logo-max-w: min(230px, 82vw);
        --site-brand-credit-h: 30px;
        --site-brand-credit-max-w: min(190px, 76vw);
    }
}

/* ----- Header (all tg-header-height variants) ----- */
.tg-header-height .logo,
.tg-header-tu-2-wrap .tgmenu__wrap .logo {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
}

/* Do NOT set display on .logo > a: themes use .logo-1 / .logo-2 swap; main.css hides .logo-1
   when .header-sticky without !important — inline-flex here was overriding that and showed both marks. */
.tg-header-height .logo > a,
.tg-header-tu-2-wrap .tgmenu__wrap .logo > a {
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex-shrink: 0;
}

.tg-header-height .logo img,
.tg-header-tu-2-wrap .tgmenu__wrap .logo img,
.header-sticky .logo img {
    height: var(--site-brand-header-h);
    width: auto !important;
    max-width: var(--site-brand-header-max-w);
    max-height: var(--site-brand-header-h);
    object-fit: contain;
    object-position: left center;
    display: block;
}

html[dir="rtl"] .tg-header-height .logo img,
html[dir="rtl"] .tg-header-tu-2-wrap .tgmenu__wrap .logo img,
html[dir="rtl"] .header-sticky .logo img {
    object-position: right center;
}

/* Theme 6 / areas using .tg-header__area .logo */
.tg-header__area .logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.tg-header__area .logo > a {
    align-items: center;
    line-height: 0;
}

.tg-header__area .logo img {
    height: var(--site-brand-header-h);
    width: auto !important;
    max-width: var(--site-brand-header-max-w);
    max-height: var(--site-brand-header-h);
    object-fit: contain;
    display: block;
}

.tg-header__area .tgmenu__wrap {
    gap: 20px;
    min-width: 0;
}

.tg-header__area .tgmenu__nav {
    margin-left: clamp(20px, 2.8vw, 72px);
}

.tg-header__area .site-header-actions {
    gap: 12px;
    flex-wrap: nowrap;
}

.tg-header__area .site-header-login {
    gap: 8px;
    white-space: nowrap;
    line-height: 1;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
}

.tg-header__area .site-header-login i {
    font-size: 15px;
}

.tg-header__area .site-header-login:hover,
.tg-header__area .site-header-login:focus-visible {
    color: var(--tg-theme-primary);
}

@media (max-width: 1199.98px) {
    .tg-header__area .tgmenu__wrap {
        gap: 14px;
    }

    .tg-header__area .site-header-actions {
        gap: 10px;
    }
}

@media (max-width: 991.98px) {
    .tg-header-4-bootom .row.align-items-center {
        min-height: calc(var(--site-brand-header-h) + 18px);
    }

    .tg-header__area .site-header-actions {
        gap: 8px;
    }
}

/* ----- Footer widget logo ----- */
.tg-footer-logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.tg-footer-logo a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    max-width: 100%;
}

.tg-footer-logo img {
    height: var(--site-brand-footer-h);
    width: auto !important;
    max-width: var(--site-brand-footer-max-w);
    max-height: var(--site-brand-footer-h);
    object-fit: contain;
    display: block;
}

/* ----- Off-canvas ----- */
.offCanvas__info {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 22px 18px;
}

.offCanvas__info.site-offcanvas-panel {
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: -12px 0 40px rgba(17, 24, 39, 0.12);
    z-index: 9991;
}

.offCanvas__info.site-offcanvas-panel .offCanvas__body.site-offcanvas-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
}

.offCanvas__info.site-offcanvas-panel .offCanvas__footer.site-offcanvas-panel__footer {
    flex-shrink: 0;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.offCanvas__info .offCanvas__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    margin-bottom: 16px;
}

.offCanvas__info .offCanvas__close-icon {
    position: static;
    inset: auto;
    margin-top: 0;
    text-align: center;
}

.offCanvas__info .offCanvas__close-icon button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    transition: all 0.2s ease-in-out;
}

.offCanvas__info .offCanvas__close-icon button:hover,
.offCanvas__info .offCanvas__close-icon button:focus-visible {
    border-color: var(--tg-theme-primary);
    color: var(--tg-theme-primary);
}

.offCanvas__logo {
    display: flex;
    align-items: center;
    line-height: 0;
    min-width: 0;
}

.offCanvas__logo a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    max-width: 100%;
}

/* Beats main.css `.offCanvas__logo img { max-height: 34px }` (same specificity; !important guards order issues) */
.offCanvas__logo img {
    height: var(--site-brand-offcanvas-h);
    width: auto !important;
    max-width: var(--site-brand-offcanvas-max-w) !important;
    max-height: var(--site-brand-offcanvas-h) !important;
    object-fit: contain;
    display: block;
}

.offCanvas__info .offCanvas__section {
    margin-bottom: 14px;
}

.offCanvas__info .offCanvas__icon-box {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.offCanvas__info .offCanvas__menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    border-radius: 14px;
    padding: 11px 12px;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

.offCanvas__info .offCanvas__menu-link span:last-child,
.offCanvas__info .offCanvas__menu-link .site-panel-menu__label {
    flex: 1;
    min-width: 0;
}

.offCanvas__info .offCanvas__menu-link:hover,
.offCanvas__info .offCanvas__menu-link:focus-visible {
    color: var(--tg-theme-primary);
    background: rgba(255, 255, 255, 0.72);
    transform: translateX(2px);
}

html[dir="rtl"] .offCanvas__info .offCanvas__menu-link:hover,
html[dir="rtl"] .offCanvas__info .offCanvas__menu-link:focus-visible {
    transform: translateX(-2px);
}

.offCanvas__info .offCanvas__menu-link--account {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 255, 0.95));
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    min-height: 58px;
}

.offCanvas__info .offCanvas__menu-link--account .offCanvas__icon-box {
    background: rgba(255, 255, 255, 0.9);
}

.offCanvas__info .offCanvas__menu {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    padding: 8px;
}

.offCanvas__info .offCanvas__menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.offCanvas__info .offCanvas__menu-list li + li {
    margin-top: 4px;
}

.offCanvas__info .offCanvas__side-info {
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    padding: 12px;
}

.offCanvas__info .offCanvas__side-info .contact-list {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.offCanvas__info .offCanvas__side-info .contact-list:last-child {
    margin-bottom: 0;
}

.offCanvas__info .offCanvas__side-info .contact-list i {
    font-size: 14px;
    margin-top: 2px;
    color: var(--tg-theme-primary);
}

.offCanvas__info .offCanvas__side-info .contact-list h4 {
    margin-bottom: 3px;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.72;
}

.offCanvas__info .offCanvas__side-info .contact-list p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.45;
}

.offCanvas__info .offCanvas__side-info .contact-list p,
.offCanvas__info .offCanvas__side-info .contact-list a {
    color: inherit;
    word-break: break-word;
}

/* YellowZed credit — styles in mobile-sidebar.css */

.offCanvas__footer .offCanvas__credit.site-menu-credit {
    margin-bottom: 0;
    width: 100%;
}

.offCanvas__info .offCanvas__social-wrap--in-body {
    margin-top: 0;
    padding-top: 0;
}

.offCanvas__info .offCanvas__social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.offCanvas__info .offCanvas__social-icon a {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: rgba(255, 255, 255, 0.72);
    transition: all 0.2s ease-in-out;
}

.offCanvas__info .offCanvas__social-icon a:hover,
.offCanvas__info .offCanvas__social-icon a:focus-visible {
    color: #fff;
    background: var(--tg-theme-primary);
    border-color: var(--tg-theme-primary);
}

@media (max-width: 575.98px) {
    .offCanvas__info {
        padding: 18px 16px 16px;
    }

    .offCanvas__info .offCanvas__icon-box {
        width: 34px;
        height: 34px;
    }

    .offCanvas__info .offCanvas__menu-link {
        min-height: 50px;
        padding: 9px 10px;
    }
}

/* ----- Mobile slide-out menu ----- */
.tgmobile__menu .nav-logo {
    display: flex;
    align-items: center;
}

.tgmobile__menu .nav-logo a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    max-width: 100%;
}

/* Beats main.css `.tgmobile__menu .nav-logo img { width: 150px }` */
.tgmobile__menu .nav-logo img {
    height: var(--site-brand-mobile-nav-h);
    width: auto !important;
    max-width: var(--site-brand-mobile-nav-max-w) !important;
    max-height: var(--site-brand-mobile-nav-h) !important;
    object-fit: contain;
    display: block;
}

/* Polished mobile panel (aligned with offcanvas) */
.tgmobile__menu .site-mobile-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px 16px 16px;
}

.tgmobile__menu .site-mobile-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.tgmobile__menu .site-mobile-panel__logo.nav-logo {
    justify-content: flex-start;
    min-width: 0;
    flex: 1 1 auto;
}

.tgmobile__menu .site-mobile-panel .close-btn.site-mobile-panel__close {
    position: static;
    inset: auto;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: rgba(255, 255, 255, 0.92);
    line-height: 1;
    font-size: 18px;
    color: var(--tg-theme-primary);
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.tgmobile__menu .site-mobile-panel .close-btn.site-mobile-panel__close:hover,
.tgmobile__menu .site-mobile-panel .close-btn.site-mobile-panel__close:focus-visible {
    border-color: var(--tg-theme-primary);
    background: #fff;
}

.tgmobile__menu .site-mobile-panel__logo img,
.tgmobile__menu .site-brand-logo--mobile-panel {
    height: var(--site-brand-mobile-panel-logo-h);
    width: auto !important;
    max-width: var(--site-brand-mobile-panel-logo-max-w);
    max-height: var(--site-brand-mobile-panel-logo-h);
    object-fit: contain;
    display: block;
}

.tgmobile__menu .site-mobile-panel__account {
    margin-bottom: 12px;
}

.tgmobile__menu .site-mobile-panel__account-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 255, 0.95));
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.07);
    transition: all 0.2s ease-in-out;
}

.tgmobile__menu .site-mobile-panel__account-link:hover,
.tgmobile__menu .site-mobile-panel__account-link:focus-visible {
    color: var(--tg-theme-primary);
}

.tgmobile__menu .site-mobile-panel__icon-box {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.tgmobile__menu .site-mobile-panel__primary-wrap {
    margin-bottom: 12px;
}

.tgmobile__menu .site-mobile-panel__menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    padding: 8px;
}

.tgmobile__menu .site-mobile-panel__menu-list li + li {
    margin-top: 4px;
}

.tgmobile__menu .site-mobile-panel__menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease-in-out, background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.tgmobile__menu .site-mobile-panel__menu-link span:last-child,
.tgmobile__menu .site-mobile-panel__menu-link .site-panel-menu__label {
    flex: 1;
    min-width: 0;
}

.tgmobile__menu .site-mobile-panel__menu-link:hover,
.tgmobile__menu .site-mobile-panel__menu-link:focus-visible {
    color: var(--tg-theme-primary);
    background: rgba(255, 255, 255, 0.72);
    transform: translateX(2px);
}

html[dir="rtl"] .tgmobile__menu .site-mobile-panel__menu-link:hover,
html[dir="rtl"] .tgmobile__menu .site-mobile-panel__menu-link:focus-visible {
    transform: translateX(-2px);
}

.tgmobile__menu .site-mobile-panel__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.tgmobile__menu .site-mobile-panel__footer {
    flex-shrink: 0;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.tgmobile__menu .site-mobile-panel__section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.tgmobile__menu .site-mobile-panel__contact {
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    padding: 12px;
}

.tgmobile__menu .site-mobile-panel__contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.tgmobile__menu .site-mobile-panel__contact-row:last-child {
    margin-bottom: 0;
}

.tgmobile__menu .site-mobile-panel__contact-label {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.72;
    font-weight: 600;
    margin-bottom: 2px;
}

.tgmobile__menu .site-mobile-panel__contact-value {
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}

.tgmobile__menu .site-mobile-panel__contact-value a {
    color: inherit;
    text-decoration: none;
}

.tgmobile__menu .site-mobile-panel__contact-value a:hover {
    color: var(--tg-theme-primary);
}

.tgmobile__menu .site-mobile-panel__icon-box--muted {
    background: rgba(246, 248, 255, 0.95);
}

.tgmobile__menu .site-mobile-panel__credit.site-menu-credit {
    margin: 0;
    width: 100%;
}

.tgmobile__menu .site-mobile-panel__social.social-links {
    margin-top: 14px;
    padding-top: 0;
}

.tgmobile__menu .site-mobile-panel__social.social-links ul {
    padding: 0;
}

.tgmobile__menu .site-mobile-panel__social .list-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tgmobile__menu .site-mobile-panel__social .list-wrap li {
    margin: 0;
}

.tgmobile__menu .site-mobile-panel__social .list-wrap a {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: rgba(255, 255, 255, 0.72);
    transition: all 0.2s ease-in-out;
}

.tgmobile__menu .site-mobile-panel__social .list-wrap a:hover,
.tgmobile__menu .site-mobile-panel__social .list-wrap a:focus-visible {
    color: #fff;
    background: var(--tg-theme-primary);
    border-color: var(--tg-theme-primary);
}

.offCanvas__info .site-offcanvas-login__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.offCanvas__info .site-offcanvas-login__link:hover,
.offCanvas__info .site-offcanvas-login__link:focus-visible {
    color: var(--tg-theme-primary);
}

/* ----- Bootstrap-style navbar (legacy partials) ----- */
.site-header .navbar-brand,
.navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.navbar-brand img {
    height: var(--site-brand-header-h);
    width: auto !important;
    max-width: var(--site-brand-header-max-w);
    max-height: var(--site-brand-header-h);
    object-fit: contain;
    display: block;
}

/* Optional utilities (see common_mobile_menu / common_offcanvas) */
img.site-brand-logo--mobile-nav {
    height: var(--site-brand-mobile-nav-h);
    width: auto !important;
    max-width: var(--site-brand-mobile-nav-max-w);
    max-height: var(--site-brand-mobile-nav-h);
    object-fit: contain;
    display: block;
}

img.site-brand-logo--offcanvas {
    height: var(--site-brand-offcanvas-h);
    width: auto !important;
    max-width: var(--site-brand-offcanvas-max-w);
    max-height: var(--site-brand-offcanvas-h);
    object-fit: contain;
    display: block;
}

img.site-brand-logo--credit {
    height: var(--site-brand-credit-h);
    width: auto !important;
    max-width: var(--site-brand-credit-max-w);
    max-height: var(--site-brand-credit-h);
    object-fit: contain;
    display: block;
}

/* Dual-logo themes: only one mark visible when bar is sticky (survives cascade vs other .logo > a rules) */
.header-sticky .logo > a.logo-1 {
    display: none !important;
}

.header-sticky .logo > a.logo-2 {
    display: inline-flex !important;
    align-items: center;
    line-height: 0;
}

/* ----- Off-canvas open state + RTL slide direction ----- */
body.offcanvas-menu-visible {
    overflow: hidden;
}

html[dir="rtl"] .offCanvas__info {
    right: auto;
    left: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

html[dir="rtl"] .offCanvas__info.active {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

html[dir="rtl"] .offCanvas__info.site-offcanvas-panel {
    box-shadow: 12px 0 40px rgba(17, 24, 39, 0.12);
}

html[dir="rtl"] .tgmobile__menu {
    right: auto;
    left: 0;
    padding-right: 0;
    padding-left: 30px;
    -webkit-transform: translateX(-101%);
    transform: translateX(-101%);
}

html[dir="rtl"] .tgmobile__menu-box {
    box-shadow: 9px 0 14px 0px rgba(0, 0, 0, 0.06);
}

/* ----- DB-driven drawer menus (shared with navbar via wp_nav_menu) ----- */
.site-panel-primary-nav li.menu-item-has-children {
    position: relative;
}

.site-panel-primary-nav li.menu-item-has-children > a {
    padding-inline-end: 48px;
}

.site-panel-primary-nav li.menu-item-has-children .dropdown-btn {
    position: absolute;
    inset-inline-end: 8px;
    top: 50%;
    margin-top: -16px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-common-black);
    background: rgba(246, 248, 255, 0.95);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 10px;
    cursor: pointer;
    z-index: 6;
    transition: background 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.site-panel-primary-nav li.menu-item-has-children .dropdown-btn:hover,
.site-panel-primary-nav li.menu-item-has-children .dropdown-btn:focus-visible {
    border-color: var(--tg-theme-primary);
    color: var(--tg-theme-primary);
}

.site-panel-primary-nav li.menu-item-has-children .dropdown-btn .plus-line {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0);
    border-radius: 10px;
    width: 12px;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.2s ease-in-out;
}

.site-panel-primary-nav li.menu-item-has-children .dropdown-btn .plus-line::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0);
    border-radius: 10px;
    width: 2px;
    height: 12px;
    background-color: currentColor;
}

.site-panel-primary-nav li.menu-item-has-children .dropdown-btn.open {
    background-color: var(--tg-theme-primary);
    border-color: var(--tg-theme-primary);
    color: #fff;
}

.site-panel-primary-nav li.menu-item-has-children .dropdown-btn.open .plus-line,
.site-panel-primary-nav li.menu-item-has-children .dropdown-btn.open .plus-line::after {
    background-color: #fff;
}

.site-panel-primary-nav li.menu-item-has-children .dropdown-btn.open .plus-line::after {
    display: none;
}

.site-panel-primary-nav li > ul.site-panel-submenu {
    display: none;
    list-style: none;
    margin: 4px 0 0 0;
    padding: 4px 4px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.site-panel-primary-nav .site-panel-menu__link--child {
    min-height: 46px !important;
    padding-inline-start: 14px !important;
    font-weight: 500;
    font-size: 0.94rem;
}

.site-panel-menu__default-icon {
    font-size: 12px;
    opacity: 0.55;
}

html[dir="rtl"] .site-panel-menu__default-icon {
    transform: scaleX(-1);
}

.offCanvas__info .site-panel-primary-nav li.active > a.offCanvas__menu-link,
.tgmobile__menu .site-panel-primary-nav li.active > a.site-mobile-panel__menu-link {
    color: var(--tg-theme-primary);
    background: rgba(255, 255, 255, 0.85);
}

.offCanvas__overly {
    z-index: 998;
}

/* ----- Partners / brand logo carousel (unified .partner-item) ----- */
:root {
    --partner-accent: #2a8489;
    --partner-overlay-opacity: 0.5;
    --partner-inner-radius: 12px;
    --partner-transition: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    --partner-zoom: 1.08;
}

.partner-item.tg-brand-items {
    width: 100%;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.partner-item__link {
    display: block;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.partner-item__link:focus-visible .partner-item__inner {
    box-shadow: 0 0 0 3px rgba(42, 132, 137, 0.45);
}

.partner-item__inner {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--partner-inner-radius);
    background: rgba(17, 24, 39, 0.04);
    isolation: isolate;
    aspect-ratio: 1 / 1;
    transition:
        border-radius var(--partner-transition),
        box-shadow var(--partner-transition);
}

@supports not (aspect-ratio: 1 / 1) {
    .partner-item__inner {
        aspect-ratio: auto;
    }

    .partner-item__inner::before {
        content: '';
        display: block;
        padding-bottom: 100%;
    }
}

.partner-item__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--partner-transition);
    transform: scale(1);
}

.partner-item__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: var(--partner-accent);
    opacity: 0;
    transition: opacity var(--partner-transition);
    pointer-events: none;
}

.partner-item:hover .partner-item__inner,
.partner-item:focus-within .partner-item__inner {
    border-radius: 50%;
}

.partner-item:hover .partner-item__img,
.partner-item:focus-within .partner-item__img {
    transform: scale(var(--partner-zoom));
}

.partner-item:hover .partner-item__overlay,
.partner-item:focus-within .partner-item__overlay {
    opacity: var(--partner-overlay-opacity);
}

/* White logos on dark hero (themes 4 & 5) — apply to image only */
.partner-item--monochrome-light .partner-item__img {
    filter: brightness(0) invert(1);
}

@media (prefers-reduced-motion: reduce) {
    .partner-item__inner,
    .partner-item__img,
    .partner-item__overlay {
        transition-duration: 0.01ms;
    }
}

/* ----- Tour / service listing cards (equal height, fixed media, pinned actions) ----- */
:root {
    --service-card-media-h: 200px;
    --service-card-title-line-height: 1.35;
    --service-card-title-lines: 2;
    --service-card-rating-min-h: 2.35rem;
    --service-card-body-gap: 0.5rem;
}

.service-card.tg-listing-5-card-item {
    --service-card-media-h: 220px;
}

/* Grid columns: stretch card to equal row height */
.row.list-card > [class*='col-'].tg-grid-full {
    display: flex;
    flex-direction: column;
}

.row.list-card > [class*='col-'].tg-grid-full > .service-card {
    flex: 1 1 auto;
    width: 100%;
}

/* Swiper slides: same visual height per slide */
.swiper-container.tg-listing-slider .swiper-slide,
.tg-listing-slider.swiper-container .swiper-slide,
.swiper-container.tg-listing-slider-2 .swiper-slide,
.tg-listing-slider-2.swiper-container .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
}

.swiper-container.tg-listing-slider .swiper-slide > .tg-listing-card-item,
.tg-listing-slider.swiper-container .swiper-slide > .tg-listing-card-item,
.swiper-container.tg-listing-slider .swiper-slide > .service-card,
.swiper-container.tg-listing-slider-2 .swiper-slide > .tg-listing-card-item,
.tg-listing-slider-2.swiper-container .swiper-slide > .tg-listing-card-item,
.swiper-container.tg-listing-slider-2 .swiper-slide > .service-card {
    width: 100%;
    min-height: 100%;
}

/* Isotope / filter grid (theme1 popular packages): equal-height columns */
.project-active-two > [class*='col-'].grid-item {
    display: flex;
    flex-direction: column;
}

.project-active-two > [class*='col-'].grid-item > .service-card {
    flex: 1 1 auto;
    width: 100%;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

/* List view: horizontal card (main.css uses display:flex on .tg-listing-card-item) */
.list-card.list-card-open .tg-grid-full .service-card {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    min-height: 0;
}

.list-card.list-card-open .tg-grid-full .service-card > .tg-listing-card-content,
.list-card.list-card-open .tg-grid-full .service-card > .tg-listing-main-content {
    flex: 1 1 auto;
    min-width: 0;
}

/* Map + list horizontal rows: card is row flex (see main.css .tg-listing-map-list-item) */
.tg-listing-map-list-item .tg-listing-card-item.service-card {
    flex-direction: row;
    align-items: stretch;
}

.tg-listing-map-list-item .service-card > .tg-listing-card-content {
    flex: 1 1 auto;
    min-width: 0;
}

.tg-listing-map-list-item .service-card .tg-listing-card-thumb {
    width: 280px;
    min-width: 280px;
    max-width: min(280px, 56%);
    align-self: flex-start;
}

@media only screen and (min-width: 1400px) and (max-width: 1599px),
    only screen and (min-width: 1200px) and (max-width: 1399px),
    only screen and (min-width: 992px) and (max-width: 1199px),
    only screen and (min-width: 768px) and (max-width: 991px),
    only screen and (min-width: 576px) and (max-width: 767px),
    (max-width: 575px) {
    .tg-listing-map-list-item .service-card .tg-listing-card-thumb {
        width: 100%;
        min-width: 0;
        max-width: none;
        align-self: stretch;
    }
}

/* Fixed media area (square footprint via fixed height + cover) */
.service-card .tg-listing-card-thumb {
    position: relative;
    flex: 0 0 auto;
    height: var(--service-card-media-h);
    max-height: var(--service-card-media-h);
    overflow: hidden;
    margin-bottom: 0 !important;
}

.service-card .tg-listing-card-thumb > a:first-of-type,
.service-card .tg-listing-card-thumb > a {
    display: block;
    height: 100%;
}

.service-card .tg-listing-card-thumb img.tg-card-border,
.service-card .tg-listing-card-thumb img.w-100,
.service-card .tg-listing-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Mask / price overlay siblings stay above image */
.service-card .tg-listing-2-mask,
.service-card .tg-listing-2-price,
.service-card .tg-listing-item-wishlist {
    z-index: 2;
}

.service-card .tg-listing-card-content,
.service-card .tg-listing-main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: var(--service-card-body-gap);
}

/* Title: two-line clamp + reserved block (EN/AR) */
.service-card .tg-listing-card-title {
    margin-bottom: 0.35rem !important;
}

.service-card .tg-listing-card-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--service-card-title-lines);
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: var(--service-card-title-line-height);
    min-height: calc(var(--service-card-title-line-height) * 1em * var(--service-card-title-lines));
    word-break: break-word;
}

html[dir='rtl'] .service-card .tg-listing-card-title a {
    word-break: break-word;
}

/* Location / meta line */
.service-card__line,
.service-card .service-card__line {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    word-break: break-word;
    min-height: 1.5em;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.service-card__line--meta,
.service-card .service-card__line--meta {
    -webkit-line-clamp: 2;
    min-height: 3em;
}

/* Rating row (stars + count) */
.service-card__rating,
.service-card .service-card__rating {
    flex-shrink: 0;
    min-height: var(--service-card-rating-min-h);
    margin-bottom: 0.35rem;
}

/* Primary CTA / wishlist row pinned to bottom of card body */
.service-card .tg-listing-avai {
    margin-top: auto;
    padding-top: 0.35rem;
    flex-shrink: 0;
}

/* Layout 2: price + review strip at bottom */
.service-card--2 .tg-listing-main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.service-card--2 .tg-listing-card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.service-card--2 .tg-listing-card-duration-tour {
    margin-top: 0;
    flex-shrink: 0;
}

.service-card--2 .tg-listing-card-price {
    margin-top: auto;
    flex-shrink: 0;
}

/* Theme4 / theme3 “su” cards: meta + title + location + price/rating row */
.service-card--su {
    --service-card-media-h: 260px;
}

.service-card--su .tg-listing-card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.service-card--su .tg-listing-card-price {
    margin-top: auto;
    flex-shrink: 0;
}

/* Theme5: location → title → rating → duration — pin last row to bottom */
.service-card--5 .tg-listing-card-content > :last-child {
    margin-top: auto;
}

/* Package grids (not listing list-card): equal-height columns */
.row:not(.list-card) > [class*='col-']:has(> .service-card) {
    display: flex;
    flex-direction: column;
}

.row:not(.list-card) > [class*='col-']:has(> .service-card) > .service-card {
    flex: 1 1 auto;
    width: 100%;
}

/* Layout 3: duration/meta at bottom under rating */
.service-card--3 .tg-listing-card-content {
    flex: 1 1 auto;
}

.service-card--3 .tg-listing-2-price-wrap {
    flex-shrink: 0;
}

.service-card--3 .tg-listing-card-duration-tour {
    margin-top: auto;
    flex-shrink: 0;
}

/* Layout 4 (list / map): complex body; pin price + CTA to bottom */
.service-card--4 .tg-listing-card-content {
    flex: 1 1 auto;
    min-height: 0;
}

.service-card--4 .tg-listing-card-content > .d-flex.justify-content-between {
    align-items: flex-start;
}

.service-card--4 .tg-listing-card-content > .d-flex.justify-content-between > .mr-30 {
    min-width: 0;
    flex: 1 1 auto;
}

.service-card--4 .destination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: flex-start;
}

.service-card--4 .tg-listing-map-list-para {
    flex: 1 1 auto;
    min-height: 2.75rem;
    max-height: 6.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.45;
}

.service-card--4 .tg-listing-avai {
    margin-top: auto;
}

.list-card.list-card-open .tg-grid-full .service-card .tg-listing-card-thumb {
    height: var(--service-card-media-h);
    min-height: var(--service-card-media-h);
    flex: 0 0 auto;
}

@media (min-width: 576px) {
    .list-card.list-card-open .tg-grid-full .service-card .tg-listing-card-thumb {
        width: min(40%, 320px);
        max-width: 320px;
    }
}

@media (max-width: 575.98px) {
    .list-card.list-card-open .tg-grid-full .service-card {
        flex-direction: column;
    }

    .list-card.list-card-open .tg-grid-full .service-card .tg-listing-card-thumb {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    :root {
        --service-card-media-h: 180px;
    }
}

/* ----- Theme 6 home: luxury hero + transparent header ----- */
body.theme6-home {
    --theme6-hero-brand: #2a8489;
    --theme6-brand: #2a8489;
    --theme6-brand-hover: #236d72;
    --theme6-hero-header-lift: clamp(64px, 9vw, 88px);
}

body.theme6-home #book {
    scroll-margin-top: calc(var(--theme6-hero-header-lift) + 16px);
}

/* ~12% larger logo on Theme 6 home for clarity on hero + solid bar */
body.theme6-home {
    --site-brand-header-h: 85px;
    --site-brand-header-max-w: min(380px, 46vw);
}

@media (max-width: 1199.98px) {
    body.theme6-home {
        --site-brand-header-h: 78px;
    }
}

@media (max-width: 575.98px) {
    body.theme6-home {
        --site-brand-header-h: 60px;
    }
}

body.theme6-home .tg-header-height {
    position: relative;
    z-index: 100;
}

body.theme6-home .tg-header-4-bootom .row.align-items-center {
    min-height: calc(var(--site-brand-header-h) + 10px);
}

/* Transitions: transparent ↔ solid */
body.theme6-home #header-sticky {
    -webkit-transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease,
        -webkit-backdrop-filter 0.3s ease;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease,
        backdrop-filter 0.3s ease;
}

/* Over hero: dark glass */
body.theme6-home #header-sticky:not(.header-sticky) {
    background: rgba(0, 0, 0, 0.2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: none;
}

/* Scrolled: solid white + soft shadow */
body.theme6-home #header-sticky.header-sticky {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
}

/* Nav links — menu text: white over hero */
body.theme6-home #header-sticky:not(.header-sticky) .tgmenu__navbar-wrap-4 > ul > li > a {
    color: #ffffff !important;
    -webkit-transition: color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    transition: color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    padding-top: 26px;
    padding-bottom: 26px;
}

body.theme6-home #header-sticky:not(.header-sticky) .tgmenu__navbar-wrap-4 > ul > li:not(.active):not(.current-menu-item):hover > a {
    color: rgba(255, 255, 255, 0.88) !important;
}

body.theme6-home #header-sticky:not(.header-sticky) .tgmenu__navbar-wrap-4 > ul > li.active > a,
body.theme6-home #header-sticky:not(.header-sticky) .tgmenu__navbar-wrap-4 > ul > li.current-menu-item > a {
    color: #ffffff !important;
    box-shadow: inset 0 -3px 0 0 var(--theme6-brand);
}

/* Scrolled: brand teal */
body.theme6-home #header-sticky.header-sticky .tgmenu__navbar-wrap-4 > ul > li > a {
    color: var(--theme6-brand) !important;
    padding-top: 26px;
    padding-bottom: 26px;
    -webkit-transition: color 0.3s ease, box-shadow 0.3s ease;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

body.theme6-home #header-sticky.header-sticky .tgmenu__navbar-wrap-4 > ul > li:not(.active):not(.current-menu-item):hover > a {
    color: var(--theme6-brand-hover) !important;
}

body.theme6-home #header-sticky.header-sticky .tgmenu__navbar-wrap-4 > ul > li.active > a,
body.theme6-home #header-sticky.header-sticky .tgmenu__navbar-wrap-4 > ul > li.current-menu-item > a {
    color: var(--theme6-brand) !important;
    box-shadow: inset 0 -3px 0 0 var(--theme6-brand);
}

/* Dropdown caret follows link color */
body.theme6-home #header-sticky:not(.header-sticky) .tgmenu__main-menu li.menu-item-has-children > a::after {
    color: rgba(255, 255, 255, 0.85);
}

body.theme6-home #header-sticky.header-sticky .tgmenu__main-menu li.menu-item-has-children > a::after {
    color: var(--theme6-brand);
}

/* Login / dashboard link: white on hero, brand when scrolled */
body.theme6-home #header-sticky:not(.header-sticky) .tg-header__area .site-header-login {
    color: #ffffff !important;
    -webkit-transition: color 0.3s ease, transform 0.3s ease;
    transition: color 0.3s ease, transform 0.3s ease;
}

body.theme6-home #header-sticky:not(.header-sticky) .tg-header__area .site-header-login i {
    color: #ffffff !important;
}

body.theme6-home #header-sticky:not(.header-sticky) .tg-header__area .site-header-login:hover,
body.theme6-home #header-sticky:not(.header-sticky) .tg-header__area .site-header-login:focus-visible {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.theme6-home #header-sticky.header-sticky .tg-header__area .site-header-login {
    color: var(--theme6-brand) !important;
}

body.theme6-home #header-sticky.header-sticky .tg-header__area .site-header-login i {
    color: var(--theme6-brand) !important;
}

body.theme6-home #header-sticky.header-sticky .tg-header__area .site-header-login:hover,
body.theme6-home #header-sticky.header-sticky .tg-header__area .site-header-login:focus-visible {
    color: var(--theme6-brand-hover) !important;
}

body.theme6-home #header-sticky.header-sticky .tg-header__area .site-header-login:hover i,
body.theme6-home #header-sticky.header-sticky .tg-header__area .site-header-login:focus-visible i {
    color: var(--theme6-brand-hover) !important;
}

/* Icons: search, cart, menu — brand teal + hover */
body.theme6-home #header-sticky .search-button,
body.theme6-home #header-sticky .tg-menu-4-right-action .cart-button,
body.theme6-home #header-sticky .tgmenu-offcanvas-open-btn {
    -webkit-transition: color 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    transition: color 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

body.theme6-home #header-sticky:not(.header-sticky) .search-button {
    color: var(--theme6-brand) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 12px;
}

body.theme6-home #header-sticky:not(.header-sticky) .search-button svg {
    width: 20px;
    height: 20px;
}

body.theme6-home #header-sticky:not(.header-sticky) .search-button:hover,
body.theme6-home #header-sticky:not(.header-sticky) .search-button:focus-visible {
    color: var(--theme6-brand-hover) !important;
    transform: scale(1.05);
}

body.theme6-home #header-sticky.header-sticky .search-button {
    color: var(--theme6-brand) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 12px;
}

body.theme6-home #header-sticky.header-sticky .search-button svg {
    width: 20px;
    height: 20px;
}

body.theme6-home #header-sticky.header-sticky .search-button:hover,
body.theme6-home #header-sticky.header-sticky .search-button:focus-visible {
    color: var(--theme6-brand-hover) !important;
    transform: scale(1.05);
}

body.theme6-home #header-sticky:not(.header-sticky) .tg-menu-4-right-action .tg-header-cart .cart-button {
    color: var(--theme6-brand) !important;
    border: 1px solid rgba(42, 132, 137, 0.45);
    background: rgba(255, 255, 255, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

body.theme6-home #header-sticky:not(.header-sticky) .tg-menu-4-right-action .tg-header-cart .cart-button svg {
    width: 20px;
    height: 20px;
}

body.theme6-home #header-sticky:not(.header-sticky) .tg-menu-4-right-action .tg-header-cart .cart-button:hover,
body.theme6-home #header-sticky:not(.header-sticky) .tg-menu-4-right-action .tg-header-cart .cart-button:focus-visible {
    color: var(--theme6-brand-hover) !important;
    border-color: rgba(42, 132, 137, 0.65);
    transform: scale(1.05);
}

body.theme6-home #header-sticky.header-sticky .tg-menu-4-right-action .tg-header-cart .cart-button {
    color: var(--theme6-brand) !important;
    border: 1px solid rgba(42, 132, 137, 0.35);
    background: rgba(42, 132, 137, 0.06);
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

body.theme6-home #header-sticky.header-sticky .tg-menu-4-right-action .tg-header-cart .cart-button svg {
    width: 20px;
    height: 20px;
}

body.theme6-home #header-sticky.header-sticky .tg-menu-4-right-action .tg-header-cart .cart-button:hover,
body.theme6-home #header-sticky.header-sticky .tg-menu-4-right-action .tg-header-cart .cart-button:focus-visible {
    color: var(--theme6-brand-hover) !important;
    border-color: rgba(42, 132, 137, 0.55);
    background: rgba(42, 132, 137, 0.1);
    transform: scale(1.05);
}

/* Hamburger — brand bars */
body.theme6-home #header-sticky:not(.header-sticky) .tgmenu-offcanvas-open-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 12px;
}

body.theme6-home #header-sticky:not(.header-sticky) .tgmenu-offcanvas-open-btn span {
    width: 22px !important;
    height: 2px !important;
    border-radius: 2px;
    background-color: var(--theme6-brand) !important;
}

body.theme6-home #header-sticky:not(.header-sticky) .tgmenu-offcanvas-open-btn:hover span,
body.theme6-home #header-sticky:not(.header-sticky) .tgmenu-offcanvas-open-btn:focus-visible span {
    background-color: var(--theme6-brand-hover) !important;
}

body.theme6-home #header-sticky:not(.header-sticky) .tgmenu-offcanvas-open-btn:hover,
body.theme6-home #header-sticky:not(.header-sticky) .tgmenu-offcanvas-open-btn:focus-visible {
    transform: scale(1.05);
}

body.theme6-home #header-sticky.header-sticky .tgmenu-offcanvas-open-btn {
    width: 44px;
    height: 44px;
}

body.theme6-home #header-sticky.header-sticky .tgmenu-offcanvas-open-btn span {
    width: 22px !important;
    height: 2px !important;
    border-radius: 2px;
    background-color: var(--theme6-brand) !important;
}

body.theme6-home #header-sticky.header-sticky .tgmenu-offcanvas-open-btn:hover span,
body.theme6-home #header-sticky.header-sticky .tgmenu-offcanvas-open-btn:focus-visible span {
    background-color: var(--theme6-brand-hover) !important;
}

body.theme6-home #header-sticky.header-sticky .tgmenu-offcanvas-open-btn:hover,
body.theme6-home #header-sticky.header-sticky .tgmenu-offcanvas-open-btn:focus-visible {
    transform: scale(1.05);
}

/* Logo legibility */
body.theme6-home #header-sticky:not(.header-sticky) .tg-header__area .logo img {
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
    -webkit-transition: -webkit-filter 0.3s ease;
    transition: filter 0.3s ease;
}

body.theme6-home #header-sticky.header-sticky .tg-header__area .logo img {
    -webkit-filter: none;
    filter: none;
}

.theme6-luxury-hero {
    margin-top: calc(-1 * var(--theme6-hero-header-lift));
    padding-top: var(--theme6-hero-header-lift);
    position: relative;
    z-index: 1;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.theme6-luxury-hero__slider-wrap {
    position: relative;
    overflow: hidden;
    min-height: min(92vh, 900px);
    isolation: isolate;
}

.theme6-luxury-hero .tg-hero-slider-active {
    height: min(92vh, 900px);
    min-height: min(92vh, 900px);
}

.theme6-luxury-hero .swiper-slide {
    height: min(92vh, 900px);
}

.theme6-luxury-hero .tg-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.theme6-luxury-hero .tg-hero-bg::before {
    display: none;
}

.theme6-luxury-hero .tg-hero-thumb {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transform: scale(1);
    -webkit-animation: theme6KenBurns 14s ease-in-out infinite !important;
    animation: theme6KenBurns 14s ease-in-out infinite !important;
    will-change: transform;
}

@keyframes theme6KenBurns {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.theme6-luxury-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(6, 12, 22, 0.55) 0%,
        rgba(6, 12, 22, 0.35) 38%,
        rgba(6, 12, 22, 0.5) 100%
    );
}

.theme6-luxury-hero__edge-blur {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    box-shadow: inset 0 0 120px 40px rgba(0, 0, 0, 0.25);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 55%, transparent 100%);
    opacity: 0.85;
}

.theme6-luxury-hero__top-fade {
    height: 120px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%) !important;
    z-index: 4 !important;
}

.theme6-luxury-hero__content-area {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.theme6-luxury-hero__content-area .container-fluid {
    pointer-events: auto;
}

.theme6-luxury-hero__inner {
    max-width: 720px;
    padding-inline: clamp(1.25rem, 4vw, 1.5rem);
    padding-left: clamp(1.25rem, 6vw, 5rem) !important;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}

html[dir="rtl"] .theme6-luxury-hero__inner {
    padding-left: clamp(1.25rem, 4vw, 1.5rem) !important;
    padding-right: clamp(1.25rem, 6vw, 5rem) !important;
    text-align: right;
}

.theme6-luxury-hero__title {
    margin: 0;
    font-weight: 700;
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.theme6-luxury-hero__subtitle {
    margin-top: 1rem;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.35vw, 1.125rem);
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
    max-width: 36rem;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

html[dir="rtl"] .theme6-luxury-hero__subtitle {
    margin-left: auto;
    margin-right: 0;
}

.theme6-luxury-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.65rem 1.65rem;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.theme6-luxury-hero__btn--primary {
    background: var(--theme6-hero-brand);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.theme6-luxury-hero__btn--primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.theme6-luxury-hero__btn--secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.theme6-luxury-hero__btn--secondary:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.theme6-luxury-hero__nav--arrows {
    position: absolute;
    right: clamp(0.75rem, 3vw, 2rem);
    bottom: clamp(4.5rem, 12vh, 7rem);
    z-index: 6;
    gap: 10px;
    align-items: center;
}

html[dir="rtl"] .theme6-luxury-hero__nav--arrows {
    right: auto;
    left: clamp(0.75rem, 3vw, 2rem);
}

.theme6-luxury-hero__arrow {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 46px !important;
    height: 46px !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.theme6-luxury-hero__arrow:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
}

.theme6-luxury-hero .tg-hero-slider-pagination {
    position: absolute;
    left: 50%;
    bottom: clamp(1.75rem, 4vh, 2.5rem);
    transform: translateX(-50%);
    z-index: 6;
    width: auto !important;
}

.theme6-luxury-hero .tg-hero-slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 5px !important;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.theme6-luxury-hero .tg-hero-slider-pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.25);
}

@media (max-width: 991.98px) {
    .theme6-luxury-hero__inner {
        max-width: 100%;
        padding-left: clamp(1.25rem, 4vw, 2rem) !important;
        padding-right: clamp(1.25rem, 4vw, 2rem) !important;
        text-align: center;
    }

    html[dir="rtl"] .theme6-luxury-hero__inner {
        text-align: center;
    }

    .theme6-luxury-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .theme6-luxury-hero__title {
        font-size: clamp(1.75rem, 5.5vw, 2.5rem);
    }

    .theme6-luxury-hero__subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .theme6-luxury-hero .tg-hero-slider-active,
    .theme6-luxury-hero__slider-wrap,
    .theme6-luxury-hero .swiper-slide {
        min-height: 78vh;
        height: 78vh;
    }

    .theme6-luxury-hero__actions {
        width: 100%;
        max-width: 320px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .theme6-luxury-hero__btn {
        width: 100%;
    }

    .theme6-luxury-hero__nav--arrows {
        display: none !important;
    }
}

/* ----- Theme 6: premium fullscreen search modal ----- */
body.search-modal-open {
    overflow: hidden;
}

.search-popup-overlay.theme6-search-overlay-backdrop {
    background: rgba(15, 23, 42, 0.5) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.search-popup-overlay.theme6-search-overlay-backdrop.search-popup-overlay-open {
    opacity: 1 !important;
}

.search__popup.theme6-search-modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    -webkit-transform: translateY(-18px) !important;
    transform: translateY(-18px) !important;
    -webkit-transition: opacity 0.35s ease, visibility 0s linear 0.35s, -webkit-transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    transition-delay: 0s !important;
}

.search__popup.theme6-search-modal.search-opened {
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-transform: translateY(0) !important;
    transform: translateY(0) !important;
    pointer-events: none !important;
    -webkit-transition-delay: 0s !important;
    transition-delay: 0s !important;
    transition: opacity 0.38s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s !important;
}

.theme6-search-modal__inner {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(3.5rem, 8vh, 5rem) clamp(1rem, 4vw, 2rem) clamp(1.25rem, 3vh, 2rem);
    pointer-events: none;
}

.theme6-search-modal__close {
    position: fixed;
    top: clamp(1rem, 3vh, 1.75rem);
    right: clamp(1rem, 3vw, 2rem);
    z-index: 100000001;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2a8489;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
    -webkit-transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    pointer-events: auto;
}

.theme6-search-modal__close:hover,
.theme6-search-modal__close:focus-visible {
    color: #236d72;
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.14);
    outline: none;
}

html[dir="rtl"] .theme6-search-modal__close {
    right: auto;
    left: clamp(1rem, 3vw, 2rem);
}

.theme6-search-modal__panel {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.5rem, 3.5vw, 2.25rem);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.14), 0 2px 12px rgba(15, 23, 42, 0.06);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    pointer-events: auto;
    opacity: 0;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
    -webkit-transition: opacity 0.4s ease 0.06s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
    transition: opacity 0.4s ease 0.06s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.search__popup.theme6-search-modal.search-opened .theme6-search-modal__panel {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.theme6-search-modal__title {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 0.35rem;
}

.theme6-search-modal__subtitle {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 1.35rem;
}

.theme6-search-modal__intro {
    margin-bottom: 0.25rem;
}

.theme6-search-modal__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    padding: 0 0.65rem 0 0.85rem;
    min-height: 58px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    -webkit-transition: border-color 0.25s ease, box-shadow 0.25s ease;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme6-search-modal__field:focus-within {
    border-color: rgba(42, 132, 137, 0.55);
    box-shadow: 0 0 0 4px rgba(42, 132, 137, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.theme6-search-modal__field-icon {
    flex-shrink: 0;
    display: flex;
    color: #2a8489;
    opacity: 0.9;
}

.theme6-search-modal__input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    font-size: 1rem !important;
    font-weight: 450;
    color: #0f172a !important;
    padding: 0.85rem 0.35rem 0.85rem 0 !important;
    height: auto !important;
    line-height: 1.35 !important;
}

.theme6-search-modal__input::placeholder {
    font-size: 0.8125rem !important;
    color: #94a3b8 !important;
    font-weight: 400;
}

.theme6-search-modal__submit {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    background: #2a8489;
    -webkit-transition: background 0.25s ease, transform 0.2s ease;
    transition: background 0.25s ease, transform 0.2s ease;
}

.theme6-search-modal__submit:hover,
.theme6-search-modal__submit:focus-visible {
    background: #236d72;
    transform: scale(1.04);
    outline: none;
}

.theme6-search-modal__sections {
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.theme6-search-modal__section {
    margin-bottom: 1.35rem;
}

.theme6-search-modal__section:last-child {
    margin-bottom: 0;
}

.theme6-search-modal__section-title {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 0.65rem;
}

.theme6-search-modal__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.theme6-search-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
}

@media (max-width: 767.98px) {
    .theme6-search-modal__grid {
        grid-template-columns: 1fr;
    }
}

.theme6-search-modal__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.95);
    -webkit-transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.theme6-search-modal__chip:hover,
.theme6-search-modal__chip:focus-visible {
    color: #2a8489;
    border-color: rgba(42, 132, 137, 0.45);
    background: rgba(42, 132, 137, 0.08);
    transform: translateY(-1px);
    outline: none;
}

.theme6-search-modal__chip--soft {
    background: #fff;
}

.theme6-search-modal__chip--outline {
    border-style: dashed;
    color: #2a8489;
    background: rgba(42, 132, 137, 0.04);
}

.theme6-search-modal__chip--recent {
    border-color: rgba(42, 132, 137, 0.2);
}

.theme6-search-modal__empty {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .theme6-search-modal__inner {
        padding-top: 4rem;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .theme6-search-modal__panel {
        padding: 1.25rem 1.1rem;
        border-radius: 18px;
    }

    .theme6-search-modal__field {
        min-height: 54px;
        border-radius: 14px;
    }

    .theme6-search-modal__input {
        font-size: 0.9375rem !important;
    }

    .theme6-search-modal__chip {
        font-size: 0.78rem;
        padding: 0.4rem 0.75rem;
    }
}
