:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --brand-blue-100: #eaf8fe;
    --brand-blue-200: #bfeafb;
    --brand-blue-500: #1ca9ed;
    --brand-blue-600: #1298d9;
    --brand-blue-700: #0f83bd;
    --brand-red-400: #f14950;
    --brand-red-500: #ed1c24;
    --indigo-700: #0f83bd;
    --indigo-600: #1298d9;
    --indigo-500: #1ca9ed;
    --purple-600: #ed1c24;
    --purple-500: #f14950;
    --amber-500: #f59e0b;
    --orange-500: #f97316;
    --emerald-500: #10b981;
    --rose-500: #f43f5e;
    --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.16);
    --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.12);
    --radius-xl: 1.5rem;
    --radius-lg: 1.125rem;
    --radius-md: 0.875rem;
}

.mega-header,
.mega-header *,
.mega-header *::before,
.mega-header *::after {
    box-sizing: border-box;
}

.mega-header a {
    color: inherit;
    text-decoration: none;
}

.mega-header a:focus,
.mega-header button:focus,
.mega-header summary:focus,
.mega-header [tabindex]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.mega-header a:focus-visible,
.mega-header button:focus-visible,
.mega-header summary:focus-visible,
.mega-header [tabindex]:focus-visible {
    outline: 2px solid rgba(28, 169, 237, 0.8);
    outline-offset: 3px;
}

.mega-header img {
    display: block;
    max-width: 100%;
}

.mega-header button,
.mega-header label,
.mega-header summary {
    cursor: pointer;
}

.mega-header summary {
    list-style: none;
}

.mega-header summary::-webkit-details-marker {
    display: none;
}

.mega-header .sr-only,
.mega-mobile__toggle.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mega-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.mega-header {
    position: relative;
    z-index: 60;
    min-height: 0;
    background: var(--white);
}

.mega-topbar {
    background: #242424;
    color: var(--white);
    font-size: 14px;
}

.mega-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    gap: 1rem;
}

.mega-topbar__links,
.mega-topbar__social {
    display: flex;
    align-items: center;
    gap: 1.45rem;
}

.mega-topbar__links a,
.mega-topbar__language,
.mega-topbar__social a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--white);
    line-height: 1;
    white-space: nowrap;
}

.mega-topbar__social {
    gap: 0.85rem;
}

.mega-topbar__social a {
    font-size: 14px;
}

.translate-facade {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
    z-index: 10000;
}

.translate-facade.mega-topbar__language {
    gap: 0;
}

.translate-facade__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 12px;
    color: var(--white);
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    appearance: none;
    font: inherit;
    line-height: 1;
    white-space: nowrap;
}

.translate-facade__button:focus {
    outline: none;
}

