@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope/Manrope-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: "Noto Sans Arabic";
    src: url("../fonts/noto-sans-arabic/NotoSansArabic-Arabic.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    --brand-red: #ed1c24;
    --brand-red-strong: #d21820;
    --text-color: #39151b;
    --page-gutter: clamp(20px, 4vw, 56px);
    font-family: "Manrope", "Noto Sans Arabic", sans-serif;
    color: var(--text-color);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 0;
    min-height: 100vh;
    margin: 0;
}

::selection {
    color: #fff;
    background: var(--brand-red);
}

a {
    color: inherit;
}

.container {
    width: min(1280px, calc(100% - var(--page-gutter) * 2));
    margin-inline: auto;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.topbar {
    position: relative;
    z-index: 20;
    color: #fff;
    background: var(--brand-red-strong);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.topbar-inner {
    display: grid;
    grid-template-areas: "rates wholesale language";
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 24px;
    min-height: 40px;
}

.topbar-wholesale {
    grid-area: wholesale;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    color: #fff;
}

.wholesale-icon {
    display: grid;
    place-items: center;
    width: 14px;
    height: 16px;
    flex-shrink: 0;
    font-size: 12px;
    animation: wholesale-signal 600ms ease-out 300ms 2;
}

.wholesale-message {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
    margin: 0;
    line-height: 1.5;
}

.wholesale-message strong {
    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
}

.wholesale-message > span {
    margin-inline-start: 9px;
    padding-inline-start: 9px;
    border-inline-start: 1px solid rgb(255 255 255 / 40%);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

@keyframes wholesale-signal {
    0%, 100% { transform: rotate(0); }
    30% { transform: rotate(-12deg); }
    65% { transform: rotate(8deg); }
}

.exchange-value {
    font-variant-numeric: tabular-nums;
}

.topbar-rates {
    grid-area: rates;
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}

.exchange-rate {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
}

.exchange-code {
    color: #fff0f0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.055em;
}

.exchange-value {
    font-size: 12px;
    font-weight: 700;
}

.exchange-currency {
    margin-inline-start: -4px;
    color: #fff0f0;
    font-size: 11px;
}

.language-switcher {
    position: relative;
    grid-area: language;
    justify-self: end;
    min-width: 108px;
    padding-inline-start: 24px;
}

.language-switcher::before {
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    background: #ef8f93;
    content: "";
    transform: translateY(-50%);
}

.language-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 7px;
    border-radius: 4px;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    transition: background-color 160ms ease;
}

.language-trigger::-webkit-details-marker {
    display: none;
}

.language-short {
    display: none;
}

.language-trigger:hover,
.language-switcher[open] .language-trigger {
    background: #b5121a;
}

.language-trigger:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.language-chevron {
    width: 12px;
    height: 12px;
    margin-inline-start: 3px;
    font-size: 10px;
    line-height: 12px;
    transition: transform 160ms ease;
}

.language-switcher[open] .language-chevron {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 184px;
    margin: 0;
    padding: 6px;
    border-radius: 12px;
    color: var(--text-color);
    background: #fff;
    box-shadow: 0 10px 32px rgb(86 18 23 / 16%);
    list-style: none;
}

.language-option {
    display: grid;
    grid-template-columns: 1fr auto 16px;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 10px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.language-option:hover,
.language-option.is-selected {
    color: #b5121a;
    background: #fff0f1;
}

.language-option:focus-visible,
.brand-link:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

.language-code {
    color: #79565a;
    font-size: 10px;
    letter-spacing: 0.04em;
}

.language-check {
    width: 16px;
    height: 16px;
    color: var(--brand-red);
    font-size: 12px;
    line-height: 16px;
}

.brand-header {
    position: relative;
    z-index: 10;
    padding-block: 21px;
    border-bottom: 1px solid #f4e9e9;
    background: #fff;
}

.brand-link {
    display: inline-flex;
    vertical-align: middle;
}

.brand-logo {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    object-position: left center;
}

/* Dil menüsü çeviriyi yönetir; Google çubuğu başlığı aşağı itmez. */
.has-automatic-translation body { top: 0 !important; }
.has-automatic-translation iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
.has-automatic-translation iframe.goog-te-banner-frame { display: none !important; }

button,
input,
summary {
    font: inherit;
}

button {
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-link {
    flex-shrink: 0;
}

.desktop-navigation,
.header-actions {
    display: flex;
    align-items: center;
}

.desktop-navigation {
    gap: 28px;
}

.nav-trigger,
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding-block: 12px;
    color: #242126;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
}

.nav-trigger::-webkit-details-marker,
.drawer-section > summary::-webkit-details-marker,
.mobile-category > summary::-webkit-details-marker {
    display: none;
}

.nav-trigger > i {
    font-size: 10px;
    transition: transform 160ms ease;
}

.nav-trigger::after {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: var(--brand-red);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.nav-trigger:hover,
.nav-link:hover,
[data-header-dropdown][open] > .nav-trigger {
    color: var(--brand-red-strong);
}

[data-header-dropdown][open] > .nav-trigger::after {
    transform: scaleX(1);
}

[data-header-dropdown][open] > .nav-trigger > i {
    transform: rotate(180deg);
}

.header-actions {
    gap: 18px;
    flex-shrink: 0;
}

.search-toggle,
.mobile-menu-toggle,
.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #35292c;
    background: transparent;
    font-size: 20px;
}

.search-toggle:hover,
.mobile-menu-toggle:hover,
.drawer-close:hover {
    color: var(--brand-red-strong);
    background: #fff0f1;
}

.dealer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 19px;
    border-radius: 9px;
    color: #fff;
    background: var(--brand-red-strong);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease;
}

.dealer-button:hover {
    background: #b5121a;
}

.dealer-button i {
    font-size: 13px;
}

.quote-entry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid #d8bfc5;
    border-radius: 9px;
    color: var(--text-color);
    background: #fff;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.quote-entry-button > i { color: var(--brand-red-strong); font-size: 15px; }
.quote-entry-button:hover, .quote-entry-button[aria-current] { border-color: var(--brand-red-strong); background: #fff0f1; }

.mobile-menu-toggle {
    display: none;
}

.corporate-menu {
    position: relative;
}

.corporate-links {
    position: absolute;
    inset-inline-start: -18px;
    top: calc(100% + 13px);
    width: 224px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 34px rgb(57 21 27 / 14%);
}

.corporate-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.corporate-links a:hover {
    color: var(--brand-red-strong);
    background: #fff0f1;
}

.mega-menu {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    width: min(1280px, calc(100% - var(--page-gutter) * 2));
    margin-inline: auto;
    overflow: hidden;
    border-top: 2px solid var(--brand-red);
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 20px 40px rgb(57 21 27 / 14%);
}

.category-rail {
    padding: 16px;
    background: #fcf8f8;
}

.category-tabs {
    display: grid;
    gap: 3px;
}

.category-tab {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 8px;
    border: 0;
    border-radius: 9px;
    color: #302a2d;
    background: transparent;
    text-align: start;
    font-size: 12px;
    font-weight: 750;
}

.category-tab img {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
}

.category-tab > i,
.subcategory-links a > i,
.mobile-subcategories a > i {
    font-size: 10px;
    transform: rotate(-90deg);
}

.category-tab:hover {
    background: #f5eeee;
}

.category-tab.is-active {
    color: #bb121b;
    background: #fce9eb;
}

.all-products-link,
.category-all-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    min-height: 44px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.all-products-link {
    margin-top: 9px;
    padding-inline: 9px;
}

.all-products-link i,
.category-all-link i {
    color: var(--brand-red-strong);
    font-size: 15px;
}

.category-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    min-height: 400px;
}

.category-panel[hidden] {
    display: none;
}

.category-content {
    display: flex;
    flex-direction: column;
    padding: 30px 32px 24px;
}

.category-content h2 {
    margin: 0 0 20px;
    color: #242126;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.subcategory-links {
    display: grid;
    grid-template-rows: repeat(5, minmax(40px, auto));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    column-gap: 24px;
}

.subcategory-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 40px;
    padding-block: 6px;
    color: #3e3439;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.subcategory-links a > i {
    color: #8b7378;
}

.subcategory-links a:hover,
.all-products-link:hover,
.category-all-link:hover {
    color: var(--brand-red-strong);
}

.category-all-link {
    margin-top: auto;
    padding-top: 16px;
    color: var(--brand-red-strong);
}

.category-visual {
    display: flex;
    align-items: center;
    padding-block: 28px;
    padding-inline: 0 28px;
}

.category-visual img {
    display: block;
    width: 100%;
    height: 340px;
    border-radius: 10px;
    object-fit: cover;
}

.header-search {
    position: absolute;
    inset-inline-end: max(var(--page-gutter), calc((100% - 1280px) / 2));
    top: calc(100% + 8px);
    display: flex;
    align-items: center;
    width: min(420px, calc(100% - var(--page-gutter) * 2));
    padding: 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 34px rgb(57 21 27 / 15%);
}

.header-search[hidden] {
    display: none;
}

.header-search input,
.drawer-search input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    color: var(--text-color);
    background: transparent;
    font-size: 13px;
}

