/* =====================================================================
   TESLASHOP.GE — Hybrid UI 1.0
   Modern Light + Dark Premium, ergonomics-first responsive layer.
   Loaded after the existing site styles; business logic is untouched.
   ===================================================================== */

:root{
  color-scheme:light dark;
  --hy-bg:#f3f5f8;
  --hy-bg-elevated:#ffffff;
  --hy-surface:#ffffff;
  --hy-surface-2:#f8f9fb;
  --hy-surface-3:#eef1f5;
  --hy-text:#10131a;
  --hy-text-2:#3f4755;
  --hy-muted:#77808f;
  --hy-line:#dfe4eb;
  --hy-line-strong:#cbd2dc;
  --hy-accent:#e82127;
  --hy-accent-hover:#c8141a;
  --hy-accent-soft:#fff0f1;
  --hy-success:#179c5b;
  --hy-warning:#d88813;
  --hy-danger:#d92d20;
  --hy-header:rgba(255,255,255,.90);
  --hy-overlay:rgba(9,13,21,.58);
  --hy-shadow-sm:0 5px 18px rgba(15,23,42,.055);
  --hy-shadow:0 16px 46px rgba(15,23,42,.095);
  --hy-shadow-lg:0 28px 78px rgba(15,23,42,.16);
  --hy-radius-xs:10px;
  --hy-radius-sm:14px;
  --hy-radius:18px;
  --hy-radius-lg:24px;
  --hy-control:48px;
  --hy-content:1480px;
  --hy-safe-bottom:env(safe-area-inset-bottom,0px);

  /* Map the established design variables to the hybrid system. */
  --ts-ink:var(--hy-text);
  --ts-muted:var(--hy-muted);
  --ts-line:var(--hy-line);
  --ts-line-strong:var(--hy-line-strong);
  --ts-canvas:var(--hy-bg);
  --ts-card:var(--hy-surface);
  --ts-soft:var(--hy-surface-2);
  --ts-shadow:var(--hy-shadow-sm);
  --ts-shadow-hover:var(--hy-shadow);
}

html[data-theme="dark"]{
  --hy-bg:#080b11;
  --hy-bg-elevated:#0e131c;
  --hy-surface:#111720;
  --hy-surface-2:#171e29;
  --hy-surface-3:#202936;
  --hy-text:#f5f7fb;
  --hy-text-2:#cbd2dc;
  --hy-muted:#929cab;
  --hy-line:#26303d;
  --hy-line-strong:#374353;
  --hy-accent:#ff3540;
  --hy-accent-hover:#ff5961;
  --hy-accent-soft:rgba(255,53,64,.13);
  --hy-success:#43ca83;
  --hy-warning:#f5b950;
  --hy-danger:#ff6961;
  --hy-header:rgba(8,11,17,.88);
  --hy-overlay:rgba(0,0,0,.72);
  --hy-shadow-sm:0 8px 22px rgba(0,0,0,.25);
  --hy-shadow:0 18px 54px rgba(0,0,0,.38);
  --hy-shadow-lg:0 30px 90px rgba(0,0,0,.55);

  --ts-red-soft:rgba(255,53,64,.13);
  --ts-green-soft:rgba(67,202,131,.12);
  --ts-blue-soft:rgba(80,145,255,.13);
  --ts-purple-soft:rgba(171,118,255,.13);
  --ts-orange-soft:rgba(255,157,84,.13);
  --ts-teal-soft:rgba(54,196,204,.13);
}

html{background:var(--hy-bg)!important;scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 8% -10%,color-mix(in srgb,var(--module-accent) 9%,transparent),transparent 34rem),
    var(--hy-bg)!important;
  color:var(--hy-text)!important;
  transition:background-color .25s ease,color .25s ease;
}
body::selection{background:color-mix(in srgb,var(--hy-accent) 28%,transparent);color:var(--hy-text)}
a{color:inherit}

/* Focus and touch ergonomics ------------------------------------------------ */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid color-mix(in srgb,var(--module-accent) 48%,transparent)!important;
  outline-offset:2px!important;
}
:where(button,.btn,.mp-btn,.btn-tesla,.btn-outline,.icon-btn,.user-menu-btn){touch-action:manipulation}

/* Header -------------------------------------------------------------------- */
.site-header{
  background:var(--hy-header)!important;
  border-color:color-mix(in srgb,var(--hy-line) 85%,transparent)!important;
  box-shadow:0 7px 28px rgba(15,23,42,.055)!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.35)!important;
  backdrop-filter:blur(22px) saturate(1.35)!important;
}
.header-inner{max-width:var(--hy-content)!important}
.ts26-logo-word b,.ts26-trust,.ts26-trust svg,.site-logo{color:var(--hy-text)!important}
.ts26-logo-sub,.ts26-trust small{color:var(--hy-muted)!important}
.header-actions{border-color:var(--hy-line)!important}
.icon-btn,.user-menu-btn,.btn-outline{
  color:var(--hy-text)!important;
  background:var(--hy-surface)!important;
  border-color:var(--hy-line)!important;
}
.icon-btn:hover,.user-menu-btn:hover,.btn-outline:hover{background:var(--hy-surface-2)!important;border-color:var(--hy-line-strong)!important}
.ts26-categorybar{background:color-mix(in srgb,var(--hy-header) 94%,transparent)!important;border-color:var(--hy-line)!important}
.ts26-categorybar .nav-link{color:var(--hy-text-2)!important}
.ts26-categorybar .nav-link:hover{color:var(--module-accent)!important;background:var(--hy-surface-2)!important}
.ts26-catalog-link{color:var(--hy-text)!important;border-color:var(--hy-line)!important;background:var(--hy-surface)!important}
.ts-usermenu-pop,.ts-dialog-panel,.ts-search-panel,.ts-ac-dropdown{
  color:var(--hy-text)!important;background:var(--hy-surface)!important;border-color:var(--hy-line)!important;box-shadow:var(--hy-shadow-lg)!important
}
.ts-umi{color:var(--hy-text-2)!important}.ts-umi:hover{background:var(--hy-surface-2)!important;color:var(--hy-text)!important}

.ts-theme-toggle{position:relative;overflow:hidden;min-width:42px}
.ts-theme-toggle svg{position:absolute;transition:transform .24s ease,opacity .24s ease}
.ts-theme-toggle .ts-theme-sun{opacity:1;transform:rotate(0) scale(1)}
.ts-theme-toggle .ts-theme-moon{opacity:0;transform:rotate(-45deg) scale(.65)}
html[data-theme="dark"] .ts-theme-toggle .ts-theme-sun{opacity:0;transform:rotate(45deg) scale(.65)}
html[data-theme="dark"] .ts-theme-toggle .ts-theme-moon{opacity:1;transform:rotate(0) scale(1)}

/* Global surfaces ----------------------------------------------------------- */
main.container{max-width:var(--hy-content)!important}
h1,h2,h3,h4,h5,h6{color:var(--hy-text)!important}
p,.text-muted,.muted{color:var(--hy-text-2)}
hr{border-color:var(--hy-line)!important}

:where(.card,.admin-card,.panel,.pp-card,.cv-card,.dp-card,.sv-card,.shop-card,.cc,
.mp-card,.mp-manage-card,.mp-smart-filters,.mp-manage-filter,.mp-detail>.mp-gallery,
.mp-detail>.mp-detail-info,.mp-detail-sections>article,.mp-form-card,.mp-step,.mp-section,
.ts26-account-sidebar,.ts26-account-kpi,.ts26-quick-actions a,.ts26-dashboard-card,
.account-card,.tsa-card,.tsa-panel,.seller-card,.service-card){
  color:var(--hy-text)!important;
  background:var(--hy-surface)!important;
  border-color:var(--hy-line)!important;
  box-shadow:var(--hy-shadow-sm)!important;
}

