/* =====================================================================
   HCS FANSHOP — Apollo/Shoptet override stylesheet (PINK VERSION)

   Components first, global styles first, page-specific overrides only
   where a rule genuinely cannot generalize. Selectors target Shoptet/
   Apollo's own generated class names directly (no template layer to add
   semantic classes at the source). !important is used only where
   required to beat Apollo's own higher-specificity, later-loaded CSS.
   ===================================================================== */

/* =====================================================
   FONT FACES
===================================================== */
@font-face {
    font-family: 'HCS-headline';
    src: url('/user/documents/css/HCS-Headline.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'HCS-paragraph';
    src: url('/user/documents/css/HCS.woff2') format('woff2'),
        url('/user/documents/css/HCS.woff') format('woff');
    font-display: swap;
}

:root {
    /* Fonts */
    --font-heading: 'HCS-headline';
    --font-body: 'HCS-paragraph';

    /* Brand colors */
    --color-tertiary: #ee2b5b;
    /* PINK VERSION override, see note above */
    --color-secondary-hover: #92163b;
    /* Admin's "Konverzní barva po najetí" — not live-wired */
    --color-text-muted: #6b6b6b;
    --color-text-faint: #b5b5b5;
    --color-border-light: #e5e5e5;
    --color-ink: #1B1B1B;
    /* off-black: headings, sidebar dark fill, header bar */

    /* Motion */
    --transition-fast: .2s ease-in-out;
    --transition-normal: .3s ease-in-out;

    /* Shape */
    --border-radius: 0;
    --button-height: 48px;
    --clip-corner: polygon(0 0, 100% 0, 100% calc(100% - 17px), calc(100% - 19.5px) 100%, 0 100%);
    --clip-corner-reverse: polygon(100% 0, 0 0, 0 calc(100% - 17px), 19.5px 100%, 100% 100%);
    /* Spacing — snapped to a 0.25rem grid */
    --space-3xs: 0.5rem;
    --space-2xs: 0.75rem;
    --space-xs: 1rem;
    --space-sm: 1.25rem;
    --space-md: 1.5rem;
    --space-lg: 1.75rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3.25rem;
    --card-padding: var(--space-lg);
    --card-gap: var(--space-2xl);

    /* Elevation */
    --shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}

html,
body {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.benefitBanner__title,
.one-column-body .carousel .extended-banner-texts,
.product .p .name,
.product .p .price,
.product .p .price strong,
.product .p .price span,
.navigation-in>ul>li>a,
.menu-helper>span,
ul.menu-level-2 span,
.navigation-in>ul>li.ext>ul>li>div>ul>li a,
.navigation-buttons button.top-nav-button.top-nav-button-account,
.navigation-buttons>a.top-nav-button-account,
.navigation-buttons button.top-nav-button.top-nav-button-login,
.navigation-buttons>a.top-nav-button-login,
.sr-only,
ol.cart-header,
.next-step,
.price-wrapper,
.price-final,
.price-final-holder,
.btn,
.products .name {
    font-family: var(--font-heading) !important;
}

body,
p,
.availability {
    font-family: var(--font-body) !important;
}

.price-additional,
.price-measure,
.price-save,
.price-standard {
    font-family: var(--font-body) !important;
}

.category-header,
.category-header div {
    font-family: var(--font-body) !important;
}

.category-top .category-title,
h1.category-title,
.sectionDescription>h1,
.news-item-detail>h1,
article.pageArticleDetail header h1 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 64px;
    line-height: 64px;
    letter-spacing: -0.02em;
    font-weight: 400;
    color: var(--color-ink);
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-2xl);
    border-bottom: 3px solid var(--color-secondary);
}

/* Accent arrow on category titles only (not blog/text-page headings
   above) — matches the icon next to "Vstupenky" on hcsparta.cz.
   Mask-based so it follows var(--color-secondary) instead of a
   hardcoded fill. */
.category-top .category-title,
h1.category-title {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3xs);
}

