/* ==========================================================================
   Buxton Parts - Web vitrini temel stilleri
   Saf CSS: degiskenler, Grid ve Flexbox. Harici kutuphane kullanilmaz.
   ========================================================================== */

:root {
    /* Antrasit / gri skala */
    --c-ink-950: #111417;
    --c-ink-900: #16191c;
    --c-ink-800: #1e2226;
    --c-ink-700: #2a2f34;
    --c-ink-600: #3a4046;
    --c-ink-500: #5c646c;
    --c-ink-400: #868e96;
    --c-ink-300: #b9c0c6;
    --c-ink-200: #dde1e5;
    --c-ink-100: #eef0f2;
    --c-ink-50: #f6f7f8;
    --c-white: #ffffff;

    /* Muhendislik yesili (logo ile uyumlu, daha olgun ton) */
    --c-accent: #7ab317;
    --c-accent-strong: #67990f;
    --c-accent-ink: #4c730a;
    --c-accent-soft: rgba(122, 179, 23, 0.12);

    --c-danger: #c0392b;

    --font-sans: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
    --font-head: "Bahnschrift", "DIN Alternate", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;

    --container: 1320px;
    --gutter: clamp(16px, 3vw, 32px);
    --radius: 2px;
    --header-h: 76px;

    --shadow-1: 0 1px 2px rgba(17, 20, 23, 0.06), 0 2px 8px rgba(17, 20, 23, 0.06);
    --shadow-2: 0 12px 32px rgba(17, 20, 23, 0.16);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Temel
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--c-ink-800);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
    margin: 0;
}

ul, ol {
    list-style: none;
    padding: 0;
}

address {
    font-style: normal;
}

:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Guvenlik kodu (tum formlarda ortak) */
.captcha {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha__image {
    width: 132px;
    height: 46px;
    border: 1px solid var(--c-ink-300);
    background: var(--c-ink-200);
}

.captcha .icon-btn {
    width: 46px;
    height: 46px;
}

.captcha__input {
    flex: 1;
    max-width: 180px;
    font-family: var(--font-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@media (max-width: 560px) {
    .captcha {
        flex-wrap: wrap;
    }

    .captcha__input {
        max-width: none;
    }
}

/* Bot tuzagi (honeypot): kullaniciya ve ekran okuyuculara gorunmez, botlar doldurur. */
.hp-field {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--c-accent);
    color: var(--c-ink-950);
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Butonlar ve ortak bilesenler
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn--sm {
    min-height: 38px;
    padding: 0 16px;
    font-size: 12px;
}

.btn--block {
    width: 100%;
}

.btn--accent {
    background: var(--c-accent);
    color: var(--c-ink-950);
}

.btn--accent:hover {
    background: var(--c-accent-strong);
}

.btn--dark {
    background: var(--c-ink-800);
    color: var(--c-white);
}

.btn--dark:hover {
    background: var(--c-ink-950);
}

.btn--outline-light {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--c-white);
}

.btn--outline-light:hover {
    border-color: var(--c-white);
    background: rgba(255, 255, 255, 0.06);
}

.btn--ghost {
    border-color: var(--c-ink-200);
    color: var(--c-ink-700);
}

.btn--ghost:hover {
    border-color: var(--c-ink-500);
}

.btn .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    color: var(--c-ink-800);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.icon-btn:hover {
    background: var(--c-ink-100);
}

.icon-btn .icon {
    width: 20px;
    height: 20px;
}

.icon-btn--square {
    border: 1px solid var(--c-ink-200);
    background: var(--c-white);
}

.icon-btn--square:hover {
    border-color: var(--c-ink-800);
    background: var(--c-ink-800);
    color: var(--c-white);
}

.icon-btn--square:disabled {
    opacity: 0.4;
    pointer-events: none;
}

.icon-btn--ghost {
    color: var(--c-ink-300);
}

.icon-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--c-white);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink-800);
    white-space: nowrap;
}

.link-arrow .icon {
    width: 16px;
    height: 16px;
    color: var(--c-accent-ink);
    transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
    transform: translateX(4px);
}

.input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--c-ink-600);
    border-radius: var(--radius);
    background: var(--c-ink-900);
    color: var(--c-white);
}

.input::placeholder {
    color: var(--c-ink-400);
}

.input:focus {
    outline: none;
    border-color: var(--c-accent);
}

.input.is-invalid {
    border-color: var(--c-danger);
}

.tag {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--c-ink-200);
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.tag:hover {
    border-color: var(--c-accent);
    color: var(--c-white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-accent-ink);
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: currentColor;
}

.eyebrow--light {
    color: var(--c-accent);
}

/* Form alanlari (teklif ve iletisim formlari) */

.field {
    display: grid;
    align-content: start;
    gap: 6px;
}