.translate-facade__flag {
    width: 18px;
    height: 14px;
    flex: 0 0 18px;
    border-radius: 2px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.translate-facade__flag.is-tr {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' rx='2' fill='%23E30A17'/%3E%3Ccircle cx='10' cy='10' r='4.6' fill='%23fff'/%3E%3Ccircle cx='11.4' cy='10' r='3.7' fill='%23E30A17'/%3E%3Cpolygon fill='%23fff' points='16.8,6.7 17.6,9 20,9 18.1,10.4 18.8,12.7 16.8,11.3 14.9,12.7 15.6,10.4 13.7,9 16,9'/%3E%3C/svg%3E");
}

.translate-facade__flag.is-en {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' rx='2' fill='%23fff'/%3E%3Cg fill='%23B22234'%3E%3Crect width='28' height='1.54' y='0'/%3E%3Crect width='28' height='1.54' y='3.08'/%3E%3Crect width='28' height='1.54' y='6.16'/%3E%3Crect width='28' height='1.54' y='9.24'/%3E%3Crect width='28' height='1.54' y='12.32'/%3E%3Crect width='28' height='1.54' y='15.4'/%3E%3Crect width='28' height='1.54' y='18.48'/%3E%3C/g%3E%3Crect width='12' height='10.78' fill='%233C3B6E'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='2.2' cy='2.2' r='.6'/%3E%3Ccircle cx='5' cy='2.2' r='.6'/%3E%3Ccircle cx='7.8' cy='2.2' r='.6'/%3E%3Ccircle cx='10.6' cy='2.2' r='.6'/%3E%3Ccircle cx='3.6' cy='4.4' r='.6'/%3E%3Ccircle cx='6.4' cy='4.4' r='.6'/%3E%3Ccircle cx='9.2' cy='4.4' r='.6'/%3E%3Ccircle cx='2.2' cy='6.6' r='.6'/%3E%3Ccircle cx='5' cy='6.6' r='.6'/%3E%3Ccircle cx='7.8' cy='6.6' r='.6'/%3E%3Ccircle cx='10.6' cy='6.6' r='.6'/%3E%3Ccircle cx='3.6' cy='8.8' r='.6'/%3E%3Ccircle cx='6.4' cy='8.8' r='.6'/%3E%3Ccircle cx='9.2' cy='8.8' r='.6'/%3E%3C/g%3E%3C/svg%3E");
}

.translate-facade__flag.is-fr {
    background-image: linear-gradient(90deg, #0055a4 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ef4135 66.66%);
}

.translate-facade__flag.is-es {
    background-image: linear-gradient(180deg, #aa151b 25%, #f1bf00 25%, #f1bf00 75%, #aa151b 75%);
}

.translate-facade__flag.is-de {
    background-image: linear-gradient(180deg, #000000 33.33%, #dd0000 33.33%, #dd0000 66.66%, #ffce00 66.66%);
}

.translate-facade__flag.is-ru {
    background-image: linear-gradient(180deg, #ffffff 33.33%, #0039a6 33.33%, #0039a6 66.66%, #d52b1e 66.66%);
}

.translate-facade__flag.is-el {
    background-image: linear-gradient(180deg, #0d5eaf 16.66%, #ffffff 16.66%, #ffffff 33.33%, #0d5eaf 33.33%, #0d5eaf 50%, #ffffff 50%, #ffffff 66.66%, #0d5eaf 66.66%, #0d5eaf 83.33%, #ffffff 83.33%);
}

.translate-facade__flag.is-zh-cn {
    background-image: linear-gradient(180deg, #de2910 100%, #de2910 100%);
}

.translate-facade__label,
.translate-facade__caret {
    color: var(--white);
}

.translate-facade__caret {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.translate-facade.is-open .translate-facade__caret {
    transform: rotate(180deg);
}

.translate-facade__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    padding: 8px 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.translate-facade.is-open .translate-facade__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.translate-facade__menu::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 18px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
}

.translate-facade__option {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: #2f3032;
    font: inherit;
    text-align: left;
}

.translate-facade__option:hover,
.translate-facade__option:focus {
    background: #f5f6f8;
    outline: none;
}

.translate-facade__option.is-active {
    font-weight: 600;
    background: #f1f4f8;
}

.translate-facade__option-label {
    white-space: nowrap;
}

.translate-facade__native {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.mega-nav--desktop {
    display: block;
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--white);
    border-bottom: 0;
    box-shadow: none;
    transition: box-shadow 220ms ease, background-color 220ms ease;
}

.mega-nav__bar {
    position: static;
}

.mega-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 84px;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: min-height 220ms ease;
}

.mega-nav__brand {
    display: flex;
    align-items: center;
    margin-right: auto;
    flex: 0 0 auto;
}

.mega-nav__brand-link {
    display: inline-flex;
    align-items: center;
    padding-right: 1.15rem;
    transition: padding 220ms ease;
}

.mega-nav__brand-logo {
    display: block;
    width: auto;
    height: 78px;
    transition: height 220ms ease, transform 220ms ease, filter 220ms ease;
}

.mega-nav__item {
    position: static;
}

.mega-nav__item--spacer {
    margin-left: auto;
}

.mega-nav__trigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--slate-900);
    padding: 15px 11px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease, padding 220ms ease;
}

.mega-nav--desktop.is-condensed {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.mega-nav--desktop.is-condensed .mega-nav__list {
    min-height: 58px;
}

.mega-nav--desktop.is-condensed .mega-nav__brand-link {
    padding-right: 0.9rem;
}

.mega-nav--desktop.is-condensed .mega-nav__brand-logo {
    height: 54px;
    transform: none;
}

.mega-nav--desktop.is-condensed .mega-nav__trigger {
    padding-top: 0.78rem;
    padding-bottom: 0.78rem;
}

.mega-nav__item:not(.mega-nav__item--home) .mega-nav__trigger {
    text-transform: uppercase;
}

.mega-nav__trigger-text {
    display: inline-block;
    line-height: 1;
}

.mega-nav__chevron {
    display: inline-flex;
    width: auto;
    height: auto;
    border: 0;
    transform: none;
    margin-top: 0;
    transition: transform 180ms ease;
}

.mega-nav__chevron::before {
    content: "\f107";
    font-family: FontAwesome;
    font-size: 13px;
    line-height: 1;
}

.mega-nav__item--search {
    flex: 0 0 auto;
    margin-left: 18px;
}

.mega-nav__item--search .mega-nav__trigger {
    min-width: 40px;
    justify-content: center;
    padding-left: 8px;
    padding-right: 8px;
    color: var(--slate-950);
    font-size: 18px;
    background: transparent !important;
}

.mega-nav__item--search .mega-nav__underline {
    display: none;
}

.mega-nav__underline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-blue-500) 0%, var(--brand-red-500) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.mega-nav__item:hover .mega-nav__trigger,
.mega-nav__item:focus-within .mega-nav__trigger,
.mega-nav__item.is-open .mega-nav__trigger {
    color: var(--white);
    background: linear-gradient(90deg, rgba(28, 169, 237, 0.92), rgba(15, 131, 189, 0.94));
}

.mega-nav__item:hover .mega-nav__underline,
.mega-nav__item:focus-within .mega-nav__underline,
.mega-nav__item.is-open .mega-nav__underline {
    transform: scaleX(1);
}

.mega-nav__item:hover .mega-nav__chevron,
.mega-nav__item:focus-within .mega-nav__chevron,
.mega-nav__item.is-open .mega-nav__chevron {
    transform: none;
}

.mega-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 20px 30px -22px rgba(249, 115, 22, 0.95);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.mega-nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 36px -20px rgba(249, 115, 22, 0.9);
}

.mega-nav__cta::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 0.35rem rgba(255, 255, 255, 0.16);
}

.mega-menu-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.mega-menu-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
}

.mega-nav__item:hover .mega-menu-dropdown,
.mega-nav__item:focus-within .mega-menu-dropdown,
.mega-nav__item.is-open .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-card {
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 28px 52px -28px rgba(15, 23, 42, 0.45);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 288px minmax(0, 1fr) 320px;
    align-items: start;
    min-height: 500px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.mega-menu-grid--no-feature {
    grid-template-columns: 288px minmax(0, 1fr);
}

.mega-sidebar-title {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1rem 0.75rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-400);
    background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
    border-right: 1px solid var(--slate-200);
}

.mega-sidebar-title::before {
    content: "";
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-blue-500), var(--brand-red-500));
    box-shadow: 0 0 0 0.32rem rgba(28, 169, 237, 0.12);
}

