/* E1: common skin for the isolated implementation. Load after all public CSS.
   This stylesheet is loaded only by opted-in public templates. */
@font-face { font-family: 'P23-SANS'; src: url('/assets/facelift/P23-SANS-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'P23-SANS'; src: url('/assets/facelift/P23-SANS-Medium.woff2') format('woff2'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'P23-SANS'; src: url('/assets/facelift/P23-SANS-Bold.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'P23-SANS'; src: url('/assets/facelift/P23-SANS-Black.woff2') format('woff2'); font-style: normal; font-weight: 900; font-display: swap; }
@font-face { font-family: 'P23-SANS'; src: url('/assets/facelift/P23-SANS-Italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }

html:root {
    color-scheme: dark;
    --p23-bg: #111;
    --p23-bg-alt: #242424;
    --p23-panel: #191919;
    --p23-header-bg: #050505;
    --p23-text: #f5f5f5;
    --p23-muted: #bcbcbc;
    --p23-ink-soft: #d2d2d2;
    --p23-border: #626262;
    --p23-line: #3c3c3c;
    --p23-field: #161616;
    --p23-focus: #fff;
    --p23-accent: #ff0000;
    --p23-link: #ff7878;
    --p23-cta: #cf0000;
    --p23-cta-hover: #ad0000;
    --p23-brand-red: #ff0000;
    --p23-radius: 6px;
    --p23-font: 'P23-SANS', Arial, sans-serif;
    --p23-max-width: 1100px;
    --p23-content-offset: 0px;
    --p23-card-bg: var(--p23-panel);
    --p23-glow: #ff00002e;
    --p23-shadow: #0005;
    --p23-gutter: 24px;
    --p23-orwal: url('/assets/facelift/orwal.avif');
    /* Bridge both generations of original public CSS without changing markup. */
    --font-family-base: var(--p23-font);
    --color-bg: var(--p23-bg);
    --color-text: var(--p23-text);
    --color-text-muted: var(--p23-muted);
    --color-primary: var(--p23-cta);
    --color-primary-soft: #ff000010;
    --color-primary-soft-strong: #ff000018;
    --color-accent-red: var(--p23-brand-red);
    --shadow-text-soft: none;
    --shadow-text-strong: none;
    --shadow-text-mobile: none;
    --shadow-card-red: 0 3px 12px var(--p23-shadow), 0 0 14px var(--p23-glow);
    --shadow-card-primary: none;
    --shadow-card-white: none;
    --bg-image-red: var(--p23-orwal);
    --bg-image-footer: none;
    --shop-button-bg: var(--p23-cta);
    --shop-button-bg-hover: var(--p23-cta-hover);
    --shop-button-text: #fff;
    --shop-stock-in: #83d69b;
    scroll-padding-top: 24px;
}
html[data-p23-theme='light'] {
    color-scheme: light;
    --p23-bg: #f5f5f5;
    --p23-bg-alt: #ededed;
    --p23-panel: #fff;
    --p23-header-bg: #fff;
    --p23-text: #151515;
    --p23-muted: #595959;
    --p23-ink-soft: #393939;
    --p23-border: #aaa;
    --p23-line: #d2d2d2;
    --p23-field: #fff;
    --p23-focus: #111;
    --p23-link: #a80000;
    --p23-glow: #ff000020;
    --p23-shadow: #0002;
    --shop-stock-in: #226c39;
}
/* Without JavaScript, respect the device preference and keep navigation visible. */
html:not([data-p23-theme]) .p23-e1-brand [data-p23-logo='light'] { display: none; }
@media (prefers-color-scheme: light) {
html:not([data-p23-theme]) {
    color-scheme: light;
    --p23-bg: #f5f5f5;
    --p23-bg-alt: #ededed;
    --p23-panel: #fff;
    --p23-header-bg: #fff;
    --p23-text: #151515;
    --p23-muted: #595959;
    --p23-ink-soft: #393939;
    --p23-border: #aaa;
    --p23-line: #d2d2d2;
    --p23-field: #fff;
    --p23-focus: #111;
    --p23-link: #a80000;
    --p23-glow: #ff000020;
    --p23-shadow: #0002;
    --shop-stock-in: #226c39;
}
html:not([data-p23-theme]) .p23-e1-brand [data-p23-logo='dark'] { display: none; }
html:not([data-p23-theme]) .p23-e1-brand [data-p23-logo='light'] { display: block; }
}

html body,
html body.p23-body {
    margin: 0;
    background: var(--p23-bg);
    color: var(--p23-text);
    font-family: var(--p23-font);
    font-size: 16px;
    line-height: 1.65;
}
html :is(h1,h2,h3,h4,h5,h6,p,button,input,textarea,select) { font-family: var(--p23-font); }
html :is(h1,h2,h3,h4,h5,h6) { color: var(--p23-text); text-shadow: none; line-height: 1.22; overflow-wrap: anywhere; }
html :is(h1,h2) { font-weight: 700; letter-spacing: -.035em; }
html h1 { font-size: clamp(29px,4vw,46px); }
html h2 { font-size: clamp(24px,2.6vw,30px); }
html h3 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
html p { color: inherit; }
html strong { font-weight: 700; letter-spacing: normal; }
html a { text-underline-offset: 4px; }
html a:hover { color: var(--p23-link); }
html :is(a,button,input,textarea,select,summary):focus-visible {
    outline: 3px solid var(--p23-focus);
    outline-offset: 4px;
}
html [hidden] { display: none !important; }
html :is(.p23-main,.page-content) { min-width: 0; }
html .p23-main {
    width: min(var(--p23-max-width),calc(100% - var(--p23-gutter) * 2));
    max-width: var(--p23-max-width);
    margin: 0 auto;
    padding: 30px 0 48px;
}
html .p23-main--narrow { max-width: 740px; }
html .p23-skip-link { z-index: 1000; background: #fff; color: #111; }

/* Shared navigation: ordinary links, semantic nav, explicit mobile disclosure. */
html .p23-e1-head {
    position: relative;
    z-index: 100;
    background: var(--p23-header-bg);
    border-bottom: 1px solid var(--p23-line);
}
html .p23-e1-head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 20px;
    width: min(1248px,100%);
    min-height: 98px;
    margin: auto;
    padding: 10px 26px;
}
html .p23-e1-brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 14px; color: var(--p23-text); text-decoration: none; }
html .p23-e1-brand img { display: block; position: static; width: 155px; max-width: 100%; height: 78px; object-fit: contain; margin: 0; filter: none; }
html[data-p23-theme='light'] .p23-e1-brand [data-p23-logo='dark'],
html[data-p23-theme='dark'] .p23-e1-brand [data-p23-logo='light'] { display: none; }
html .p23-e1-brand span { color: var(--p23-muted); font-size: 12px; letter-spacing: .08em; }
html .p23-e1-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
html .p23-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
html :is(.p23-e1-searchlink,.p23-e1-cartlink) { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; padding: 9px 10px; border: 1px solid var(--p23-border); border-radius: 5px; color: var(--p23-text); background: var(--p23-panel); text-decoration: none; font-size: 12px; line-height: 1.4; }
html :is(.p23-e1-theme,.p23-e1-menu-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    min-width: 44px;
    padding: 9px 12px;
    border: 1px solid var(--p23-border);
    border-radius: 5px;
    background: var(--p23-panel);
    color: var(--p23-text);
    font: 500 12px/1.4 var(--p23-font);
    cursor: pointer;
    text-decoration: none;
}
html .p23-e1-menu-button { background: #b00000 var(--p23-orwal) center / auto 100%; color: #fff; border-color: #cf0000; box-shadow: 0 3px 10px var(--p23-shadow),0 0 18px var(--p23-glow); }
html .p23-e1-menu {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 5px 7px;
    background: #b00000 var(--p23-orwal) center / auto 100%;
    border-radius: 5px;
    box-shadow: 0 5px 18px var(--p23-shadow),0 7px 24px var(--p23-glow);
}
html .p23-e1-menu-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0; width: 100%; }
html .p23-e1-menu :is(a,button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 10px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    background: transparent;
    font: 500 12px/1.4 var(--p23-font);
    text-decoration: none;
    text-transform: uppercase;
}
html .p23-e1-menu :is(a,button):hover { color: #fff; background: #0003; }
html .p23-e1-menu :is(a,button):focus-visible { outline-color: #fff; outline-offset: -3px; }
html .p23-e1-menu a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; }
html .p23-e1-menu :is(.shop-header-cart-count,.p23-e1-cart-count) { background: #fff; color: #111; border-radius: 20px; padding: 1px 6px; margin-left: 6px; }
html .p23-e1-controls .p23-e1-menu-button { display: none; }

/* Form and action baseline; legacy hover rules used !important. */
html :is(.p23-btn,.p23-button,.p23-bmc-button) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--p23-border);
    border-radius: 5px;
    background: var(--p23-panel);
    color: var(--p23-text);
    font: 500 14px/1.45 var(--p23-font);
    white-space: normal;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}
html :is(.p23-btn,.p23-button):hover { background-color: var(--p23-bg-alt) !important; color: var(--p23-text) !important; opacity: 1; }
html :is(.p23-button--primary,.p23-bmc-button,.footerRED) { background: var(--p23-cta); border-color: var(--p23-cta); color: #fff !important; box-shadow: 0 4px 12px var(--p23-shadow),0 0 23px var(--p23-glow); }
html :is(.p23-button--primary,.p23-bmc-button,.footerRED):hover { background-color: var(--p23-cta-hover) !important; color: #fff !important; }
html .p23-body .p23-button--secondary { border-color: var(--p23-cta); color: var(--p23-text) !important; }
html .p23-body .p23-button--secondary:is(:hover,:focus) { background-color: var(--p23-cta) !important; color: #fff !important; }
html :is(button,input,textarea,select) { font-size: inherit; }
html :is(.p23-input,input:not([type='radio']):not([type='checkbox']):not([type='range']):not([type='hidden']):not([type='submit']):not([type='button']),textarea,select) {
    min-height: 46px;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--p23-border);
    border-radius: 4px;
    background: var(--p23-field);
    color: var(--p23-text);
    line-height: 1.5;
}
html textarea { min-height: 130px; }
html input::placeholder,html textarea::placeholder { color: var(--p23-muted); opacity: 1; }
html :is(input[type='radio'],input[type='checkbox']) { accent-color: var(--p23-cta); }
html :is(.p23-filter-grid label,.shop-form-row label) { line-height: 1.5; gap: 8px; }
html :is(button:disabled,.p23-button:disabled) { cursor: not-allowed; opacity: .55; }
html :is(.p23-consent,.shop-modal-panel,dialog) { background: var(--p23-panel); color: var(--p23-text); border-color: var(--p23-border); }
html :is(.shop-modal-close,.p23-consent .p23-consent__action) { color: var(--p23-text); }
html .p23-consent [data-p23-consent-accept] { color: #fff; background: var(--p23-cta); }
html .p23-consent [data-p23-consent-decline] { color: var(--p23-text); background: var(--p23-bg-alt); }

html .p23-e1-controls .p23-e1-theme { padding: 0; border: 0; border-radius: 0; background: transparent; gap: 8px; }
html .p23-e1-theme select { min-height: 44px; width: 136px; max-width: 136px; padding: 8px 22px 8px 10px; border: 1px solid var(--p23-border); border-radius: 5px; background-color: var(--p23-field); color: var(--p23-text); font-size: 12px; cursor: pointer; }
html .p23-e1-controls .p23-e1-menu-button { background: #b00000 var(--p23-orwal) center / auto 100%; border-color: #cf0000; color: #fff; }
html .p23-e1-controls .p23-e1-menu-button:hover { background-color: #900000 !important; color: #fff !important; }
html .p23-e1-context { width: min(1100px,calc(100% - var(--p23-gutter) * 2)); margin: 0 auto; padding: 16px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; border-bottom: 1px solid var(--p23-line); font-size: 13px; }
html .p23-e1-context :is(a,button) { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; gap: 7px; color: var(--p23-text); }

/* Theme compatibility of existing components. Their structure, ratios and
   functional controls remain original; E2/E4 own their eventual composition. */
html :is(.p23-card,.p23-box,.p23-banner,.p23-topic-button,.p23-series-intro__image,.shop-banner,.shop-download-card,.shop-product-media .p23-gallery-item img,.p23-search-product .p23-card__thumb img) { background: var(--p23-panel); border-color: var(--p23-line); }
html :is(.p23-card,.p23-article-card,.p23-feature,.p23-home-card,.p23-help-card,.shop-card) { border-color: var(--p23-line); box-shadow: none; }
html :is(.p23-card__body,.p23-article-card__body) { padding: 20px; gap: 12px; }
html :is(.p23-card__title,.p23-article-card__title) { line-height: 1.28; }
html :is(.p23-card__meta,.p23-article-card__meta,.p23-article-card__pills,.p23-meta-row) { gap: 10px; }
html :is(.p23-card__pill,.p23-article-card__pill,.p23-tag,.p23-meta-pill) { max-width: 100%; padding: 6px 9px; border: 1px solid var(--p23-line); border-radius: 4px; background: var(--p23-bg-alt); color: var(--p23-text); box-shadow: none; line-height: 1.5; white-space: normal; }
html :is(.p23-card__pill[href],.p23-article-card__pill[href],a.p23-tag,a.p23-meta-pill) { display: inline-flex; align-items: center; min-height: 44px; }
html :is(.p23-card__pill,.p23-article-card__pill):is(:hover,:focus-visible) { background: var(--p23-bg-alt); color: var(--p23-text); border-color: var(--p23-border); transform: none; box-shadow: none; }
html .p23-card__band { color: #fff; }
html .p23-card__band p { color: inherit; }
html :is(.p23-article-content,.p23-article-tldr__content) { color: var(--p23-ink-soft); }
html .p23-article-content p { color: inherit; line-height: 1.85; }
html .p23-article-content :is(h2,h3) { margin-top: 1.65em; margin-bottom: .75em; }
html :is(.p23-article-content,.p23-article-tldr__content) a:not([class]) { color: var(--p23-link); text-decoration-thickness: 1px; }
html :is(.p23-toc,.p23-quote,.p23-feature--team,.p23-support__inner,.p23-help-option,.p23-tldr-switch,.p23-article-tldr) { background: var(--p23-bg-alt); }
html :is(.p23-podcast-player__eyebrow,.p23-podcast-player__speed-label,.p23-podcast-player__speed-btn,.p23-podcast-player__status,.p23-podcast-player__hint) { color: var(--p23-muted); }
html .p23-podcast-player__speed-btn.is-active { background: var(--p23-cta); color: #fff; }
html .p23-box--warning { border-color: #a47700; }
html .p23-box--success { border-color: #36814b; }
html .p23-box--danger { border-color: var(--p23-cta); }
/* Readability floor for the original storefront: preserve routes and actions. */
html .shop-card { min-width: 0; background: var(--p23-panel); color: var(--p23-text); border-color: var(--p23-line); }
html .shop-card-body { min-width: 0; background: transparent; color: var(--p23-text); gap: 12px; }
html .shop-card-body h3 .p23-meta-link { color: var(--p23-text); text-shadow: none; }
html .shop-card-actions { min-width: 0; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
html .shop-card-actions > * { max-width: 100%; min-width: 0; }
html .shop-card-actions .p23-button { min-width: 44px; }
html .shop-category-chips-inner { background: var(--p23-panel); border: 0; border-bottom: 1px solid var(--p23-line); border-radius: 0; box-shadow: none; padding: 10px 0 14px; gap: 8px; scrollbar-color: var(--p23-border) transparent; }
html .shop-category-chips-inner::-webkit-scrollbar-thumb { background: var(--p23-border); }
html :is(.shop-price,.shop-price-main) { color: var(--p23-text); }
html :is(.shop-chip,.shop-badge-chip) { background: var(--p23-panel); color: var(--p23-text); border-color: var(--p23-border); }
html .shop-chip { min-height: 44px; border-radius: 4px; box-shadow: none; }
html .shop-chip.is-active { color: #fff; background: #b00000 var(--p23-orwal) center / auto 100%; border-color: var(--p23-cta); }
html .shop-chip.is-featured:not(.is-active) { color: var(--p23-text); background: var(--p23-panel); border: 1px solid var(--p23-cta); box-shadow: none; }
html .shop-chip--separator { min-width: 0; border: 0; background: transparent; color: var(--p23-muted); padding-inline: 0; }
html :is(.shop-footerbar,.shop-cartbar,.shop-sticky-add) { background: var(--p23-panel); color: var(--p23-text); border-color: var(--p23-border); }
html :is(.shop-cartbar-link--primary,.shop-sticky-cart--primary) { background: var(--p23-cta); border-color: var(--p23-cta); color: #fff; }
html :is(.shop-toast,.shop-badge,.shop-badge-inline) { background: var(--p23-cta); color: #fff; }
html :is(.shop-badge--best,.shop-badge-inline.shop-badge--best) { background: #c19b2e; color: #111; }

html :is(.p23-card__pill[href],.p23-article-card__pill[href]):is(:hover,:focus-visible) { color: var(--p23-text); background: var(--p23-bg-alt); border-color: var(--p23-border); box-shadow: none; }

/* B19 footer asset, unchanged in both themes. */
html .p23-e1-footer {
    position: relative;
    isolation: isolate;
    margin-top: 48px;
    padding: 32px 0 24px;
    background: #303030 url('/assets/facelift/orwal-footer.avif') center / cover;
    border-top: 1px solid #646464;
    color: #f5f5f5;
    --p23-text: #f5f5f5;
    --p23-muted: #d5d5d5;
    --p23-panel: #242424;
    --p23-field: #242424;
    --p23-bg-alt: #303030;
    --p23-line: #646464;
    --p23-border: #777;
    --p23-focus: #fff;
    --p23-link: #fff;
    --color-text: #f5f5f5;
    --color-text-muted: #d5d5d5;
}
html .p23-e1-footer::before { content: none; }
html .p23-e1-footer-inner { width: min(1100px,calc(100% - var(--p23-gutter) * 2)); max-width: 1100px; margin: auto; padding: 0; font-size: 13px; line-height: 1.7; }
html .p23-e1-footer :is(p,a,button,h2,h3) { color: inherit; }
html .p23-e1-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
html .p23-e1-footer :is(.p23-e1-footer-links,.p23-e1-footer-socials) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; }
html .p23-e1-footer :is(.p23-e1-footer-links,.p23-e1-footer-socials) a { display: inline-flex; align-items: center; min-height: 44px; }
html .p23-e1-footer-bottom { border-top: 1px solid #777; margin-top: 24px; padding-top: 20px; color: #d5d5d5; }
html .p23-e1-help { margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid #777; }
html .p23-e1-help .p23-e1-help-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
html .p23-e1-help .p23-e1-help-actions a { display: inline-flex; align-items: center; min-height: 44px; }
html .p23-e1-help h2 { margin: 0 0 18px; font-size: 21px; }
html .p23-e1-help-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
html .p23-e1-help-card { min-width: 0; padding: 18px; border: 1px solid #777; border-radius: 5px; background: #242424dc; }
html .p23-e1-help-card h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.4; }
html .p23-e1-help-card p { margin: 0 0 12px; color: #d5d5d5; font-size: 13px; }
html .p23-e1-help-card :is(a,button) { display: inline-flex; align-items: center; min-height: 44px; }
html .p23-e1-help-card[aria-disabled='true'] { border-style: dashed; background: #303030dc; }

@media (max-width: 1100px) {
    html .p23-e1-head-inner { gap: 12px; }
    html .p23-e1-menu :is(a,button) { padding-inline: 7px; font-size: 11px; }
}
@media (max-width: 1039px) {
    html .p23-e1-head-inner { flex-wrap: wrap; }
    html.p23-e1-js .p23-e1-controls .p23-e1-menu-button { display: inline-flex; }
    html .p23-e1-menu { display: flex; flex: 1 1 100%; align-items: stretch; margin-bottom: 12px; padding: 10px; }
    html .p23-e1-menu-links { align-items: stretch; flex-direction: column; }
    html .p23-e1-menu :is(a,button) { justify-content: flex-start; min-height: 48px; padding: 12px; font-size: 14px; border-radius: 0; }
    html .p23-e1-brand span { display: none; }
}
@media (max-width: 600px) {
    html:root { --p23-gutter: 16px; }
    html .p23-main { padding-top: 24px; padding-bottom: 36px; }
    html .p23-e1-head-inner { min-height: 0; padding: 10px 16px; gap: 8px; }
    html .p23-e1-brand img { width: 124px; height: 62px; }
    html .p23-e1-controls { flex: 1 1 100%; width: 100%; margin: 0; gap: 6px; flex-wrap: nowrap; }
    html .p23-e1-theme { flex: 0 0 auto; }
    html .p23-e1-theme > span,
    html .p23-e1-search-label { display: none; }
    html .p23-e1-theme select { width: 128px; max-width: 128px; }
    html .p23-e1-controls .p23-button { flex: 0 0 auto; padding: 9px 8px; gap: 6px; font-size: 12px; line-height: 1.4; }
    html .p23-e1-controls a[aria-label='Vyhledávání'] { width: 44px; min-width: 44px; }
    html .p23-e1-menu { margin-bottom: 6px; }
    html :is(.p23-card__body,.p23-article-card__body) { padding: 18px; }
    html .shop-product-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
    html .shop-product-grid .shop-card { padding: 18px; gap: 16px; }
    html .shop-product-grid .shop-card-body h3 { font-size: 22px; line-height: 1.28; min-height: 0; }
    html .shop-product-grid .shop-price-main { font-size: 22px; }
    html .shop-product-grid :is(.shop-muted,.shop-card-variant-hint,.shop-price-sub) { font-size: 12px; }
    html .p23-e1-footer { margin-top: 32px; padding-top: 28px; }
    html .p23-e1-help-grid { grid-template-columns: 1fr; gap: 12px; }
    html .p23-e1-help-card { padding: 16px 18px; }
    html .p23-e1-footer :is(.p23-e1-footer-links,.p23-e1-footer-socials) { gap: 8px 16px; }
}
@media (max-width: 360px) {
    html .p23-e1-brand img { width: 110px; height: 55px; }
    html .p23-e1-head-inner { gap: 8px; }
    html .p23-e1-controls { gap: 4px; }
    html .p23-e1-theme select { width: 112px; max-width: 112px; padding-inline: 7px 18px; font-size: 11px; }
    html .p23-e1-controls .p23-button { padding-inline: 8px; font-size: 11px; }
    html .p23-e1-controls a[href$='/cart'] :is(em,.p23-icon) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html:root { scroll-behavior: auto; }
    html *,html *::before,html *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* Shared table controls keep neutral surfaces in both themes. */
html .shop-table th { background: var(--p23-bg-alt); color: var(--p23-text); }
html .shop-table td { color: var(--p23-text); border-color: var(--p23-line); }
html .shop-table tr:nth-child(even) { background: var(--p23-bg-alt); }
html .p23-e1-footer .p23-e1-help-actions { justify-content: center; }
html .p23-e1-footer .p23-e1-footer-socials { justify-content: center; }
html .p23-e1-footer .p23-consent-settings { color: #f5f5f5; min-height: 44px; padding: 8px; }
html #upBTN { color: #fff; min-width: 44px; min-height: 44px; border: 1px solid #cf0000; background: #b00000 var(--p23-orwal) center/cover; border-radius: 5px; }
/* Narrow screens use the in-flow footer link so no control covers fields/cards.
   The legacy scroll handler sets display inline, hence the explicit override. */
@media (max-width: 760px) { html #upBTN { display: none !important; } }
@media(max-width:720px) { html .shop-footerbar.p23-e1-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); } }
/* Low-opacity neutral Orwal stays legible beneath action labels. */
html .p23-button { position: relative; isolation: isolate; }
html .p23-button::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: url('/assets/facelift/orwal-gray.avif') center/auto 100%; opacity: .08; }
html .p23-e1-menu-button::before { display: none; }
/* Text alternatives keep icon-only destinations visible when JS is disabled. */
html:not(.p23-e1-js) em[class*='fa-']::before { font-style: normal; font: 500 13px/1.4 'P23-SANS',sans-serif; }
html:not(.p23-e1-js) .fa-youtube::before { content: 'YouTube'; }
html:not(.p23-e1-js) .fa-spotify::before { content: 'Spotify'; }
html:not(.p23-e1-js) .fa-podcast::before { content: 'Podcast'; }
html:not(.p23-e1-js) .fa-facebook::before { content: 'Facebook'; }
html:not(.p23-e1-js) .fa-instagram::before { content: 'Instagram'; }
html:not(.p23-e1-js) .fa-tiktok::before { content: 'TikTok'; }
html:not(.p23-e1-js) .fa-magnifying-glass::before { content: '⌕'; }
html:not(.p23-e1-js) .fa-arrow-up::before { content: '↑'; }
html:not(.p23-e1-js) .fa-arrow-left::before { content: '←'; }
html:not(.p23-e1-js) .fa-arrow-up-right-from-square::before { content: '↗'; }
html:not(.p23-e1-js) .fa-house::before { content: 'Domů'; }
html:not(.p23-e1-js) .fa-heart::before { content: '♡'; }
html:not(.p23-e1-js) .fa-user::before { content: 'Účet'; }
html:not(.p23-e1-js) .fa-copy::before { content: 'Kopírovat'; }
html:not(.p23-e1-js) .fa-bars::before { content: '☰'; }
html:not(.p23-e1-js) .fa-bag-shopping::before { content: ''; }

/* The footer is now in document flow: legacy fixed-footer offsets must not
   reserve its height a second time or move the cart above the whole footer. */
html .p23-e1-shop { --shop-footer-offset: 0px; --shop-up-offset: calc(var(--shop-sticky-offset, 0px) + 64px); }
html .p23-e1-shop .p23-main { padding-bottom: 48px; }
html .p23-e1-shop .p23-e1-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }

/* E1 correction: B19 remains the visual reference. The appearance preference
   lives in the footer; the header uses B19's compact horizontal proportions. */
html .p23-e1-footer-appearance { display: flex; justify-content: center; margin: 24px 0; }
html .p23-e1-footer .p23-e1-theme { display: inline-flex; gap: 12px; padding: 0; border: 0; background: transparent; color: #f5f5f5; }
html .p23-e1-footer .p23-e1-theme > span { display: inline; font-size: 14px; }
html .p23-e1-footer .p23-e1-theme select { width: 160px; max-width: 100%; background: #242424; border-color: #777; color: #fff; font-size: 14px; min-height: 44px; }
html .p23-e1-footer .p23-e1-theme select:focus-visible { outline-color: #fff; }
html .p23-e1-brand img { width: 155px; height: 78px; }
html .p23-e1-menu { flex: 0 1 auto; margin-left: auto; }
html .p23-e1-menu-links { flex-wrap: nowrap; }
html .p23-e1-menu :is(a,button) { font-size: 12px; padding: 9px 11px; min-height: 44px; }
html .p23-e1-head-inner { gap: 16px; }
html .p23-e1-controls { margin-left: 0; }
@media(min-width:1040px) {
 html .p23-e1-head-inner { flex-wrap: nowrap; }
 html .p23-e1-controls { order: 2; }
 html .p23-e1-controls:has(a[aria-label='Vyhledávání']) { display: none; }
 html .p23-e1-menu .p23-e1-menu-help { display: none; }
 html .p23-e1-menu :is(a,button) { padding-inline: 8px; }
}
@media(max-width:1039px) {
 html .p23-e1-menu { flex: 1 1 100%; margin-left: 0; }
 html .p23-e1-menu .p23-e1-desktop-search { display: none; }
 html .p23-e1-controls { margin-left: auto; }
 html .p23-e1-menu :is(a,button) { min-height: 48px; padding: 12px; font-size: 14px; }
}
@media(max-width:600px) {
 html .p23-e1-head-inner { min-height: 88px; gap: 12px; padding: 10px 16px; }
 html .p23-e1-brand img { width: 126px; height: 63px; }
 html .p23-e1-controls { flex: 0 0 auto; width: auto; margin-left: auto; gap: 7px; }
 html .p23-e1-controls .p23-button { padding: 8px 10px; }
}
@media(max-width:360px) {
 html .p23-e1-brand img { width: 110px; height: 55px; }
 html .p23-e1-head-inner { gap: 5px; }
 html .p23-e1-controls { gap: 5px; }
 html .p23-e1-controls .p23-button { padding: 8px; font-size: 11px; }
}

/* Shared B19 type and button treatment; page composition is handled in E2. */
html body.p23-body { line-height: 1.6; }
html :is(h1,h2,h3,h4) { padding-top: 0; line-height: 1.18; }
html h1 { font-size: clamp(30px,4.2vw,54px); }
html h2 { font-size: 29px; }
html :is(h3,h4) { text-transform: none; }
html h3 { font-size: 19px; }
html :is(.p23-card,.p23-article-card,.shop-card) h3 { text-transform: uppercase; }
html .p23-button::before { opacity: .07; }
html[data-p23-theme='light'] .p23-button::before { opacity: .22; mix-blend-mode: multiply; }
html :is(.p23-button--primary,.p23-bmc-button,.footerRED,.p23-e1-menu,.p23-e1-controls .p23-e1-menu-button) { background-color: #b00000; background-image: linear-gradient(#00000014,#00000014),var(--p23-orwal); background-size: auto 100%; background-position: center; }
html :is(.p23-button--primary,.footerRED)::before { display: none; }
@media(max-width:600px) { html body.p23-body { font-size: 15px; } html h2 { font-size: 25px; } }
@media(min-width:1040px) and (max-width:1199px) {
 html .p23-e1-head-inner { gap: 12px; padding-inline: 20px; }
 html .p23-e1-brand img { width: 126px; height: 63px; }
 html .p23-e1-menu :is(a,button) { font-size: 11px; padding-inline: 6px; }
}

html .p23-e1-desktop-search { order: -1; }

/* Footer remains dark in either page theme. Native option popups must use
   the same color scheme as their control, not the light page scheme. */
html .p23-e1-footer .p23-e1-theme select { color-scheme: dark; background-color: #242424; color: #fff; }
html .p23-e1-footer .p23-e1-theme select option { background-color: #242424; color: #fff; }

/* B19 mobile menu trigger is neutral; its expanded navigation retains red Orwal. */
html .p23-e1-controls .p23-e1-menu-button { background: var(--p23-panel); border-color: var(--p23-border); color: var(--p23-text); }
html .p23-e1-controls .p23-e1-menu-button:hover { background-color: var(--p23-bg-alt) !important; color: var(--p23-text) !important; }

/* E2 source navigation is in the content, leaving the B19 header compact. */
html .p23-e2-source-return {margin:0 0 20px;font-size:13px}
html .p23-e2-source-return[hidden]{display:none}
html .p23-e2-source-return a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}
html .p23-e2-article .p23-breadcrumbs li:last-child{display:none}


/* Post-launch navigation: keep the masthead reachable without hiding content. */
html:root { --p23-header-height: 99px; scroll-padding-top: var(--p23-header-height); }
html.p23-e1-js body:has(> .p23-e1-head) { padding-top: var(--p23-header-height); }
html.p23-e1-js .p23-e1-head { position: fixed; inset: 0 0 auto; width: 100%; }
html:not(.p23-e1-js) .p23-e1-head { position: sticky; top: 0; }
@media(max-width:1039px) {
 html.p23-e1-js .p23-e1-menu { position: absolute; top: 100%; left: 16px; right: 16px; margin: 0; max-height: calc(100vh - var(--p23-header-height) - 16px); max-height: calc(100dvh - var(--p23-header-height) - 16px); overflow-y: auto; overscroll-behavior: contain; }
}
@media(max-width:600px) { html:root { --p23-header-height: 89px; } }
/* A shared row wraps naturally when the two navigation blocks do not fit. */
html .p23-page-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin: 0 0 20px; min-width: 0; }
html .p23-page-trail .p23-breadcrumbs { flex: 1 1 auto; min-width: 0; margin: 0; }
html .p23-page-trail .p23-breadcrumbs ol { align-items: center; margin: 0; }
html .p23-page-trail .p23-breadcrumbs li { font-size: inherit; line-height: inherit; }
html .p23-page-trail .p23-breadcrumbs :is(a,span) { display: inline-flex; align-items: center; min-height: 44px; }
html .p23-page-trail .p23-e2-source-return { flex: 0 1 auto; margin: 0 0 0 auto; text-align: right; }
/* An authored vector play mark, never a platform emoji glyph. */
html .p23-video-play-icon { font-size: 0; border: 1px solid #ffffff80; background: #101010d9; box-shadow: 0 3px 14px #0006; }
html .p23-video-play-icon::before { content: ''; display: block; width: 30px; height: 30px; margin-left: 4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5a1 1 0 0 1 1.5-.86l12 7.5a1 1 0 0 1 0 1.72l-12 7.5A1 1 0 0 1 7 19.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5a1 1 0 0 1 1.5-.86l12 7.5a1 1 0 0 1 0 1.72l-12 7.5A1 1 0 0 1 7 19.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
html .p23-video-play:hover .p23-video-play-icon { background: #b00000; border-color: #ff0000; }