.field--full {
    grid-column: 1 / -1;
}

.field__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-ink-700);
}

.field__label span {
    color: var(--c-danger);
}

.field__input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--c-ink-300);
    border-radius: var(--radius);
    background: var(--c-white);
    color: var(--c-ink-900);
}

.field__textarea {
    min-height: 110px;
    padding-block: 12px;
    font: inherit;
    resize: vertical;
}

.field__input:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-soft);
}

.field__input.is-invalid {
    border-color: var(--c-danger);
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--c-ink-600);
}

.check.is-invalid {
    color: var(--c-danger);
}

.check input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--c-accent-strong);
}

.check a {
    color: var(--c-ink-900);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.field__select {
    appearance: none;
    padding-right: 40px;
    background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235c646c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}

.form-status {
    font-size: 14px;
}

.form-status.is-success {
    font-weight: 600;
    color: var(--c-accent-ink);
}

.form-status.is-error {
    color: var(--c-danger);
}

/* Adet secici, teknik resim yukleme ve teklif formu (urun detay, sepet) */

.stepper {
    display: flex;
    border: 1px solid var(--c-ink-300);
    background: var(--c-white);
}

.stepper__btn {
    display: grid;
    place-items: center;
    width: 42px;
    color: var(--c-ink-700);
}

.stepper__btn:hover {
    background: var(--c-ink-100);
}

.stepper__btn .icon {
    width: 16px;
    height: 16px;
}

.stepper__input {
    width: 64px;
    border: 0;
    border-inline: 1px solid var(--c-ink-200);
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper__input:focus {
    outline: 2px solid var(--c-accent);
    outline-offset: -2px;
}

.quote-form {
    display: grid;
    gap: 20px;
    max-width: 900px;
}

.quote-form__product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--c-ink-200);
    background: var(--c-ink-50);
}

.quote-form__product img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: var(--c-white);
}

.quote-form__product-code {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--c-accent-ink);
}

.quote-form__product-name {
    font-weight: 600;
    color: var(--c-ink-900);
}

.quote-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.dropzone {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 8px 14px;
    border: 1px dashed var(--c-ink-400);
    background: var(--c-ink-50);
    font-size: 13px;
    color: var(--c-ink-600);
    cursor: pointer;
    transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.dropzone:hover,
.dropzone.is-over,
.dropzone:focus-within {
    border-color: var(--c-accent);
    background: var(--c-accent-soft);
}

.dropzone .icon {
    color: var(--c-accent-ink);
}

.dropzone.has-file {
    border-style: solid;
    font-weight: 600;
    color: var(--c-ink-900);
}

.quote-form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

.quote-form__status {
    font-size: 14px;
}

.quote-form__status.is-success {
    font-weight: 600;
    color: var(--c-accent-ink);
}

.quote-form__status.is-error {
    color: var(--c-danger);
}

@media (max-width: 560px) {
    .quote-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .quote-form__foot .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Header: ust bant
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar {
    background: var(--c-ink-950);
    color: var(--c-ink-300);
    font-size: 13px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 44px;
}

.topbar__tagline {
    letter-spacing: 0.02em;
}

.topbar__sep {
    margin-inline: 6px;
    color: var(--c-ink-600);
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-ink-200);
    white-space: nowrap;
    transition: color 0.2s var(--ease);
}

.topbar__link .icon {
    width: 16px;
    height: 16px;
    color: var(--c-accent);
}

.topbar__link:hover {
    color: var(--c-white);
}

.lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 22px;
    border-left: 1px solid var(--c-ink-700);
}

.lang__icon {
    width: 16px;
    height: 16px;
    color: var(--c-ink-400);
}

.lang__list {
    display: flex;
}

.lang__item {
    display: block;
    padding: 4px 7px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--c-ink-400);
    transition: color 0.2s var(--ease);
}

.lang__item:hover {
    color: var(--c-white);
}

.lang__item.is-active {
    color: var(--c-white);
    box-shadow: inset 0 -2px 0 var(--c-accent);
}

/* --------------------------------------------------------------------------
   Header: ana menu
   -------------------------------------------------------------------------- */

.masthead {
    position: relative;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-ink-200);
    transition: box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled .masthead {
    box-shadow: var(--shadow-1);
}

.masthead__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: var(--header-h);
}

.brand img {
    width: 190px;
}

.nav {
    flex: 1;
    align-self: stretch;
    display: flex;
}

.nav__head,
.nav__foot {
    display: none;
}

.nav__list {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.nav__item {
    display: flex;
}

.nav__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink-800);
    transition: color 0.2s var(--ease);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 3px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-current::after,
.nav__toggle[aria-expanded="true"]::after {
    transform: scaleX(1);
}

