/* Kaynak tasarıma eklenen küçük uyarlamalar. Tema CSS'i tools/design_import.py ile üretilir. */
#product-fullbody li { font-size: 10pt; }
.no-price { font-size: 13px; font-weight: 500; }

/* Başlıktaki sepet panelinin satırları (kaynak kayıtta panel içeriği yoktu). */
.cart-line-image { display: flex; align-items: center; justify-content: center; }
.cart-line-image img { width: 100%; max-height: 88px; object-fit: contain; }
.cart-line-title { display: block; font-weight: 500; line-height: 1.35; }
.cart-line-meta { color: #6d746f; font-size: 13px; margin-top: 4px; }
.cart-line-problem { color: #c93400; font-size: 13px; font-weight: 500; margin-top: 4px; }
.cart-panel { padding: 12px; }
.cart-panel-line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid #eceeec; }
.cart-panel-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; padding: 14px 0; }
.cart-panel-total strong { white-space: nowrap; }
.cart-empty { padding: 24px 0; text-align: center; }
.mutbex-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000; background: #1f2522; color: #fff; border-radius: 6px; padding: 10px 16px; font-size: 14px; max-width: calc(100vw - 32px); }

#product-fullbody iframe { aspect-ratio: 16 / 9; border: 0; height: auto; max-width: 100%; width: 100%; }
.preview-note { background: #fff4e0; border: 1px solid #f0d48c; border-radius: 6px; margin-bottom: 12px; padding: 10px 14px; }

/* Sepet ve ödeme adımı uyarıları */
.cart-alert, .order-alert { background: #fff4e5; border-color: #f0d48c !important; border-radius: 6px; padding: 10px 14px; }
.order-test-note { background: #eef7ec; border-color: #bfe0b8 !important; color: #135f08; font-size: 13px; }
.cart-item.has-problem { background: #fff8f5; }
#cart-page .cart-qty-form { margin: 0; }
#cart-page button.cart-item-delete { background: none; border: 0; padding: 0; cursor: pointer; }
#cart-page .btn.disabled { opacity: .6; pointer-events: none; }
.order-address-list-buttons button { background: none; border: 0; color: inherit; }
#credit-card-form { border: 0; margin: 0; min-width: 0; padding: 0; }
#credit-card-form:disabled .form-control { background: #f4f5f4; cursor: not-allowed; }
.member-panel-name { font-size: 15px; }
/* Hesabım: henüz açılmayan bölümler */
.vl-tiles .vl-tile--soon { cursor: default; opacity: .55; }
.vl-tiles .vl-tile--soon small { display: block; font-size: 11px; font-weight: 500; }
button.vl-dash__logout { background: none; border: 0; cursor: pointer; font: inherit; }
/* Favoriler paneli */
.favorite-remove { background: none; border: 0; color: #6d746f; cursor: pointer; font-size: 13px; margin-top: 4px; padding: 0; text-decoration: underline; }
.favorite-note { color: #6d746f; font-size: 13px; padding: 12px 0; }
.brand-index-item { min-height: 96px; }
.brand-index-item img { max-height: 48px; max-width: 100%; object-fit: contain; }
/* Sözleşme metinleri */
#order-agreement-panel { background: #fff !important; box-shadow: -8px 0 24px rgba(0, 0, 0, .15); display: none; flex-direction: column; height: 100vh; max-width: 720px; position: fixed; right: 0; top: 0; width: 100%; z-index: 2147483000; }
#order-agreement-panel.active { display: flex; }
#order-agreement-panel .drawer-header { align-items: center; border-bottom: 1px solid #eceeec; display: flex; justify-content: space-between; padding: 14px 16px; }
#order-agreement-panel .drawer-close { cursor: pointer; font-size: 18px; }
#order-agreement-panel .drawer-body { flex: 1; overflow-y: auto; }
.drawer-overlay[data-rel="order-agreement-panel"].active { background: rgba(0, 0, 0, .4); inset: 0; position: fixed; z-index: 2147482999; }
.agreement-doc { font-size: 13px; line-height: 1.55; }
.agreement-doc h2 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.agreement-doc h3 { font-size: 14px; font-weight: 700; margin: 16px 0 6px; }
.agreement-doc p { margin: 0 0 8px; }
.agreement-doc table { border-collapse: collapse; margin: 6px 0 10px; width: 100%; }
.agreement-doc th, .agreement-doc td { border: 1px solid #e2e6e1; padding: 5px 8px; text-align: left; vertical-align: top; }
.agreement-info th { background: #f6f8f5; font-weight: 600; width: 34%; }
.agreement-table thead th { background: #f6f8f5; }
/* Blok Yönetimi: blok sarmalayıcısı düzeni etkilemez; cihaz ayarına göre gizlenir. */
.mx-block { display: contents; }
@media (max-width: 767.98px) { .mx-hide-mobile { display: none !important; } }
@media (min-width: 768px) and (max-width: 991.98px) { .mx-hide-tablet { display: none !important; } }
@media (min-width: 992px) { .mx-hide-desktop { display: none !important; } }
.design-preview-bar { background: #fff4e0; border-bottom: 1px solid #f0d48c; padding: 8px 16px; text-align: center; font-size: 14px; position: sticky; top: 0; z-index: 1000; }

/* Filtre kaydırıcısı (T-Soft noUiSlider görünümü) */
.mx-range { padding: 6px 4px 10px; }
.mx-range-values { display: flex; justify-content: space-between; font-size: 15px; color: #222; margin-bottom: 14px; gap: 8px; }
.mx-range-track { position: relative; height: 22px; }
.mx-range-track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: #d9d9d9; border-radius: 2px; }
.mx-range-fill { position: absolute; top: 10px; height: 2px; background: #198d00; border-radius: 2px; }
.mx-range-track input[type=range] { position: absolute; left: -2px; right: -2px; top: 0; width: calc(100% + 4px); height: 22px; margin: 0; padding: 0; background: none; border: 0; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 2; }
.mx-range-track input[type=range]:focus { outline: none; }
.mx-range-track input[type=range]::-webkit-slider-runnable-track { background: none; height: 22px; }
.mx-range-track input[type=range]::-moz-range-track { background: none; }
.mx-range-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #198d00; border: 0; cursor: pointer; }
.mx-range-track input[type=range]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #198d00; border: 0; cursor: pointer; }
.mx-range-track input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(25, 141, 0, .25); }

/* Ürün videosu ve stok bilgisi */
.product-video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.product-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.product-stock-info { font-size: 13px; margin-top: 8px; }
.product-stock-info span { display: inline-flex; align-items: center; gap: 4px; }

/* Arama önerileri */
.live-search-result { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60; background: #fff; border: 1px solid #e5e5e5; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 70vh; overflow-y: auto; }
.live-search-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #222; text-decoration: none; border-bottom: 1px solid #f2f2f2; }
.live-search-item:hover, .live-search-item:focus { background: #f6fbf4; }
.live-search-item img, .live-search-noimg { width: 44px; height: 44px; object-fit: contain; flex: none; background: #fafafa; border-radius: 4px; }
.live-search-name { flex: 1; font-size: 13px; line-height: 1.35; }
.live-search-price { color: #198d00; font-size: 13px; white-space: nowrap; }
.live-search-all { display: block; padding: 10px 12px; text-align: center; font-weight: 600; color: #198d00; }
.live-search-empty { margin: 0; padding: 12px; color: #777; font-size: 13px; }

/* Ürün sayfası "Benzer Ürünler" kaydırıcısı: kartlar arasında boşluk */
.folder-showcase[id^="relation"] .swiper-slide { padding: 0 6px; box-sizing: border-box; }

/* Başlıktaki arama kutusu (canlıdaki yeni görünüm): yeşil çerçeve, büyüteç solda, sağda "/" kısayolu */
#header-search #search { display: flex; align-items: center; }
#header-search #live-search { background: #fff !important; border: 2px solid #198d00 !important; border-radius: 6px !important; padding-left: 46px !important; padding-right: 48px !important; color: #222; }
#header-search #live-search::placeholder { color: #6b6f6c; opacity: 1; }
#header-search #live-search-btn { position: absolute; left: 6px; right: auto; top: 50%; transform: translateY(-50%); background: transparent !important; border: 0 !important; color: #222 !important; padding: 0 8px; }
#header-search #live-search-btn i { color: #222 !important; }
#header-search .search-slash { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); min-width: 20px; height: 22px; padding: 0 6px; border: 1px solid #d5d8d4;
  border-radius: 4px; background: #fff; color: #6b6f6c; font: 500 12px/20px Inter, sans-serif; text-align: center; box-shadow: none; pointer-events: none; }
#header-search #live-search:focus ~ .search-slash { display: none; }
#header-search #live-search { height: 44px !important; min-height: 44px !important; }
#header-search #live-search-btn, #header-search #live-search-btn i, #header-search #live-search-btn i::before { color: #1d1d1d !important; }

/* Ürün görseli rozetleri (Panel > Ürünler > Tanımlar > Rozetler): seçilen köşede, görselin üstünde */
.img-badges { position: absolute; z-index: 6; display: flex; flex-direction: column; gap: 4px; pointer-events: none; max-width: 60%; }
.img-badges.top-left { top: 10px; left: 10px; align-items: flex-start; }
.img-badges.top-center { top: 10px; left: 50%; transform: translateX(-50%); align-items: center; }
.img-badges.top-right { top: 10px; right: 10px; align-items: flex-end; }
.img-badges.middle-left { top: 50%; left: 10px; transform: translateY(-50%); align-items: flex-start; }
.img-badges.middle-right { top: 50%; right: 10px; transform: translateY(-50%); align-items: flex-end; }
.img-badges.bottom-left { bottom: 10px; left: 10px; align-items: flex-start; }
.img-badges.bottom-center { bottom: 10px; left: 50%; transform: translateX(-50%); align-items: center; }
.img-badges.bottom-right { bottom: 10px; right: 10px; align-items: flex-end; }
/* Kartta sağ üstte favori/karşılaştır düğmeleri var: rozetler onların soluna kayar */
.product-item .img-badges.top-right, .product-item .img-badges.middle-right { right: 50px; }
.product-images-slider .img-badges.bottom-left, .product-images-slider .img-badges.bottom-center,
.product-images-slider .img-badges.bottom-right { bottom: 34px; }
.img-badge { display: inline-flex; align-items: center; justify-content: center; text-align: center; background: var(--bb, #198d00);
  color: var(--bt, #fff); font-weight: 700; line-height: 1.15; letter-spacing: .01em; box-shadow: 0 1px 3px rgba(0,0,0,.15);
  font-size: 12px; padding: 5px 9px; border-radius: 4px; max-width: 100%; }
.img-badge.size-s { font-size: 10px; padding: 3px 7px; }
.img-badge.size-l { font-size: 14px; padding: 7px 12px; }
.img-badge.shape-pill { border-radius: 999px; }
.img-badge.shape-square { border-radius: 0; }
.img-badge.shape-circle { border-radius: 50%; width: 58px; height: 58px; padding: 6px; font-size: 11px; }
.img-badge.shape-circle.size-s { width: 44px; height: 44px; font-size: 9px; }
.img-badge.shape-circle.size-l { width: 74px; height: 74px; font-size: 13px; }
.img-badge.shape-ribbon { border-radius: 2px; padding-right: 16px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%); }
.img-badges.top-right .img-badge.shape-ribbon, .img-badges.middle-right .img-badge.shape-ribbon, .img-badges.bottom-right .img-badge.shape-ribbon {
  padding-right: 9px; padding-left: 16px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8px 50%); }
.img-badge.is-image { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.img-badge.is-image img { display: block; max-width: 90px; max-height: 60px; width: auto; height: auto; }
.img-badge.is-image.size-s img { max-width: 60px; max-height: 40px; }
.img-badge.is-image.size-l img { max-width: 130px; max-height: 90px; }
@media (max-width: 575px) { .img-badge { font-size: 10px; padding: 3px 7px; } .img-badges { gap: 3px; } }
/* Kategori sayfasında rozet sayfalarına bağlantılar */
.badge-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.badge-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13px;
  background: var(--bb); color: var(--bt); text-decoration: none; }
.badge-links a:hover { filter: brightness(1.08); }
/* Kart dar: soldaki ve sağdaki rozetler birbirine binmesin, uzun yazı iki satıra iner */
.product-item .img-badges { max-width: calc(50% - 30px); }
.product-item .img-badges.top-center, .product-item .img-badges.bottom-center { max-width: 70%; }
.product-item .img-badge { font-size: 10px; padding: 3px 6px; }
.product-item .img-badge.size-l { font-size: 12px; padding: 5px 8px; }
.product-item .img-badge.shape-ribbon { padding-right: 13px; }

/* Ana sayfa: ana banner ve marka banner'ları ekranın bir kısmı genişliğinde, ortada (Online Mağaza > Vitrin Ayarları) */
:root { --hero-w: 75%; }
@media (min-width: 992px) {
  .tpl-hero-slider, .folder-brand-banners { flex: 0 0 var(--hero-w) !important; max-width: var(--hero-w) !important; width: var(--hero-w) !important;
    margin-left: auto !important; margin-right: auto !important; }
  .tpl-hero-slider .slider-container { border-radius: 8px; overflow: hidden; }
}
.folder-brand-banners { padding-top: 12px; padding-bottom: 4px; }
.folder-brand-banners > .row > .col-12 { padding-left: 0; padding-right: 0; }
.brand-banners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.brand-banners.is-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 4px; }
.brand-banners.is-scroll .brand-banner { flex: 0 0 calc((100% - 36px) / 4); scroll-snap-align: start; }
.brand-banner { display: block; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 2 / 1; background: var(--bb, #198d00);
  color: var(--bt, #fff); text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .15s, box-shadow .15s; }
.brand-banner.is-card { aspect-ratio: auto; min-height: 128px; display: flex; }
.brand-banner:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); text-decoration: none; color: var(--bt, #fff); }
.brand-banner picture, .brand-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-banner__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; padding: 12px 16px; width: 100%;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%); }
.brand-banner__logo { display: inline-flex; background: #fff; border-radius: 5px; padding: 3px 7px; margin-bottom: 3px; max-width: 70%; }
.brand-banner__logo img { height: 18px; width: auto; max-width: 100%; object-fit: contain; }
.brand-banner__brand { font-size: 12px; font-weight: 700; letter-spacing: .02em; opacity: .9; }
.brand-banner__title { font-size: 14px; font-weight: 600; line-height: 1.25; }
.brand-banner__sub { font-size: 19px; font-weight: 800; line-height: 1.1; }
.brand-banner__btn { margin-top: 6px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.95); color: var(--bb, #198d00);
  border-radius: 99px; padding: 4px 11px; }
@media (max-width: 991px) {
  .brand-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand-banners.is-scroll .brand-banner { flex-basis: calc((100% - 8px) / 2); }
  .brand-banner__title { font-size: 13px; } .brand-banner__sub { font-size: 16px; }
}
