/* ============================================================
   Arama Sliderı (home.hero_search) — Hankook tarzı hero + arama
   Tüm renk/font/ölçü değerleri --hs-* CSS değişkenlerinden gelir
   (Theme Studio ayarları section kök elementine basar).
   ============================================================ */
.hs-hero { position: relative; width: 100%; font-family: var(--hs-font-base, inherit); }
.hs-hero__slider { position: relative; width: 100%; height: var(--hs-height, 640px); overflow: hidden; }
.hs-hero .swiper-wrapper { height: 100%; }
.hs-slide { position: relative; width: 100%; height: 100%; overflow: hidden; display: flex; }
.hs-slide__bg { position: absolute; inset: 0; z-index: 0; }
.hs-slide__bg img, .hs-slide__bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-slide__bg picture { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hs-slide__color { position: absolute; inset: 0; display: block; }
.hs-slide__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0, calc(var(--hs-overlay, 28) / 100)); pointer-events: none; }
.hs-slide__inner { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); display: flex; align-items: center; }
.hs-slide--left .hs-slide__inner { justify-content: flex-start; text-align: left; }
.hs-slide--center .hs-slide__inner { justify-content: center; text-align: center; }
.hs-slide--right .hs-slide__inner { justify-content: flex-end; text-align: right; }
.hs-slide__content { max-width: 620px; color: #fff; }
.hs-slide__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--hs-eyebrow-size, 13px); color: var(--hs-eyebrow-color, #fff); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.hs-slide__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hs-eyebrow-dot, #ffd23f); display: inline-block; }
.hs-slide__title { font-family: var(--hs-font-heading, inherit); font-size: clamp(26px, 5vw, var(--hs-title-size, 56px)); color: var(--hs-title-color, #fff); line-height: 1.08; font-weight: var(--hs-title-weight, 400); margin: 0 0 16px; }
.hs-slide__subtitle { font-size: clamp(14px, 1.6vw, var(--hs-subtitle-size, 18px)); color: var(--hs-subtitle-color, #fff); line-height: 1.5; opacity: .92; margin: 0 0 26px; max-width: 520px; }
.hs-slide--center .hs-slide__subtitle { margin-left: auto; margin-right: auto; }
.hs-slide__btn { display: inline-block; color: var(--hs-btn-color, #fff); font-size: var(--hs-btn-size, 15px); font-weight: 600; font-family: var(--hs-font-button, inherit); text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.65); padding-bottom: 4px; letter-spacing: .04em; transition: border-color .2s ease; }
.hs-slide__btn:hover { border-color: #fff; }

/* Noktalar & oklar */
.hs-dots { position: absolute; z-index: 4; left: 0; right: 0; bottom: 92px; display: flex; gap: 8px; justify-content: center; }
.hs-dots .hs-dot { width: 22px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.45); border: 0; cursor: pointer; padding: 0; transition: background .2s ease; }
.hs-dots .hs-dot.is-active { background: #fff; }
.hs-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hs-arrow--prev { left: 20px; } .hs-arrow--next { right: 20px; }
.hs-arrow:hover { background: rgba(0,0,0,.55); }

/* Tetikleyici pill */
.hs-launch { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: stretch; background: var(--hs-pill-bg, #fff); border-radius: 999px; box-shadow: 0 18px 45px rgba(0,0,0,.22); padding: 8px; max-width: calc(100% - 32px); }
.hs-launch__icon { display: inline-flex; align-items: center; gap: 10px; background: var(--hs-pill-icon-bg, #111); color: #fff; border-radius: 999px; padding: 0 22px; font-size: 22px; flex: 0 0 auto; }
.hs-launch__sep { width: 1px; height: 26px; background: rgba(255,255,255,.35); }
.hs-launch__actions { display: flex; align-items: stretch; }
.hs-launch__btn { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; background: transparent; border: 0; padding: 8px 26px; cursor: pointer; text-align: left; }
.hs-launch__btn + .hs-launch__btn::before { content: ""; position: absolute; left: 0; top: 18%; height: 64%; width: 1px; background: rgba(0,0,0,.1); }
.hs-launch__eyebrow { font-size: 12px; color: var(--hs-pill-eyebrow, #8a8a8a); line-height: 1.2; }
.hs-launch__label { font-size: 16px; font-weight: 700; color: var(--hs-pill-text, #111); display: inline-flex; align-items: center; gap: 8px; line-height: 1.2; font-family: var(--hs-font-button, inherit); }
.hs-launch__label .bi { font-size: 14px; transition: transform .2s ease; }
.hs-launch__btn:hover .hs-launch__label .bi { transform: translateX(4px); }

/* ---- Modal ---- */
html.hs-lock { overflow: hidden !important; }
.hs-modal { position: fixed; inset: 0; z-index: 2147483000; display: flex; font-family: var(--hs-font-base, inherit); }
.hs-modal[hidden] { display: none; }
.hs-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hs-modal__dialog { position: relative; margin: auto; width: 100%; height: 100%; background: var(--hs-modal-bg, #fff); overflow-y: auto; padding: 72px clamp(20px, 6vw, 96px) 56px; animation: hsIn .22s ease; }
@keyframes hsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hs-modal__close { position: fixed; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #f0f0f0; color: #111; font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 2; transition: background .2s ease; }
.hs-modal__close:hover { background: #e2e2e2; }

/* ---- Arama gridi ---- */
.hs-search__grid { display: grid; grid-template-columns: minmax(190px, 230px) minmax(300px, 380px) 1fr; gap: clamp(24px, 4vw, 56px); max-width: 1400px; margin: 0 auto; align-items: start; }
.hs-search__step { font-family: var(--hs-font-heading, inherit); font-size: 15px; font-weight: 600; color: var(--hs-heading-color, #111); margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.hs-search__step span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--hs-step-bg, #111); color: #fff; font-size: 12px; font-weight: 700; flex: 0 0 auto; }

/* Mod (sekme) butonları */
.hs-search__modes { display: flex; flex-direction: column; gap: 12px; }
.hs-mode { text-align: left; padding: 14px 20px; border-radius: 12px; border: 1px solid transparent; background: var(--hs-mode-idle-bg, #f3f3f3); color: var(--hs-mode-idle-text, #3a3a3a); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease; font-family: var(--hs-font-button, inherit); }
.hs-mode:hover { filter: brightness(.97); }
.hs-mode[aria-pressed="true"] { background: var(--hs-mode-active-bg, #111); color: var(--hs-mode-active-text, #fff); }

/* Alanlar */
.hs-form__fields { display: flex; flex-direction: column; gap: 16px; }
.hs-field { display: flex; flex-direction: column; gap: 6px; }
.hs-field__label { font-family: var(--hs-font-label, inherit); font-size: 13px; font-weight: 600; color: var(--hs-heading-color, #333); }
.hs-field__label span { color: #e53935; }

/* Custom dropdown */
.hs-select { position: relative; }
.hs-select__control { width: 100%; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--hs-field-border, #e4e6e8); border-radius: 999px; background: var(--hs-field-bg, #f6f7f8); color: var(--hs-field-text, #111); padding: 0 16px; font-size: 15px; cursor: pointer; text-align: left; transition: border-color .15s ease, box-shadow .15s ease; font-family: inherit; }
.hs-select__control:hover:not(:disabled) { border-color: #cfd4d9; }
.hs-select.is-open .hs-select__control { border-color: var(--hs-mode-active-bg, #111); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.hs-select__control:disabled { opacity: .55; cursor: not-allowed; }
.hs-select__control .bi { font-size: 13px; color: #8a8a8a; transition: transform .2s ease; flex: 0 0 auto; }
.hs-select.is-open .hs-select__control .bi { transform: rotate(180deg); }
.hs-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-select__value.is-placeholder { color: #9aa1a8; }
.hs-select__panel { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; background: var(--hs-dropdown-bg, #fff); border: 1px solid var(--hs-field-border, #e4e6e8); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.14); overflow: hidden; }
.hs-select__panel[hidden] { display: none; }
.hs-select__search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--hs-field-border, #eee); }
.hs-select__search .bi { color: #9aa1a8; font-size: 14px; }
.hs-select__search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--hs-field-text, #111); font-family: inherit; }
.hs-select__list { list-style: none; margin: 0; padding: 6px; max-height: 260px; overflow-y: auto; }
.hs-select__opt { padding: 10px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; color: var(--hs-field-text, #111); }
.hs-select__opt:hover, .hs-select__opt.is-active { background: var(--hs-dropdown-hover, #f2f4f6); }
.hs-select__opt.is-hidden { display: none; }
.hs-select__opt.is-selected { font-weight: 600; }
.hs-textinput { width: 100%; height: 52px; border: 1px solid var(--hs-field-border, #e4e6e8); border-radius: 999px; background: var(--hs-field-bg, #f6f7f8); color: var(--hs-field-text, #111); padding: 0 16px; font-size: 15px; outline: none; font-family: inherit; }

.hs-submit { margin-top: 22px; width: 100%; height: 52px; border: 0; border-radius: 999px; background: var(--hs-submit-bg, #2f6fed); color: var(--hs-submit-text, #fff); font-size: 16px; font-weight: 700; letter-spacing: .02em; cursor: pointer; font-family: var(--hs-font-button, inherit); transition: filter .15s ease; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1; padding: 0 16px; box-sizing: border-box; }
.hs-submit:hover:not(:disabled) { filter: brightness(1.06); }
.hs-submit:disabled { opacity: .5; cursor: not-allowed; }
.hs-note { font-size: 13px; color: #8a8a8a; margin: 14px 0 0; }

/* Sağ panel — ürün kartları */
.hs-featured__title { font-family: var(--hs-font-heading, inherit); font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--hs-heading-color, #111); margin: 0 0 22px; line-height: 1.2; }
.hs-featured { display: block; }
.hs-launch-mobile { display: none; }
.hs-fcard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; padding: 14px; border-radius: var(--hs-card-radius, 14px); transition: box-shadow .2s ease, transform .2s ease; }
.hs-fcard:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.hs-fcard__media { display: flex; align-items: center; justify-content: center; height: var(--hs-card-media-height, 150px); }
.hs-fcard__media img { max-height: var(--hs-card-media-height, 150px); max-width: 100%; object-fit: contain; }
.hs-fcard__body { display: flex; flex-direction: column; gap: 3px; }
.hs-fcard__brand { font-size: var(--hs-card-brand-size, 12px); color: var(--hs-card-brand-color, #8a8a8a); }
.hs-fcard__name { font-family: var(--hs-card-title-font, inherit); font-size: var(--hs-card-title-size, 15px); font-weight: var(--hs-card-title-weight, 600); color: var(--hs-card-title-color, #111); line-height: 1.3; }
.hs-fcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hs-tag { font-size: 11px; padding: 4px 10px; border: 1px solid var(--hs-tag-border, #e0e0e0); border-radius: 999px; color: var(--hs-tag-text, #555); }

/* ---- Mobil ---- */
@media (max-width: 991.98px) {
    .hs-hero__slider { height: var(--hs-height-mobile, 520px); }
    .hs-dots { bottom: 100px; }
    .hs-search__grid { grid-template-columns: 1fr; gap: 22px; }
    .hs-search__modes { flex-direction: row; flex-wrap: nowrap; }
    .hs-mode { flex: 1 1 0; text-align: center; padding: 13px 14px; }
    .hs-modal__dialog { padding: 60px 16px 36px; }
    .hs-modal__close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 16px; }
    .hs-search__step { font-size: 14px; margin-bottom: 14px; }
    /* Slayt metni: mobil hizalama override */
    .hs-slide--m-left .hs-slide__inner { justify-content: flex-start; text-align: left; }
    .hs-slide--m-center .hs-slide__inner { justify-content: center; text-align: center; }
    .hs-slide--m-right .hs-slide__inner { justify-content: flex-end; text-align: right; }
    .hs-slide--m-center .hs-slide__subtitle { margin-left: auto; margin-right: auto; }
    .hs-slide--m-left .hs-slide__subtitle { margin-left: 0; margin-right: 0; }
}
/* Hankook mobil: tek kompakt tetikleyici bar */
@media (max-width: 767.98px) {
    /* Tetikleyici: tek kompakt bar */
    .hs-launch { display: none; }
    .hs-launch-mobile {
        display: flex; align-items: center; gap: 12px;
        position: absolute; z-index: 5; left: 14px; right: 14px; bottom: 20px;
        background: var(--hs-pill-bg, #fff); border: 0; border-radius: 16px;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22); padding: 10px 14px; cursor: pointer; text-align: left;
    }
    .hs-launch-mobile__icon { display: inline-flex; align-items: center; gap: 8px; background: var(--hs-pill-icon-bg, #111); color: #fff; border-radius: 12px; padding: 8px 12px; font-size: 18px; flex: 0 0 auto; }
    .hs-launch-mobile__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
    .hs-launch-mobile__text .hs-launch__eyebrow { font-size: 11px; color: var(--hs-pill-eyebrow, #8a8a8a); }
    .hs-launch-mobile__text .hs-launch__label { font-size: 15px; font-weight: 700; color: var(--hs-pill-text, #111); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--hs-font-button, inherit); }
    .hs-launch-mobile__arrow { color: var(--hs-pill-text, #111); font-size: 16px; flex: 0 0 auto; }

    /* Modal: alt sayfa (bottom sheet) — Hankook mobil */
    .hs-modal { align-items: flex-end; }
    .hs-modal__dialog {
        margin: 0; width: 100%; height: auto; max-height: 94vh;
        border-radius: 22px 22px 0 0; padding: 20px 18px 32px;
        animation: hsSheetIn .28s cubic-bezier(.22,.61,.36,1);
    }
    .hs-modal__close {
        position: absolute; top: 12px; left: 50%; right: auto; transform: translateX(-50%);
        width: 40px; height: 40px; font-size: 16px;
    }
    .hs-search { margin-top: 30px; }
    .hs-search__grid { display: block; }
    .hs-search__col { margin-bottom: 6px; }
    /* Adım numaralarini/metnini gizle, sekmeleri üste al */
    .hs-search__col--modes .hs-search__step { display: none; }
    .hs-search__col--fields .hs-search__step span,
    .hs-search__col--featured .hs-featured__title { }
    .hs-search__col--fields .hs-search__step { justify-content: center; font-size: 13px; color: var(--hs-pill-eyebrow, #8a8a8a); font-weight: 600; margin: 18px 0 14px; }
    .hs-search__col--fields .hs-search__step span { display: none; }
    /* Modlar: alt-çizgili sekmeler */
    .hs-search__modes { flex-direction: row; gap: 0; border-bottom: 1px solid var(--hs-field-border, #eee); }
    .hs-mode {
        flex: 1 1 0; background: transparent; border: 0; border-radius: 0;
        border-bottom: 2px solid transparent; color: #9aa1a8; font-weight: 700;
        padding: 12px 6px; text-align: center; font-size: 14px;
    }
    .hs-mode:hover { filter: none; }
    .hs-mode[aria-pressed="true"] { background: transparent; color: var(--hs-heading-color, #111); border-bottom-color: var(--hs-heading-color, #111); }
    /* Alanlar arası boşluk */
    .hs-form__fields { gap: 12px; }
    .hs-select__control, .hs-textinput { height: 50px; }
    /* Sağ panel başlığı ortalı */
    .hs-featured__title { text-align: center; margin-top: 8px; }
    .hs-featured .row { justify-content: center; }
}
@keyframes hsSheetIn { from { transform: translateY(100%); opacity: .6; } to { transform: none; opacity: 1; } }

/* ============================================================
   Arama tetikleyici — kibar ipucu balonu (Lastiğini hemen bul)
   Masaustunde .hs-launch (position:absolute) konteyner; mobilde
   .hs-launch-mobile (position:absolute) konteyner. position:relative
   EKLENMEZ — aksi halde launcher'in absolute konumu bozulur.
   ============================================================ */
.hs-launch__hint,
.hs-launch-mobile__hint {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    pointer-events: none;
    z-index: 6;
    animation: hsHintFloat 2.6s ease-in-out infinite;
}
.hs-launch__hint-text {
    background: var(--hs-hint-bg, #12202e);
    color: var(--hs-hint-text, #ffffff);
    font-family: var(--hs-font-button, inherit);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .2px;
    line-height: 1;
    padding: 8px 15px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .20);
}
.hs-launch__hint-arrow {
    color: var(--hs-hint-bg, #12202e);
    font-size: 20px;
    line-height: .5;
    margin-top: -1px;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .15));
}
@keyframes hsHintFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-5px); }
}
/* Mobil: balon biraz daha kompakt */
@media (max-width: 767.98px) {
    .hs-launch-mobile__hint { bottom: calc(100% + 8px); }
    .hs-launch-mobile__hint .hs-launch__hint-text { font-size: 12px; padding: 7px 13px; }
    .hs-launch-mobile__hint .hs-launch__hint-arrow { font-size: 18px; }
}

/* Sağ panel ürünleri tek sütun (liste) — 3 ürün alt alta dizilir */
.hs-featured--list .tf-products__grid { --bs-gutter-x: 0; }
.hs-featured--list .row-cols-1 > * { width: 100%; }