.nav__caret {
    width: 14px;
    height: 14px;
    transition: transform 0.2s var(--ease);
}

.nav__toggle[aria-expanded="true"] .nav__caret {
    transform: rotate(180deg);
}

.nav__item--drop {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px 0;
    background: var(--c-white);
    border: 1px solid var(--c-ink-200);
    border-top: 3px solid var(--c-accent);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--c-ink-700);
}

.dropdown a:hover {
    background: var(--c-ink-50);
    color: var(--c-ink-950);
}

.nav__item.is-open > .dropdown,
.nav__item.is-open > .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.masthead__tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.masthead__burger {
    display: none;
}

.cart-link {
    position: relative;
}

.cart-link__count {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--c-accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: var(--c-ink-950);
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 75;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100vw - 32px);
    padding: 14px 18px;
    background: var(--c-ink-900);
    border-left: 4px solid var(--c-accent);
    box-shadow: var(--shadow-2);
    color: var(--c-ink-200);
    animation: slide-up 0.25s var(--ease);
}

.toast .icon {
    color: var(--c-accent);
}

.toast__text {
    font-size: 14px;
}

.toast__link {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-white);
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 560px) {
    .toast {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }
}

/* Mega menu */

.mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    border-top: 1px solid var(--c-ink-200);
    box-shadow: 0 24px 40px rgba(17, 20, 23, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.mega__inner {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 32px;
    padding-block: 28px;
}

.mega__aside {
    position: relative;
    min-height: 460px;
}

.mega__eyebrow {
    margin-bottom: 12px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-ink-400);
}

.mega__list {
    width: 310px;
    max-height: 460px;
    overflow-y: auto;
    border-right: 1px solid var(--c-ink-200);
    scrollbar-width: thin;
}

.mega__tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 9px 16px 9px 12px;
    border-left: 3px solid transparent;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: left;
    color: var(--c-ink-700);
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.mega__tab .icon {
    width: 14px;
    height: 14px;
    color: var(--c-ink-300);
}

.mega__item.is-active > .mega__tab {
    border-left-color: var(--c-accent);
    background: var(--c-ink-50);
    color: var(--c-ink-950);
}

.mega__item.is-active > .mega__tab .icon {
    color: var(--c-accent-ink);
}

.mega__panel {
    position: absolute;
    top: 28px;
    left: 342px;
    right: 0;
    bottom: 0;
    display: none;
}

.mega__item.is-active > .mega__panel {
    display: flex;
    flex-direction: column;
}

.mega__panel-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--c-ink-200);
}

.mega__thumb {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    background: var(--c-ink-50);
    border: 1px solid var(--c-ink-200);
    color: var(--c-ink-500);
}

.mega__thumb img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.mega__thumb .icon {
    width: 32px;
    height: 32px;
}

.mega__panel-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--c-ink-950);
}

.mega__panel-meta {
    font-size: 13px;
    color: var(--c-ink-500);
}

.mega__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 2px 24px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
}

.mega__links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--c-ink-200);
    font-size: 14px;
    color: var(--c-ink-700);
    transition: color 0.15s var(--ease), padding 0.15s var(--ease);
}

.mega__links a::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--c-ink-300);
    transition: background-color 0.15s var(--ease);
}

.mega__links a:hover {
    padding-left: 4px;
    color: var(--c-ink-950);
}

.mega__links a:hover::before {
    background: var(--c-accent);
}

/* Gorseli olan alt kategoride nokta yerine kucuk gorsel */
.mega__links a.has-thumb::before {
    display: none;
}

.mega__links a.has-thumb img {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mega__empty {
    max-width: 440px;
    font-size: 14px;
    color: var(--c-ink-500);
}

.mega__promo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: start;
    padding: 24px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 16px 16px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 16px 16px,
        var(--c-ink-800);
    color: var(--c-ink-300);
}

.mega__promo .mega__eyebrow {
    margin: 0;
    color: var(--c-accent);
}

.mega__promo-title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--c-white);
}

.mega__promo-text {
    font-size: 14px;
    margin-bottom: 8px;
}

.mega__promo .btn {
    align-self: flex-start;
}

.mega__promo-link {
    font-size: 13px;
    color: var(--c-ink-300);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mega__promo-link:hover {
    color: var(--c-white);
}

.dropdown a.dropdown__highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding-block: 12px;
    border-top: 1px solid var(--c-ink-200);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--c-ink-950);
}

.dropdown__highlight .icon {
    width: 18px;
    height: 18px;
    color: var(--c-accent-ink);
}

/* Mobil menu altindaki katalog blogu */
.nav-catalog {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--c-ink-800);
    border-left: 4px solid var(--c-accent);
    text-align: left;
    color: var(--c-white);
}

.nav-catalog > .icon {
    width: 26px;
    height: 26px;
    color: var(--c-accent);
}