.category-top .category-title::after,
h1.category-title::after {
    content: "";
    flex: none;
    width: 17px;
    height: 20px;
    background-color: var(--color-secondary);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='13' height='15' viewBox='0 0 13 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.16925 0L0 3.3751L3.16925 6.56558L0 9.868L4.88913 15L13 6.59733L6.61627 0H3.16925Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='13' height='15' viewBox='0 0 13 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.16925 0L0 3.3751L3.16925 6.56558L0 9.868L4.88913 15L13 6.59733L6.61627 0H3.16925Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Homepage product-group titles ("Dresy", "Akční zboží", "Novinky", ...)
   get the same accent-arrow treatment as category titles, for one
   consistent heading icon across the site. Centered via justify-content
   since these titles are centered (unlike the left-aligned category
   title's text-align default). */
.homepage-group-title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3rem;
}

.homepage-group-title::after {
    content: "";
    flex: none;
    width: 0.625rem;
    height: 0.875rem;
    background-color: var(--color-secondary);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='13' height='15' viewBox='0 0 13 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.16925 0L0 3.3751L3.16925 6.56558L0 9.868L4.88913 15L13 6.59733L6.61627 0H3.16925Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='13' height='15' viewBox='0 0 13 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.16925 0L0 3.3751L3.16925 6.56558L0 9.868L4.88913 15L13 6.59733L6.61627 0H3.16925Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline-style: solid !important;
    outline-color: var(--color-secondary) !important;
    outline-width: 2px !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

.sidebar-left a:focus-visible {
    outline-offset: -2px !important;
}

.breadcrumbs.navigation-home-icon-wrapper {
    font-family: var(--font-body);
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.breadcrumbs .navigation-home-icon,
.breadcrumbs span {
    color: var(--color-text-muted);
}

.breadcrumbs a:hover {
    color: var(--color-secondary);
}

.breadcrumbs .navigation-bullet {
    margin: 0 var(--space-3xs);
    color: var(--color-text-faint);
}

.search input[type="search"].form-control,
.search .btn,
.search-form,
.search-whisperer {
    border-radius: var(--border-radius) !important;
}

.search.is-searching .search-form {
    padding: 0 !important;
}

.search.is-searching input[type="search"].form-control {
    padding: 10px 50px 10px 12px !important;
    border-color: var(--color-border-light) !important;
}

.search input[type="search"].form-control:focus-visible {
    outline: none !important;
}

.news-item-detail .text h2,
.news-item-detail .text h3,
.news-item-detail .text h4,
.news-item-detail .text h5,
article.pageArticleDetail h2,
article.pageArticleDetail h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 400;
    color: var(--color-primary);
}

.news-item-detail .text ul li::marker,
.news-item-detail .text ol li::marker,
article.pageArticleDetail ul li::marker,
article.pageArticleDetail ol li::marker {
    color: var(--color-secondary);
}

.news-item-detail .text table th {
    font-family: var(--font-heading);
    text-transform: uppercase;
    background: var(--color-primary);
    color: #fff;
}

.news-item-detail .text table,
.news-item-detail .text table td,
.news-item-detail .text table th {
    border-color: var(--color-secondary);
}

.btn {
    border-radius: var(--border-radius) !important;
}

.btn:not(.cart-count, .increase, .decrease, [data-testid="buttonPrevStep"], [data-testid="searchBtn"], .toggle-top-products, .unveil-button),
[data-testid="buttonSendComment"],
.back-to-shop,
[data-testid="buttonBackToShop"],
[data-testid="buttonPrevStep"],
.login-form a[data-testid="signup"] {
    background: var(--color-secondary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    clip-path: var(--clip-corner) !important;
    min-height: var(--button-height);
    padding: 0 var(--space-2xl);
    align-items: center;
    display: inline-flex;
    justify-content: center;
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
    line-height: 20px !important;
    letter-spacing: -0.02em !important;
    text-align: center;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

[data-testid="buttonPrevStep"],
[data-testid="buttonBackToShop"],
.back-to-shop {
    clip-path: var(--clip-corner-reverse) !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 var(--space-2xl) !important;
}

[data-testid="buttonPrevStep"]::before,
[data-testid="buttonBackToShop"]::before,
.back-to-shop::before {
    font-size: 22px !important;
    color: #fff !important;
}

.login-form a[data-testid="signup"] {
    background: var(--color-primary) !important;
}

.btn.btn-secondary {
    background: var(--color-ink) !important;
}

[data-testid="buttonPrevStep"] {
    background: var(--color-ink) !important;
    margin: var(--space-md) 0 0 !important;
}

[data-testid="buttonPrevStep"]:hover {
    background: var(--color-secondary) !important;
}

/* === CART WIZARD BACK BUTTON: TEXT-ONLY ===
   Ticket feedback: strip the solid-button treatment down to a plain text
   link, matching .cart-header__back .next-step-back's pattern elsewhere
   on this page. Placed after the shared button/back-button rules above
   (same selector, later in source) so it wins at equal specificity
   without touching [data-testid="buttonBackToShop"]/.back-to-shop, which
   share those rules but are NOT covered by this ticket item.
   Confirmed live: buttonPrevStep carries the identical data-testid on
   both step 2 and step 3, so this one rule covers both. */
[data-testid="buttonPrevStep"] {
    background: transparent !important;
    clip-path: none !important;
    color: var(--color-text-muted) !important;
    padding: 0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
    text-decoration: none;
}

[data-testid="buttonPrevStep"]::before {
    color: var(--color-text-muted) !important;
}

[data-testid="buttonPrevStep"]:hover {
    background: transparent !important;
    color: var(--color-secondary) !important;
}

[data-testid="buttonPrevStep"]:hover::before {
    color: var(--color-secondary) !important;
}

.next-step--step-1 [data-testid="buttonPrevStep"],
.next-step--step-1 .next-step-forward {
    align-self: stretch;
}

.btn:not(.cart-count, .increase, .decrease, [data-testid="buttonPrevStep"], [data-testid="searchBtn"], .toggle-top-products, .unveil-button):hover,
[data-testid="buttonSendComment"]:hover,
.back-to-shop:hover,
[data-testid="buttonBackToShop"]:hover {
    background: var(--color-secondary-hover) !important;
    color: #fff !important;
}

.btn.btn-secondary:hover {
    background: var(--color-secondary) !important;
}

.login-form a[data-testid="signup"]:hover {
    background: var(--color-ink) !important;
    color: #fff !important;
}

.btn.btn-cart::after,
.btn.add-to-cart-button::after {
    display: none;
}

.product .p .name,
.product .p .price,
.product .p .price strong,
.product .p .price span {
    text-transform: uppercase;
}

.product .p .name {
    font-size: 1.6rem;
    /* was 18px default, confirmed live */
}

/* Product slider sections (e.g. "Dresy") stay on the default white
   background — only the benefit-banners/next-to-carousel-banners band
   below the carousel gets the gray treatment, see .banners-top-block
   below. */
.content-wrapper.products-group {
    background-color: transparent;
}

.product .p {
    border-radius: var(--border-radius);
    box-shadow: none;
}

.p-bottom .p-desc {
    max-height: 150px;
}

.product .p {
    transition: box-shadow var(--transition-fast);
}

.product .p:hover {
    box-shadow: var(--shadow);
}

.product .p .image img {
    transition: transform var(--transition-normal);
}

.product .p:hover .image img {
    transform: scale(1.03);
}

span.flag {
    border-radius: var(--border-radius) !important;
    font-family: var(--font-body) !important;
    text-decoration: none;
    text-transform: none;
}

.flag.flag-tip {
    background-color: var(--color-secondary);
}

.flag.flag-new {
    background-color: var(--color-primary);
}

.flag.flag-action {
    /* Ticket feedback: Akce badge must stay/revert to true HCS yellow,
       not the pink-version's --color-tertiary override. Hardcoded here
       rather than touching the token, since --color-tertiary is pink
       by design everywhere else in this build. */
    background-color: #ffcd05 !important;
    color: #000;
}

.flag.flag-custom1 {
    /* "Výprodej" — deliberately left on the shared pink token per
       SUGGESTIONS.md Priority 1 ("what shipped"); do not merge this
       back with .flag-action, they must diverge. */
    background-color: var(--color-tertiary) !important;
    color: #fff;
}

.flag.flag-discount::before {
    /* Same fix as .flag-action above: starburst fill swapped from pink
       (%23ee2b5b) to true HCS yellow (%23ffcd05). Fill can't reference
       var(--color-tertiary) since it's inside a data-URI. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg%3E%3Cg%3E%3Cpath fill='%23ffcd05' d='M93.71 42.777l-3.374-5.121a3.181 3.181 0 0 1-.507-1.844l.333-6.193a9.472 9.472 0 0 0-5.197-8.995l-5.49-2.777a2.987 2.987 0 0 1-1.327-1.328l-2.774-5.485a9.424 9.424 0 0 0-8.993-5.199l-6.195.334c-.65.034-1.29-.14-1.833-.5l-5.131-3.38A9.46 9.46 0 0 0 48 .722a9.457 9.457 0 0 0-5.22 1.566l-5.122 3.373a3.21 3.21 0 0 1-1.843.508l-6.193-.334a9.425 9.425 0 0 0-8.995 5.197l-2.778 5.491a2.986 2.986 0 0 1-1.327 1.326l-5.486 2.774a9.472 9.472 0 0 0-5.198 8.993l.334 6.198a3.013 3.013 0 0 1-.501 1.83l-3.38 5.132a9.474 9.474 0 0 0 0 10.443l3.372 5.12c.358.557.533 1.2.509 1.843l-.334 6.194a9.471 9.471 0 0 0 5.196 8.995l5.492 2.777a2.989 2.989 0 0 1 1.325 1.328l2.774 5.485a9.426 9.426 0 0 0 8.994 5.198l6.196-.333c.65-.036 1.287.14 1.832.5l5.132 3.38A9.46 9.46 0 0 0 48 95.274a9.463 9.463 0 0 0 5.221-1.566l5.121-3.373a3.2 3.2 0 0 1 1.843-.508l6.193.333a9.424 9.424 0 0 0 8.995-5.196l2.777-5.491a2.991 2.991 0 0 1 1.328-1.326l5.486-2.774a9.47 9.47 0 0 0 5.198-8.993l-.333-6.2c-.037-.64.14-1.288.5-1.828l3.38-5.132a9.477 9.477 0 0 0 0-10.442z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
}

/* Target .next-to-carousel-banners / .banner-wrapper directly rather than
   scoping under .banners-top-block: the live (anonymous) homepage nests
   these under .before-carousel > .banners-row > .col-sm-4, while the
   admin theme-preview renders them under a separate .banners-top-block
   wrapper instead. Only these two classes are common to both, confirmed
   2026-08-12 by diffing an authenticated vs. anonymous fetch of the
   homepage — .banners-top-block never appears in the anonymous response,
   so scoping under it silently no-ops for real visitors. */
/* "Same aspect ratio as the rest (1:1)" set on the wrapper itself (not
   just the img) so it also governs the text-only variant below, which has
   no img element to size off of — before this, only that text variant had
   an explicit ratio (512/384, a wide 4:3) while the image tiles merely
   looked square by coincidence (stretch-matched row height on desktop,
   the photos' own intrinsic ratio on mobile), so the two kinds visibly
   mismatched once the text banner's shorter box sat next to a square
   photo tile. */
.next-to-carousel-banners .banner-wrapper {
    padding: 0 !important;
    margin: 0;
    border-radius: var(--border-radius);
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1;

    max-width: 100% !important;
    width: 100%;
}

.next-to-carousel-banners {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch !important;
}

.next-to-carousel-banners .banner-wrapper a,
.next-to-carousel-banners .banner-wrapper img {
    border-radius: var(--border-radius);
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.next-to-carousel-banners .banner-wrapper img {
    object-fit: cover !important;
}

/* Vertical divider between banners, side-by-side on desktop. Below 768px
   the grid collapses to a single stacked column (media query further
   down forces it explicitly, since auto-fit's own fluid collapse point
   isn't a fixed pixel value we can rely on lining up with this same
   breakpoint) — a right-border there just paints a stray line down the
   screen edge instead of separating anything, so it's swapped for a
   horizontal divider between the stacked tiles instead. */
.next-to-carousel-banners .banner-wrapper::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 2px !important;
    background: var(--color-secondary) !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

.next-to-carousel-banners .banner-wrapper:last-of-type::after {
    display: none !important;
}

@media (max-width: 767px) {
    .next-to-carousel-banners {
        grid-template-columns: 1fr !important;
    }

    .next-to-carousel-banners .banner-wrapper::after {
        display: none !important;
    }

    .next-to-carousel-banners .banner-wrapper:not(:first-child) {
        border-top: 2px solid var(--color-secondary);
    }
}

.next-to-carousel-banners .banner-wrapper:not(:has(a)):not(:has(img)) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--font-heading) !important;
    font-size: 2.75rem;
    padding: 10px;
    background-color: var(--color-tertiary);
    color: #fff;
}

.next-to-carousel-banners .banner-wrapper:has(span.yellow) {
    background-color: var(--color-tertiary) !important;
    color: #fff;
}

.next-to-carousel-banners .banner-wrapper:has(span.pink) {
    background-color: var(--color-secondary) !important;
    color: #fff;
}

.next-to-carousel-banners .banner-wrapper:has(span.black) {
    background-color: var(--color-primary) !important;
    color: #fff;
}

/* Benefit-banners + next-to-carousel-banners band — the only gray
   section on the homepage. Both ancestor selectors are included since
   the two homepage template states use different wrapper classes around
   .next-to-carousel-banners (see note above). Bottom padding on the
   inner wrapper so the gray extends past the banner grid instead of
   being cut off flush against its bottom edge. */
.content-wrapper.homepage-box.before-carousel,
.content-wrapper.banners-top-block {
    background-color: #f5f5f5 !important;
    margin: 0px !important;
}

.before-carousel .content-wrapper-in,
.banners-top-block .container {
    background-color: #f5f5f5 !important;
    padding-bottom: var(--space-3xl) !important;
}

.content-wrapper.homepage-box.middle-banners-wrapper,
.middle-banners-wrapper .content-wrapper-in {
    background-color: var(--color-secondary-hover) !important;
}

.middle-banners-wrapper .content-wrapper-in {
    background-image: url('/user/documents/css/bg-pattern-portrait-light.svg') !important;
    background-repeat: repeat-x !important;
    background-position: center center !important;
    background-size: auto 100% !important;
}

.body-banners>div {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

/* Feedback #2: pink divider between stacked banners on mobile. Banners here
   already stack full-width at every breakpoint (rule above), so the seam
   between two stacked banners runs horizontally — a top border on every
   banner but the first draws one line per seam without a doubled-up line
   from adjoining bottom+top borders. */
@media (max-width: 767px) {
    .body-banners>div+div {
        border-top: 2px solid var(--color-secondary);
        padding-top: var(--space-sm);
    }
}

/* "All banners aspect-ratio: 1/1" — aspect-ratio now governs the box, so
   the old height:auto/max-height:450px (sized from the image's own
   intrinsic ratio) is replaced rather than layered on top of it. */
.body-banners img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.body-banners a,
.body-banners .banner-wrapper {
    border-radius: var(--border-radius);
}

#header,
.submenu-visible:not(.menu-helper-visible) #header,
.menu-helper {
    background-color: var(--color-primary);
    color: #fff;
}

.top-navigation-bar,
.submenu-visible:not(.menu-helper-visible) .top-navigation-bar {
    background-color: var(--color-ink);
    color: #454545;
}

.top-navigation-bar .container>div.top-navigation-contacts {
    background-color: transparent;
    border-radius: var(--border-radius);
}

.top-navigation-bar .top-navigation-contacts a {
    background-color: var(--color-secondary) !important;
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 var(--space-sm);
    transition: background-color var(--transition-fast);
}

.top-navigation-bar .top-navigation-contacts a:hover {
    background-color: var(--color-secondary-hover) !important;
}

.top-navigation-bar .top-navigation-contacts a,
.top-navigation-bar .top-navigation-contacts a span,
.top-navigation-bar .top-navigation-contacts a:before {
    color: #fff !important;
}

.top-navigation-bar-menu a:hover {
    color: #fff !important;
}

/* =====================================================
   NAVIGATION
===================================================== */
.navigation-in>ul>li.ext>a:after {
    color: #ffffff;
}

.navigation-in>ul>li.ext>a:hover:after {
    color: var(--color-secondary);
}

#navigation a:hover {
    color: #fff;
}

.navigation-buttons button.top-nav-button.top-nav-button-account:hover,
.navigation-buttons>a.top-nav-button-account:hover,
.navigation-buttons button.top-nav-button.top-nav-button-login:hover,
.navigation-buttons>a.top-nav-button-login:hover,
.navigation-buttons button.top-nav-button.top-nav-button-account:hover:after,
.navigation-buttons>a.top-nav-button-account:hover:after,
.navigation-buttons button.top-nav-button.top-nav-button-login:hover:after,
.navigation-buttons>a.top-nav-button-login:hover:after,
.navigation-buttons button.top-nav-button.top-nav-button-account:hover:before,
.navigation-buttons>a.top-nav-button-account:hover:before,
.navigation-buttons button.top-nav-button.top-nav-button-login:hover:before,
.navigation-buttons>a.top-nav-button-login:hover:before,
.header-top .btn.cart-count:hover .cart-price,
.btn.cart-count:hover::before,
.navigation-buttons a:hover,
.navigation-buttons a:hover::before {
    color: #fff !important;
}

.navigation-buttons button.top-nav-button.top-nav-button-account[aria-expanded="true"]:hover,
.navigation-buttons>a.top-nav-button-account[aria-expanded="true"]:hover,
.navigation-buttons button.top-nav-button.top-nav-button-login[aria-expanded="true"]:hover,
.navigation-buttons>a.top-nav-button-login[aria-expanded="true"]:hover,
.navigation-buttons button.top-nav-button.top-nav-button-account[aria-expanded="true"]:hover:after,
.navigation-buttons>a.top-nav-button-account[aria-expanded="true"]:hover:after,
.navigation-buttons button.top-nav-button.top-nav-button-login[aria-expanded="true"]:hover:after,
.navigation-buttons>a.top-nav-button-login[aria-expanded="true"]:hover:after,
.navigation-buttons button.top-nav-button.top-nav-button-account[aria-expanded="true"]:hover:before,
.navigation-buttons>a.top-nav-button-account[aria-expanded="true"]:hover:before,
.navigation-buttons button.top-nav-button.top-nav-button-login[aria-expanded="true"]:hover:before,
.navigation-buttons>a.top-nav-button-login[aria-expanded="true"]:hover:before,
/* .full scopes the cart-price/icon pair to the populated cart only.
   Feedback: "empty cart hover doesn't open any white menu so it should
   be white (not dark)" — confirmed live: Apollo sets aria-expanded=
   "true" on hover even for an empty cart (class stays "cart-count
   hovered", no "full"), but no white flyout actually renders for it,
   unlike the populated cart's mini-cart panel this dark-ink rule was
   written for — so the price/icon went dark-on-dark against the still-
   black header. */
.header-top .btn.cart-count.full[aria-expanded="true"]:hover .cart-price,
.header-top .btn.cart-count.full[aria-expanded="true"]:hover::before {
    color: var(--color-ink) !important;
}


/* FOLLOW-UP (reported: "after first hover it stays white"): confirmed
   live — Apollo's JS adds aria-expanded="true" on hover but doesn't
   reliably remove it again on mouseleave for the empty cart (no flyout
   ever opens to anchor a proper close event), so it stays stuck true
   indefinitely after the first hover. The [aria-expanded="true"]-only
   version of this rule (no :hover) therefore also stayed matched
   forever. Confirmed live that Apollo's own black-arrow rule requires
   real :hover too (with aria-expanded="true" alone and no :hover, the
   arrow is back to its normal default gray, not black) — added :hover
   here to match exactly, so our override also stops the instant the
   mouse leaves regardless of the stuck attribute. */
.header-top .btn.cart-count:not(.full)[aria-expanded="true"]:hover::after {
    color: #fff !important;
}

/* Feedback: "transition delay should be the same, I think it's .3s" —
   confirmed live: Apollo sets "transition: all 0s 0s" on the cart
   toggle's icon/arrow/price (instant, no animation) while the button
   itself transitions over .3s, so the color snap looked out of sync
   with everything else. Matched to the same var(--transition-normal)
   the button already uses. Set on the base (non-hover) selector so it
   applies both entering and leaving hover, not just one direction. */
.header-top .btn.cart-count::after,
.header-top .btn.cart-count::before,
.header-top .btn.cart-count .cart-price {
    transition: color var(--transition-normal) !important;
}

.cart-widget-button {
    background-color: #fff;
}

/* === MINI-CART LIGHTBOX ===
   Confirmed live: .user-action-cart.popup-widget.cart-widget is the only
   element carrying radius (20px 0 20px 20px, asymmetric) — everything
   inside (.popup-widget-inner, .cart-widget-product, the CTA button) is
   already flat. */
.user-action-cart.popup-widget.cart-widget {
    border-radius: var(--border-radius) !important;
}

/* === LOGIN LIGHTBOX ===
   Confirmed live: .user-action-login.popup-widget.login-widget is the only
   element carrying radius (20px, all corners) — everything inside is
   already flat. */
.user-action-login.popup-widget.login-widget {
    border-radius: var(--border-radius) !important;
}

.navigation-in ul.menu-level-2 a:hover,
.navigation-in ul.menu-level-2 span:hover {
    color: var(--color-secondary);
}

.top-navigation-bar .top-navigation-contacts a span,
.top-navigation-bar .top-navigation-contacts a:before,
.navigation-in>ul>li>a,
.menu-helper>span,
ul.menu-level-2 span,
.navigation-in>ul>li.ext>ul>li>div>ul>li a {
    color: #fff;
}

.menu-helper>span {
    border: 0;
    transition: color 0s ease-in-out .2s;
}


.menu-helper:hover>span {
    color: var(--color-ink) !important;
}

.menu-helper ul.menu-level-1>li>a,
.menu-helper ul.menu-level-2 span,
.menu-helper ul.menu-level-3 a {
    color: var(--color-ink) !important;
}

/* === "VÍCE" HEADER DROPDOWN ===
   Confirmed live: .menu-helper ul.menu-level-1 (the "více" flyout, distinct
   from the main nav's ul.menu-level-1 which is already flat) carries
   radius (20px 0 20px 20px, asymmetric). */
.menu-helper ul.menu-level-1 {
    border-radius: var(--border-radius) !important;
}

/* Feedback #2: "cancel the radius already before the menu opens" — Apollo's
   own CSS (fetched from cdn.myshoptet.com/usr/apollo.jakubtursky.sk) has
   .menu-helper-visible .menu-helper>span{border-radius:20px 20px 0 0;...}
   — the "VÍCE" toggle itself only picks up rounded top corners once the
   flyout is open (it's flat/transparent while closed, confirmed via
   getComputedStyle), which is what made the radius look like it appeared
   from nowhere right as the menu opened. Flattening it to match the
   already-flat ul.menu-level-1 flyout above. */
.menu-helper-visible .menu-helper>span {
    border-radius: var(--border-radius) !important;
}



.navigation-window-visible #navigation ul.menu-level-1>li>a,
.navigation-window-visible #navigation ul.menu-level-2 span,
.navigation-window-visible #navigation ul.menu-level-3 a {
    color: #fff !important;
    /* was var(--color-ink) — written for the white bg this now replaces */
}

/* === NAVIGATION ITEM COLORS (responsive) ===
   Desktop: white text (dark header background).
   Mobile: black (--color-ink) text — the off-canvas #navigation panel has
   no background override now, so it sits on Apollo's plain white default,
   and black is what's actually readable against it. Includes the
   submenu-arrow chevron so it always matches the link text next to it.

   SPECIFICITY NOTE: the mobile block must beat the .navigation-window-
   visible rule directly above (1 id + 2 classes + 3 types). A bare
   "#navigation .navigation-in ..." selector (1 id + 1 class + 3 types) is
   LESS specific and would lose regardless of file order — !important on
   both sides doesn't change that, since ties are still broken by
   specificity first. .navigation-window-visible is included in the
   mobile selector too so it actually wins (harmless either way: that
   class is only present while the mobile panel is open, the only time
   this text is visible at all). */
@media (min-width: 768px) {

    #navigation .navigation-in>ul>li>a,
    #navigation .navigation-in ul.menu-level-2 span,
    #navigation .navigation-in ul.menu-level-3 a,
    #navigation .navigation-in>ul>li.ext>ul>li>div>ul>li a,
    #navigation .navigation-in .submenu-arrow {
        color: #fff !important;
    }
}

@media (max-width: 767px) {

    .navigation-window-visible #navigation .navigation-in>ul>li>a,
    .navigation-window-visible #navigation .navigation-in ul.menu-level-2 span,
    .navigation-window-visible #navigation .navigation-in ul.menu-level-3 a,
    .navigation-window-visible #navigation .navigation-in>ul>li.ext>ul>li>div>ul>li a,
    .navigation-window-visible #navigation .navigation-in .submenu-arrow {
        color: var(--color-ink) !important;
    }
}

.navigation-in>ul>li.ext>ul:before {
    background-color: var(--color-primary);
}

.category-link__icon--big {
    background-color: transparent;
}

.category-link__icon {
    border-radius: var(--border-radius) !important;
}

.category-link__icon span {
    background-color: #fff !important;
}

.sidebar-left .box-categories {
    background: var(--color-ink);
}

.sidebar-left .box-categories>.pageElement__heading,
.sidebar-left .box-filters>h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--color-primary);
    color: #fff;
    width: calc(100% + 6rem);
    margin: -3rem -3rem var(--space-lg) -3rem;
    padding: var(--space-md) var(--space-lg);
}

