/* ============================================================
   skinspecialist.cz / bioby.cz :: ss-account-17.css :: v17
   PRODUCTION CSS for Shoptet customer account zone (přihlášený uživatel)

   v17 (2026-06-01) :: FIX úzký název produktu v kartě objednávky (mobil) —
   v10 width:30% na 1. sloupci držel název v 30% i v kartách. Přebito.

   v16 (2026-06-01) :: FIX únik account stylů do HEADERU/FOOTERU na /klient/*.
   Pravidla body[class*="in-X"] BEZ #content-wrapper (button[type=submit],
   a, .form-control, form…) trefovala i search tlačítko (sage+min-width:180px)
   a nav odkazy (barva). Doplněn #content-wrapper => zůstává jen v obsahu.

   v15 (2026-06-01) :: MOBILNÍ RESPONZIVITA — kolaps mřížky na 1 sloupec
   (fix: desktop v6 264px přebíjelo media query => vodorovný scroll),
   boční menu = OFF-CANVAS DRAWER (trigger+backdrop vkládá ss-account-2.js),
   karta objednávky stack, account tabulky do karet, summary full-width,
   typografie. Vše na konci souboru. JS: ss-account-1.js -> ss-account-2.js.

   v14 (2026-06-01) :: FIX oříznutý <select> ZEMĚ (Moje osobní údaje) —
   chyběl height => select zdědil nízkou Bootstrap výšku a ořízl svůj
   text na ~20 %. height:auto + min-height:48px na všechna account pole.

   v13 (2026-06-01) :: hlavičky tabulky se zalamují i v úzké account šířce
   (~780px). Flex na th nezalamoval text na šířku sloupce => cenové labely
   přetékaly (cenové měly navíc white-space:nowrap). Teď th = display:block
   + white-space:normal (přirozené zalomení) + spodní zarovnání
   přes thead tr align-items:flex-end.

   v12 (2026-06-01) :: FIX kolize hlaviček tabulky — th column-flex,
   aby se dlouhé labely zalamovaly místo přetékání přes sousední sloupce.

   v11 (2026-06-01) :: Tabulka položek přepsána na FLEX (řádek=flex,
   buňky=flex poměry). table-layout:fixed i grid+display:contents přes
   staré .table-mobile-enriched selhávaly (ignorovaly šířky). Flex drží
   pevné poměry sloupců (název 2.7) nezávisle na obsahu. + responsivní.

   v10 (2026-06-01) :: (1) odsazení sekčních nadpisů (margin-top 38px).
   (2) Tabulka položek pročištěna — přebity staré .table rules: název
   produktu SANS místo serif italic, thead bez cream pozadí, word-break
   normal (už netrhá "PRODUKTU"), 1. sloupec 30%, edge padding 24px.

   v9 (2026-06-01) :: Adresy vedle sebe — skryt Bootstrap .row::before/
   ::after (clearfix), které jako fantom grid-items odtlačovaly karty do
   diagonály. + potvrzen 2-sloupcový grid adres.

   v8 (2026-06-01) :: (a) Znovu nakoupit font 1:1 jako Košík v headeru
   (Manrope 14px/600/.04em, radius 4). (b) Sticky levé menu počítá s fixed
   headerem: top 184 (plný 168) / 64 (condensed 48) + transition:top 320ms
   sladěná s condense animací headeru => menu nepodjede.

   v7 (2026-05-31) :: Znovu nakoupit tlačítko: menší vert. padding,
   bez uppercase, světlý text na sage (vysoká specificita + color #fff).

   v6 (2026-05-31) :: DETAIL OBJEDNÁVKY nadesignován (in-objednavk):
   karta hlavičky (datum + barevný stavový badge + Znovu nakoupit),
   2 adresní karty, horizontální tabulka položek (mobil = kartový stack),
   souhrnový box. Badge barví ss-account-1.js (storno=červená, vyříz=zelená).
   Scope o třídu specifičtější než stará .table pravidla, aby přebil
   stacking .table-mobile-enriched. Blok na konci souboru.

   v5 (2026-05-31) :: FIX leak do headeru/footeru + LEVÉ MENU.
   - Stará pravidla byla scoped na .customer-page (= třída na <body>),
     takže .customer-page a / .form-control / h2-h4 / .btn / table
     prosakovala i do hlavičky a patičky (tmavší navigace, roztažený
     search). FIX: všechna obsahová pravidla přescopována pod
     #content-wrapper (obsahuje sidebar+obsah, NE header/footer).
   - LEVÉ MENU (.client-center-box) plně nadesignováno: editorial karta
     (serif jméno + eyebrow, hairlines, aktivní band) + liniové ikony
     (CSS mask), terakota, sand tint, 2-col grid + sticky (top:64px).
     Identity padding s !important (blanket li padding:0 ho přebíjelo).
     Sidebar blok scoped na #content-wrapper (stejná specificita jako
     přescopovaná stará pravidla, vyhrává pořadím). Blok je na konci.

   v2 (2026-05-31) :: 2 fixy rámu klientské zóny:
   1) BUG: .customer-page je třída na <body>; v1 jí dával
      max-width:1500 + margin:auto + padding, čímž zabednil celé <body>
      (header i footer pak nešly ke krajům, po stranách prosvítalo tělo).
      FIX: šířka/centrování/padding přesunuty na #content-wrapper;
      <body> zůstává plné šířky, takže header a footer jdou ke krajům.
   2) BUG: detekce přes staré in-* slugy míjela nové URL podstránek
      (in-nastaveni, in-dodaci-listy-klienta, in-danove-doklady-platba)
      => bílý blok místo cream pozadí. FIX: detekce přepnuta na
      body.customer-page:has(.client-center-box) :: chytne všech 11
      podstránek + cokoliv přibude, a NEzasáhne login/forgot/registraci
      (ty levé menu .client-center-box nemají + mají vlastní CSS).

   SCOPE — všechny stránky které vidí přihlášený zákazník:
     /klient/                       (přehled / dashboard)
     /klient/objednavky/            (seznam objednávek)
     /klient/objednavky/{cislo}/    (detail objednávky)
     /klient/zmena-udaju/           (osobní údaje + adresy)
     /klient/zmena-hesla/           (změna hesla)
     /klient/oblibene/              (wishlist, pokud aktivní)
     /klient/recenze/               (moje recenze, pokud aktivní)
     /klient/zapomenute-heslo/      (forgot password)

   APPROACH: CSS-only re-skin Shoptet's native DOM (ne JS replace).
   Shoptet renders customer pages s wrapper `.customer-page` který obsahuje
   `.table`, `.table-order-details`, `.table-shipping-addresses`,
   `.table-mobile-enriched`, `.customer-ratings`, `.customer-discussions`,
   `.password-form`, `.shipping-address-form`, atd.

   DETECTION strategie:
     - `body.in-klient` (Shoptet pravděpodobně set, ale we hedge se taky
       `.customer-page` selector — pokud body class neexistuje, target
       wrappera funguje stejně).
     - All rules scope na: `body.in-klient` OR `.customer-page` ancestor.

   ARCHITECTURE: standardní override pattern (matchuje ss-cart-3 +
   ss-checkout-4) — žádné REPLACE, žádný JS. CSS-only kill blue links +
   sage CTAs + Luxury Rigane headings + cream summary cards.

   DESIGN LANGUAGE (matchuje ss-login-1 + ss-register-1 + ss-cart-3):
     - Sidebar 240px account nav + main content 1fr
     - Italic Rigane page headings ("Moje objednávky.", "Změna údajů.")
     - Cream summary cards (--ss-cream)
     - White content cards (--ss-white) s --ss-border 1px
     - Sage primary CTA (Uložit, Pokračovat)
     - Terracotta links + destructive
     - Container 1500px (matchuje header)
     - Easing literal cubic-bezier(.4, 0, .2, 1)
     - Em dash NIKDY v copy (memory rule)

   DEPLOY:
     1. Upload tento soubor do /user/documents/upload/
     2. V Záhlaví HTML kódy přidat:
        <link rel="stylesheet" href="/user/documents/upload/ss-account-1.css?v=1">
     3. Hard reload, ověřit na všech stránkách /klient/*
   ============================================================ */


/* ============================================================
   1. PAGE BG + KILL BREADCRUMBS
   ============================================================ */

/* v2 DETEKCE klientské zóny: body má třídu customer-page A OBSAHUJE
   .client-center-box (levé menu účtu). Pokrývá všech 11 podstránek bez
   ohledu na in-* slug a zároveň vynechá login/forgot/registraci (ty
   .client-center-box nemají a řeší si vzhled vlastním CSS).
   :has() je v 2026 plně podporované všemi prohlížeči. */