.nav-catalog__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-ink-400);
}

.nav-catalog__title {
    display: block;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.nav-catalog__arrow {
    width: 18px;
    height: 18px;
    color: var(--c-ink-300);
}

/* Header arama */

.header-search {
    padding: 18px 0;
    background: var(--c-ink-50);
    border-top: 1px solid var(--c-ink-200);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(17, 20, 23, 0.55);
}

/* --------------------------------------------------------------------------
   Parca arama kutusu
   -------------------------------------------------------------------------- */

.part-search {
    position: relative;
}

.part-search__field {
    display: flex;
    align-items: stretch;
    background: var(--c-white);
    border: 1px solid var(--c-ink-300);
    border-radius: var(--radius);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.part-search__field:focus-within {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-soft);
}

.part-search__icon {
    align-self: center;
    margin-left: 16px;
    color: var(--c-ink-400);
}

.part-search__input {
    flex: 1;
    min-width: 0;
    min-height: 56px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    font-size: 16px;
    color: var(--c-ink-900);
}

.part-search__input:focus {
    outline: none;
}

.part-search__input::placeholder {
    color: var(--c-ink-400);
}

.part-search__input::-webkit-search-cancel-button {
    display: none;
}

.part-search__submit {
    min-height: auto;
    margin: 5px;
    padding-inline: 28px;
}

.part-search__results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 380px;
    overflow-y: auto;
    background: var(--c-white);
    border: 1px solid var(--c-ink-200);
    box-shadow: var(--shadow-2);
}

.part-search__option a {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--c-ink-100);
    color: var(--c-ink-800);
}

.part-search__option.is-active a,
.part-search__option a:hover {
    background: var(--c-ink-50);
}

.part-search__option img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: var(--c-ink-50);
}

.part-search__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.part-search__cat {
    font-size: 12px;
    color: var(--c-ink-500);
}

.part-search__code {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--c-accent-ink);
}

.part-search__empty {
    padding: 16px;
    font-size: 14px;
    color: var(--c-ink-500);
}

.part-search__all a {
    display: block;
    padding: 12px 14px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink-800);
    background: var(--c-ink-50);
}

mark {
    background: var(--c-accent-soft);
    color: inherit;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(180deg, var(--c-ink-800) 0%, var(--c-ink-900) 100%);
    color: var(--c-ink-200);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 46%;
    height: 100%;
    background: linear-gradient(180deg, var(--c-ink-700), var(--c-ink-800));
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    padding-block: clamp(48px, 7vw, 96px);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 8px 14px;
    border: 1px solid rgba(122, 179, 23, 0.45);
    background: rgba(122, 179, 23, 0.08);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--c-white);
}

.hero__badge .icon {
    width: 14px;
    height: 14px;
    color: var(--c-accent);
    transition: transform 0.2s var(--ease);
}

.hero__badge:hover {
    border-color: var(--c-accent);
}

.hero__badge:hover .icon {
    transform: translateX(3px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--c-accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero__title {
    font-family: var(--font-head);
    font-size: clamp(32px, 4.6vw, 58px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--c-white);
}

.hero__title-accent {
    display: block;
    color: var(--c-accent);
}

.hero__lead {
    max-width: 560px;
    margin-top: 20px;
    font-size: 17px;
    color: var(--c-ink-300);
}

.hero__search {
    max-width: 620px;
    margin-top: 32px;
}

.hero__search .part-search__field {
    border-color: transparent;
}

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.hero__tags-label {
    margin-right: 4px;
    font-size: 13px;
    color: var(--c-ink-400);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero__visual {
    position: relative;
}

.hero__frame {
    position: relative;
    padding: 24px;
}

.hero__frame::before,
.hero__frame::after {
    content: "";
    position: absolute;
    width: 36px;
    height: 36px;
    border: 2px solid var(--c-accent);
}

.hero__frame::before {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
}

.hero__frame::after {
    right: 0;
    bottom: 0;
    border-left: 0;
    border-top: 0;
}

.hero__frame img {
    width: 100%;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.hero__callout {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--c-ink-950);
    border: 1px solid var(--c-ink-600);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink-200);
}

.hero__callout::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--c-accent);
}

.hero__callout--a {
    top: 14%;
    right: 2%;
}

.hero__callout--b {
    bottom: 14%;
    left: 0;
}

.hero__spec {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--c-ink-600);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--c-ink-300);
}

.hero__spec b {
    margin-right: 6px;
    color: var(--c-accent);
    font-weight: 700;
}

.hero__oem {
    position: relative;
    border-top: 1px solid var(--c-ink-700);
    background: rgba(17, 20, 23, 0.6);
}

.hero__oem-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 64px;
}

.hero__oem-label {
    flex-shrink: 0;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-accent);
}

