/* Upratechna (www.upratechna.sk) – vzhled prodejny podle schváleného náhledu (6. 12. 2026): fosforová zelená na černé.
   Načítá se jen u prodejny se vzhledem „upratechna“ (Views/Shared/_Store.cshtml) nad společným store.css – ostatních e-shopů se netýká.
   Výchozí je TMAVÉ zobrazení; světlé si návštěvník zapne přepínačem v hlavičce (html[data-theme=light], pamatuje se v prohlížeči).
   Hlavička, levé menu a patička jsou černé v obou zobrazeních; fosforová se používá jen na tmavém podkladu. */
.theme-upratechna {
  color-scheme: dark;
  --ink: #0b0f0c; --neon: #39ff14;
  --main: #39ff14; --main-dark: #2bd40e; --main-light: #8dff78;
  --cta: #39ff14; --cta-dark: #5cff3d; --avail: #39ff14;
  --dark: #e6ece7; --link: #c9d3cb; --muted: #98a59b;
  --white: #151b16; --bg-soft: #1f2720; --crumb: #1f2720; --promo: #1f2720;
  --line: #263027; --edge: #3d4a3f; --footer-hue: 0deg;
  --u-page: #0b0f0c; --u-field: #0f1410; --u-ink: #06140a;
  --u-shadow: 0 0 0 1px #222b23; --u-shadow2: 0 0 0 1px #3d4a3f, 0 14px 30px -10px rgba(0,0,0,.6);
  --u-pad: clamp(14px, 1.6vw, 28px);
  --fh: Figtree, system-ui, sans-serif;   /* nadpisy, ceny, tlačítka */
}
html[data-theme=light] .theme-upratechna {
  color-scheme: light;
  --main: #0b0f0c; --main-dark: #000; --main-light: #0a7d1e;
  --cta: #0b0f0c; --cta-dark: #000; --avail: #0a7d1e;
  --dark: #101512; --link: #3c4640; --muted: #5f6962;
  --white: #fff; --bg-soft: #f0f3f0; --crumb: #e9ede9; --promo: #e9ede9;
  --line: #e2e7e2; --edge: #c3cbc4;
  --u-page: #f2f4f2; --u-field: #fff; --u-ink: #39ff14;
  --u-shadow: 0 1px 2px rgba(16,24,18,.06), 0 0 0 1px rgba(16,24,18,.04); --u-shadow2: 0 14px 30px -10px rgba(16,24,18,.22), 0 0 0 1px rgba(16,24,18,.06);
}
body.theme-upratechna { background: var(--u-page); transition: background .2s, color .2s; }
.theme-upratechna .container, .theme-upratechna .u-c { max-width: 1880px; margin: 0 auto; padding: 0 var(--u-pad); }
.theme-upratechna h1, .theme-upratechna h2, .theme-upratechna .center-title, .theme-upratechna .section__title { font-family: var(--fh); font-weight: 800; letter-spacing: -.02em; }