/* Cream pozadí celé stránky (žádný bílý blok) */
body.customer-page:has(.client-center-box) {
  background: var(--ss-canvas, #F2EBDB) !important;
  font-family: var(--ss-sans, 'Manrope', sans-serif);
  color: var(--ss-black, #0F0F0F);
}

/* Drobečky skryté (konzistentní s dashboardem) */
body.customer-page:has(.client-center-box) .breadcrumbs-wrapper {
  display: none !important;
}

/* Vnitřní plochy průhledné, ať prosvítá cream (žádný bílý #content-wrapper) */
body.customer-page:has(.client-center-box) #content-wrapper,
body.customer-page:has(.client-center-box) .content-wrapper-in,
body.customer-page:has(.client-center-box) #content.content,
body.customer-page:has(.client-center-box) .content-inner {
  background: transparent !important;
}


/* ============================================================
   2. CONTENT CONTAINER — 1500px max, centrovaný.
   v2 FIX: max-width + margin:auto + padding patří na #content-wrapper,
   NE na <body> (.customer-page). Jinak se zabední celé tělo a header
   i footer se zúží. Tělo zůstává plné šířky => header/footer ke krajům.
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper {
  max-width: 1500px !important;
  margin: 0 auto !important;
  padding: 32px 32px 80px !important;
  box-sizing: border-box;
}


/* ============================================================
   3. PAGE HEADING (H1) — italic Rigane editorial style
   ============================================================ */

body.in-klient h1,
body[class*="in-klient"] #content-wrapper h1,
body[class*="in-zmena-"] #content-wrapper h1,
body[class*="in-objednavk"] #content-wrapper h1,
body[class*="in-oblib"] #content-wrapper h1,
body[class*="in-recenz"] #content-wrapper h1,
body[class*="in-zapomenute"] #content-wrapper h1,
body.customer-page:has(.client-center-box) #content-wrapper h1 {
  font-family: var(--ss-serif, 'Luxury Rigane', Georgia, serif) !important;
  font-weight: 300 !important;
  font-style: italic !important;
  font-size: clamp(36px, 3.8vw, 48px) !important;
  letter-spacing: -.025em !important;
  line-height: 1 !important;
  margin: 0 0 28px !important;
  color: var(--ss-black, #0F0F0F) !important;
  text-transform: none !important;
}

/* H2/H3 in customer pages — smaller serif headings */
body.in-klient h2,
body[class*="in-klient"] #content-wrapper h2,
body[class*="in-zmena-"] #content-wrapper h2,
body[class*="in-objednavk"] #content-wrapper h2,
body[class*="in-oblib"] #content-wrapper h2,
body[class*="in-recenz"] #content-wrapper h2,
body.customer-page:has(.client-center-box) #content-wrapper h2,
body.customer-page:has(.client-center-box) #content-wrapper h3,
body.customer-page:has(.client-center-box) #content-wrapper h4 {
  font-family: var(--ss-serif, 'Luxury Rigane', Georgia, serif) !important;
  font-weight: 300 !important;
  font-style: italic !important;
  letter-spacing: -.02em !important;
  color: var(--ss-black, #0F0F0F) !important;
  text-transform: none !important;
}
body.customer-page:has(.client-center-box) #content-wrapper h2 { font-size: 22px !important; margin: 0 0 16px !important; }
body.customer-page:has(.client-center-box) #content-wrapper h3 { font-size: 18px !important; margin: 0 0 12px !important; }
body.customer-page:has(.client-center-box) #content-wrapper h4 { font-size: 16px !important; margin: 0 0 10px !important; }


/* ============================================================
   4. ACCOUNT NAV SIDEBAR — 2-col layout (240px sidebar + 1fr content)
   Shoptet typically renders sub-navigation as a list .menu, .submenu,
   .sec-navigation, or .customer-nav within .content. We restyle.
   ============================================================ */

/* Sidebar — common Shoptet patterns for customer side-nav */
body.customer-page:has(.client-center-box) #content-wrapper .submenu,
body.customer-page:has(.client-center-box) #content-wrapper .side-navigation,
body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation,
body.customer-page:has(.client-center-box) #content-wrapper .customer-nav,
body.customer-page:has(.client-center-box) #content-wrapper .account-nav,
body[class*="in-klient"] #content-wrapper .submenu,
body[class*="in-klient"] #content-wrapper .side-navigation,
body[class*="in-klient"] #content-wrapper .sec-navigation {
  list-style: none !important;
  margin: 0 !important;
  padding: 18px 0 !important;
  background: var(--ss-white, #FFFFFF);
  border: 1px solid var(--ss-border, rgba(15, 15, 15, .10));
  border-radius: 4px;
}
body.customer-page:has(.client-center-box) #content-wrapper .submenu li,
body.customer-page:has(.client-center-box) #content-wrapper .side-navigation li,
body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation li,
body.customer-page:has(.client-center-box) #content-wrapper .customer-nav li {
  list-style: none !important;
  padding: 0;
  margin: 0;
}
body.customer-page:has(.client-center-box) #content-wrapper .submenu a,
body.customer-page:has(.client-center-box) #content-wrapper .side-navigation a,
body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation a,
body.customer-page:has(.client-center-box) #content-wrapper .customer-nav a {
  display: block;
  padding: 11px 22px;
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--ss-muted, rgba(15, 15, 15, .62)) !important;
  text-decoration: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  border-left: 2px solid transparent;
  transition: background .25s cubic-bezier(.4, 0, .2, 1),
              color .25s cubic-bezier(.4, 0, .2, 1),
              border-color .25s cubic-bezier(.4, 0, .2, 1);
}
body.customer-page:has(.client-center-box) #content-wrapper .submenu a:hover,
body.customer-page:has(.client-center-box) #content-wrapper .side-navigation a:hover,
body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation a:hover,
body.customer-page:has(.client-center-box) #content-wrapper .customer-nav a:hover {
  color: var(--ss-black, #0F0F0F) !important;
  background: rgba(107, 139, 133, .06);
  border-left-color: var(--ss-sage, #6B8B85);
}
body.customer-page:has(.client-center-box) #content-wrapper .submenu .active a,
body.customer-page:has(.client-center-box) #content-wrapper .submenu a.active,
body.customer-page:has(.client-center-box) #content-wrapper .submenu .current a,
body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation .active a,
body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation a.active,
body.customer-page:has(.client-center-box) #content-wrapper .customer-nav .active a,
body.customer-page:has(.client-center-box) #content-wrapper .customer-nav a.active {
  color: var(--ss-black, #0F0F0F) !important;
  background: var(--ss-cream, #E8DDC8);
  border-left-color: var(--ss-sage-deep, #5A7E78);
  font-weight: 600 !important;
}


/* ============================================================
   5. CONTENT CARDS — white surfaces for forms, tables, sections
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .box,
body.customer-page:has(.client-center-box) #content-wrapper .co-box,
body.customer-page:has(.client-center-box) #content-wrapper .info-box,
body.customer-page:has(.client-center-box) #content-wrapper .order-info,
body.customer-page:has(.client-center-box) #content-wrapper .customer-info,
body.customer-page:has(.client-center-box) #content-wrapper .billing-info,
body.customer-page:has(.client-center-box) #content-wrapper .shipping-info,
body[class*="in-klient"] #content-wrapper form.password-form,
body[class*="in-klient"] #content-wrapper form.shipping-address-form,
body[class*="in-zmena-"] #content-wrapper form,
body[class*="in-zapomenute"] #content-wrapper form {
  background: var(--ss-white, #FFFFFF);
  border: 1px solid var(--ss-border, rgba(15, 15, 15, .10));
  border-radius: 4px;
  padding: 28px 28px 24px;
  margin: 0 0 20px;
  box-shadow: 0 2px 8px rgba(15, 15, 15, .03);
}

/* Box heading inside card */
body.customer-page:has(.client-center-box) #content-wrapper .box h2,
body.customer-page:has(.client-center-box) #content-wrapper .box h3,
body.customer-page:has(.client-center-box) #content-wrapper .box h4,
body.customer-page:has(.client-center-box) #content-wrapper .co-box h2,
body.customer-page:has(.client-center-box) #content-wrapper .co-box h3,
body.customer-page:has(.client-center-box) #content-wrapper .co-box h4 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* Kill Shoptet's icon::before on shipping/billing headings (font-shoptet glyphs) */
body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-shipping-address h2::before,
body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-shipping-address h4::before,
body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-billing-address h2::before,
body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-billing-address h4::before {
  content: none !important;
  display: none !important;
}


/* ============================================================
   6. FORMS — match ss-login-1 + ss-register-1 styling
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .form-group,
body[class*="in-klient"] #content-wrapper form .form-group,
body[class*="in-zmena-"] #content-wrapper form .form-group,
body[class*="in-zapomenute"] #content-wrapper form .form-group {
  position: static !important;
  margin-bottom: 14px;
  min-width: 0 !important;
}

/* Labels — uppercase tracked above inputs (matches register page) */
body.customer-page:has(.client-center-box) #content-wrapper label,
body[class*="in-klient"] #content-wrapper form label,
body[class*="in-zmena-"] #content-wrapper form label,
body[class*="in-zapomenute"] #content-wrapper form label {
  display: block;
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 10.5px !important;
  letter-spacing: .3em !important;
  text-transform: uppercase !important;
  color: var(--ss-muted, rgba(15, 15, 15, .62)) !important;
  margin-bottom: 8px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* Required asterisk inline + nowrap (matches ss-register-1.css) */
body.customer-page:has(.client-center-box) #content-wrapper label .required-asterisk,
body[class*="in-klient"] #content-wrapper label .required-asterisk,
body[class*="in-zmena-"] #content-wrapper label .required-asterisk {
  display: inline !important;
  white-space: nowrap;
}
body.customer-page:has(.client-center-box) #content-wrapper label .required-asterisk::after,
body[class*="in-klient"] #content-wrapper label .required-asterisk::after,
body[class*="in-zmena-"] #content-wrapper label .required-asterisk::after {
  content: ' *';
  color: var(--ss-terracotta, #9A7A5F);
  display: inline !important;
}

/* Inputs */
body.customer-page:has(.client-center-box) #content-wrapper .form-control,
body.customer-page:has(.client-center-box) #content-wrapper input[type="text"],
body.customer-page:has(.client-center-box) #content-wrapper input[type="email"],
body.customer-page:has(.client-center-box) #content-wrapper input[type="tel"],
body.customer-page:has(.client-center-box) #content-wrapper input[type="password"],
body.customer-page:has(.client-center-box) #content-wrapper input[type="number"],
body.customer-page:has(.client-center-box) #content-wrapper select,
body.customer-page:has(.client-center-box) #content-wrapper textarea,
body[class*="in-klient"] #content-wrapper .form-control,
body[class*="in-zmena-"] #content-wrapper .form-control,
body[class*="in-zapomenute"] #content-wrapper .form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 14px;
  background: var(--ss-white, #FFFFFF);
  border: 1px solid var(--ss-border, rgba(15, 15, 15, .14)) !important;
  border-radius: 4px;
  outline: 0;
  color: var(--ss-black, #0F0F0F);
  transition: border-color .25s cubic-bezier(.4, 0, .2, 1);
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.4;
}
body.customer-page:has(.client-center-box) #content-wrapper select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F0F0F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

body.customer-page:has(.client-center-box) #content-wrapper .form-control:focus,
body.customer-page:has(.client-center-box) #content-wrapper input:focus,
body.customer-page:has(.client-center-box) #content-wrapper select:focus,
body.customer-page:has(.client-center-box) #content-wrapper textarea:focus,
body[class*="in-klient"] #content-wrapper .form-control:focus,
body[class*="in-zmena-"] #content-wrapper .form-control:focus,
body[class*="in-zapomenute"] #content-wrapper .form-control:focus {
  border-color: var(--ss-sage, #6B8B85) !important;
}

/* Smart label wrapper — neutralize Shoptet floating label */
body.customer-page:has(.client-center-box) #content-wrapper .smart-label-wrapper,
body[class*="in-klient"] #content-wrapper .smart-label-wrapper,
body[class*="in-zmena-"] #content-wrapper .smart-label-wrapper {
  position: static !important;
}

/* Checkbox / radio rows — kill default Shoptet styling */
body.customer-page:has(.client-center-box) #content-wrapper .checkbox-styled,
body.customer-page:has(.client-center-box) #content-wrapper .radio-styled {
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ss-black, #0F0F0F) !important;
  font-weight: 400 !important;
  line-height: 1.5;
}


/* ============================================================
   7. BUTTONS — primary sage CTA, secondary ghost, destructive terracotta
   ============================================================ */

/* Primary CTA — sage filled */
body.customer-page:has(.client-center-box) #content-wrapper button[type="submit"],
body.customer-page:has(.client-center-box) #content-wrapper input[type="submit"],
body.customer-page:has(.client-center-box) #content-wrapper .btn-primary,
body.customer-page:has(.client-center-box) #content-wrapper .btn-secondary.btn-text,
body.customer-page:has(.client-center-box) #content-wrapper .btn.btn-secondary,
body.customer-page:has(.client-center-box) #content-wrapper .submit-wrapper button,
body[class*="in-klient"] #content-wrapper button[type="submit"],
body[class*="in-klient"] #content-wrapper input[type="submit"],
body[class*="in-zmena-"] #content-wrapper button[type="submit"],
body[class*="in-zmena-"] #content-wrapper input[type="submit"],
body[class*="in-zapomenute"] #content-wrapper button[type="submit"],
body[class*="in-zapomenute"] #content-wrapper input[type="submit"] {
  padding: 14px 24px !important;
  background: var(--ss-sage, #6B8B85) !important;
  color: var(--ss-white, #FFFFFF) !important;
  border: 0 !important;
  border-radius: 4px !important;
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 180px;
  transition: background-color .25s cubic-bezier(.4, 0, .2, 1);
  -webkit-appearance: none;
  appearance: none;
}
body.customer-page:has(.client-center-box) #content-wrapper button[type="submit"]:hover,
body.customer-page:has(.client-center-box) #content-wrapper input[type="submit"]:hover,
body.customer-page:has(.client-center-box) #content-wrapper .btn-primary:hover,
body.customer-page:has(.client-center-box) #content-wrapper .btn-secondary.btn-text:hover,
body.customer-page:has(.client-center-box) #content-wrapper .btn.btn-secondary:hover,
body[class*="in-klient"] #content-wrapper button[type="submit"]:hover,
body[class*="in-zmena-"] #content-wrapper button[type="submit"]:hover,
body[class*="in-zapomenute"] #content-wrapper button[type="submit"]:hover {
  background: var(--ss-sage-deep, #5A7E78) !important;
}

/* Secondary / ghost button — outlined */
body.customer-page:has(.client-center-box) #content-wrapper .btn-plain,
body.customer-page:has(.client-center-box) #content-wrapper .btn-default,
body.customer-page:has(.client-center-box) #content-wrapper .btn.btn-action {
  padding: 12px 22px !important;
  background: transparent !important;
  color: var(--ss-black, #0F0F0F) !important;
  border: 1px solid var(--ss-border, rgba(15, 15, 15, .14)) !important;
  border-radius: 4px !important;
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: border-color .25s cubic-bezier(.4, 0, .2, 1),
              background .25s cubic-bezier(.4, 0, .2, 1);
}
body.customer-page:has(.client-center-box) #content-wrapper .btn-plain:hover,
body.customer-page:has(.client-center-box) #content-wrapper .btn-default:hover,
body.customer-page:has(.client-center-box) #content-wrapper .btn.btn-action:hover {
  border-color: var(--ss-sage, #6B8B85) !important;
  background: rgba(107, 139, 133, .06) !important;
}

/* Destructive — terracotta (delete address, smazat účet etc) */
body.customer-page:has(.client-center-box) #content-wrapper .btn-danger,
body.customer-page:has(.client-center-box) #content-wrapper .btn-delete,
body.customer-page:has(.client-center-box) #content-wrapper button.delete-address,
body.customer-page:has(.client-center-box) #content-wrapper a.delete-action,
body.customer-page:has(.client-center-box) #content-wrapper .btn[data-action*="delete"],
body.customer-page:has(.client-center-box) #content-wrapper .btn[data-action*="remove"] {
  background: transparent !important;
  color: var(--ss-terracotta-deep, #7E6248) !important;
  border: 1px solid var(--ss-terracotta, #9A7A5F) !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .btn-danger:hover,
body.customer-page:has(.client-center-box) #content-wrapper .btn-delete:hover,
body.customer-page:has(.client-center-box) #content-wrapper button.delete-address:hover {
  background: var(--ss-terracotta, #9A7A5F) !important;
  color: var(--ss-white, #FFFFFF) !important;
  border-color: var(--ss-terracotta, #9A7A5F) !important;
}


/* ============================================================
   8. TABLES — order list, order detail, shipping addresses
   Shoptet uses .table .table-mobile-enriched .table-order-details
   .table-shipping-addresses, .customer-discussions, .customer-ratings
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .table,
body.customer-page:has(.client-center-box) #content-wrapper table.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ss-white, #FFFFFF);
  border: 1px solid var(--ss-border, rgba(15, 15, 15, .10));
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--ss-sans, sans-serif);
  margin: 0 0 24px;
}

body.customer-page:has(.client-center-box) #content-wrapper .table thead {
  background: var(--ss-cream, #E8DDC8);
  position: relative !important;
  top: auto !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table thead th {
  padding: 14px 16px !important;
  text-align: left !important;
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 10.5px !important;
  letter-spacing: .25em !important;
  text-transform: uppercase !important;
  color: var(--ss-sage-deep, #5A7E78) !important;
  font-weight: 600 !important;
  border-bottom: 1px solid var(--ss-border, rgba(15, 15, 15, .10)) !important;
  line-height: 1.4;
}

body.customer-page:has(.client-center-box) #content-wrapper .table tbody tr {
  border-bottom: 1px solid var(--ss-border, rgba(15, 15, 15, .10));
  transition: background .25s cubic-bezier(.4, 0, .2, 1);
}
body.customer-page:has(.client-center-box) #content-wrapper .table tbody tr:hover {
  background: rgba(232, 221, 200, .25); /* cream tint hover */
}
body.customer-page:has(.client-center-box) #content-wrapper .table tbody tr:last-child {
  border-bottom: 0;
}
body.customer-page:has(.client-center-box) #content-wrapper .table tbody td {
  padding: 16px !important;
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 13.5px !important;
  color: var(--ss-black, #0F0F0F) !important;
  line-height: 1.5 !important;
  vertical-align: middle !important;
  border: 0;
  background: transparent !important;
}

/* Number/code cells — italic Rigane (Shoptet renders order # in code column) */
body.customer-page:has(.client-center-box) #content-wrapper .table .cell--code,
body.customer-page:has(.client-center-box) #content-wrapper .table .table-th-code,
body.customer-page:has(.client-center-box) #content-wrapper .table td.cell--code,
body.customer-page:has(.client-center-box) #content-wrapper .table tbody td:first-child {
  font-family: var(--ss-serif, 'Luxury Rigane', Georgia, serif) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: 17px !important;
  letter-spacing: -.01em !important;
  color: var(--ss-black, #0F0F0F) !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table .cell--code a,
body.customer-page:has(.client-center-box) #content-wrapper .table tbody td:first-child a {
  color: var(--ss-black, #0F0F0F) !important;
  text-decoration: none !important;
  border-bottom: 1px solid currentColor;
  font-family: inherit !important;
  font-style: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  padding-bottom: 1px;
  transition: color .25s cubic-bezier(.4, 0, .2, 1);
}
body.customer-page:has(.client-center-box) #content-wrapper .table .cell--code a:hover,
body.customer-page:has(.client-center-box) #content-wrapper .table tbody td:first-child a:hover {
  color: var(--ss-sage-deep, #5A7E78) !important;
}

/* Price cell — right-align */
body.customer-page:has(.client-center-box) #content-wrapper .table .cell--price {
  text-align: right !important;
  white-space: nowrap !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

/* Actions cell */
body.customer-page:has(.client-center-box) #content-wrapper .table .cell--actions {
  text-align: right !important;
  white-space: nowrap;
}
body.customer-page:has(.client-center-box) #content-wrapper .table .cell--actions .btn.btn-plain {
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--ss-terracotta-deep, #7E6248) !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  min-width: 0 !important;
  padding-bottom: 1px !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table .cell--actions .btn.btn-plain:hover {
  color: var(--ss-terracotta, #9A7A5F) !important;
  background: transparent !important;
}

/* Tracking link in order list */
body.customer-page:has(.client-center-box) #content-wrapper .table .tracking-link {
  display: block;
  max-width: 17ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ss-terracotta-deep, #7E6248) !important;
  text-decoration: none !important;
  border-bottom: 1px solid currentColor;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  padding-bottom: 1px;
}


/* ============================================================
   9. ORDER STATUS BADGES — sage for completed, terracotta for pending
   Shoptet typically uses .status, .status-* classes.
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .status,
body.customer-page:has(.client-center-box) #content-wrapper .order-status,
body.customer-page:has(.client-center-box) #content-wrapper [class*="status-"],
body.customer-page:has(.client-center-box) #content-wrapper .cell--status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  line-height: 1.4;
  white-space: nowrap;
}

/* Default (pending) — muted */
body.customer-page:has(.client-center-box) #content-wrapper .status,
body.customer-page:has(.client-center-box) #content-wrapper .order-status,
body.customer-page:has(.client-center-box) #content-wrapper .cell--status {
  background: rgba(15, 15, 15, .06);
  color: var(--ss-muted, rgba(15, 15, 15, .62));
}

/* Active / processing — sage tint */
body.customer-page:has(.client-center-box) #content-wrapper .status-active,
body.customer-page:has(.client-center-box) #content-wrapper .status-processing,
body.customer-page:has(.client-center-box) #content-wrapper [class*="status-"][class*="processing"],
body.customer-page:has(.client-center-box) #content-wrapper [class*="status-"][class*="zpracovava"],
body.customer-page:has(.client-center-box) #content-wrapper [class*="status-"][class*="prijata"] {
  background: rgba(107, 139, 133, .15) !important;
  color: var(--ss-sage-deep, #5A7E78) !important;
}

/* Completed / shipped — sage filled */
body.customer-page:has(.client-center-box) #content-wrapper .status-completed,
body.customer-page:has(.client-center-box) #content-wrapper .status-shipped,
body.customer-page:has(.client-center-box) #content-wrapper .status-delivered,
body.customer-page:has(.client-center-box) #content-wrapper [class*="status-"][class*="vyrizena"],
body.customer-page:has(.client-center-box) #content-wrapper [class*="status-"][class*="dorucena"],
body.customer-page:has(.client-center-box) #content-wrapper [class*="status-"][class*="dokoncena"] {
  background: var(--ss-sage, #6B8B85) !important;
  color: var(--ss-white, #FFFFFF) !important;
}

/* Cancelled — terracotta tint */
body.customer-page:has(.client-center-box) #content-wrapper .status-cancelled,
body.customer-page:has(.client-center-box) #content-wrapper .status-canceled,
body.customer-page:has(.client-center-box) #content-wrapper [class*="status-"][class*="storno"],
body.customer-page:has(.client-center-box) #content-wrapper [class*="status-"][class*="zrusena"] {
  background: rgba(154, 122, 95, .12) !important;
  color: var(--ss-terracotta-deep, #7E6248) !important;
}


/* ============================================================
   10. ORDER DETAIL PAGE — receipt-style layout
   - .table-order-details (items)
   - .row-summary dl (key/value pairs — date, total, status)
   - .order-recapitulation (totals box)
   - .co-billing-address + .co-shipping-address (address boxes)
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .table-order-details {
  background: var(--ss-white, #FFFFFF);
  border: 1px solid var(--ss-border, rgba(15, 15, 15, .10));
}

body.customer-page:has(.client-center-box) #content-wrapper .table-order-details .p-name__itemLink,
body.customer-page:has(.client-center-box) #content-wrapper .table-order-details .p-name__itemName {
  display: block !important;
  width: 100% !important;
  font-family: var(--ss-serif, 'Luxury Rigane', Georgia, serif) !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  letter-spacing: -.01em !important;
  line-height: 1.3 !important;
  color: var(--ss-black, #0F0F0F) !important;
  text-decoration: none !important;
  text-transform: none !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-order-details .p-name__itemLink:hover {
  color: var(--ss-sage-deep, #5A7E78) !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-order-details .p-name__codeLabel,
body.customer-page:has(.client-center-box) #content-wrapper .table-order-details .p-name__code {
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 11.5px !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  color: var(--ss-muted, rgba(15, 15, 15, .62)) !important;
  font-weight: 500 !important;
  margin-top: 4px;
  display: inline-block;
}

/* Row summary — key/value pairs (Datum, Stav, Celkem etc) */
body.customer-page:has(.client-center-box) #content-wrapper .table-order-details .row-summary dl,
body.customer-page:has(.client-center-box) #content-wrapper .row-summary dl {
  display: grid;
  gap: 6px 14px;
  grid-template-columns: auto 1fr;
  margin: 10px 0;
  width: 100%;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-order-details .row-summary dt,
body.customer-page:has(.client-center-box) #content-wrapper .row-summary dt {
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 10.5px !important;
  letter-spacing: .25em !important;
  text-transform: uppercase !important;
  color: var(--ss-muted, rgba(15, 15, 15, .62)) !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-order-details .row-summary dd,
body.customer-page:has(.client-center-box) #content-wrapper .row-summary dd {
  margin: 0 !important;
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 14px !important;
  color: var(--ss-black, #0F0F0F) !important;
  font-weight: 500 !important;
}

/* Order recapitulation — final total box (cream summary card pattern) */
body.customer-page:has(.client-center-box) #content-wrapper .order-recapitulation {
  background: var(--ss-cream, #E8DDC8) !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 24px 28px !important;
  margin: 0 0 24px !important;
  font-family: var(--ss-sans, sans-serif) !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .order-recapitulation::before {
  content: 'Souhrn objednávky.';
  display: block;
  font-family: var(--ss-serif, 'Luxury Rigane', Georgia, serif);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--ss-black, #0F0F0F);
  margin: 0 0 18px;
}
body.customer-page:has(.client-center-box) #content-wrapper .order-recapitulation strong,
body.customer-page:has(.client-center-box) #content-wrapper .recapitulation-single strong {
  font-family: var(--ss-serif, 'Luxury Rigane', Georgia, serif) !important;
  font-weight: 300 !important;
  font-size: 22px !important;
  color: var(--ss-black, #0F0F0F) !important;
  letter-spacing: -.015em !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .order-recapitulation strong span,
body.customer-page:has(.client-center-box) #content-wrapper .recapitulation-single strong span {
  font-family: var(--ss-serif, 'Luxury Rigane', Georgia, serif) !important;
  font-weight: 300 !important;
}

/* Address boxes — billing + shipping side-by-side cards */
body.customer-page:has(.client-center-box) #content-wrapper .co-billing-address,
body.customer-page:has(.client-center-box) #content-wrapper .co-shipping-address,
body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-billing-address,
body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-shipping-address {
  background: var(--ss-white, #FFFFFF);
  border: 1px solid var(--ss-border, rgba(15, 15, 15, .10));
  border-radius: 4px;
  padding: 22px 24px;
  margin: 0 0 16px;
}
body.customer-page:has(.client-center-box) #content-wrapper .co-billing-address h2,
body.customer-page:has(.client-center-box) #content-wrapper .co-billing-address h3,
body.customer-page:has(.client-center-box) #content-wrapper .co-billing-address h4,
body.customer-page:has(.client-center-box) #content-wrapper .co-shipping-address h2,
body.customer-page:has(.client-center-box) #content-wrapper .co-shipping-address h3,
body.customer-page:has(.client-center-box) #content-wrapper .co-shipping-address h4 {
  font-family: var(--ss-sans, sans-serif) !important;
  font-style: normal !important;
  font-size: 10.5px !important;
  letter-spacing: .3em !important;
  text-transform: uppercase !important;
  color: var(--ss-sage-deep, #5A7E78) !important;
  font-weight: 600 !important;
  margin: 0 0 12px !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .co-billing-address p,
body.customer-page:has(.client-center-box) #content-wrapper .co-shipping-address p {
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--ss-black, #0F0F0F) !important;
  margin: 0 !important;
}


/* ============================================================
   11. SHIPPING ADDRESSES TABLE (more than one shipping address)
   Used on /klient/zmena-udaju/ when customer has multiple delivery addrs.
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .shipping-addresses {
  padding-top: 19px;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-shipping-addresses {
  min-width: -moz-max-content;
  min-width: max-content;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-shipping-addresses td:not(:last-child) {
  border-right: 1px solid var(--ss-border, rgba(15, 15, 15, .10)) !important;
}

/* Default shipping address — sage highlight (Shoptet uses success color) */
body.customer-page:has(.client-center-box) #content-wrapper .default-shipping-address {
  color: var(--ss-sage-deep, #5A7E78) !important;
  font-weight: 600;
}
body.customer-page:has(.client-center-box) #content-wrapper .default-shipping-address::before {
  content: '✓ ';
  font-weight: 700;
}


/* ============================================================
   12. CUSTOMER RATINGS + DISCUSSIONS (Moje recenze + Moje dotazy)
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .customer-ratings,
body.customer-page:has(.client-center-box) #content-wrapper .customer-discussions {
  font-family: var(--ss-sans, sans-serif) !important;
}

body.customer-page:has(.client-center-box) #content-wrapper .customer-ratings .cell--rating .product-rating-wrap,
body.customer-page:has(.client-center-box) #content-wrapper .customer-ratings .stars {
  position: static !important;
}

/* Stars — sage instead of default yellow/gold */
body.customer-page:has(.client-center-box) #content-wrapper .customer-ratings .star,
body.customer-page:has(.client-center-box) #content-wrapper .customer-ratings .star::before {
  position: static !important;
  color: var(--ss-sage, #6B8B85) !important;
}

body.customer-page:has(.client-center-box) #content-wrapper .customer-discussions ul,
body.customer-page:has(.client-center-box) #content-wrapper .customer-ratings ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}


/* ============================================================
   13. MOBILE-ENRICHED TABLE (Shoptet pattern for narrow viewports)
   Tables collapse to label/value cards on mobile.
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched {
  display: block !important;
  width: 100% !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody {
  display: block !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched thead,
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched th {
  display: none !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tr {
  display: block !important;
  padding: 16px 18px !important;
  background: var(--ss-white, #FFFFFF);
  border: 1px solid var(--ss-border, rgba(15, 15, 15, .10)) !important;
  border-radius: 4px;
  margin-bottom: 10px;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tr:hover {
  background: var(--ss-white, #FFFFFF) !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched td {
  display: flex !important;
  gap: 0 12px !important;
  padding: 5px 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched td:empty {
  display: none !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched td.cell--price {
  text-align: left !important;
  white-space: normal !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched .client-table-heading {
  display: block !important;
  flex-shrink: 0;
  width: clamp(min(22ch, 45%), 40%, 200px);
  font-family: var(--ss-sans, sans-serif) !important;
  font-size: 10.5px !important;
  letter-spacing: .25em !important;
  text-transform: uppercase !important;
  color: var(--ss-muted, rgba(15, 15, 15, .62)) !important;
  font-weight: 600 !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched .client-table-heading::after {
  content: '';
}


/* ============================================================
   14. KILL BLUE LINKS (Shoptet --color-primary #1076b7)
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper a,
body[class*="in-klient"] #content-wrapper a,
body[class*="in-zmena-"] #content a,
body[class*="in-objednavk"] #content a,
body[class*="in-oblib"] #content a,
body[class*="in-recenz"] #content a,
body[class*="in-zapomenute"] #content a {
  color: var(--ss-terracotta-deep, #7E6248);
  text-decoration: none;
  transition: color .25s cubic-bezier(.4, 0, .2, 1);
}
body.customer-page:has(.client-center-box) #content-wrapper a:hover,
body[class*="in-klient"] #content-wrapper a:hover,
body[class*="in-zmena-"] #content a:hover,
body[class*="in-objednavk"] #content a:hover {
  color: var(--ss-terracotta, #9A7A5F);
}

/* But not nav sidebar or buttons (they have their own coloring) */
body.customer-page:has(.client-center-box) #content-wrapper .submenu a,
body.customer-page:has(.client-center-box) #content-wrapper .side-navigation a,
body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation a,
body.customer-page:has(.client-center-box) #content-wrapper .customer-nav a,
body.customer-page:has(.client-center-box) #content-wrapper button,
body.customer-page:has(.client-center-box) #content-wrapper .btn,
body.customer-page:has(.client-center-box) #content-wrapper input[type="submit"] {
  color: inherit !important;
}


/* ============================================================
   15. FORM ERROR / SUCCESS MESSAGES
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .error-block,
body.customer-page:has(.client-center-box) #content-wrapper .form-error,
body.customer-page:has(.client-center-box) #content-wrapper .alert-danger,
body[class*="in-klient"] #content-wrapper .error-block,
body[class*="in-klient"] #content-wrapper .alert-danger {
  background: rgba(154, 122, 95, .08);
  border: 1px solid rgba(154, 122, 95, .25);
  color: var(--ss-terracotta-deep, #7E6248);
  padding: 12px 16px;
  border-radius: 4px;
  font-family: var(--ss-sans, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 14px;
}
body.customer-page:has(.client-center-box) #content-wrapper .success-block,
body.customer-page:has(.client-center-box) #content-wrapper .alert-success,
body[class*="in-klient"] #content-wrapper .success-block,
body[class*="in-klient"] #content-wrapper .alert-success {
  background: rgba(107, 139, 133, .12);
  border: 1px solid rgba(107, 139, 133, .35);
  color: var(--ss-sage-deep, #5A7E78);
  padding: 12px 16px;
  border-radius: 4px;
  font-family: var(--ss-sans, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 14px;
}


/* ============================================================
   16. DASHBOARD WELCOME (intro text on /klient/)
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper > p:first-of-type,
body[class*="in-klient"]:not([class*="in-zmena"]):not([class*="in-objedn"]):not([class*="in-oblib"]):not([class*="in-recenz"]):not([class*="in-zapomenute"]) body.customer-page:has(.client-center-box) #content-wrapper > p {
  font-family: var(--ss-serif, 'Luxury Rigane', Georgia, serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ss-muted, rgba(15, 15, 15, .62));
  margin: 0 0 28px;
  max-width: 600px;
}


/* ============================================================
   17. LAYOUT — sidebar nav + main content (2-col grid)
   Shoptet may already structure as .row > .col-md-3 (nav) + .col-md-9
   (content). Restyle to consistent 240px sidebar + 1fr content.
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .row,
body[class*="in-klient"] #content .row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  margin: 0;
}

body.customer-page:has(.client-center-box) #content-wrapper .row > .col-md-3,
body.customer-page:has(.client-center-box) #content-wrapper .row > .col-sm-3,
body[class*="in-klient"] #content .row > .col-md-3 {
  grid-column: 1;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
}

body.customer-page:has(.client-center-box) #content-wrapper .row > .col-md-9,
body.customer-page:has(.client-center-box) #content-wrapper .row > .col-sm-9,
body.customer-page:has(.client-center-box) #content-wrapper .row > .col-md-12,
body[class*="in-klient"] #content .row > .col-md-9,
body[class*="in-klient"] #content .row > .col-md-12 {
  grid-column: 2;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
}

/* If page has no sidebar (e.g. /klient/zapomenute-heslo/), single column */
body.customer-page:has(.client-center-box) #content-wrapper.no-sidebar,
body[class*="in-zapomenute"] body.customer-page:has(.client-center-box) #content-wrapper {
  max-width: 560px !important;
  margin: 0 auto !important;
}


/* ============================================================
   18. ICON KILLS — Shoptet font-shoptet glyphs that don't fit our brand
   ============================================================ */

body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-shipping-address h2::before,
body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-shipping-address h4::before,
body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-billing-address h2::before,
body.customer-page:has(.client-center-box) #content-wrapper .co-box.co-billing-address h4::before,
body.customer-page:has(.client-center-box) #content-wrapper h2[class*="title"]::before,
body.customer-page:has(.client-center-box) #content-wrapper h3[class*="title"]::before,
body.customer-page:has(.client-center-box) #content-wrapper .box-heading::before,
body.customer-page:has(.client-center-box) #content-wrapper .section-heading::before {
  content: none !important;
  display: none !important;
}


/* ============================================================
   19. WISHLIST (Oblíbené) — grid of product cards if present
   ============================================================ */

body[class*="in-oblib"] #content-wrapper .products,
body[class*="in-oblib"] #content-wrapper .product-list,
body.customer-page:has(.client-center-box) #content-wrapper .wishlist-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Hide native .product styling if user wishes a fresh-rendered list later;
   for v1 we just let Shoptet's product cards render — they inherit
   homepage card styling via shared CSS. */


/* ============================================================
   20. RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  body.customer-page:has(.client-center-box) #content-wrapper .row,
  body[class*="in-klient"] #content .row {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  body.customer-page:has(.client-center-box) #content-wrapper {
    padding: 24px 16px 60px !important;
  }

  /* Mobile: stack sidebar above content (no accordion JS, just stacked) */
  body.customer-page:has(.client-center-box) #content-wrapper .row,
  body[class*="in-klient"] #content .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Sidebar becomes horizontal pill list of tabs on mobile */
  body.customer-page:has(.client-center-box) #content-wrapper .submenu,
  body.customer-page:has(.client-center-box) #content-wrapper .side-navigation,
  body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation,
  body.customer-page:has(.client-center-box) #content-wrapper .customer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px !important;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .submenu li,
  body.customer-page:has(.client-center-box) #content-wrapper .side-navigation li,
  body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation li,
  body.customer-page:has(.client-center-box) #content-wrapper .customer-nav li {
    flex: 0 0 auto;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .submenu a,
  body.customer-page:has(.client-center-box) #content-wrapper .side-navigation a,
  body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation a,
  body.customer-page:has(.client-center-box) #content-wrapper .customer-nav a {
    padding: 8px 14px !important;
    border-radius: 999px;
    border-left: 0 !important;
    border: 1px solid var(--ss-border, rgba(15, 15, 15, .10));
    font-size: 12.5px !important;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .submenu a:hover,
  body.customer-page:has(.client-center-box) #content-wrapper .side-navigation a:hover,
  body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation a:hover,
  body.customer-page:has(.client-center-box) #content-wrapper .customer-nav a:hover {
    border-color: var(--ss-sage, #6B8B85);
  }
  body.customer-page:has(.client-center-box) #content-wrapper .submenu .active a,
  body.customer-page:has(.client-center-box) #content-wrapper .submenu a.active,
  body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation .active a,
  body.customer-page:has(.client-center-box) #content-wrapper .customer-nav .active a,
  body.customer-page:has(.client-center-box) #content-wrapper .customer-nav a.active {
    border-color: var(--ss-sage-deep, #5A7E78) !important;
    background: var(--ss-sage, #6B8B85) !important;
    color: var(--ss-white, #FFFFFF) !important;
  }

  /* Box padding tighter */
  body.customer-page:has(.client-center-box) #content-wrapper .box,
  body.customer-page:has(.client-center-box) #content-wrapper .co-box,
  body[class*="in-klient"] #content-wrapper form.password-form,
  body[class*="in-klient"] #content-wrapper form.shipping-address-form {
    padding: 20px 18px;
  }

  /* Tables: enforce mobile-enriched card pattern */
  body.customer-page:has(.client-center-box) #content-wrapper .table,
  body.customer-page:has(.client-center-box) #content-wrapper table.table {
    display: block;
    border: 0;
    background: transparent;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .table thead {
    display: none;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .table tbody {
    display: block;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    background: var(--ss-white, #FFFFFF);
    border: 1px solid var(--ss-border, rgba(15, 15, 15, .10));
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 10px;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .table tbody td {
    display: block !important;
    padding: 0 !important;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .table tbody td.cell--price,
  body.customer-page:has(.client-center-box) #content-wrapper .table tbody td.cell--status {
    text-align: right !important;
  }

  /* Button full width */
  body.customer-page:has(.client-center-box) #content-wrapper button[type="submit"],
  body.customer-page:has(.client-center-box) #content-wrapper input[type="submit"],
  body.customer-page:has(.client-center-box) #content-wrapper .btn-primary,
  body[class*="in-klient"] #content-wrapper button[type="submit"],
  body[class*="in-zmena-"] #content-wrapper button[type="submit"] {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* H1 smaller */
  body.in-klient h1,
  body[class*="in-klient"] #content-wrapper h1,
  body[class*="in-zmena-"] #content-wrapper h1,
  body[class*="in-objednavk"] #content-wrapper h1,
  body[class*="in-oblib"] #content-wrapper h1,
  body[class*="in-recenz"] #content-wrapper h1,
  body[class*="in-zapomenute"] #content-wrapper h1,
  body.customer-page:has(.client-center-box) #content-wrapper h1 {
    font-size: clamp(30px, 8vw, 38px) !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 540px) {
  /* Even tighter sidebar pills on phones */
  body.customer-page:has(.client-center-box) #content-wrapper .submenu a,
  body.customer-page:has(.client-center-box) #content-wrapper .side-navigation a,
  body.customer-page:has(.client-center-box) #content-wrapper .sec-navigation a,
  body.customer-page:has(.client-center-box) #content-wrapper .customer-nav a {
    padding: 7px 12px !important;
    font-size: 11.5px !important;
  }

  /* Address boxes stack */
  body.customer-page:has(.client-center-box) #content-wrapper .co-billing-address,
  body.customer-page:has(.client-center-box) #content-wrapper .co-shipping-address {
    padding: 16px;
  }

  /* Order recapitulation tighter */
  body.customer-page:has(.client-center-box) #content-wrapper .order-recapitulation {
    padding: 18px 20px !important;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .order-recapitulation::before {
    font-size: 19px;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .order-recapitulation strong,
  body.customer-page:has(.client-center-box) #content-wrapper .recapitulation-single strong {
    font-size: 18px !important;
  }
}


/* ============================================================
   21. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  body.customer-page:has(.client-center-box) #content-wrapper *,
  body[class*="in-klient"] *,
  body[class*="in-zmena-"] *,
  body[class*="in-objednavk"] *,
  body[class*="in-oblib"] *,
  body[class*="in-recenz"] *,
  body[class*="in-zapomenute"] * {
    transition: none !important;
    animation: none !important;
  }
}



/* ============================================================
   v3 — LEVÉ KLIENTSKÉ MENU (.client-center-box)
   Editorial karta (serif jméno + "MŮJ ÚČET" eyebrow, hairlines,
   aktivní band) obohacená o liniové ikony, terakotový akcent, jemný
   sand tint. Ikony přes CSS mask (background-color = currentColor =>
   přebarvení na hover/active). 2-sloupcový grid přebrán od nativu
   kvůli spolehlivosti + sticky menu. Vše scoped na account zónu
   (body.customer-page:has(.client-center-box) #content-wrapper) => nezasáhne login/forgot/registraci.
   POZN.: native sidebar je .client-center-box (NE .submenu /
   .side-navigation, na které mířila sekce 4 — ta tu DOM nepotkala).
   ============================================================ */

/* ---- 2-sloupcový layout + sticky sidebar ---- */
body.customer-page:has(.client-center-box) #content-wrapper .content-wrapper-in{
  display:grid !important; grid-template-columns:264px 1fr; gap:clamp(28px,3vw,48px); align-items:start;
}
body.customer-page:has(.client-center-box) #content-wrapper aside.sidebar-left{
  position:sticky; top:64px; align-self:start; /* 64 = kondenzovaný fixed header 48px + 16 mezera */
  width:auto !important; max-width:none !important; float:none !important;
  margin:0 !important; padding:0 !important; border:0 !important; background:transparent !important;
}
body.customer-page:has(.client-center-box) #content-wrapper .sidebar-inner{ padding:0 !important; margin:0 !important; background:transparent !important; }
body.customer-page:has(.client-center-box) #content-wrapper main#content{
  width:auto !important; max-width:none !important; float:none !important; margin:0 !important; padding:0 !important;
}