.hero__oem-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 28px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--c-ink-400);
}

/* --------------------------------------------------------------------------
   Bolumler
   -------------------------------------------------------------------------- */

.section {
    padding-block: clamp(56px, 7vw, 96px);
}

.section--light {
    background: var(--c-ink-50);
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.section__title {
    font-family: var(--font-head);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--c-ink-950);
}

/* Slider */

.slider__controls {
    display: flex;
    gap: 8px;
}

.slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.slider__track::-webkit-scrollbar {
    display: none;
}

.slider__slide {
    scroll-snap-align: start;
    display: flex;
}

.slider__progress {
    height: 3px;
    margin-top: 28px;
    background: var(--c-ink-200);
}

.slider__progress span {
    display: block;
    height: 100%;
    width: 25%;
    background: var(--c-ink-800);
    transition: transform 0.25s var(--ease), width 0.25s var(--ease);
}

/* Urun karti */

.product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--c-white);
    border: 1px solid var(--c-ink-200);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.product-card:hover {
    border-color: var(--c-ink-400);
    box-shadow: var(--shadow-1);
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-ink-100);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s var(--ease);
}

.product-card:hover .product-card__media img {
    transform: scale(1.04);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 8px;
    background: var(--c-ink-800);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--c-white);
}

.product-card__body {
    flex: 1;
    padding: 18px 18px 8px;
}

.product-card__code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 4px 8px;
    background: var(--c-accent-soft);
    border-left: 3px solid var(--c-accent);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--c-ink-950);
}

.product-card__code span {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--c-accent-ink);
}

.product-card__name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--c-ink-900);
}

.product-card__name a:hover {
    color: var(--c-accent-ink);
}

.product-card__cat {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--c-ink-500);
}

.product-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--c-ink-100);
}

.product-card__add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid var(--c-ink-200);
    font-size: 12px;
    font-weight: 700;
    color: var(--c-ink-700);
    transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.product-card__add .icon {
    width: 16px;
    height: 16px;
    color: var(--c-accent-ink);
}

.product-card__add:hover {
    border-color: var(--c-accent);
    background: var(--c-accent);
    color: var(--c-ink-950);
}

.product-card__add:hover .icon {
    color: var(--c-ink-950);
}

/* Urun karti izgarasi (listeleme, sepet onerileri) */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.product-grid > li {
    display: flex;
}

/* Urun gruplari */

.group-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--c-ink-200);
    border-left: 1px solid var(--c-ink-200);
}

.group-grid > li {
    display: flex;
}

.group-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 210px;
    padding: 20px 18px 18px;
    border-right: 1px solid var(--c-ink-200);
    border-bottom: 1px solid var(--c-ink-200);
    background: var(--c-white);
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.group-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.group-card:hover {
    background: var(--c-ink-800);
    color: var(--c-white);
}

.group-card:hover::after {
    transform: scaleX(1);
}

.group-card__index {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--c-ink-400);
}

.group-card__media {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 14px 0 16px;
    color: var(--c-ink-500);
}

.group-card__media img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform 0.25s var(--ease);
}

.group-card__media .icon {
    width: 52px;
    height: 52px;
}

.group-card:hover .group-card__media img {
    transform: scale(1.06);
}

.group-card:hover .group-card__media {
    color: var(--c-accent);
}

.group-card__name {
    flex: 1;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.03em;
    color: var(--c-ink-900);
    transition: color 0.25s var(--ease);
}

.group-card:hover .group-card__name {
    color: var(--c-white);
}

.group-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--c-ink-500);
    transition: color 0.25s var(--ease);
}

.group-card__meta .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.group-card:hover .group-card__meta {
    color: var(--c-ink-300);
}

.group-card:hover .group-card__meta .icon {
    color: var(--c-accent);
    transform: translateX(4px);
}

/* Kurumsal ve sayaclar */

.about__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
}

.about__text {
    max-width: 580px;
    margin-top: 18px;
    font-size: 17px;
    color: var(--c-ink-600);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 36px 0;
    border-top: 1px solid var(--c-ink-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px 0 0;
}

.stat + .stat {
    padding-left: 16px;
    border-left: 1px solid var(--c-ink-200);
}

.stat__value {
    order: -1;
    font-family: var(--font-head);
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 700;
    line-height: 1;
    color: var(--c-ink-950);
    font-variant-numeric: tabular-nums;
}

.stat__suffix {
    color: var(--c-accent-strong);
}

.stat__label {
    font-size: 13px;
    color: var(--c-ink-500);
}

.about__drawing {
    padding: 20px;
    background: var(--c-white);
    border: 1px solid var(--c-ink-200);
}

.about__drawing svg {
    width: 100%;
    height: auto;
}

.about__drawing figcaption {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--c-ink-100);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--c-ink-500);
}

