/* =====================================================================
   Cleno.cz – zákaznický účet (/klient/…)
   Menu s ikonkami, nástěnka (cleno-ucet.js), tabulky jako karty, formuláře.
   Platí na všech stránkách účtu (poznají se podle menu .client-center-box).
   ===================================================================== */
html body:has(.client-center-box):has(#content){
  --ca-head:#163d5c;
  --ca-text:#4f6577;
  --ca-muted:#6b7682;
  --ca-blue:#239ceb;
  --ca-blue-d:#0b6fb0;
  --ca-line:#e0eef9;
  --ca-soft:#f5faff;
  --ca-soft2:#eef6fd;
  --ca-green:#1f9d3a;
}

/* obsah bez rámečku kolem – karty mají vlastní */
html body:has(.client-center-box):has(#content) #content .content-inner{
  padding:0 !important;
  border:0 !important;border-radius:0 !important;
  background:none !important;
  box-shadow:none !important;
}

/* ---------- nadpisy stránek ---------- */
html body:has(.client-center-box):has(#content) #content .content-inner > h1{
  margin:0 0 20px !important;
  padding:0 0 12px !important;
  border:0 !important;
  background:linear-gradient(90deg,#0b6fb0 0%,#239ceb 55%,#8fd0f7 100%) left bottom / 36px 3px no-repeat !important;
  color:var(--ca-head) !important;
  font-size:28px !important;font-weight:800 !important;
  line-height:1.2 !important;letter-spacing:-.015em;
  text-align:left !important;text-transform:none !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner > h2,
html body:has(.client-center-box):has(#content) #content .content-inner h2{
  margin:26px 0 14px !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  color:var(--ca-head) !important;
  font-size:19px !important;font-weight:800 !important;
  line-height:1.3 !important;
  text-align:left !important;text-transform:none !important;
}
/* na nástěnce je nadpis v úvodní kartě */
html body:has(.client-center-box):has(#content) #content .content-inner.cl-has-dash > h1{display:none !important;}
/* podnadpis hned pod nadpisem stránky bez další velké mezery */
html body:has(.client-center-box):has(#content) #content .content-inner > h1 + h2,
html body:has(.client-center-box):has(#content) #content .content-inner > h1 + .client-link + h2,
html body:has(.client-center-box):has(#content) #content .content-inner > h1 + input + form > fieldset:first-child{margin-top:0 !important;}

/* =====================================================================
   MENU ÚČTU
   ===================================================================== */
html body:has(.client-center-box):has(#content) .client-center-box{
  margin:0 !important;
  padding:10px !important;
  border:1px solid var(--ca-line) !important;
  border-radius:22px !important;
  background:#fff !important;
  box-shadow:none !important;
}
html body:has(.client-center-box):has(#content) .client-center-box ul{
  display:flex !important;flex-direction:column !important;gap:2px !important;
  margin:0 !important;padding:0 !important;
  list-style:none !important;
  grid-template-columns:none !important;
}
html body:has(.client-center-box):has(#content) .client-center-box li{
  display:block !important;
  width:auto !important;
  margin:0 !important;padding:0 !important;
  border:0 !important;background:none !important;
  list-style:none !important;
}
html body:has(.client-center-box):has(#content) .client-center-box li::before,
html body:has(.client-center-box):has(#content) .client-center-box li::after,
html body:has(.client-center-box):has(#content) .client-center-box a::before,
html body:has(.client-center-box):has(#content) .client-center-box a::after{display:none !important;content:none !important;}
html body:has(.client-center-box):has(#content) .client-center-box li > a{
  display:flex !important;align-items:center !important;gap:11px !important;
  width:100% !important;height:auto !important;min-height:0 !important;
  margin:0 !important;
  padding:9px 10px !important;
  border:0 !important;border-radius:13px !important;
  background:none !important;
  box-shadow:none !important;
  color:var(--ca-text) !important;
  font-size:14.5px !important;font-weight:700 !important;
  line-height:1.25 !important;
  text-align:left !important;text-transform:none !important;text-decoration:none !important;
  white-space:normal !important;
  transition:background .2s,color .2s;
}
html body:has(.client-center-box):has(#content) .client-center-box li > a:hover{background:var(--ca-soft) !important;color:var(--ca-head) !important;}
html body:has(.client-center-box):has(#content) .client-center-box .cl-acc-ico{
  flex:0 0 34px;
  display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;
  border-radius:11px;
  background:var(--ca-soft);
  color:var(--ca-blue-d);
  transition:background .2s,color .2s;
}
html body:has(.client-center-box):has(#content) .client-center-box .cl-acc-ico svg{display:block !important;width:18px !important;height:18px !important;margin:0 !important;fill:none !important;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
html body:has(.client-center-box):has(#content) .client-center-box .cl-acc-txt{flex:1 1 auto;min-width:0;}
html body:has(.client-center-box):has(#content) .client-center-box .cl-acc-count{
  flex:0 0 auto;
  min-width:26px;
  padding:3px 8px;
  border-radius:20px;
  background:var(--ca-soft2);
  color:var(--ca-blue-d);
  font-size:12px;font-weight:800;line-height:1.2;text-align:center;
}
/* aktivní stránka */
html body:has(.client-center-box):has(#content) .client-center-box li.active > a{background:var(--ca-soft2) !important;color:var(--ca-head) !important;}
html body:has(.client-center-box):has(#content) .client-center-box li.active .cl-acc-ico{background:linear-gradient(135deg,#239ceb,#0b6fb0);color:#fff;}
html body:has(.client-center-box):has(#content) .client-center-box li.active .cl-acc-count{background:#fff;}
/* odhlášení – na konci, nenápadně červeně */
html body:has(.client-center-box):has(#content) .client-center-box li.logout{order:99;margin-top:6px !important;padding-top:6px !important;border-top:1px solid #edf3f9 !important;}
html body:has(.client-center-box):has(#content) .client-center-box li.logout > a{color:#c0392b !important;}
html body:has(.client-center-box):has(#content) .client-center-box li.logout .cl-acc-ico{background:#fdecec;color:#d14343;}
html body:has(.client-center-box):has(#content) .client-center-box li.logout > a:hover{background:#fdf3f3 !important;}

/* =====================================================================
   NÁSTĚNKA (cleno-ucet.js na /klient/)
   ===================================================================== */
html body:has(.client-center-box):has(#content) #content .cl-dash{display:flex;flex-direction:column;gap:16px;margin:0 0 8px;font-family:inherit;}
html body:has(.client-center-box):has(#content) #content .cl-dash svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}

/* úvodní karta s pozdravem a slevou */
html body:has(.client-center-box):has(#content) #content .cl-dash__hero{
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:26px 28px;
  border-radius:24px;
  background:linear-gradient(135deg,#163d5c 0%,#0b6fb0 62%,#239ceb 100%);
  color:#fff;
}
html body:has(.client-center-box):has(#content) #content .cl-dash__hero::before{
  content:"";
  position:absolute;right:-60px;top:-80px;
  width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.16),rgba(255,255,255,0) 70%);
  pointer-events:none;
}
html body:has(.client-center-box):has(#content) #content .cl-dash__hi{position:relative;min-width:0;}
html body:has(.client-center-box):has(#content) #content .cl-dash__eyebrow{display:inline-block;margin-bottom:8px;padding:4px 10px;border-radius:20px;background:rgba(255,255,255,.14);color:#d9eefc;font-size:12px;font-weight:800;letter-spacing:.02em;}
html body:has(.client-center-box):has(#content) #content .cl-dash .cl-dash__title{
  margin:0 !important;padding:0 !important;
  background:none !important;border:0 !important;
  color:#fff !important;
  font-size:30px !important;font-weight:800 !important;line-height:1.15 !important;letter-spacing:-.02em;
  text-align:left !important;
}
html body:has(.client-center-box):has(#content) #content .cl-dash__sub{margin:8px 0 0;color:#cfe6f7;font-size:14.5px;font-weight:600;line-height:1.45;}
html body:has(.client-center-box):has(#content) #content .cl-dash__loyal{
  position:relative;flex:0 0 auto;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-width:170px;
  padding:16px 20px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:20px;
  background:rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  color:#fff !important;
  text-align:center;text-decoration:none !important;
  transition:background .2s;
}
html body:has(.client-center-box):has(#content) #content .cl-dash__loyal:hover{background:rgba(255,255,255,.18);}
html body:has(.client-center-box):has(#content) #content .cl-dash__loyal-lbl{color:#d9eefc;font-size:12.5px;font-weight:700;}
html body:has(.client-center-box):has(#content) #content .cl-dash__loyal-num{margin:2px 0;color:#fff;font-size:40px;font-weight:800;line-height:1.05;letter-spacing:-.02em;}
html body:has(.client-center-box):has(#content) #content .cl-dash__loyal-num.is-loading{opacity:.5;}
html body:has(.client-center-box):has(#content) #content .cl-dash__loyal-group{color:#bfe0f6;font-size:12px;font-weight:700;}
html body:has(.client-center-box):has(#content) #content .cl-dash__loyal-group:empty{display:none;}

/* dlaždice s počty */
html body:has(.client-center-box):has(#content) #content .cl-dash__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
html body:has(.client-center-box):has(#content) #content .cl-dash__tile{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;
  padding:16px;
  border:1px solid var(--ca-line);
  border-radius:20px;
  background:#fff;
  color:var(--ca-head) !important;
  text-decoration:none !important;
  transition:border-color .2s,transform .2s;
}
html body:has(.client-center-box):has(#content) #content .cl-dash__tile:hover{border-color:#bcdcf4;transform:translateY(-2px);}
html body:has(.client-center-box):has(#content) #content .cl-dash__tile-ico{display:flex;align-items:center;justify-content:center;width:38px;height:38px;margin-bottom:8px;border-radius:12px;background:var(--ca-soft2);color:var(--ca-blue-d);}
html body:has(.client-center-box):has(#content) #content .cl-dash__tile-ico svg{width:20px;height:20px;}
html body:has(.client-center-box):has(#content) #content .cl-dash__tile-num{font-size:26px;font-weight:800;line-height:1.1;letter-spacing:-.02em;}
html body:has(.client-center-box):has(#content) #content .cl-dash__tile-lbl{color:var(--ca-muted);font-size:13px;font-weight:700;}

/* poslední objednávka */
html body:has(.client-center-box):has(#content) #content .cl-dash__last{padding:18px 20px;border:1px solid var(--ca-line);border-radius:22px;background:#fff;}
html body:has(.client-center-box):has(#content) #content .cl-dash__last-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;}
html body:has(.client-center-box):has(#content) #content .cl-dash__label{color:var(--ca-muted);font-size:13px;font-weight:800;}
html body:has(.client-center-box):has(#content) #content .cl-dash__last-main{display:flex;align-items:center;gap:14px;padding:14px;border-radius:16px;background:var(--ca-soft);}
html body:has(.client-center-box):has(#content) #content .cl-dash__last-ico{flex:0 0 46px;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:#fff;color:var(--ca-blue-d);}
html body:has(.client-center-box):has(#content) #content .cl-dash__last-ico svg{width:22px;height:22px;}
html body:has(.client-center-box):has(#content) #content .cl-dash__last-info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;color:var(--ca-muted);font-size:13px;font-weight:600;}
html body:has(.client-center-box):has(#content) #content .cl-dash__last-info b{color:var(--ca-head);font-size:16px;font-weight:800;}
html body:has(.client-center-box):has(#content) #content .cl-dash__last-total{flex:0 0 auto;color:var(--ca-head);font-size:18px;font-weight:800;white-space:nowrap;}
html body:has(.client-center-box):has(#content) #content .cl-dash__last-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;}
html body:has(.client-center-box):has(#content) #content .cl-dash__btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;padding:0 18px;
  border:1px solid #cfe2f2;border-radius:13px;
  background:#fff;
  color:var(--ca-blue-d) !important;
  font-size:14px;font-weight:800;text-decoration:none !important;
  transition:background .2s,border-color .2s;
}
html body:has(.client-center-box):has(#content) #content .cl-dash__btn svg{width:17px;height:17px;}
html body:has(.client-center-box):has(#content) #content .cl-dash__btn:hover{background:var(--ca-soft);border-color:#bcdcf4;}
html body:has(.client-center-box):has(#content) #content .cl-dash__btn--p{border-color:transparent;background:linear-gradient(135deg,#239ceb,#0b6fb0);color:#fff !important;}
html body:has(.client-center-box):has(#content) #content .cl-dash__btn--p:hover{background:linear-gradient(135deg,#2aa6f0,#0b6fb0);filter:brightness(1.05);}

/* rychlé odkazy */
html body:has(.client-center-box):has(#content) #content .cl-dash__quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
html body:has(.client-center-box):has(#content) #content .cl-dash__quick a{
  display:flex;align-items:center;gap:12px;
  padding:14px;
  border:1px solid var(--ca-line);border-radius:18px;
  background:#fff;
  color:var(--ca-muted) !important;
  font-size:12.5px;font-weight:600;line-height:1.35;text-decoration:none !important;
  transition:border-color .2s,background .2s;
}
html body:has(.client-center-box):has(#content) #content .cl-dash__quick a:hover{border-color:#bcdcf4;background:var(--ca-soft);}
html body:has(.client-center-box):has(#content) #content .cl-dash__quick a svg{flex:0 0 36px;width:36px;height:36px;padding:8px;box-sizing:border-box;border-radius:11px;background:var(--ca-soft2);color:var(--ca-blue-d);}
html body:has(.client-center-box):has(#content) #content .cl-dash__quick a span{display:flex;flex-direction:column;min-width:0;}
html body:has(.client-center-box):has(#content) #content .cl-dash__quick a b{color:var(--ca-head);font-size:14px;font-weight:800;}

/* =====================================================================
   STAVY (objednávka, platba)
   ===================================================================== */
html body:has(.client-center-box):has(#content) #content .cl-st{
  display:inline-flex !important;align-items:center;gap:6px;
  padding:4px 10px !important;
  border-radius:20px !important;
  font-size:12.5px !important;font-weight:800 !important;line-height:1.3 !important;
  white-space:nowrap;
}
html body:has(.client-center-box):has(#content) #content .cl-st::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;}
html body:has(.client-center-box):has(#content) #content .cl-st--ok{background:#e7f6ec !important;color:#1f9d3a !important;}
html body:has(.client-center-box):has(#content) #content .cl-st--wait{background:#fff4e0 !important;color:#b26a00 !important;}
html body:has(.client-center-box):has(#content) #content .cl-st--bad{background:#fdecec !important;color:#d14343 !important;}

/* =====================================================================
   TABULKY (objednávky, doklady, platby, hodnocení…)
   ===================================================================== */
html body:has(.client-center-box):has(#content) #content .content-inner table.table{
  width:100% !important;
  margin:0 0 20px !important;
  border:1px solid var(--ca-line) !important;
  border-collapse:separate !important;border-spacing:0 !important;
  border-radius:20px !important;
  overflow:hidden;
  background:#fff !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner table.table th{
  padding:12px 14px !important;
  border:0 !important;border-bottom:1px solid var(--ca-line) !important;
  background:var(--ca-soft) !important;
  color:var(--ca-muted) !important;
  font-size:12.5px !important;font-weight:800 !important;
  text-transform:none !important;letter-spacing:0 !important;
  vertical-align:middle !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner table.table td{
  padding:13px 14px !important;
  border:0 !important;border-top:1px solid #eef4fa !important;
  background:#fff !important;
  color:var(--ca-text) !important;
  font-size:14px !important;font-weight:600 !important;
  vertical-align:middle !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner table.table tr:first-child td{border-top:0 !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table tr:hover td{background:#fbfdff !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table td strong{color:var(--ca-head) !important;font-weight:800 !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table td a{color:var(--ca-blue-d) !important;font-weight:800 !important;text-decoration:none !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table td a:hover{color:var(--ca-blue) !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .client-link a,
html body:has(.client-center-box):has(#content) #content .content-inner a.btn{border-radius:12px !important;}

/* ---------- detail objednávky ---------- */
/* souhrn (datum, stav, sledování zásilky, Znovu nakoupit) jako karta */
html body:has(.client-center-box):has(#content) #content .content-inner > h2 + div:not([class]){
  margin:0 0 8px !important;
  padding:18px 20px !important;
  border:1px solid var(--ca-line) !important;border-radius:20px !important;
  background:#fff !important;
  color:var(--ca-text) !important;font-size:14px !important;line-height:1.6 !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner > h2 + div:not([class]) p{margin:0 0 12px !important;}
html body:has(.client-center-box):has(#content) #content .content-inner > h2 + div:not([class]) p:last-child{margin:0 !important;}
html body:has(.client-center-box):has(#content) #content .content-inner > h2 + div:not([class]) a:not(.btn){color:var(--ca-blue-d) !important;font-weight:800 !important;text-decoration:none !important;}
/* „Znovu nakoupit“ vkládá zboží do košíku – stejné zelené tlačítko jako „Do košíku“ */
html body:has(.client-center-box):has(#content) #content .content-inner > h2 + div:not([class]) .btn{
  display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:8px;
  height:46px !important;padding:0 20px !important;
  border:0 !important;border-radius:13px !important;
  background:linear-gradient(135deg,#34c759 0%,#1f9d3a 100%) !important;
  box-shadow:none !important;
  color:#fff !important;font-size:15px !important;font-weight:800 !important;
  text-transform:none !important;letter-spacing:0 !important;text-decoration:none !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner > h2 + div:not([class]) .btn::before{
  content:"";width:18px;height:18px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 15.5-6.3L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-15.5 6.3L3 16'/%3E%3Cpath d='M3 21v-5h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* fakturační a doručovací adresa jako dvě karty */
html body:has(.client-center-box):has(#content) #content .content-inner > .row{
  display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px !important;
  margin:0 0 8px !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner > .row::before,
html body:has(.client-center-box):has(#content) #content .content-inner > .row::after{display:none !important;}
html body:has(.client-center-box):has(#content) #content .content-inner > .row > [class*="col-"]{
  width:auto !important;float:none !important;
  margin:0 !important;
  padding:18px 20px !important;
  border:1px solid var(--ca-line) !important;border-radius:20px !important;
  background:#fff !important;
  color:var(--ca-text) !important;font-size:14px !important;line-height:1.6 !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner > .row h4{
  margin:0 0 8px !important;padding:0 !important;
  color:var(--ca-head) !important;font-size:16px !important;font-weight:800 !important;
  text-transform:none !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner > .row a{color:var(--ca-blue-d) !important;font-weight:700 !important;text-decoration:none !important;}

/* položky objednávky: název produktu a kód pod ním */
html body:has(.client-center-box):has(#content) #content .content-inner table.table td.p-name{text-align:left !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table td.p-name .p-name__itemLink{display:block !important;margin:0 0 3px !important;color:var(--ca-head) !important;font-size:14.5px !important;font-weight:800 !important;line-height:1.35 !important;text-decoration:none !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table td.p-name .p-name__itemLink:hover{color:var(--ca-blue-d) !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table td.p-name .p-name__codeLabel,
html body:has(.client-center-box):has(#content) #content .content-inner table.table td.p-name .p-name__code{color:var(--ca-muted) !important;font-size:12.5px !important;font-weight:600 !important;font-style:normal !important;}
/* součet objednávky */
html body:has(.client-center-box):has(#content) #content .content-inner table.table tr.row-summary td{padding:14px 16px !important;background:var(--ca-soft) !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table .list-summary{
  display:grid !important;grid-template-columns:1fr auto;gap:6px 16px;
  max-width:360px;margin:0 0 0 auto !important;padding:0 !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner table.table .list-summary dt,
html body:has(.client-center-box):has(#content) #content .content-inner table.table .list-summary dd{float:none !important;width:auto !important;margin:0 !important;padding:0 !important;color:var(--ca-text) !important;font-size:14px !important;font-weight:600 !important;text-align:left !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table .list-summary dd{text-align:right !important;white-space:nowrap;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table .list-summary dt:first-of-type,
html body:has(.client-center-box):has(#content) #content .content-inner table.table .list-summary dd:first-of-type,
html body:has(.client-center-box):has(#content) #content .content-inner table.table .list-summary dd:first-of-type strong{color:var(--ca-head) !important;font-size:17px !important;font-weight:800 !important;}

/* ozdobné proužky ze starého stylu u buněk pryč */
html body:has(.client-center-box):has(#content) #content .content-inner table.table td::before,
html body:has(.client-center-box):has(#content) #content .content-inner table.table tr::before{display:none !important;content:none !important;}

/* hodnocení produktů: název produktu nad hvězdičkami, čekající hodnocení se štítkem */
html body:has(.client-center-box):has(#content) #content .content-inner table.table td.cell--rating a{display:block !important;margin:0 0 4px !important;color:var(--ca-head) !important;font-weight:800 !important;line-height:1.35 !important;text-align:left !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table td.cell--rating .product-rating-wrap{display:inline-flex !important;align-items:center;gap:8px;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table td.cell--rating .stars .star::before{color:#fecb3e !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table tr.rating-authorization-pending td.cell--rating .product-rating-wrap::after{
  content:"Čeká na schválení";
  padding:3px 8px;border-radius:20px;
  background:#fff4e0;color:#b26a00;
  font-size:11.5px;font-weight:800;white-space:nowrap;
}
/* tlačítko Smazat – nenápadné červené, ne přes celou kartu */
html body:has(.client-center-box):has(#content) #content .content-inner table.table a[title="Smazat položku"]{
  display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:6px;
  width:auto !important;height:34px !important;
  padding:0 12px !important;
  border:1px solid #f3cccc !important;border-radius:10px !important;
  background:#fff !important;
  box-shadow:none !important;
  color:#d14343 !important;
  font-size:13px !important;font-weight:800 !important;
  text-transform:none !important;letter-spacing:0 !important;text-decoration:none !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner table.table a[title="Smazat položku"]::before{
  content:"";width:14px;height:14px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d14343' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body:has(.client-center-box):has(#content) #content .content-inner table.table a[title="Smazat položku"]:hover{background:#fdf3f3 !important;}

/* prázdný stav (doplňuje cleno-ucet.js) */
html body:has(.client-center-box):has(#content) #content .content-inner .cl-empty{
  display:flex !important;align-items:center;gap:12px;
  margin:0 0 16px !important;
  padding:16px 18px !important;
  border:1px dashed #cfe2f2 !important;border-radius:18px !important;
  background:var(--ca-soft) !important;
  color:var(--ca-muted) !important;font-size:14px !important;font-weight:700 !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner .cl-empty::before{
  content:"";flex:0 0 36px;width:36px;height:36px;border-radius:50%;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6fb0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5V8z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* doklady ke stažení – u čísla dokladu štítek PDF */
html body:has(.client-center-box):has(#content) #content .content-inner table.table a[href*="/action/download/"]{display:inline-flex !important;align-items:center;gap:8px;}
html body:has(.client-center-box):has(#content) #content .content-inner table.table a[href*="/action/download/"]::after{
  content:"PDF";
  padding:2px 7px;
  border-radius:7px;
  background:#fdecec;
  color:#d14343;
  font-size:11px;font-weight:800;letter-spacing:.02em;
}

/* stránka „Moje slevy“ – řádky jako přehledné položky s hodnotou vpravo */
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"]{max-width:560px;}
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] td{display:table-cell !important;padding:15px 18px !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] td:last-child{text-align:right !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] td:last-child strong{
  display:inline-block;padding:4px 12px;border-radius:20px;background:var(--ca-soft2);color:var(--ca-blue-d) !important;font-size:14px !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] tr:last-child td{background:var(--ca-soft) !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] tr:last-child td:first-child{color:var(--ca-head) !important;font-weight:800 !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] tr:last-child td:last-child strong{background:linear-gradient(135deg,#34c759,#1f9d3a);color:#fff !important;font-size:16px !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] + p{color:var(--ca-muted) !important;font-size:13px !important;}

/* =====================================================================
   FORMULÁŘE (osobní údaje, adresy)
   ===================================================================== */
html body:has(.client-center-box):has(#content) #content .content-inner .form-control,
html body:has(.client-center-box):has(#content) #content .content-inner input[type="text"],
html body:has(.client-center-box):has(#content) #content .content-inner input[type="email"],
html body:has(.client-center-box):has(#content) #content .content-inner input[type="tel"],
html body:has(.client-center-box):has(#content) #content .content-inner input[type="password"],
html body:has(.client-center-box):has(#content) #content .content-inner select{
  height:48px !important;
  padding:0 14px !important;
  border:1px solid #d7e6f3 !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:none !important;
  color:var(--ca-head) !important;
  font-size:15px !important;font-weight:600 !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner .form-control:focus,
html body:has(.client-center-box):has(#content) #content .content-inner input:focus,
html body:has(.client-center-box):has(#content) #content .content-inner select:focus{border-color:var(--ca-blue) !important;box-shadow:0 0 0 3px rgba(35,156,235,.15) !important;outline:none !important;}
html body:has(.client-center-box):has(#content) #content .content-inner label{color:var(--ca-head) !important;font-size:13.5px !important;font-weight:700 !important;}
html body:has(.client-center-box):has(#content) #content .content-inner fieldset,
html body:has(.client-center-box):has(#content) #content .content-inner .registration-form > .box,
html body:has(.client-center-box):has(#content) #content .content-inner .shipping-addresses{
  margin:0 0 16px !important;
  padding:20px !important;
  border:1px solid var(--ca-line) !important;
  border-radius:20px !important;
  background:#fff !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner legend{
  float:none;width:auto;
  margin:0 0 12px !important;padding:0 !important;
  border:0 !important;
  color:var(--ca-head) !important;
  font-size:17px !important;font-weight:800 !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner button[type="submit"],
html body:has(.client-center-box):has(#content) #content .content-inner input[type="submit"]{
  height:48px !important;
  padding:0 24px !important;
  border:0 !important;border-radius:13px !important;
  background:linear-gradient(135deg,#239ceb,#0b6fb0) !important;
  box-shadow:none !important;
  color:#fff !important;
  font-size:15px !important;font-weight:800 !important;
  text-transform:none !important;
}

/* osobní údaje: bloky formuláře jako karty, popisek vždy nad polem (ne vedle v úzkém sloupci) */
html body:has(.client-center-box):has(#content) #content .content-inner .co-box{margin:0 0 16px !important;padding:0 !important;border:0 !important;background:none !important;box-shadow:none !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .co-box > .box{
  margin:0 !important;
  padding:22px !important;
  border:1px solid var(--ca-line) !important;
  border-radius:20px !important;
  background:#fff !important;
  box-shadow:none !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner .form-group{margin:0 0 14px !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .form-group > label{
  display:block !important;float:none !important;
  width:auto !important;max-width:none !important;
  margin:0 0 6px !important;padding:0 !important;
  line-height:1.3 !important;text-align:left !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner .form-group .form-control-wrapper,
html body:has(.client-center-box):has(#content) #content .content-inner .form-group .phone-combined-input,
html body:has(.client-center-box):has(#content) #content .content-inner .form-group > .form-control,
html body:has(.client-center-box):has(#content) #content .content-inner .form-group > input{width:100% !important;max-width:none !important;margin-left:0 !important;float:none !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .co-box h2,
html body:has(.client-center-box):has(#content) #content .content-inner .co-box h4,
html body:has(.client-center-box):has(#content) #content .content-inner .co-box legend{margin:0 0 16px !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .submit-wrapper{margin:4px 0 16px !important;}
/* poslední prvek v kartě bez spodní mezery – karty mají stejné vnitřní okraje nahoře i dole */
html body:has(.client-center-box):has(#content) #content .content-inner .co-box > .box > :last-child,
html body:has(.client-center-box):has(#content) #content .content-inner fieldset > :last-child,
html body:has(.client-center-box):has(#content) #content .content-inner .shipping-addresses > :last-child{margin-bottom:0 !important;}

/* nadpis na začátku karty formuláře bez horní mezery (vnitřní okraj karty stačí) */
html body:has(.client-center-box):has(#content) #content .content-inner fieldset > h2,
html body:has(.client-center-box):has(#content) #content .content-inner fieldset > h3,
html body:has(.client-center-box):has(#content) #content .content-inner .co-box > .box > h2:first-child,
html body:has(.client-center-box):has(#content) #content .content-inner .co-box > .box > h4:first-child{margin:0 0 14px !important;font-size:18px !important;}

/* doručovací adresy */
html body:has(.client-center-box):has(#content) #content .content-inner .shipping-addresses h2{margin:0 0 8px !important;font-size:18px !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .shipping-addresses p{margin:0 0 14px !important;color:var(--ca-muted) !important;font-size:14px !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .shipping-addresses .btn,
html body:has(.client-center-box):has(#content) #content .content-inner .btn.btn-secondary{
  display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:8px;
  height:44px !important;
  padding:0 18px !important;
  border:1px solid #cfe2f2 !important;border-radius:13px !important;
  background:#fff !important;
  box-shadow:none !important;
  color:var(--ca-blue-d) !important;
  font-size:14px !important;font-weight:800 !important;
  text-transform:none !important;letter-spacing:0 !important;text-decoration:none !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner .shipping-addresses .btn::before{
  content:"+";
  font-size:18px;font-weight:800;line-height:1;
}
html body:has(.client-center-box):has(#content) #content .content-inner .shipping-addresses .btn:hover,
html body:has(.client-center-box):has(#content) #content .content-inner .btn.btn-secondary:hover{background:var(--ca-soft) !important;border-color:#bcdcf4 !important;}

/* zaškrtávací políčko (newsletter) – jako v košíku */
html body:has(.client-center-box):has(#content) #content .content-inner input[type="checkbox"]{
  -webkit-appearance:none;appearance:none;
  flex:0 0 22px;
  width:22px !important;height:22px !important;
  margin:0 !important;
  border:1.5px solid #bcd3e6 !important;border-radius:7px !important;
  background:#fff center / 13px no-repeat !important;
  vertical-align:middle;
  cursor:pointer;
}
html body:has(.client-center-box):has(#content) #content .content-inner input[type="checkbox"]:checked{
  border-color:transparent !important;
  background-color:#0b6fb0 !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner .form-group:has(> input[type="checkbox"]){display:flex !important;align-items:center !important;gap:12px !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .form-group > input[type="checkbox"] + label{
  display:block !important;flex:1 1 auto;
  width:auto !important;
  margin:0 !important;padding:0 !important;
  font-size:14px !important;font-weight:700 !important;line-height:1.35 !important;
  cursor:pointer;
}
html body:has(.client-center-box):has(#content) #content .content-inner .form-group > input[type="checkbox"] + label::before,
html body:has(.client-center-box):has(#content) #content .content-inner .form-group > input[type="checkbox"] + label::after{display:none !important;}

/* telefon: výběr země a číslo jako jedno pole s jedním rámečkem */
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input{
  display:flex !important;align-items:stretch !important;
  height:48px !important;
  padding:0 !important;
  border:1px solid #d7e6f3 !important;border-radius:12px !important;
  background:#fff !important;
  box-shadow:none !important;
  overflow:visible !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input:focus-within{border-color:var(--ca-blue) !important;box-shadow:0 0 0 3px rgba(35,156,235,.15) !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input .country-flags{
  flex:0 0 auto;
  display:flex !important;align-items:center !important;
  height:100% !important;
  margin:0 !important;padding:0 10px !important;
  border:0 !important;border-right:1px solid var(--ca-line) !important;border-radius:11px 0 0 11px !important;
  background:var(--ca-soft) !important;
}
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input .country-flags:not(.active) .country-flags-inner,
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input .country-flags:not(.active) .country-flag{border:0 !important;padding:0 !important;margin:0 !important;background:none !important;}
/* otevřený seznam zemí – nad ostatními poli */
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input .country-flags.active .country-flags-inner{z-index:20 !important;border-radius:12px !important;}
/* vlajka a předvolba vedle sebe, svisle na středu */
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input .country-flags:not(.active) .country-flags-inner{display:flex !important;align-items:center !important;width:auto !important;height:auto !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input .country-flag.selected{display:flex !important;flex-wrap:nowrap !important;align-items:center !important;gap:6px !important;width:auto !important;height:auto !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input .shp-flag-label{white-space:nowrap !important;color:var(--ca-head) !important;font-size:14px !important;font-weight:700 !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .phone-combined-input input.form-control{
  flex:1 1 auto;
  width:auto !important;min-width:0;
  height:100% !important;
  margin:0 !important;
  border:0 !important;border-radius:0 11px 11px 0 !important;
  background:none !important;
  box-shadow:none !important;
}

/* =====================================================================
   POČÍTAČ – menu vlevo jako karta, obsah vpravo
   ===================================================================== */
@media (min-width:768px){
  /* popisky buněk patří jen do mobilních karet */
  html body:has(.client-center-box):has(#content) #content .content-inner table.table .client-table-heading{display:none !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table td:first-child strong,
  html body:has(.client-center-box):has(#content) #content .content-inner table.table td .cl-st{white-space:nowrap;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table .tracking-link{word-break:break-all;}
}
@media (max-width:1199px) and (min-width:768px){
  html body:has(.client-center-box):has(#content) #content .cl-dash__stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  html body:has(.client-center-box):has(#content) #content .cl-dash__quick{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* =====================================================================
   MOBIL
   ===================================================================== */
@media (max-width:767px){
  /* menu: vodorovně posuvné štítky místo velké mřížky tlačítek */
  /* stejný okraj 12 px od kraje jako vyhledávání v hlavičce (šablona tu má jen 8 px) */
  html body:has(.client-center-box):has(#content) .sidebar-left{margin:0 !important;padding:0 4px !important;}
  /* mezera menu → obsah: 12 px od štítků jako mezi bloky nástěnky (6 px tvoří spodní odsazení seznamu) */
  html body:has(.client-center-box):has(#content) #content-wrapper .content-wrapper-in{row-gap:6px !important;gap:6px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner{padding:0 4px !important;}
  html body:has(.client-center-box):has(#content) .client-center-box{padding:0 !important;border:0 !important;background:none !important;}
  html body:has(.client-center-box):has(#content) .client-center-box ul{
    flex-direction:row !important;flex-wrap:nowrap !important;justify-content:flex-start !important;gap:8px !important;
    margin:0 -16px !important;padding:2px 16px 6px !important;
    overflow-x:auto !important;overflow-y:hidden !important;-webkit-overflow-scrolling:touch;scrollbar-width:none;
    touch-action:pan-x pan-y;overscroll-behavior-x:contain;
    scroll-snap-type:none !important;
  }
  html body:has(.client-center-box):has(#content) .client-center-box ul::-webkit-scrollbar{display:none;}
  html body:has(.client-center-box):has(#content) .client-center-box li{flex:0 0 auto !important;}
  html body:has(.client-center-box):has(#content) .client-center-box li > a{
    gap:7px !important;
    padding:7px 12px 7px 7px !important;
    border:1px solid var(--ca-line) !important;border-radius:22px !important;
    background:#fff !important;
    font-size:13.5px !important;white-space:nowrap !important;
  }
  html body:has(.client-center-box):has(#content) .client-center-box .cl-acc-ico{flex-basis:28px;width:28px;height:28px;border-radius:50%;}
  html body:has(.client-center-box):has(#content) .client-center-box .cl-acc-ico svg{width:15px !important;height:15px !important;}
  html body:has(.client-center-box):has(#content) .client-center-box .cl-acc-count{min-width:22px;padding:2px 7px;font-size:11.5px;}
  html body:has(.client-center-box):has(#content) .client-center-box li.active > a{border-color:transparent !important;background:#0b6fb0 !important;color:#fff !important;}
  html body:has(.client-center-box):has(#content) .client-center-box li.active .cl-acc-ico{background:rgba(255,255,255,.18);}
  html body:has(.client-center-box):has(#content) .client-center-box li.active .cl-acc-count{background:rgba(255,255,255,.18);color:#fff;}
  html body:has(.client-center-box):has(#content) .client-center-box li.logout{margin:0 !important;padding:0 !important;border:0 !important;}

  html body:has(.client-center-box):has(#content) #content .content-inner > h1{font-size:24px !important;margin-bottom:16px !important;}

  html body:has(.client-center-box):has(#content) #content .cl-dash{gap:12px;margin-bottom:0;}
  html body:has(.client-center-box):has(#content) #content .content-inner > h2{margin:24px 0 12px !important;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__hero{flex-direction:column;align-items:stretch;gap:16px;padding:22px 17px;border-radius:22px;} /* 17 px = 16 px + 1 px rámečku ostatních karet → obsah ve stejné linii */
  html body:has(.client-center-box):has(#content) #content .cl-dash .cl-dash__title{font-size:25px !important;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__sub{font-size:13.5px;}
  /* sleva na mobilu vycentrovaná pod sebou: popisek, velké číslo, skupina */
  html body:has(.client-center-box):has(#content) #content .cl-dash__loyal{flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:14px 16px;text-align:center;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__loyal-lbl{font-size:13px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__loyal-num{margin:2px 0;font-size:34px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__loyal-group{font-size:12px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__tile{padding:16px;border-radius:18px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__tile-ico{width:34px;height:34px;margin-bottom:6px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__tile-num{font-size:22px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__tile-lbl{font-size:12.5px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__last{padding:16px;border-radius:20px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__last-main{flex-wrap:wrap;gap:12px;padding:12px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__last-total{flex-basis:100%;padding-left:58px;font-size:17px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__last-btns a{flex:1 1 auto;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__quick{grid-template-columns:1fr;gap:12px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__quick a{padding:12px 16px;border-radius:16px;}

  /* tabulky: každý řádek jako karta, popisek vlevo, hodnota vpravo */
  html body:has(.client-center-box):has(#content) #content .content-inner table.table{border:0 !important;border-radius:0 !important;background:none !important;overflow:visible;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table thead,
  html body:has(.client-center-box):has(#content) #content .content-inner table.table tr:has(> th){display:none !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table tbody{display:flex !important;flex-direction:column;gap:12px;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table tr{
    display:block !important;
    padding:6px 16px !important;
    border:1px solid var(--ca-line) !important;
    border-radius:18px !important;
    background:#fff !important;
  }
  html body:has(.client-center-box):has(#content) #content .content-inner table.table td{
    display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:space-between !important;gap:12px !important;
    width:auto !important;
    padding:9px 0 !important;
    border:0 !important;border-top:1px solid #eef4fa !important;
    background:none !important;
    text-align:right !important;
    font-size:14px !important;
  }
  html body:has(.client-center-box):has(#content) #content .content-inner table.table td:first-child{border-top:0 !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table td.cell--rating{display:block !important;padding:10px 0 !important;text-align:left !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table td.cell--rating .client-table-heading{margin:0 0 4px !important;max-width:none !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table td.text-center:has(a[title="Smazat položku"]){justify-content:flex-end !important;}
  /* název produktu v kartě: celý řádek, kód produktu pod názvem */
  html body:has(.client-center-box):has(#content) #content .content-inner table.table td.p-name{display:block !important;padding:10px 0 !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table tr.row-summary{padding:0 !important;overflow:hidden;background:var(--ca-soft) !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table tr.row-summary td{display:block !important;padding:14px 16px !important;border:0 !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table .list-summary{max-width:none;}
  /* oddělovací čáry i v první kartě (na počítači tam první řádek čáru nemá) */
  html body:has(.client-center-box):has(#content) #content .content-inner table.table tr:first-child td:not(:first-child){border-top:1px solid #eef4fa !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table td:empty{display:none !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table .client-table-heading{
    display:block !important;
    flex:0 0 auto;
    margin:0 !important;
    color:var(--ca-muted) !important;
    font-size:12.5px !important;font-weight:700 !important;
    text-align:left !important;text-transform:none !important;letter-spacing:0 !important;
    width:auto !important;max-width:55% !important;float:none !important;position:static !important;
  }
  html body:has(.client-center-box):has(#content) #content .content-inner table.table tr:hover td{background:none !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] tr{display:flex !important;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] td{display:block !important;border:0 !important;padding:0 !important;text-align:left !important;background:none !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] td:last-child{text-align:right !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] tr:last-child{background:var(--ca-soft) !important;}

  html body:has(.client-center-box):has(#content) #content .content-inner > .row{grid-template-columns:1fr;gap:12px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner > .row > [class*="col-"],
  html body:has(.client-center-box):has(#content) #content .content-inner > h2 + div:not([class]){padding:16px !important;border-radius:18px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner > h2 + div:not([class]) .btn{width:100%;}
  html body:has(.client-center-box):has(#content) #content .content-inner fieldset,
  html body:has(.client-center-box):has(#content) #content .content-inner .co-box > .box,
  html body:has(.client-center-box):has(#content) #content .content-inner .shipping-addresses{padding:16px !important;border-radius:18px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner button[type="submit"],
  html body:has(.client-center-box):has(#content) #content .content-inner input[type="submit"]{width:100%;}
}

/* =====================================================================
   OBJEDNÁVKY A DOKLADY JAKO KARTY (vytváří cleno-ucet.js, tabulka zůstává skrytá)
   ===================================================================== */
html body:has(.client-center-box):has(#content) #content .content-inner table.table.cl-carded{display:none !important;}
html body:has(.client-center-box):has(#content) #content .cl-list{display:flex;flex-direction:column;gap:10px;margin:0 0 20px;}
html body:has(.client-center-box):has(#content) #content .cl-oc{
  position:relative;
  display:grid;grid-template-columns:44px minmax(0,1fr) auto auto 18px;grid-template-areas:"ico main tags price go";
  align-items:center;gap:6px 16px;
  padding:14px 18px 14px 14px;
  border:1px solid var(--ca-line);border-radius:18px;
  background:#fff;
  transition:border-color .2s,background .2s,transform .2s;
}
html body:has(.client-center-box):has(#content) #content .cl-oc:hover{border-color:#bcdcf4;background:var(--ca-soft);}
html body:has(.client-center-box):has(#content) #content .cl-oc__ico{grid-area:ico;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;background:var(--ca-soft2);color:var(--ca-blue-d);}
html body:has(.client-center-box):has(#content) #content .cl-oc__ico svg,html body:has(.client-center-box):has(#content) #content .cl-oc__go svg,html body:has(.client-center-box):has(#content) #content .cl-oc__track svg,html body:has(.client-center-box):has(#content) #content .cl-oc__pdf svg,html body:has(.client-center-box):has(#content) #content .cl-acct svg,html body:has(.client-center-box):has(#content) #content .cl-sec-head a svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
html body:has(.client-center-box):has(#content) #content .cl-oc__ico svg{width:20px;height:20px;}
html body:has(.client-center-box):has(#content) #content .cl-oc__main{grid-area:main;display:flex;flex-direction:column;gap:3px;min-width:0;}
html body:has(.client-center-box):has(#content) #content .cl-oc__title{color:var(--ca-head) !important;font-size:15px;font-weight:800;line-height:1.3;text-decoration:none !important;}
/* celá karta objednávky je odkaz na detail */
html body:has(.client-center-box):has(#content) #content .cl-oc a.cl-oc__title::after{content:"";position:absolute;inset:0;border-radius:inherit;}
html body:has(.client-center-box):has(#content) #content .cl-oc__meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;color:var(--ca-muted);font-size:13px;font-weight:600;}
html body:has(.client-center-box):has(#content) #content .cl-oc__meta > * + *::before{content:"·";margin-right:10px;color:#b7c6d3;}
html body:has(.client-center-box):has(#content) #content .cl-oc__track,html body:has(.client-center-box):has(#content) #content .cl-oc__ord{position:relative;z-index:1;display:inline-flex;align-items:center;gap:5px;color:var(--ca-blue-d) !important;font-weight:800;text-decoration:none !important;}
html body:has(.client-center-box):has(#content) #content .cl-oc__track svg{width:15px;height:15px;}
html body:has(.client-center-box):has(#content) #content .cl-oc__track:hover,html body:has(.client-center-box):has(#content) #content .cl-oc__ord:hover{color:var(--ca-blue) !important;}
html body:has(.client-center-box):has(#content) #content .cl-oc__tags{grid-area:tags;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;}
html body:has(.client-center-box):has(#content) #content .cl-oc__tags .cl-st{white-space:nowrap;}
html body:has(.client-center-box):has(#content) #content .cl-oc__price{grid-area:price;display:flex;flex-direction:column;align-items:flex-end;min-width:118px;text-align:right;white-space:nowrap;}
html body:has(.client-center-box):has(#content) #content .cl-oc__price b{color:var(--ca-head);font-size:16px;font-weight:800;}
html body:has(.client-center-box):has(#content) #content .cl-oc__price span{color:var(--ca-muted);font-size:12px;font-weight:600;}
html body:has(.client-center-box):has(#content) #content .cl-oc__go{grid-area:go;display:flex;color:#9fb6c9;transition:color .2s,transform .2s;}
html body:has(.client-center-box):has(#content) #content .cl-oc__go svg{width:18px;height:18px;}
html body:has(.client-center-box):has(#content) #content .cl-oc:hover .cl-oc__go{color:var(--ca-blue-d);transform:translateX(2px);}
/* doklady: místo šipky tlačítko PDF */
html body:has(.client-center-box):has(#content) #content .cl-oc--doc{grid-template-columns:44px minmax(0,1fr) auto auto;grid-template-areas:"ico main price pdf";}
html body:has(.client-center-box):has(#content) #content .cl-oc--doc .cl-oc__title{font-size:14.5px;}
html body:has(.client-center-box):has(#content) #content a.cl-oc__pdf{
  grid-area:pdf;position:relative;z-index:1;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  height:38px;padding:0 14px;
  border:1px solid #f3d3d3;border-radius:12px;
  background:#fff;color:#d14343 !important;
  font-size:13px;font-weight:800;text-decoration:none !important;white-space:nowrap;
  transition:background .2s,border-color .2s;
}
html body:has(.client-center-box):has(#content) #content a.cl-oc__pdf svg{width:16px;height:16px;}
html body:has(.client-center-box):has(#content) #content a.cl-oc__pdf:hover{border-color:#eab4b4;background:#fdf3f3;}
html body:has(.client-center-box):has(#content) #content .cl-oc--doc .cl-oc__ico{background:#f2f7fc;}
/* záporné částky u dobropisů */
html body:has(.client-center-box):has(#content) #content .cl-list--docs .cl-oc__price b{font-variant-numeric:tabular-nums;}

/* stránkování (jen jedna stránka → bez čísel, jen počet položek) */
html body:has(.client-center-box):has(#content) #content .pagination-wrapper:not(:has(.pagination a)) .pagination{display:none !important;}
html body:has(.client-center-box):has(#content) #content .pagination-wrapper:not(:has(.pagination a)){justify-content:flex-end;}
html body:has(.client-center-box):has(#content) #content .pagination-wrapper{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:4px 0 20px !important;}
html body:has(.client-center-box):has(#content) #content .pagination-wrapper .pagination{display:flex !important;flex-wrap:wrap;gap:6px;margin:0 !important;padding:0 !important;}
html body:has(.client-center-box):has(#content) #content .pagination-wrapper .pagination > *{
  display:inline-flex !important;align-items:center;justify-content:center;
  width:auto !important;min-width:46px;height:46px;padding:0 14px !important;margin:0 !important;
  border:1px solid #e0eef9 !important;border-radius:14px !important;
  background:#fff !important;color:#163d5c !important;
  font-size:15px !important;font-weight:800 !important;text-decoration:none !important;
  transition:border-color .2s,background .2s,color .2s;
}
html body:has(.client-center-box):has(#content) #content .pagination-wrapper .pagination > a:hover{border-color:#9fcdf0 !important;background:#f5faff !important;color:#0b6fb0 !important;}
/* stránkování stejně jako ve výpisech produktů na webu */
html body:has(.client-center-box):has(#content) #content .pagination-wrapper .pagination > .current{border-color:#0b6fb0 !important;background:#0b6fb0 !important;color:#fff !important;}
html body:has(.client-center-box):has(#content) #content .pagination-wrapper .pagination-total{margin:0 !important;color:var(--ca-muted) !important;font-size:13px !important;font-weight:600 !important;}
html body:has(.client-center-box):has(#content) #content .pagination-wrapper .pagination-total strong{color:var(--ca-head) !important;}
html body:has(.client-center-box):has(#content) #content .content-inner .client-link:empty{display:none !important;}

/* nástěnka: „Poslední 3 objednávky“ s odkazem na všechny, větší odstup od rychlých odkazů */
html body:has(.client-center-box):has(#content) #content .cl-sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:36px 0 14px;}
html body:has(.client-center-box):has(#content) #content .content-inner .cl-sec-head h2{margin:0 !important;}
html body:has(.client-center-box):has(#content) #content .cl-sec-head a{display:inline-flex;align-items:center;gap:6px;color:var(--ca-blue-d) !important;font-size:14px;font-weight:800;text-decoration:none !important;white-space:nowrap;}
html body:has(.client-center-box):has(#content) #content .cl-sec-head a svg{width:16px;height:16px;transition:transform .2s;}
html body:has(.client-center-box):has(#content) #content .cl-sec-head a:hover svg{transform:translateX(2px);}
html body:has(.client-center-box):has(#content) #content .cl-dash__quick{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}

/* přihlášený účet + odhlášení */
html body:has(.client-center-box):has(#content) #content .cl-acct{
  display:flex;align-items:center;gap:14px;
  margin:28px 0 8px;
  padding:16px 16px 16px 18px;
  border:1px solid var(--ca-line);border-radius:20px;
  background:linear-gradient(135deg,#f7fbff,#eef6fd);
}
html body:has(.client-center-box):has(#content) #content .cl-acct__ava{flex:0 0 44px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--ca-blue-d);box-shadow:0 0 0 1px var(--ca-line);}
html body:has(.client-center-box):has(#content) #content .cl-acct__ava svg{width:20px;height:20px;}
html body:has(.client-center-box):has(#content) #content .cl-acct__txt{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;}
html body:has(.client-center-box):has(#content) #content .cl-acct__txt b{color:var(--ca-head);font-size:14.5px;font-weight:800;}
html body:has(.client-center-box):has(#content) #content .cl-acct__mail{overflow:hidden;color:var(--ca-muted);font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap;}
html body:has(.client-center-box):has(#content) #content a.cl-acct__out,
html body:has(.client-center-box):has(#content) .client-center-box li.logout > a{
  display:inline-flex !important;align-items:center;justify-content:center;gap:8px;
  height:44px !important;min-height:44px;padding:0 18px !important;
  border:1px solid #f1cfcf !important;border-radius:14px !important;
  background:#fff !important;
  color:#c0392b !important;
  font-size:14px !important;font-weight:800 !important;text-decoration:none !important;white-space:nowrap;
  transition:background .2s,border-color .2s,color .2s;
}
html body:has(.client-center-box):has(#content) #content a.cl-acct__out svg{width:18px;height:18px;}
html body:has(.client-center-box):has(#content) #content a.cl-acct__out:hover,
html body:has(.client-center-box):has(#content) .client-center-box li.logout > a:hover{border-color:#e9a9a9 !important;background:#fdf1f1 !important;color:#a93226 !important;}
/* odhlášení v menu: místo červeného řádku úhledné tlačítko přes celou šířku */
/* ikonka aktivní položky menu byla modrá na modrém – vždy barvou textu */
html body:has(.client-center-box):has(#content) .client-center-box .cl-acc-ico svg,
html body:has(.client-center-box):has(#content) .client-center-box .cl-acc-ico svg *{color:inherit !important;stroke:currentColor !important;fill:none !important;}
html body:has(.client-center-box):has(#content) .client-center-box li.logout{margin-top:10px !important;padding-top:10px !important;}
html body:has(.client-center-box):has(#content) .client-center-box li.logout > a{display:flex !important;width:100%;justify-content:center !important;gap:8px !important;}
html body:has(.client-center-box):has(#content) .client-center-box li.logout .cl-acc-ico{flex:0 0 auto !important;width:auto !important;height:auto !important;background:none !important;color:inherit !important;}
html body:has(.client-center-box):has(#content) .client-center-box li.logout .cl-acc-txt{flex:0 0 auto !important;}

/* detail objednávky na počítači: název produktu se zalomí a nepřetéká přes další sloupce */
@media (min-width:768px){
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details{table-layout:auto !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details th{white-space:normal !important;line-height:1.3 !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details td{white-space:nowrap !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details td,
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details th{padding-left:10px !important;padding-right:10px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details td:first-child,
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details th:first-child{padding-left:18px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details td:last-child,
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details th:last-child{padding-right:18px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details td.p-name,
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details td:first-child{width:42%;min-width:260px;white-space:normal !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table.table.table-order-details td.p-name .p-name__itemLink{white-space:normal !important;}
}
@media (max-width:1199px) and (min-width:768px){
  html body:has(.client-center-box):has(#content) #content .cl-oc{grid-template-columns:44px minmax(0,1fr) auto 18px;grid-template-areas:"ico main price go" "ico tags tags go";}
  html body:has(.client-center-box):has(#content) #content .cl-oc__tags{justify-content:flex-start;}
  html body:has(.client-center-box):has(#content) #content .cl-oc--doc{grid-template-columns:44px minmax(0,1fr) auto auto;grid-template-areas:"ico main price pdf";}
}

/* =====================================================================
   MOBIL – doplňky
   ===================================================================== */
@media (max-width:767px){
  /* menu: klepnutá položka se zvýrazní hned, přechod barev plynule */
  html body:has(.client-center-box):has(#content) .client-center-box li > a{transition:background-color .18s ease,color .18s ease,border-color .18s ease !important;}
  html body:has(.client-center-box):has(#content) .client-center-box li.cl-acc-going > a{border-color:transparent !important;background:#0b6fb0 !important;color:#fff !important;}
  html body:has(.client-center-box):has(#content) .client-center-box li.cl-acc-going .cl-acc-ico{background:rgba(255,255,255,.18);}
  html body:has(.client-center-box):has(#content) .client-center-box ul{scroll-behavior:auto !important;}
  /* dokud skript nedoplní ikonky, menu se neukazuje – nic neposkakuje (pojistka: po 1,5 s se ukáže vždy) */
  html body:has(.client-center-box):has(#content) .client-center-box:not(.cl-acc-ready) ul{opacity:0;animation:clAccShow 0s 1.5s forwards;}
  html body:has(.client-center-box):has(#content) .client-center-box li.logout{margin:0 !important;padding:0 !important;}
  html body:has(.client-center-box):has(#content) .client-center-box li.logout > a{width:auto;height:auto !important;min-height:0;padding:7px 14px 7px 9px !important;border-radius:22px !important;font-size:13.5px !important;}

  html body:has(.client-center-box):has(#content) #content .cl-list{gap:12px;margin-bottom:16px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"ico main price" "tags tags tags";gap:12px;padding:14px 16px;border-radius:18px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__ico{width:40px;height:40px;border-radius:12px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__ico svg{width:18px;height:18px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__title{font-size:14.5px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__meta{font-size:12.5px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__price{min-width:0;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__price b{font-size:15px;}
  html body:has(.client-center-box):has(#content) #content .cl-list--orders .cl-oc{align-items:start;}
  html body:has(.client-center-box):has(#content) #content .cl-list--orders .cl-oc__price{padding-top:1px;}
  /* u objednávky stačí na mobilu cena s DPH, datum a sledování zásilky pod sebou */
  html body:has(.client-center-box):has(#content) #content .cl-list--orders .cl-oc__price span{display:none;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__meta{flex-direction:column;align-items:flex-start;gap:4px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__meta > * + *::before{content:none;display:none;}
  html body:has(.client-center-box):has(#content) #content .cl-oc--doc .cl-oc__meta{flex-direction:row;flex-wrap:wrap;gap:2px 8px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc--doc .cl-oc__meta > * + *::before{content:"·";display:inline;margin-right:8px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__price span{font-size:11.5px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__tags{justify-content:flex-start;padding-top:12px;border-top:1px solid #eef4fa;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__tags:empty{display:none;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__go{display:none;}
  html body:has(.client-center-box):has(#content) #content .cl-oc--doc{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"ico main pdf" "ico price pdf";row-gap:6px;align-items:start;}
  html body:has(.client-center-box):has(#content) #content .cl-oc--doc .cl-oc__price{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:8px;text-align:left;}
  html body:has(.client-center-box):has(#content) #content .cl-oc--doc a.cl-oc__pdf{align-self:center;height:36px;padding:0 11px;}
  html body:has(.client-center-box):has(#content) #content .pagination-wrapper{justify-content:center;}
  html body:has(.client-center-box):has(#content) #content .pagination-wrapper .pagination{flex-wrap:nowrap;max-width:100%;overflow-x:auto;scrollbar-width:none;}
  html body:has(.client-center-box):has(#content) #content .pagination-wrapper .pagination > *{flex:0 0 auto;min-width:42px;height:42px;padding:0 12px !important;border-radius:12px !important;font-size:14px !important;}

  html body:has(.client-center-box):has(#content) #content .cl-sec-head{margin:28px 0 12px;}
  html body:has(.client-center-box):has(#content) #content .cl-dash__quick{grid-template-columns:1fr !important;}
  html body:has(.client-center-box):has(#content) #content .cl-acct{flex-wrap:wrap;gap:12px;margin:24px 0 4px;padding:16px;}
  html body:has(.client-center-box):has(#content) #content a.cl-acct__out{flex:1 1 100%;}

  /* Moje slevy: hodnoty vycentrované pod popiskem, stejné mezery mezi kartami */
  html body:has(.client-center-box):has(#content) #content .content-inner .cl-dash--slevy{margin:0 0 12px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"]{margin:0 0 12px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] tbody{gap:12px !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] tr{flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:8px !important;padding:16px !important;text-align:center !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] td,
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] td:last-child{width:auto !important;align-self:center !important;text-align:center !important;color:var(--ca-muted) !important;font-size:14px !important;font-weight:700 !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] td:last-child strong{margin:0 !important;}
  html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] + p{margin:0 !important;}
}
@keyframes clAccShow{to{opacity:1;}}

/* =====================================================================
   MOJE SLEVY – dlaždice místo tabulky
   ===================================================================== */
html body:has(.client-center-box):has(#content) #content .content-inner .cl-dash--slevy{margin:0 0 16px !important;}
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"].cl-carded{display:none !important;}
html body:has(.client-center-box):has(#content) #content .cl-disc{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 16px;}
html body:has(.client-center-box):has(#content) #content .cl-disc__item{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  min-width:0;padding:20px 14px;
  border:1px solid var(--ca-line);border-radius:20px;
  background:#fff;text-align:center;
}
html body:has(.client-center-box):has(#content) #content .cl-disc__ico{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin-bottom:4px;border-radius:12px;background:var(--ca-soft2);color:var(--ca-blue-d);}
html body:has(.client-center-box):has(#content) #content .cl-disc__ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
html body:has(.client-center-box):has(#content) #content .cl-disc__lbl{color:var(--ca-muted);font-size:13px;font-weight:700;line-height:1.3;}
html body:has(.client-center-box):has(#content) #content .cl-disc__val{color:var(--ca-head);font-size:24px;font-weight:800;line-height:1.2;}
html body:has(.client-center-box):has(#content) #content .cl-disc__item--group .cl-disc__val{font-size:16px;}
html body:has(.client-center-box):has(#content) #content .cl-disc__item--now{border-color:#c9ecd3;background:linear-gradient(160deg,#f2fbf5,#e3f6e9);}
html body:has(.client-center-box):has(#content) #content .cl-disc__item--now .cl-disc__ico{background:linear-gradient(135deg,#34c759,#1f9d3a);color:#fff;}
html body:has(.client-center-box):has(#content) #content .cl-disc__item--now .cl-disc__lbl{color:#1f7a34;}
html body:has(.client-center-box):has(#content) #content .cl-disc__item--now .cl-disc__val{color:#1f9d3a;}
html body:has(.client-center-box):has(#content) #content .content-inner table[data-testid="tableCustomerDiscounts"] + p{margin:0 !important;}

/* =====================================================================
   MOJE HODNOCENÍ PRODUKTŮ – karty s hvězdičkami
   ===================================================================== */
html body:has(.client-center-box):has(#content) #content .content-inner table.customer-ratings.cl-carded{display:none !important;}
html body:has(.client-center-box):has(#content) #content .cl-oc--rate{grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"ico main side";}
html body:has(.client-center-box):has(#content) #content .cl-oc--rate .cl-oc__ico{background:#fff7e0;color:#e0a100;}
html body:has(.client-center-box):has(#content) #content .cl-oc--rate .cl-oc__title{font-size:14.5px;}
html body:has(.client-center-box):has(#content) #content .cl-oc--rate a.cl-oc__title::after{content:none;}
html body:has(.client-center-box):has(#content) #content .cl-oc--rate a.cl-oc__title:hover{color:var(--ca-blue-d) !important;}
html body:has(.client-center-box):has(#content) #content .cl-rate{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;color:var(--ca-muted);font-size:13px;font-weight:600;}
html body:has(.client-center-box):has(#content) #content .cl-rate__stars{display:inline-flex;gap:2px;}
html body:has(.client-center-box):has(#content) #content .cl-rate__stars svg{width:16px;height:16px;fill:#e3e9ef;stroke:none;}
html body:has(.client-center-box):has(#content) #content .cl-rate__stars svg.on{fill:#fecb3e;}
html body:has(.client-center-box):has(#content) #content .cl-rate b{color:var(--ca-head);font-size:13px;font-weight:800;}
html body:has(.client-center-box):has(#content) #content .cl-rate__date::before{content:"·";margin-right:8px;color:#b7c6d3;}
html body:has(.client-center-box):has(#content) #content .cl-oc__side{grid-area:side;display:flex;align-items:center;gap:10px;}
html body:has(.client-center-box):has(#content) #content .cl-oc__side .cl-st{white-space:nowrap;}
html body:has(.client-center-box):has(#content) #content .cl-oc__side a[title="Smazat položku"]{
  display:inline-flex !important;align-items:center !important;gap:6px;
  width:auto !important;min-width:0 !important;height:36px !important;padding:0 12px !important;
  border:1px solid #f3d3d3 !important;border-radius:12px !important;
  background:#fff !important;box-shadow:none !important;
  color:#d14343 !important;font-size:13px !important;font-weight:800 !important;
  text-transform:none !important;text-decoration:none !important;
}
html body:has(.client-center-box):has(#content) #content .cl-oc__side a[title="Smazat položku"]::before{
  content:"";width:14px;height:14px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d14343' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body:has(.client-center-box):has(#content) #content .cl-oc__side a[title="Smazat položku"]:hover{border-color:#eab4b4 !important;background:#fdf3f3 !important;}

@media (max-width:1199px) and (min-width:768px){
  html body:has(.client-center-box):has(#content) #content .cl-disc{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:767px){
  html body:has(.client-center-box):has(#content) #content .content-inner .cl-dash--slevy{margin:0 0 12px !important;}
  html body:has(.client-center-box):has(#content) #content .cl-disc{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px;}
  html body:has(.client-center-box):has(#content) #content .cl-disc__item{padding:16px 12px;border-radius:18px;}
  html body:has(.client-center-box):has(#content) #content .cl-disc__val{font-size:22px;}
  html body:has(.client-center-box):has(#content) #content .cl-disc__item--group .cl-disc__val{font-size:15px;}
  html body:has(.client-center-box):has(#content) #content .cl-oc--rate{grid-template-columns:40px minmax(0,1fr);grid-template-areas:"ico main" "side side";align-items:start;}
  html body:has(.client-center-box):has(#content) #content .cl-oc__side{justify-content:space-between;padding-top:12px;border-top:1px solid #eef4fa;}
}