/* ---- karta ---- */
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box{
  background:#F6F0E7; border:1px solid rgba(126,98,72,.24); border-radius:14px; overflow:hidden;
  padding:0 0 6px; box-shadow:0 6px 22px rgba(15,15,15,.045);
}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box ul{ list-style:none !important; margin:0 !important; padding:0 !important; display:flex; flex-direction:column; }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li{ margin:0 !important; padding:0 !important; list-style:none !important; }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li::before{ content:none !important; }

/* ---- identita ---- */
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:first-child{ order:0; padding:16px 18px 15px !important; border-bottom:1px solid rgba(126,98,72,.24); margin:0 0 6px !important; }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:first-child a{ display:block; text-decoration:none !important; }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:first-child a::before{ content:"MŮJ ÚČET"; display:block; font-family:var(--ss-sans,'Manrope',sans-serif); font-size:10px; letter-spacing:.3em; text-transform:uppercase; color:var(--ss-terracotta-deep,#7E6248); font-weight:700; margin-bottom:7px; }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:first-child strong{ font-family:var(--ss-serif,'Luxury Rigane',Georgia,serif); font-style:italic; font-weight:400; font-size:20px; letter-spacing:-.01em; color:var(--ss-dark,#2A2520); }

/* ---- nav položky ---- */
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(:first-child):not(.logout){ border-bottom:1px solid rgba(15,15,15,.055); }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(:first-child):not(.logout):last-of-type{ border-bottom:0; }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(:first-child):not(.logout) a{
  display:flex !important; align-items:center; gap:12px; padding:10px 18px; font-family:var(--ss-sans,'Manrope',sans-serif); font-size:14px; line-height:1.25;
  color:rgba(15,15,15,.76) !important; text-decoration:none !important; position:relative; transition:color .22s,padding-left .22s,background-color .22s;
}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(:first-child):not(.logout) a::before{
  content:""; flex:0 0 auto; width:16px; height:16px; background-color:currentColor; opacity:.5;
  -webkit-mask-size:contain; mask-size:contain; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center; transition:opacity .22s;
}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(:first-child):not(.logout) a:hover{ color:var(--ss-terracotta-deep,#7E6248) !important; padding-left:22px; }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(:first-child):not(.logout) a:hover::before{ opacity:.95; }

/* ---- aktivní ---- */
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(:first-child):not(.logout).active a{ color:var(--ss-terracotta-deep,#7E6248) !important; font-weight:600 !important; background:rgba(154,122,95,.13) !important; }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(:first-child):not(.logout).active a::before{ opacity:1 !important; background-color:var(--ss-terracotta,#9A7A5F) !important; }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(:first-child):not(.logout).active a::after{ content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--ss-terracotta,#9A7A5F); }

/* ---- logout dole ---- */
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li.logout{ order:99; margin:6px 0 0 !important; padding:8px 0 0 !important; border-top:1px solid rgba(126,98,72,.24); }
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li.logout a,
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li.logout a.btn{
  display:flex !important; align-items:center; gap:12px; width:auto; padding:10px 18px; background:none !important; border:0 !important; box-shadow:none !important;
  color:var(--ss-terracotta-deep,#7E6248) !important; font-family:var(--ss-sans,'Manrope',sans-serif); font-size:13px; font-weight:600; text-transform:none !important; letter-spacing:0 !important; text-decoration:none !important; min-height:0 !important; line-height:1.25 !important; transition:opacity .2s;
}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li.logout a::before{
  content:""; flex:0 0 auto; width:16px; height:16px; background-color:currentColor;
  -webkit-mask-size:contain; mask-size:contain; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center;
}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li.logout a:hover{ opacity:.65; }

/* ---- per-href ikony ---- */
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/nastaveni/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2021v-2a4%204%200%200%200-4-4H8a4%204%200%200%200-4%204v2%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2021v-2a4%204%200%200%200-4-4H8a4%204%200%200%200-4%204v2%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/objednavky/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4z%22%2F%3E%3Cpath%20d%3D%22M3%206h18%22%2F%3E%3Cpath%20d%3D%22M16%2010a4%204%200%200%201-8%200%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4z%22%2F%3E%3Cpath%20d%3D%22M3%206h18%22%2F%3E%3Cpath%20d%3D%22M16%2010a4%204%200%200%201-8%200%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/klient-platby/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M2%2010h20%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M2%2010h20%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/klient-doklady/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6%22%2F%3E%3Cpath%20d%3D%22M8%2013h8%22%2F%3E%3Cpath%20d%3D%22M8%2017h8%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6%22%2F%3E%3Cpath%20d%3D%22M8%2013h8%22%2F%3E%3Cpath%20d%3D%22M8%2017h8%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/klientske-proforma-faktury/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/klientske-dobropisy/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6%22%2F%3E%3Cpath%20d%3D%22M9%2015h6%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6%22%2F%3E%3Cpath%20d%3D%22M9%2015h6%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/dodaci-listy-klienta/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M1%203h13v13H1z%22%2F%3E%3Cpath%20d%3D%22M14%208h4l3%203v5h-7z%22%2F%3E%3Ccircle%20cx%3D%225.5%22%20cy%3D%2218.5%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%2218.5%22%20cy%3D%2218.5%22%20r%3D%221.6%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M1%203h13v13H1z%22%2F%3E%3Cpath%20d%3D%22M14%208h4l3%203v5h-7z%22%2F%3E%3Ccircle%20cx%3D%225.5%22%20cy%3D%2218.5%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%2218.5%22%20cy%3D%2218.5%22%20r%3D%221.6%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/danove-doklady-platba/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6%22%2F%3E%3Cpath%20d%3D%22m9%2015%202%202%204-4%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z%22%2F%3E%3Cpath%20d%3D%22M14%202v6h6%22%2F%3E%3Cpath%20d%3D%22m9%2015%202%202%204-4%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/klient-slevy/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.59%2013.41%2013.42%2020.58a2%202%200%200%201-2.83%200L2%2012V2h10l8.59%208.59a2%202%200%200%201%200%202.82z%22%2F%3E%3Cpath%20d%3D%22M7%207h.01%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.59%2013.41%2013.42%2020.58a2%202%200%200%201-2.83%200L2%2012V2h10l8.59%208.59a2%202%200%200%201%200%202.82z%22%2F%3E%3Cpath%20d%3D%22M7%207h.01%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/klient-hodnoceni/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolygon%20points%3D%2212%202%2015.09%208.26%2022%209.27%2017%2014.14%2018.18%2021.02%2012%2017.77%205.82%2021.02%207%2014.14%202%209.27%208.91%208.26%2012%202%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolygon%20points%3D%2212%202%2015.09%208.26%2022%209.27%2017%2014.14%2018.18%2021.02%2012%2017.77%205.82%2021.02%207%2014.14%202%209.27%208.91%208.26%2012%202%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li:not(.logout):not(:first-child) a[href="/klient/klient-diskuze/"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.5a8.38%208.38%200%200%201-.9%203.8%208.5%208.5%200%200%201-7.6%204.7%208.38%208.38%200%200%201-3.8-.9L3%2021l1.9-5.7a8.38%208.38%200%200%201-.9-3.8%208.5%208.5%200%200%201%204.7-7.6%208.38%208.38%200%200%201%203.8-.9h.5a8.48%208.48%200%200%201%208%208z%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.5a8.38%208.38%200%200%201-.9%203.8%208.5%208.5%200%200%201-7.6%204.7%208.38%208.38%200%200%201-3.8-.9L3%2021l1.9-5.7a8.38%208.38%200%200%201-.9-3.8%208.5%208.5%200%200%201%204.7-7.6%208.38%208.38%200%200%201%203.8-.9h.5a8.48%208.48%200%200%201%208%208z%22%2F%3E%3C%2Fsvg%3E")}
body.customer-page:has(.client-center-box) #content-wrapper .client-center-box li.logout a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4%22%2F%3E%3Cpolyline%20points%3D%2216%2017%2021%2012%2016%207%22%2F%3E%3Cpath%20d%3D%22M21%2012H9%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4%22%2F%3E%3Cpolyline%20points%3D%2216%2017%2021%2012%2016%207%22%2F%3E%3Cpath%20d%3D%22M21%2012H9%22%2F%3E%3C%2Fsvg%3E")}

/* ---- mobil: sloupec se složí, sidebar nahoru, bez sticky ---- */
@media (max-width:900px){
  body.customer-page:has(.client-center-box) #content-wrapper .content-wrapper-in{ grid-template-columns:1fr; gap:24px; }
  body.customer-page:has(.client-center-box) #content-wrapper aside.sidebar-left{ position:static; top:auto; }
}


/* ============================================================
   v6 — DETAIL OBJEDNÁVKY (stránka in-objednavk)
   Karta hlavičky (datum + stavový badge + Znovu nakoupit), 2 adresní
   karty, čistá HORIZONTÁLNÍ tabulka položek (na mobilu kartový stack),
   souhrnový box. Stavový badge obarví ss-account-1.js.
   Scope = stejný base jako stará .table pravidla + in-objednavk +
   .table-order-details => o třídu specifičtější, přebije staré stacking.
   ============================================================ */

/* fix: content sloupec se nesmí roztáhnout širokou tabulkou (1fr má min-width:auto) */
body.customer-page:has(.client-center-box) #content-wrapper .content-wrapper-in{ grid-template-columns:264px minmax(0,1fr) !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner{ min-width:0; }

/* hlavička objednávky */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type{ margin:0 0 16px !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div{
  background:#FAF7F0; border:1px solid rgba(15,15,15,.08); border-radius:14px; padding:22px 26px;
  display:flex; flex-wrap:wrap; align-items:center; gap:16px 28px;
}
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div p{ margin:0 !important; font-size:14.5px; line-height:1.7; color:var(--ss-muted,rgba(15,15,15,.62)); }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div p:first-child{ flex:1; min-width:240px; }

/* stavový badge (base neutral; JS přidá barevnou variantu) */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div p:first-child strong{
  display:inline-block; padding:3px 13px; border-radius:100px; font-size:12px; font-weight:600; letter-spacing:.03em;
  background:rgba(15,15,15,.06); color:rgba(15,15,15,.6); margin-left:4px;
}
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .ss-ostatus--cancelled{ background:rgba(178,58,52,.13) !important; color:#A23B30 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .ss-ostatus--done{ background:rgba(107,139,133,.18) !important; color:#4C6B64 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .ss-ostatus--neutral{ background:rgba(15,15,15,.06) !important; color:rgba(15,15,15,.6) !important; }

/* adresy -> 2 karty */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:20px !important; margin:0 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row > [class*="col-"]{
  background:#fff !important; border:1px solid rgba(15,15,15,.08) !important; border-radius:14px; padding:22px 26px !important;
  font-size:14.5px; line-height:1.75; color:rgba(15,15,15,.82);
  width:auto !important; max-width:none !important; float:none !important; grid-column:auto !important; margin:0 !important;
}
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row h4{ font-family:var(--ss-sans,sans-serif) !important; font-size:10.5px !important; letter-spacing:.2em !important; text-transform:uppercase !important; color:var(--ss-terracotta-deep,#7E6248) !important; font-weight:700 !important; margin:0 0 12px !important; font-style:normal !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row a{ color:var(--ss-terracotta-deep,#7E6248) !important; border-bottom:1px solid rgba(126,98,72,.3); text-decoration:none !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row p{ margin:0 !important; }

/* ---- POLOŽKY: horizontální tabulka na desktopu (přebíjí staré .table-mobile-enriched stacking) ---- */
@media (min-width:681px){
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details{ display:table !important; width:100% !important; table-layout:fixed !important; border-collapse:collapse !important; margin-top:6px !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details th:first-child, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details td:first-child{ width:26% !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead{ display:table-header-group !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody{ display:table-row-group !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody tr{ display:table-row !important; background:none !important; border:0 !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody tr:hover{ background:none !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th{
    display:table-cell !important; font-family:var(--ss-sans,sans-serif) !important; font-size:9.5px !important;
    letter-spacing:.08em !important; text-transform:uppercase !important; color:rgba(15,15,15,.5) !important; font-weight:600 !important;
    text-align:left !important; padding:0 9px 12px !important; border-bottom:1px solid rgba(15,15,15,.14) !important; background:none !important; word-break:normal;
  }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th.cell--price{ text-align:right !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td{
    display:table-cell !important; padding:14px 9px !important; border-bottom:1px solid rgba(15,15,15,.07) !important;
    font-size:13px !important; vertical-align:middle !important; color:rgba(15,15,15,.78) !important; width:auto !important; background:none !important; word-break:break-word;
  }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.cell--price{ text-align:right !important; white-space:nowrap !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details .client-table-heading{ display:none !important; }
  /* souhrn: zruš table-cell stacking, dej pravý box */
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tr.row-summary td{ display:table-cell !important; border-bottom:0 !important; padding:24px 0 0 !important; }
}

/* společné pro obě zobrazení */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details td.cell--price strong{ font-weight:600; color:var(--ss-dark,#2A2520); }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .p-name__itemLink{ display:block; margin-bottom:6px; color:var(--ss-dark,#2A2520) !important; font-weight:600; text-decoration:none !important; line-height:1.35; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .p-name__itemLink:hover{ color:var(--ss-terracotta-deep,#7E6248) !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .p-name__itemName{ color:var(--ss-muted,rgba(15,15,15,.62)); font-style:italic; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .p-name__codeLabel{ font-size:11px; letter-spacing:.04em; color:rgba(15,15,15,.45); }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .p-name__code{ font-style:normal; color:rgba(15,15,15,.6); font-size:11px; }

/* souhrn cen -> pravý box */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row-summary .list-summary{ max-width:360px; margin-left:auto; display:grid !important; grid-template-columns:1fr auto; gap:10px 28px; background:#FAF7F0; border:1px solid rgba(15,15,15,.08); border-radius:14px; padding:20px 24px; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row-summary dt{ margin:0 !important; color:var(--ss-muted,rgba(15,15,15,.62)); font-size:13.5px; align-self:center; float:none !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row-summary dd{ margin:0 !important; text-align:right; font-size:13.5px; color:rgba(15,15,15,.8); align-self:center; float:none !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row-summary dt:first-of-type{ font-family:var(--ss-serif,Georgia,serif); font-style:italic; font-size:18px; color:var(--ss-dark,#2A2520); padding-bottom:10px; margin-bottom:4px !important; border-bottom:1px solid rgba(15,15,15,.1); }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row-summary dd:first-of-type{ font-size:20px; padding-bottom:10px; margin-bottom:4px !important; border-bottom:1px solid rgba(15,15,15,.1); }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row-summary dd:first-of-type strong{ font-weight:600; color:var(--ss-dark,#2A2520); }

/* mobil: adresy stack + header card stack (tabulka zůstává kartová ze starých pravidel) */
@media (max-width:680px){
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row{ grid-template-columns:1fr !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div{ flex-direction:column; align-items:flex-start; }
}


/* ============================================================
   v7 — Znovu nakoupit tlačítko (hlavička objednávky):
   menší vertikální padding, bez UPPERCASE, garantovaně světlý text
   na sage (přebíjí leak link-barvy přes vysokou specificitu + color #fff).
   ============================================================ */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div .btn.btn-primary,
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div a.btn-primary{
  padding:11px 26px !important;
  min-width:0 !important;
  font-size:13px !important;
  letter-spacing:.02em !important;
  text-transform:none !important;
  font-weight:600 !important;
  color:#fff !important;
  border-radius:6px !important;
}


/* ============================================================
   v8a — Znovu nakoupit tlačítko: font 1:1 jako Košík v headeru
   (.ss-cart = Manrope 14px / 600 / letter-spacing .04em / radius 4).
   ============================================================ */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div .btn.btn-primary,
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div a.btn-primary{
  font-family:var(--ss-sans,'Manrope',sans-serif) !important;
  font-size:14px !important;
  font-weight:600 !important;
  letter-spacing:.04em !important;
  text-transform:none !important;
  color:#fff !important;
  padding:11px 24px !important;
  border-radius:4px !important;
  min-width:0 !important;
}

/* ============================================================
   v8b — sticky LEVÉ MENU počítá s fixed headerem.
   Header: plný 168px -> po scrollu condensed 48px (body.is-header-condensed),
   transition 320ms cubic-bezier(.4,0,.2,1). Menu: top 184 (pod plným) /
   64 (pod condensed) + stejná transition na top => menu se posouvá v sync
   s headerem, nikdy nepodjede.
   ============================================================ */
body.customer-page:has(.client-center-box) #content-wrapper aside.sidebar-left{
  top:184px !important;
  transition:top 320ms cubic-bezier(.4,0,.2,1) !important;
}
body.is-header-condensed.customer-page:has(.client-center-box) #content-wrapper aside.sidebar-left{
  top:64px !important;
}


/* ============================================================
   v9 — Adresy (Fakturační / Doručovací) VEDLE SEBE.
   Bootstrap dává .row clearfix pseudo ::before/::after (content:" ";
   display:table). V CSS gridu se chovají jako fantom grid-items, zaberou
   buňky (1,1) a (2,2) a odtlačí karty do diagonály. Skryjeme je + potvrdíme
   2-sloupcový grid.
   ============================================================ */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row::before,
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row::after{ content:none !important; display:none !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:20px !important; align-items:stretch !important; }


/* ============================================================
   v10 — (1) odsazení sekčních nadpisů, (2) čistá tabulka položek
   (přebíjí stará .table pravidla: serif italic název, cream thead,
   word-break). Vyšší specificita přes in-objednavk + .table-order-details.
   ============================================================ */

/* (1) ODSAZENÍ SEKCÍ — "Údaje o zákazníkovi" + "Detaily objednávky" */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:not(:first-of-type){ margin-top:38px !important; margin-bottom:18px !important; }

/* (2) TABULKA — bílá karta, fixed layout, název SANS (ne serif), bez cream thead */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details{
  table-layout:fixed !important; width:100% !important; border-collapse:separate !important; border-spacing:0 !important;
  background:#fff !important; border:1px solid rgba(15,15,15,.08) !important; border-radius:14px !important; overflow:hidden !important; margin:0 !important;
}
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead{ background:none !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th{
  font-family:var(--ss-sans,sans-serif) !important; font-size:9.5px !important; letter-spacing:.07em !important; text-transform:uppercase !important;
  color:rgba(15,15,15,.5) !important; font-weight:600 !important; text-align:left !important; padding:18px 10px 13px !important;
  border-bottom:1px solid rgba(15,15,15,.12) !important; line-height:1.35 !important; vertical-align:bottom !important; background:none !important; word-break:normal !important;
}
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:first-child{ padding-left:24px !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th.cell--price{ text-align:right !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:last-child{ padding-right:24px !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details th:first-child, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details td:first-child{ width:30% !important; }

body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody tr{ background:none !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody tr:hover{ background:none !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td{
  font-family:var(--ss-sans,sans-serif) !important; font-style:normal !important; font-size:13px !important; font-weight:400 !important;
  color:rgba(15,15,15,.78) !important; padding:16px 10px !important; border:0 !important; border-bottom:1px solid rgba(15,15,15,.06) !important;
  vertical-align:middle !important; line-height:1.45 !important; background:none !important; word-break:normal !important; overflow-wrap:break-word !important;
}
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:first-child{ padding-left:24px !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.cell--price, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:last-child{ text-align:right !important; white-space:nowrap !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:last-child{ padding-right:24px !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody tr:last-child td{ border-bottom:0 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details .client-table-heading{ display:none !important; }

/* NÁZEV PRODUKTU — SANS, ne serif italic (přebíjí .table td:first-child a) */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:first-child,
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.p-name{ font-family:var(--ss-sans,sans-serif) !important; font-style:normal !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:first-child .p-name__itemLink,
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:first-child a.p-name__itemLink,
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.p-name a{
  display:block !important; font-family:var(--ss-sans,sans-serif) !important; font-style:normal !important; font-size:13.5px !important;
  font-weight:600 !important; line-height:1.35 !important; color:var(--ss-dark,#2A2520) !important; text-decoration:none !important; border-bottom:0 !important;
  margin:0 0 6px !important; letter-spacing:0 !important;
}
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:first-child a.p-name__itemLink:hover, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.p-name a:hover{ color:var(--ss-terracotta-deep,#7E6248) !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:first-child .p-name__itemName,
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.p-name .p-name__itemName{ font-family:var(--ss-sans,sans-serif) !important; font-style:italic !important; font-size:13px !important; font-weight:400 !important; color:var(--ss-muted,rgba(15,15,15,.62)) !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details .p-name__codeLabel{ display:inline !important; font-family:var(--ss-sans,sans-serif) !important; font-style:normal !important; font-size:11px !important; letter-spacing:0 !important; color:rgba(15,15,15,.45) !important; text-transform:none !important; white-space:normal !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details .p-name__code{ font-family:var(--ss-sans,sans-serif) !important; font-style:normal !important; font-size:11px !important; color:rgba(15,15,15,.6) !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details td.cell--price strong{ font-weight:600 !important; color:var(--ss-dark,#2A2520) !important; }


/* ============================================================
   v11 — Tabulka položek přepsána na FLEX (robustní šířky sloupců).
   Důvod: staré .table-mobile-enriched přepisují display tabulky na block;
   table-layout:fixed pak ignoruje šířky th a grid+display:contents zase
   ignoruje grid-template. Flex (řádek = flex, buňky = flex poměry) funguje
   spolehlivě nad oběma. Sloupce drží poměry napříč hlavičkou i tělem.
   ============================================================ */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details{ display:block !important; background:#fff !important; border:1px solid rgba(15,15,15,.08) !important; border-radius:14px !important; overflow:hidden !important; width:auto !important; margin:0 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody{ display:block !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead tr, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody tr{ display:flex !important; align-items:stretch !important; width:100% !important; background:none !important; border:0 !important; }

/* buňky = flex items, default poměr 1 */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td{
  flex:1 1 0 !important; min-width:0 !important; display:flex !important; align-items:center !important;
  padding:15px 10px !important; border:0 !important; border-bottom:1px solid rgba(15,15,15,.06) !important; background:none !important;
  font-family:var(--ss-sans,sans-serif) !important; font-size:13px !important; font-style:normal !important;
  color:rgba(15,15,15,.78) !important; line-height:1.4 !important; box-sizing:border-box !important;
}
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th{
  align-items:flex-end !important; padding:18px 10px 13px !important; font-size:9.5px !important; letter-spacing:.07em !important;
  text-transform:uppercase !important; color:rgba(15,15,15,.5) !important; font-weight:600 !important; border-bottom:1px solid rgba(15,15,15,.14) !important;
}
/* poměry sloupců */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:nth-child(1), body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(1){ flex:2.7 1 0 !important; padding-left:24px !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:nth-child(2), body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(2){ flex:.85 1 0 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:nth-child(3), body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(3){ flex:1.15 1 0 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:nth-child(4), body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(4){ flex:1.25 1 0 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:nth-child(5), body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(5){ flex:.7 1 0 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:nth-child(6), body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(6){ flex:1.15 1 0 !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:nth-child(7), body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(7){ flex:1.15 1 0 !important; padding-right:24px !important; }
/* ceny vpravo */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th.cell--price, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.cell--price,
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:last-child, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:last-child{ justify-content:flex-end !important; text-align:right !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.cell--price{ white-space:nowrap !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.cell--price strong{ font-weight:600 !important; color:var(--ss-dark,#2A2520) !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details .client-table-heading{ display:none !important; }

/* první buňka = produkt: jméno (sans) + kód pod ním */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(1){ flex-direction:column !important; align-items:flex-start !important; justify-content:center !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.p-name .p-name__itemLink, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(1) a.p-name__itemLink{
  font-family:var(--ss-sans,sans-serif) !important; font-style:normal !important; font-size:13.5px !important; font-weight:600 !important;
  line-height:1.35 !important; color:var(--ss-dark,#2A2520) !important; text-decoration:none !important; border-bottom:0 !important; margin:0 0 5px !important; letter-spacing:0 !important;
}
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.p-name .p-name__itemLink:hover{ color:var(--ss-terracotta-deep,#7E6248) !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.p-name .p-name__itemName{ font-family:var(--ss-sans,sans-serif) !important; font-style:italic !important; font-size:13px !important; color:var(--ss-muted,rgba(15,15,15,.62)) !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details .p-name__codeLabel{ font-family:var(--ss-sans,sans-serif) !important; font-style:normal !important; font-size:11px !important; color:rgba(15,15,15,.45) !important; letter-spacing:0 !important; text-transform:none !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details .p-name__code{ font-family:var(--ss-sans,sans-serif) !important; font-style:normal !important; font-size:11px !important; color:rgba(15,15,15,.6) !important; }

/* souhrnový řádek přes celou šířku (ne flex) */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody tr.row-summary{ display:block !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody tr.row-summary td{ display:block !important; flex:none !important; width:auto !important; border-bottom:0 !important; padding:24px 24px 6px !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row-summary .list-summary{ max-width:340px; margin-left:auto !important; }

/* responsivní pod 720px: stack label:value */
@media (max-width:719px){
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead{ display:none !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody tr{ display:block !important; border-bottom:1px solid rgba(15,15,15,.12) !important; padding:6px 0 !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td{ display:flex !important; justify-content:space-between !important; flex:none !important; width:auto !important; border-bottom:0 !important; padding:8px 18px !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:nth-child(1){ padding-top:14px !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details .client-table-heading{ display:inline !important; color:rgba(15,15,15,.5) !important; font-size:12px !important; margin-right:12px !important; }
}


/* ============================================================
   v12 — FIX kolize hlaviček tabulky. th byl display:flex (row), text =
   jeden flex-item s nowrap => nezalamoval se a přetékal přes sousedy.
   Oprava: th = column-flex -> text se zalamuje, drží se dole u linky.
   ============================================================ */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th{ flex-direction:column !important; justify-content:flex-end !important; align-items:flex-start !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th.cell--price, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:last-child{ align-items:flex-end !important; text-align:right !important; }


/* ============================================================
   v13 — hlavičky tabulky se zalamují i v úzké account šířce (obsah ~780px,
   ne homepage-wide). Flex na th selhával: anonymní textový flex-item se
   nezalomil na šířku sloupce (flex-start smrštil / stretch nespolehlivý) =>
   cenové labely přetékaly o 20-35px. Řešení: th = display:block (text se
   zalomí PŘIROZENĚ na šířku sloupce), spodní zarovnání hlaviček řeší řádek
   (thead tr align-items:flex-end => spodky th se srovnají k dělící lince).
   ============================================================ */
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead tr{ align-items:flex-end !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th{ display:block !important; align-self:flex-end !important; padding:18px 10px 13px !important; white-space:normal !important; overflow-wrap:break-word !important; word-break:normal !important; hyphens:none !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:nth-child(1){ padding-left:24px !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:nth-child(7){ padding-right:24px !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:not(.cell--price):not(:last-child){ text-align:left !important; }
body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th.cell--price, body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details thead th:last-child{ text-align:right !important; }


/* ============================================================
   v14 — FIX oříznutý <select> (ZEMĚ) na "Moje osobní údaje".
   Náš .form-control dává padding:13px ⊤⊥, ale NEnastavoval height =>
   select zdědil nízkou Bootstrap výšku Shoptetu (~35px). Po paddingu
   zbylo na text ~7px a <select> (narozdíl od <input>, který obsah
   neořízne) svůj vybraný text OŘÍZL => vidět jen ~20 %. Řešení:
   height:auto + min-height na všechna account pole (jednotná výška 48px).
   ============================================================ */
body.customer-page:has(.client-center-box) #content-wrapper select,
body.customer-page:has(.client-center-box) #content-wrapper .form-control,
body.customer-page:has(.client-center-box) #content-wrapper input[type="text"],
body.customer-page:has(.client-center-box) #content-wrapper input[type="email"],
body.customer-page:has(.client-center-box) #content-wrapper input[type="tel"],
body.customer-page:has(.client-center-box) #content-wrapper input[type="password"],
body.customer-page:has(.client-center-box) #content-wrapper input[type="number"]{ height:auto !important; min-height:48px !important; }
body.customer-page:has(.client-center-box) #content-wrapper textarea{ height:auto !important; min-height:110px !important; }
body.customer-page:has(.client-center-box) #content-wrapper select{ line-height:1.4 !important; }


/* ======================================================================
   v15 (2026-06-01) :: MOBILNÍ RESPONZIVITA account zóny.
   Přidáno NA KONEC => vyhrává zdrojovým pořadím nad dřívějšími desktop
   !important pravidly (hlavně v6 `.content-wrapper-in: 264px`, které
   blokovalo kolaps mřížky a způsobovalo vodorovný scroll na mobilu).
   Boční menu = OFF-CANVAS DRAWER (trigger + backdrop vkládá ss-account-2.js).
   body.customer-page:has(.client-center-box) #content-wrapper =#content-wrapper sc.  body.ss-drawer-open.customer-page:has(.client-center-box) #content-wrapper = otevřený drawer  body.customer-page:has(.client-center-box) = body sc.
   ====================================================================== */

/* drawer prvky na desktopu schované (existují jen v account zóně) */
body.customer-page:has(.client-center-box) .ss-acc-drawer-toggle,
body.customer-page:has(.client-center-box) .ss-acc-drawer-backdrop,
body.customer-page:has(.client-center-box) .ss-acc-drawer-close{ display: none; }

/* ============ ≤900px — tablet/mobil ============ */
@media (max-width: 900px){

  /* ---- FRAME: 1 sloupec, menší okraje ---- */
  /* minmax(0,1fr) NE 1fr — jinak se sloupec nesmrští pod min-content obsahu
     (dlouhý název produktu / tabulka) a vznikne vodorovný scroll */
  body.customer-page:has(.client-center-box) #content-wrapper{ padding: 22px 16px 64px !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .content-wrapper-in{ grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
  body.customer-page:has(.client-center-box) #content-wrapper #content, body.customer-page:has(.client-center-box) #content-wrapper main#content{ min-width: 0 !important; max-width: 100% !important; overflow-wrap: break-word !important; }

  /* ---- TRIGGER "Můj účet" nad obsahem ---- */
  body.customer-page:has(.client-center-box) #content-wrapper .ss-acc-drawer-toggle{
    display: flex !important; align-items: center; gap: 13px; width: 100%;
    margin: 0 0 20px; padding: 13px 18px;
    background: #F6F0E7; border: 1px solid rgba(126,98,72,.24); border-radius: 12px;
    font-family: var(--ss-sans, sans-serif); font-size: 13px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ss-terracotta-deep, #7E6248);
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  body.customer-page:has(.client-center-box) #content-wrapper .ss-acc-drawer-toggle__icon{ position: relative; width: 20px; height: 2px; background: currentColor; margin: 7px 0; flex: 0 0 auto; border-radius: 2px; }
  body.customer-page:has(.client-center-box) #content-wrapper .ss-acc-drawer-toggle__icon::before,
  body.customer-page:has(.client-center-box) #content-wrapper .ss-acc-drawer-toggle__icon::after{ content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
  body.customer-page:has(.client-center-box) #content-wrapper .ss-acc-drawer-toggle__icon::before{ top: -7px; }
  body.customer-page:has(.client-center-box) #content-wrapper .ss-acc-drawer-toggle__icon::after{ top: 7px; }
  body.customer-page:has(.client-center-box) #content-wrapper .ss-acc-drawer-toggle__label{ line-height: 1; }

  /* ---- ASIDE -> off-canvas panel ---- (jen když JS přidal .ss-drawer-ready;
     bez JS zůstane sidebar normální stacknutá karta = přístupný fallback) */
  body.ss-drawer-ready.customer-page:has(.client-center-box) #content-wrapper aside.sidebar-left{
    position: fixed !important; top: 0 !important; left: 0 !important; right: auto !important;
    width: min(86vw, 360px) !important; max-width: 360px !important;
    height: 100vh !important; height: 100dvh !important;
    margin: 0 !important; padding: 0 !important;
    transform: translateX(-100%); transition: transform .34s cubic-bezier(.4,0,.2,1);
    z-index: 9999 !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch;
    background: #F6F0E7 !important; box-shadow: 0 0 44px rgba(15,15,15,.28);
    border: 0 !important; border-radius: 0 !important;
  }
  body.ss-drawer-ready.customer-page:has(.client-center-box) #content-wrapper .sidebar-inner{ padding: 0 !important; height: auto !important; position: static !important; }
  body.ss-drawer-ready.customer-page:has(.client-center-box) #content-wrapper .client-center-box{ border: 0 !important; border-radius: 0 !important; margin: 0 !important; min-height: 100% !important; box-shadow: none !important; background: #F6F0E7 !important; }
  body.ss-drawer-ready.customer-page:has(.client-center-box) #content-wrapper .client-center-box ul{ padding-top: 8px !important; }

  /* zavírací X v draweru */
  body.customer-page:has(.client-center-box) #content-wrapper .ss-acc-drawer-close{
    display: flex !important; align-items: center; justify-content: center;
    position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0; z-index: 5;
    background: rgba(255,255,255,.72); border: 1px solid rgba(126,98,72,.22); border-radius: 50%;
    font-size: 22px; line-height: 1; color: var(--ss-terracotta-deep, #7E6248); cursor: pointer;
  }

  /* otevřený stav: vysunout + backdrop */
  body.ss-drawer-open.customer-page:has(.client-center-box) #content-wrapper aside.sidebar-left{ transform: translateX(0) !important; }
  body.customer-page:has(.client-center-box) .ss-acc-drawer-backdrop{ display: block !important; position: fixed; inset: 0; background: rgba(15,15,15,.46); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity .34s ease; }
  body.ss-drawer-open.customer-page:has(.client-center-box) .ss-acc-drawer-backdrop{ opacity: 1; pointer-events: auto; }
  body.ss-drawer-open.customer-page:has(.client-center-box){ overflow: hidden; }

  /* ---- ORDER: hlavička objednávky stack, button full-width ---- */
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div{ flex-direction: column !important; align-items: stretch !important; padding: 18px !important; gap: 13px !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div p:first-child{ min-width: 0 !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div .btn{ width: 100% !important; justify-content: center !important; text-align: center !important; }

  /* ---- SUMMARY box full-width (fix max-width:360 přetok) ---- */
  body.customer-page:has(.client-center-box) #content-wrapper .list-summary,
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row-summary .list-summary{ max-width: 100% !important; margin-left: 0 !important; width: 100% !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row-summary dd{ white-space: nowrap !important; }

  /* ---- shipping-addresses tabulka ať nepřetéká ---- */
  body.customer-page:has(.client-center-box) #content-wrapper .table-shipping-addresses{ display: block !important; width: 100% !important; min-width: 0 !important; overflow-x: auto !important; }

  /* ---- TYPOGRAFIE ---- */
  body.customer-page:has(.client-center-box) h1{ font-size: clamp(26px, 7vw, 34px) !important; line-height: 1.08 !important; }
}

/* ============ ≤719px — telefon: VŠECHNY account tabulky do karet ============ */
/* (vč. detailu objednávky — přebíjí rozbitý v11 card-mode, kde se uppercase
   tracked labely lámaly po písmenech a kolidovaly s hodnotami) */
@media (max-width: 719px){
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched{ display: block !important; background: #fff !important; border: 1px solid var(--ss-border, rgba(15,15,15,.10)) !important; border-radius: 14px !important; overflow: hidden !important; width: 100% !important; margin: 0 !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched thead{ display: none !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody, body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody tr{ display: block !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody tr{ border-bottom: 1px solid rgba(15,15,15,.12) !important; padding: 6px 0 10px !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody tr:last-child{ border-bottom: 0 !important; }

  /* běžná buňka = "label : hodnota" (label roste -> všechny stejný levý okraj) */
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody td{ display: flex !important; gap: 14px !important; align-items: baseline !important; padding: 7px 18px !important; border: 0 !important; text-align: right !important; font-size: 13.5px !important; min-width: 0 !important; width: auto !important; flex: none !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched .client-table-heading{ display: inline-block !important; flex: 1 1 auto !important; text-align: left !important; color: var(--ss-muted, rgba(15,15,15,.62)) !important; font-size: 12px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; white-space: normal !important; word-break: normal !important; line-height: 1.3 !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody td .p-name__code, body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody td .p-name__codeLabel{ letter-spacing: 0 !important; }

  /* první buňka (název produktu) = přes celou šířku, BEZ labelu */
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody td.p-name{ display: block !important; text-align: left !important; padding: 13px 18px 9px !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody td.p-name .client-table-heading{ display: none !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody td.p-name .p-name__itemLink{ display: block !important; margin-bottom: 4px !important; }

  /* souhrnný řádek NEdělat label:value (má vlastní .list-summary grid) */
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody tr.row-summary{ padding: 0 !important; border-bottom: 0 !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .table-mobile-enriched tbody tr.row-summary td{ display: block !important; flex: none !important; width: auto !important; text-align: left !important; padding: 16px 16px 6px !important; }
}

/* ============ ≤680px — adresy pod sebe ============ */
/* pozn.: stávající ≤680 to dělá, ale pozdější nemédiové v9 pravidlo
   `[ORD] .row{1fr 1fr}` (oprava diagonál) ho přebíjí zdroj. pořadím.
   Tady (na konci souboru) vyhrajeme. */
@media (max-width: 680px){
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row{ grid-template-columns: 1fr !important; gap: 14px !important; }
}

/* ============ ≤540px — malé telefony: utáhnout ============ */
@media (max-width: 540px){
  body.customer-page:has(.client-center-box) #content-wrapper{ padding: 18px 12px 56px !important; }
  body.customer-page:has(.client-center-box) #content-wrapper h2{ font-size: 19px !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .row > [class*="col-"]{ padding: 16px 16px !important; }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .content-inner > h2:first-of-type + div{ padding: 15px 15px !important; }
  body.customer-page:has(.client-center-box) #content-wrapper .btn-primary, body.customer-page:has(.client-center-box) #content-wrapper button[type="submit"], body.customer-page:has(.client-center-box) #content-wrapper input[type="submit"], body.customer-page:has(.client-center-box) #content-wrapper .btn.btn-secondary{ width: 100% !important; justify-content: center !important; }
}


/* ============================================================
   v17 (2026-06-01) :: FIX úzký název produktu v kartě objednávky (mobil).
   v10 dává `.table-order-details td:first-child{ width:30% !important }`
   (pro desktop tabulku). V kartovém režimu (≤719) to drží název v úzkém
   30% sloupci (~139px) => 6 řádků + lámání slov uprostřed. Přebíjíme vyšší
   specificitou (in-objednavk scope + .table-order-details + tbody + .p-name).
   ============================================================ */
@media (max-width:719px){
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.p-name,
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td:first-child{
    width: auto !important; max-width: none !important; display: block !important;
    flex: none !important; text-align: left !important;
  }
  body[class*="in-objednavk"].customer-page:has(.client-center-box) #content-wrapper .table-order-details tbody td.p-name .p-name__itemLink{ display: block !important; }
}