.d-grid {
    stroke: var(--c-ink-100);
    stroke-width: 1;
}

.d-center path {
    fill: none;
    stroke: var(--c-ink-400);
    stroke-width: 1;
    stroke-dasharray: 14 4 3 4;
}

.d-part > * {
    fill: none;
    stroke: var(--c-ink-800);
    stroke-width: 2;
    stroke-linejoin: round;
}

.d-part .d-thin {
    stroke-width: 1;
    stroke: var(--c-ink-400);
}

.d-dim path {
    fill: none;
    stroke: var(--c-accent-strong);
    stroke-width: 1.2;
}

.d-dim .d-thin {
    stroke: var(--c-ink-400);
    stroke-width: 1;
}

.d-arrow {
    fill: var(--c-accent-strong);
}

.d-dim text,
.d-block text {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    fill: var(--c-ink-800);
}

.d-block rect,
.d-block path {
    fill: var(--c-white);
    stroke: var(--c-ink-800);
    stroke-width: 1.2;
}

.d-block text {
    font-size: 11px;
}

/* Ozel imalat CTA */

.cta {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 32px 32px,
        var(--c-ink-900);
    color: var(--c-ink-300);
    border-top: 4px solid var(--c-accent);
}

.cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
    padding-block: clamp(56px, 7vw, 88px);
}

.cta__title {
    font-family: var(--font-head);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--c-white);
}

.cta__text {
    max-width: 520px;
    margin-top: 16px;
    font-size: 16px;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cta__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--c-ink-700);
    border: 1px solid var(--c-ink-700);
    counter-reset: step;
}

.cta__step {
    position: relative;
    padding: 24px;
    background: var(--c-ink-900);
    transition: background-color 0.2s var(--ease);
}

.cta__step:hover {
    background: var(--c-ink-800);
}

.cta__step .icon {
    width: 32px;
    height: 32px;
    color: var(--c-accent);
}

.cta__step-no {
    position: absolute;
    top: 20px;
    right: 22px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--c-ink-500);
}

.cta__step-title {
    margin-top: 16px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--c-white);
}

.cta__step-text {
    margin-top: 6px;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--c-ink-950);
    color: var(--c-ink-400);
    font-size: 14px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.3fr;
    gap: 48px;
    padding-block: 64px 48px;
}

.footer__logo img {
    width: 190px;
}

.footer__about {
    margin: 20px 0 24px;
    max-width: 360px;
}

.footer__contact {
    display: grid;
    gap: 12px;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--c-ink-300);
}

.footer__contact .icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--c-accent);
}

.footer__contact a:hover {
    color: var(--c-white);
}

.footer__title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-ink-700);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-white);
}

.footer__links {
    display: grid;
    gap: 10px;
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s var(--ease);
}

.footer__links a::before {
    content: "";
    width: 8px;
    height: 1px;
    background: var(--c-ink-600);
    transition: width 0.2s var(--ease), background-color 0.2s var(--ease);
}

.footer__links a:hover {
    color: var(--c-white);
}

.footer__links a:hover::before {
    width: 14px;
    background: var(--c-accent);
}

.footer__note {
    margin-bottom: 16px;
}

.newsletter {
    display: grid;
    gap: 10px;
}

.newsletter__captcha {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 8px;
}

.newsletter__code {
    width: 132px;
    height: 46px;
    border-radius: var(--radius);
    background: var(--c-ink-200);
}

.newsletter__code-input {
    font-family: var(--font-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.newsletter__status {
    min-height: 20px;
    font-size: 13px;
}

.newsletter__status.is-success {
    color: var(--c-accent);
}

.newsletter__status.is-error {
    color: #e5786d;
}

.newsletter__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--c-ink-400);
}

.newsletter__consent input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: var(--c-accent);
}

.newsletter__consent a {
    color: var(--c-ink-200);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.newsletter__consent a:hover {
    color: var(--c-white);
}

.newsletter__consent.is-invalid {
    color: #e5786d;
}

/* Yasal metin baglantilari */
.footer__legal-row {
    padding-block: 16px;
    border-top: 1px solid var(--c-ink-800);
}

.footer__bar {
    border-top: 1px solid var(--c-ink-800);
    background: #0c0e10;
    font-size: 13px;
}

/* Gelistirici imzasi */
.footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--c-ink-400);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.footer__credit-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-ink-400);
    transition: color 0.2s var(--ease);
}

.footer__credit-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.footer__credit-logo img {
    height: 25px;
    width: auto;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer__credit:hover .footer__credit-text {
    color: var(--c-ink-200);
}

.footer__credit:hover .footer__credit-logo img {
    opacity: 1;
    transform: translateY(-1px);
}

.footer__bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    min-height: 64px;
    padding-block: 16px;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
}