.sidebar-left .box-categories>.pageElement__heading,
.sidebar-left .box-filters>h4 {
    border-radius: var(--border-radius);
}

.sidebar-left .box-categories,
.sidebar-left .box-filters {
    border-radius: var(--border-radius) !important;
}

.sidebar-left .box-categories>.pageElement__heading {
    background: var(--color-tertiary);
}

.sidebar-left .box-categories>.pageElement__heading,
.sidebar-left .box-filters>h4 {
    padding-left: 5.5rem;
}

.box-filters .slider-wrapper>h4,
.box-common .pageElement__heading {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin: 0 0 var(--space-sm);
    padding-bottom: var(--space-2xs);
    border-bottom: 2px solid var(--color-primary);
}

#categories .categories>.topic>a {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 1.3rem;
    letter-spacing: 0.01em;
    color: #fff;
}

#categories .categories.active>.topic>a {
    color: #fff;
}

#categories .categories ul li a {
    color: #fff;
}

#categories .categories ul li a:hover,
#categories .categories>.topic>a:hover {
    color: #fff;
}

#categories .categories a:hover .cat-trigger::before {
    color: #fff !important;
}


.categories-new-design #categories .topic>a,
#categories .categories ul li a {
    margin: 0 -3rem !important;
    width: calc(100% + 6rem) !important;
}