/* ---------- hlavička ---------- */
.u-lg { font-family: Figtree, system-ui, sans-serif; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; line-height: 1; font-size: 30px; color: #fff; text-decoration: none; }
.u-lg:hover { text-decoration: none; }
.u-lg i { display: inline-block; width: .22em; height: .22em; margin-left: .06em; background: #39ff14; }
.u-pre { background: #0b0f0c; color: #9aa59c; font-size: 12.5px; border-bottom: 1px solid #1c231d; }
.u-pre .u-c { display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.u-pre b { color: #fff; font-weight: 600; }
.u-pre__links { display: flex; gap: 18px; flex-wrap: wrap; }
.u-pre a { color: #c9d3cb; }
.u-pre a:hover { color: #39ff14; text-decoration: none; }
.u-head { background: #0b0f0c; color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 #1c231d; }
.u-head .u-c { display: flex; align-items: center; gap: 16px; padding-top: 13px; padding-bottom: 13px; }
.u-burger { display: none; background: none; border: 0; color: #fff; padding: 8px; margin-left: -8px; cursor: pointer; }
.u-burger svg { display: block; }
.u-catsbtn { display: none; align-items: center; gap: 9px; background: none; border: 2px solid #39ff14; color: #39ff14; font-family: var(--fh); font-weight: 800; font-size: 14.5px; border-radius: 12px; padding: 9px 14px; white-space: nowrap; cursor: pointer; }
.u-catsbtn:hover, .u-catsbtn.on { background: #39ff14; color: #0b0f0c; }
body.u-menu-btn .u-catsbtn { display: flex; }
.theme-upratechna .u-head .search { flex: 1; min-width: 0; max-width: none; background: #1c231d; box-shadow: inset 0 0 0 1px #2a332b; border-radius: 12px; padding: 4px; transition: box-shadow .15s; }
html[data-theme=light] .theme-upratechna .u-head .search { background: #fff; box-shadow: none; }
.theme-upratechna .u-head .search:focus-within { box-shadow: 0 0 0 3px rgba(57,255,20,.45); }
.theme-upratechna .u-head .search > input { background: none; border: 0; border-radius: 0; color: #fff; padding: 9px 12px; font-size: 15px; box-shadow: none; }
html[data-theme=light] .theme-upratechna .u-head .search > input { color: #0b0f0c; }
.theme-upratechna .u-head .search > input::placeholder { color: #7a857c; }
.theme-upratechna .u-head .search > button { background: #39ff14; color: #0b0f0c; width: 46px; padding: 0; border-radius: 9px; justify-content: center; }
.theme-upratechna .u-head .search > button:hover { background: #5cff3d; }
.theme-upratechna .u-head .search > button span { display: none; }
.u-hlink { display: flex; align-items: center; gap: 8px; color: #d7ded8; font-weight: 500; font-size: 14px; white-space: nowrap; padding: 9px 6px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.u-hlink:hover { color: #fff; text-decoration: none; }
.u-hlink span { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.u-logout { display: flex; margin: 0; }
.u-tgl { display: flex; align-items: center; gap: 8px; background: none; border: 1px solid #2a332b; border-radius: 12px; color: #d7ded8; font-weight: 500; font-size: 14px; padding: 10px 12px; white-space: nowrap; cursor: pointer; font-family: inherit; }
.u-tgl:hover { border-color: #39ff14; color: #39ff14; }
/* tlačítko nabízí to druhé zobrazení: v tmavém „Svetlé“ se sluncem, ve světlém „Tmavé“ s měsícem */
.u-tgl__moon, .u-tgl__d, html[data-theme=light] .u-tgl__sun, html[data-theme=light] .u-tgl__l { display: none; }
html[data-theme=light] .u-tgl__moon, html[data-theme=light] .u-tgl__d { display: inline; }
.theme-upratechna .u-cart { display: flex; align-items: center; gap: 9px; margin-left: 0; background: #39ff14; color: #0b0f0c; font-family: var(--fh); font-weight: 800; font-size: 14.5px; border-radius: 12px; padding: 12px 16px; white-space: nowrap; }
.theme-upratechna .u-cart:hover { background: #5cff3d; text-decoration: none; }
.u-cart em { font-style: normal; background: #0b0f0c; color: #39ff14; border-radius: 20px; min-width: 22px; height: 22px; line-height: 22px; text-align: center; font-size: 12px; padding: 0 6px; }

/* ---------- levé menu kategorií + vysouvací panel ---------- */
.u-side { background: #0b0f0c; color: #e6ece7; border-radius: 16px; padding: 8px; display: flex; flex-direction: column; box-shadow: var(--u-shadow); }
.u-side__h { display: flex; align-items: center; gap: 9px; border: 2px solid #39ff14; color: #39ff14; font-family: var(--fh); font-weight: 800; font-size: 14.5px; border-radius: 11px; padding: 9px 13px; margin-bottom: 6px; }
.u-side a { display: flex; align-items: center; gap: 11px; padding: 6px 9px; border-radius: 10px; font-weight: 600; font-size: 14px; line-height: 1.2; position: relative; color: inherit; text-decoration: none; }
.u-side a > span:nth-child(2) { flex: 1; }
.u-side__ic { width: 36px; height: 36px; border-radius: 9px; background: #fff; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.u-side__ic img { width: 30px; height: 30px; object-fit: contain; }
.u-side a em { font-style: normal; color: #6f7b71; font-size: 17px; transition: transform .12s; }
.u-side a:hover, .u-side a.on { background: #1c231d; color: #39ff14; text-decoration: none; }
.u-side a.on::before { content: ""; position: absolute; left: -8px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: #39ff14; }
.u-side a.on em { color: #39ff14; transform: translateX(3px); }
.u-fly { background: var(--white); color: var(--dark); border-radius: 16px; padding: 22px 26px; box-shadow: var(--u-shadow2); overflow: auto; }
.u-fly__h { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.u-fly__h b { font-family: var(--fh); font-size: 21px; letter-spacing: -.02em; }
.u-fly__h a { font-weight: 600; font-size: 14px; color: var(--avail); }
.u-fly__g { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px 18px; }
.u-dcol { display: flex; gap: 12px; align-items: flex-start; }
.u-dcol__img { width: 54px; height: 54px; flex: none; background: #fff; border-radius: 10px; padding: 5px; display: block; }
.u-dcol__img img { width: 100%; height: 100%; object-fit: contain; }
.u-dcol a { display: block; font-size: 13px; color: var(--muted); padding: 2px 0; }
.u-dcol a:hover { color: var(--avail); text-decoration: none; }
.u-dcol a.u-dcol__t { font-family: var(--fh); font-weight: 800; font-size: 14.5px; color: var(--dark); margin-bottom: 3px; line-height: 1.25; padding: 0; }
.u-mega { position: fixed; left: 0; right: 0; z-index: 28; }
.u-mega__in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 12px; background: #0b0f0c; border: 1px solid #232b24; border-top: 0; border-radius: 0 0 18px 18px; padding: 12px; box-shadow: 0 24px 50px rgba(0,0,0,.45); max-height: calc(100vh - 150px); }
.u-mega .u-side { background: #141a15; border: 1px solid #232b24; box-shadow: none; overflow: auto; }
.u-mega .u-fly { box-shadow: none; border-left: 4px solid #39ff14; }
.u-backdrop { position: fixed; inset: 0; background: rgba(8,12,9,.5); z-index: 25; backdrop-filter: blur(2px); }
.u-mega[hidden], .u-backdrop[hidden], .u-fly[hidden] { display: none; }
.u-drawer { display: none; }

/* titulní strana: levé menu vedle prvních dvou komponent (banner + výhody) */
@media (min-width: 921px) {
  .theme-upratechna main.u-home { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 14px; max-width: 1880px; margin: 0 auto; padding: 14px var(--u-pad) 0; position: relative; }
  .theme-upratechna main.u-home > * { grid-column: 1 / -1; min-width: 0; }
  .theme-upratechna main.u-home > .u-menu--home { grid-column: 1; grid-row: 1 / span 2; }
  .theme-upratechna main.u-home > section:nth-of-type(1) { grid-column: 2; grid-row: 1; border-radius: 18px; overflow: hidden; }
  .theme-upratechna main.u-home > section:nth-of-type(2) { grid-column: 2; grid-row: 2; align-self: start; border-radius: 18px; }
  .theme-upratechna main.u-home > section:nth-of-type(n+3) { margin-left: calc(var(--u-pad) * -1); margin-right: calc(var(--u-pad) * -1); }
  .u-menu--home .u-fly { position: absolute; left: calc(var(--u-pad) + 294px); right: var(--u-pad); top: 14px; z-index: 6; min-height: 420px; max-height: 640px; }
}

/* ---------- společné prvky e-shopu v novém vzhledu ---------- */
/* text na fosforové (ve světlém zobrazení na černé) ploše */
.theme-upratechna .banner__btn, .theme-upratechna .basket__icon em, .theme-upratechna .benefit__icon, .theme-upratechna .brand-promo__btn,
.theme-upratechna .btn--cta, .theme-upratechna .btn.suggest__add.is-done, .theme-upratechna .btn.suggest__add:hover, .theme-upratechna .fbtn em,
.theme-upratechna .fbtn.is-open, .theme-upratechna .files__ext, .theme-upratechna .flag--new, .theme-upratechna .fpill.is-set > .fpill__btn,
.theme-upratechna .ftag, .theme-upratechna .pfilter__item summary em, .theme-upratechna .spec__title,
.theme-upratechna .stepper button, .theme-upratechna .steps li.is-active, .theme-upratechna .suggest__all.is-active span,
.theme-upratechna .suggest__all:hover span, .theme-upratechna .test-badge, .theme-upratechna .thanks__check, .theme-upratechna .thanks__next-head,
.theme-upratechna .us-card__add.is-done, .theme-upratechna .us-offer__tip, .theme-upratechna .us-pill { color: var(--u-ink); }
.theme-upratechna .benefit__icon .arr::before, .theme-upratechna .pill .arr::before, .theme-upratechna .crumb__sep::before { border-color: var(--u-ink); }
.theme-upratechna .btn { border-radius: 11px; font-family: var(--fh); font-weight: 800; letter-spacing: 0; transition: transform .12s, box-shadow .12s, background .12s; }
.theme-upratechna .btn--cta:hover { transform: translateY(-1px); }
.theme-upratechna .btn--ghost { font-weight: 800; }

/* karty zboží: bez rámečku, se zaoblením a stínem */
.theme-upratechna .card { border: 0; border-radius: 14px; box-shadow: var(--u-shadow); padding: 12px; }
.theme-upratechna .card:hover { box-shadow: var(--u-shadow2); transform: translateY(-3px); }
.theme-upratechna .card__title { text-align: left; font-size: 14.5px; font-weight: 500; line-height: 1.3; padding: 0 2px; }
.theme-upratechna .price strong, .theme-upratechna .buybox__price strong { font-family: var(--fh); font-weight: 800; letter-spacing: -.025em; }
.theme-upratechna .pill { border-radius: 12px; border-bottom-width: 0; box-shadow: var(--u-shadow); }
.theme-upratechna .pill:hover { box-shadow: var(--u-shadow2); }
.theme-upratechna .section__title { border-bottom: 0; font-size: 24px; }
.theme-upratechna .section__title::after { display: none; }
.theme-upratechna .center-title { text-align: left; font-size: 26px; }
.theme-upratechna .benefit-band { border-radius: 18px; background: var(--white); box-shadow: var(--u-shadow); width: auto; min-width: 0; margin-top: 14px; }
.theme-upratechna .hb--banners + .hb--benefits .benefit-band { margin-top: 14px; }
.theme-upratechna .hb--banners-full { background: none; }
.theme-upratechna .hb--soft { background: none; }
.theme-upratechna .benefit, .theme-upratechna .benefit small { color: var(--dark); }
.theme-upratechna .benefit small { color: var(--muted); }
.theme-upratechna .benefit strong { font-family: var(--fh); font-size: 17px; }
.theme-upratechna .benefit__icon { width: 54px; height: 54px; border-radius: 14px; }
.theme-upratechna .benefit__icon svg { width: 26px; height: 26px; }

/* pole formulářů */
.theme-upratechna input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]), .theme-upratechna select, .theme-upratechna textarea {
  background: var(--u-field); color: var(--dark); border-color: var(--edge); }
.theme-upratechna ::placeholder { color: #7c887e; }

/* fotky zboží mají bílé pozadí – zůstávají na bílé kartičce se zaoblením */
.theme-upratechna .card__img, .theme-upratechna .detail__main, .theme-upratechna .thumbs__track img, .theme-upratechna .cart__img, .theme-upratechna .suggest__img,
.theme-upratechna .dropdown__img, .theme-upratechna .bought__img, .theme-upratechna .us-card__img, .theme-upratechna .sister__img, .theme-upratechna .lightbox__img,
.theme-upratechna .lightbox__strip img, .theme-upratechna .us-added img { background: #fff; border-radius: 10px; }
.theme-upratechna .qrpay__code img { background: #fff; padding: 6px; border-radius: 6px; }

/* patička: černá v obou zobrazeních, bez modrého obrázku */
.theme-upratechna .footer { background: radial-gradient(700px 300px at 0 0, rgba(57,255,20,.08), rgba(57,255,20,0) 70%), #0b0f0c; border-top: 1px solid #1c231d; color: #aeb8b0; margin-top: 56px; }
.theme-upratechna .footer::before { display: none; }
.theme-upratechna .footer h2, .theme-upratechna .footer h3 { color: #fff; font-family: inherit; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.theme-upratechna .footer a { color: #aeb8b0; }
.theme-upratechna .footer a:hover { color: #39ff14; text-decoration: none; }
.theme-upratechna .footer__phone { color: #39ff14; font-family: var(--fh); font-weight: 800; font-size: 23px; letter-spacing: -.02em; }
.theme-upratechna .footer__col--links li::before { border-color: #39ff14; }
.theme-upratechna .footer__copy { background: transparent; border-top: 1px solid #1c231d; color: #7f8b82; }
.theme-upratechna .cookiebar { border-color: var(--edge); }
.theme-upratechna .cookiebar__ghost { color: var(--link); border-color: var(--edge); }

/* ---------- tablet a mobil ---------- */
@media (max-width: 1150px) {
  .u-tgl span { display: none !important; }
  .u-head .u-c { gap: 12px; }
  .u-hlink span { display: none; }
  .theme-upratechna main.u-home { grid-template-columns: 250px minmax(0, 1fr); }
  .u-menu--home .u-fly { left: calc(var(--u-pad) + 264px); }
  .u-mega__in { grid-template-columns: 250px minmax(0, 1fr); }
}
@media (max-width: 920px) {
  .u-pre__links { display: none; }
  .u-burger { display: block; }
  .u-head .u-c { flex-wrap: wrap; gap: 10px 12px; }
  .u-lg { font-size: 25px; }
  .theme-upratechna .u-head .search { order: 5; flex-basis: 100%; }
  .u-hlink, .u-logout { display: none; }
  .u-tgl { margin-left: auto; padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; }
  .theme-upratechna .u-cart { padding: 11px 12px; min-height: 44px; }
  .u-menu--home, .u-mega, .u-backdrop, body.u-menu-btn .u-catsbtn { display: none !important; }
  .u-drawer { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: .2s; }
  .u-drawer.on { opacity: 1; pointer-events: auto; }
  .u-drawer nav { position: absolute; left: 0; top: 0; bottom: 0; width: min(86%, 340px); background: #0b0f0c; color: #fff; padding: 18px; overflow: auto; transform: translateX(-100%); transition: .2s; }
  .u-drawer.on nav { transform: none; }
  .u-drawer .u-lg { display: block; margin-bottom: 14px; }
  .u-drawer a, .u-drawer summary { display: block; padding: 13px 4px; border-bottom: 1px solid #1f2620; font-weight: 600; color: #fff; text-decoration: none; cursor: pointer; }
  .u-drawer summary { list-style: none; position: relative; padding-right: 28px; }
  .u-drawer summary::-webkit-details-marker { display: none; }
  .u-drawer summary::after { content: "›"; position: absolute; right: 8px; top: 9px; font-size: 20px; color: #39ff14; transition: transform .15s; }
  .u-drawer details[open] summary::after { transform: rotate(90deg); }
  .u-drawer details a { padding: 11px 4px 11px 18px; font-weight: 400; color: #c9d3cb; }
  .u-drawer details a b { color: #39ff14; font-weight: 600; }
  .u-drawer__x { background: none; border: 0; color: #fff; font-size: 30px; float: right; line-height: 1; min-width: 44px; min-height: 44px; cursor: pointer; }
  .u-drawer__f { margin-top: 18px; }
  .u-drawer__f a { color: #c9d3cb; font-weight: 400; }
}
@media (max-width: 520px) {
  .u-cart__t { display: none; }
  .theme-upratechna .center-title { font-size: 21px; }
}

/* doladění po prvním náhledu: název zboží běžným písmem, banner zarovnaný s horní hranou levého menu */
.theme-upratechna .card__title { font-family: inherit; letter-spacing: 0; }
.theme-upratechna main.u-home > .hb--banners { padding-top: 0; }