.footer__legal li:first-child a {
    font-weight: 700;
    color: var(--c-ink-200);
}

.footer__legal a,
.footer__legal-btn {
    color: var(--c-ink-400);
    font-size: 13px;
    transition: color 0.2s var(--ease);
}

.footer__legal a:hover,
.footer__legal-btn:hover {
    color: var(--c-white);
}

/* --------------------------------------------------------------------------
   Cerez banner ve modal
   -------------------------------------------------------------------------- */

.cookie {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 70;
    width: min(440px, calc(100vw - 32px));
    padding: 22px;
    background: var(--c-ink-900);
    border: 1px solid var(--c-ink-700);
    border-top: 3px solid var(--c-accent);
    box-shadow: var(--shadow-2);
    color: var(--c-ink-300);
    animation: slide-up 0.35s var(--ease);
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.cookie__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cookie__head .icon {
    width: 22px;
    height: 22px;
    color: var(--c-accent);
}

.cookie__title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-white);
}

.cookie__text {
    font-size: 14px;
}

.cookie__text a {
    color: var(--c-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cookie__actions .btn {
    flex: 1;
}

.cookie__actions [data-cookie-accept] {
    flex-basis: 100%;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 16px;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 20, 23, 0.65);
}

.modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(620px, 100%);
    max-height: calc(100vh - 32px);
    background: var(--c-white);
    border-top: 4px solid var(--c-accent);
    box-shadow: var(--shadow-2);
    animation: slide-up 0.25s var(--ease);
}

.modal__dialog:focus {
    outline: none;
}

.modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--c-ink-200);
}

.modal__title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink-950);
}

.modal__body {
    padding: 20px 24px;
    overflow-y: auto;
}

.modal__lead {
    font-size: 14px;
    color: var(--c-ink-600);
}

.modal__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--c-ink-200);
    background: var(--c-ink-50);
}

.consent-list {
    margin-top: 16px;
    border-top: 1px solid var(--c-ink-200);
}

.consent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--c-ink-200);
}

.consent-item__title {
    font-weight: 700;
    color: var(--c-ink-900);
}

.consent-item__text {
    margin-top: 2px;
    font-size: 13px;
    color: var(--c-ink-500);
}

.switch {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: inherit;
}

.switch__track {
    display: block;
    width: 46px;
    height: 24px;
    background: var(--c-ink-300);
    transition: background-color 0.2s var(--ease);
}

.switch__track::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    margin: 3px;
    background: var(--c-white);
    transition: transform 0.2s var(--ease);
}

.switch input:checked + .switch__track {
    background: var(--c-accent);
}

.switch input:checked + .switch__track::after {
    transform: translateX(22px);
}

.switch input:disabled + .switch__track {
    opacity: 0.6;
}

.switch input:focus-visible + .switch__track {
    outline: 2px solid var(--c-accent);
    outline-offset: 2px;
}

/* Kenar cubugu yardim kutusu (urun detay, haber detay) */

.side-help {
    display: grid;
    gap: 10px;
    padding: 20px;
    background: var(--c-ink-800);
    color: var(--c-ink-300);
}

.side-help__title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-white);
}

.side-help__text {
    margin-bottom: 6px;
    font-size: 14px;
}

/* Kenar cubugu: son gezilen urunler (urun detay, urun listesi) */

.recent {
    border: 1px solid var(--c-ink-200);
    background: var(--c-white);
}

.recent__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--c-ink-200);
}

.recent__title {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-ink-950);
}

.recent__clear {
    font-size: 12px;
    color: var(--c-ink-500);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.recent__clear:hover {
    color: var(--c-ink-950);
}

.recent__list {
    display: grid;
}

.recent__list li + li {
    border-top: 1px solid var(--c-ink-100);
}

.recent__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    transition: background-color 0.15s var(--ease);
}

.recent__item:hover {
    background: var(--c-ink-50);
}

.recent__item.is-current {
    box-shadow: inset 3px 0 0 var(--c-accent);
    background: var(--c-ink-50);
}

.recent__now {
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: var(--radius);
    background: var(--c-accent-soft);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-accent-ink);
}

.recent__item img {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border: 1px solid var(--c-ink-100);
    background: var(--c-white);
    object-fit: contain;
}

.recent__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.recent__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--c-ink-900);
}

.recent__code {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--c-ink-500);
}