:where(input,select,textarea,.flt-search,.filter-input,.filter-select){
  min-height:var(--hy-control)!important;
  color:var(--hy-text)!important;
  background:var(--hy-surface)!important;
  border-color:var(--hy-line-strong)!important;
  caret-color:var(--module-accent);
}
:where(input,select,textarea)::placeholder{color:color-mix(in srgb,var(--hy-muted) 82%,transparent)!important}
:where(input,select,textarea):focus{border-color:var(--module-accent)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--module-accent) 13%,transparent)!important}
select{color-scheme:light}
html[data-theme="dark"] select{color-scheme:dark}

:where(.btn-tesla,.mp-btn-primary,.ts-search-submit){
  color:#fff!important;background:linear-gradient(135deg,var(--hy-accent),var(--hy-accent-hover))!important;border-color:transparent!important;box-shadow:0 9px 22px color-mix(in srgb,var(--hy-accent) 22%,transparent)!important
}
:where(.btn-tesla,.mp-btn-primary,.ts-search-submit):hover{transform:translateY(-1px);box-shadow:0 13px 28px color-mix(in srgb,var(--hy-accent) 30%,transparent)!important}
:where(.mp-btn,.btn-outline){min-height:44px;border-radius:12px!important}

/* Strong block contrast ----------------------------------------------------- */
.mp-hero,.ts26-module-banner,.hp-hero,.hero-section{
  border:1px solid var(--hy-line)!important;
  box-shadow:var(--hy-shadow)!important;
}
html[data-theme="dark"] :where(.mp-hero,.ts26-module-banner,.hp-hero,.hero-section){
  background:
    linear-gradient(120deg,rgba(255,255,255,.045),rgba(255,255,255,.015)),
    radial-gradient(circle at 78% 35%,color-mix(in srgb,var(--module-accent) 22%,transparent),transparent 43%),
    #0e141e!important;
}
html[data-theme="dark"] .ts26-module-banner>img{opacity:.82;filter:saturate(.9) contrast(1.05)}

/* Marketplace cards and filters ------------------------------------------- */
.mp-market-tabs,.mp-manage-tabs{background:var(--hy-surface)!important;border-color:var(--hy-line)!important;box-shadow:var(--hy-shadow-sm)}
.mp-market-tabs a,.mp-manage-tabs a{color:var(--hy-text-2)!important}
.mp-market-tabs a b,.mp-manage-tabs a b{color:var(--hy-text-2)!important;background:var(--hy-surface-3)!important}
.mp-market-tabs a.active,.mp-manage-tabs a.active{color:#fff!important;background:linear-gradient(135deg,#151b26,#293345)!important}
html[data-theme="dark"] .mp-market-tabs a.active,html[data-theme="dark"] .mp-manage-tabs a.active{background:linear-gradient(135deg,var(--hy-accent),#9d1117)!important}
.mp-smart-filters,.mp-manage-filter{box-shadow:var(--hy-shadow)!important}
.mp-smart-filters label,.mp-manage-filter label{color:var(--hy-muted)!important}
.mp-advanced-filters,.mp-filter-actions-v6,.mp-manage-actions{border-color:var(--hy-line)!important}
.mp-card{overflow:hidden;border-radius:var(--hy-radius)!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.mp-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--module-accent) 40%,var(--hy-line))!important;box-shadow:var(--hy-shadow)!important}
.mp-card-media,.mp-manage-media,.mp-gallery-main,.mp-mini-grid img{background:var(--hy-surface-3)!important}
.mp-card h3 a,.mp-manage-main h2 a{color:var(--hy-text)!important}
.mp-card-meta,.mp-card-footer,.mp-manage-facts,.mp-manage-metrics,.mp-browse-crumb,.mp-results-toolbar{color:var(--hy-muted)!important}
.mp-manage-card{box-shadow:var(--hy-shadow-sm)!important}
.mp-manage-actions{background:color-mix(in srgb,var(--hy-surface-2) 72%,transparent);border-radius:12px;padding-block:10px;padding-right:10px}

/* Detail pages -------------------------------------------------------------- */
.mp-detail>.mp-gallery,.mp-detail>.mp-detail-info,.mp-detail-sections>article{box-shadow:var(--hy-shadow)!important}
.mp-gallery-main,.mp-thumbs button{background:var(--hy-surface-3)!important}
.mp-detail-info .mp-price{color:var(--hy-text)!important;border-color:var(--hy-line)!important}
.mp-facts div{background:var(--hy-surface-2)!important;border:1px solid var(--hy-line)}
.mp-facts dt,.mp-attribute-list dt,.mp-seller span{color:var(--hy-muted)!important}
.mp-facts dd,.mp-attribute-list dd,.mp-seller strong{color:var(--hy-text)!important}
.mp-attribute-list div,.mp-detail-sections h2,.mp-card-footer{border-color:var(--hy-line)!important}
.mp-seller,.mp-fitment-list>div,.mp-mini-grid>a,.mp-mini-grid>div{color:var(--hy-text)!important;background:var(--hy-surface-2)!important;border-color:var(--hy-line)!important}
.mp-detail-info{top:150px}

/* Wizard/forms -------------------------------------------------------------- */
.mp-wizard,.mp-add-shell{color:var(--hy-text)}
.mp-stepper,.mp-wizard-progress,.mp-add-head,.mp-wizard-card,.mp-stage-card,.mp-review-card{
  color:var(--hy-text)!important;background:var(--hy-surface)!important;border-color:var(--hy-line)!important;box-shadow:var(--hy-shadow-sm)!important
}
.mp-choice,.mp-type-card,.mp-chip,.mp-option-chip,.mp-check-chip{
  color:var(--hy-text-2)!important;background:var(--hy-surface-2)!important;border-color:var(--hy-line)!important
}
.mp-choice:hover,.mp-type-card:hover,.mp-chip:hover,.mp-option-chip:hover,.mp-check-chip:hover{border-color:var(--module-accent)!important;background:color-mix(in srgb,var(--module-accent) 8%,var(--hy-surface))!important}
.mp-choice.is-selected,.mp-type-card.is-selected,.mp-chip.is-selected,.mp-option-chip.is-selected,.mp-check-chip.is-selected,
.mp-choice input:checked+*,.mp-chip input:checked+*{color:var(--hy-text)!important;border-color:var(--module-accent)!important;background:color-mix(in srgb,var(--module-accent) 12%,var(--hy-surface))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--module-accent) 10%,transparent)}
.mp-wizard-footer,.mp-action-bar{background:color-mix(in srgb,var(--hy-surface) 92%,transparent)!important;border-color:var(--hy-line)!important;backdrop-filter:blur(18px)}

/* Account/dashboard --------------------------------------------------------- */
.ts26-account-nav a{color:var(--hy-text-2)!important}
.ts26-account-nav a:hover{color:var(--hy-text)!important;background:var(--hy-surface-2)!important}
.ts26-account-user,.ts26-account-logout,.ts26-card-head,.ts26-order-row,.ts26-health-row{border-color:var(--hy-line)!important}
.ts26-account-user small,.ts26-account-kpi small,.ts26-quick-actions small,.ts26-order-row small{color:var(--hy-muted)!important}
.ts26-account-kpi::after{opacity:.55}
.ts26-account-sidebar{top:155px}

/* Footer and mobile navigation --------------------------------------------- */
.site-footer{color:var(--hy-text)!important;background:var(--hy-surface)!important;border-color:var(--hy-line)!important}
.footer-col a,.footer-brand p,.footer-bottom{color:var(--hy-muted)!important}
.footer-col h4,.footer-phone{color:var(--hy-text)!important}
.mobile-footer{color:var(--hy-text)!important;background:var(--hy-surface)!important;border-color:var(--hy-line)!important}
.bottom-nav{
  background:color-mix(in srgb,var(--hy-surface) 92%,transparent)!important;
  border-color:var(--hy-line)!important;
  box-shadow:0 -8px 30px rgba(15,23,42,.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3)
}
.bn-item{color:var(--hy-muted)!important}.bn-item:active,.bn-item:hover{color:var(--module-accent)!important}.bn-ico{min-width:32px;min-height:32px}
#bnMenuPanel{background:var(--hy-surface)!important;color:var(--hy-text)!important}
.bn-menu-item{color:var(--hy-text)!important}.bn-menu-ico{color:var(--hy-text)!important;background:var(--hy-surface-2)!important}