.header-search input::placeholder,
.drawer-search input::placeholder {
    color: #7c6167;
}

.header-search button,
.drawer-search button {
    width: 44px;
    min-height: 42px;
    flex-shrink: 0;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: var(--brand-red-strong);
}

.nav-trigger:focus-visible,
.nav-link:focus-visible,
.category-tab:focus-visible,
.subcategory-links a:focus-visible,
.all-products-link:focus-visible,
.category-all-link:focus-visible,
.corporate-links a:focus-visible,
.header-actions a:focus-visible,
.header-actions button:focus-visible,
.header-search input:focus-visible,
.header-search button:focus-visible,
.mobile-drawer a:focus-visible,
.mobile-drawer button:focus-visible,
.mobile-drawer summary:focus-visible,
.mobile-drawer input:focus-visible {
    outline: 2px solid var(--brand-red-strong);
    outline-offset: 3px;
}

.mobile-drawer {
    position: fixed;
    inset-block: 0;
    inset-inline: auto 0;
    width: min(400px, 100%);
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--text-color);
    background: #fff;
}

.mobile-drawer[open] {
    display: flex;
    flex-direction: column;
}

.mobile-drawer::backdrop {
    background: rgb(31 15 19 / 40%);
}

.drawer-open {
    overflow: hidden;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid #f1e8e9;
}