.box-filters {
    background: #fff !important;
    border: 1px solid var(--color-border-light);
    border-top: 3px solid var(--color-secondary);
    border-radius: var(--border-radius) !important;
}

/* === FILTER ACCORDION ("Filtry" off-canvas panel) ===
   Feedback #2: "remove the pink background on mobile, keep it styled like
   desktop/tablet". Root cause: the "CENA" price slider and boolean
   sections like "PODLE DOSTUPNOSTI" are .slider-wrapper / .filter-section
   elements that Apollo fills with background-color: var(--color-tertiary).
   --color-tertiary is a neutral tint in vanilla Apollo, but our
   pink-version.css repoints it to the bright brand pink for other,
   intentional uses — this is just collateral.

   Deliberately unscoped by body/layout class (no .mobile./.desktop.
   prefix): Apollo repeats this same background across several different
   compound-class combinations (.mobile.multiple-columns-body,
   .mobile.one-column-body, .desktop.multiple-columns-body under a narrow
   media query, etc.), and this exact #filters/.filters-wrapper markup is
   shared by both the desktop sidebar box (.box-filters, already forced
   white above) and the mobile off-canvas panel — so targeting the bare
   element is both simpler and can't be missed by guessing the wrong
   compound class for a given device. */
#filters .slider-wrapper,
.filters-wrapper .slider-wrapper,
#filters .filter-section:not(.filter-section-count),
.filters-wrapper .filter-section:not(.filter-section-count) {
    background-color: #fff !important;
}

/* "Otevřít filtr" toggle button — same var(--color-tertiary) collateral as
   above. Apollo's own "open" state (.unveil-button once expanded, label
   swaps to "Zavřít filtr") is already dark (#292929 bg, white text); this
   just matches the closed state to it instead of leaving it pink.
   .unveil-button is deliberately excluded from the generic .btn rules
   (see the :not(...) list near the top of this file), so nothing else
   touches it. */
.filters-unveil-button-wrapper .btn.unveil-button {
    background-color: var(--color-ink) !important;
    color: #fff !important;
}

/* The chevron icon is a separate ::before pseudo-element with its own
   explicit color (Apollo's exact rule, confirmed in main.css:
   "#content .filters-unveil-button-wrapper .btn.unveil-button:before
   {color:#292929;...}"), so the button-text fix above doesn't touch it.
   Matched Apollo's own #content-prefixed selector here too — without it
   this has lower specificity than Apollo's (no id) and loses regardless
   of !important or file order. */
#content .filters-unveil-button-wrapper .btn.unveil-button::before {
    color: #fff !important;
}

.box-filters .filters-wrapper {
    padding: var(--card-padding);
}

#filters-wrapper .filter-tag,
#filters-wrapper .active-filter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3xs);
    font-family: var(--font-body);
    font-size: 1.3rem;
    text-transform: uppercase;
    background: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    padding: var(--space-3xs) var(--space-xs);
    margin: 0 var(--space-2xs) var(--space-2xs) 0;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

#filters-wrapper .filter-tag:hover,
#filters-wrapper .active-filter:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.sidebar-left .box-common {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: var(--border-radius) !important;
}

.sidebar-left .box-common .box {
    border: 1px solid var(--color-border-light);
    padding: var(--card-padding);
    margin-bottom: var(--space-md);
}

.sidebar-left .box-onlinePayments {
    padding-top: var(--card-padding) !important;
    margin-top: 3rem !important;
    border-top: 1px solid var(--color-border-light) !important;
}

.box-onlinePayments .text-center {
    margin: 0;
}

.box-onlinePayments img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.listSorting__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 0;
    list-style: none;
}

.listSorting__control {
    font-family: var(--font-heading) !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 1.3rem !important;
    padding: var(--space-xs) var(--space-lg) !important;
    background: #fff !important;
    color: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
    border-radius: var(--border-radius) !important;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.listSorting__control:hover {
    background: var(--color-tertiary) !important;
    border-color: var(--color-tertiary) !important;
    color: #fff !important;
}

.listSorting__control--current {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}

.listSorting__control--current:hover {
    background: var(--color-tertiary) !important;
    border-color: var(--color-tertiary) !important;
    color: #fff !important;
}

.listItemsTotal,
.listingControls .itemsTotal {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.detail-grid-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-3xs);
}

.p-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    padding: var(--space-lg) 0;
    margin: var(--space-md) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.p-final-price-wrapper {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-ink);
}

.p-final-price-wrapper .price-standard {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: var(--color-text-faint);
}

.p-short-description-block .chevron-after {
    color: var(--color-ink);
    transition: color var(--transition-fast);
}