.mega-category-state {
    display: contents;
}

.mega-category-state > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mega-category-tab {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 16px;
    border-left: 4px solid transparent;
    border-right: 1px solid var(--slate-200);
    background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
    transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.icon-chip {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    overflow: hidden;
    color: var(--slate-400);
    background: transparent;
    box-shadow: none;
}

.icon-chip i {
    color: currentColor;
    font-size: 16px;
    line-height: 1;
}

.icon-chip svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke: currentColor;
    stroke-width: 1.85;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-chip--hero {
    width: 3rem;
    height: 3rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, var(--indigo-500), var(--purple-600));
    color: var(--white);
    box-shadow: 0 18px 28px -18px rgba(28, 169, 237, 0.4);
}

.mega-category-copy {
    display: grid;
    gap: 0;
    min-width: 0;
}

.mega-category-name {
    color: var(--slate-700);
    font-size: 13px;
    font-weight: 500;
}

.mega-category-hint {
    color: var(--slate-500);
    font-size: 0.8rem;
}

.tab-arrow {
    margin-left: auto;
    color: var(--slate-400);
    font-size: 1rem;
    font-weight: 800;
    transition: transform 180ms ease, color 180ms ease;
}

.mega-category-state > input:checked + .mega-category-tab {
    transform: none;
    background: linear-gradient(180deg, rgba(28, 169, 237, 0.06), rgba(255, 255, 255, 0.98));
    border-left-color: var(--brand-red-500);
    box-shadow: inset 0 0 0 1px rgba(28, 169, 237, 0.12);
}