.drawer-header .brand-link {
    max-width: 220px;
}

.drawer-header img {
    display: block;
    width: 100%;
    height: auto;
}

.drawer-content {
    flex: 1;
    min-height: 0;
    padding: 18px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.drawer-search {
    display: flex;
    align-items: center;
    margin-bottom: 17px;
    padding: 5px;
    border-radius: 9px;
    background: #fcf3f4;
}

.drawer-section,
.drawer-nav-link {
    border-bottom: 1px solid #f1e8e9;
}

.drawer-section > summary,
.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding-block: 14px;
    color: #302a2d;
    text-decoration: none;
    list-style: none;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
}

.drawer-section > summary > i,
.mobile-category > summary > i {
    font-size: 11px;
}

.drawer-section[open] > summary,
.mobile-category[open] > summary {
    color: var(--brand-red-strong);
}

.drawer-section[open] > summary > i,
.mobile-category[open] > summary > i {
    transform: rotate(180deg);
}

.drawer-section-links {
    display: grid;
    padding-bottom: 12px;
}

.drawer-section-links a {
    padding: 12px 10px;
    text-decoration: none;
    font-size: 13px;
}

.mobile-categories {
    padding-bottom: 10px;
}

.mobile-category > summary {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 8px;
    border-radius: 8px;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.mobile-category > summary img {
    width: 42px;
    height: 42px;
    border-radius: 7px;
    object-fit: cover;
}

.mobile-category[open] > summary {
    background: #fff0f1;
}

.mobile-subcategories {
    display: grid;
    padding: 6px 8px 8px 20px;
}

.mobile-subcategories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 9px 6px;
    color: #604b51;
    font-size: 13px;
    text-decoration: none;
}

.mobile-subcategories .mobile-category-all {
    color: var(--brand-red-strong);
    font-weight: 700;
}

.mobile-subcategories .mobile-category-all > i {
    transform: none;
}

.drawer-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #f1e8e9;
}

.drawer-footer .dealer-button,
.drawer-footer .quote-entry-button {
    width: 100%;
    padding-inline: 10px;
}

.page-preview {
    padding-block: 38px;
}

.page-breadcrumb {
    display: flex;
    gap: 10px;
    color: #79565a;
    font-size: 12px;
}

.page-breadcrumb a {
    text-decoration: none;
}