.p-short-description-block .chevron-after:hover {
    color: var(--color-secondary);
}

/* === PRODUCT DETAIL TABS ===
   Real class chain confirmed live: .shp-tabs-wrapper.p-detail-tabs-wrapper
   > .shp-tabs-row.responsive-nav > ul.shp-tabs.p-detail-tabs > li.shp-tab
   (active: li.shp-tab.active) > a.shp-tab-link. Mirrors the site's own
   reference tab component 1:1 (hcsparta.cz match page, "Všechny/Doma/
   Venku" filter, class chain ul.tablist.tablist-shadow > .tab.tab-shadow):
   the underline isn't a border, it's a 4px inset box-shadow — #f2f5f8
   baseline, var(--color-secondary) pink for the active tab — with
   content-width (not stretched) tabs on a 20px gap. Replaces the earlier
   dark-box treatment that mirrored .cart-header .step, which the design
   no longer wants. */
.shp-tabs-row {
    background-color: transparent;
    box-shadow: inset 0 -4px 0 0 #f2f5f8;
}

.shp-tabs-row ul.shp-tabs {
    gap: 20px;
}

.shp-tabs-row li.shp-tab {
    flex: 0 0 auto !important;
    /* Apollo default stretches tabs to fill the row equally — the reference leaves them content-width */
}

.shp-tabs-row li.shp-tab a.shp-tab-link {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 400;
    color: #9ea5ae;
    background: transparent !important;
    /* Apollo's active-tab default is a white fill */
    border: none !important;
    /* .shp-tabs-holder ul.shp-tabs li a ships a native 1px solid top/left/right border (border-style: solid solid none solid) that was never overridden */
    box-shadow: inset 0 -4px 0 0 transparent;
    padding: 0 0 14px !important;
    margin: 0 !important;
    transition: box-shadow var(--transition-normal), color var(--transition-normal);
}

.shp-tabs-row li.shp-tab a.shp-tab-link:hover {
    color: var(--color-ink);
}

.shp-tabs-row li.shp-tab.active a.shp-tab-link {
    color: var(--color-ink);
    box-shadow: inset 0 -4px 0 0 var(--color-secondary);
}

.shp-tabs-wrapper .tab-pane {
    /* Apollo's default card border on the panel sits flush under the tab
       row's own baseline, doubling up into a stray extra line — the tab
       row's box-shadow already draws that separator. */
    border: none !important;
}

/* Feedback #3: "remove radiuses on individual blocks on mobile" — Apollo
   ships border-radius:20px on .tab-pane (plus asymmetric corner variants
   for :first-child/:last-child/#productDiscussion, since the panel corners
   are meant to match whichever tab is active), which read as separate
   rounded white cards on the mobile accordion layout. Desktop keeps
   Apollo's rounded corners; mobile only. */
@media (max-width: 767px) {

    .shp-tabs-wrapper .tab-pane,
    .shp-tabs-wrapper .tab-pane.active:first-child,
    .shp-tabs-wrapper .tab-pane.active#productDiscussion,
    .shp-tabs-wrapper .tab-pane.active:last-child,
    .shp-tabs-wrapper .tab-pane.active:first-child:last-child {
        border-radius: var(--border-radius) !important;
    }
}

#simple-variants-select {
    font-family: var(--font-body);
    border: 1px solid var(--color-ink) !important;
    border-radius: var(--border-radius) !important;
    height: var(--button-height);
    box-shadow: none !important;
    width: auto;
    /* was a fixed 280px regardless of variant text length */
    max-width: 100% !important;
    /* Apollo's .form-control sets max-width: 400px !important,
       which truncated longer variant labels (e.g. "Barva: ... Velikost: 12-14 let - Skladem")
       since width:auto alone can't grow past it. 100% instead of none so it still can't
       overflow its table cell on narrow viewports. */
}

/* Feedback #2: "on mobile the select box is jumping off the screen".
   #simple-variants-select lives in a <table class="detail-parameters">
   cell (confirmed via a live product page fetch: <tr class="variant-list">
   <th>Varianta</th><td><div id="simple-variants"><select ...). A table in
   auto-layout sizes each column to fit its widest content, and the
   longest <option> text (e.g. "Hráči 25/26 *: Hyka - Skladem (119 Kč)")
   is wide enough to push the whole table past the viewport — at that
   point max-width:100% on the select just matches the already-oversized
   cell, not the viewport. Breaking the row out of table layout on mobile
   so the cell's 100% actually resolves against the (narrow) viewport. */
@media (max-width: 767px) {
    .detail-parameters tr.variant-list {
        display: block;
    }

    .detail-parameters tr.variant-list>th,
    .detail-parameters tr.variant-list>td {
        display: block;
        width: 100%;
    }

    #simple-variants {
        width: 100%;
    }
}

.quantity {
    display: inline-flex;
    align-items: stretch;
    gap: var(--space-3xs);
}

.quantity .amount {
    border: 1px solid var(--color-ink) !important;
    border-radius: var(--border-radius) !important;
    text-align: center;
    font-family: var(--font-heading);
}

.add-to-cart {
    display: flex;
    align-items: stretch;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

#footer.no-newsletter {
    margin-top: 0;
}

/* === FOOTER BOTTOM BAR — TABLET RIGHT-EDGE GAP ===
   Feedback #2: "footer is missing a piece on the right side, on tablet".
   Confirmed in Apollo's own CSS: .footer-bottom-bg::before is a full-bleed
   trick (left: calc(50% - 50vw); width: 100vw) that paints the dark strip
   behind the footer signature bar. A second Apollo rule at
   @media (min-width: 768px) nudges that left offset an extra 10px further
   left WITHOUT widening it past 100vw — presumably a scrollbar-gutter
   correction — so the strip's right edge ends up 10px short of the
   viewport edge. On desktop that gap sits under the scrollbar and is
   invisible; on tablets (no reserved scrollbar space) it shows as a
   visible sliver of missing background. Cancelling the extra offset so
   the strip stays flush at every width >= 768px. */
@media (min-width: 768px) {
    .footer-bottom-bg::before {
        left: calc(50% - 50vw) !important;
    }
}

/* === 404 / EMPTY STATE ===
   Confirmed live: body carries .in-404 as expected. .content-inner
   is Apollo's generic content wrapper and is structurally reused under
   other page types, so this MUST stay scoped to .in-404 — never applied
   to .content-inner bare. Changed from yellow to white per user request
   2026-08-12 (SPEC.md still describes the old yellow box design). */
.in-404 .content-inner {
    background-color: #ffffff !important;
}

/* === COOKIE CONSENT BAR ===
   Real selectors confirmed live (distinct from the .cookiesSetting__*
   settings-modal rules below, which are a separate class family with no
   collision risk). Accept/Reject share one class
   (.siteCookies__button.js-cookiesConsentSubmit) and were rendering
   pixel-identical — only data-testid tells them apart.
   Selectors here deliberately chain class+class(+attribute) rather than
   a single attribute selector: Apollo's own button rule on this exact
   element is a compound-class selector with !important on border-radius,
   which otherwise wins the specificity tie even against our own
   !important (see project memory "Apollo specificity gotcha"). */
.siteCookies__form {
    background: #f5f5f5 !important;
    color: #000 !important;
}

.siteCookies__button.js-cookiesConsentSubmit {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: var(--button-height) !important;
    padding: 0 var(--space-xl) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color var(--transition-fast) !important;
}

.siteCookies__button.js-cookiesConsentSubmit[data-testid="buttonCookiesAccept"] {
    background: var(--color-secondary) !important;
    color: #fff !important;
}

.siteCookies__button.js-cookiesConsentSubmit[data-testid="buttonCookiesAccept"]:hover {
    background: var(--color-secondary-hover) !important;
}

.siteCookies__button.js-cookiesConsentSubmit[data-testid="buttonCookiesReject"] {
    background: #e5e5e5 !important;
    color: #000 !important;
}

.siteCookies__button.js-cookiesConsentSubmit[data-testid="buttonCookiesReject"]:hover {
    background: #d4d4d4 !important;
}

.siteCookies__link.js-cookies-settings {
    background: transparent !important;
    color: #000 !important;
    border: none !important;
    padding: 0 !important;
    font-family: var(--font-body) !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

.cookiesSetting__item {
    align-items: center !important;
}

.cookiesSetting__item__status {
    display: inline-flex !important;
    align-items: center !important;
}

.cookiesSetting__item__state::after {
    top: 9px !important;
    left: 17px !important;
    width: 6px !important;
    height: 10px !important;
}

/* === COOKIE SETTINGS MODAL ("Nastavení cookies") ===
   Colorbox-rendered dialog (#cboxContent.cookiesDialog, confirmed live via
   DOM inspection). Ships with Shoptet's default unbranded buttons/card, so
   re-skin it to match brand colors/font — plain sharp-cornered rectangles,
   deliberately NOT the site's .btn clip-corner shape (that's for storefront
   CTAs; the cookie dialog buttons stay plain per explicit request).
   #cboxClose is scoped under .cookiesDialog since colorbox reuses that id
   for every popup on the site (product zoom etc.) — must not be styled
   bare. */
.cookiesDialog {
    border-radius: var(--border-radius) !important;
}

.cookiesSetting__title {
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    color: var(--color-ink) !important;
}

.cookiesDialog #cboxClose {
    color: var(--color-ink) !important;
}