.mega-category-state > input:checked + .mega-category-tab .mega-category-name {
    color: var(--slate-900);
}

.mega-category-state > input:checked + .mega-category-tab .mega-category-hint {
    color: var(--slate-400);
}

.mega-category-state > input:checked + .mega-category-tab .tab-arrow {
    color: var(--indigo-500);
    transform: none;
}

.mega-category-state > input:checked + .mega-category-tab .icon-chip {
    color: var(--indigo-600);
    background: transparent;
    box-shadow: none;
}

.mega-category-view,
.mega-feature {
    display: none;
    grid-row: 1 / 99;
}

.mega-category-state > input:checked + .mega-category-tab + .mega-category-view {
    display: block;
    animation: fade-slide 220ms ease;
}

.mega-category-state > input:checked + .mega-category-tab + .mega-category-view + .mega-feature {
    display: flex;
    animation: fade-slide 220ms ease;
}

.mega-category-view {
    grid-column: 2;
    padding: 24px;
    background: var(--white);
}

.mega-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 24px;
}

.mega-category-title {
    display: flex;
    align-items: center;
    gap: 0;
}

.mega-category-title h2 {
    margin: 0 0 0.3rem;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.mega-category-title p {
    margin: 0;
    color: var(--slate-500);
    font-size: 0.92rem;
}

.mega-view-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--indigo-600);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.mega-view-link::after {
    content: ">";
    font-size: 0.92rem;
    transform: translateX(0);
    transition: transform 180ms ease;
}

.mega-view-link:hover::after {
    transform: translateX(0.2rem);
}

.icon-chip--hero,
.mega-category-hint,
.mega-category-title p,
.mega-view-link,
.mega-item-desc,
.mega-feature__eyebrow,
.mega-feature__body p,
.mega-feature__cta {
    display: none !important;
}

.mega-item-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.mega-menu-grid--no-feature .mega-item-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-item-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 68px;
    padding: 16px 18px;
    border: 1px solid var(--slate-100);
    border-radius: 0.75rem;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mega-item-card:hover {
    transform: translateY(-2px);
    border-color: rgba(28, 169, 237, 0.28);
    box-shadow: var(--shadow-card);
}

.mega-item-card--with-media {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mega-item-card--with-media .item-dot {
    display: none;
}

.mega-item-card--with-media .mega-item-copy {
    width: 100%;
    justify-items: center;
}

.mega-item-card--with-media .mega-item-row {
    justify-content: center;
}

.mega-item-card--with-media .mega-item-media {
    width: 100%;
    max-width: 280px;
}

.mega-item-card--with-media .mega-item-media img {
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 1100px) {
    .mega-item-card--with-media .mega-item-media {
        display: none;
    }
}

.mega-item-card--featured {
    background: linear-gradient(145deg, #eefaff 0%, #fff4f5 100%);
    border-color: rgba(28, 169, 237, 0.28);
}

.item-dot {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--slate-50), var(--slate-100));
    color: var(--slate-500);
}

.item-dot i {
    color: currentColor;
    font-size: 16px;
    line-height: 1;
}