.page-preview h1 {
    margin: 20px 0 28px;
    color: #302a2d;
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -0.025em;
}

.category-destinations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 210px));
    gap: 24px;
}

.category-destinations a {
    text-decoration: none;
}

.category-destinations img {
    display: block;
    width: 100%;
    height: 210px;
    border-radius: 10px;
    object-fit: cover;
}

.category-destinations a > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-block: 14px;
    font-size: 14px;
    font-weight: 700;
}

.category-destinations i {
    color: var(--brand-red-strong);
}

.search-results {
    display: grid;
    max-width: 660px;
}

.search-results a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 16px 0;
    border-bottom: 1px solid #f1e8e9;
    font-size: 16px;
    font-weight: 650;
    text-decoration: none;
}

.search-results small {
    display: block;
    margin-top: 6px;
    color: #79565a;
    font-size: 12px;
    font-weight: 500;
}

:root[dir="rtl"] .category-tab > i,
:root[dir="rtl"] .subcategory-links a > i,
:root[dir="rtl"] .mobile-subcategories a > i {
    transform: rotate(90deg);
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .brand-logo {
        width: 240px;
    }

    .header-inner,
    .desktop-navigation {
        gap: 20px;
    }

    .nav-trigger,
    .nav-link {
        font-size: 13px;
    }

    .header-actions {
        gap: 8px;
    }

    .dealer-button {
        padding-inline: 14px;
    }

    .quote-entry-button { gap: 9px; padding-inline: 13px; }

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

    .category-panel {
        grid-template-columns: minmax(0, 1fr) 210px;
    }

    .category-content {
        padding-inline: 24px;
    }

    .subcategory-links {
        column-gap: 18px;
    }
}

@media (max-width: 1023px) {
    .desktop-navigation,
    .search-toggle,
    .header-search {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        width: 44px;
        color: var(--brand-red-strong);
        font-size: 22px;
        transition: color 160ms ease, background-color 160ms ease;
    }

    .header-inner {
        gap: 16px;
    }

    .header-inner > .brand-link {
        min-width: 0;
        flex-shrink: 1;
    }

    .header-actions {
        width: auto;
    }

    .header-actions > .dealer-button,
    .header-actions > .quote-entry-button {
        display: none;
    }

    .brand-logo {
        width: 300px;
    }
}

:root[lang="ar"] {
    font-family: "Noto Sans Arabic", "Manrope", sans-serif;
}

@media (max-width: 1023px) {
    .topbar-inner {
        grid-template-areas: "wholesale wholesale" "rates language";
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .topbar-wholesale {
        justify-self: stretch;
        justify-content: center;
        min-height: 28px;
        padding-block: 4px;
        border-bottom: 1px solid rgb(255 255 255 / 20%);
    }
}

@media (max-width: 767px) {
    .header-inner {
        gap: 12px;
    }

    .header-inner > .brand-link {
        max-width: 100%;
    }

    .brand-logo {
        width: 290px;
    }

    .topbar-inner {
        column-gap: 18px;
    }

    .topbar-rates {
        gap: 14px;
    }

    .language-switcher {
        min-width: 96px;
        padding-inline-start: 14px;
    }

}

@media (max-width: 600px) {
    .topbar-inner {
        column-gap: 12px;
    }

    .language-switcher {
        min-width: 64px;
        padding-inline-start: 8px;
    }

    .language-trigger {
        gap: 5px;
        min-height: 42px;
        padding-inline: 4px;
        font-size: 11px;
    }

    .language-name {
        display: none;
    }

    .language-short {
        display: inline;
        font-size: 10px;
        font-weight: 750;
    }

    .topbar-rates {
        gap: 12px;
    }

    .exchange-value {
        font-size: 11px;
    }

    .exchange-rate {
        gap: 5px;
    }

    .brand-header {
        padding-block: 20px;
    }

    .header-actions {
        gap: 7px;
    }

    .category-destinations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 359px) {
    :root {
        --page-gutter: 14px;
    }

    .topbar-inner {
        column-gap: 8px;
    }

    .topbar-rates {
        gap: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wholesale-icon {
        animation: none;
    }

    .language-trigger,
    .language-chevron,
    .nav-trigger::after,
    .nav-trigger > i,
    .dealer-button,
    .quote-entry-button,
    .mobile-menu-toggle {
        transition: none;
    }
}