.cookiesSetting__item__checkbox {
    accent-color: var(--color-secondary) !important;
}

.cookiesSetting__uncheckLink {
    background: transparent !important;
    color: var(--color-ink) !important;
    border: none !important;
    padding: 0 !important;
    font-family: var(--font-body) !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

.cookiesSetting__button {
    font-family: var(--font-heading) !important;
    font-size: 18px !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 0 !important;
    min-height: var(--button-height) !important;
    padding: 0 var(--space-xl) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background-color var(--transition-fast) !important;
}

.cookiesSetting__button[data-testid="cookiesConfirmSelection"] {
    background: var(--color-ink) !important;
    color: #fff !important;
}

.cookiesSetting__button[data-testid="cookiesConfirmSelection"]:hover {
    background: var(--color-secondary-hover) !important;
}

.cookiesSetting__button--green {
    background: var(--color-secondary) !important;
    color: #fff !important;
}

.cookiesSetting__button--green:hover {
    background: var(--color-secondary-hover) !important;
}

.overall-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* width:100% here (an ID selector) was unintentionally beating the Apollo
   vendor .container rule that caps width at 1418px past the 1440px
   breakpoint — the navbar (.navigation-wrapper.container) got that cap,
   but page content didn't, so it ran edge-to-edge on wide screens while
   the navbar stayed centered. max-width + auto margins gives content-wrapper
   the same capped, centered container as the navbar on every page. */
#content-wrapper {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1418px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-inner .item.active,
.carousel-inner .item.active>a {
    position: relative !important;
    display: block !important;
}

.carousel-inner .item.active>a::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(202.75deg, hsla(0, 0%, 8%, 0) 45.31%, hsla(0, 0%, 8%, 0.8) 65.57%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.carousel-inner .extended-banner-texts {
    position: absolute !important;
    top: auto !important;
    bottom: 60px !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    z-index: 2 !important;
    padding-left: 60px !important;
}

.carousel-inner .extended-banner-text {
    position: relative !important;
    z-index: 2 !important;
}

/* Pure "100svh minus header" made the hero shorter than it is wide on
   landscape desktop screens (header eats a fixed chunk of vh, but the
   image stays full-bleed width) — the banner photo (1672x941, ~16:9) got
   object-fit:cover-cropped down to as extreme as ~2.7:1, zooming hard into
   the subject. max() with a vw-based floor keeps the crop near a sane
   ~2.17:1 on wide screens while leaving the near-full-height look on
   mobile/portrait untouched (the vh value already wins there). */
#carousel,
#carousel .carousel-inner {
    height: 100vh !important;
    /* fallback */
    height: max(calc(100svh - var(--above-carousel, 0px)), 46vw) !important;
    min-height: 0 !important;
}

#carousel .carousel-inner .item,
#carousel .carousel-inner .item>a {
    height: 100% !important;
    display: block !important;
}

#carousel .carousel-inner .item>a>img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
}

/* === HERO CAPTION TYPE ===
   Real markup confirmed live: .extended-banner-title/.extended-banner-text
   are plain spans (not h1/p), and .extended-banner-link is also a plain
   span with zero connection to the site's .btn system (was rendering as
   a white 25px-radius pill, black text). Title/text both use HCS-headline
   (an all-caps display font) by default — text renders uppercase via the
   font's glyph design, not text-transform, which is why the perex needs
   switching to the body font to stop looking like the headline.
   Sizing/leading tuned against /partners/ live (hero h1: tight 1:1
   leading; body perex there runs 28px/32px, not uppercase). */
.extended-banner-title {
    font-size: 56px !important;
    line-height: 1 !important;
}

.extended-banner-text {
    font-family: var(--font-body) !important;
    /* was HCS-headline */
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
}

.extended-banner-link {
    background: var(--color-secondary) !important;
    color: #fff !important;
    border-radius: var(--border-radius) !important;
    /* was 25px pill */
    clip-path: var(--clip-corner) !important;
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
    text-transform: uppercase !important;
    height: 61px !important;
    padding: 0 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

@media (max-width: 991px) {
    .extended-banner-title {
        font-size: 40px !important;
    }
}

@media (max-width: 575px) {
    .extended-banner-title {
        font-size: 30px !important;
    }

    .extended-banner-text {
        font-size: 16px !important;
    }
}

.homepage-box.welcome-wrapper {
    background-color: var(--color-tertiary);
    color: #fff;
}

.welcome-wrapper .h1,
.welcome p {
    color: #fff;
}

.welcome p {
    font-size: 18px;
}

.subcategories.with-image {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-sm);
    margin: 0 0 var(--space-3xl);
    padding: 0;
    list-style: none;
}

@media (max-width: 991px) {
    .subcategories.with-image {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .subcategories.with-image {
        grid-template-columns: repeat(2, 1fr);
    }
}

.subcategories.with-image>li {
    width: 100%;
    padding: 0 !important;
}

.subcategories.with-image>li>a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    height: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-fast), background-color var(--transition-fast), transform .15s ease-in-out;
}

.subcategories.with-image>li>a:hover {
    background: #1a1a1a;
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.subcategories.with-image .image {
    display: none;
}

.subcategories.with-image .text {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    color: #fff;
    text-align: center;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

/* Feedback #2: "can't see text in tiles" — confirmed in Apollo's CSS:
   @media (max-width:480px) ships its own
   .subcategories.with-image li a .text{color:#292929;...}, which has
   higher specificity than the rule above (it adds the li/a type
   selectors our shorthand selector doesn't have) and wins on real phones,
   putting near-black text back onto these tiles' black (--color-primary)
   background. Desktop/tablet never hit that <=480px breakpoint so they
   were never affected. !important forces the win regardless of the extra
   specificity. */
@media (max-width: 480px) {
    .subcategories.with-image li a .text {
        color: #fff !important;
    }
}

/* Feedback #3: "center tile text vertically on mobile" — the very same
   Apollo @media (max-width:480px) block quoted above also ships
   align-items:flex-start on the tile itself, so 2-line tile labels sit
   top-anchored instead of centered while 1-line tiles look fine. Same
   equal-specificity/!important fix as the color rule above. Apollo's
   .text also carries margin:12px -10px 0 in that same block — the 12px
   top margin re-offsets the text downward from center even with
   align-items fixed, so it needs zeroing out too. */
@media (max-width: 480px) {
    .subcategories.with-image li a {
        align-items: center !important;
    }

    .subcategories.with-image li a .text {
        margin-top: 0 !important;
    }
}

.subcategories.with-image>li>a:hover .text {
    color: var(--color-secondary);
}

.subcategories.with-image>li>a::after {
    color: #fff;
}

.subcategories.with-image>li>a:hover::after {
    color: var(--color-secondary);
}

.subcategories.with-image>li>a::before {
    color: #fff;
}

.subcategories.with-image>li>a:hover::before {
    color: var(--color-secondary);
}

.products-top-header {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: var(--space-xl);
}

.products-top-wrapper .button-wrapper .toggle-top-products {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-primary);
    border: none;
    background: none;
}

.products-top-wrapper .button-wrapper .toggle-top-products:hover {
    color: var(--color-secondary);
}

.benefitBanner.position--benefitCategory {
    display: flex;
    flex-wrap: wrap;
    gap: var(--card-gap);
    padding: var(--space-3xl) 0;
}

.benefitBanner.position--benefitCategory .benefitBanner__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1 1 220px;
}

.benefitBanner.position--benefitCategory .benefitBanner__title {
    text-transform: uppercase;
    font-size: 1.5rem;
}

.benefitBanner.position--benefitCategory .benefitBanner__data {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--color-text-muted);
}

.benefitBanner.position--benefitHomepage {
    display: flex;
    flex-wrap: wrap;
    gap: var(--card-gap);
    padding: var(--space-xl) 0;
}

.benefitBanner.position--benefitHomepage .benefitBanner__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1 1 220px;
}

.benefitBanner.position--benefitHomepage .benefitBanner__img {
    width: 36px !important;
    height: 36px !important;
}

.benefitBanner.position--benefitHomepage .benefitBanner__title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.5rem;
    display: block;
}

.benefitBanner.position--benefitHomepage .benefitBanner__data {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--color-text-muted);
}