/* --------------------------------------------------------------------------
   Gorsel buyutme penceresi
   -------------------------------------------------------------------------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 85;
    display: grid;
    place-items: center;
    padding: 56px 16px 16px;
    background: rgba(17, 20, 23, 0.92);
}

.lightbox__image {
    max-width: min(900px, 100%);
    max-height: calc(100vh - 80px);
    background: var(--c-white);
}

.lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--c-white);
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .group-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .slider__track {
        grid-auto-columns: calc((100% - 2 * 20px) / 3);
    }

    .mega__inner {
        grid-template-columns: 1fr;
    }

    .mega__promo {
        display: none;
    }

    .topbar__tagline {
        display: none;
    }

    .topbar__inner {
        justify-content: flex-end;
    }
}

@media (max-width: 1024px) {
    :root {
        --header-h: 66px;
    }

    .masthead__burger {
        display: inline-grid;
    }

    .masthead__quote {
        display: none;
    }

    .brand img {
        width: 160px;
    }

    /* Mobil cekmece menu */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        width: min(400px, 88vw);
        flex-direction: column;
        background: var(--c-white);
        box-shadow: var(--shadow-2);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s var(--ease), visibility 0.3s;
        overflow-y: auto;
    }

    .nav.is-open {
        transform: none;
        visibility: visible;
    }

    .nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px 12px 20px;
        border-bottom: 1px solid var(--c-ink-200);
    }

    .nav__title {
        font-family: var(--font-head);
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
    }

    .nav__item {
        flex-direction: column;
        border-bottom: 1px solid var(--c-ink-100);
    }

    .nav__link {
        justify-content: space-between;
        width: 100%;
        min-height: 54px;
        padding: 0 20px;
    }

    .nav__link::after {
        display: none;
    }

    .nav__link.is-current {
        color: var(--c-accent-ink);
    }

    .nav__item--drop {
        position: static;
    }

    .dropdown,
    .mega {
        position: static;
        display: none;
        min-width: 0;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        background: var(--c-ink-50);
    }

    .nav__item.is-open > .dropdown,
    .nav__item.is-open > .mega {
        display: block;
    }

    .dropdown a {
        padding-left: 32px;
    }

    .mega__inner {
        padding: 0;
    }

    .mega__aside {
        min-height: 0;
    }

    .mega__eyebrow {
        display: none;
    }

    .mega__list {
        width: auto;
        max-height: none;
        border-right: 0;
    }

    .mega__tab {
        padding: 12px 20px 12px 29px;
    }

    .mega__item.is-active > .mega__tab .icon {
        transform: rotate(90deg);
    }

    .mega__panel {
        position: static;
        padding: 4px 20px 16px 32px;
        background: var(--c-white);
    }

    .mega__panel-head {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .mega__thumb,
    .mega__panel-head > div:nth-child(2) {
        display: none;
    }

    .mega__panel-head .link-arrow {
        padding: 10px 0;
    }

    .mega__item.is-active > .mega__panel {
        display: block;
    }

    .mega__links {
        grid-template-columns: 1fr;
        overflow: visible;
        padding-right: 0;
    }

    .nav__foot {
        display: grid;
        gap: 14px;
        margin-top: auto;
        padding: 20px;
        border-top: 1px solid var(--c-ink-200);
        text-align: center;
    }

    .nav__foot-link {
        font-weight: 600;
    }

    .hero::before {
        display: none;
    }

    .hero__inner,
    .about__inner,
    .cta__inner {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        max-width: 620px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 768px) {
    .topbar__link--wa span,
    .topbar__b2b span {
        display: none;
    }

    .topbar__actions {
        gap: 14px;
        width: 100%;
        justify-content: space-between;
    }

    .lang {
        padding-left: 0;
        border-left: 0;
    }

    .group-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .slider__track {
        grid-auto-columns: calc((100% - 16px) / 2);
        gap: 16px;
    }

    .hero__oem-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-block: 18px;
    }

    .section__head {
        flex-wrap: wrap;
        align-items: flex-end;
    }
}

@media (max-width: 560px) {
    .topbar__actions {
        gap: 8px;
    }

    .topbar__link:first-child span {
        font-size: 12px;
    }

    .lang__icon {
        display: none;
    }

    .lang__item {
        padding-inline: 5px;
    }

    .topbar__b2b {
        padding-inline: 12px;
    }

    .part-search__input {
        min-height: 50px;
        font-size: 15px;
    }

    .part-search__submit {
        padding-inline: 18px;
    }

    .part-search__icon {
        display: none;
    }

    .hero__callout {
        display: none;
    }

    .hero__actions .btn,
    .cta__actions .btn {
        flex: 1 1 100%;
    }

    .group-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .group-card {
        min-height: 180px;
        padding: 16px 14px;
    }

    .slider__track {
        grid-auto-columns: 82%;
    }

    .cta__steps {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .stat {
        padding-right: 8px;
    }

    .stat + .stat {
        padding-left: 12px;
    }

    .stat:nth-child(3) {
        padding-left: 0;
    }

    .cookie {
        left: 16px;
        bottom: 16px;
    }

    .modal__foot .btn {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
