/* =====================================================================
   SIBA E-Motion — Premium Model Page Template (mg4 tabanlı, paylaşılan)
   Tüm araç detay sayfaları bu stili kullanır. Font: Montserrat.
   ===================================================================== */

.mg-page-wrapper {
    overflow-x: hidden;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}
.mg-page-wrapper *, .mg-page-wrapper *::before, .mg-page-wrapper *::after { box-sizing: border-box; }

/* ===== HERO ===== */
.mg-page-wrapper .c-hero--product { position: relative; width: 100%; overflow: hidden; background: #000; }
.mg-page-wrapper .c-hero__picture { display: block; width: 100%; line-height: 0; }
.mg-page-wrapper .c-hero__image { width: 100%; height: 76vh; min-height: 420px; max-height: 720px; display: block; object-fit: cover; object-position: center; background: #f4f4f5; }
/* Görseli yatay aynala (KKTC sağ direksiyon görünümü) */
.mg-page-wrapper .c-mirror { transform: scaleX(-1); }
.mg-page-wrapper .c-hero__inner { position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding: 80px 60px 30px; }
.mg-page-wrapper .c-hero__subtitle { font-size: 1.25rem; font-weight: 300; letter-spacing: 0.1em; margin: 0 0 8px 0; text-transform: uppercase; }
.mg-page-wrapper .c-hero__title { font-size: 3.5rem; font-weight: 700; line-height: 1.1; margin: 0; }
.mg-page-wrapper .text-colour-light, .mg-page-wrapper .text-colour-light * { color: #fff !important; }

/* ===== STICKY NAVIGATION ===== */
.mg-page-wrapper .c-sticky-nav { background: #fff; border-bottom: 1px solid #e0e0e0; position: sticky; top: 70px; z-index: 100; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mg-page-wrapper .c-sticky-nav::-webkit-scrollbar { display: none; }
.mg-page-wrapper .c-sticky-nav__list { display: flex !important; flex-direction: row !important; list-style: none !important; margin: 0 !important; padding: 0 !important; justify-content: center; }
.mg-page-wrapper .c-sticky-nav__item { flex-shrink: 0; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.mg-page-wrapper .c-sticky-nav__item::before, .mg-page-wrapper .c-sticky-nav__item::marker { display: none !important; content: none !important; }
.mg-page-wrapper .c-sticky-nav__link { display: block; padding: 18px 28px; font-size: 0.8125rem; font-weight: 600; color: #666; text-decoration: none !important; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 3px solid transparent; transition: all 0.3s ease; white-space: nowrap; }
.mg-page-wrapper .c-sticky-nav__link:hover, .mg-page-wrapper .c-sticky-nav__link.is-active { color: #000; border-bottom-color: #e31837; }

/* ===== SECTION (text centered) ===== */
.mg-page-wrapper .c-section { padding: 80px 0; }
.mg-page-wrapper .c-section__inner { max-width: 800px; margin: 0 auto; padding: 0 24px; text-align: center; }
.mg-page-wrapper .c-section__split-title { font-size: 2.75rem; font-weight: 700; line-height: 1.15; margin: 0 0 24px 0; letter-spacing: -0.02em; }
.mg-page-wrapper .c-section__copy { font-size: 1rem; line-height: 1.8; color: #555; }
.mg-page-wrapper .c-section__copy--small { font-size: 0.9375rem; }
.mg-page-wrapper .c-section__copy p { margin: 0 0 16px 0; }
.mg-page-wrapper .c-section__copy p:last-child { margin-bottom: 0; }

/* ===== BANNER (full-width images) ===== */
.mg-page-wrapper .c-banner { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.mg-page-wrapper .c-banner picture { display: block; width: 100%; }
.mg-page-wrapper .c-banner__image { width: 100%; height: auto; display: block; object-fit: cover; }

/* ===== SPLIT BLOCKS (image + text side-by-side) ===== */
.mg-page-wrapper .c-wrapper { max-width: 1440px; margin: 0 auto; padding: 0; }
.mg-page-wrapper .c-split-block { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0; align-items: center; min-height: 500px; }
.mg-page-wrapper .c-split-block--left { direction: rtl; }
.mg-page-wrapper .c-split-block--left > * { direction: ltr; }
.mg-page-wrapper .c-split-block__picture { display: block; width: 100%; height: 100%; overflow: hidden; line-height: 0; }
.mg-page-wrapper .c-split-block__image { width: 100%; height: 100%; display: block; object-fit: contain; background: #f4f4f5; min-height: 340px; padding: 12px; }
.mg-page-wrapper .c-split-block__content { padding: 60px 80px; }
.mg-page-wrapper .c-split-block__title { font-size: 2.25rem; font-weight: 700; line-height: 1.2; margin: 0 0 24px 0; letter-spacing: -0.01em; }
.mg-page-wrapper .c-split-block__buttons { margin-top: 24px; }

/* ===== CONFIGURATOR ===== */
.mg-page-wrapper .c-configurator { padding: 80px 24px; max-width: 1200px; margin: 0 auto; text-align: center; }
.mg-page-wrapper .c-configurator__split-title { font-size: 2.75rem; font-weight: 700; margin: 0 0 8px 0; }
.mg-page-wrapper .c-configurator__split-title span { display: block; }
.mg-page-wrapper .c-configurator__price { font-size: 1.5rem; font-weight: 600; margin: 0 0 32px 0; color: #333; }
.mg-page-wrapper .c-configurator__mono-font { font-family: 'SF Mono', 'Fira Code', 'Courier New', Courier, monospace; }
.mg-page-wrapper .c-configurator__wrapper { max-width: 1000px; margin: 0 auto; }
.mg-page-wrapper .c-slider--configurator { margin-bottom: 32px; }
.mg-page-wrapper .c-slider__inner { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.mg-page-wrapper .c-slider__item { list-style: none !important; }
.mg-page-wrapper .c-slider__item::before, .mg-page-wrapper .c-slider__item::marker { display: none !important; content: none !important; }
.mg-page-wrapper .c-slider__item-image img { width: 100%; max-width: 960px; height: auto; margin: 0 auto; display: block; }
.mg-page-wrapper .c-slider__info { display: block; text-align: center; font-size: 0.8125rem; color: #aaa; margin-top: 16px; }
.mg-page-wrapper .c-configurator__config { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; gap: 20px; text-align: left; }
.mg-page-wrapper .c-configurator__config > li { list-style: none !important; }
.mg-page-wrapper .c-configurator__config > li::before, .mg-page-wrapper .c-configurator__config > li::marker { display: none !important; content: none !important; }
.mg-page-wrapper .c-configurator__box { border: 1px solid #e5e5e5; border-radius: 12px; padding: 24px; background: #fff; }
.mg-page-wrapper .c-configurator__subtitle { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: #999; margin: 0 0 12px 0; font-weight: 700; }
.mg-page-wrapper .c-form__select { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.875rem; background: #fff; cursor: pointer; appearance: auto; -webkit-appearance: auto; font-family: inherit; }
.mg-page-wrapper .c-configurator__list { list-style: none !important; padding: 0 !important; margin: 12px 0 0 0 !important; }
.mg-page-wrapper .c-configurator__list-item { list-style: none !important; font-size: 0.8125rem; padding: 6px 0; color: #555; border-bottom: 1px solid #f0f0f0; }
.mg-page-wrapper .c-configurator__list-item::before, .mg-page-wrapper .c-configurator__list-item::marker { display: none !important; content: none !important; }
.mg-page-wrapper .c-configurator__list-item:last-child { border-bottom: none; }
.mg-page-wrapper .c-configurator__colour { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mg-page-wrapper .c-configurator__colour-picker { display: inline-block; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; margin: 0 4px; transition: all 0.2s ease; vertical-align: middle; }
.mg-page-wrapper .c-configurator__colour-picker:hover, .mg-page-wrapper .c-configurator__colour-picker.is-active { border-color: #333; transform: scale(1.2); }
.mg-page-wrapper .c-configurator__colour-picker input { display: none; }
.mg-page-wrapper .c-configurator__box--colour { grid-column: span 2; }
.mg-page-wrapper .js-powertrain { font-size: 0.875rem; color: #333; margin: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .mg-page-wrapper .c-split-block__content { padding: 40px 40px; }
    .mg-page-wrapper .c-split-block__title { font-size: 1.75rem; }
}
@media (max-width: 768px) {
    .mg-page-wrapper .c-hero__inner { padding: 40px 24px 20px; }
    .mg-page-wrapper .c-hero__subtitle { font-size: 0.875rem; }
    .mg-page-wrapper .c-hero__title { font-size: 2rem; }
    .mg-page-wrapper .c-sticky-nav__list { justify-content: flex-start !important; padding: 0 8px !important; }
    .mg-page-wrapper .c-sticky-nav__link { padding: 14px 16px; font-size: 0.75rem; }
    .mg-page-wrapper .c-section { padding: 50px 0; }
    .mg-page-wrapper .c-section__split-title { font-size: 1.875rem; }
    .mg-page-wrapper .c-split-block { grid-template-columns: 1fr !important; }
    .mg-page-wrapper .c-split-block--left { direction: ltr; }
    .mg-page-wrapper .c-split-block__image { min-height: auto; }
    .mg-page-wrapper .c-split-block__content { padding: 32px 24px; }
    .mg-page-wrapper .c-split-block__title { font-size: 1.5rem; }
    .mg-page-wrapper .c-configurator { padding: 50px 16px; }
    .mg-page-wrapper .c-configurator__split-title { font-size: 1.875rem; }
    .mg-page-wrapper .c-configurator__config { grid-template-columns: 1fr !important; }
    .mg-page-wrapper .c-configurator__box--colour { grid-column: span 1; }
}