.mega-item-card--featured .item-dot {
    background: linear-gradient(135deg, #bfeafb, #ffd7da);
    color: var(--indigo-600);
}

.item-dot svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 1.85;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mega-item-copy {
    display: grid;
    gap: 0.38rem;
    min-width: 0;
    flex: 1 1 auto;
}

.mega-item-media {
    display: block;
    width: min(100%, 180px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #fff;
    box-shadow: 0 14px 32px -24px rgba(15, 23, 42, 0.45);
}

.mega-item-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-item-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.mega-item-name {
    display: inline-flex;
    align-items: center;
    line-height: 1.35;
}
.mega-item-name {
    color: var(--slate-900);
    font-size: 14px;
    font-weight: 600;
}

.mega-item-desc {
    color: var(--slate-500);
    font-size: 0.82rem;
    line-height: 1.45;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.52rem;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.badge--new {
    color: #047857;
    background: #d1fae5;
}

.badge--sale {
    color: #be123c;
    background: #ffe4e6;
}

.badge--popular {
    color: #92400e;
    background: #fef3c7;
}

.badge--bestseller {
    color: #6d28d9;
    background: #ede9fe;
}

.badge--season {
    color: #1d4ed8;
    background: #dbeafe;
}

.badge--campaign {
    color: #9a3412;
    background: #ffedd5;
}

.mega-feature {
    grid-column: 3;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, var(--slate-900), var(--slate-800));
    color: var(--white);
}

.mega-feature__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mega-feature__eyebrow::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #fbbf24;
    box-shadow: 0 0 0 0.38rem rgba(251, 191, 36, 0.16);
}

.mega-feature__media {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    min-height: 160px;
    background: rgba(255, 255, 255, 0.08);
}

.mega-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.mega-feature:hover .mega-feature__media img {
    transform: scale(1.05);
}

.mega-feature__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.72));
}

.mega-feature__title {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.mega-feature__body h3 {
    margin: 0 0 0.45rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.mega-feature__body p {
    margin: 0;
    color: var(--slate-300);
    font-size: 0.875rem;
    line-height: 1.55;
}

.mega-feature__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(90deg, var(--indigo-500), var(--purple-600));
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    transition: transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 20px 36px -22px rgba(28, 169, 237, 0.48);
}

.mega-feature__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 40px -18px rgba(28, 169, 237, 0.42);
}

.mega-mobile {
    display: none;
    position: relative;
    z-index: 40;
}

.mega-mobile__toggle:checked ~ .mega-mobile__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-mobile__toggle:checked ~ .mega-mobile-drawer {
    transform: translateX(0);
}

.mega-mobile__toggle:checked ~ .mega-mobile__bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body:has(.mega-mobile__toggle:checked) {
    overflow: hidden;
}

.mega-mobile__bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    transition: opacity 160ms ease, visibility 160ms ease;
}

.mega-mobile__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.mega-mobile__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.mega-mobile__brand img {
    display: block;
    width: auto;
    height: 58px;
}

.mega-mobile__intro {
    display: grid;
    gap: 0.15rem;
}

.mega-mobile__title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
}

.mega-mobile__button,
.mega-mobile__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    border-radius: 0.85rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.mega-mobile__button:hover,
.mega-mobile__close:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.18);
}

.mega-mobile__button {
    width: 3.25rem;
    height: 3.25rem;
    color: var(--slate-900);
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.36);
}

.mega-mobile__button:hover {
    color: #1e293b;
    background: var(--brand-blue-100);
    border-color: rgba(28, 169, 237, 0.42);
}

.mega-mobile__burger {
    display: grid;
    gap: 0.28rem;
}

.mega-mobile__burger span {
    width: 1.5rem;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.mega-mobile__close-icon {
    position: relative;
    width: 1rem;
    height: 1rem;
}

.mega-mobile__close-icon::before,
.mega-mobile__close-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
}

.mega-mobile__close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mega-mobile__close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mega-mobile__toggle:checked ~ .mega-mobile__bar .mega-mobile__burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mega-mobile__toggle:checked ~ .mega-mobile__bar .mega-mobile__burger span:nth-child(2) {
    opacity: 0;
}

.mega-mobile__toggle:checked ~ .mega-mobile__bar .mega-mobile__burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mega-mobile__overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.56);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
    z-index: 70;
}

.mega-mobile-drawer {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 260ms ease;
    z-index: 80;
}

.mega-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.mega-mobile-drawer__brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.mega-mobile-drawer__brand img {
    display: block;
    width: auto;
    height: 56px;
}

.mega-mobile-drawer__eyebrow {
    display: block;
    color: var(--slate-300);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mega-mobile-drawer__title {
    display: block;
    margin-top: 0.2rem;
    color: var(--white);
    font-size: 1.08rem;
    font-weight: 800;
}

.mega-mobile__close {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-900);
    background: var(--slate-100);
    border-color: var(--slate-200);
}