/* Dark mode fixes for common hard-coded whites ----------------------------- */
html[data-theme="dark"] :where(
  .site-header,.ts26-categorybar,.site-footer,.mobile-footer,.bottom-nav,
  .mp-smart-filters,.mp-manage-filter,.mp-market-tabs,.mp-manage-tabs,
  .mp-card,.mp-manage-card,.mp-detail-info,.mp-detail>.mp-gallery,
  .mp-detail-sections>article,.ts26-account-sidebar,.ts26-account-kpi,
  .ts26-quick-actions a,.ts26-dashboard-card,.ts-dialog-panel,.ts-usermenu-pop
){background-color:var(--hy-surface)!important}
html[data-theme="dark"] img:not([src*="logo"]):not([src*="brand"]){color-scheme:dark}
html[data-theme="dark"] .mp-manage-actions{background:var(--hy-surface-2)!important}
html[data-theme="dark"] .mp-card-type-part .mp-card-media img,
html[data-theme="dark"] .mp-card-type-dismantled_part .mp-card-media img,
html[data-theme="dark"] .mp-card-type-service .mp-card-media img,
html[data-theme="dark"] .mp-card-type-charger .mp-card-media img,
html[data-theme="dark"] .mp-manage-type-part .mp-manage-media img,
html[data-theme="dark"] .mp-manage-type-dismantled_part .mp-manage-media img,
html[data-theme="dark"] .mp-manage-type-service .mp-manage-media img,
html[data-theme="dark"] .mp-manage-type-charger .mp-manage-media img{background:#e9edf2!important}

/* Tablet ergonomics --------------------------------------------------------- */
@media (max-width:1100px){
  :root{--hy-control:48px}
  .header-inner{height:66px!important;padding-inline:18px!important}
  .ts26-categorybar-inner{padding-inline:12px!important}
  .ts26-categorybar .desktop-nav{scroll-snap-type:x proximity;overscroll-behavior-inline:contain}
  .ts26-categorybar .nav-link{min-height:40px;scroll-snap-align:start}
  main.container{padding-inline:18px!important}
  .mp-smart-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .mp-detail-info{top:128px}
  .ts26-account-layout{gap:14px}
}

/* Mobile ergonomics --------------------------------------------------------- */
@media (max-width:720px){
  :root{--hy-radius:15px;--hy-radius-lg:19px;--hy-control:50px}
  body{font-size:14px;padding-bottom:calc(72px + var(--hy-safe-bottom))}
  .site-header{position:sticky!important}
  .header-inner{height:58px!important;padding:0 12px!important;gap:8px!important}
  .site-logo{min-width:0!important;flex:1}
  .ts26-logo-mark{width:18px!important;height:29px!important}.ts26-logo-word{font-size:15px!important}
  .header-actions{gap:5px!important;padding-left:7px!important}.header-actions .icon-btn{width:42px!important;height:42px!important;min-width:42px!important}
  .ts-theme-toggle{display:inline-flex!important}
  .ts26-categorybar-inner{height:47px!important;padding:0 8px!important}
  .ts26-categorybar .desktop-nav{gap:5px!important;padding:3px 0!important}
  .ts26-categorybar .nav-link{height:39px!important;min-height:39px!important;padding-inline:13px!important;border:1px solid var(--hy-line)!important;background:var(--hy-surface)!important}
  .ts26-categorybar .nav-link.active{border-color:color-mix(in srgb,var(--module-accent) 50%,var(--hy-line))!important}
  main.container{padding:14px 10px 30px!important}

  .mp-browse-v6,.mp-breadcrumb:not(.mp-car-breadcrumb),.mp-owner-preview,.mp-detail,.mp-detail-sections{width:100%!important}
  .mp-browse-v6-head{gap:8px!important}.mp-browse-v6-head h1{font-size:30px!important}
  .mp-market-tabs,.mp-manage-tabs{margin-inline:0!important;border-radius:14px!important;scroll-snap-type:x mandatory}
  .mp-market-tabs a,.mp-manage-tabs a{min-height:44px!important;scroll-snap-align:start}
  .mp-smart-filters{padding:12px!important;border-radius:16px!important}
  .mp-smart-filter-grid{grid-template-columns:1fr!important}.mp-filter-search{grid-column:auto!important}
  .mp-filter-actions-v6{bottom:calc(72px + var(--hy-safe-bottom))!important;background:color-mix(in srgb,var(--hy-surface) 94%,transparent)!important;border-color:var(--hy-line)!important}
  .mp-filter-actions-v6 .mp-btn{min-height:48px!important}

  .mp-grid{grid-template-columns:1fr!important;gap:11px!important}
  .mp-card{grid-template-columns:126px minmax(0,1fr)!important;border-radius:15px!important}
  .mp-card-media{min-height:126px!important}.mp-card-body{min-height:126px!important;padding:12px!important}
  .mp-card h3{font-size:14px!important}.mp-card-footer{gap:6px!important}

  .mp-manage-card{grid-template-columns:104px minmax(0,1fr)!important;gap:10px!important;padding:9px!important}
  .mp-manage-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:10px 0 0!important;background:transparent!important}
  .mp-manage-actions form,.mp-manage-actions .mp-btn{width:100%!important}.mp-manage-actions .mp-btn{min-height:44px!important}
  .mp-manage-facts{display:none!important}.mp-manage-main h2{font-size:13px!important}.mp-manage-metrics{font-size:9px!important}

  .mp-detail{gap:10px!important}.mp-detail>.mp-gallery{padding:7px!important}.mp-gallery-main{aspect-ratio:4/3!important}
  .mp-detail-info{position:static!important;padding:17px!important}.mp-detail-info h1{font-size:25px!important}.mp-price{font-size:30px!important}
  .mp-facts{grid-template-columns:1fr 1fr!important}.mp-actions .mp-btn{min-height:50px!important}
  .mp-detail-sections>article{padding:19px 16px!important}.mp-detail-sections h2{font-size:20px!important}

  .mp-wizard-footer,.mp-action-bar{bottom:calc(64px + var(--hy-safe-bottom))!important;padding:9px 10px!important}
  .mp-wizard-footer .mp-btn,.mp-action-bar .mp-btn{min-height:50px!important}
  .mp-choice,.mp-type-card,.mp-chip,.mp-option-chip,.mp-check-chip{min-height:46px!important}

  .ts26-account-layout{display:block!important}.ts26-account-sidebar{position:static!important;margin-bottom:12px;border-radius:14px!important}
  .ts26-account-nav{display:flex!important;gap:5px!important;padding:7px!important;overflow-x:auto!important;scroll-snap-type:x proximity}
  .ts26-account-nav a{min-width:48px!important;min-height:44px!important;scroll-snap-align:start}
  .ts26-account-kpis{gap:9px!important}.ts26-account-kpi{padding:13px!important}.ts26-account-kpi strong{font-size:22px!important}
  .ts26-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.ts26-quick-actions a{min-height:96px!important;padding:13px!important}

  .bottom-nav{height:64px!important;padding-bottom:var(--hy-safe-bottom)!important}.bn-item{min-height:58px!important}
  .site-footer{display:none!important}.mobile-footer{display:none!important}
}

@media (max-width:420px){
  .header-actions .icon-btn{width:40px!important;height:40px!important;min-width:40px!important}
  .mp-card{grid-template-columns:112px minmax(0,1fr)!important}.mp-card-media,.mp-card-body{min-height:112px!important}
  .mp-manage-card{grid-template-columns:94px minmax(0,1fr)!important}.mp-manage-actions{grid-template-columns:1fr 1fr!important}
  .mp-facts{grid-template-columns:1fr!important}
  .ts26-account-kpis{grid-template-columns:1fr 1fr!important}
}