/* Redesign to match the reference archive layout (hcsparta.cz/archive?
   category=27) — measured directly from that site's own compiled Tailwind
   CSS and live DOM (grid-cols-1 lg:grid-cols-3, gap-y-10, and a
   lg:[&:is(:nth-child(3n+1),:nth-child(3n+2))]:border-r-2 rule), not
   guessed from a screenshot: single column below 1024px (their `lg`
   breakpoint) regardless of viewport being phone or tablet width, 3
   columns at 1024px+; a flat 40px row gap at every width with NO column
   gap; and the pink divider is a literal 2px right border painted only on
   the 1st/2nd card of every row of 3 (never the 3rd, never below 1024px)
   — not a gap-bleed trick.

   repeat(auto-fit, minmax(calc(100%/3), 1fr)) (not repeat(3, 1fr)) at the
   1024px+ breakpoint: auto-fit still caps at 3 columns (a 4th track could
   never satisfy a calc(100%/3) minimum), but when there are fewer than 3
   news items it collapses the unused track(s) to 0 and lets the real
   items' 1fr grow to fill the freed space — e.g. exactly 2 live items
   split the row 50/50 instead of leaving a blank third column, while
   still wrapping to a normal 33/33/33 row once there are 3+. */
#newsWrapper.news-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0;
    column-gap: 0;
    background: transparent;
}

/* Below 1024px cards are a single stacked column with no gap between them
   — connected, with a pink line as the only separator (border-bottom on
   every card but the last, mirroring how the 1024px+ layout below uses
   border-right on every card but the last in its row). */
.news-wrapper .news-item:not(:last-child) {
    border-bottom: 2px solid var(--color-secondary);
}

@media (min-width: 1024px) {
    #newsWrapper.news-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(calc(100%/3), 1fr));
        row-gap: 4rem;
    }

    .news-wrapper .news-item {
        border-bottom: none;
    }

    .news-wrapper .news-item:nth-child(3n+1),
    .news-wrapper .news-item:nth-child(3n+2) {
        border-right: 2px solid var(--color-secondary);
    }
}

/* Feedback #3: news cards were rendering tiny and cropped — confirmed live
   .news-item was measuring ~158px wide inside a 534px grid column. Apollo
   ships several `.news-item{width/max-width/flex-basis:calc(33.33% - 20px)}`
   -style rules sized for its own flex-wrap layout; those never got
   neutralized when #newsWrapper.news-wrapper switched to CSS Grid below, so
   each grid item was independently capped to ~33% of its own already-sized
   grid column (double-shrink). Grid item sizing should come from the grid
   tracks alone (fixed 1fr / repeat(3,1fr) above, not auto-fit — see that
   rule's own comment for why a hard 1024px switch replaced auto-fit). */
/* min-height (not aspect-ratio) to match the reference's own literal
   values exactly — min-h-[490px] below its sm breakpoint (640px),
   sm:min-h-[360px] at 640px and up (this holds all the way through
   desktop too — the reference never overrides it again at lg). .image is
   absolutely positioned (out of flow) and .text is the only in-flow
   child, so min-height still behaves like a fixed height in practice.

   display:flex + flex-direction:column (not block) because the reference
   card itself is flex flex-col px-6 py-10 — .text sits in NORMAL flow
   inside that padding and is pushed to the bottom with margin-top:auto
   (see .text below), rather than being absolutely positioned over the
   image. Padding lives here (not on .text) since it's the *card's* own
   inset on all sides, matching Tailwind's px-6 py-10 (24px/40px). */
.news-wrapper .news-item {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-primary);
    width: auto !important;
    max-width: none !important;
    flex: unset !important;
    margin: 0 !important;
    border-radius: var(--border-radius);
    min-height: 490px;
    padding: 4rem 2.4rem;
}

@media (min-width: 640px) {
    .news-wrapper .news-item {
        min-height: 360px;
    }
}

/* .image now fills the whole card (position:absolute + explicit inset
   sides) instead of sitting above a separate .text block — that separate
   block was the "black bottom box" the photo used to stop short of.
   Apollo ships .news-item .image{height:190px} (a fixed px value, not
   auto) at this breakpoint; for an absolutely positioned box with top,
   height AND bottom all non-auto, the box is over-constrained and the
   spec has the browser ignore bottom and keep the explicit height instead
   — so a plain inset:0 alone still left a 190px-tall image with empty
   space below it. height:100%!important (alongside the individual sides,
   not the inset shorthand, so nothing here can lose the same tug-of-war)
   forces our value to be the one that wins. */
.news-wrapper .news-item .image {
    position: absolute;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.news-wrapper .news-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.news-wrapper .news-item:hover .image img {
    transform: scale(1.05);
}

/* Same gradient recipe as .carousel-inner .item.active > a::after further
   below — dark diagonal wash so the white date/title stay legible over
   any photo regardless of the photo's own contrast. */
.news-wrapper .news-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(202.75deg, hsla(0, 0%, 8%, 0) 45.31%, hsla(0, 0%, 8%, 0.8) 65.57%);
    pointer-events: none;
    z-index: 1;
}

/* Reference caps this text column at max-width:307px (Tailwind's
   max-w-[307px]) rather than stretching it across the whole card — on a
   wide multi-column card that's most of why our version looked "wrong":
   the pink underline (which spans whatever .text's own width is) was
   stretching the full card width instead of hugging the date/title.

   position:relative (not absolute) + margin-top:auto is the reference's
   own mechanism (`a.mt-auto` inside a `flex flex-col` card, not
   `position:absolute;bottom:0`): it's the only in-flow child of
   .news-item's flex column, so margin-top:auto pushes it to the bottom
   within the card's own px-6/py-10 padding. Still needs position:relative
   + z-index so it paints above the absolutely-positioned .image and the
   ::after gradient (both z-index:auto/1) instead of underneath them —
   static in-flow content paints before positioned content, image included.

   display:grid + row-gap (not flex + margins) matches the reference's own
   `grid grid-cols-1 gap-3` — a single 12px gap that evenly spaces
   label/title/button, replacing this file's old per-element margin-bottom
   hacks.

   flex:none!important is required here: Apollo's own vendor CSS ships
   `@media (min-width:480px){.news-item .text{flex-grow:1;flex:1}}`
   (0-2-0 specificity) and this rule never touched `flex` before, so that
   declaration was the only one in the cascade setting it and won despite
   our selector's higher specificity elsewhere — "not overridden" beats
   "more specific but silent" on a per-property basis. With flex:1 in
   effect .text was stretching to fill the *entire* remaining height of
   the flex column (not just its own content), which both pinned time/
   title to the top of that oversized box instead of the card's bottom
   AND triggered CSS Grid's own default align-content:stretch to inflate
   the row heights of time/title into the leftover space too (visible as
   both rendering ~35px taller than their line-height, looking like
   wrapped text when they weren't). flex:none neutralizes Apollo's rule so
   .text is sized to its own content again, letting margin-top:auto push
   that content block itself to the bottom. */
.news-wrapper .news-item .text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    align-content: start;
    row-gap: 1.2rem;
    max-width: 307px;
    padding: 0;
    align-items: flex-start;
    justify-content: flex-end;
    flex: none !important;
    height: 100%;
}

.news-wrapper .news-item .text a {
    overflow: hidden;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Reference's label (Tailwind `text-2xl uppercase border-b pb-3`) is a
   24px/uppercase/pink category tag with a plain 1px underline sized to
   the label's own line box — not the 12px/4px date chip this used to be.
   The line's length comes for free from .text's own max-width:307px
   column (the label is a block-level grid item, stretches to fill it, so
   its border-bottom runs the full column width, matching the reference's
   measured line length exactly), not from centering it under the text. */
.news-wrapper .news-item time {
    order: -1;
    width: 100%;
    font-family: var(--font-body);
    font-size: 2.4rem;
    line-height: 1.333;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 1.2rem;
    margin-bottom: 0;
}

/* text-32 in the reference is 32px/32px (2rem/2rem at its real 16px
   root) — this file's root is 10px (see --space-* comment above), so
   3.2rem/3.2rem is the equivalent literal size, not the old 1.7rem
   (17px, noticeably smaller than the reference's actual headline).

   overflow:visible is required: Apollo ships `.title{-webkit-line-clamp:3}`
   for its own (unused here) multi-line truncation, which only activates
   together with overflow:hidden — but per the CSS Sizing spec, a grid
   item's *automatic minimum size* resolves to 0 whenever its overflow
   isn't `visible`. .title is an auto-sized CSS Grid row (see .text
   above) with no explicit height, so with overflow left at Apollo's
   hidden, the grid collapsed the title's own row track to 0px and the
   text silently vanished (still "visible" per computed style, just
   inside a 0-height box) even though nothing here ever set a height. */
.news-wrapper .news-item .title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 3.2rem;
    line-height: 3.2rem;
    color: #fff;
    margin-bottom: 0;
    overflow: visible;
}

.news-wrapper .news-item .title:hover {
    color: var(--color-secondary);
}

/* Apollo's own .news-item:hover .text .title / .news-item:focus .text
   .title rule sets color:var(--color-primary) (black) — invisible against
   this card's black background. That selector triggers on hovering the
   whole card (ancestor .news-item), not just the title text itself, so it
   fires on far more of the card than our .title:hover rule above and wins
   the tie on equal specificity. !important forces pink regardless. */
.news-item:hover .text .title,
.news-item:focus .text .title {
    color: var(--color-secondary) !important;
}