.mega-mobile-panel {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    background: var(--slate-50);
}

.mobile-level-one {
    border-bottom: 1px solid var(--slate-200);
    background: var(--white);
    overflow: clip;
}

.mobile-level-one + .mobile-level-one {
    margin-top: 0;
}

.mobile-level-one[open] {
    border-bottom-color: var(--slate-200);
    box-shadow: none;
}

.mobile-level-one > summary,
.mobile-level-two > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-level-one > summary {
    padding: 1rem;
    background: var(--white);
}

.mobile-level-two > summary {
    padding: 0.85rem 1rem 0.85rem 1.5rem;
    background: var(--slate-50);
}

.mobile-summary-copy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.mobile-summary-copy strong {
    display: block;
    color: var(--slate-900);
    font-size: 0.95rem;
    font-weight: 600;
}

.mobile-summary-copy span {
    display: block;
    color: var(--slate-500);
    font-size: 0.8rem;
    margin-top: 0.16rem;
}

.mobile-level-one > summary .mobile-summary-copy > span > span,
.mobile-level-two > summary .mobile-summary-copy > span > span {
    display: none;
}

.mobile-chevron {
    color: var(--slate-400);
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 180ms ease;
}

.mobile-level-one[open] > summary .mobile-chevron,
.mobile-level-two[open] > summary .mobile-chevron {
    transform: rotate(90deg);
}

.mobile-level-one__content {
    padding: 0;
    background: var(--slate-50);
}

.mobile-level-two {
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    background: transparent;
}

.mobile-level-two + .mobile-level-two {
    margin-top: 0;
}

.mobile-item-list {
    display: grid;
    gap: 0;
    padding: 0;
    background: #f1f5f9;
}

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    border-top: 1px solid rgba(203, 213, 225, 0.6);
    background: #f1f5f9;
    transition: background 180ms ease, color 180ms ease;
}

.mobile-link .item-dot {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 10px;
}

.mobile-link .item-dot i,
.mobile-summary-copy .icon-chip i {
    color: currentColor !important;
}

.mobile-link > span:nth-child(2) {
    min-width: 0;
    flex: 1 1 auto;
}

.mobile-link:hover {
    background: var(--white);
}

.mobile-link strong {
    color: var(--slate-900);
    font-size: 0.9rem;
    font-weight: 500;
}

.mobile-link small {
    display: none;
    margin-top: 0.22rem;
    color: var(--slate-500);
    font-size: 0.77rem;
    line-height: 1.45;
}

.mobile-link__arrow {
    color: var(--slate-400);
    font-size: 0.95rem;
    font-weight: 700;
}

.mobile-level-one > summary:hover {
    background: var(--slate-50);
}

.mobile-level-two > summary:hover {
    background: #e2e8f0;
}

.mobile-level-one .icon-chip {
    width: auto;
    min-width: 1.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--indigo-600);
    font-size: 0.72rem;
    font-weight: 800;
}


.menu-stage {
    min-height: calc(100vh - 76px);
}

