/* =====================================================================
   DEM B2B — Modern Hibrit tema preseti (modern_hybrid)
   Operasyon yoğunluğu (tablo, filtre) + Premium kabuk (header, menü, yüzey).
   Yalnızca body[data-theme-preset="modern_hybrid"] iken etkindir; diğer presetler etkilenmez.
   Kurallar @layer theme-modern içinde: katmandaki !important bildirimleri eski katmansız
   !important kurallarını özgüllükten bağımsız yener. @layer desteklemeyen eski tarayıcılar
   (iOS 15.4 öncesi) bloğu yok sayar ve mevcut tema ile açılır.
   Renkler Theme Studio'daki --brand-nav / --brand-primary / --brand-accent değişkenlerinden gelir.
   Mobil grid/kart: #appRoot[data-mv] (theme-modern-hybrid.js, ekran bazlı admin ayarından).
   ===================================================================== */

@font-face{font-family:"B2B Inter";font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/inter-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"B2B Inter";font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/inter-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

@layer theme-modern {
/* ---------- 1. Tokenlar ---------- */
html body[data-theme-preset="modern_hybrid"]{
  --p-navy:var(--brand-nav,#043565);
  --p-navy-2:var(--brand-primary,#034175);
  --p-navy-ink:#0B2340;
  --p-orange:var(--brand-accent,#FC8819);
  --p-orange-ink:#B85A00;
  --p-orange-soft:#FFF4E8;
  --p-bg:#F3F5F8;
  --p-surface:#FFFFFF;
  --p-surface-2:#F8FAFC;
  --p-line:#E2E7EE;
  --p-line-2:#EDF0F4;
  --p-text:#18212D;
  --p-text-2:#536072;
  --p-text-3:#8792A2;
  --p-ok:#16834A;   --p-ok-soft:#E8F6EE;
  --p-low:#B45309;  --p-low-soft:#FEF3E2;
  --p-sup:#1D5FD1;  --p-sup-soft:#EAF1FD;
  --p-none:#C2410C; --p-none-soft:#FDEEE7;
  --p-danger:#C62828;
  --p-focus:0 0 0 3px rgba(var(--brand-accent-rgb,252,136,25),.35);
  --p-on-accent:#1A1205;
  --p-font:"B2B Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;

  /* yöne göre değişenler */
  --p-r-sm:6px; --p-r:8px; --p-r-lg:10px;
  --p-shadow:none;
  --p-shadow-lg:0 1px 2px rgba(16,24,40,.06);
  --p-row-h:34px;
  --p-fs:13px;
  --p-gap:12px;
  --p-header-h:56px;
  --p-max:1680px;
}

html body[data-theme-preset="modern_hybrid"]{
  --p-bg:#F2F4F8;
  --p-r-sm:7px; --p-r:10px; --p-r-lg:14px;
  --p-shadow:0 1px 2px rgba(16,24,40,.04),0 2px 8px rgba(16,24,40,.04);
  --p-shadow-lg:0 1px 3px rgba(16,24,40,.06),0 8px 24px rgba(16,24,40,.06);
  --p-row-h:36px;
  --p-fs:13px;
  --p-gap:14px;
  --p-header-h:64px;
  --p-max:1600px;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-panel{background:linear-gradient(115deg,var(--p-navy) 0%,var(--p-navy-2) 100%)!important;}

/* ---------- 2. Temel ---------- */
html body[data-theme-preset="modern_hybrid"],
html body[data-theme-preset="modern_hybrid"] #appRoot{
  background:var(--p-bg)!important;
  color:var(--p-text)!important;
  font-family:var(--p-font)!important;
  font-size:var(--p-fs)!important;
  font-feature-settings:"cv11","ss01";
  -webkit-font-smoothing:antialiased;
}
html body[data-theme-preset="modern_hybrid"] #appRoot *:not(svg):not(path){
  font-family:var(--p-font)!important;
  letter-spacing:normal!important;
  text-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot b,
html body[data-theme-preset="modern_hybrid"] #appRoot strong{font-weight:600!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(input,select,textarea,button){font-size:inherit;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(input,select,textarea,button):focus-visible{
  outline:none!important; box-shadow:var(--p-focus)!important;
}
html body[data-theme-preset="modern_hybrid"] .num,
html body[data-theme-preset="modern_hybrid"] td.num{font-variant-numeric:tabular-nums!important;}

/* ---------- 3. Header: tek bilgi şeridi ---------- */
html body[data-theme-preset="modern_hybrid"] #appRoot{padding:0!important;max-width:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header{
  position:relative!important;
  display:flex!important; align-items:center!important; gap:24px!important;
  height:var(--p-header-h)!important; min-height:0!important;
  margin:0!important; padding:0 max(16px, calc((100vw - var(--p-max))/2 + 16px))!important;
  background:var(--p-surface)!important;
  border:0!important; border-bottom:1px solid var(--p-line)!important;
  border-radius:0!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header .logo-area{flex:0 0 auto!important;min-width:0!important;width:auto!important;height:auto!important;padding:0!important;background:none!important;box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header .brand-logo-image{height:calc(var(--p-header-h) - 22px)!important;width:auto!important;max-width:200px!important;object-fit:contain!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets{
  display:flex!important; align-items:stretch!important; justify-content:flex-end!important;
  gap:0!important; margin-left:auto!important; flex:1 1 auto!important; min-width:0!important;
  height:auto!important; padding:0!important; background:none!important; border:0!important; box-shadow:none!important;
  flex-wrap:nowrap!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div{
  all:unset;
  position:relative!important;
  display:grid!important; grid-auto-rows:min-content!important; align-content:center!important; row-gap:1px!important;
  padding:0 18px!important; min-width:0!important; height:auto!important; width:auto!important; max-width:none!important;
  background:none!important; border:0!important; border-left:1px solid var(--p-line)!important; border-radius:0!important;
  box-shadow:none!important; text-align:left!important; cursor:default;
  color:var(--p-text)!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div{display:flex!important; flex-direction:column!important; justify-content:center!important; align-items:flex-start!important; gap:1px!important; grid-template-columns:minmax(0,1fr)!important; grid-template-rows:none!important; min-height:0!important; align-items:start!important; justify-items:stretch!important; transform:none!important; flex:0 1 auto!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div > *:not(.customer-card-actions){
  position:static!important; grid-column:auto!important; grid-row:auto!important; transform:none!important; text-align:left!important;
  margin:0!important; width:auto!important; max-width:100%!important; height:auto!important; min-height:0!important; justify-self:start!important; align-self:auto!important; border:0!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div::before,
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div::after{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div > span:first-child,
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div > span#activeCustomerLabel{
  font-size:11px!important; font-weight:500!important; color:var(--p-text-3)!important;
  text-transform:none!important; background:none!important; padding:0!important; margin:0!important; border:0!important;
  line-height:1.3!important; display:block!important; width:auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div strong{
  font-size:13px!important; font-weight:600!important; color:var(--p-text)!important; line-height:1.35!important;
  white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; display:block!important; background:none!important; padding:0!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div small{
  font-size:11.5px!important; font-weight:400!important; color:var(--p-text-2)!important; line-height:1.35!important;
  white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; display:block!important; background:none!important; padding:0!important;
}
/* sıra: Cari, Temsilci, Kur, Sepet */
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget{order:1!important; max-width:360px!important; padding-right:110px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.representative-widget{order:2!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.exchange-widget{order:3!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget{order:4!important; cursor:pointer!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget .balance-line{color:var(--p-text-2)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .customer-card-actions{
  position:absolute!important; right:14px!important; top:50%!important; transform:translateY(-50%)!important;
  margin:0!important; padding:0!important; background:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .customer-password-link{
  all:unset; font-size:12px!important; font-weight:500!important; color:var(--p-navy-2)!important; cursor:pointer!important;
  padding:6px 10px!important; border-radius:var(--p-r-sm)!important; border:1px solid var(--p-line)!important; white-space:nowrap!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .customer-password-link:hover{background:var(--p-surface-2)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div .exchange-rates-stack{display:flex!important; flex-direction:row!important; gap:12px!important; font-size:13px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div .exchange-rate-line{display:inline-flex!important; gap:4px!important; background:none!important; padding:0!important; border:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .exchange-code{color:var(--p-text-3)!important; font-weight:500!important; background:none!important; padding:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .exchange-value{color:var(--p-text)!important; font-weight:600!important; background:none!important; padding:0!important; font-variant-numeric:tabular-nums;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.exchange-widget.exchange-stale small{color:var(--p-low)!important;}
/* sepet: belirgin ama sade buton */
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget{
  margin-left:18px!important; padding:0 16px 0 46px!important; border-left:0!important;
  background:var(--p-navy)!important; border-radius:var(--p-r)!important; height:calc(var(--p-header-h) - 18px)!important; align-self:center!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget::before{
  content:""!important; display:block!important; position:absolute!important; left:14px!important; top:50%!important; width:20px!important; height:20px!important; transform:translateY(-50%)!important; background:#fff!important; opacity:1!important; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2.5 3h2.6l2.4 12.1a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2L21.5 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2.5 3h2.6l2.4 12.1a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2L21.5 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget > span:first-child{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget strong{color:#fff!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget small{color:rgba(255,255,255,.75)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget:hover{background:var(--p-navy-2)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget.has-items::after{
  content:""!important; display:block!important; position:absolute!important; left:30px; top:9px; width:9px; height:9px; border-radius:50%;
  background:var(--p-orange)!important; box-shadow:0 0 0 2px var(--p-navy);
}

/* ---------- 4. Ana menü ---------- */
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu{
  display:flex!important; flex-wrap:nowrap!important; align-items:stretch!important; gap:2px!important;
  height:auto!important; min-height:0!important; margin:0!important;
  padding:0 max(16px, calc((100vw - var(--p-max))/2 + 16px))!important;
  background:var(--p-navy)!important; border:0!important; border-radius:0!important; box-shadow:none!important;
  overflow-x:auto!important; scrollbar-width:none!important; position:sticky!important; top:0!important; z-index:40!important;
  max-width:none!important; width:auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu::-webkit-scrollbar{display:none;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile{
  all:unset;
  position:relative!important; box-sizing:border-box!important;
  display:inline-flex!important; flex-direction:row!important; align-items:center!important; gap:8px!important;
  flex:0 0 auto!important; width:auto!important; min-width:0!important; max-width:none!important; height:44px!important;
  padding:0 14px!important; margin:0!important;
  color:rgba(255,255,255,.72)!important; background:transparent!important; border:0!important; border-radius:0!important;
  box-shadow:none!important; cursor:pointer!important; white-space:nowrap!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile.hidden{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile::before{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile b{
  font-size:13px!important; font-weight:500!important; line-height:1.5!important; color:inherit!important;
  overflow:visible!important; padding:0!important; margin:0!important; text-transform:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile .b2b-legacy-icon{
  width:18px!important; height:18px!important; min-width:18px!important; margin:0!important; opacity:.85; filter:none!important;
  background-size:contain!important; border:0!important; box-shadow:none!important; border-radius:0!important; background-color:transparent!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile:hover{color:#fff!important; background:rgba(255,255,255,.06)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile.active{color:#fff!important; background:rgba(255,255,255,.08)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile.active::after{
  content:""!important; display:block!important; position:absolute!important; left:12px; right:12px; bottom:0; height:3px;
  border-radius:3px 3px 0 0; background:var(--p-orange)!important; width:auto!important; transform:none!important; opacity:1!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile:not(.active)::after{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .logout-tile{margin-left:auto!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile:focus-visible{box-shadow:inset 0 0 0 2px var(--p-orange)!important;}

/* premium: açık menü, hap aktif */
html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header{border-bottom:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu{
  background:var(--p-surface)!important; border-bottom:1px solid var(--p-line)!important; padding-top:6px!important; padding-bottom:6px!important; gap:4px!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile{height:38px!important; border-radius:999px!important; color:var(--p-text-2)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile .b2b-legacy-icon{filter:brightness(0) saturate(100%) invert(38%) sepia(10%) saturate(800%) hue-rotate(176deg)!important; opacity:1;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile:hover{background:var(--p-surface-2)!important; color:var(--p-text)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile.active{background:var(--p-navy)!important; color:#fff!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile.active .b2b-legacy-icon{filter:brightness(0) invert(1)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile.active::after{display:none!important;}

/* ---------- 5. İçerik kabı ---------- */
html body[data-theme-preset="modern_hybrid"] #appRoot .content-wrap{
  max-width:var(--p-max)!important; margin:0 auto!important; padding:var(--p-gap) 16px 24px!important; width:auto!important; box-sizing:border-box!important;
  background:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .content-wrap > section{margin-top:0!important; margin-bottom:var(--p-gap)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .footer-line{
  background:none!important; color:var(--p-text-3)!important; font-size:12px!important; border:0!important; padding:16px!important; box-shadow:none!important;
}
/* ortak yüzey */
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.search-board,.grid-panel,.cart-page,.orders-page,.account-page,.home-featured-panel,.requests-page,.purchases-page,.other-page,.campaigns-page){
  background:var(--p-surface)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-lg)!important;
  box-shadow:var(--p-shadow)!important; background-image:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.search-board,.grid-panel,.cart-page,.orders-page,.account-page,.home-featured-panel)::before,
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.search-board,.grid-panel,.cart-page,.orders-page,.account-page,.home-featured-panel)::after{display:none!important;}

/* ortak butonlar */
html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnSearch,#btnHomeSearch,#btnAccountApply,.cart-send-btn){
  background:var(--p-orange)!important; color:var(--p-on-accent)!important; border:0!important; border-radius:var(--p-r)!important;
  font-weight:600!important; box-shadow:none!important; background-image:none!important; text-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnSearch,#btnHomeSearch,#btnAccountApply,.cart-send-btn):hover{background:#F07C0E!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnClearFilters,#btnViewMode,#btnHomeRefresh,#btnOrdersRefresh,#btnOrdersClear,#btnAccountRefresh,.account-secondary-btn,.cart-top-btn,.cart-back-link,.order-detail-btn,.pager-btn,#btnOrdersPrev,#btnOrdersNext,#btnAccountPrev,#btnAccountNext,.cart-row-btn){
  background:var(--p-surface)!important; color:var(--p-text)!important; border:1px solid var(--p-line)!important;
  border-radius:var(--p-r-sm)!important; font-weight:500!important; box-shadow:none!important; background-image:none!important;
  height:34px!important; min-height:0!important; padding:0 12px!important; font-size:13px!important; text-shadow:none!important; width:auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnClearFilters,#btnViewMode,#btnHomeRefresh,#btnOrdersRefresh,#btnOrdersClear,#btnAccountRefresh,.account-secondary-btn,.cart-top-btn,.cart-back-link,.order-detail-btn,.pager-btn,#btnOrdersPrev,#btnOrdersNext,#btnAccountPrev,#btnAccountNext):hover{background:var(--p-surface-2)!important;border-color:#CBD3DE!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(button,.pager-btn):disabled{opacity:.45!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-row-btn.remove{color:var(--p-danger)!important;}

/* ortak form alanları */
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.search-board,.orders-filterbar,.account-filterbar,.cart-page) :is(input[type="text"],input[type="search"],input[type="date"],input:not([type]),select,textarea){
  background:var(--p-surface)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important;
  color:var(--p-text)!important; font-weight:400!important; box-shadow:none!important; background-image:none;
  height:36px!important; min-height:0!important; padding:0 10px!important; font-size:13px!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.search-board,.orders-filterbar,.account-filterbar,.cart-page) select{
  padding-right:30px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536072' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important; background-position:right 8px center!important; background-size:16px!important; -webkit-appearance:none!important; appearance:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot textarea{height:auto!important; padding:8px 10px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-filterbar,.account-filterbar) label > span,
html body[data-theme-preset="modern_hybrid"] #appRoot .filter-row > label{
  font-size:11.5px!important; font-weight:500!important; color:var(--p-text-2)!important; text-transform:none!important; letter-spacing:0!important; margin-bottom:4px!important; display:block!important;
}

/* ---------- 6. Arama alanı ---------- */
html body[data-theme-preset="modern_hybrid"] #appRoot .search-board{padding:14px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .search-board .board-title{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .search-board .board-grid{display:block!important; padding:0!important; margin:0!important; background:none!important; border:0!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .search-board .promo-banner{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .search-center{
  display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; gap:10px 16px!important; padding:0!important; background:none!important; border:0!important; box-shadow:none!important; width:auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .general-search{
  grid-column:1!important; display:flex!important; gap:0!important; align-items:stretch!important; height:44px!important; padding:0!important;
  background:var(--p-surface)!important; border:1.5px solid #C9D2DE!important; border-radius:var(--p-r)!important; box-shadow:none!important; overflow:hidden!important; width:auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .general-search:focus-within{border-color:var(--p-navy-2)!important; box-shadow:0 0 0 3px rgba(3,65,117,.12)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .general-search::before{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .general-search #txtSearch{
  flex:1 1 auto!important; height:100%!important; border:0!important; border-radius:0!important; box-shadow:none!important; outline:none!important;
  font-size:15px!important; font-weight:500!important; padding:0 14px 0 42px!important; background:transparent!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238792A2' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important; background-position:14px center!important; background-size:18px!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .general-search #selSearchHistory{
  flex:0 0 190px!important; width:190px!important; height:100%!important; border:0!important; border-left:1px solid var(--p-line)!important; border-radius:0!important; color:var(--p-text-2)!important; font-size:13px!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .general-search #btnSearch{flex:0 0 auto!important; width:auto!important; padding:0 26px!important; height:100%!important; border-radius:0!important; font-size:14px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .catalog-status{
  grid-column:2!important; grid-row:1!important; align-self:center!important; display:flex!important; align-items:baseline!important; gap:8px!important;
  background:none!important; border:0!important; box-shadow:none!important; padding:0 4px!important; width:auto!important; min-width:0!important; height:auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .catalog-status span{font-size:12px!important; color:var(--p-text-3)!important; font-weight:500!important; text-transform:none!important; letter-spacing:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .catalog-status strong{font-size:14px!important; color:var(--p-text)!important; font-weight:600!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row{
  grid-column:1 / -1!important; display:flex!important; flex-wrap:wrap!important; align-items:center!important; gap:8px!important; padding:0!important; margin:0!important; background:none!important; border:0!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row .flag{
  all:unset; box-sizing:border-box!important; display:inline-flex!important; align-items:center!important; gap:7px!important; height:32px!important; padding:0 12px 0 10px!important;
  border:1px solid var(--p-line)!important; border-radius:999px!important; background:var(--p-surface)!important; color:var(--p-text-2)!important;
  font-size:13px!important; font-weight:500!important; cursor:pointer!important; width:auto!important; flex:0 0 auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row .flag input{width:15px!important; height:15px!important; margin:0!important; accent-color:var(--p-navy)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row .flag:has(input:checked){background:var(--p-navy)!important; border-color:var(--p-navy)!important; color:#fff!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row .flag:has(input:checked) input{accent-color:var(--p-orange)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row #selSort{margin-left:auto!important; width:200px!important; height:32px!important; border-radius:999px!important; padding-left:12px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix{
  grid-column:1 / -1!important; display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)) auto!important; gap:10px!important; padding:10px 0 0!important; margin:0!important;
  background:none!important; border:0!important; border-top:1px solid var(--p-line-2)!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix .filter-row{
  display:block!important; padding:0!important; margin:0!important; background:none!important; border:0!important; box-shadow:none!important; min-width:0!important; width:auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix .filter-row.hidden{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix .filter-row select{width:100%!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix .operations-row > label{visibility:hidden;}
html body[data-theme-preset="modern_hybrid"] #appRoot .operation-buttons{display:flex!important; gap:8px!important; padding:0!important; background:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .operation-buttons button{height:36px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .search-board{padding:18px!important;}

/* ---------- 7. Ürün tablosu ---------- */
html body[data-theme-preset="modern_hybrid"] #appRoot #tableView.grid-panel{padding:0!important; overflow:hidden!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot #tableView .table-scroll{
  max-height:calc(100dvh - 140px)!important; min-height:0; overflow:auto!important; border:0!important; border-radius:0!important; background:none!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid{
  width:100%!important; min-width:0!important; border-collapse:separate!important; border-spacing:0!important; background:var(--p-surface)!important; table-layout:auto!important; font-size:var(--p-fs)!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid thead th{
  position:sticky!important; top:0!important; z-index:3!important;
  height:38px!important; padding:0 10px!important; background:var(--p-surface-2)!important; background-image:none!important;
  color:var(--p-text-2)!important; font-size:12px!important; font-weight:500!important; text-transform:none!important; letter-spacing:0!important;
  border:0!important; border-bottom:1px solid var(--p-line)!important; white-space:nowrap!important; text-align:left; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid thead th:is(.catalog-col-price_list,.catalog-col-price_net,.catalog-col-price_gross,.catalog-col-discount){text-align:right!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid thead th:is(.catalog-col-cart,.catalog-col-image){font-size:0!important; width:40px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid thead th.catalog-col-qty{width:64px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid thead th.catalog-col-stock_badge{width:96px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody tr,
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody tr:nth-child(n){background:var(--p-surface)!important; background-image:none!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody td{
  height:var(--p-row-h)!important; padding:4px 10px!important; background:transparent!important; color:var(--p-text)!important;
  border:0!important; border-bottom:1px solid var(--p-line-2)!important; font-weight:400!important; font-size:var(--p-fs)!important; vertical-align:middle!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody tr:hover td{background:#F5F8FC!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody :is(tr,td,td > *){opacity:1!important; filter:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .code-text{font-weight:600!important; color:var(--p-navy)!important; font-size:var(--p-fs)!important; white-space:nowrap!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .name-text{font-weight:500!important; color:var(--p-text)!important; font-size:var(--p-fs)!important; line-height:1.35!important; text-transform:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .sub-text{font-size:11px!important; color:var(--p-text-3)!important; font-weight:400!important; line-height:1.3!important; margin-top:1px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .sub-text:empty{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid td:is(.catalog-col-unit,.catalog-col-main_oem,[class*="catalog-col-group_name"]){color:var(--p-text-2)!important; font-size:12.5px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid td.catalog-col-price_list{color:var(--p-text-2)!important; text-align:right!important; white-space:nowrap!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid td.catalog-col-price_net{text-align:right!important; white-space:nowrap!important; color:var(--p-text)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid td.catalog-col-price_gross{text-align:right!important; white-space:nowrap!important; font-weight:600!important; color:var(--p-navy-ink)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid td.catalog-col-discount{text-align:right!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .discount-pill{
  background:var(--p-surface-2)!important; color:var(--p-text-2)!important; border:1px solid var(--p-line)!important; border-radius:4px!important;
  font-size:11.5px!important; font-weight:500!important; padding:1px 6px!important; box-shadow:none!important; background-image:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .discount-pill:not(.empty){background:var(--p-ok-soft)!important; color:var(--p-ok)!important; border-color:transparent!important;}
/* miktar + sepete ekle */
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .qty-input{
  width:52px!important; height:30px!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; background:var(--p-surface)!important;
  text-align:center!important; font-weight:500!important; font-size:13px!important; padding:0 4px!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .btn-cart-add{
  width:32px!important; height:30px!important; min-width:0!important; padding:0!important; border:0!important; border-radius:var(--p-r-sm)!important;
  background:var(--p-navy)!important; background-image:none!important; box-shadow:none!important; display:inline-grid!important; place-items:center!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .btn-cart-add .b2b-legacy-icon{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .btn-cart-add::before{
  content:""; width:17px; height:17px; background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3h2.6l2.4 12.1a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2L21.5 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3h2.6l2.4 12.1a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2L21.5 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .btn-cart-add:hover{background:var(--p-orange)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .btn-cart-add:disabled{background:var(--p-line)!important; opacity:1!important;}
/* görsel durum ikonu */
html body[data-theme-preset="modern_hybrid"] #appRoot .image-status{
  width:30px!important; height:30px!important; padding:0!important; border-radius:var(--p-r-sm)!important; border:1px solid var(--p-line)!important;
  background:var(--p-surface)!important; background-image:none!important; box-shadow:none!important; font-size:0!important; color:transparent!important;
  display:inline-grid!important; place-items:center!important; overflow:hidden!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .image-status > *{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .image-status::before{
  content:""; display:block; width:16px; height:16px; background:var(--p-text-3);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-4.5-4.5L5 21'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-4.5-4.5L5 21'/%3E%3C/svg%3E") center/contain no-repeat;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .image-status.has-image::before{background:var(--p-navy-2);}
html body[data-theme-preset="modern_hybrid"] #appRoot .image-status.has-image{border-color:#BFD0E4!important; background:#F2F7FC!important; cursor:pointer!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .image-status.no-image{opacity:.6;}
/* stok rozeti: renkli satır yerine nokta + metin */
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill{
  all:unset; box-sizing:border-box!important; display:inline-flex!important; align-items:center!important; gap:6px!important; height:22px!important; padding:0 8px 0 7px!important;
  border-radius:999px!important; font-size:11.5px!important; font-weight:500!important; white-space:nowrap!important; line-height:1!important;
  background:var(--p-surface-2)!important; color:var(--p-text-2)!important; border:0!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill *{all:unset; font:inherit!important; color:inherit!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill svg,
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill .b2b-legacy-icon,
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill i{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill::before{content:""; width:7px; height:7px; border-radius:50%; background:currentColor; flex:0 0 7px;}
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill.stock-ok{background:var(--p-ok-soft)!important; color:var(--p-ok)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill.stock-low{background:var(--p-low-soft)!important; color:var(--p-low)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill.stock-supply{background:var(--p-sup-soft)!important; color:var(--p-sup)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill.stock-none{background:var(--p-none-soft)!important; color:var(--p-none)!important;}
/* "Sorunuz" (telefonla sor) durumunu nötr yap */
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill.stock-phone{background:var(--p-surface-2)!important; color:var(--p-text-2)!important; box-shadow:inset 0 0 0 1px var(--p-line)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .stock-status-pill.stock-phone::before{
  border-radius:0; width:11px; height:11px; flex-basis:11px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* sepetteki ürün: ince turuncu sol çizgi + rozet */
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody tr.is-in-cart td{background:#FFFAF4!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody tr.is-in-cart td:first-child{box-shadow:inset 3px 0 0 var(--p-orange)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-qty-badge{
  display:inline-flex; align-items:center; gap:4px; margin-left:8px; height:18px; padding:0 7px; border-radius:999px; vertical-align:1px;
  background:var(--p-orange-soft); color:var(--p-orange-ink); font-size:11px; font-weight:600; white-space:nowrap;
}
/* pager */
html body[data-theme-preset="modern_hybrid"] #appRoot footer.pager{
  display:flex!important; justify-content:flex-end!important; align-items:center!important; gap:10px!important; padding:10px 14px!important; margin:0!important;
  background:var(--p-surface)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-lg)!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot footer.pager #pageInfo{font-size:13px!important; color:var(--p-text-2)!important; font-weight:500!important; background:none!important; border:0!important;}
/* premium tablo: daha ferah */

/* ---------- 8. Ana sayfa ---------- */
html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-panel{
  display:grid!important; grid-template-columns:minmax(0,1fr) minmax(360px,560px)!important; align-items:center!important; gap:12px 32px!important;
  min-height:0!important; height:auto!important; padding:22px 26px!important; margin:0 0 var(--p-gap)!important;
  background:var(--p-navy)!important;
  border:0!important; border-radius:var(--p-r-lg)!important; box-shadow:none!important; color:#fff!important; overflow:hidden!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-panel::before,
html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-panel::after{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-copy{padding:0!important; background:none!important; max-width:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-kicker{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot #homeHeroTitle{font-size:22px!important; font-weight:600!important; color:#fff!important; margin:0!important; line-height:1.25!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot #homeHeroSubtitle{font-size:13.5px!important; font-weight:400!important; color:rgba(255,255,255,.72)!important; margin:4px 0 0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-quick-search{
  display:flex!important; gap:0!important; height:48px!important; padding:0!important; margin:0!important; background:#fff!important; border-radius:var(--p-r)!important; overflow:hidden!important; border:0!important; box-shadow:none!important; width:auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-quick-search #homeSearchInput{
  flex:1 1 auto!important; height:100%!important; border:0!important; border-radius:0!important; box-shadow:none!important; outline:none!important; color:var(--p-text)!important;
  font-size:15px!important; font-weight:400!important; padding:0 14px 0 44px!important; background:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238792A2' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important; background-position:15px center!important; background-size:18px!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-quick-search #btnHomeSearch{height:100%!important; width:auto!important; padding:0 26px!important; border-radius:0!important; font-size:14px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-statline{display:none!important;}
/* marka şeridi: eşit kutular */
html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-dynamic{grid-column:1 / -1!important; margin:6px -26px -22px!important; padding:12px 26px!important; background:rgba(0,0,0,.14)!important; width:auto!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .brand-marquee{height:auto!important; padding:0!important; border:0!important; background:none!important; box-shadow:none!important; border-radius:0!important; overflow:hidden!important;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent); mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent);}
html body[data-theme-preset="modern_hybrid"] #appRoot .brand-marquee-track{gap:10px!important; height:auto!important; align-items:center!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .brand-marquee-item{
  flex:0 0 132px!important; width:132px!important; min-width:132px!important; max-width:132px!important; height:52px!important; padding:8px 14px!important;
  background:#fff!important; border:0!important; border-radius:var(--p-r-sm)!important; box-shadow:none!important; display:grid!important; place-items:center!important; box-sizing:border-box!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .brand-marquee-item img{max-width:100%!important; max-height:34px!important; width:auto!important; height:auto!important; min-width:70px; object-fit:contain!important;}
/* öne çıkan ürünler */
html body[data-theme-preset="modern_hybrid"] #appRoot .home-featured-zone{display:block!important; margin:0!important; padding:0!important; background:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-featured-panel{padding:0!important; overflow:hidden!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-section-head{
  display:flex!important; align-items:center!important; justify-content:space-between!important; padding:14px 18px!important; margin:0!important;
  background:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-section-head strong{font-size:16px!important; font-weight:600!important; color:var(--p-text)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-featured-grid{
  display:grid!important; grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important; gap:var(--p-gap)!important; padding:18px!important;
  justify-content:stretch!important; max-width:none!important; margin:0!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-card{
  display:flex!important; flex-direction:column!important; width:auto!important; max-width:none!important; min-width:0!important; height:auto!important; margin:0!important; padding:0!important;
  background:var(--p-surface)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r)!important; box-shadow:none!important; overflow:hidden!important; transform:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-card::before,
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-card::after{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-card:hover{border-color:#C6D0DD!important; box-shadow:var(--p-shadow-lg)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-media-wrap{position:relative!important; padding:0!important; margin:0!important; background:none!important; border:0!important; height:auto!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-image{
  all:unset; box-sizing:border-box!important; display:grid!important; place-items:center!important; width:100%!important; aspect-ratio:4/3!important; height:auto!important;
  background:var(--p-surface-2)!important; border-bottom:1px solid var(--p-line-2)!important; cursor:pointer!important; overflow:hidden!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-image img{max-width:84%!important; max-height:84%!important; object-fit:contain!important; mix-blend-mode:multiply;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-image.no-image > span{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-image.no-image::before{
  content:""; display:block; width:44px; height:44px; background:#C3CBD6;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M2 12h3M19 12h3M4.9 19.1 7 17M17 7l2.1-2.1'/%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M2 12h3M19 12h3M4.9 19.1 7 17M17 7l2.1-2.1'/%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3C/svg%3E") center/contain no-repeat;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-badges{position:absolute!important; top:8px!important; left:8px!important; right:8px!important; display:flex!important; justify-content:space-between!important; gap:6px!important; width:auto!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-badges i{
  all:unset; font-style:normal!important; font-size:11px!important; font-weight:600!important; padding:2px 8px!important; border-radius:999px!important; line-height:1.4!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-stock-chip{background:var(--p-ok-soft)!important; color:var(--p-ok)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-campaign-chip{background:var(--p-orange)!important; color:var(--p-on-accent)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-body{display:flex!important; flex-direction:column!important; gap:6px!important; padding:12px 14px 0!important; background:none!important; border:0!important; flex:1 1 auto!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-code{
  all:unset; font-size:12px!important; font-weight:600!important; color:var(--p-navy-2)!important; letter-spacing:.01em;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-title{
  font-size:14px!important; font-weight:600!important; color:var(--p-text)!important; line-height:1.35!important; text-transform:none!important; min-height:38px!important;
  display:-webkit-box!important; -webkit-line-clamp:2!important; -webkit-box-orient:vertical!important; overflow:hidden!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-meta-grid{display:flex!important; flex-wrap:wrap!important; gap:2px 12px!important; padding:0!important; margin:0!important; background:none!important; border:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-meta-grid > span{all:unset; display:inline-flex!important; gap:4px!important; font-size:12px!important; color:var(--p-text-3)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-meta-grid > span em{font-style:normal!important; font-size:12px!important; color:var(--p-text-3)!important; font-weight:400!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-meta-grid > span b{font-size:12px!important; color:var(--p-text-2)!important; font-weight:500!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-meta-grid > span:nth-child(n+3){display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-footer{padding:10px 14px 14px!important; margin-top:auto!important; background:none!important; border:0!important; display:flex!important; flex-direction:column!important; gap:10px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-pricebox{display:flex!important; flex-wrap:wrap!important; align-items:baseline!important; gap:2px 8px!important; padding:0!important; background:none!important; border:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-pricebox small{width:100%!important; font-size:11.5px!important; color:var(--p-orange-ink)!important; font-weight:500!important; text-transform:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-pricebox b{font-size:19px!important; font-weight:700!important; color:var(--p-navy-ink)!important; font-variant-numeric:tabular-nums;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-pricebox span{font-size:12px!important; color:var(--p-text-3)!important; font-weight:400!important; text-decoration:line-through;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-actions{display:grid!important; grid-template-columns:64px 1fr!important; grid-template-areas:"qty cart" "det det"!important; gap:8px!important; padding:0!important; background:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-qty-wrap{grid-area:qty!important; all:unset; display:block!important; padding:0!important; margin:0!important; background:none!important; border:0!important; width:auto!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-qty-wrap span{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-qty{width:100%!important; height:36px!important; box-sizing:border-box!important; text-align:center!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; font-size:14px!important; font-weight:500!important; background:#fff!important; padding:0!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-cart{grid-area:cart!important; height:36px!important; width:100%!important; border:0!important; border-radius:var(--p-r-sm)!important; background:var(--p-navy)!important; background-image:none!important; color:#fff!important; font-size:13px!important; font-weight:600!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-cart:hover{background:var(--p-orange)!important; color:var(--p-on-accent)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-detail{grid-area:det!important; all:unset; grid-area:det!important; text-align:center!important; font-size:12.5px!important; font-weight:500!important; color:var(--p-navy-2)!important; cursor:pointer!important; padding:2px 0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-detail:hover{text-decoration:underline!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-announcements-panel{background:var(--p-surface)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-lg)!important; box-shadow:none!important;}

/* ---------- 9. Sayfa başlıkları (sepet / sipariş / cari) ---------- */
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-page,.orders-page,.account-page){padding:0!important; overflow:hidden!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-page-head,.orders-page-head,.account-head){
  display:flex!important; align-items:center!important; justify-content:space-between!important; gap:16px!important; flex-wrap:wrap!important;
  min-height:0!important; height:auto!important; padding:16px 20px!important; margin:0!important;
  background:none!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important; color:var(--p-text)!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-page-head,.orders-page-head,.account-head)::before,
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-page-head,.orders-page-head,.account-head)::after{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-kicker,.account-kicker){display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-page-head,.orders-page-head,.account-head) strong{font-size:18px!important; font-weight:600!important; color:var(--p-text)!important; display:block!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-page-head,.account-head) :is(em,small){font-style:normal!important; font-size:13px!important; color:var(--p-text-2)!important; font-weight:400!important; display:block!important; margin-top:2px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-page-head{display:grid!important; grid-template-columns:auto 1fr auto!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-page-head #cartPageSub{font-size:13px!important; color:var(--p-text-2)!important; font-weight:400!important; grid-column:2!important; grid-row:1!important; justify-self:start!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-page-head #btnCartBack{grid-column:3!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .account-head-actions{display:flex!important; gap:8px!important; align-items:center!important; flex-wrap:wrap!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .account-mode-tabs{display:inline-flex!important; padding:3px!important; gap:2px!important; background:var(--p-surface-2)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r)!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .account-mode-tab{all:unset; height:30px!important; padding:0 14px!important; border-radius:calc(var(--p-r) - 3px)!important; font-size:13px!important; font-weight:500!important; color:var(--p-text-2)!important; cursor:pointer!important; display:inline-grid!important; place-items:center!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .account-mode-tab.active{background:var(--p-surface)!important; color:var(--p-text)!important; box-shadow:0 1px 2px rgba(16,24,40,.08)!important; font-weight:600!important;}
/* filtre çubukları */
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-filterbar,.account-filterbar){
  display:flex!important; flex-wrap:wrap!important; align-items:flex-end!important; gap:10px!important; padding:14px 20px!important; margin:0!important;
  background:var(--p-surface-2)!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-filterbar,.account-filterbar) > label{margin:0!important; padding:0!important; background:none!important; border:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-search-field,.account-search-field){flex:1 1 260px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-search-field,.account-search-field) input{width:100%!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot #btnAccountApply{height:36px!important; padding:0 18px!important; width:auto!important;}
/* KPI şeritleri */
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon){
  display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:0!important; padding:0!important; margin:0!important;
  background:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; box-shadow:none!important; border-radius:0!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) > div{
  padding:14px 20px!important; margin:0!important; background:none!important; background-image:none!important; border:0!important; border-left:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important; min-height:0!important; color:var(--p-text)!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) > div:first-child{border-left:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) > div::before,
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) > div::after{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) span{font-size:12px!important; color:var(--p-text-2)!important; font-weight:500!important; text-transform:none!important; letter-spacing:0!important; display:block!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) strong{font-size:20px!important; font-weight:600!important; color:var(--p-text)!important; margin-top:2px!important; display:block!important; font-variant-numeric:tabular-nums;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-premium-ribbon > div.grand strong{color:var(--p-navy)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-premium-ribbon > div.grand{background:var(--p-orange-soft)!important;}
/* kart özet kutuları (cari) */
html body[data-theme-preset="modern_hybrid"] #appRoot .account-body [class*="summary"] > div,
html body[data-theme-preset="modern_hybrid"] #appRoot .account-body [class*="kpi"] > div{background:var(--p-surface)!important; background-image:none!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r)!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .account-body [class*="summary"] > div::before,
html body[data-theme-preset="modern_hybrid"] #appRoot .account-body [class*="summary"] > div::after{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .account-body{padding:16px 20px!important;}

/* ortak veri tabloları */
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-table-wrap,.orders-table-wrap,.account-body .table-wrap,.account-body [class*="table-wrap"]){
  margin:0!important; padding:0!important; background:none!important; border:0!important; border-radius:0!important; box-shadow:none!important; overflow:auto!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .orders-table-wrap{margin:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(table.cart-table,table.orders-table,.account-body table){
  width:100%!important; border-collapse:separate!important; border-spacing:0!important; background:var(--p-surface)!important; border:0!important; border-radius:0!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(table.cart-table,table.orders-table,.account-body table) thead th{
  height:38px!important; padding:0 14px!important; background:var(--p-surface-2)!important; background-image:none!important; color:var(--p-text-2)!important;
  font-size:12px!important; font-weight:500!important; text-transform:none!important; letter-spacing:0!important; border:0!important; border-bottom:1px solid var(--p-line)!important; box-shadow:none!important; white-space:nowrap!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(table.cart-table,table.orders-table,.account-body table) tbody td{
  padding:10px 14px!important; height:auto!important; background:var(--p-surface)!important; color:var(--p-text)!important; font-size:13px!important; font-weight:400!important;
  border:0!important; border-bottom:1px solid var(--p-line-2)!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(table.cart-table,table.orders-table) tbody tr:hover td{background:#F8FAFD!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-code,.orders-no){color:var(--p-navy)!important; font-weight:600!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-name{font-weight:500!important; color:var(--p-text)!important; text-transform:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-meta{font-size:11.5px!important; color:var(--p-text-3)!important; font-weight:400!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .orders-customer-code{font-weight:600!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .orders-customer-name{font-size:12px!important; color:var(--p-text-3)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-line-qty{width:60px!important; height:32px!important; text-align:center!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-select-pill{all:unset; display:inline-grid!important; place-items:center!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-select-pill input,
html body[data-theme-preset="modern_hybrid"] #appRoot #cartCheckAll{width:16px!important; height:16px!important; accent-color:var(--p-navy)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .order-status{
  all:unset; display:inline-flex!important; align-items:center!important; gap:6px!important; height:22px!important; padding:0 9px!important; border-radius:999px!important;
  font-size:12px!important; font-weight:500!important; background:var(--p-surface-2)!important; color:var(--p-text-2)!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .order-status::before{content:""; width:7px; height:7px; border-radius:50%; background:currentColor;}
html body[data-theme-preset="modern_hybrid"] #appRoot .order-status.ok{background:var(--p-ok-soft)!important; color:var(--p-ok)!important;}
/* sepet bilgi/uyarı */
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-action-top{display:flex!important; justify-content:flex-end!important; gap:8px!important; padding:12px 20px!important; margin:0!important; background:none!important; border:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-top-btn.green{color:var(--p-ok)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-info-box{
  margin:0 20px 12px!important; padding:10px 14px!important; display:flex!important; align-items:center!important; gap:10px!important; min-height:0!important;
  background:var(--p-sup-soft)!important; border:0!important; border-radius:var(--p-r)!important; box-shadow:none!important; color:#1E3A6E!important; font-size:13px!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-info-box *{font-weight:400!important; font-size:13px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-info-box b{font-weight:600!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-info-icon{width:22px!important; height:22px!important; min-width:22px!important; font-size:12px!important; background:var(--p-sup)!important; color:#fff!important; border-radius:50%!important; display:grid!important; place-items:center!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-warn-line{
  margin:12px 20px!important; padding:10px 14px!important; background:var(--p-low-soft)!important; border:0!important; border-radius:var(--p-r)!important; color:#7A3E06!important; font-size:13px!important; font-weight:400!important; box-shadow:none!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-bottom-grid{display:grid!important; grid-template-columns:1fr 1.2fr 1fr .85fr!important; gap:var(--p-gap)!important; padding:0 20px 20px!important; margin:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-box{background:var(--p-surface)!important; background-image:none!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r)!important; box-shadow:none!important; overflow:hidden!important; margin:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-box-title{
  padding:10px 14px!important; height:auto!important; background:var(--p-surface-2)!important; background-image:none!important; color:var(--p-text)!important;
  font-size:13px!important; font-weight:600!important; text-transform:none!important; letter-spacing:0!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-box-body{padding:12px 14px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-box-body select{width:100%!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-delivery-hint,.cart-note-foot,.cart-selection-note){font-size:12px!important; color:var(--p-text-3)!important; font-weight:400!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row{display:flex!important; justify-content:space-between!important; align-items:center!important; padding:5px 0!important; border:0!important; background:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row span{font-size:13px!important; color:var(--p-text-2)!important; font-weight:400!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row span em{font-style:normal!important; font-size:11px!important; color:var(--p-text-3)!important; display:block!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row strong{background:none!important; border:0!important; box-shadow:none!important; padding:0!important; font-size:14px!important; font-weight:500!important; color:var(--p-text)!important; font-variant-numeric:tabular-nums;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row.grand{border-top:1px solid var(--p-line)!important; margin-top:6px!important; padding-top:10px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row.grand strong{font-size:18px!important; font-weight:700!important; color:var(--p-navy)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-send-btn{width:100%!important; height:46px!important; font-size:15px!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-send-btn.needs-delivery{background:var(--p-surface-2)!important; color:var(--p-text-2)!important; border:1px dashed #C9D2DE!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-state-box,.account-state-box){border:0!important; background:none!important; color:var(--p-text-3)!important; font-weight:400!important; padding:28px!important; margin:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-pager,.account-pager){display:flex!important; justify-content:flex-end!important; align-items:center!important; gap:10px!important; padding:12px 20px!important; margin:0!important; background:none!important; border:0!important; border-top:1px solid var(--p-line-2)!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(#ordersPageInfo,#accountPageInfo){font-size:13px!important; color:var(--p-text-2)!important; font-weight:500!important;}

/* ---------- 10. Giriş ekranı ---------- */
html body[data-theme-preset="modern_hybrid"] .login-screen{font-family:var(--p-font)!important;}
/* admin > Login arka plan görseli tanımlıysa korunur; yoksa nötr preset zemini */
html body[data-theme-preset="modern_hybrid"]:not([data-has-login-bg="1"]) .login-screen{background:var(--p-bg)!important; background-image:none!important;}
html body[data-theme-preset="modern_hybrid"] .login-screen *{font-family:var(--p-font)!important;}
html body[data-theme-preset="modern_hybrid"] .login-card{border:1px solid var(--p-line)!important; border-radius:var(--p-r-lg)!important; box-shadow:var(--p-shadow-lg)!important; background:#fff!important;}
html body[data-theme-preset="modern_hybrid"] .login-brand h1{color:var(--p-navy)!important; font-weight:700!important; letter-spacing:-.01em!important;}
html body[data-theme-preset="modern_hybrid"] .login-brand p{font-weight:400!important; color:var(--p-text-2)!important;}
html body[data-theme-preset="modern_hybrid"] .login-logo{background:var(--p-navy)!important; font-weight:700!important;}
html body[data-theme-preset="modern_hybrid"] .login-field label{font-weight:500!important; color:var(--p-text-2)!important; font-size:12.5px!important;}
html body[data-theme-preset="modern_hybrid"] .login-field input{border-color:var(--p-line)!important; border-radius:var(--p-r)!important; height:46px!important; font-size:15px!important;}
html body[data-theme-preset="modern_hybrid"] .login-field input:focus{border-color:var(--p-navy-2)!important; box-shadow:0 0 0 3px rgba(3,65,117,.12)!important;}
html body[data-theme-preset="modern_hybrid"] .login-submit{background:var(--p-orange)!important; color:var(--p-on-accent)!important; border-radius:var(--p-r)!important; font-weight:600!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] .remember-line{font-weight:400!important;}
html body[data-theme-preset="modern_hybrid"] .login-hero{border-radius:var(--p-r-lg)!important; box-shadow:none!important; border:0!important;}

/* ---------- 11. Mobil alt navigasyon + menü çekmecesi (prototip JS ile eklenir) ---------- */
.mh-bottom-nav,.mh-sheet,.mh-sheet-backdrop,.mh-filter-toggle{display:none;}

/* =====================================================================
   12. MOBİL (≤ 760px)
   ===================================================================== */
@media (max-width:768px){
  html body[data-theme-preset="modern_hybrid"]{--p-fs:14px; --p-header-h:52px;}
  html body[data-theme-preset="modern_hybrid"] #appRoot{padding-bottom:calc(64px + env(safe-area-inset-bottom))!important;}

  /* üst menü mobilde gizli: alt navigasyon devralır */
  html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu{display:none!important;}

  html body[data-theme-preset="modern_hybrid"] #appRoot .content-wrap{padding:12px 12px 16px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .footer-line{display:none!important;}

  /* alt navigasyon */
  html body[data-theme-preset="modern_hybrid"] .mh-bottom-nav{
    display:grid; grid-template-columns:repeat(5,1fr); position:fixed; left:0; right:0; bottom:0; z-index:90;
    height:calc(60px + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom);
    background:rgba(255,255,255,.96); -webkit-backdrop-filter:saturate(1.6) blur(12px); backdrop-filter:saturate(1.6) blur(12px);
    border-top:1px solid var(--p-line); font-family:var(--p-font);
  }
  html body[data-theme-preset="modern_hybrid"] .mh-bottom-nav button{
    all:unset; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; cursor:pointer;
    color:var(--p-text-3); font-size:11px; font-weight:500; -webkit-tap-highlight-color:transparent;
  }
  html body[data-theme-preset="modern_hybrid"] .mh-bottom-nav button svg{width:23px; height:23px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
  html body[data-theme-preset="modern_hybrid"] .mh-bottom-nav button.active{color:var(--p-navy);}
  html body[data-theme-preset="modern_hybrid"] .mh-bottom-nav button.active svg{stroke-width:2.2;}
  html body[data-theme-preset="modern_hybrid"] .mh-bottom-nav button.active::before{content:""; position:absolute; top:0; left:30%; right:30%; height:3px; border-radius:0 0 3px 3px; background:var(--p-orange);}
  html body[data-theme-preset="modern_hybrid"] .mh-bottom-nav .mh-nav-badge{
    position:absolute; top:6px; left:calc(50% + 6px); min-width:18px; height:18px; padding:0 5px; box-sizing:border-box; border-radius:999px;
    background:var(--p-orange); color:var(--p-on-accent); font-size:10.5px; font-weight:700; display:grid; place-items:center; box-shadow:0 0 0 2px #fff;
  }
  /* "Diğer" çekmecesi */
  html body[data-theme-preset="modern_hybrid"] .mh-sheet-backdrop.open{display:block; position:fixed; inset:0; background:rgba(11,35,64,.38); z-index:95;}
  html body[data-theme-preset="modern_hybrid"] .mh-sheet.open{
    display:block; position:fixed; left:0; right:0; bottom:0; z-index:96; background:#fff; border-radius:16px 16px 0 0; padding:8px 16px calc(16px + env(safe-area-inset-bottom));
    font-family:var(--p-font); box-shadow:0 -10px 30px rgba(11,35,64,.15);
  }
  html body[data-theme-preset="modern_hybrid"] .mh-sheet .mh-sheet-grip{width:36px; height:4px; border-radius:4px; background:#D5DBE3; margin:4px auto 12px;}
  html body[data-theme-preset="modern_hybrid"] .mh-sheet h4{margin:0 4px 8px; font-size:13px; font-weight:500; color:var(--p-text-3);}
  html body[data-theme-preset="modern_hybrid"] .mh-sheet .mh-sheet-list{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
  html body[data-theme-preset="modern_hybrid"] .mh-sheet button{
    all:unset; display:flex; align-items:center; gap:10px; height:48px; padding:0 12px; border:1px solid var(--p-line); border-radius:12px; font-size:14px; font-weight:500; color:var(--p-text); cursor:pointer;
  }
  html body[data-theme-preset="modern_hybrid"] .mh-sheet button .b2b-legacy-icon{width:20px!important; height:20px!important; filter:brightness(0) saturate(100%) invert(18%) sepia(60%) saturate(1500%) hue-rotate(190deg); background-size:contain!important;}
  html body[data-theme-preset="modern_hybrid"] .mh-sheet button.logout{color:var(--p-danger); grid-column:1 / -1; justify-content:center;}

  /* arama: yapışkan, tek satır */
  html body[data-theme-preset="modern_hybrid"] #appRoot .search-board{padding:10px!important; border-radius:var(--p-r-lg)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .search-center{grid-template-columns:1fr!important; gap:8px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .general-search{height:46px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .general-search #selSearchHistory{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .general-search #txtSearch{font-size:16px!important; padding-left:40px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .general-search #btnSearch{padding:0 18px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .catalog-status{grid-column:1!important; grid-row:auto!important; order:5; padding:2px 2px 0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row{flex-wrap:nowrap!important; overflow-x:auto!important; scrollbar-width:none!important; margin:0 -10px!important; padding:0 10px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row::-webkit-scrollbar{display:none;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row .flag{height:34px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row #selSort{flex:0 0 auto!important; width:170px!important; margin-left:0!important; height:34px!important;}
  html body[data-theme-preset="modern_hybrid"] .mh-filter-toggle{
    all:unset; display:inline-flex!important; align-items:center; gap:6px; flex:0 0 auto; height:34px; padding:0 12px; border-radius:999px; box-sizing:border-box;
    border:1px solid var(--p-line); background:#fff; font-size:13px; font-weight:500; color:var(--p-text); cursor:pointer; font-family:var(--p-font);
  }
  html body[data-theme-preset="modern_hybrid"] .mh-filter-toggle svg{width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix{display:none!important; grid-template-columns:1fr 1fr!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .search-board.mh-filters-open .filter-matrix{display:grid!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix .operations-row{grid-column:1 / -1!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix .operations-row > label{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .operation-buttons button{flex:1 1 0!important; height:40px!important;}

  /* ürün tablosu → ürün kartları */
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] #tableView.grid-panel{background:none!important; border:0!important; box-shadow:none!important; overflow:visible!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] #tableView .table-scroll{max-height:none!important; min-height:0!important; overflow:visible!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid,
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody{display:block!important; width:100%!important; background:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid thead{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody tr,
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody tr:nth-child(n){
    display:grid!important; grid-template-columns:repeat(12,minmax(0,1fr))!important; column-gap:8px!important; row-gap:6px!important; align-items:center!important;
    margin:0 0 10px!important; padding:12px 14px 14px!important; background:var(--p-surface)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-lg)!important;
    position:relative!important; box-shadow:var(--p-shadow)!important; width:auto!important; height:auto!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody td,
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody tr:hover td{
    display:block!important; grid-column:1 / -1; height:auto!important; min-height:0!important; padding:0!important; border:0!important; background:none!important; text-align:left!important; width:auto!important; box-shadow:none!important; min-width:0!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody td[data-label]:not(.catalog-col-product_code):not(.catalog-col-product_name):not(.catalog-col-stock_badge):not(.catalog-col-qty):not(.catalog-col-cart):not(.catalog-col-image)::before{
    content:attr(data-label); display:block; font-size:11px; font-weight:400; color:var(--p-text-3); line-height:1.3; margin-bottom:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-product_code{grid-column:1 / 8!important; grid-row:1!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-image{grid-column:8 / 9!important; grid-row:1!important; justify-self:end!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-stock_badge{grid-column:9 / 13!important; grid-row:1!important; justify-self:end!important; text-align:right!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-product_name{grid-column:1 / -1!important; grid-row:2!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-main_oem{grid-column:1 / 6!important; grid-row:3!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td[class*="catalog-col-group_name"]{grid-column:6 / 10!important; grid-row:3!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-unit{grid-column:10 / 13!important; grid-row:3!important; text-align:right!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_list{grid-column:1 / 4!important; grid-row:4!important; text-align:left!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-discount{grid-column:4 / 6!important; grid-row:4!important; text-align:left!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_net{grid-column:6 / 9!important; grid-row:4!important; text-align:left!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_gross{grid-column:9 / 13!important; grid-row:4!important; text-align:right!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-qty{grid-column:1 / 5!important; grid-row:5!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-cart{grid-column:5 / 13!important; grid-row:5!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td:is(.catalog-col-price_list,.catalog-col-discount,.catalog-col-price_net,.catalog-col-price_gross){padding-top:8px!important; border-top:1px solid var(--p-line-2)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-qty,
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-cart{margin-top:4px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid .code-text{font-size:13px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid .name-text{font-size:15px!important; font-weight:600!important; line-height:1.3!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td:is(.catalog-col-main_oem,.catalog-col-unit,[class*="catalog-col-group_name"]){font-size:13px!important; color:var(--p-text)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_gross{font-size:17px!important; font-weight:700!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_gross::before{text-align:right;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_list,
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_net{font-size:13px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid .qty-input{width:100%!important; height:44px!important; font-size:16px!important; border-radius:var(--p-r)!important; box-sizing:border-box!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid .btn-cart-add{width:100%!important; height:44px!important; border-radius:var(--p-r)!important; display:flex!important; gap:8px!important; justify-content:center!important; align-items:center!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid .btn-cart-add::after{content:"Sepete Ekle"; color:#fff; font-size:14px; font-weight:600;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid .btn-cart-add:disabled::after{content:"Stokta yok"; color:var(--p-text-2);}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid .btn-cart-add:disabled::before{background:var(--p-text-3);}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody tr.is-in-cart{border-color:#F8C99A!important; box-shadow:inset 3px 0 0 var(--p-orange), var(--p-shadow)!important; background:#FFFCF8!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody tr.is-in-cart td:first-child{box-shadow:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] footer.pager{justify-content:space-between!important;}

  /* ana sayfa */
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-panel{grid-template-columns:1fr!important; padding:16px!important; gap:12px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot #homeHeroTitle{font-size:19px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot #homeHeroSubtitle{font-size:13px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-quick-search{height:46px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-quick-search #homeSearchInput{font-size:16px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-quick-search #btnHomeSearch{padding:0 18px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-dynamic{margin:4px -16px -16px!important; padding:10px 16px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .brand-marquee-item{flex-basis:104px!important; width:104px!important; min-width:104px!important; max-width:104px!important; height:44px!important; padding:6px 10px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .brand-marquee-item img{max-height:28px!important; min-width:56px;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-featured-grid{grid-template-columns:1fr 1fr!important; gap:10px!important; padding:12px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-body{padding:10px 10px 0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-footer{padding:8px 10px 10px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-title{font-size:13.5px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-meta-grid > span:nth-child(2){display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-pricebox b{font-size:17px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-actions{grid-template-columns:52px 1fr!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-qty,
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-cart{height:40px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-cart{font-size:0!important; position:relative!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-cart::after{content:"Ekle"; font-size:14px; font-weight:600;}

  /* sayfa başlıkları */
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-page-head,.orders-page-head,.account-head){padding:14px 14px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .cart-page-head{grid-template-columns:1fr auto!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .cart-page-head #cartPageSub{grid-column:1 / -1!important; grid-row:2!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .cart-page-head #btnCartBack{grid-column:2!important; grid-row:1!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .account-head-actions{width:100%!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .account-mode-tabs{width:100%!important; display:grid!important; grid-template-columns:1fr 1fr!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .account-head-actions > button{flex:1 1 0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-filterbar,.account-filterbar){padding:12px 14px!important; display:grid!important; grid-template-columns:1fr 1fr!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-filterbar,.account-filterbar) > label{min-width:0!important; width:auto!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-filterbar,.account-filterbar) :is(input,select){width:100%!important; height:42px!important; font-size:16px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-search-field,.account-search-field){grid-column:1 / -1!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnOrdersClear,#btnAccountApply){grid-column:1 / -1!important; width:100%!important; height:42px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon){grid-template-columns:1fr 1fr!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) > div{padding:12px 14px!important; border-top:1px solid var(--p-line-2)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) > div:nth-child(odd){border-left:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) > div:nth-child(-n+2){border-top:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon) strong{font-size:17px!important;}

  /* genel tablolar → etiketli kartlar */
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table),
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody{display:block!important; background:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) thead{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody tr{
    display:block!important; margin:12px 14px!important; padding:6px 14px!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-lg)!important; background:var(--p-surface)!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody td{
    display:flex!important; justify-content:space-between!important; align-items:center!important; gap:12px!important; padding:8px 0!important; text-align:right!important; width:auto!important; height:auto!important; background:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody td:last-child{border-bottom:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody td[data-label]::before{
    content:attr(data-label); flex:0 0 auto; font-size:12.5px; color:var(--p-text-3); font-weight:400; text-align:left;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody td[colspan]{justify-content:center!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody td[colspan]::before{display:none;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody td > *{min-width:0;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-product-cell,
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .orders-table td:nth-child(2){flex-direction:column!important; align-items:flex-start!important; text-align:left!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-product-cell::before,
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .orders-table td:nth-child(2)::before{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-name{font-size:15px!important; font-weight:600!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-line-qty{height:42px!important; width:80px!important; font-size:16px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-bottom-grid{grid-template-columns:1fr!important; padding:0 14px 16px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-action-top{padding:10px 14px!important; flex-wrap:wrap!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-action-top button{flex:1 1 auto!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-info-box,
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-warn-line{margin:10px 14px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .account-body{padding:12px 0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(.orders-pager,.account-pager){justify-content:space-between!important; padding:12px 14px!important;}

  /* sabit alanlar ve legacy alt temsilci kartı */
  html body[data-theme-preset="modern_hybrid"] #appRoot ~ .mobile-rep-footer,
  html body[data-theme-preset="modern_hybrid"] .mobile-sales-rep-dock,
  html body[data-theme-preset="modern_hybrid"] #appRoot > .representative-widget{display:none!important;}

  /* premium mobil: daha yumuşak kart, daha büyük dokunma */
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody tr{padding:14px 16px 16px!important; margin-bottom:12px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid .name-text{font-size:16px!important;}
}

/* ---------- 17. Header: tablet ve mobil (≤1180px) iki satır ---------- */
@media (max-width:1180px){
  /* header: logo + sepet, altında kaydırılabilir bilgi çipleri */
  html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header{
    display:grid!important; grid-template-columns:1fr!important; height:auto!important; gap:0!important; padding:0!important;
    position:sticky!important; top:0!important; z-index:50!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header .logo-area{min-height:48px!important; max-height:none!important; height:48px!important; display:flex!important; align-items:center!important; justify-content:flex-start!important; padding:0 16px!important; margin:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header .brand-logo-image{height:30px!important; max-width:140px!important; margin:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets{
    justify-content:flex-start!important; overflow-x:auto!important; scrollbar-width:none!important; gap:6px!important; padding:0 16px 8px!important; margin:0!important; width:auto!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets::-webkit-scrollbar{display:none;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div{
    flex:0 0 auto!important; display:flex!important; flex-direction:row!important; align-items:center!important; gap:6px!important; height:32px!important; padding:0 11px!important;
    border:1px solid var(--p-line)!important; border-radius:999px!important; background:var(--p-surface-2)!important; max-width:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div > span:first-child,
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div > span#activeCustomerLabel{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div strong{font-size:12.5px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div small{font-size:12px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget{max-width:none!important; padding-right:11px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget .customer-title-line{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget .balance-line{color:var(--p-text-2)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-card-actions{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.representative-widget small{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.representative-widget::before{content:"Temsilci"!important; display:block!important; position:static!important; font-size:12px; color:var(--p-text-3);}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.exchange-widget small{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div .exchange-rates-stack{gap:8px!important; font-size:12.5px!important;}
  /* sepet butonu header sağ üstte */
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget{
    position:absolute!important; top:8px!important; right:16px!important; height:32px!important; margin:0!important; padding:0 12px 0 36px!important;
    border-radius:999px!important; background:var(--p-navy)!important; border:0!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget::before{left:11px!important; width:17px!important; height:17px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget::after{left:24px!important; top:5px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget small{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget strong{color:#fff!important; font-size:13px!important;}

}
@media (min-width:769px) and (max-width:1180px){
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div > span:first-child,
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div > span#activeCustomerLabel{display:inline!important; margin-right:2px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-context-widget .customer-title-line{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget{padding-right:6px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-card-actions{display:flex!important; position:static!important; transform:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-password-link{padding:2px 8px!important; font-size:12px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.representative-widget::before{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix .operations-row{grid-column:1 / -1!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .filter-matrix .operations-row > label{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .cart-bottom-grid{grid-template-columns:1fr 1fr!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-hero-panel{grid-template-columns:1fr!important;}
}

/* ---------- 13. Ürün detay penceresi ---------- */
html body[data-theme-preset="modern_hybrid"] .product-image-card{border-radius:var(--p-r-lg)!important; border:0!important; box-shadow:0 24px 64px rgba(11,35,64,.28)!important; font-family:var(--p-font)!important; background:#fff!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-card *{font-family:var(--p-font)!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-backdrop{background:rgba(11,35,64,.45)!important; -webkit-backdrop-filter:blur(3px)!important; backdrop-filter:blur(3px)!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-head .detail-code{font-size:13px!important; font-weight:600!important; color:var(--p-navy-2)!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-head .detail-title{font-size:20px!important; font-weight:600!important; color:var(--p-text)!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-main{background:var(--p-surface-2)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r)!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-info-list{border:1px solid var(--p-line)!important; border-radius:var(--p-r)!important; background:#fff!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-info-list > *{border-bottom:1px solid var(--p-line-2)!important; font-size:13px!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-info-list > * > *:first-child{color:var(--p-text-2)!important; font-weight:400!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-info-list > * > *:last-child{color:var(--p-text)!important; font-weight:600!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-qty-row{border:1px solid var(--p-line)!important; border-radius:var(--p-r)!important; box-shadow:none!important; background:#fff!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-zoom-row button{background:#fff!important; background-image:none!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; box-shadow:none!important; font-weight:500!important; color:var(--p-text)!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-action{border-radius:var(--p-r)!important; box-shadow:none!important; background-image:none!important; font-weight:600!important; height:44px!important; font-size:14px!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-action.primary{background:var(--p-orange)!important; color:var(--p-on-accent)!important; border:0!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-action.secondary{background:#fff!important; color:var(--p-navy)!important; border:1px solid #BFD0E4!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-action.ghost{background:transparent!important; color:var(--p-text-2)!important; border:0!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-close{border-radius:var(--p-r-sm)!important; background:var(--p-surface-2)!important; border:1px solid var(--p-line)!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] .product-image-card .stock-status-pill,
html body[data-theme-preset="modern_hybrid"] .product-image-head .stock-status-pill{font-family:var(--p-font)!important;}

/* ---------- 15. MOBİL GRID (varsayılan; admin: *.mobile_view = grid) ---------- */
@media (max-width:768px){
  html body[data-theme-preset="modern_hybrid"] #appRoot{overflow-x:clip!important; max-width:100vw!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.content-wrap, .content-wrap > section, .content-wrap > footer, #tableView, .table-scroll, .orders-body, #ordersBody, .cart-page, #cartPageBody, .account-page, #accountBody, .cart-table-wrap, .orders-table-wrap){
    min-width:0!important; max-width:100%!important; box-sizing:border-box!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .content-wrap{width:100%!important; display:block!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) #tableView.grid-panel{padding:0!important; overflow:hidden!important; border-radius:var(--p-r-lg)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) #tableView .table-scroll{
    max-height:calc(100dvh - 210px)!important; min-height:0!important; overflow:auto!important; -webkit-overflow-scrolling:touch; overscroll-behavior:contain;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid{width:max-content!important; min-width:100%!important; font-size:12.5px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid thead th{height:34px!important; padding:0 8px!important; font-size:11.5px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid tbody td{height:44px!important; padding:4px 8px!important; font-size:12.5px!important; white-space:nowrap!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .name-text{white-space:normal!important; width:190px!important; font-size:12.5px!important; line-height:1.3!important;
    display:-webkit-box!important; -webkit-line-clamp:2!important; -webkit-box-orient:vertical!important; overflow:hidden!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .sub-text{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .code-text{font-size:12.5px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(td,th).catalog-col-product_code{
    position:sticky!important; left:0!important; z-index:2!important; background:var(--p-surface)!important; box-shadow:1px 0 0 var(--p-line), 6px 0 8px -6px rgba(16,24,40,.18)!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid th.catalog-col-product_code{z-index:4!important; background:var(--p-surface-2)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid tbody tr.is-in-cart td.catalog-col-product_code{background:#FFFAF4!important; box-shadow:inset 3px 0 0 var(--p-orange), 1px 0 0 var(--p-line), 6px 0 8px -6px rgba(16,24,40,.18)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .cart-qty-badge{display:flex!important; margin:2px 0 0!important; width:max-content;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .qty-input{width:46px!important; height:34px!important; font-size:14px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .btn-cart-add{width:38px!important; height:34px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid td.catalog-col-price_gross{font-size:13.5px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .mobile-hidden-col{display:none!important;}
  /* öncelik sırası: kod → ad → KDV'li fiyat → stok → miktar → sepet → diğerleri */
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(thead,tbody){display:block!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid tr{display:flex!important; width:max-content!important; min-width:100%!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td){flex:0 0 100px!important; order:50!important; min-width:0!important; max-width:none!important; width:auto!important; display:flex!important; align-items:center!important; box-sizing:border-box!important; overflow:hidden;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-product_code{order:1!important; flex-basis:100px!important; flex-direction:column!important; align-items:flex-start!important; justify-content:center!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-product_name{order:2!important; flex-basis:172px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-price_gross{order:3!important; flex-basis:94px!important; justify-content:flex-end!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-stock_badge{order:4!important; flex-basis:100px!important; justify-content:center!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-qty{order:5!important; flex-basis:60px!important; justify-content:center!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-cart{order:6!important; flex-basis:50px!important; justify-content:center!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-image{order:7!important; flex-basis:46px!important; justify-content:center!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-price_net{order:8!important; flex-basis:92px!important; justify-content:flex-end!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-discount{order:9!important; flex-basis:58px!important; justify-content:flex-end!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-price_list{order:10!important; flex-basis:92px!important; justify-content:flex-end!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-main_oem{order:11!important; flex-basis:112px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td)[class*="catalog-col-group_name"]{order:12!important; flex-basis:92px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-unit{order:13!important; flex-basis:62px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid thead th:is(.catalog-col-cart,.catalog-col-image){font-size:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .name-text{width:auto!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid td.catalog-col-product_name{white-space:normal!important;}
  /* diğer veri tabloları: kontrollü yatay kaydırma */
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) :is(.cart-table-wrap,.orders-table-wrap,.account-body [class*="table-wrap"]){overflow-x:auto!important; -webkit-overflow-scrolling:touch;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) :is(table.cart-table,table.orders-table,.account-body table){width:max-content!important; min-width:100%!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) :is(table.cart-table,table.orders-table,.account-body table) :is(th,td){padding:8px 10px!important; font-size:12.5px!important; white-space:nowrap!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) .cart-name{white-space:normal!important; width:170px!important; font-size:12.5px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) .cart-meta{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.orders-table td:first-child,
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.orders-table th:first-child,
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.cart-table td[data-label="Kod"],
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.cart-table th.mh-kod{position:sticky!important; left:0!important; z-index:2!important; background:var(--p-surface)!important; box-shadow:1px 0 0 var(--p-line), 6px 0 8px -6px rgba(16,24,40,.18)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) :is(table.orders-table,table.cart-table) th:is(:first-child,.mh-kod){background:var(--p-surface-2)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) .orders-customer-name{max-width:180px!important; overflow:hidden!important; text-overflow:ellipsis!important;}
}

/* ---------- 16. İnce ayarlar ---------- */
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-meta-grid > span{border:0!important; background:none!important; padding:0!important; box-shadow:none!important; border-radius:0!important; min-height:0!important; height:auto!important; width:auto!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-meta-grid > span > *{display:inline!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-image{aspect-ratio:16/11!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-code{background:none!important; border:0!important; padding:0!important; box-shadow:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot :is(.home-hero-dynamic,.brand-marquee,.brand-marquee-track){min-height:0!important; height:auto!important; max-height:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .brand-marquee{width:100%!important; max-width:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .account-page{max-width:none!important; width:auto!important; margin:0!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .account-body [class*="card"] :is(span,em,small)[class*="label"],
html body[data-theme-preset="modern_hybrid"] #appRoot .account-body [class*="summary"] span:first-child{background:none!important; padding:0!important; color:var(--p-text-2)!important; text-transform:none!important; letter-spacing:0!important; font-weight:500!important; font-size:12px!important;}
html body[data-theme-preset="modern_hybrid"] .login-field input{font-weight:400!important; color:var(--p-text)!important;}
html body[data-theme-preset="modern_hybrid"] .login-field input::placeholder{font-weight:400!important; color:var(--p-text-3)!important;}
html body[data-theme-preset="modern_hybrid"] .login-logo{background:#fff!important; border:1px solid var(--p-line)!important; overflow:hidden!important;}
html body[data-theme-preset="modern_hybrid"] .login-logo img{width:100%!important; height:100%!important; object-fit:contain!important;}
html body[data-theme-preset="modern_hybrid"] .login-hint{font-weight:400!important; background:var(--p-surface-2)!important; border-color:var(--p-line)!important;}
html body[data-theme-preset="modern_hybrid"] .login-support-text{font-weight:400!important;}

/* ---------- 14. Düzeltmeler ---------- */
/* .hidden her zaman kazanır (Siparişler'de "yükleniyor" kutusu .hidden olduğu halde görünüyordu) */
html body[data-theme-preset="modern_hybrid"] #appRoot#appRoot .hidden,
html body[data-theme-preset="modern_hybrid"] #appRoot#appRoot footer.pager.hidden{display:none!important;}
html body[data-theme-preset="modern_hybrid"] #appRoot .cart-code{white-space:nowrap!important;}

} /* @layer theme-modern */

/* ---------- Preset öğeleri: alt menü, Hesap menüsü, filtre düğmesi (katmansız; eski genel button kurallarını yenmek için) ---------- */
html body[data-theme-preset="modern_hybrid"] .cart-qty-badge{display:inline-flex!important; align-items:center; margin-left:8px!important; height:18px; padding:0 7px!important; border-radius:999px!important; vertical-align:1px; background:var(--p-orange-soft)!important; color:var(--p-orange-ink)!important; font:600 11px/1 "B2B Inter",system-ui,sans-serif!important; white-space:nowrap;}
html body[data-theme-preset="modern_hybrid"] .mh-bottom-nav,html body[data-theme-preset="modern_hybrid"] .mh-sheet,html body[data-theme-preset="modern_hybrid"] .mh-sheet-backdrop{display:none;}
html body[data-theme-preset="modern_hybrid"] .mh-filter-toggle{display:none!important;}
@media (max-width:768px){
  html body[data-theme-preset="modern_hybrid"] nav.mh-bottom-nav{
    display:grid; grid-template-columns:repeat(5,1fr); position:fixed; left:0; right:0; bottom:0; z-index:90; margin:0; padding:0 0 env(safe-area-inset-bottom);
    height:calc(60px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.96); -webkit-backdrop-filter:saturate(1.6) blur(12px); backdrop-filter:saturate(1.6) blur(12px);
    border-top:1px solid #E2E7EE; font-family:"B2B Inter",system-ui,sans-serif; box-shadow:none;
  }
  html body[data-theme-preset="modern_hybrid"] nav.mh-bottom-nav > button{
    all:unset; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; cursor:pointer;
    color:#8792A2; font:500 11px/1.2 "B2B Inter",system-ui,sans-serif; -webkit-tap-highlight-color:transparent;
  }
  html body[data-theme-preset="modern_hybrid"] nav.mh-bottom-nav > button svg{width:23px; height:23px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
  html body[data-theme-preset="modern_hybrid"] nav.mh-bottom-nav > button.active{color:var(--p-navy);}
  html body[data-theme-preset="modern_hybrid"] nav.mh-bottom-nav > button.active svg{stroke-width:2.2;}
  html body[data-theme-preset="modern_hybrid"] nav.mh-bottom-nav > button.active::before{content:""; position:absolute; top:0; left:30%; right:30%; height:3px; border-radius:0 0 3px 3px; background:var(--p-orange);}
  html body[data-theme-preset="modern_hybrid"] nav.mh-bottom-nav .mh-nav-badge{
    position:absolute; top:6px; left:calc(50% + 6px); min-width:18px; height:18px; padding:0 5px; box-sizing:border-box; border-radius:999px;
    background:var(--p-orange); color:var(--p-on-accent); font:700 10.5px/18px "B2B Inter",system-ui,sans-serif; text-align:center; box-shadow:0 0 0 2px #fff;
  }
  html body[data-theme-preset="modern_hybrid"] div.mh-sheet-backdrop.open{display:block; position:fixed; inset:0; background:rgba(11,35,64,.38); z-index:95;}
  html body[data-theme-preset="modern_hybrid"] div.mh-sheet.open{
    display:block; position:fixed; left:0; right:0; bottom:0; z-index:96; background:#fff; border-radius:16px 16px 0 0; padding:8px 16px calc(16px + env(safe-area-inset-bottom));
    font-family:"B2B Inter",system-ui,sans-serif; box-shadow:0 -10px 30px rgba(11,35,64,.15);
  }
  html body[data-theme-preset="modern_hybrid"] .mh-sheet .mh-sheet-grip{width:36px; height:4px; border-radius:4px; background:#D5DBE3; margin:4px auto 12px;}
  html body[data-theme-preset="modern_hybrid"] .mh-sheet h4{margin:0 4px 10px; font:500 13px/1.4 "B2B Inter",system-ui,sans-serif; color:#8792A2;}
  html body[data-theme-preset="modern_hybrid"] .mh-sheet .mh-sheet-list{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
  html body[data-theme-preset="modern_hybrid"] .mh-sheet .mh-sheet-list > button{
    all:unset; box-sizing:border-box; display:flex; align-items:center; gap:10px; height:50px; padding:0 12px; border:1px solid #E2E7EE; border-radius:12px;
    font:500 14px/1.2 "B2B Inter",system-ui,sans-serif; color:#18212D; cursor:pointer; background:#fff;
  }
  html body[data-theme-preset="modern_hybrid"] .mh-sheet .mh-sheet-list > button .b2b-legacy-icon{width:20px!important; height:20px!important; min-width:20px!important; margin:0!important; filter:brightness(0) saturate(100%) invert(14%) sepia(62%) saturate(2300%) hue-rotate(196deg)!important; background-size:contain!important;}
  html body[data-theme-preset="modern_hybrid"] .mh-sheet .mh-sheet-list > button.logout{color:#C62828; grid-column:1 / -1; justify-content:center;}
  html body[data-theme-preset="modern_hybrid"] .search-board button.mh-filter-toggle{
    all:unset; display:inline-flex!important; align-items:center; gap:6px; flex:0 0 auto; height:34px; padding:0 12px; border-radius:999px; box-sizing:border-box;
    border:1px solid #E2E7EE; background:#fff; font:500 13px/1 "B2B Inter",system-ui,sans-serif; color:#18212D; cursor:pointer;
  }
  html body[data-theme-preset="modern_hybrid"] .search-board.mh-filters-open button.mh-filter-toggle{background:var(--p-navy); color:#fff; border-color:var(--p-navy);}
  html body[data-theme-preset="modern_hybrid"] .mh-filter-toggle svg{width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round;}
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] .product-image-main{height:220px!important; min-height:0!important; max-height:220px!important;}
    html body[data-theme-preset="modern_hybrid"] .product-image-main img{max-height:200px!important; object-fit:contain!important;}
    html body[data-theme-preset="modern_hybrid"] .product-image-head .detail-title{font-size:17px!important;}
    html body[data-theme-preset="modern_hybrid"] .product-image-zoom-row{display:none!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    /* sepet seçim hücresi: sadece onay kutusu */
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-select-pill{font-size:0!important; padding:0!important; background:none!important; border:0!important; box-shadow:none!important; width:auto!important; height:auto!important; min-height:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-select-pill input{width:20px!important; height:20px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-select-pill *:not(input){display:none!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-action-top button{height:40px!important; font-size:13px!important;}

    /* sepet KART görünümü */
    html body[data-theme-preset="modern_hybrid"] #appRoot table.cart-table td.order-depot-col{display:none!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody tr{
      display:grid!important; grid-template-columns:repeat(12,minmax(0,1fr))!important; column-gap:8px!important; row-gap:6px!important; align-items:center!important; padding:12px 14px!important;
    }
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td{display:block!important; padding:0!important; border:0!important; text-align:left!important; grid-column:1 / -1; min-width:0!important; width:auto!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td::before{display:block!important; font-size:11px!important; color:var(--p-text-3)!important; margin-bottom:1px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Seç"]{grid-column:1 / 2!important; grid-row:1!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Kod"]{grid-column:2 / 9!important; grid-row:1!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Merkez"]{grid-column:9 / 13!important; grid-row:1!important; justify-self:end!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Ürün"]{grid-column:1 / -1!important; grid-row:2!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Görsel"]{display:none!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Fiyat"]{grid-column:1 / 4!important; grid-row:3!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="İsk."]{grid-column:4 / 6!important; grid-row:3!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Net Fiyat"]{grid-column:6 / 9!important; grid-row:3!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Net Fiyat KDV Dahil"]{grid-column:9 / 13!important; grid-row:3!important; text-align:right!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Miktar"]{grid-column:1 / 5!important; grid-row:4!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Birim"]{grid-column:5 / 7!important; grid-row:4!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Tutar"]{grid-column:7 / 13!important; grid-row:4!important; text-align:right!important; font-size:17px!important; font-weight:700!important; color:var(--p-navy)!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Sil"]{grid-column:1 / -1!important; grid-row:5!important; text-align:right!important; border-top:1px solid var(--p-line-2)!important; padding-top:8px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Sil"]::before,
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td:is([data-label="Seç"],[data-label="Merkez"],[data-label="Kod"],[data-label="Ürün"])::before{display:none!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td:is([data-label="Fiyat"],[data-label="İsk."],[data-label="Net Fiyat"],[data-label="Net Fiyat KDV Dahil"]){border-top:1px solid var(--p-line-2)!important; padding-top:8px!important; font-size:13px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-meta{display:none!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-line-qty{width:100%!important; height:42px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-line-remove{height:34px!important; padding:0 14px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-code{font-size:13px!important;}

    /* ana sayfa kart aksiyonları */
    html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-qty-wrap{width:auto!important; min-width:0!important; padding:0!important; margin:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-detail{border:0!important; background:none!important; box-shadow:none!important; height:auto!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table),
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) :is(tbody,tr){width:auto!important; min-width:0!important; max-width:100%!important; table-layout:auto!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] .cart-table-wrap{overflow:visible!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot#appRoot table.cart-table td.order-depot-col,
    html body[data-theme-preset="modern_hybrid"] #appRoot#appRoot table.cart-table th.order-depot-col{display:none!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td:is([data-label="Fiyat"],[data-label="İsk."],[data-label="Net Fiyat"],[data-label="Net Fiyat KDV Dahil"],[data-label="Birim"],[data-label="Tutar"])::before{
      content:attr(data-label)!important; display:block!important; font-size:11px!important; font-weight:400!important; color:var(--p-text-3)!important; margin:0 0 1px!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; position:static!important; background:none!important; width:auto!important; height:auto!important;
    }
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Net Fiyat KDV Dahil"]::before{content:"KDV Dahil"!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Birim"]{padding-top:14px!important;}
  }
}
/* oturum açılmadan alt menü gösterme */
html body[data-theme-preset="modern_hybrid"] #appRoot.hidden ~ nav.mh-bottom-nav{display:none!important;}
/* mobil: görünümden (grid/kart) bağımsız yerleşim */
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-bottom-grid{grid-template-columns:1fr!important; padding:0 14px 16px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-action-top{padding:10px 14px!important; flex-wrap:wrap!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-action-top button{flex:1 1 auto!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-info-box,.cart-warn-line){margin:10px 14px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .account-body{padding:12px 14px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-pager,.account-pager){justify-content:space-between!important; padding:12px 14px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row span{white-space:nowrap!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-send-btn{height:48px!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    /* sepet toplamları: etiket esner, tutar sabit */
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row{gap:12px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row span{white-space:normal!important; flex:1 1 auto!important; min-width:0!important; width:auto!important; max-width:none!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-total-row strong{flex:0 0 auto!important; width:auto!important; min-width:0!important; max-width:none!important; text-align:right!important;}
    /* dokunma alanları: düğme ve alanlar en az 44px, çipler 40px */
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(button,select,textarea,input:not([type="checkbox"]):not([type="radio"])){min-height:44px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.home-product-image,.image-status){min-height:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .image-status{width:40px!important; height:40px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row .flag,
    html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row #selSort{height:40px!important; min-height:40px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .account-mode-tab{height:38px!important; min-height:38px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .account-mode-tabs{min-height:44px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-detail{min-height:40px!important; display:grid!important; place-items:center!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .cart-select-pill{min-width:44px!important; min-height:44px!important; display:inline-grid!important; place-items:center!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .qty-input{height:44px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid .btn-cart-add{height:44px!important; min-width:44px!important;}
  }
}
@media (max-width:768px){
  html body[data-theme-preset="modern_hybrid"] .search-board button.mh-filter-toggle{height:40px;}
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnClearFilters,#btnViewMode,#btnHomeRefresh,#btnOrdersRefresh,#btnOrdersClear,#btnAccountRefresh,.account-secondary-btn,.cart-top-btn,.cart-back-link,.order-detail-btn,.pager-btn,#btnOrdersPrev,#btnOrdersNext,#btnAccountPrev,#btnAccountNext,.cart-row-btn){
      height:44px!important; min-height:44px!important;
    }
    html body[data-theme-preset="modern_hybrid"] #appRoot table.cart-table thead th{height:44px!important;}
  }
}
@media (max-width:768px){
  html body[data-theme-preset="modern_hybrid"] .login-screen .remember-line{min-height:44px!important;}
}
/* tüm genişlikler: içerik kabı geniş tabloyla uzamasın; kaydırma yalnızca tablo kabında */
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] #appRoot{max-width:100vw!important; overflow-x:clip!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .content-wrap{display:block!important; width:auto!important; min-width:0!important; max-width:var(--p-max)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.content-wrap > section, .content-wrap > footer, #tableView, #tableView .table-scroll, .orders-body, #ordersBody, .cart-page, #cartPageBody, .account-page, #accountBody, .cart-table-wrap, .orders-table-wrap, .search-board, .board-grid, .search-center){
    min-width:0!important; max-width:100%!important; box-sizing:border-box!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-table-wrap,.orders-table-wrap,.account-body [class*="table-wrap"]){overflow-x:auto!important;}
}
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] #appRoot#appRoot .content-wrap{width:100%!important; align-self:stretch!important; flex:0 0 auto!important; box-sizing:border-box!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot#appRoot :is(.identity-header,.tile-menu,.footer-line){width:100%!important; align-self:stretch!important; box-sizing:border-box!important; max-width:100%!important;}
  /* mobil kart: fiyatlar sığsın */
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td:is(.catalog-col-price_list,.catalog-col-price_net){font-size:12.5px!important; white-space:nowrap!important; overflow:visible!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_gross{white-space:nowrap!important; overflow:visible!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_list{grid-column:1 / 4!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-discount{grid-column:4 / 6!important; justify-self:center!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td{overflow:visible!important; white-space:nowrap;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td[data-label="Ürün"]{white-space:normal!important;}
  }
}
@media (max-width:380px){
  @layer theme-modern {
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td:is(.catalog-col-price_list,.catalog-col-price_net){font-size:11.5px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid td.catalog-col-price_gross{font-size:16px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td:is([data-label="Fiyat"],[data-label="Net Fiyat"],[data-label="Net Fiyat KDV Dahil"]){font-size:11.5px!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.cart-table tbody td:is([data-label="Fiyat"],[data-label="Net Fiyat"],[data-label="Net Fiyat KDV Dahil"],[data-label="İsk."]){font-size:12px!important; letter-spacing:-.01em!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"]#appRoot table.cart-table tbody td[data-label="Fiyat"]{grid-column:1 / 7!important; grid-row:3!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"]#appRoot table.cart-table tbody td[data-label="İsk."]{grid-column:7 / 13!important; grid-row:3!important; text-align:right!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"]#appRoot table.cart-table tbody td[data-label="Net Fiyat"]{grid-column:1 / 7!important; grid-row:4!important; border-top:0!important; padding-top:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"]#appRoot table.cart-table tbody td[data-label="Net Fiyat KDV Dahil"]{grid-column:7 / 13!important; grid-row:4!important; text-align:right!important; border-top:0!important; padding-top:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"]#appRoot table.cart-table tbody td[data-label="Miktar"]{grid-row:5!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"]#appRoot table.cart-table tbody td[data-label="Birim"]{grid-row:5!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"]#appRoot table.cart-table tbody td[data-label="Tutar"]{grid-row:5!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"]#appRoot table.cart-table tbody td[data-label="Sil"]{grid-row:6!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"]#appRoot table.cart-table tbody td:is([data-label="Fiyat"],[data-label="Net Fiyat"],[data-label="Net Fiyat KDV Dahil"],[data-label="İsk."]){font-size:13px!important; letter-spacing:0!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets{overflow:visible!important; flex-wrap:nowrap!important; gap:6px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div:not(.cart-widget){
      flex-direction:column!important; align-items:flex-start!important; justify-content:center!important; gap:0!important;
      height:42px!important; padding:0 12px!important; border-radius:10px!important; min-width:0!important;
    }
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget{flex:1 1 auto!important; max-width:none!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget strong,
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget .balance-line{max-width:100%!important; overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget strong{font-size:12.5px!important; line-height:1.3!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget .balance-line{font-size:11.5px!important; line-height:1.3!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.exchange-widget{flex:0 0 auto!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div .exchange-rates-stack{flex-direction:column!important; gap:0!important; font-size:11.5px!important; line-height:1.3!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div .exchange-rate-line{gap:5px!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    /* kaydırılabilir çip şeridi: sağda solma ipucu */
    html body[data-theme-preset="modern_hybrid"] #appRoot .flag-row{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)!important; mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)!important; padding-right:28px!important;}
    /* ana sayfa kart aksiyonları: esnek ve dengeli */
    html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-actions{display:flex!important; flex-wrap:wrap!important; gap:8px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-qty-wrap{flex:0 0 52px!important; width:52px!important; order:1!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-cart{flex:1 1 0!important; width:auto!important; min-width:0!important; order:2!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .home-card-detail{flex:1 1 100%!important; order:3!important;}
    /* sayfa başlıkları sola hizalı */
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-page-head,.account-head) > div:first-child{padding:0!important; margin:0!important; text-align:left!important; flex:1 1 auto!important; min-width:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .orders-page-head{flex-wrap:nowrap!important; align-items:flex-start!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .orders-page-head #btnOrdersRefresh{flex:0 0 auto!important;}
  }
  /* dar telefon: fiyat sütunu ilk ekranda tam görünsün */
  @media (max-width:380px){
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-product_code{flex-basis:92px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-product_name{flex-basis:146px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid :is(th,td).catalog-col-price_gross{flex-basis:92px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid td.catalog-col-price_gross{font-size:12.5px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .code-text{font-size:12px!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot table :is(td,th)::before{text-transform:none!important; letter-spacing:0!important;}
  }
}

/* Vurgu renginden türetilen açık tonlar (color-mix destekleyen tarayıcılarda) */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  @layer theme-modern {
    html body[data-theme-preset="modern_hybrid"]{
      --p-orange-soft:color-mix(in srgb, var(--p-orange) 10%, #fff);
      --p-orange-ink:color-mix(in srgb, var(--p-orange) 62%, #000);
    }
  }
}
/* Mobilde temsilci kutusu sayfa altına taşınıyor (relocateRepresentativeWidgetForMobile); bu presette Hesap menüsünde gösterilir */
@media (max-width:768px){
  html body[data-theme-preset="modern_hybrid"] #mobileRepresentativeDock{display:none!important;}
}

/* Mobil grid: uzun ürün kodları kesilmesin, iki satıra kırılsın */
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid td.catalog-col-product_code{white-space:normal!important; overflow:visible!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid .code-text{white-space:normal!important; overflow-wrap:anywhere!important; word-break:break-word!important; line-height:1.25!important; display:block!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid .code-text{white-space:normal!important; overflow-wrap:anywhere!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid tbody td{height:auto!important; min-height:44px!important; padding-top:6px!important; padding-bottom:6px!important;}
  }
}

/* ---------- İstek Listesi, Daha Önce Aldıklarım, Diğer Bilgiler: aynı sayfa sistemi ---------- */
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page,.purchases-page,.other-info-page){
    background:var(--p-surface)!important; background-image:none!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-lg)!important;
    box-shadow:var(--p-shadow)!important; padding:0!important; overflow:hidden!important; min-width:0!important; max-width:100%!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page,.purchases-page,.other-info-page)::before,
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page,.purchases-page,.other-info-page)::after{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page-head,.purchases-page-head,.other-info-head){
    display:flex!important; align-items:center!important; justify-content:space-between!important; gap:16px!important; flex-wrap:nowrap!important;
    min-height:0!important; height:auto!important; padding:16px 20px!important; margin:0!important; width:auto!important;
    background:none!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important; color:var(--p-text)!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page-head,.purchases-page-head,.other-info-head)::before,
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page-head,.purchases-page-head,.other-info-head)::after{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page-head,.purchases-page-head,.other-info-head) > div:first-child{padding:0!important; margin:0!important; text-align:left!important; min-width:0!important; flex:1 1 auto!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-kicker,.other-kicker){display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page-head,.purchases-page-head,.other-info-head) strong{font-size:18px!important; font-weight:600!important; color:var(--p-text)!important; display:block!important; letter-spacing:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page-head,.purchases-page-head,.other-info-head) :is(em,small){font-style:normal!important; font-size:13px!important; color:var(--p-text-2)!important; font-weight:400!important; display:block!important; margin-top:2px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-filterbar,.purchases-filterbar){
    display:flex!important; flex-wrap:wrap!important; align-items:flex-end!important; gap:10px!important; padding:14px 20px!important; margin:0!important;
    background:var(--p-surface-2)!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-filterbar,.purchases-filterbar) > label{margin:0!important; padding:0!important; background:none!important; border:0!important; min-width:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-filterbar,.purchases-filterbar) > label > span{font-size:11.5px!important; font-weight:500!important; color:var(--p-text-2)!important; text-transform:none!important; letter-spacing:0!important; margin-bottom:4px!important; display:block!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-search-field,.purchases-filterbar > label){flex:1 1 260px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-filterbar,.purchases-filterbar) :is(input,select){
    width:100%!important; background-color:var(--p-surface)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; color:var(--p-text)!important;
    font-weight:400!important; box-shadow:none!important; height:36px!important; min-height:0!important; padding:0 10px!important; font-size:13px!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-filterbar,.purchases-filterbar) select{
    padding-right:30px!important; -webkit-appearance:none!important; appearance:none!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536072' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important; background-position:right 8px center!important; background-size:16px!important;
  }
  /* birincil: Ara (vurgu); ikincil: Yenile, Temizle, Ürün Aramaya Git, sayfalama */
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnRequestsSearch,#btnPurchasesSearch){
    background:var(--p-orange)!important; background-image:none!important; color:var(--p-on-accent)!important; border:0!important; border-radius:var(--p-r-sm)!important;
    font-weight:600!important; box-shadow:none!important; height:36px!important; min-height:0!important; padding:0 18px!important; width:auto!important; font-size:13px!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnRequestsRefresh,#btnRequestsOpenSearch,#btnPurchasesRefresh,#btnPurchasesClear,#btnOtherInfoRefresh,#btnRequestsPrev,#btnRequestsNext,#btnPurchasesPrev,#btnPurchasesNext){
    background:var(--p-surface)!important; background-image:none!important; color:var(--p-text)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important;
    font-weight:500!important; box-shadow:none!important; height:36px!important; min-height:0!important; padding:0 12px!important; width:auto!important; font-size:13px!important; text-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnRequestsRefresh,#btnRequestsOpenSearch,#btnPurchasesRefresh,#btnPurchasesClear,#btnOtherInfoRefresh,#btnRequestsPrev,#btnRequestsNext,#btnPurchasesPrev,#btnPurchasesNext):hover{background:var(--p-surface-2)!important; border-color:#CBD3DE!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnRequestsPrev,#btnRequestsNext,#btnPurchasesPrev,#btnPurchasesNext):disabled{opacity:.45!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-state-box,#purchasesState,.other-info-state){
    border:0!important; background:none!important; background-image:none!important; color:var(--p-text-3)!important; font-weight:400!important; padding:28px 20px!important; margin:0!important;
    box-shadow:none!important; text-align:center!important; min-height:0!important; height:auto!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot#appRoot :is(.requests-state-box,#purchasesState,.other-info-state).hidden{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-pager,#purchasesPage .orders-pager){display:flex!important; justify-content:flex-end!important; align-items:center!important; gap:10px!important; padding:12px 20px!important; margin:0!important; background:none!important; border:0!important; border-top:1px solid var(--p-line-2)!important; box-shadow:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(#requestsPageInfo,#purchasesPageInfo){font-size:13px!important; color:var(--p-text-2)!important; font-weight:500!important;}
  /* özet şeridi (Daha Önce Aldıklarım) */
  html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary{display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:0!important; padding:0!important; margin:0!important; background:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; box-shadow:none!important; border-radius:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary > div{padding:14px 20px!important; margin:0!important; background:none!important; background-image:none!important; border:0!important; border-left:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important; min-height:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary > div:first-child{border-left:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary > div::before,
  html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary > div::after{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary span{font-size:12px!important; color:var(--p-text-2)!important; font-weight:500!important; text-transform:none!important; letter-spacing:0!important; display:block!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary strong{font-size:20px!important; font-weight:600!important; color:var(--p-text)!important; display:block!important; margin-top:2px!important; font-variant-numeric:tabular-nums;}
  /* veri tabloları */
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-body,.purchases-body){padding:0!important; margin:0!important; overflow-x:auto!important; min-width:0!important; max-width:100%!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-body,.purchases-body) table{width:100%!important; border-collapse:separate!important; border-spacing:0!important; background:var(--p-surface)!important; border:0!important; box-shadow:none!important; border-radius:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-body,.purchases-body) thead th{height:38px!important; padding:0 14px!important; background:var(--p-surface-2)!important; background-image:none!important; color:var(--p-text-2)!important; font-size:12px!important; font-weight:500!important; text-transform:none!important; letter-spacing:0!important; border:0!important; border-bottom:1px solid var(--p-line)!important; white-space:nowrap!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-body,.purchases-body) tbody td{padding:10px 14px!important; background:var(--p-surface)!important; color:var(--p-text)!important; font-size:13px!important; font-weight:400!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; box-shadow:none!important;}
  /* banka hesap kartları */
  html body[data-theme-preset="modern_hybrid"] #appRoot .other-info-grid{display:grid!important; grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important; gap:var(--p-gap)!important; padding:18px 20px!important; margin:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .other-info-grid:empty{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .other-info-grid > *{background:var(--p-surface)!important; background-image:none!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r)!important; box-shadow:none!important; color:var(--p-text)!important;}

  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page-head,.purchases-page-head,.other-info-head){padding:14px!important; align-items:flex-start!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-page-head,.purchases-page-head,.other-info-head) > button{flex:0 0 auto!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-filterbar,.purchases-filterbar){padding:12px 14px!important; display:grid!important; grid-template-columns:1fr 1fr!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-filterbar,.purchases-filterbar) > label{grid-column:1 / -1!important; width:auto!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-filterbar,.purchases-filterbar) :is(input,select){height:44px!important; font-size:16px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-filterbar,.purchases-filterbar) > button{width:100%!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(#btnRequestsSearch,#btnPurchasesSearch,#btnRequestsRefresh,#btnRequestsOpenSearch,#btnPurchasesRefresh,#btnPurchasesClear,#btnOtherInfoRefresh,#btnRequestsPrev,#btnRequestsNext,#btnPurchasesPrev,#btnPurchasesNext){height:44px!important; min-height:44px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary{grid-template-columns:1fr 1fr!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary > div{padding:12px 14px!important; border-top:1px solid var(--p-line-2)!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary > div:nth-child(odd){border-left:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .purchases-summary > div:nth-child(-n+2){border-top:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.requests-pager,#purchasesPage .orders-pager){justify-content:space-between!important; padding:12px 14px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .other-info-grid{padding:12px 14px!important; grid-template-columns:1fr!important;}
  }
}

/* Mobil sayfa başlıkları: başlık solda, Yenile sağda (eski CSS dikey diziyordu) */
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-page-head,.requests-page-head,.purchases-page-head,.other-info-head){flex-direction:row!important; flex-wrap:nowrap!important; align-items:flex-start!important; justify-content:space-between!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-page-head,.requests-page-head,.purchases-page-head,.other-info-head) > div:first-child{flex:1 1 auto!important; min-width:0!important; width:auto!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-page-head,.requests-page-head,.purchases-page-head,.other-info-head) > button{flex:0 0 auto!important; width:auto!important; margin:0!important; align-self:flex-start!important;}
  }
}

/* ---------- Plasiyer: Cari Seçiniz penceresi ---------- */
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] .sales-rep-modal,
  html body[data-theme-preset="modern_hybrid"] .sales-rep-modal *{font-family:var(--p-font)!important; letter-spacing:normal!important; text-shadow:none!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-modal-backdrop{background:rgba(11,35,64,.45)!important; -webkit-backdrop-filter:blur(3px)!important; backdrop-filter:blur(3px)!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-modal-card{
    width:min(680px, calc(100vw - 32px))!important; max-height:min(720px, calc(100dvh - 48px))!important; display:flex!important; flex-direction:column!important; overflow:hidden!important;
    background:var(--p-surface)!important; background-image:none!important; border:0!important; border-radius:var(--p-r-lg)!important; box-shadow:0 24px 64px rgba(11,35,64,.28)!important; padding:0!important;
  }
  html body[data-theme-preset="modern_hybrid"] .sales-rep-modal-head{
    display:flex!important; align-items:flex-start!important; justify-content:space-between!important; gap:12px!important; padding:18px 20px 14px!important; margin:0!important;
    background:none!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; flex:0 0 auto!important;
  }
  html body[data-theme-preset="modern_hybrid"] .sales-rep-modal-head strong{font-size:18px!important; font-weight:600!important; color:var(--p-text)!important; display:block!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-modal-head span{font-size:13px!important; font-weight:400!important; color:var(--p-text-2)!important; display:block!important; margin-top:2px!important;}
  html body[data-theme-preset="modern_hybrid"] #btnSalesRepCustomerClose{
    width:36px!important; height:36px!important; min-height:0!important; padding:0!important; display:grid!important; place-items:center!important; flex:0 0 auto!important;
    background:var(--p-surface-2)!important; background-image:none!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; color:var(--p-text-2)!important; font-size:18px!important; box-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] .sales-rep-modal-search{display:flex!important; gap:8px!important; padding:12px 20px!important; margin:0!important; background:var(--p-surface-2)!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; flex:0 0 auto!important;}
  html body[data-theme-preset="modern_hybrid"] #salesRepCustomerSearch{
    flex:1 1 auto!important; min-width:0!important; height:40px!important; min-height:0!important; padding:0 12px 0 38px!important; font-size:14px!important; font-weight:400!important; color:var(--p-text)!important;
    background-color:var(--p-surface)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; box-shadow:none!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238792A2' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important; background-position:12px center!important; background-size:16px!important;
  }
  html body[data-theme-preset="modern_hybrid"] #salesRepCustomerSearch:focus{border-color:var(--p-navy-2)!important; box-shadow:0 0 0 3px rgba(3,65,117,.12)!important; outline:none!important;}
  html body[data-theme-preset="modern_hybrid"] #btnSalesRepCustomerSearch{
    flex:0 0 auto!important; height:40px!important; min-height:0!important; padding:0 20px!important; width:auto!important; font-size:14px!important; font-weight:600!important;
    background:var(--p-orange)!important; background-image:none!important; color:var(--p-on-accent)!important; border:0!important; border-radius:var(--p-r-sm)!important; box-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-list{flex:1 1 auto!important; min-height:0!important; overflow:auto!important; padding:6px 10px 10px!important; margin:0!important; display:block!important; background:var(--p-surface)!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-row{
    all:unset; box-sizing:border-box!important; display:flex!important; align-items:center!important; justify-content:space-between!important; gap:14px!important; width:100%!important;
    min-height:56px!important; height:auto!important; padding:10px 12px!important; margin:0!important; cursor:pointer!important;
    background:transparent!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; border-radius:var(--p-r-sm)!important; box-shadow:none!important; transform:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-row:hover,
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-row:focus-visible{background:var(--p-surface-2)!important; outline:none!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-row:focus-visible{box-shadow:inset 0 0 0 2px var(--p-orange)!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-row::before,
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-row::after{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-info{min-width:0!important; flex:1 1 auto!important; padding:0!important; margin:0!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-title{font-size:14px!important; font-weight:600!important; color:var(--p-text)!important; line-height:1.35!important; text-transform:none!important; overflow-wrap:anywhere!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-meta{font-size:12px!important; font-weight:400!important; color:var(--p-text-3)!important; margin-top:1px!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-balance{
    flex:0 0 auto!important; display:grid!important; justify-items:end!important; gap:0!important; padding:0!important; margin:0!important; min-width:0!important; width:auto!important; height:auto!important;
    background:none!important; background-image:none!important; border:0!important; border-radius:0!important; box-shadow:none!important; text-align:right!important;
  }
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-balance span{font-size:11px!important; font-weight:400!important; color:var(--p-text-3)!important; text-transform:none!important; letter-spacing:0!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-balance strong{font-size:14px!important; font-weight:600!important; color:var(--p-text)!important; font-variant-numeric:tabular-nums!important; white-space:nowrap!important;}
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] .sales-rep-modal-card{width:100vw!important; max-width:100vw!important; height:100dvh!important; max-height:100dvh!important; border-radius:0!important; position:fixed!important; inset:0!important; margin:0!important; transform:none!important;}
    html body[data-theme-preset="modern_hybrid"] .sales-rep-modal-head{padding:16px 14px 12px!important;}
    html body[data-theme-preset="modern_hybrid"] .sales-rep-modal-search{padding:10px 14px!important;}
    html body[data-theme-preset="modern_hybrid"] :is(#salesRepCustomerSearch,#btnSalesRepCustomerSearch){height:44px!important; font-size:16px!important;}
    html body[data-theme-preset="modern_hybrid"] #btnSalesRepCustomerClose{width:44px!important; height:44px!important;}
    html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-list{padding:4px 6px calc(10px + env(safe-area-inset-bottom))!important;}
    html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-row{min-height:60px!important;}
  }
}

/* ---------- Plasiyer: cari değiştir erişimi ve cari penceresi satır hizası ---------- */
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-switch-hint{
    all:unset; box-sizing:border-box!important; display:inline-flex!important; align-items:center!important; gap:5px!important; cursor:pointer!important; white-space:nowrap!important;
    height:26px!important; padding:0 10px!important; border-radius:999px!important; font-size:12px!important; font-weight:600!important;
    background:var(--p-navy)!important; color:#fff!important; border:0!important; box-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-switch-hint:hover{background:var(--p-navy-2)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-switch-hint:focus-visible{box-shadow:var(--p-focus)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-card-actions{display:flex!important; flex-direction:column!important; align-items:flex-end!important; gap:4px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget.needs-customer strong{color:var(--p-orange-ink)!important;}
  /* cari penceresi satırı: bilgi solda, bakiye sağda */
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-list .sales-rep-customer-row{flex-direction:row!important; flex-wrap:nowrap!important; text-align:left!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-list .sales-rep-customer-info{text-align:left!important; align-self:center!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-list .sales-rep-customer-balance{display:flex!important; flex-direction:column!important; align-items:flex-end!important; align-self:center!important; margin-left:auto!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-list .sales-rep-customer-balance span{order:1!important;}
  html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-list .sales-rep-customer-balance strong{order:2!important;}
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] .sales-rep-customer-list .sales-rep-customer-title{font-size:14px!important;}
  }
}

/* Mobil header düzeni: üst satır logo + kur + kompakt sepet; ikinci satır tam genişlik cari çipi */
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header .brand-logo-image{height:26px!important; max-width:104px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header .logo-area{height:48px!important; min-height:48px!important; padding:0 16px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.exchange-widget{position:absolute!important; top:7px!important; left:128px!important; height:34px!important; padding:0 10px!important; margin:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget{flex:1 1 100%!important; width:100%!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.cart-widget{padding:0 12px 0 34px!important; min-width:0!important;}
  }
}
@layer theme-modern {
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.exchange-widget{top:4px!important; height:40px!important; padding:0 10px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div .exchange-rates-stack{font-size:11px!important; line-height:1.25!important;}
  }
}
/* Header bilgi satırları: büyük harf noktaları (İ, Ö, Ü) ve alt çıkıntılar kırpılmasın */
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div > :is(strong,small,span){height:auto!important; max-height:none!important; min-height:0!important; line-height:1.35!important; padding-top:1px!important; padding-bottom:1px!important; box-sizing:content-box!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div .exchange-rates-stack{max-height:none!important; height:auto!important;}
}

/* ---------- Pusula (plasiyer saha raporları) ---------- */
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-page{
    background:var(--p-surface)!important; background-image:none!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-lg)!important;
    box-shadow:var(--p-shadow)!important; padding:0!important; overflow:hidden!important; min-width:0!important; max-width:100%!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-page::before,
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-page::after{display:none!important;}
  /* başlık: lacivert hero yerine sayfa başlığı + sağda filtreler */
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-head{
    display:flex!important; align-items:flex-end!important; justify-content:space-between!important; gap:16px!important; flex-wrap:wrap!important;
    min-height:0!important; height:auto!important; padding:16px 20px!important; margin:0!important; width:auto!important;
    background:none!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important; color:var(--p-text)!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-head::before,
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-head::after{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-head > div:first-child{padding:0!important; margin:0!important; min-width:0!important; flex:1 1 220px!important; align-self:center!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kicker{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-head > div:first-child strong{font-size:18px!important; font-weight:600!important; color:var(--p-text)!important; display:block!important; letter-spacing:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-head > div:first-child small{font-size:13px!important; color:var(--p-text-2)!important; font-weight:400!important; display:block!important; margin-top:2px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-actions{display:flex!important; align-items:flex-end!important; gap:10px!important; flex-wrap:wrap!important; margin:0!important; padding:0!important; background:none!important; border:0!important; box-shadow:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-actions > label{display:block!important; margin:0!important; padding:0!important; background:none!important; border:0!important; min-width:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-actions > label > span{font-size:11.5px!important; font-weight:500!important; color:var(--p-text-2)!important; text-transform:none!important; letter-spacing:0!important; margin-bottom:4px!important; display:block!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-actions select{
    height:36px!important; min-height:0!important; padding:0 30px 0 10px!important; font-size:13px!important; font-weight:400!important; color:var(--p-text)!important; width:100%!important;
    background-color:var(--p-surface)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; box-shadow:none!important; -webkit-appearance:none!important; appearance:none!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536072' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important; background-position:right 8px center!important; background-size:16px!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot #compassPeriodSelect{min-width:150px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot #compassReportSelect{min-width:240px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot #btnCompassRefresh{
    height:36px!important; min-height:0!important; padding:0 14px!important; width:auto!important; font-size:13px!important; font-weight:500!important;
    background:var(--p-surface)!important; background-image:none!important; color:var(--p-text)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; box-shadow:none!important; text-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot #btnCompassRefresh:hover{background:var(--p-surface-2)!important; border-color:#CBD3DE!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-body{padding:0!important; margin:0!important; background:none!important; display:block!important;}
  /* dönem notu */
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-period-note{
    display:flex!important; align-items:center!important; gap:6px!important; flex-wrap:wrap!important; width:auto!important; max-width:none!important; margin:0!important; padding:10px 20px!important;
    background:var(--p-surface-2)!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important;
    font-size:13px!important; font-weight:400!important; color:var(--p-text-2)!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-period-note b{font-weight:600!important; color:var(--p-text)!important;}
  /* özet: bölmeli şerit, tür renkli nokta ile */
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi-grid{display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:0!important; padding:0!important; margin:0!important; background:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; box-shadow:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi{
    padding:14px 20px!important; margin:0!important; min-height:0!important; height:auto!important; display:block!important;
    background:none!important; background-image:none!important; border:0!important; border-left:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important; color:var(--p-text)!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi:first-child{border-left:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi::after{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi span{display:flex!important; align-items:center!important; gap:7px!important; font-size:12px!important; font-weight:500!important; color:var(--p-text-2)!important; text-transform:none!important; letter-spacing:0!important; background:none!important; padding:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi span::before{content:""; width:8px; height:8px; border-radius:50%; background:var(--p-text-3); flex:0 0 8px;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi.sales span::before{background:var(--p-navy-2);}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi.purchase span::before{background:#6D5BD0;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi.collection span::before{background:var(--p-ok);}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi.cart span::before{background:var(--p-orange);}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi::before{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi strong{display:block!important; font-size:20px!important; font-weight:600!important; color:var(--p-text)!important; margin-top:4px!important; font-variant-numeric:tabular-nums!important; letter-spacing:0!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi small{display:block!important; font-size:12px!important; font-weight:400!important; color:var(--p-text-3)!important; margin-top:1px!important;}
  /* rapor paneli */
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-v3-layout{display:block!important; padding:0!important; margin:0!important; background:none!important; gap:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-panel{background:var(--p-surface)!important; background-image:none!important; border:0!important; border-radius:0!important; box-shadow:none!important; padding:0!important; margin:0!important; overflow:visible!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-panel > header{
    display:flex!important; align-items:center!important; justify-content:space-between!important; gap:12px!important; padding:12px 20px!important; margin:0!important; min-height:0!important; height:auto!important;
    background:none!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; box-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-panel > header strong{font-size:15px!important; font-weight:600!important; color:var(--p-text)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-panel > header span{display:inline-flex!important; align-items:center!important; height:24px!important; padding:0 10px!important; border-radius:999px!important; background:var(--p-surface-2)!important; border:1px solid var(--p-line)!important; color:var(--p-text-2)!important; font-size:12px!important; font-weight:500!important; box-shadow:none!important; white-space:nowrap!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list{max-height:calc(100dvh - 160px)!important; overflow:auto!important; padding:0!important; margin:0!important; background:none!important; border:0!important; min-width:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-empty{border:0!important; background:none!important; color:var(--p-text-3)!important; font-weight:400!important; padding:28px 20px!important; text-align:center!important; box-shadow:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-table-wrap{overflow:visible!important; padding:0!important; margin:0!important; border:0!important; background:none!important; box-shadow:none!important; min-width:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table{width:100%!important; border-collapse:separate!important; border-spacing:0!important; background:var(--p-surface)!important; border:0!important; border-radius:0!important; box-shadow:none!important; font-size:13px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table thead th{
    position:sticky!important; top:0!important; z-index:2!important; height:38px!important; padding:0 12px!important; text-align:left;
    background:var(--p-surface-2)!important; background-image:none!important; color:var(--p-text-2)!important; font-size:12px!important; font-weight:500!important;
    text-transform:none!important; letter-spacing:0!important; border:0!important; border-bottom:1px solid var(--p-line)!important; box-shadow:none!important; white-space:nowrap!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table tbody td{padding:8px 12px!important; height:auto!important; background:var(--p-surface)!important; color:var(--p-text)!important; font-size:13px!important; font-weight:400!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; box-shadow:none!important; vertical-align:middle!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table tbody tr:hover td{background:#F8FAFD!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table td strong{font-weight:600!important; color:var(--p-navy)!important; display:block!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table td small{display:block!important; font-size:12px!important; color:var(--p-text-3)!important; font-weight:400!important; margin-top:1px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table td.num{text-align:right!important; font-variant-numeric:tabular-nums!important; white-space:nowrap!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table td.total{font-weight:600!important; color:var(--p-navy-ink)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table td.action{text-align:right!important; white-space:nowrap!important;}
  /* satır düğmeleri */
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-row-actions{display:inline-flex!important; gap:6px!important; flex-wrap:nowrap!important; justify-content:flex-end!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-mini-btn{
    height:30px!important; min-height:0!important; padding:0 10px!important; width:auto!important; font-size:12.5px!important; font-weight:500!important; white-space:nowrap!important;
    background:var(--p-surface)!important; background-image:none!important; color:var(--p-text)!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; box-shadow:none!important; text-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-mini-btn:hover{background:var(--p-surface-2)!important; border-color:#CBD3DE!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-mini-btn.compass-customer-switch-btn{background:var(--p-navy)!important; color:#fff!important; border-color:var(--p-navy)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-mini-btn.compass-customer-switch-btn:hover{background:var(--p-navy-2)!important;}
  /* kart görünümü satırları */
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row{
    display:flex!important; align-items:center!important; justify-content:space-between!important; gap:16px!important; margin:0!important; padding:12px 20px!important; min-height:0!important; height:auto!important;
    background:var(--p-surface)!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row:hover{background:#F8FAFD!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row::before,
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row::after{display:none!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row > div:first-child{min-width:0!important; flex:1 1 auto!important; display:grid!important; gap:1px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row > div:first-child strong{font-size:14px!important; font-weight:600!important; color:var(--p-navy)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row > div:first-child span{font-size:13px!important; font-weight:500!important; color:var(--p-text)!important; overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row > div:first-child small{font-size:12px!important; font-weight:400!important; color:var(--p-text-3)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-row-side{display:flex!important; flex-direction:column!important; align-items:flex-end!important; gap:6px!important; flex:0 0 auto!important; margin:0!important; padding:0!important; background:none!important; border:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-row-side > b{font-size:15px!important; font-weight:600!important; color:var(--p-navy-ink)!important; font-variant-numeric:tabular-nums!important; white-space:nowrap!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-foot-note{padding:10px 20px!important; margin:0!important; font-size:12px!important; font-weight:400!important; color:var(--p-text-3)!important; text-align:right!important; background:none!important; border:0!important; border-top:1px solid var(--p-line-2)!important;}

  /* detay penceresi */
  html body[data-theme-preset="modern_hybrid"] .compass-detail-modal,
  html body[data-theme-preset="modern_hybrid"] .compass-detail-modal *{font-family:var(--p-font)!important; letter-spacing:normal!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-backdrop{background:rgba(11,35,64,.45)!important; -webkit-backdrop-filter:blur(3px)!important; backdrop-filter:blur(3px)!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-sheet{
    width:min(760px, calc(100vw - 32px))!important; max-height:min(760px, calc(100dvh - 48px))!important; display:flex!important; flex-direction:column!important; overflow:hidden!important; padding:0!important;
    background:var(--p-surface)!important; background-image:none!important; border:0!important; border-radius:var(--p-r-lg)!important; box-shadow:0 24px 64px rgba(11,35,64,.28)!important;
  }
  html body[data-theme-preset="modern_hybrid"] .compass-detail-sheet > header{display:flex!important; align-items:flex-start!important; justify-content:space-between!important; gap:12px!important; padding:16px 20px!important; margin:0!important; background:none!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; flex:0 0 auto!important;}
  html body[data-theme-preset="modern_hybrid"] #compassDetailTitle{font-size:17px!important; font-weight:600!important; color:var(--p-text)!important; display:block!important;}
  html body[data-theme-preset="modern_hybrid"] #compassDetailSub{font-size:13px!important; font-weight:400!important; color:var(--p-text-2)!important; display:block!important; margin-top:2px!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-sheet > header button{width:36px!important; height:36px!important; min-height:0!important; padding:0!important; display:grid!important; place-items:center!important; flex:0 0 auto!important; background:var(--p-surface-2)!important; background-image:none!important; border:1px solid var(--p-line)!important; border-radius:var(--p-r-sm)!important; color:var(--p-text-2)!important; font-size:18px!important; box-shadow:none!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-body{flex:1 1 auto!important; min-height:0!important; overflow:auto!important; padding:6px 20px 14px!important; margin:0!important; background:none!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-lines{display:block!important; padding:0!important; margin:0!important; gap:0!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-lines > article{
    display:flex!important; align-items:center!important; justify-content:space-between!important; gap:16px!important; margin:0!important; padding:10px 0!important; min-height:0!important;
    background:none!important; background-image:none!important; border:0!important; border-bottom:1px solid var(--p-line-2)!important; border-radius:0!important; box-shadow:none!important;
  }
  html body[data-theme-preset="modern_hybrid"] .compass-detail-lines > article:last-child{border-bottom:0!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-lines > article > div{display:grid!important; gap:1px!important; min-width:0!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-lines > article strong{font-size:13px!important; font-weight:600!important; color:var(--p-navy)!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-lines > article span{font-size:13.5px!important; font-weight:500!important; color:var(--p-text)!important; text-transform:none!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-lines > article small{font-size:12px!important; font-weight:400!important; color:var(--p-text-3)!important;}
  html body[data-theme-preset="modern_hybrid"] .compass-detail-lines > article > b{font-size:14px!important; font-weight:600!important; color:var(--p-navy-ink)!important; font-variant-numeric:tabular-nums!important; white-space:nowrap!important;}

  /* tablet */
  @media (max-width:1180px){
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-actions{width:100%!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-actions > label{flex:1 1 180px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot :is(#compassPeriodSelect,#compassReportSelect){min-width:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-table-wrap{overflow-x:auto!important;}
  }
  /* mobil */
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-head{padding:14px!important; gap:12px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-actions{display:grid!important; grid-template-columns:1fr 1fr!important; gap:8px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-actions > label{width:auto!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-actions select{height:44px!important; font-size:16px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot #btnCompassRefresh{grid-column:1 / -1!important; width:100%!important; height:44px!important; min-height:44px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-period-note{padding:10px 14px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi-grid{grid-template-columns:1fr 1fr!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi{padding:12px 14px!important; border-top:1px solid var(--p-line-2)!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi:nth-child(odd){border-left:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi:nth-child(-n+2){border-top:0!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi strong{font-size:17px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-panel > header{padding:12px 14px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list{max-height:calc(100dvh - 200px)!important;}
    /* grid: yatay kaydırma, ilk sütun sabit */
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-table-wrap{overflow-x:visible!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table{width:max-content!important; min-width:100%!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table :is(th,td){padding-left:10px!important; padding-right:10px!important; white-space:nowrap!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table td small{max-width:200px!important; overflow:hidden!important; text-overflow:ellipsis!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table :is(th,td):first-child{position:sticky!important; left:0!important; z-index:1!important; box-shadow:1px 0 0 var(--p-line), 6px 0 8px -6px rgba(16,24,40,.18)!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table thead th:first-child{z-index:3!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-mini-btn{height:40px!important; min-height:40px!important; padding:0 12px!important;}
    /* kart: dokunmaya uygun satırlar */
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row{flex-direction:column!important; align-items:stretch!important; gap:10px!important; padding:12px 14px!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row > div:first-child span{white-space:normal!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-row-side{flex-direction:row!important; align-items:center!important; justify-content:space-between!important; flex-wrap:wrap!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-row-actions{flex:1 1 auto!important; justify-content:flex-end!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot .compass-foot-note{padding:10px 14px!important; text-align:left!important;}
    html body[data-theme-preset="modern_hybrid"] .compass-detail-sheet{width:100vw!important; max-width:100vw!important; height:100dvh!important; max-height:100dvh!important; border-radius:0!important; position:fixed!important; inset:0!important; margin:0!important; transform:none!important;}
    html body[data-theme-preset="modern_hybrid"] .compass-detail-sheet > header{padding:14px!important;}
    html body[data-theme-preset="modern_hybrid"] .compass-detail-sheet > header button{width:44px!important; height:44px!important;}
    html body[data-theme-preset="modern_hybrid"] .compass-detail-body{padding:4px 14px calc(14px + env(safe-area-inset-bottom))!important;}
  }
}
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-period-note{width:100%!important; box-sizing:border-box!important; border-radius:0!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table thead th:last-child{text-align:right!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.compass-table thead th:is(:nth-last-child(2),:nth-last-child(3),:nth-last-child(4)){text-align:right;}
}
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-period-note{justify-content:flex-start!important; gap:5px!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-period-note > *{flex:0 0 auto!important; margin:0!important;}
}

/* =====================================================================
   v2 (2026-10-19) — Kontrast: "çok beyaz" geri bildirimi
   - Zemin bir ton koyu, kartlar zeminden net ayrılır
   - Ana menü lacivert çubuk, aktif sayfa turuncu alt çizgi
   - Tablo başlıkları tonlu, satır çizgileri belirgin, hafif zebra
   ===================================================================== */
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"]{
    --p-bg:#E8ECF1;
    --p-surface-2:#F1F4F8;
    --p-line:#D3DAE3;
    --p-line-2:#DFE4EB;
    --p-row-line:#B4BFCD; /* v5 (26.10): satır çizgisi daha belirgin; v2: #CBD3DE */
    --p-row-zebra:#F3F6FA;
    --p-row-hover:#EAF1F9;
    --p-thead-bg:#E2E8F0;
    --p-thead-fg:#2A3A4F;
    --p-band:#F3F6F9;
    --p-shadow:0 1px 2px rgba(16,24,40,.06),0 2px 6px rgba(16,24,40,.05);
  }

  /* --- ana menü: lacivert çubuk --- */
  html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header{border-bottom:1px solid var(--p-line)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu{
    background:var(--p-navy)!important; border-bottom:0!important; padding-top:0!important; padding-bottom:0!important; gap:2px!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile{height:44px!important; border-radius:0!important; color:rgba(255,255,255,.78)!important; background:transparent!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile .b2b-legacy-icon{filter:brightness(0) invert(1)!important; opacity:.8!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile:hover{background:rgba(255,255,255,.08)!important; color:#fff!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile.active{background:rgba(255,255,255,.12)!important; color:#fff!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile.active .b2b-legacy-icon{opacity:1!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile.active::after{
    content:""!important; display:block!important; position:absolute!important; left:12px!important; right:12px!important; bottom:0!important; height:3px!important;
    border-radius:3px 3px 0 0!important; background:var(--p-orange)!important; width:auto!important; transform:none!important; opacity:1!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .tile-menu .tile:focus-visible{box-shadow:inset 0 0 0 2px var(--p-orange)!important;}

  /* --- sayfa başlıkları ve filtre şeritleri: hafif tonlu bant --- */
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-page-head,.orders-page-head,.account-head,.requests-page-head,.purchases-page-head,.other-info-head,.compass-head){background:var(--p-band)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.orders-filterbar,.account-filterbar,.requests-filterbar,.purchases-filterbar,.compass-period-note){background:var(--p-surface-2)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-section-head{background:var(--p-band)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .search-board{background:var(--p-surface)!important;}

  /* --- ürün tablosu --- */
  html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid thead th{
    background:var(--p-thead-bg)!important; color:var(--p-thead-fg)!important; font-weight:600!important; border-bottom:1px solid #A7B3C3!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody td{border-bottom:1px solid var(--p-row-line)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody tr:nth-child(even) td{background:var(--p-row-zebra)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody tr:hover td{background:var(--p-row-hover)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot table.sales-grid tbody tr.is-in-cart td{background:#FFF6EC!important;}
  /* mobil grid: sabit kod sütunu zebrayı izlesin */
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid tbody tr:nth-child(even) td.catalog-col-product_code{background:var(--p-row-zebra)!important;}

  /* --- diğer veri tabloları (sepet, siparişler, cari, istek, aldıklarım, pusula) --- */
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(table.cart-table,table.orders-table,.account-body table,.requests-body table,.purchases-body table,table.compass-table) thead th{
    background:var(--p-thead-bg)!important; color:var(--p-thead-fg)!important; font-weight:600!important; border-bottom:1px solid #A7B3C3!important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(table.cart-table,table.orders-table,.account-body table,.requests-body table,.purchases-body table,table.compass-table) tbody td{border-bottom:1px solid var(--p-row-line)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(table.cart-table,table.orders-table,.account-body table,.requests-body table,.purchases-body table,table.compass-table) tbody tr:nth-child(even) td{background:var(--p-row-zebra)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(table.cart-table,table.orders-table,.account-body table,.requests-body table,.purchases-body table,table.compass-table) tbody tr:hover td{background:var(--p-row-hover)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row{border-bottom:1px solid var(--p-row-line)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-list-row:nth-child(even){background:var(--p-row-zebra)!important;}

  /* --- özet şeritleri: hafif ton --- */
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon,.purchases-summary,.compass-kpi-grid){background:var(--p-surface)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot :is(.cart-premium-ribbon,.orders-premium-ribbon,.purchases-summary) > div,
  html body[data-theme-preset="modern_hybrid"] #appRoot .compass-kpi{border-color:var(--p-line)!important;}

  /* --- kartlar: zeminden ayrışan kenar --- */
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-card{border-color:var(--p-line)!important;}
  html body[data-theme-preset="modern_hybrid"] #appRoot .home-product-image{background:#EEF2F6!important;}

  @media (max-width:768px){
    /* mobil kart görünümü: kartlar zeminden net ayrılsın, zebra uygulanmaz */
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody tr:nth-child(even) td,
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody tr:nth-child(even) td{background:transparent!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] :is(table.cart-table,table.orders-table,.account-body table) tbody td{border-bottom:1px solid var(--p-line-2)!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot[data-mv="card"] table.sales-grid tbody tr{border-color:var(--p-line)!important;}
  }
}

/* v3 (2026-10-19): Tablet/mobil cari çipi — ünvan görünür (plasiyer geri bildirimi)
/* v4 (2026-10-19): Cari çipi — Tüm ekran boyutlarında (masaüstü, tablet, mobil) ünvan, kod ve bakiye net okunur
   Satır 1: cari ünvanı (kalın)  ·  Satır 2: cari kodu · bakiye  ·  sağda Cari Değiştir */
@layer theme-modern {
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 8px !important;
    row-gap: 2px !important;
    align-items: center !important;
    align-content: center !important;
    height: auto !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > :is(span,span#activeCustomerLabel,.customer-badge-label) {
    display: none !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > .customer-title-line {
    display: block !important;
    grid-column: 1 / 3 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--p-text) !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > strong {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    display: block !important;
    white-space: nowrap !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--p-navy-2) !important;
    line-height: 1.25 !important;
    max-width: none !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > .balance-line {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    color: var(--p-text-2) !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > .balance-line::before {
    content: "· " !important;
    color: var(--p-text-3) !important;
    margin-right: 2px !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > .customer-card-actions {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    margin: 0 0 0 6px !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-card-actions:has(.customer-switch-hint) #btnOpenPasswordChange,
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-context-widget:has(.customer-switch-hint) #btnOpenPasswordChange {
    display: none !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .customer-switch-hint {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    border-radius: var(--p-r-sm, 6px) !important;
  }

  /* Cari seçilmediğinde */
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget.needs-customer > strong {
    grid-column: 1 / 3 !important;
    grid-row: 1 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--p-orange-ink) !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget.needs-customer > .customer-title-line {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    color: var(--p-text-3) !important;
  }
  html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget.needs-customer > .balance-line {
    display: none !important;
  }

  /* Responsive ölçüler */
  @media (min-width: 1181px) {
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget {
      max-width: 460px !important;
      min-width: 260px !important;
      padding: 6px 14px !important;
    }
  }
  @media (min-width: 769px) and (max-width: 1180px) {
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget {
      max-width: 320px !important;
      min-width: 190px !important;
      padding: 5px 8px !important;
      column-gap: 6px !important;
    }
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > .customer-title-line {
      font-size: 12.5px !important;
    }
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > strong,
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > .balance-line {
      font-size: 11px !important;
    }
  }
  @media (max-width: 768px) {
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget {
      width: 100% !important;
      flex: 1 1 100% !important;
      max-width: 100% !important;
      padding: 5px 6px 5px 10px !important;
      column-gap: 6px !important;
      row-gap: 1px !important;
    }
    html body[data-theme-preset="modern_hybrid"] #appRoot .customer-switch-hint {
      height: 30px !important;
      min-height: 30px !important;
      padding: 0 8px !important;
      font-size: 11px !important;
    }
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > strong,
    html body[data-theme-preset="modern_hybrid"] #appRoot .right-widgets > div.customer-context-widget > .balance-line {
      font-size: 11px !important;
    }
  }

  /* Mobil grid: arama öncesi / sonuç yok mesajı tam genişlik (kesilmesin) */
  @media (max-width:768px){
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid tbody tr:has(> td[colspan]){width:100%!important; min-width:100%!important;}
    html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) table.sales-grid tbody td[colspan]{
      flex:1 1 100%!important; width:100%!important; max-width:none!important; display:block!important; position:static!important;
      white-space:normal!important; overflow:visible!important; height:auto!important; padding:14px!important; box-shadow:none!important; text-align:left!important;
    }
  }
}

/* Un-layered override: theme-premium-v2.css position:absolute kuralını modern_hybrid için kesinlikle ez */
html body[data-theme-preset="modern_hybrid"] #appRoot .identity-header .right-widgets.header-context-widgets > .customer-context-widget .customer-card-actions,
html body[data-theme-preset="modern_hybrid"] #appRoot .customer-context-widget .customer-card-actions {
  position: static !important;
  transform: none !important;
  right: auto !important;
  top: auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  z-index: 2 !important;
}
html body[data-theme-preset="modern_hybrid"] #appRoot .customer-card-actions:has(.customer-switch-hint) #btnOpenPasswordChange,
html body[data-theme-preset="modern_hybrid"] #appRoot .customer-context-widget:has(.customer-switch-hint) #btnOpenPasswordChange {
  display: none !important;
}

/* ---------- 18. MOBIL_ALT_SATIR_20261118: satir gorunumunde ic kaydirma kutusu kaldirildi ----------
   .table-scroll mobilde max-height (68-74vh) ile ayri kayiyordu; parmak listedeyken sayfa kaymadigi icin kutunun alt
   satirlari alt menunun (mh-bottom-nav) altinda kaliyordu. Kart gorunumundeki gibi liste sayfayla birlikte kayar;
   #appRoot alt boslugu (64px + guvenli alan) son satiri menunun ustunde birakir. */
@layer theme-modern {
@media (max-width:768px){
  html body[data-theme-preset="modern_hybrid"] #appRoot:not([data-mv="card"]) #tableView .table-scroll{height:auto!important; max-height:none!important; min-height:0!important; overflow-y:visible!important;}
}
} /* @layer theme-modern (MOBIL_ALT_SATIR_20261118) */