/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.2
*/

/*************** ADD CUSTOM CSS HERE. ***************/

/* Daha geniş masaüstü yerleşimi: header ve ana sayfa içeriği kenarlara yaklaşır. */
@media only screen and (min-width: 49em) {
    #header .container,
    .opcc-brand-bar .container,
    body.home .opcc .inner,
    body.home .opcc .finder {
        width: calc(100% - 48px);
        max-width: 1680px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Eski metin menüsünün yerine ürün ve gerçek marka logoları şeridi. */
.header-bottom.wide-nav { display: none !important; }
.opcc-brand-bar { position: relative; z-index: 20; border-top: 1px solid #edf0f2; border-bottom: 1px solid #e1e5e8; background: #fff; }
.opcc-brand-list { display: flex; align-items: center; gap: 9px; min-height: 74px; margin: 0; padding: 9px 0; list-style: none; white-space: nowrap; }
.opcc-brand-list > li { flex: 0 0 auto; margin: 0; }
.opcc-brand-list a { text-decoration: none; }
.opcc-brand-action, .opcc-brand-link { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 10px; transition: transform .2s ease, background-color .2s ease; }
.opcc-brand-action:hover, .opcc-brand-link:hover { transform: translateY(-1px); }
.opcc-brand-action { padding: 0 16px; color: #fff !important; font-size: 12px; font-weight: 800; }
.opcc-all-products { min-width: 118px; background: #d82333; }
.opcc-all-products:hover { background: #b91625; }
.opcc-all-vehicles { min-width: 132px; gap: 8px; background: #e85d16; }
.opcc-all-vehicles:hover { background: #c9480c; }
.opcc-brand-link { min-width: 58px; padding: 4px 7px; color: #111820; }
.opcc-brand-link:hover { background: #f3f5f6; }
.opcc-brand-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 50px; height: 44px; line-height: 1; text-align: center; }
.opcc-brand-logo img { display: block; width: 48px; height: 29px; max-width: 100%; object-fit: contain; }
.opcc-brand-logo small { display: block; margin-top: 4px; color: #202a33; font-size: 7px; font-weight: 700; letter-spacing: .01em; line-height: 1; text-transform: uppercase; }
.opcc-brand-audi img, .opcc-brand-ford img { width: 58px; }
.opcc-brand-mercedes img, .opcc-brand-bmw img, .opcc-brand-toyota img, .opcc-brand-opel img, .opcc-brand-renault img, .opcc-brand-lamborghini img { width: 34px; height: 31px; }
.opcc-brand-volkswagen img, .opcc-brand-hyundai img, .opcc-brand-honda img, .opcc-brand-citroen img { width: 39px; height: 30px; }
.opcc-brand-fiat img, .opcc-brand-byd img { width: 48px; }

@media only screen and (max-width: 48em) {
    .opcc-brand-bar .container { max-width: none; padding: 0; }
    .opcc-brand-list { gap: 4px; min-height: 66px; padding: 7px 14px 9px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scroll-snap-type: x proximity; }
    .opcc-brand-list > li { scroll-snap-align: start; }
    .opcc-brand-action, .opcc-brand-link { min-height: 48px; }
    .opcc-all-products { min-width: 110px; }
    .opcc-all-vehicles { min-width: 126px; }
    .opcc-brand-logo { height: 40px; }
    .opcc-brand-logo img { max-height: 27px; }
}

/* 2026-10 header hizalama düzeltmesi. */
@media only screen and (min-width: 49em) {
    #header .header-wrapper .container,
    #header .header-main .header-inner,
    .opcc-brand-bar > .container {
        width: calc(100% - 32px) !important;
        max-width: 1760px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    #header .header-main .logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

/* Marka adı logonun altında, şerit sınırları içinde okunur. */
.opcc-brand-bar { overflow: hidden; }
.opcc-brand-list { align-items: center; overflow-x: auto; overflow-y: hidden; }
.opcc-brand-logo { height: 52px; justify-content: center; overflow: visible; }
.opcc-brand-logo img { flex: 0 0 31px; margin: 0 auto; }
.opcc-brand-logo small { display: block !important; width: 72px; margin-top: 4px; overflow: hidden; color: #202a33; font-size: 7px; font-weight: 700; line-height: 1.15; text-align: center; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.opcc-brand-mercedes small, .opcc-brand-lamborghini small { font-size: 6px; }

/* Türkçe karakterler için tutarlı glif ve gerçek yazı kalınlığı. */
html[lang^="tr"] body,
html[lang^="tr"] h1,
html[lang^="tr"] h2,
html[lang^="tr"] h3,
html[lang^="tr"] h4,
html[lang^="tr"] h5,
html[lang^="tr"] h6,
html[lang^="tr"] button,
html[lang^="tr"] input,
html[lang^="tr"] select,
html[lang^="tr"] textarea,
html[lang^="tr"] .nav > li > a,
html[lang^="tr"] .breadcrumb-container,
html[lang^="tr"] .breadcrumbs,
html[lang^="tr"] .opcc p,
html[lang^="tr"] .opcc a,
html[lang^="tr"] .opcc button,
html[lang^="tr"] .opcc label,
html[lang^="tr"] .opcc input,
html[lang^="tr"] .opcc select,
html[lang^="tr"] .opcc textarea,
html[lang^="tr"] .opcc .eyebrow,
html[lang^="tr"] .opcc .finder-badge,
html[lang^="tr"] .opcc-brand-action,
html[lang^="tr"] .opcc-brand-logo small {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-synthesis: none;
}
html[lang^="tr"] .nav > li > a,
html[lang^="tr"] .opcc-brand-action,
html[lang^="tr"] .opcc .eyebrow,
html[lang^="tr"] .opcc .btn,
html[lang^="tr"] .opcc button,
html[lang^="tr"] .breadcrumbs a,
html[lang^="tr"] .breadcrumbs .divider {
    font-weight: 700 !important;
}