@keyframes fade-slide {
    from {
        opacity: 0;
        transform: translateX(-0.4rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 980px) {
    .demo-hero,
    .demo-card-grid,
    .demo-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .menu-stage {
        padding: 1.25rem 0 4rem;
    }

    .demo-hero,
    .demo-section {
        padding: 1.25rem;
    }

    .demo-timeline__item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .mega-header {
        min-height: 0;
    }

    .mega-topbar__social {
        display: none;
    }

    .mega-topbar__links > a:not(:nth-child(3)) {
        display: none;
    }

    .mega-topbar__inner {
        justify-content: flex-start;
    }

    .mega-topbar__links {
        gap: 0.8rem;
    }

    .translate-facade__flag {
        display: inline-block;
    }

    .mega-header:has(.mega-mobile__toggle:checked) .translate-facade__flag {
        display: none;
    }

    .mega-nav--desktop {
        display: none;
    }

    .mega-mobile {
        display: block;
    }

    .mega-mobile__bar {
        position: sticky;
        top: 0;
        z-index: 900;
        background: var(--white);
    }

    .menu-stage {
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .mega-shell {
        width: min(100%, calc(100% - 20px));
    }

    .mega-mobile__bar-inner {
        position: relative;
        padding: 0.9rem 0;
        padding-right: 4rem;
    }

    .mega-mobile__button {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .mega-mobile-drawer__header {
        padding: 0.9rem;
    }

.mega-mobile-panel {
        padding: 0;
    }
}

/* Theme override: keep desktop navigation visible on white background. */
.mega-header .mega-nav--desktop .mega-nav__list > .mega-nav__item > .mega-nav__trigger,
.mega-header .mega-nav--desktop .mega-nav__list > .mega-nav__item > .mega-nav__trigger .mega-nav__trigger-text,
.mega-header .mega-nav--desktop .mega-nav__list > .mega-nav__item > .mega-nav__trigger .mega-nav__chevron,
.mega-header .mega-nav--desktop .mega-nav__list > .mega-nav__item > .mega-nav__trigger i {
    color: #050505 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search):hover > .mega-nav__trigger,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search):focus-within > .mega-nav__trigger,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search).is-open > .mega-nav__trigger {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(28, 169, 237, 0.94), rgba(15, 131, 189, 0.96)) !important;
}

.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search):hover > .mega-nav__trigger .mega-nav__trigger-text,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search):hover > .mega-nav__trigger .mega-nav__chevron,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search):hover > .mega-nav__trigger i,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search):focus-within > .mega-nav__trigger .mega-nav__trigger-text,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search):focus-within > .mega-nav__trigger .mega-nav__chevron,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search):focus-within > .mega-nav__trigger i,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search).is-open > .mega-nav__trigger .mega-nav__trigger-text,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search).is-open > .mega-nav__trigger .mega-nav__chevron,
.mega-header .mega-nav--desktop .mega-nav__item:not(.mega-nav__item--search).is-open > .mega-nav__trigger i {
    color: #ffffff !important;
}

.mega-header .mega-nav--desktop .mega-nav__item--search > .mega-nav__trigger,
.mega-header .mega-nav--desktop .mega-nav__item--search > .mega-nav__trigger .mega-nav__trigger-text,
.mega-header .mega-nav--desktop .mega-nav__item--search > .mega-nav__trigger i {
    color: #050505 !important;
    background: transparent !important;
    display: inline-flex !important;
}

.mega-header .mega-menu-card,
.mega-header .mega-menu-card a,
.mega-header .mega-menu-card label,
.mega-header .mega-menu-card .mega-category-name,
.mega-header .mega-menu-card .mega-item-name,
.mega-header .mega-menu-card h2 {
    color: #0f172a !important;
}

.mega-header .mega-menu-card .icon-chip,
.mega-header .mega-menu-card .tab-arrow,
.mega-header .mega-menu-card .item-dot {
    color: #64748b !important;
}

.mega-header .mega-menu-card .mega-category-state > input:checked + .mega-category-tab .icon-chip,
.mega-header .mega-menu-card .mega-category-state > input:checked + .mega-category-tab .tab-arrow,
.mega-header .mega-menu-card .mega-item-card--featured .item-dot {
    color: #1298d9 !important;
}

.mega-header .mega-menu-card .icon-chip i,
.mega-header .mega-menu-card .item-dot i {
    color: #64748b !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mega-header .mega-menu-card .mega-category-state > input:checked + .mega-category-tab .icon-chip i,
.mega-header .mega-menu-card .mega-item-card--featured .item-dot i {
    color: #1298d9 !important;
}

/* Keep page content below fixed mega header. */
body.mega-menu-layout.navbar-fixed,
body.mega-menu-layout.navbar-fixed.with-topbar {
    padding-top: 136px !important;
}

body.mega-menu-layout.hide-topbar.navbar-fixed,
body.mega-menu-layout.hide-topbar.navbar-fixed.with-topbar {
    padding-top: 84px !important;
}

body.navbar-fixed.with-topbar header.mega-header,
body.navbar-fixed header.mega-header,
body.with-topbar header.mega-header,
body.hide-topbar header.mega-header,
header.mega-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
    transform: none !important;
}