/* Feedback #3: news listing (Základní šablona) should show only headline +
   date — the article body/perex was rendering in full underneath, so it's
   hidden via display:none. Leaves .title and time untouched (the "button"
   the ticket says to leave alone is the title link itself; the basic
   template has no separate CTA). */
.news-wrapper .news-item .description {
    font-family: var(--font-body);
    color: #d9d9d9;
    flex: 1 1 auto;
    margin-bottom: var(--space-md);
    display: none;
}

/* Drops the "Zobrazit celý článek" button from the card at every width —
   the photo spans the full card and is already its own link to the
   article (as is the title text overlaid on top of it), so the card stays
   fully clickable without it. The reference site itself keeps a small
   in-flow button under the title on mobile/tablet (`btn btn-primary
   mr-auto lg:hidden`), but per request this stays hidden on mobile too. */
.news-wrapper .news-item .text-center {
    display: none !important;
}

.news-item-detail>time {
    display: block;
    font-family: var(--font-body);
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.type-posts-listing .sidebar-left,
.type-post .sidebar-left {
    display: none !important;
}

.news-item-detail {
    max-width: 900px;
    margin: 0 auto;
}

.news-item-detail .text {
    font-size: 1.5rem;
    line-height: 1.7;
}

.news-item-detail .text p {
    margin-bottom: var(--space-md);
}

.news-item-detail .text h2,
.news-item-detail .text h3,
.news-item-detail .text h4,
.news-item-detail .text h5 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-sm);
}

article.pageArticleDetail {
    background: #fff;
    /* border removed per ticket feedback — was 1px solid var(--color-border-light) */
    padding: var(--space-2xl) var(--space-3xl);
}

/* Feedback #3: "reduce padding on mobile" for text pages (e.g. Obchodní
   podmínky) — the desktop 2.5rem/3.25rem padding left very little room for
   text on a narrow viewport. margin-bottom added per follow-up feedback so
   the card doesn't run flush into whatever follows it on mobile. */
@media (max-width: 767px) {
    article.pageArticleDetail {
        padding: var(--space-md) var(--space-sm);
        margin-bottom: var(--space-xl);
    }
}

.in-contacts article.pageArticleDetail {
    border-top: 6px solid var(--color-secondary);
}

.in-contacts article.pageArticleDetail,
.in-contacts .discussionContainer {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 900px;
    width: 100%;
    padding: 5rem;
}

.in-contacts .content-inner>h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    width: 100%;
    padding: 0 5rem;
}

#formContact .form-group label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: var(--space-3xs);
    display: inline-block;
}

#formContact .required-asterisk::after {
    color: var(--color-secondary);
}

#formContact .form-control {
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    padding: var(--space-sm) var(--space-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#formContact .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 2px 0 0 var(--color-secondary);
    outline: none;
}

#formContact .captcha-block {
    margin-top: var(--space-xs);
}

#formContact .captcha-block h2 {
    font-size: 1.4rem;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-sm);
}

#formContact .consents .label a {
    color: var(--color-secondary);
    text-decoration: none;
}

#formContact .consents .label a:hover {
    text-decoration: underline;
}

#formForgottenPassword .form-control {
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#formForgottenPassword .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 2px 0 0 var(--color-secondary);
    outline: none;
}


#register-form .form-control {
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#register-form .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 2px 0 0 var(--color-secondary);
    outline: none;
}

#register-form {
    margin-bottom: var(--space-3xl);
}

.cart-header__contact .toggle-contacts {
    display: none !important;
}

/* --- Header: top back-link (small text link, not a button) --- */
.cart-header__back .next-step-back {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cart-header__back .next-step-back:hover {
    color: var(--color-secondary);
}

.cart-header__contact .box {
    border-radius: var(--border-radius) !important;
    flex: 0 0 auto !important;
    width: auto !important;
}

.cart-header__contact .checkout-box-wrapper {
    justify-content: space-between;
}

/* Apollo's base theme gives the heading a 40% flex-basis and the phone
   box width:100% — fine on narrower wrappers, but on the wider
   ordering-process wrapper (~1025px, krok-2/"Osobní údaje a adresa") that
   combination overflows and wraps to two lines. Shrinking both to their
   content width keeps this strip on one line on every checkout step. */
.cart-header__contact .checkout-box-wrapper h2 {
    flex: 0 0 auto !important;
}

.cart-header__contact h2,
.cart-header__contact .contact-box,
.cart-header__contact .contact-box strong,
.cart-header__contact .contact-box a {
    color: #fff !important;
}

/* Phone icon mechanism not confirmed — both common patterns covered. */
.cart-header__contact .contact-box svg,
.cart-header__contact .contact-box .tel::before {
    fill: #fff;
    color: #fff;
}

/* Flat underline-tab style, matching the product-detail tabs and the
   site's other tab lists — drops Apollo's default circular step-number
   badge and the white "active" card, keeping the dark header ribbon. */
.cart-header li.step {
    background: transparent !important;
    border: none !important;
    /* Apollo's default "active" card gives the li a 1px pink border on all sides */
    box-shadow: inset 0 -4px 0 0 rgba(255, 255, 255, 0.12) !important;
    /* same 4px inset-shadow underline mechanism as the reference tablist/product tabs, tuned for the dark ribbon */
    transition: box-shadow var(--transition-normal);
}

.cart-header li.step.active {
    box-shadow: inset 0 -4px 0 0 var(--color-secondary) !important;
}

.cart-header .step span::before {
    display: none;
}

.cart-header .step {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cart-header .step a,
.cart-header .step:not(.active)>strong {

    color: rgba(255, 255, 255, 0.55) !important;
}

.cart-header .step a:hover {
    color: var(--color-secondary) !important;
}

.cart-header .step.active>strong {
    color: #fff !important;
}

.increase,
.decrease {
    border-radius: var(--border-radius) !important;
    border: none !important;
    background: transparent !important;
}

.cart-content.summary-wrapper {
    background: #fff !important;
    border: 1px solid var(--color-border-light) !important;
    border-top: 3px solid var(--color-secondary) !important;
    border-radius: var(--border-radius) !important;
}

/* === STEP 2: ORDER RECAP BOXES ===
   Confirmed live: .order-summary-top/.order-summary-bottom compute to
   rgb(232,245,226) — Apollo's default green. The existing radius-reset
   rule further below only ever touched border-radius, never
   background-color, so the green was never actually addressed.
   .next-step (the OBJEDNAT/ZPĚT panel at the bottom of every checkout
   step) computes to the same rgb(232,245,226) and was missed for the
   same reason — added here alongside it. */
.order-summary-top,
.order-summary-bottom,
.next-step {
    background-color: #f5f5f5 !important;
}

.extras-wrapper {
    justify-content: flex-end;
}

.cart-table .main-link,
.cart-item-name .main-link,
.cart-related-name {
    font-family: var(--font-heading) !important;
}

body.ordering-process {
    background-color: var(--color-ink);
}

/* === CHECKOUT FORM FIELDS ===
   Confirmed live: computed border-radius was still 8px on the checkout
   address form (street/city/PSC/phone) — #formContact/#formForgottenPassword
   /#register-form don't cover it, it's a separate form. Scoped to the
   body class instead of chasing the form's own ID — broader and more
   robust, confirmed 14 .form-control fields respond to it. */
.ordering-process .form-control {
    border-radius: var(--border-radius) !important;
}

body.ordering-process .cart-header__headline .h4 {
    color: #fff;
}

.cart-content,
.cart-inner,
li.step,
label.billing-name,
.order-summary-top,
.order-summary-bottom,
.next-step {
    border-radius: var(--border-radius) !important;
}

.cart-inner.cart-empty {
    background: #fff !important;
    border-radius: var(--border-radius);
    border-color: var(--color-border-light) !important;
    padding-bottom: 150px;

    clip-path: var(--clip-corner);
}

.cart-inner.cart-empty .cart-heading {
    color: var(--color-ink);
}

.text-center:has(.back-to-shop) {
    margin-top: -220px;
}

/* --- "Podívejte se na naši nabídku" / "Zkuste vyhledávání" columns --- */
.cart-wrapper .empty-cart-boxes h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.cart-wrapper .empty-cart-boxes ul {
    list-style: none;
    padding: 0;
}

.cart-wrapper .empty-cart-boxes li {
    margin-bottom: var(--space-2xs);
}

.cart-wrapper .empty-cart-boxes a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cart-wrapper .empty-cart-boxes a:hover {
    color: var(--color-secondary);
}

label.billing-name::before,
label.billing-name::after {
    border-radius: var(--border-radius) !important;
}

/* Feedback #3: "remove radiuses on the search-result category tags on all
   devices" — Apollo's .search-results-group-list ul li a ships
   border-radius:10px unconditionally (no breakpoint gating it), so this
   applies everywhere too. Selector matches Apollo's own class+class+3-type
   chain for equal specificity; !important per this file's established
   pattern for beating Apollo's own rules. */
.search-results-groups .search-results-group-list ul li a {
    border-radius: var(--border-radius) !important;
}