/* Motion accessibility ------------------------------------------------------ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Additional compatibility for legacy inline/mobile/account surfaces. */
html[data-theme="dark"] :where(table,thead,tbody,tr,td,th){border-color:var(--hy-line)!important}
html[data-theme="dark"] :where(table,thead,tbody,tr,td,th){color:var(--hy-text)!important}
html[data-theme="dark"] :where(thead,.table-head){background:var(--hy-surface-2)!important}
html[data-theme="dark"] :where(.alert,.notice,.flash,.flash-message){border-color:var(--hy-line)!important}
html[data-theme="dark"] #bnMenuPanel [style*="color:#171a20"],
html[data-theme="dark"] #bnMenuPanel [style*="color: #171a20"]{color:var(--hy-text)!important}
html[data-theme="dark"] #bnMenuPanel [style*="color:#8e8e93"],
html[data-theme="dark"] #bnMenuPanel [style*="color: #8e8e93"]{color:var(--hy-muted)!important}
html[data-theme="dark"] #bnMenuPanel [style*="background:#f4f4f4"],
html[data-theme="dark"] #bnMenuPanel [style*="background: #f4f4f4"]{background:var(--hy-surface-2)!important}
html[data-theme="dark"] #bnMenuPanel [style*="border-bottom:1px solid rgba(0,0,0,.07)"]{border-color:var(--hy-line)!important}
html[data-theme="dark"] .ts-search-input{background:transparent!important}

@media (hover:none){
  .mp-card:hover,.pp-card:hover,.cv-card:hover,.dp-card:hover,.sv-card:hover,.shop-card:hover,.cc:hover{transform:none!important}
}

/* =====================================================================
   TESLASHOP.GE V11 — RADICAL FRONTEND
   Structural redesign: header, homepage, marketplace home, catalogue.
   ===================================================================== */