body.hide-topbar header.mega-header .mega-topbar {
    display: none !important;
}

@media (max-width: 1100px) {
    body.mega-menu-layout.navbar-fixed,
    body.mega-menu-layout.navbar-fixed.with-topbar {
        padding-top: 116px !important;
    }

    body.mega-menu-layout.hide-topbar.navbar-fixed,
    body.mega-menu-layout.hide-topbar.navbar-fixed.with-topbar {
        padding-top: 64px !important;
    }
}

.mega-header + .header-search + #wrapper,
.mega-header + #wrapper {
    clear: both;
    position: relative;
    z-index: 1;
}

.main-footer .footer-block-menu__toggle {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}

.main-footer .footer-block-menu__toggle-icon {
    display: none;
}

.main-footer .footer-block-menu__link {
    color: #fff;
}

.main-footer a:focus,
.main-footer button:focus,
.main-footer [tabindex]:focus,
.post-footer a:focus,
.post-footer button:focus,
.post-footer [tabindex]:focus,
#backtoTop:focus {
    outline: none !important;
    box-shadow: none !important;
}

.main-footer a:focus-visible,
.main-footer button:focus-visible,
.main-footer [tabindex]:focus-visible,
.post-footer a:focus-visible,
.post-footer button:focus-visible,
.post-footer [tabindex]:focus-visible,
#backtoTop:focus-visible {
    outline: 2px solid rgba(28, 169, 237, 0.82);
    outline-offset: 3px;
}

.main-footer .mobile-buttons-item:focus-visible {
    border-radius: 14px;
}

.post-footer .text-wrapper a:focus-visible,
#backtoTop:focus-visible {
    border-radius: 999px;
}

.post-footer .list-inline {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.post-footer .list-inline > li {
    display: block;
    padding: 0;
}

.post-footer .text-wrapper {
    display: block;
}

.post-footer .text-wrapper a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: #f8fafc !important;
    font-size: 17px;
    line-height: 1;
    text-decoration: none !important;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.post-footer .text-wrapper a:hover,
.post-footer .text-wrapper a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
}

.post-footer .text-wrapper a img {
    width: 18px !important;
    height: 18px !important;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 34px 0;
    }

    .main-footer .footer-block-menu {
        width: 100%;
        float: none;
        margin: 0 0 10px 0 !important;
        padding: 0 12px !important;
    }

    .main-footer .footer-block-menu__panel {
        margin: 0;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
    }

    .main-footer .footer-block-menu__heading {
        padding: 0;
        border: 0;
        background: transparent !important;
    }

    .main-footer .footer-block-menu__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 48px;
        padding: 14px 16px;
        color: #fff;
        cursor: pointer;
        text-align: left;
    }

    .main-footer .footer-block-menu__title {
        display: block;
        line-height: 1.25;
    }

    .main-footer .footer-block-menu__toggle-icon {
        display: inline-block;
        flex: 0 0 auto;
        font-size: 18px;
        transition: transform 180ms ease;
    }

    .main-footer .footer-block-menu.is-open > .footer-block-menu__panel .footer-block-menu__toggle-icon {
        transform: rotate(180deg);
    }

    .main-footer .footer-block-menu:not(.is-open) > .footer-block-menu__panel > .footer-block-menu__content {
        display: none;
    }

    .main-footer .footer-block-menu__content {
        padding: 0 0 8px;
    }

    .main-footer .footer-block-menu__link-row {
        padding: 0 !important;
        line-height: normal !important;
    }

    .main-footer .footer-block-menu__link {
        display: block;
        padding: 10px 16px 10px 20px;
        color: #d4d4d4 !important;
        text-align: left;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-footer .footer-block-menu__link:hover,
    .main-footer .footer-block-menu__link:focus-visible {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.06);
    }

    .main-footer .mobile-buttons {
        margin-top: 18px;
    }

    .post-footer {
        text-align: center;
    }

    .post-footer .text-right {
        text-align: center;
    }

    .post-footer .list-inline {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 14px;
    }
}

@media (max-width: 1100px) {
    .mega-header {
        min-height: 0 !important;
    }

    .mega-mobile__bar {
        position: relative !important;
        z-index: 2001 !important;
    }
}

