/*
 * YiziSoft Tema Renk Motoru v26.1.0
 * Bu dosya tema CSS dosyalarından sonra yüklenir.
 * Yönetimde seçilen renkleri Klasik, Limra ve Moto Vortex üzerinde zorunlu uygular.
 */

html,
body{
  background-color:var(--theme-background,#f5f7f9)!important;
  color:var(--theme-text,#172331)!important;
}
body :is(.site-main,.main-content,.app-shell,.catalog-app,.catalog-shell,.inline-page,.public-page,.home-builder-canvas){
  color:var(--theme-text,#172331);
}

/* Tema değişkenlerinin eski adlarını yeni renk merkezine bağla. */
body{
  --accent:var(--theme-primary,#e30613);
  --primary:var(--theme-primary,#e30613);
  --secondary:var(--theme-secondary,#172331);
  --surface:var(--theme-surface,#fff);
  --page-bg:var(--theme-background,#f5f7f9);
  --text:var(--theme-text,#172331);
  --muted:var(--theme-muted,#667085);
  --line:var(--theme-border,#dfe5eb);
  --header-bg:var(--theme-header-bg,#ffffff);
  --header-text:var(--theme-header-text,#172331);
  --header-accent:var(--theme-header-accent,var(--theme-primary,#e30613));
  --footer-bg:var(--theme-footer-bg,#172331);
  --footer-heading:var(--theme-footer-heading,#ffffff);
  --footer-text:var(--theme-footer-text,#cbd5e1);
  --footer-link:var(--theme-footer-link,#ffffff);
  --footer-border:var(--theme-footer-border,#334155);

  --limra-accent:var(--theme-primary,#b9786a);
  --limra-accent-dark:var(--theme-secondary,#8f574b);
  --limra-accent-soft:color-mix(in srgb,var(--theme-primary,#b9786a) 13%,transparent);
  --limra-ink:var(--theme-text,#342b2a);
  --limra-text:var(--theme-text,#342b2a);
  --limra-muted:var(--theme-muted,#8b7772);
  --limra-line:var(--theme-border,#eadfd9);
  --limra-panel:var(--theme-surface,#ffffff);
  --limra-page:var(--theme-background,#fbf7f4);
  --limra-navy:var(--theme-secondary,#342b2a);

  --vortex-accent:var(--theme-primary,#ff5a1f);
  --vortex-accent-dark:var(--theme-secondary,#ff8a3d);
  --vortex-accent-soft:color-mix(in srgb,var(--theme-primary,#ff5a1f) 15%,transparent);
  --vortex-ink:var(--theme-text,#f8fafc);
  --vortex-text:var(--theme-text,#f8fafc);
  --vortex-muted:var(--theme-muted,#9aa6b2);
  --vortex-line:var(--theme-border,#27313b);
  --vortex-panel:var(--theme-surface,#11161c);
  --vortex-page:var(--theme-background,#070a0d);
  --vortex-navy:var(--theme-secondary,#ff8a3d);

  --mv-orange:var(--theme-primary,#ff5a1f);
  --mv-orange-2:var(--theme-secondary,#ff8a3d);
  --mv-page:var(--theme-background,#070a0d);
  --mv-section:var(--theme-surface,#11161c);
  --mv-panel:var(--theme-surface,#11161c);
  --mv-card:var(--theme-surface,#11161c);
  --mv-card-hover:color-mix(in srgb,var(--theme-surface,#11161c) 84%,var(--theme-primary,#ff5a1f) 16%);
  --mv-card-line:var(--theme-border,#27313b);
  --mv-text:var(--theme-text,#f8fafc);
}

/* Sayfa zemini ile kart/panel zemini kesin olarak ayrılır.
   theme_background yalnızca genel sayfa zeminini, theme_surface ise kartları değiştirir. */
body,
body .page,
body .main-choice,
body .home-module-canvas,
body .model-landing,
body .configurator-area,
body .catalog-category-landing,
body .catalog-products-area,
body .content-page,
body .vortex-quick-garage,
body .vortex-benefits,
body .vortex-final-cta,
body .limra-quick-categories,
body .limra-benefits,
body .limra-final-cta{
  background-color:var(--theme-background,#f5f7f9)!important;
}

body :is(
  .home-builder-module:not(.home-hero-module):not(.home-module-spacer),
  .vortex-model-finder,.vortex-home-section,.limra-home-section,
  .model-landing-head,.catalog-landing-head,.rider-products-head,
  .stage,.catalog,.catalog-filter-sidebar,.catalog-results,
  .content-page-card,.category-inline-intro
){
  background-color:var(--theme-surface,#fff)!important;
  border-color:var(--theme-border,#dfe5eb)!important;
}

/* Sayfa ve ana yüzeyler */
body :is(
  .catalog-page,.catalog-main,.catalog-content,.motor-page,.motor-accessory-page,
  .inline-product-page,.inline-category-page,.inline-main-category-page,
  .home-builder-module:not(.home-hero-module),.public-page-content
){
  color:var(--theme-text,#172331)!important;
}

body :is(
  .panel,.surface-card,.content-card,.filter-card,.category-card,.main-category-card,
  .model-card,.public-page-card,.empty-products,.payment-card,.checkout-card,.cart-panel
){
  border-color:var(--theme-border,#dfe5eb)!important;
}

/* Header, menü ve mobil çekmece */
body :is(
  .modern-site-header,.topbar,.topbar-inner,
  .limra-theme-header,.limra-header-main,.limra-category-nav,.limra-mobile-menu,
  .vortex-theme-header,.vortex-header-main,.vortex-category-nav,.vortex-mobile-menu
){
  border-color:var(--theme-border,#dfe5eb)!important;
}
body :is(
  .modern-site-header,.topbar,.topbar-inner,
  .limra-header-main,.limra-theme-header,.limra-mobile-menu,
  .vortex-header-main,.vortex-theme-header,.vortex-mobile-menu
){
  background-color:var(--theme-header-bg,#fff)!important;
  color:var(--theme-header-text,#172331)!important;
}
body :is(.limra-category-nav,.vortex-category-nav){
  background-color:color-mix(in srgb,var(--theme-header-bg,#fff) 92%,var(--theme-background,#f5f7f9) 8%)!important;
}
body :is(
  .modern-site-header a,.modern-site-header button,.modern-site-header .brand,.modern-site-header .brand span,
  .limra-action-link,.limra-cart-button,.limra-category-nav a,.limra-mobile-menu a,.limra-mobile-menu button,
  .vortex-action-link,.vortex-cart-button,.vortex-category-nav a,.vortex-mobile-menu a,.vortex-mobile-menu button
){
  color:var(--theme-header-text,#172331)!important;
}
body :is(.limra-announcement,.vortex-announcement){
  background:var(--theme-header-accent,var(--theme-primary,#e30613))!important;
  color:var(--product-button-text,#fff)!important;
}
body :is(.limra-search-form,.limra-search-results,.vortex-search-form,.vortex-search-results){
  background:color-mix(in srgb,var(--theme-header-bg,#fff) 92%,var(--theme-background,#f5f7f9) 8%)!important;
  color:var(--theme-header-text,#172331)!important;
  border-color:var(--theme-border,#dfe5eb)!important;
}
body :is(.limra-search-form button,.vortex-search-form button,.limra-cart-button b,.vortex-cart-button b,.modern-site-header .cart-count,.modern-site-header .header-cta){
  background:var(--theme-header-accent,var(--theme-primary,#e30613))!important;
  color:var(--product-button-text,#fff)!important;
}

/* Footer renkleri header ve kart renklerinden bağımsızdır. */
body :is(.site-footer,.limra-footer,.vortex-footer){
  background:var(--theme-footer-bg,#172331)!important;
  color:var(--theme-footer-text,#cbd5e1)!important;
  border-color:var(--theme-footer-border,#334155)!important;
}
body :is(
  .site-footer-inner,.limra-footer-grid,.vortex-footer-grid,
  .limra-footer-topline,.vortex-footer-topline,.limra-footer-bottom,.vortex-footer-bottom
){
  border-color:var(--theme-footer-border,#334155)!important;
}
body :is(
  .site-footer-brand,.site-footer-brand span,
  .limra-footer-brand a,.limra-footer-brand b,.limra-footer nav>b,.limra-footer-contact>b,
  .vortex-footer-brand a,.vortex-footer-brand b,.vortex-footer nav>b,.vortex-footer-contact>b
){
  color:var(--theme-footer-heading,#fff)!important;
}
body :is(
  .site-footer p,.site-footer small,
  .limra-footer p,.limra-footer span,.limra-footer small,.limra-footer-contact span,.limra-footer-bottom,
  .vortex-footer p,.vortex-footer span,.vortex-footer small,.vortex-footer-contact span,.vortex-footer-bottom
){
  color:var(--theme-footer-text,#cbd5e1)!important;
}
body :is(
  .site-footer a,.site-footer button,
  .limra-footer a,.limra-footer button,.limra-footer-contact a,
  .vortex-footer a,.vortex-footer button,.vortex-footer-contact a
){
  color:var(--theme-footer-link,#fff)!important;
}
body :is(.site-footer a,.limra-footer a,.limra-footer button,.vortex-footer a,.vortex-footer button):hover{
  color:var(--theme-header-accent,var(--theme-primary,#e30613))!important;
}

/* Genel başlık ve metinler */
body :is(
  h1,h2,h3,h4,h5,h6,
  .section-heading h2,.section-heading h3,.category-heading h1,.category-heading h2,
  .limra-section-heading h2,.vortex-section-heading h2,
  .limra-hero-copy h1,.vortex-hero-copy h1
){
  color:var(--theme-text,#172331)!important;
}
body :is(
  p,.muted,.section-heading p,.category-heading p,
  .limra-hero-copy p,.vortex-hero-copy p
){
  color:var(--theme-muted,#667085);
}

/* Tema ana butonları */
body :is(
  .primary-btn,.btn.primary,.home-module-button,.hero-button,
  .limra-hero-button,.vortex-hero-button,
  .category-primary-button,.model-primary-button
){
  border-color:var(--theme-primary,#e30613)!important;
  background-color:var(--theme-primary,#e30613)!important;
  color:var(--product-button-text,#fff)!important;
}
body :is(
  .primary-btn,.btn.primary,.home-module-button,.hero-button,
  .limra-hero-button,.vortex-hero-button,
  .category-primary-button,.model-primary-button
):hover{
  border-color:var(--theme-secondary,#172331)!important;
  background-color:var(--theme-secondary,#172331)!important;
  color:var(--product-button-text,#fff)!important;
}

/* Ürün kartları: tüm tema sınıfları */
body :is(
  .product-card,.catalog-card,.limra-product-card,.vortex-product-card,
  .home-product-card,.related-product-card
){
  background-color:var(--product-card-bg,var(--theme-surface,#fff))!important;
  color:var(--product-card-text,var(--theme-text,#172331))!important;
  border-color:color-mix(in srgb,var(--product-card-text,var(--theme-text,#172331)) 16%,transparent)!important;
}
body :is(.product-card,.catalog-card,.limra-product-card,.vortex-product-card) :is(
  .catalog-info,.catalog-bottom,.price-stack,h4,h4 a,.product-title-link,
  .catalog-sku,.catalog-description,.product-meta-line,.price-stack small
){
  color:var(--product-card-text,var(--theme-text,#172331))!important;
}
body :is(.product-card,.catalog-card,.limra-product-card,.vortex-product-card) :is(.price,.campaign-price,.sale-price){
  color:var(--product-card-accent,var(--theme-primary,#e30613))!important;
}
body :is(.product-card,.catalog-card,.limra-product-card,.vortex-product-card) :is(
  .catalog-image-wrap,.product-visual,.product-card-image-swap
){
  background-color:color-mix(in srgb,var(--product-card-bg,var(--theme-surface,#fff)) 89%,var(--product-card-accent,var(--theme-primary,#e30613)) 11%)!important;
}
body :is(.product-card,.catalog-card,.limra-product-card,.vortex-product-card) :is(
  .campaign-badges span,.installment-badge,.catalog-no,.badge,.product-badge
){
  border-color:var(--product-card-accent,var(--theme-primary,#e30613))!important;
  background-color:var(--product-card-accent,var(--theme-primary,#e30613))!important;
  color:var(--product-button-text,#fff)!important;
}
body :is(.product-card,.catalog-card,.limra-product-card,.vortex-product-card) :is(
  .mini-btn.primary,[data-add-product],.add-to-cart,.product-card-cart-button
){
  border-color:var(--product-button-bg,var(--theme-primary,#e30613))!important;
  background-color:var(--product-button-bg,var(--theme-primary,#e30613))!important;
  color:var(--product-button-text,#fff)!important;
}
body :is(.product-card,.catalog-card,.limra-product-card,.vortex-product-card) :is(
  .mini-btn.primary,[data-add-product],.add-to-cart,.product-card-cart-button
):hover{
  border-color:var(--product-button-hover,var(--theme-secondary,#172331))!important;
  background-color:var(--product-button-hover,var(--theme-secondary,#172331))!important;
  color:var(--product-button-text,#fff)!important;
}

/* Ürün detay sayfası */
body :is(.inline-product-page,#productPage,.product-page,.product-detail-page){
  background-color:var(--product-detail-bg,var(--theme-background,#f5f7f9))!important;
  color:var(--product-detail-text,var(--theme-text,#172331))!important;
}
body :is(.unified-product-detail,.inline-detail-card,.product-detail-card){
  color:var(--product-detail-text,var(--theme-text,#172331))!important;
}
body :is(
  .detail-purchase-info,.product-info-card,.detail-description-section,.detail-reviews-section,
  .detail-related-section,.review-modal-dialog,.review-card,.review-score-card,.review-action-card
){
  background-color:var(--product-detail-panel,var(--theme-surface,#fff))!important;
  color:var(--product-detail-text,var(--theme-text,#172331))!important;
  border-color:color-mix(in srgb,var(--product-detail-muted,var(--theme-muted,#667085)) 24%,transparent)!important;
}
body :is(.detail-gallery-shell,.detail-gallery-stage,.detail-main-media,.detail-thumb,.detail-zoom-preview){
  background-color:var(--product-slider-bg,var(--theme-background,#f5f7f9))!important;
  border-color:color-mix(in srgb,var(--product-detail-muted,var(--theme-muted,#667085)) 22%,transparent)!important;
}
body :is(
  .detail-product-heading h1,.detail-section-heading h3,.review-section-head h3,
  .review-action-card h4,.review-card h4,.review-modal-head h3,.review-form label
){
  color:var(--product-detail-text,var(--theme-text,#172331))!important;
}
body :is(
  .detail-code,.detail-short-description,.detail-specs,.detail-rating-summary,.detail-description-body,
  .detail-description-body p,.review-card p,.review-card small,.review-action-card p,.review-modal-head p
){
  color:var(--product-detail-muted,var(--theme-muted,#667085))!important;
}
body :is(
  .detail-price,.detail-product-heading>small,.detail-section-heading>span,.review-section-head>div>span,
  .review-action-card>span,.review-modal-head>span,.detail-rating-stars,.review-score-card strong
){
  color:var(--product-detail-accent,var(--theme-primary,#e30613))!important;
}
body :is(.detail-purchase-panel .primary-btn,.review-open-button,.review-modal-submit){
  border-color:var(--product-button-bg,var(--theme-primary,#e30613))!important;
  background-color:var(--product-button-bg,var(--theme-primary,#e30613))!important;
  color:var(--product-button-text,#fff)!important;
}
body :is(.detail-purchase-panel .primary-btn,.review-open-button,.review-modal-submit):hover{
  border-color:var(--product-button-hover,var(--theme-secondary,#172331))!important;
  background-color:var(--product-button-hover,var(--theme-secondary,#172331))!important;
  color:var(--product-button-text,#fff)!important;
}
body :is(.review-card,.review-score-card,.review-action-card){
  background-color:var(--product-review-bg,var(--theme-surface,#fff))!important;
}

/* Form alanları tema yüzeyine uyum sağlar. */
body :is(input,select,textarea):not([type="color"]):not([type="checkbox"]):not([type="radio"]){
  border-color:var(--theme-border,#dfe5eb);
}