:root{
  --tsr-bg:#f4f6f9;
  --tsr-surface:#ffffff;
  --tsr-surface-2:#edf1f6;
  --tsr-ink:#0a0d12;
  --tsr-text:#303846;
  --tsr-muted:#7a8493;
  --tsr-line:#dfe4eb;
  --tsr-red:#e82127;
  --tsr-red-2:#ff3d47;
  --tsr-night:#080b10;
  --tsr-night-2:#111720;
  --tsr-blue:#1f6bff;
  --tsr-green:#18a568;
  --tsr-radius:22px;
  --tsr-radius-lg:30px;
  --tsr-shadow:0 16px 44px rgba(14,22,36,.09);
  --tsr-shell:1440px;
}
html[data-theme="dark"]{
  --tsr-bg:#070a0f;
  --tsr-surface:#11161e;
  --tsr-surface-2:#181f2a;
  --tsr-ink:#f7f9fc;
  --tsr-text:#c8d0dc;
  --tsr-muted:#8e99a9;
  --tsr-line:#27313f;
  --tsr-shadow:0 18px 52px rgba(0,0,0,.38);
}
body{background:var(--tsr-bg)!important;color:var(--tsr-ink)!important}
main.container{max-width:none!important;padding:0!important;width:100%!important}
.tsr-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--tsr-red);font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.tsr-kicker:before{content:"";width:20px;height:2px;border-radius:2px;background:currentColor}
.tsr-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:1px solid transparent;border-radius:13px;text-decoration:none;font-size:13px;font-weight:850;transition:.2s ease}
.tsr-btn:hover{transform:translateY(-2px)}
.tsr-btn-primary{color:#fff!important;background:linear-gradient(135deg,var(--tsr-red),var(--tsr-red-2));box-shadow:0 12px 25px rgba(232,33,39,.24)}
.tsr-btn-glass{color:#fff!important;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.09);backdrop-filter:blur(12px)}
.tsr-btn-dark{color:#fff!important;background:#090d13}

/* Radical header --------------------------------------------------------- */
.site-header.tsr-header{position:sticky!important;top:0!important;height:auto!important;background:color-mix(in srgb,var(--tsr-surface) 91%,transparent)!important;border-bottom:1px solid var(--tsr-line)!important;box-shadow:0 8px 30px rgba(10,15,25,.07)!important;backdrop-filter:blur(22px) saturate(1.35)!important}
.tsr-header-main{display:grid;grid-template-columns:auto minmax(300px,680px) auto;align-items:center;gap:24px;width:min(var(--tsr-shell),calc(100% - 40px));min-height:72px;margin:auto}
.tsr-brand{display:flex;align-items:center;gap:11px;color:var(--tsr-ink);text-decoration:none;white-space:nowrap}
.tsr-brand-mark{display:grid;place-items:center;width:37px;height:42px;clip-path:polygon(50% 0,100% 16%,82% 100%,50% 84%,18% 100%,0 16%);color:#fff;background:linear-gradient(180deg,var(--tsr-red-2),#b8060d);font-size:21px;font-weight:950}
.tsr-brand-copy{display:flex;flex-direction:column;line-height:1}.tsr-brand-copy strong{font-size:18px;letter-spacing:.02em}.tsr-brand-copy strong span{color:var(--tsr-red)}.tsr-brand-copy small{margin-top:6px;color:var(--tsr-muted);font-size:9px;font-weight:700}
.tsr-header-search{display:flex;align-items:center;gap:10px;height:48px;padding:4px 5px 4px 15px;border:1px solid var(--tsr-line);border-radius:14px;background:var(--tsr-surface-2)}
.tsr-header-search svg{width:18px;color:var(--tsr-muted)}.tsr-header-search input{flex:1;min-width:0;min-height:0!important;height:38px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:12px}.tsr-header-search button{height:38px;padding:0 18px;border:0;border-radius:10px;color:#fff;background:var(--tsr-ink);font-size:11px;font-weight:850;cursor:pointer}
html[data-theme="dark"] .tsr-header-search button{color:#0b0e13;background:#fff}
.tsr-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}
.tsr-icon-button{display:grid;place-items:center;width:43px;height:43px;padding:0;border:1px solid var(--tsr-line);border-radius:12px;color:var(--tsr-ink);background:var(--tsr-surface);cursor:pointer}.tsr-icon-button svg{width:19px;height:19px}
.tsr-publish-button{display:flex;align-items:center;gap:8px;min-height:43px;padding:0 15px;border-radius:12px;color:#fff!important;background:var(--tsr-red);text-decoration:none;font-size:11px}.tsr-publish-button span{font-size:19px}.tsr-publish-button b{font-weight:850}
.tsr-login-link{display:flex;align-items:center;min-height:43px;padding:0 15px;border:1px solid var(--tsr-line);border-radius:12px;color:var(--tsr-ink);text-decoration:none;font-size:11px;font-weight:850}
.tsr-user-button{display:flex;align-items:center;gap:8px;min-height:43px;padding:4px 9px 4px 5px;border:1px solid var(--tsr-line);border-radius:13px;background:var(--tsr-surface);list-style:none;cursor:pointer}.tsr-user-button::-webkit-details-marker{display:none}.tsr-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#fff;background:linear-gradient(135deg,#111827,#3f4b5e);font-size:12px;font-weight:900}.tsr-user-copy{display:flex;flex-direction:column;min-width:0}.tsr-user-copy strong{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.tsr-user-copy small{color:var(--tsr-muted);font-size:8px}.tsr-user-button>svg{width:13px}
.tsr-nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(var(--tsr-shell),calc(100% - 40px));min-height:48px;margin:auto;border-top:1px solid color-mix(in srgb,var(--tsr-line) 70%,transparent)}
.tsr-nav{display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none}.tsr-nav::-webkit-scrollbar{display:none}.tsr-nav a{position:relative;display:flex;align-items:center;min-height:47px;padding:0 13px;color:var(--tsr-text);text-decoration:none;font-size:10px;font-weight:800;white-space:nowrap}.tsr-nav a:hover,.tsr-nav a.active{color:var(--tsr-red)}.tsr-nav a.active:after{content:"";position:absolute;left:13px;right:13px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--tsr-red)}
.tsr-mytesla{display:flex;align-items:center;gap:7px;color:var(--tsr-ink);text-decoration:none;font-size:10px;font-weight:850;white-space:nowrap}.tsr-mytesla span{color:var(--tsr-red)}
.tsr-mobile-search{display:none}

/* Footer ----------------------------------------------------------------- */
.site-footer.tsr-footer{margin-top:0!important;padding:0!important;color:#dfe5ee!important;background:#080b10!important;border:0!important}
.tsr-footer-top{display:grid;grid-template-columns:minmax(300px,1.2fr) 2fr;gap:70px;width:min(var(--tsr-shell),calc(100% - 40px));margin:auto;padding:64px 0 48px}.tsr-footer-logo{color:#fff!important;text-decoration:none;font-size:25px;font-weight:900}.tsr-footer-logo span{color:var(--tsr-red)}.tsr-footer-brand p{max-width:510px;margin:18px 0;color:#8792a3!important;font-size:13px;line-height:1.8}.tsr-footer-contact{display:flex;gap:16px;flex-wrap:wrap}.tsr-footer-contact a{color:#fff;text-decoration:none;font-size:12px;font-weight:800}.tsr-footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}.tsr-footer-links h4{margin:0 0 17px;color:#fff!important;font-size:12px}.tsr-footer-links a{display:block;margin:10px 0;color:#909aaa;text-decoration:none;font-size:11px}.tsr-footer-links a:hover{color:#fff}.tsr-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;width:min(var(--tsr-shell),calc(100% - 40px));min-height:70px;margin:auto;border-top:1px solid #202630;color:#747f90;font-size:10px}.tsr-footer-bottom div{display:flex;gap:17px}.tsr-footer-bottom a{color:#aab2bf;text-decoration:none}.mobile-footer{display:none!important}

/* Homepage --------------------------------------------------------------- */
.tsr-home,.tsr-marketplace-home,.tsr-catalog-page{width:100%;margin:0;background:var(--tsr-bg)}
.tsr-home-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);min-height:610px;overflow:hidden;color:#fff;background:#080b10}
.tsr-home-hero-bg{position:absolute;inset:0;background:radial-gradient(circle at 76% 40%,rgba(232,33,39,.24),transparent 28%),radial-gradient(circle at 16% 105%,rgba(40,98,255,.18),transparent 32%),linear-gradient(115deg,#080b10 0%,#111722 55%,#07090d 100%)}
.tsr-home-hero-bg:after{content:"";position:absolute;inset:0;opacity:.16;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:60px 60px;mask-image:linear-gradient(to right,#000,transparent 75%)}
.tsr-home-hero-copy{position:relative;z-index:2;align-self:center;max-width:780px;padding:82px max(40px,calc((100vw - var(--tsr-shell))/2)) 74px}
.tsr-home-hero h1{margin:20px 0 18px;color:#fff!important;font-size:clamp(48px,5.3vw,82px);line-height:.99;letter-spacing:-.055em}.tsr-home-hero h1 em,.tsr-mp-hero h1 em{color:var(--tsr-red-2);font-style:normal}.tsr-home-hero-copy>p{max-width:680px;color:#aeb7c4!important;font-size:16px;line-height:1.75}
.tsr-hero-search{display:flex;align-items:center;gap:12px;max-width:720px;height:61px;margin-top:30px;padding:6px 7px 6px 18px;border:1px solid rgba(255,255,255,.18);border-radius:17px;background:rgba(255,255,255,.1);backdrop-filter:blur(15px)}.tsr-hero-search svg{width:20px;color:#bac2ce}.tsr-hero-search input{flex:1;min-width:0;min-height:0!important;height:44px!important;padding:0!important;border:0!important;color:#fff!important;background:transparent!important;box-shadow:none!important;font-size:13px}.tsr-hero-search input::placeholder{color:#8f99a8!important}.tsr-hero-search button{height:47px;padding:0 24px;border:0;border-radius:12px;color:#fff;background:var(--tsr-red);font-size:12px;font-weight:900;cursor:pointer}.tsr-hero-actions{display:flex;gap:10px;margin-top:18px}.tsr-hero-trust{display:flex;gap:34px;flex-wrap:wrap;margin-top:34px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12)}.tsr-hero-trust span{display:flex;flex-direction:column;color:#8993a2;font-size:9px}.tsr-hero-trust b{color:#fff;font-size:18px}
.tsr-home-hero-visual{position:relative;z-index:2;display:grid;place-items:center;min-width:0}.tsr-home-hero-visual:after{content:"";position:absolute;width:70%;height:19%;bottom:16%;border-radius:50%;background:rgba(232,33,39,.19);filter:blur(45px)}.tsr-home-hero-visual>img{position:relative;z-index:2;width:min(92%,720px);max-height:530px;object-fit:contain;filter:drop-shadow(0 38px 42px rgba(0,0,0,.55));transform:scale(1.08)}.tsr-hero-orbit{position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%}.tsr-orbit-one{width:620px;height:620px}.tsr-orbit-two{width:430px;height:430px}.tsr-floating-card{position:absolute;z-index:3;display:flex;flex-direction:column;min-width:160px;padding:13px 16px;border:1px solid rgba(255,255,255,.15);border-radius:14px;color:#fff!important;background:rgba(12,17,25,.76);text-decoration:none;backdrop-filter:blur(15px);box-shadow:0 18px 35px rgba(0,0,0,.28)}.tsr-floating-card small{color:#8e99a8;font-size:9px}.tsr-floating-card strong{margin-top:4px;font-size:12px}.tsr-float-car{left:3%;top:25%}.tsr-float-charge{right:4%;bottom:22%}
.tsr-command-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:min(var(--tsr-shell),calc(100% - 40px));margin:-38px auto 0;position:relative;z-index:4}.tsr-command-card{position:relative;display:grid;grid-template-columns:1fr 120px;min-height:174px;overflow:hidden;border:1px solid var(--tsr-line);border-radius:22px;color:var(--tsr-ink);background:var(--tsr-surface);text-decoration:none;box-shadow:var(--tsr-shadow);transition:.22s ease}.tsr-command-card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--tsr-red) 38%,var(--tsr-line))}.tsr-command-wide{grid-column:span 2}.tsr-command-copy{position:relative;z-index:2;padding:22px}.tsr-command-copy>span{color:var(--tsr-red);font-size:9px;font-weight:900}.tsr-command-copy h2{margin:32px 0 5px;font-size:21px;letter-spacing:-.03em}.tsr-command-copy p{margin:0;color:var(--tsr-muted)!important;font-size:10px}.tsr-command-copy p b{color:var(--tsr-ink);font-size:13px}.tsr-command-image{align-self:stretch;overflow:hidden;background:var(--tsr-surface-2)}.tsr-command-image img{width:100%;height:100%;object-fit:cover}.tsr-command-parts .tsr-command-image img,.tsr-command-services .tsr-command-image img,.tsr-command-chargers .tsr-command-image img,.tsr-command-diy .tsr-command-image img{object-fit:contain;padding:12px}.tsr-command-arrow{position:absolute;right:12px;top:12px;z-index:3;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;color:var(--tsr-ink);background:color-mix(in srgb,var(--tsr-surface) 80%,transparent);font-size:14px}
.tsr-home-section{width:min(var(--tsr-shell),calc(100% - 40px));margin:76px auto}.tsr-section-header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.tsr-section-header h2{margin:9px 0 6px;font-size:clamp(30px,3.2vw,45px);letter-spacing:-.045em}.tsr-section-header p{margin:0;color:var(--tsr-muted)!important;font-size:12px}.tsr-section-header>a{display:flex;gap:8px;color:var(--tsr-ink);text-decoration:none;font-size:11px;font-weight:900}.tsr-section-header>a span{color:var(--tsr-red)}
.tsr-market-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.tsr-home-split{display:grid;grid-template-columns:1.18fr .82fr;gap:18px;width:min(var(--tsr-shell),calc(100% - 40px));margin:76px auto}.tsr-map-panel,.tsr-service-panel{position:relative;overflow:hidden;min-height:390px;border-radius:28px}.tsr-map-panel{display:grid;grid-template-columns:.72fr 1.28fr;color:#fff;background:#0c1119}.tsr-panel-copy{position:relative;z-index:2;padding:42px}.tsr-panel-copy h2,.tsr-service-panel h2{margin:12px 0;font-size:36px;letter-spacing:-.04em}.tsr-panel-copy h2{color:#fff!important}.tsr-panel-copy p{max-width:370px;color:#98a3b4!important;font-size:12px;line-height:1.7}.tsr-map-art{position:relative;overflow:hidden;background:radial-gradient(circle at 45% 50%,rgba(232,33,39,.22),transparent 35%),linear-gradient(135deg,#172231,#0b1017)}.tsr-map-art:before,.tsr-map-art:after{content:"";position:absolute;inset:-15%;background-image:linear-gradient(28deg,transparent 48%,rgba(255,255,255,.07) 49%,rgba(255,255,255,.07) 51%,transparent 52%);background-size:55px 55px;transform:rotate(-10deg)}.tsr-map-art span{position:absolute;z-index:2;width:16px;height:16px;border:4px solid #fff;border-radius:50%;background:var(--tsr-red);box-shadow:0 0 0 8px rgba(232,33,39,.13)}.tsr-map-art span:nth-child(1){left:28%;top:34%}.tsr-map-art span:nth-child(2){left:58%;top:25%}.tsr-map-art span:nth-child(3){left:71%;top:62%}.tsr-map-art span:nth-child(4){left:37%;top:70%}.tsr-map-art b{position:absolute;z-index:2;left:49%;top:48%;color:#fff;font-size:12px}.tsr-service-panel{padding:42px;color:var(--tsr-ink);background:linear-gradient(145deg,var(--tsr-surface),var(--tsr-surface-2));border:1px solid var(--tsr-line)}.tsr-service-panel>p{max-width:560px;color:var(--tsr-muted)!important;font-size:12px;line-height:1.8}.tsr-tesla-progress{display:grid;grid-template-columns:1fr auto;gap:7px;margin:34px 0;padding:18px;border:1px solid var(--tsr-line);border-radius:16px;background:var(--tsr-surface)}.tsr-tesla-progress div{display:flex;flex-direction:column}.tsr-tesla-progress strong{font-size:13px}.tsr-tesla-progress small{color:var(--tsr-muted);font-size:9px}.tsr-tesla-progress>b{color:var(--tsr-green);font-size:20px}.tsr-tesla-progress>span{grid-column:1/-1;height:6px;overflow:hidden;border-radius:99px;background:var(--tsr-surface-2)}.tsr-tesla-progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--tsr-green),#3ed99a)}
.tsr-product-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.tsr-product-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--tsr-line);border-radius:19px;color:var(--tsr-ink);background:var(--tsr-surface);text-decoration:none;box-shadow:var(--tsr-shadow)}.tsr-product-media{position:relative;display:grid;place-items:center;aspect-ratio:4/3;background:var(--tsr-surface-2)}.tsr-product-media>span{position:absolute;left:10px;top:10px;padding:5px 8px;border-radius:7px;color:#fff;background:var(--tsr-red);font-size:8px;font-weight:900}.tsr-product-media img{width:100%;height:100%;padding:10px;object-fit:contain}.tsr-product-card>div:last-child{padding:15px}.tsr-product-card h3{min-height:42px;margin:0 0 10px;font-size:12px;line-height:1.45}.tsr-product-card strong{font-size:17px}.tsr-product-card del{margin-left:8px;color:var(--tsr-muted);font-size:10px}.tsr-home-cta,.tsr-mp-bottom-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;width:min(var(--tsr-shell),calc(100% - 40px));margin:76px auto;padding:44px;border-radius:28px;color:#fff;background:radial-gradient(circle at 85% 20%,rgba(232,33,39,.32),transparent 29%),#0b0f16}.tsr-home-cta h2,.tsr-mp-bottom-cta h2{margin:10px 0;color:#fff!important;font-size:36px;letter-spacing:-.04em}.tsr-home-cta p,.tsr-mp-bottom-cta p{margin:0;color:#98a3b3!important;font-size:12px}

/* Marketplace home ------------------------------------------------------- */
.tsr-marketplace-home{padding-bottom:1px}.tsr-mp-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:45px;align-items:end;width:min(var(--tsr-shell),calc(100% - 40px));margin:34px auto 0;padding:54px;border:1px solid #222a35;border-radius:30px;color:#fff;background:radial-gradient(circle at 78% 28%,rgba(232,33,39,.27),transparent 30%),linear-gradient(130deg,#090c12,#151c27);box-shadow:0 28px 75px rgba(4,7,12,.24)}.tsr-mp-hero h1{margin:16px 0 14px;color:#fff!important;font-size:clamp(44px,5vw,72px);line-height:1.02;letter-spacing:-.055em}.tsr-mp-hero-copy>p{max-width:760px;color:#9da8b8!important;font-size:14px;line-height:1.75}.tsr-mp-search{display:flex;align-items:center;gap:10px;max-width:760px;height:58px;margin-top:25px;padding:6px 7px 6px 17px;border:1px solid rgba(255,255,255,.15);border-radius:15px;background:rgba(255,255,255,.08)}.tsr-mp-search svg{width:19px;color:#9ca6b5}.tsr-mp-search input{flex:1;min-width:0;min-height:0!important;height:42px!important;padding:0!important;border:0!important;color:#fff!important;background:transparent!important;box-shadow:none!important}.tsr-mp-search button{height:44px;padding:0 22px;border:0;border-radius:11px;color:#fff;background:var(--tsr-red);font-size:11px;font-weight:900}.tsr-mp-pills{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.tsr-mp-pills a{padding:7px 10px;border:1px solid rgba(255,255,255,.12);border-radius:99px;color:#b8c1cd;text-decoration:none;font-size:9px}.tsr-mp-hero-side{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tsr-mp-stat{padding:18px;border:1px solid rgba(255,255,255,.11);border-radius:15px;background:rgba(255,255,255,.06)}.tsr-mp-stat span{display:block;color:#8f9aa9;font-size:9px}.tsr-mp-stat strong{display:block;margin-top:5px;font-size:27px}.tsr-mp-publish{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:14px;color:#fff!important;background:var(--tsr-red);text-decoration:none;font-size:11px;font-weight:900}.tsr-mp-category-deck{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;width:min(var(--tsr-shell),calc(100% - 40px));margin:18px auto 0}.tsr-mp-category{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:15px;min-height:116px;padding:18px;border:1px solid var(--tsr-line);border-radius:20px;color:var(--tsr-ink);background:var(--tsr-surface);text-decoration:none;box-shadow:var(--tsr-shadow);transition:.2s}.tsr-mp-category:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--tsr-red) 35%,var(--tsr-line))}.tsr-mp-category-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;color:var(--tsr-red);background:color-mix(in srgb,var(--tsr-red) 10%,var(--tsr-surface))}.tsr-mp-category-icon svg{width:25px;height:25px}.tsr-mp-category small{display:block;color:var(--tsr-muted);font-size:8px}.tsr-mp-category strong{display:block;margin:4px 0;font-size:14px}.tsr-mp-category em{display:block;color:var(--tsr-muted);font-size:9px;font-style:normal}.tsr-mp-category>b{font-size:17px}.tsr-mp-latest{margin-top:66px}

/* New listing cards ------------------------------------------------------- */
.tsr-listing-card{display:flex!important;flex-direction:column!important;overflow:hidden!important;height:100%!important;border:1px solid var(--tsr-line)!important;border-radius:20px!important;background:var(--tsr-surface)!important;box-shadow:var(--tsr-shadow)!important;transition:.22s ease!important}.tsr-listing-card:hover{transform:translateY(-5px)!important;border-color:color-mix(in srgb,var(--tsr-red) 35%,var(--tsr-line))!important}.tsr-listing-media{position:relative!important;display:block!important;aspect-ratio:16/11!important;overflow:hidden!important;background:var(--tsr-surface-2)!important}.tsr-listing-media img{display:block!important;width:100%!important;height:100%!important;padding:0!important;object-fit:cover!important;transition:transform .4s ease}.mp-card-type-part .tsr-listing-media img,.mp-card-type-dismantled_part .tsr-listing-media img,.mp-card-type-service .tsr-listing-media img,.mp-card-type-charger .tsr-listing-media img{padding:12px!important;object-fit:contain!important}.tsr-listing-card:hover .tsr-listing-media img{transform:scale(1.035)}.tsr-listing-type{position:absolute;left:11px;top:11px;display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid rgba(255,255,255,.18);border-radius:9px;color:#fff;background:rgba(7,11,17,.78);font-size:8px;font-weight:850;backdrop-filter:blur(10px)}.tsr-listing-type svg{width:13px;height:13px}.tsr-listing-view{position:absolute;right:11px;bottom:11px;display:flex;align-items:center;justify-content:center;padding:7px 9px;border-radius:9px;color:#111;background:rgba(255,255,255,.9);font-size:8px;font-weight:900;opacity:0;transform:translateY(5px);transition:.2s}.tsr-listing-card:hover .tsr-listing-view{opacity:1;transform:none}.tsr-listing-body{display:flex!important;flex:1!important;flex-direction:column!important;min-width:0!important;padding:15px!important}.tsr-listing-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--tsr-muted);font-size:8px;font-weight:750}.tsr-listing-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tsr-listing-body h3{min-height:45px;margin:9px 0 8px!important;font-size:14px!important;line-height:1.45!important}.tsr-listing-body h3 a{display:-webkit-box;overflow:hidden;color:var(--tsr-ink)!important;text-decoration:none;-webkit-line-clamp:2;-webkit-box-orient:vertical}.tsr-listing-facts{display:flex;flex-direction:column;gap:4px;min-height:33px;color:var(--tsr-muted);font-size:9px}.tsr-listing-facts span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tsr-listing-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:13px;border-top:1px solid var(--tsr-line)}.tsr-listing-footer strong{color:var(--tsr-red);font-size:17px}.tsr-listing-footer span{display:flex;align-items:center;gap:5px;color:var(--tsr-muted);font-size:8px}.tsr-listing-footer svg{width:13px;height:13px}

/* Catalogue --------------------------------------------------------------- */
.tsr-catalog-page{padding:30px 0 80px}.tsr-catalog-head{display:flex;align-items:end;justify-content:space-between;gap:25px;width:min(var(--tsr-shell),calc(100% - 40px));margin:auto}.tsr-catalog-head h1{margin:8px 0 5px;font-size:clamp(38px,4.4vw,62px);letter-spacing:-.055em}.tsr-catalog-head p{margin:0;color:var(--tsr-muted)!important;font-size:11px}.tsr-catalog-tabs{display:flex;gap:7px;width:min(var(--tsr-shell),calc(100% - 40px));margin:22px auto;padding:6px;border:1px solid var(--tsr-line);border-radius:16px;background:var(--tsr-surface);overflow-x:auto;scrollbar-width:none}.tsr-catalog-tabs a{display:flex;align-items:center;gap:8px;min-height:43px;padding:0 15px;border-radius:11px;color:var(--tsr-text);text-decoration:none;font-size:10px;font-weight:850;white-space:nowrap}.tsr-catalog-tabs a b{display:grid;place-items:center;min-width:25px;height:21px;padding:0 6px;border-radius:99px;background:var(--tsr-surface-2);font-size:8px}.tsr-catalog-tabs a.active{color:#fff;background:#111720}.tsr-catalog-tabs a.active b{color:#111;background:#fff}.tsr-catalog-layout{display:grid;grid-template-columns:295px minmax(0,1fr);gap:22px;align-items:start;width:min(var(--tsr-shell),calc(100% - 40px));margin:auto}.tsr-filter-sidebar{position:sticky;top:140px;overflow:hidden;border:1px solid var(--tsr-line);border-radius:22px;background:var(--tsr-surface);box-shadow:var(--tsr-shadow)}.tsr-filter-title{display:flex;align-items:end;justify-content:space-between;padding:21px;border-bottom:1px solid var(--tsr-line)}.tsr-filter-title h2{margin:5px 0 0;font-size:20px}.tsr-filter-title a{color:var(--tsr-red);font-size:8px;font-weight:850;text-decoration:none}.tsr-filter-form{display:grid;gap:13px;padding:20px}.tsr-filter-form label{display:grid;gap:6px;min-width:0}.tsr-filter-form label>span:first-child{color:var(--tsr-muted);font-size:8px;font-weight:850}.tsr-filter-form input,.tsr-filter-form select{width:100%;min-height:44px!important;padding:0 11px!important;border:1px solid var(--tsr-line)!important;border-radius:11px!important;color:var(--tsr-ink)!important;background:var(--tsr-surface-2)!important;font-size:10px!important}.tsr-filter-search>div{display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--tsr-line);border-radius:11px;background:var(--tsr-surface-2)}.tsr-filter-search svg{width:16px;color:var(--tsr-muted)}.tsr-filter-search input{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.tsr-filter-pair{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.tsr-advanced-filters{border-top:1px solid var(--tsr-line)}.tsr-advanced-filters summary{display:flex;align-items:center;justify-content:space-between;padding:13px 0;color:var(--tsr-text);font-size:9px;font-weight:850;cursor:pointer}.tsr-advanced-filters summary b{display:grid;place-items:center;width:22px;height:22px;border-radius:99px;background:var(--tsr-surface-2)}.tsr-advanced-list{display:grid;gap:11px}.tsr-filter-submit{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 15px;border:0;border-radius:12px;color:#fff;background:linear-gradient(135deg,var(--tsr-red),var(--tsr-red-2));font-size:10px;font-weight:900;cursor:pointer}.tsr-filter-submit b{display:grid;place-items:center;min-width:28px;height:24px;padding:0 6px;border-radius:99px;color:var(--tsr-red);background:#fff;font-size:8px}.tsr-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px;padding:11px 14px;border:1px solid var(--tsr-line);border-radius:14px;background:var(--tsr-surface)}.tsr-results-toolbar>div{display:flex;flex-direction:column}.tsr-results-toolbar strong{font-size:12px}.tsr-results-toolbar span{color:var(--tsr-muted);font-size:8px}.tsr-sort-form select{min-height:38px!important;padding:0 10px!important;border:1px solid var(--tsr-line)!important;border-radius:9px!important;background:var(--tsr-surface-2)!important;font-size:9px!important}.tsr-filter-mobile-toggle{display:none}.tsr-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important}

/* Existing forms/detail/account — stronger contrast ---------------------- */
.mp-wizard,.mp-add-shell,.mp-detail,.mp-detail-sections,.mp-manage-v6,.tsa-shell{--mp-card:var(--tsr-surface);--mp-line:var(--tsr-line)}
.mp-form-card,.mp-stage-card,.mp-review-card,.mp-detail>.mp-gallery,.mp-detail>.mp-detail-info,.mp-detail-sections>article,.mp-manage-card,.tsa-card,.tsa-panel{border-radius:20px!important;border-color:var(--tsr-line)!important;background:var(--tsr-surface)!important;box-shadow:var(--tsr-shadow)!important}
.mp-btn-primary{background:linear-gradient(135deg,var(--tsr-red),var(--tsr-red-2))!important}

/* Tablet ------------------------------------------------------------------ */
@media(max-width:1120px){
  .tsr-header-main{grid-template-columns:auto minmax(220px,1fr) auto;gap:14px;width:min(100% - 26px,var(--tsr-shell))}.tsr-brand-copy small,.tsr-user-copy,.tsr-publish-button b{display:none}.tsr-publish-button{width:43px;padding:0;justify-content:center}.tsr-nav-wrap{width:min(100% - 26px,var(--tsr-shell))}
  .tsr-home-hero{grid-template-columns:1fr .78fr;min-height:560px}.tsr-home-hero-copy{padding-left:28px;padding-right:20px}.tsr-home-hero h1{font-size:55px}.tsr-floating-card{display:none}.tsr-command-grid{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100% - 26px)}.tsr-command-wide{grid-column:span 1}.tsr-market-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.tsr-home-section,.tsr-home-split,.tsr-home-cta,.tsr-mp-bottom-cta,.tsr-mp-hero,.tsr-mp-category-deck,.tsr-catalog-head,.tsr-catalog-tabs,.tsr-catalog-layout{width:calc(100% - 26px)}.tsr-product-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.tsr-mp-hero{grid-template-columns:1fr 270px;padding:38px}.tsr-mp-category-deck{grid-template-columns:repeat(2,minmax(0,1fr))}.tsr-catalog-layout{grid-template-columns:255px minmax(0,1fr)}.tsr-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tsr-footer-top,.tsr-footer-bottom{width:calc(100% - 32px)}
}

/* Mobile ------------------------------------------------------------------ */
@media(max-width:760px){
  body{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))!important}.site-header.tsr-header{top:0!important}.tsr-header-main{display:flex;min-height:62px;width:calc(100% - 20px);gap:8px}.tsr-brand{margin-right:auto}.tsr-brand-mark{width:31px;height:36px;font-size:17px}.tsr-brand-copy strong{font-size:14px}.tsr-brand-copy small,.tsr-header-search,.tsr-login-link,.tsr-user-copy,.tsr-user-button>svg,.tsr-nav-wrap{display:none!important}.tsr-mobile-search{display:grid}.tsr-header-actions{gap:6px}.tsr-icon-button,.tsr-publish-button,.tsr-user-button{width:39px;height:39px;min-height:39px;border-radius:11px;padding:0;justify-content:center}.tsr-publish-button span{font-size:18px}.tsr-avatar{width:33px;height:33px}.tsr-header-actions .ts-usermenu{display:block}.ts-usermenu-pop{right:0!important;top:48px!important}
  .bottom-nav{display:flex!important;background:color-mix(in srgb,var(--tsr-surface) 94%,transparent)!important;border-top:1px solid var(--tsr-line)!important;backdrop-filter:blur(18px)}.bn-item{color:var(--tsr-muted)!important}.bn-item:hover,.bn-item.active{color:var(--tsr-red)!important}
  .tsr-home-hero{display:block;min-height:auto;padding:0}.tsr-home-hero-copy{padding:48px 18px 40px}.tsr-home-hero h1{font-size:42px;line-height:1.03}.tsr-home-hero-copy>p{font-size:13px}.tsr-hero-search{height:auto;padding:8px;display:grid;grid-template-columns:24px 1fr}.tsr-hero-search button{grid-column:1/-1;width:100%}.tsr-hero-actions{display:grid;grid-template-columns:1fr 1fr}.tsr-hero-actions .tsr-btn{padding:0 12px;font-size:10px}.tsr-hero-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tsr-hero-trust b{font-size:14px}.tsr-home-hero-visual{display:none}
  .tsr-command-grid{display:flex;width:100%;margin:0;padding:14px 14px 4px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.tsr-command-card{flex:0 0 82%;grid-template-columns:1fr 110px;min-height:155px;scroll-snap-align:start}.tsr-command-copy{padding:18px}.tsr-command-copy h2{margin-top:24px;font-size:18px}.tsr-home-section{width:calc(100% - 28px);margin:52px auto}.tsr-section-header{align-items:flex-start}.tsr-section-header h2{font-size:30px}.tsr-section-header p{display:none}.tsr-section-header>a{font-size:9px}.tsr-market-grid{display:flex!important;gap:12px!important;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory;scrollbar-width:none}.tsr-market-grid>.mp-card{flex:0 0 82%;scroll-snap-align:start}.tsr-home-split{grid-template-columns:1fr;width:calc(100% - 28px);margin:52px auto}.tsr-map-panel{grid-template-columns:1fr;min-height:410px}.tsr-panel-copy{padding:28px}.tsr-map-art{min-height:210px}.tsr-service-panel{padding:28px}.tsr-product-rail{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory}.tsr-product-card{flex:0 0 76%;scroll-snap-align:start}.tsr-home-cta,.tsr-mp-bottom-cta{align-items:flex-start;flex-direction:column;width:calc(100% - 28px);margin:52px auto;padding:28px}.tsr-home-cta h2,.tsr-mp-bottom-cta h2{font-size:28px}
  .tsr-mp-hero{grid-template-columns:1fr;width:calc(100% - 20px);margin-top:12px;padding:28px 20px;border-radius:23px}.tsr-mp-hero h1{font-size:40px}.tsr-mp-search{display:grid;grid-template-columns:22px 1fr;height:auto;padding:8px}.tsr-mp-search button{grid-column:1/-1}.tsr-mp-hero-side{grid-template-columns:1fr 1fr}.tsr-mp-category-deck{display:flex;width:100%;padding:0 10px;overflow-x:auto;scroll-snap-type:x mandatory}.tsr-mp-category{flex:0 0 85%;scroll-snap-align:start}.tsr-mp-latest{margin-top:46px}
  .tsr-catalog-page{padding-top:16px}.tsr-catalog-head{align-items:flex-start;flex-direction:column;width:calc(100% - 20px)}.tsr-catalog-head h1{font-size:38px}.tsr-catalog-head .tsr-btn{display:none}.tsr-catalog-tabs{width:calc(100% - 20px);margin:16px auto}.tsr-catalog-layout{display:block;width:calc(100% - 20px)}.tsr-filter-sidebar{position:fixed;inset:auto 0 0;z-index:950;display:none;max-height:84vh;border-radius:24px 24px 0 0;overflow-y:auto}.tsr-filter-sidebar.is-open{display:block}.tsr-filter-title{position:sticky;top:0;z-index:2;background:var(--tsr-surface)}.tsr-filter-mobile-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 13px;border:1px solid var(--tsr-line);border-radius:10px;color:var(--tsr-ink);background:var(--tsr-surface-2);font-size:9px;font-weight:850}.tsr-results-toolbar{position:sticky;top:70px;z-index:20}.tsr-results-toolbar>div{margin-right:auto}.tsr-catalog-grid{grid-template-columns:1fr!important}.tsr-listing-media{aspect-ratio:16/10!important}.tsr-listing-view{display:none}
  .tsr-footer-top{grid-template-columns:1fr;gap:30px;width:calc(100% - 32px);padding:42px 0}.tsr-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}.tsr-footer-bottom{align-items:flex-start;flex-direction:column;width:calc(100% - 32px);padding:20px 0}
}
@media(max-width:430px){
  .tsr-brand-mark{display:none}.tsr-brand-copy strong{font-size:13px}.tsr-header-main{width:calc(100% - 14px)}.tsr-hero-actions{grid-template-columns:1fr}.tsr-hero-trust{grid-template-columns:1fr 1fr}.tsr-command-card{flex-basis:91%}.tsr-market-grid>.mp-card{flex-basis:91%}.tsr-product-card{flex-basis:84%}.tsr-footer-links{grid-template-columns:1fr}.tsr-mp-category{flex-basis:92%}.tsr-mp-hero-side{grid-template-columns:1fr}.tsr-mp-publish{grid-column:auto}.tsr-sort-form select{max-width:96px}.tsr-results-toolbar{gap:7px;padding:9px}.tsr-results-toolbar span{display:none}
}
