/* Conservative modernization layer. No build step, no framework. */

/* === Design tokens (2026 refresh) ============================== */
:root {
    /* Brand */
    --color-primary: #f28c1c;
    --color-primary-hover: #c46800;
    --color-primary-dark: #a0510a;
    --color-primary-soft: #fff7e6;
    /* Neutrals */
    --color-bg: #ffffff;
    --color-surface: #f7f9fb;
    --color-text: #1e242b;
    --color-text-muted: #5c6570;
    --color-border: #d7dee8;
    --color-border-strong: #c8d0da;
    /* Semantic */
    --color-success: #2f7d32;
    --color-danger: #c53030;
    --color-warning: #d69e2e;
    /* Spacing (8px scale) */
    --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
    --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-8: 48px;
    /* Type */
    --font-sans: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
    --fs-xs: 12px; --fs-sm: 13px; --fs-base: 15px;
    --fs-lg: 17px; --fs-xl: 22px; --fs-2xl: 28px; --fs-3xl: 36px;
    /* Shape */
    --radius-sm: 4px; --radius: 7px; --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
    --shadow: 0 4px 12px rgba(28, 38, 48, .08);
    --shadow-lg: 0 16px 40px rgba(20, 28, 35, .15);
    /* Motion */
    --transition: 160ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
    :root { --transition: 0ms; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* === Reset & base ============================================== */
* {
    box-sizing: border-box;
}

:root {
    --mp-surface: #ffffff;
    --mp-surface-soft: #f5f7fa;
    --mp-ink: #17202a;
    --mp-muted: #607080;
    --mp-line: #d8e0e8;
    --mp-accent: #f28c1c;
    --mp-accent-dark: #c86d0c;
    --mp-action: #202b36;
    --mp-radius: 8px;
    --mp-shadow: 0 16px 38px rgba(26, 36, 48, 0.12);
}

html {
    height: auto;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    height: auto;
    min-height: 100%;
    background-color: #f3f5f7;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(243, 245, 247, 0.94) 280px), url(components/wall-fp.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 1800px auto;
    color: #1e242b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-tap-highlight-color: rgba(242, 140, 28, 0.25);
}

img {
    max-width: 100%;
    height: auto;
}

a,
button,
input,
select,
textarea {
    touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(242, 140, 28, 0.72);
    outline-offset: 3px;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 10px;
    left: 10px;
    transform: translateY(-140%);
    padding: 10px 14px;
    color: #fff;
    background: var(--mp-action);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    transform: translateY(0);
}

.wrapper {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    background-color: rgba(255, 255, 255, 0.74);
}

.top-strip,
.content,
.f-cont {
    max-width: 1112px;
}

.content {
    width: min(1112px, calc(100vw - 32px));
    overflow-wrap: anywhere;
}

.content table,
.content iframe {
    max-width: 100%;
}

.top-strip {
    min-width: 0;
    height: auto;
}

.site-header {
    width: min(1112px, calc(100vw - 32px));
    min-height: 0;
    margin: 0 auto 18px;
    padding: 0;
    color: var(--mp-ink);
}

.site-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 36px;
    color: var(--mp-muted);
    font-size: 13px;
}

.site-header__notice {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
}

.site-header__notice a,
.site-header__locale a {
    color: var(--mp-accent-dark);
    font-weight: bold;
}

.site-header__main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(180px, auto);
    gap: 18px;
    align-items: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(216, 224, 232, 0.9);
    border-radius: var(--mp-radius);
    box-shadow: var(--mp-shadow);
    backdrop-filter: blur(8px);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    width: 220px;
    max-width: 100%;
}

.site-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.site-nav__link,
.site-secondary-nav a,
.button-secondary,
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    line-height: 1.1;
}

.site-nav__link {
    color: #2d3844;
    background: transparent;
}

.site-nav__link:hover,
.site-nav__link--active {
    color: #111820;
    background: #fff3e3;
}

.button-primary,
.button-secondary:hover,
.site-cart:hover {
    color: #fff;
    background: var(--mp-accent);
    border-color: var(--mp-accent-dark);
}

.button-primary,
.button-secondary {
    border: 1px solid var(--mp-line);
    cursor: pointer;
}

.button-primary {
    background: var(--mp-action);
    border-color: var(--mp-action);
}

.button-secondary {
    color: #293542;
    background: #fff;
}

.site-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 9px 12px;
    color: #fff;
    background: var(--mp-action);
    border: 1px solid #111820;
    border-radius: var(--mp-radius);
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-cart__icon {
    width: 34px;
    height: 34px;
    background: url(components/basket.png) center / contain no-repeat;
}

.site-cart__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.site-cart__label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}

.site-cart__meta {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.site-account {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.site-login-details {
    max-width: 100%;
}

.site-login-details summary {
    width: max-content;
    max-width: 100%;
    cursor: pointer;
    list-style: none;
}

.site-login-details summary::-webkit-details-marker {
    display: none;
}

.site-login-details[open] .site-login {
    margin-top: 10px;
}

.site-account__user,
.site-login,
.site-secondary-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.site-account__name {
    color: var(--mp-muted);
}

.site-account__logout {
    margin: 0;
}

.site-account__panel {
    display: none;
    min-width: 220px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--mp-line);
    border-radius: var(--mp-radius);
    box-shadow: var(--mp-shadow);
}

.site-account__panel a {
    display: block;
    padding: 5px 0;
}

.site-login {
    align-items: end;
}

.site-login__field {
    display: grid;
    gap: 4px;
}

.site-login label {
    color: var(--mp-muted);
    font-size: 12px;
    font-weight: bold;
}

.site-login input {
    width: 170px;
    min-height: 36px;
    border: 1px solid var(--mp-line);
    border-radius: 6px;
    padding: 7px 9px;
    background: #fff;
}

.site-login__links {
    display: inline-flex;
    gap: 10px;
}

.form-alert {
    width: 100%;
    margin: 2px 0 0;
    color: #8a2500;
    font-weight: bold;
}

.site-main {
    display: block;
    width: 100%;
}

.home-page {
    display: grid;
    gap: 22px;
}

.home-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    padding: 38px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(17, 24, 32, 0.93) 0%, rgba(17, 24, 32, 0.74) 54%, rgba(17, 24, 32, 0.2) 100%),
        url(components/velke-foto.jpg) center right / cover no-repeat;
    border-radius: var(--mp-radius);
}

.home-hero__copy {
    width: min(620px, 100%);
}

.home-hero__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #ffbd4a;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.home-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 36px;
    line-height: 1.08;
}

.home-hero p {
    max-width: 540px;
    margin: 0 0 20px;
    color: #e9eef4;
    font-size: 17px;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-category {
    position: relative;
    display: grid;
    min-height: 235px;
    overflow: hidden;
    color: #fff;
    background: #17202a;
    border-radius: var(--mp-radius);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(26, 36, 48, 0.14);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(26, 36, 48, 0.18);
}

.home-category img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.46;
}

.home-category__body {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    gap: 8px;
    min-height: 235px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(18, 27, 36, 0.08), rgba(18, 27, 36, 0.86));
}

.home-category strong {
    font-size: 22px;
    line-height: 1.1;
}

.home-category span span {
    color: #e9eef4;
}

.home-category em {
    color: #ffbd4a;
    font-style: normal;
    font-weight: bold;
}

.home-support {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 0 6px;
}

.home-support div {
    display: grid;
    gap: 5px;
    padding-top: 14px;
    border-top: 3px solid var(--mp-accent);
}

.home-support strong {
    color: var(--mp-ink);
    font-size: 16px;
}

.home-support span {
    color: var(--mp-muted);
}

.content-page {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--mp-line);
    border-radius: var(--mp-radius);
    box-shadow: 0 14px 30px rgba(30, 40, 52, 0.08);
}

.content-page h1,
.content-page h2 {
    color: var(--mp-ink);
}

.content-page h2 {
    margin-top: 28px;
    margin-bottom: 10px;
}

.content-page ul,
.content-page ol {
    padding-left: 22px;
}

.legal-page {
    color: #26313d;
    line-height: 1.65;
}

.logo-box .top {
    min-height: 30px;
    color: #5c6570;
}

.site-contact-line {
    display: inline-block;
    margin-left: 14px;
    color: #26313d;
    font-weight: bold;
}

.site-contact-line a {
    color: #c46800;
}

.basket-box {
    background: rgba(20, 29, 38, 0.72);
    border-radius: 7px;
    padding: 6px 8px;
}

.content {
    padding-left: 10px;
    padding-right: 10px;
}

.content h1 {
    color: #202832;
    font-size: 22px;
    line-height: 1.3;
    margin: 18px 0 14px;
}

.content .home-hero h1 {
    color: #fff;
    font-size: 36px;
    line-height: 1.08;
    margin: 0 0 12px;
}

.search-box {
    width: 100%;
    max-width: 1100px;
    background: #fff;
    border: 0;
    box-shadow: 0 12px 28px rgba(29, 37, 45, 0.12);
}

.search-box form {
    margin: 0;
}

.search-box table {
    width: calc(100% - 150px);
}

.search-box select,
.search-box input[type="text"] {
    min-height: 32px;
    border: 1px solid #d2d9e1;
    background: #fff;
}

.catalog-filter {
    overflow: hidden;
    border: 1px solid var(--mp-line);
    border-radius: var(--mp-radius);
}

.catalog-filter__form {
    display: grid;
    gap: 16px;
    padding: 18px;
    margin: 0;
    background: #fff;
}

.catalog-filter__heading {
    display: grid;
    gap: 4px;
}

.catalog-filter__heading h2 {
    margin: 0;
    color: var(--mp-ink);
    font-size: 18px;
}

.catalog-filter__heading p {
    margin: 0;
    color: var(--mp-muted);
}

.catalog-filter__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.catalog-filter__field {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.catalog-filter__field label {
    color: #384553;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.catalog-filter__field select,
.catalog-filter__field input {
    width: 100%;
    min-height: 38px;
    padding: 7px 9px;
    color: var(--mp-ink);
    background: #fff;
    border: 1px solid var(--mp-line);
    border-radius: 6px;
}

.catalog-filter__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.filter-category-menu {
    float: none;
    width: 100%;
    margin: 0;
    clear: both;
}

.filter-category-menu ul {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #202b36;
}

.filter-category-menu ul li,
.filter-category-menu ul.t_m li.item_t,
.filter-category-menu ul.t_m li.item_t2 {
    float: none;
    width: auto;
}

.filter-category-menu ul li a,
.filter-category-menu ul.t_m li.item_t a,
.filter-category-menu ul.t_m li.item_t2 a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 8px !important;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    line-height: 1.2;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.filter-category-menu ul li a:hover,
.filter-category-menu ul li a.active {
    background: var(--mp-accent);
}

.search-box .go3,
.go,
.go2,
.content a.add,
.content a.back,
.content a.next {
    border-radius: 6px;
    text-decoration: none;
}

.prod-list1,
.prod-list2 {
    width: 100%;
    max-width: 1100px;
    border: 1px solid #d7dee8;
    box-shadow: 0 4px 12px rgba(28, 38, 48, 0.08);
}

.prod-list1:hover,
.prod-list2:hover {
    background: #fff7e6;
}

.prod-list1 .b3 strong,
.prod-list2 .b3 strong,
.prod-list1 .b5 strong,
.prod-list2 .b5 strong {
    color: #1b2633;
}

.green,
.orange,
.prod-list1 .red,
.prod-list2 .red {
    display: inline-block;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 1100px;
    margin: 14px auto 18px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(30, 40, 52, 0.08);
}

.pagination__summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 34px;
    padding: 0 10px;
    color: #5a6470;
    background: #f3f6f9;
    border: 1px solid #dce3ea;
    border-radius: 6px;
    font-weight: bold;
}

.pagination__summary--muted {
    min-width: 0;
    color: #697482;
    font-weight: normal;
}

.pagination__items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.pagination__item,
.pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    color: #28323d;
    background: #fff;
    border: 1px solid #d8e0e8;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    line-height: 1;
}

a.pagination__item:hover,
a.pagination__item:focus {
    color: #101820;
    background: #fff7eb;
    border-color: #f28c1c;
}

.pagination__item--current {
    color: #fff;
    background: #17202a;
    border-color: #17202a;
}

.pagination__item--disabled {
    color: #a9b3be;
    background: #edf1f5;
    cursor: default;
}

.pagination__item--arrow {
    font-size: 21px;
}

.pagination__ellipsis {
    min-width: 24px;
    padding: 0 2px;
    color: #7c8793;
    background: transparent;
    border-color: transparent;
}

.motopneu-product-card {
    display: grid;
    grid-template-columns: 174px minmax(0, 1fr) minmax(210px, 0.44fr);
    gap: 18px;
    align-items: stretch;
    width: 100%;
    max-width: 1100px;
    margin: 12px auto;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(30, 40, 52, 0.10);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.motopneu-product-card:hover {
    background: #fff;
    border-color: #f2a23a;
    box-shadow: 0 18px 44px rgba(30, 40, 52, 0.16);
    transform: translateY(-1px);
}

.motopneu-product-card__media {
    display: flex;
    min-height: 184px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px;
    color: #26313d;
    text-align: center;
    text-decoration: none;
    background: #f5f7fa;
    border: 1px solid #e1e7ee;
    border-radius: 7px;
}

.motopneu-product-card__media img {
    max-width: 142px;
    max-height: 142px;
    object-fit: contain;
}

.motopneu-product-card__media img.motopneu-product-card__placeholder {
    max-width: 148px;
    max-height: 148px;
}

.content.product-detail .foto-box img.product-detail__placeholder {
    width: 100%;
    max-width: 250px;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

.motopneu-product-card__media span {
    color: #c46800;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.motopneu-product-card__main {
    min-width: 0;
}

.motopneu-product-card__brand {
    margin-bottom: 5px;
    color: #68727d;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0;
    text-transform: uppercase;
}

.motopneu-product-card h2 {
    margin: 0 0 8px;
    color: #17202a;
    font-size: 22px;
    line-height: 1.22;
}

.motopneu-product-card h2 a {
    color: inherit;
    text-decoration: none;
}

.motopneu-product-card h2 a:hover {
    color: #c46800;
}

.motopneu-product-card__alt-size {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 8px;
    color: #59636f;
    background: #f1f4f7;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.motopneu-product-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.motopneu-product-card__facts div {
    min-width: 0;
    padding: 8px 10px;
    background: #f7f9fb;
    border: 1px solid #e4eaf0;
    border-radius: 7px;
}

.motopneu-product-card__facts dt,
.motopneu-product-card__availability span,
.motopneu-product-card__price span,
.motopneu-product-card__alt-offer span {
    display: block;
    margin-bottom: 2px;
    color: #6d7783;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.motopneu-product-card__facts dd {
    margin: 0;
    color: #202832;
    font-weight: bold;
    overflow-wrap: anywhere;
}

.motopneu-product-card__buy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.motopneu-product-card__availability {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 8px 0 12px;
}

.motopneu-product-card__availability span {
    width: 100%;
    margin-bottom: 0;
}

.motopneu-product-card__availability strong {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #e7f5e6;
    font-size: 13px;
}

.motopneu-product-card__availability em {
    color: #6d7783;
    font-style: normal;
    font-weight: bold;
}

.motopneu-product-card__price {
    padding: 10px;
    background: #f7f9fb;
    border: 1px solid #e4eaf0;
    border-radius: 7px;
}

.motopneu-product-card__price-secondary {
    display: block;
    margin-bottom: 8px;
    color: #4b5561;
    font-size: 14px;
}

.motopneu-product-card__price-primary {
    display: block;
    color: #17202a;
    font-size: 22px;
    line-height: 1.1;
}

.motopneu-card-cart {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
}

.motopneu-card-cart .qty-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: auto 38px 54px 38px;
    gap: 0;
    align-items: center;
    width: 100%;
    padding: 0;
    float: none;
    overflow: hidden;
    background: #f7f9fb;
    border: 1px solid #d8e0e8;
    border-radius: 7px;
}

.motopneu-card-cart .ajax-question.abs {
    position: static;
    width: auto;
    margin: 0;
    grid-column: 1 / -1;
    min-height: 34px;
    background: #edf2f7;
    color: #26313d;
    border-radius: 0;
    border-bottom: 1px solid #d8e0e8;
}

.motopneu-card-cart .clearfix {
    display: none;
}

.motopneu-card-cart .ks-fixer {
    position: static;
    margin: 0;
    padding-left: 10px;
    color: #59636f;
    font-weight: bold;
}

.motopneu-card-cart .qty-wrapper button.minus,
.motopneu-card-cart .qty-wrapper button.plus {
    width: 38px;
    min-height: 38px;
    margin: 0;
    border: 0;
    border-radius: 0;
    color: #26313d;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.motopneu-card-cart .qty-wrapper button.minus {
    border-left: 1px solid #d8e0e8;
    border-right: 1px solid #d8e0e8;
}

.motopneu-card-cart .qty-wrapper button.plus {
    color: #fff;
    background: #26313d;
}

.motopneu-card-cart .qty-wrapper input.count-input {
    width: 54px;
    min-height: 38px;
    padding: 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    text-align: center;
    font-weight: bold;
}

.motopneu-card-cart .bb-wrapper {
    width: 100%;
}

.motopneu-card-cart .basket-small {
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 9px 12px;
    color: #fff;
    background: #f28c1c;
    border: 1px solid #c46800;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.motopneu-product-card__vo-message {
    padding: 10px;
    color: #26313d;
    background: #fff4df;
    border: 1px solid #f0cf96;
    border-radius: 7px;
    font-weight: bold;
}

.motopneu-product-card__alt-offer {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(120px, 0.5fr) minmax(120px, 0.5fr) minmax(180px, 0.5fr);
    gap: 10px;
    align-items: center;
    margin-top: 2px;
    padding: 12px;
    background: #fff8ed;
    border: 1px solid #f0d3a3;
    border-radius: 7px;
}

.motopneu-product-card__alt-offer strong {
    color: #17202a;
}

.site-footer {
    height: auto;
    min-height: 0;
    margin-top: 36px;
    padding: 30px 0;
    color: #dce5ee;
    background: #17202a;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) minmax(160px, 0.8fr) minmax(260px, 1.1fr) minmax(180px, 0.8fr);
    gap: 24px;
    width: min(1112px, calc(100vw - 32px));
    max-width: 1112px;
    margin: 0 auto;
    overflow: visible;
}

.site-footer__section {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
}

.site-footer h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 16px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #ffbd4a;
}

.site-footer__logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
}

.site-footer__logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 8px;
    background: #fff;
    border-radius: 6px;
}

.site-footer__logos img {
    max-height: 42px;
    object-fit: contain;
}

.back-top {
    position: fixed;
    z-index: 1200;
    right: 16px;
    bottom: 16px;
    display: none;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--mp-action);
    border: 1px solid #0f171f;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(20, 28, 35, 0.2);
    cursor: pointer;
}

.back-top.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkout-steps {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 18px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--mp-line);
    border-radius: var(--mp-radius);
    box-shadow: 0 10px 24px rgba(30, 40, 52, 0.08);
}

.checkout-steps ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-steps__item a,
.checkout-steps__item .like-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 9px 10px;
    color: #293542;
    background: #f4f7fa;
    border: 1px solid #dce4ec;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.checkout-steps__item span span,
.checkout-steps__item a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #fff;
    background: #6a7785;
    border-radius: 50%;
    font-variant-numeric: tabular-nums;
}

.checkout-steps__item--active a {
    color: #fff;
    background: var(--mp-action);
    border-color: var(--mp-action);
}

.checkout-steps__item--active a span,
.checkout-steps__item--done a span {
    background: var(--mp-accent);
}

.checkout-steps__item--disabled .like-link {
    color: #8592a0;
}

.bp-wrapper {
    display: block;
    overflow: hidden;
    padding: 12px;
    background: #f7f9fb;
    border: 1px solid #d7dee8;
    border-radius: 7px;
}

.left-half,
.right-half {
    width: 49%;
    padding: 10px;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 7px;
}

.left-half {
    float: left;
}

.right-half {
    float: right;
}

.basket-buttons table {
    width: 100%;
}

.basket-buttons a,
.basket-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 190px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #c46800;
    border-radius: 6px;
    background: #f28c1c;
    color: #fff;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

.basket-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cart-page h1,
.checkout-page h1 {
    margin: 0 0 16px;
    color: var(--mp-ink);
    font-size: 30px;
    line-height: 1.15;
}

.cart-empty {
    padding: 24px;
    color: var(--mp-muted);
    background: #fff;
    border: 1px solid var(--mp-line);
    border-radius: var(--mp-radius);
}

.cart-page .prod-list1 {
    width: 100%;
    min-width: 0;
    margin: 12px auto;
    padding: 14px;
    background: #fff;
    border: 1px solid #d8e0e8;
    border-radius: var(--mp-radius);
    box-shadow: 0 10px 24px rgba(30, 40, 52, 0.08);
}

.cart-page .prod-list1:hover {
    background: #fff;
}

.cart-page .prod-list1 td {
    padding: 8px;
    vertical-align: middle;
}

.cart-page .prod-list1 .btn {
    width: 104px;
    background: #f7f9fb;
    border-radius: 7px;
}

.cart-page .prod-list1 .btn img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 7px;
}

.cart-page .prod-list1 .b5 {
    width: auto;
    min-width: 220px;
    color: var(--mp-ink);
    font-size: 15px;
}

.cart-page .b4k,
.cart-page .b4kc {
    width: auto;
    min-width: 150px;
    color: #2c3744;
}

.cart-page .all-price {
    display: inline-flex;
    justify-content: flex-end;
    width: 100%;
    padding: 4px 0;
    color: var(--mp-ink);
    font-size: 18px;
    font-weight: bold;
}

.cart-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #8a1f11;
    background: #fff5f2;
    border: 1px solid #e8b8aa;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.cart-remove:hover {
    color: #fff;
    background: #b73722;
    border-color: #9f2f1d;
}

.checkout-form {
    margin: 0;
}

.checkout-panel {
    min-height: 240px;
}

.checkout-choice-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.checkout-choice-group legend {
    margin: 0 0 12px;
    padding: 0;
    color: var(--mp-ink);
    font-size: 20px;
    font-weight: bold;
}

.checkout-choice-table,
.checkout-form-page .reg-tab {
    width: 100%;
    border-spacing: 0;
}

.checkout-choice td {
    padding: 0 0 8px;
    vertical-align: top;
}

.checkout-choice {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.checkout-choice input[type="radio"],
.checkout-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 12px 10px 0 0;
    accent-color: var(--mp-accent);
}

.checkout-choice label {
    display: block;
    min-height: 48px;
    padding: 10px 12px;
    color: #2b3642;
    background: #f7f9fb;
    border: 1px solid #dfe6ee;
    border-radius: 7px;
    cursor: pointer;
}

.checkout-choice input[type="radio"]:checked + label,
.checkout-choice:has(input[type="radio"]:checked) label {
    background: #fff6e9;
    border-color: #f0b45f;
}

.checkout-choice label span {
    display: block;
    color: var(--mp-ink);
    font-weight: bold;
}

.checkout-choice .note {
    margin-top: 4px;
    color: var(--mp-muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.35;
}

.checkout-form-page .reg-tab td {
    display: block;
    width: 100%;
    padding: 4px 0;
}

.checkout-form-page .reg-tab .des,
.checkout-form-page .reg-tab .des-n {
    color: #27323d;
    background: transparent;
    font-weight: bold;
}

.checkout-form-page .reg-tab label {
    display: inline-block;
    margin-bottom: 2px;
}

.checkout-form-page .input,
.checkout-form-page select,
.checkout-form-page textarea,
.checkout-page .input,
.checkout-page select,
.checkout-page textarea {
    width: 100%;
    min-height: 40px;
    padding: 9px 10px;
    color: #1e242b;
    background: #fff;
    border: 1px solid #cfd8e2;
    border-radius: 6px;
    font: inherit;
}

.checkout-form-page textarea.note {
    min-height: 120px;
    resize: vertical;
}

.checkout-summary-page .hilight table,
.checkout-summary-page .prod-list1 {
    width: 100% !important;
    min-width: 0 !important;
}

.checkout-summary-page .hilight {
    background: #fff;
    border: 1px solid var(--mp-line);
    box-shadow: 0 10px 24px rgba(30, 40, 52, 0.08);
}

.cookie-consent {
    position: fixed;
    z-index: 9999;
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    color: #1e242b;
    background: #fff;
    border: 1px solid #d7dee8;
    border-radius: 7px;
    box-shadow: 0 16px 40px rgba(20, 28, 35, 0.22);
}

.cookie-consent button {
    min-width: 120px;
    min-height: 36px;
    border: 1px solid #c46800;
    border-radius: 6px;
    background: #f28c1c;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

.cookie-consent button[data-consent="necessary"] {
    background: #fff;
    color: #26313d;
    border-color: #c8d0da;
}

.cookie-preferences-button {
    position: fixed;
    z-index: 9998;
    right: 14px;
    bottom: 14px;
    min-height: 32px;
    padding: 6px 10px;
    color: #26313d;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #c8d0da;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(20, 28, 35, 0.16);
    cursor: pointer;
    font-weight: bold;
}

@media screen and (max-width: 900px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        background-image: linear-gradient(180deg, #f7f9fb 0%, #fff 320px);
    }

    .top-strip,
    .content,
    .f-cont,
    .search-box,
    .pagination,
    .prod-list1,
    .prod-list2,
    iframe {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        min-width: 0;
    }

    .top-strip {
        height: auto;
        padding-top: 8px;
    }

    .site-header {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin-bottom: 12px;
    }

    .site-header__top,
    .site-header__main,
    .site-account__user,
    .site-login,
    .site-secondary-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-header__main {
        padding: 12px;
    }

    .site-logo {
        width: min(280px, 100%);
        justify-self: center;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .site-nav__link,
    .site-secondary-nav a,
    .button-secondary,
    .button-primary,
    .site-cart {
        width: 100%;
    }

    .site-login__field,
    .site-login input,
    .site-login__links {
        width: 100%;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__logos {
        grid-template-columns: 1fr 1fr;
    }

    .home-hero {
        min-height: 330px;
        padding: 24px;
        background:
            linear-gradient(180deg, rgba(17, 24, 32, 0.92), rgba(17, 24, 32, 0.72)),
            url(components/velke-foto.jpg) center / cover no-repeat;
    }

    .home-hero h1 {
        font-size: 28px;
    }

    .home-category-grid,
    .home-support {
        grid-template-columns: 1fr;
    }

    .home-category,
    .home-category__body {
        min-height: 215px;
    }

    .catalog-filter__form {
        padding: 14px;
    }

    .catalog-filter__grid {
        grid-template-columns: 1fr;
    }

    .catalog-filter__actions {
        justify-content: stretch;
    }

    .filter-category-menu ul {
        grid-template-columns: 1fr 1fr;
    }

    .logo-box,
    .menu-box,
    .log-tab,
    .basket-box,
    .fl,
    .fr {
        float: none;
        width: 100%;
        height: auto;
    }

    .logo-box {
        text-align: center;
    }

    .logo-box a {
        display: inline-block;
        margin: 8px auto;
        padding: 6px 8px;
        background: rgba(38, 49, 61, 0.72);
        border-radius: 7px;
    }

    .logo-box img {
        max-width: 280px;
    }

    .site-contact-line {
        display: block;
        margin: 4px 0 0;
    }

    .pagination {
        align-items: flex-start;
        gap: 8px;
        padding: 8px;
    }

    .pagination__summary,
    .pagination__items {
        width: 100%;
    }

    .pagination__item,
    .pagination__ellipsis {
        min-width: 36px;
        height: 36px;
    }

    #currency_selector {
        position: static;
        width: 130px;
        margin: 6px auto 0;
    }

    .dropdown {
        margin-left: 0;
    }

    .dropdown-content {
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .menu-box {
        min-height: 0;
        padding-bottom: 10px;
    }

    .tr2 {
        margin-top: 8px;
        line-height: 1.9;
    }

    .tr2 a {
        display: inline-block;
        margin: 2px 5px 2px 0;
    }

    .log-tab,
    .log-tab tbody,
    .log-tab tr,
    .log-tab td,
    .log-tab2,
    .log-tab2 tbody,
    .log-tab2 tr,
    .log-tab2 td {
        display: block;
        width: 100%;
        text-align: left;
    }

    .log-tab .input,
    .log-tab2 .input {
        width: 100%;
        margin: 4px 0 8px;
    }

    .log-tab .go,
    .log-tab2 .go,
    .go.go-edit {
        width: 100%;
        min-height: 36px;
        height: auto;
        max-height: none;
        margin: 4px 0;
    }

    .fb-share-button,
    .top-strip2 {
        display: none !important;
    }

    .search-box table,
    .search-box tbody,
    .search-box tr,
    .search-box td {
        display: block;
        width: 100%;
        float: none;
    }

    .search-box table {
        width: 100%;
    }

    .search-box td {
        padding: 3px 0;
    }

    .search-box select,
    .search-box input[type="text"],
    .input2,
    .input3,
    .input4,
    .search-box textarea {
        width: 100%;
    }

    .search-box .result {
        position: static;
        margin-top: 10px;
    }

    .search-box .go3 {
        width: 100%;
    }

    .filter-category-menu,
    .basket-menu.filter-category-menu {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
        overflow: hidden;
    }

    .filter-category-menu ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        float: none;
        width: 100%;
        max-width: 100%;
    }

    .filter-category-menu ul li,
    .basket-menu.filter-category-menu ul li {
        float: none;
        width: 100%;
        min-width: 0;
    }

    .filter-category-menu ul li a,
    .basket-menu ul .like-link {
        min-height: 44px;
        height: auto;
        padding: 9px 6px !important;
        line-height: 1.25;
        white-space: normal;
    }

    .prod-list1,
    .prod-list2 {
        overflow-x: auto;
        padding: 8px;
    }

    .cart-page .prod-list1,
    .cart-page .prod-list1 tbody,
    .cart-page .prod-list1 tr,
    .cart-page .prod-list1 td {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: visible;
    }

    .cart-page .prod-list1 {
        padding: 12px;
    }

    .cart-page .prod-list1 .btn {
        width: 100%;
        text-align: left;
    }

    .cart-page .prod-list1 .btn img {
        margin: 0 auto;
    }

    .cart-page .b4k,
    .cart-page .b4kc,
    .cart-page .prod-list1 .b5 {
        min-width: 0;
        text-align: left;
    }

    .cart-page .qty-wrapper.basket {
        display: grid;
        grid-template-columns: 42px minmax(60px, 1fr) 42px;
        gap: 8px;
        width: 100%;
    }

    .cart-page .qty-wrapper.basket .count {
        width: 100%;
        text-align: center;
    }

    .cart-remove {
        margin-top: 8px;
    }

    .checkout-steps ol {
        grid-template-columns: 1fr;
    }

    .checkout-choice {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .checkout-choice td {
        min-width: 0;
    }

    .motopneu-product-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin: 12px auto;
        padding: 12px;
        overflow: visible;
    }

    .motopneu-product-card__media {
        min-height: 116px;
        padding: 8px;
    }

    .motopneu-product-card__media img {
        max-width: 90px;
        max-height: 90px;
    }

    .motopneu-product-card__media img.motopneu-product-card__placeholder {
        max-width: 96px;
        max-height: 96px;
    }

    .motopneu-product-card__main,
    .motopneu-product-card__buy,
    .motopneu-product-card__alt-offer {
        grid-column: 1 / -1;
    }

    .motopneu-product-card h2 {
        font-size: 18px;
    }

    .motopneu-product-card__facts {
        grid-template-columns: 1fr;
    }

    .motopneu-product-card__price-primary {
        font-size: 20px;
    }

    .motopneu-card-cart .qty-wrapper {
        grid-template-columns: auto 42px minmax(58px, 1fr) 42px;
    }

    .motopneu-card-cart .count-input {
        width: 100%;
    }

    .motopneu-product-card__alt-offer {
        grid-template-columns: 1fr;
    }

    .content.product-detail .lt,
    .content.product-detail .tr2,
    .content.product-detail .foto-box,
    .content.product-detail .desc-box {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .content.product-detail .tr2 {
        text-align: left;
    }

    .content.product-detail .foto-box {
        height: auto;
        min-height: 210px;
        margin-top: 12px;
        padding: 12px;
    }

    .content.product-detail .foto-box img {
        max-height: 260px;
        object-fit: contain;
    }

    .content.product-detail .desc-box .dim,
    .content.product-detail .desc-box .price {
        padding: 14px;
        font-size: 15px;
        line-height: 1.55;
    }

    .content.product-detail .ad-bask,
    .content.product-detail .ad-bask tbody,
    .content.product-detail .ad-bask tr,
    .content.product-detail .ad-bask td {
        display: block;
        float: none;
        width: 100%;
    }

    .content.product-detail .desc-box .basket-small {
        margin-left: 0;
    }

    .content.product-detail .des-cont {
        width: 100%;
        max-width: 100%;
        margin: 12px 0;
        padding: 12px;
    }

    .prod-list1 td,
    .prod-list2 td {
        min-width: 90px;
    }

    .content h1 {
        font-size: 19px;
    }

    .basket-menu li.item_t {
        width: 100%;
        float: none;
    }

    .left-half,
    .right-half {
        float: none;
        width: 100%;
        margin-bottom: 12px;
    }

    .reg-tab,
    .reg-tab tbody,
    .reg-tab tr,
    .reg-tab td {
        display: block;
        width: 100%;
    }

    .reg-tab .input,
    .reg-tab select,
    textarea.note {
        width: 100%;
    }

    iframe {
        height: 260px;
    }

    .cookie-consent {
        display: block;
    }

    .cookie-consent button {
        width: 100%;
        margin-top: 10px;
    }

    .cookie-preferences-button {
        right: 10px;
        bottom: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ================================================================
 * 2026 modernization layer — komponenty, accessibility, mobile UX
 * Vrstva nad legacy CSS, používá design tokens (:root výše).
 * ================================================================ */

/* Accessibility helpers */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary-hover);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
    top: 0;
}

/* Focus styling — viditelný outline všude */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-primary-hover);
    outline-offset: 2px;
}

/* Modern body typography (overrides legacy 13px Tahoma) */
body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.55;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: #14202b;
    line-height: 1.25;
    margin-top: 0;
}
h1 { font-size: var(--fs-2xl); margin-bottom: var(--space-4); }
h2 { font-size: var(--fs-xl); margin-bottom: var(--space-3); }
h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }

a {
    color: var(--color-primary-hover);
    transition: color var(--transition);
}
a:hover {
    color: var(--color-primary-dark);
}

/* Breadcrumb component */
.breadcrumb {
    list-style: none;
    padding: var(--space-2) 0;
    margin: 0 0 var(--space-3);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}
.breadcrumb li {
    display: inline-flex;
    align-items: center;
}
.breadcrumb li + li::before {
    content: "›";
    margin: 0 var(--space-2);
    color: var(--color-border-strong);
}
.breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
    color: var(--color-text);
    font-weight: 500;
}

/* Newsletter component (footer) */
.footer-newsletter {
    margin-top: var(--space-5);
    padding: var(--space-4);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    color: #f1f4f7;
    max-width: 720px;
}
.footer-newsletter strong {
    display: block;
    color: #fff;
    font-size: var(--fs-lg);
    margin-bottom: var(--space-2);
}
.footer-newsletter p {
    margin: 0 0 var(--space-3);
    color: #cdd6e0;
    font-size: var(--fs-sm);
}
.footer-newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}
.footer-newsletter input[type="email"] {
    flex: 1 1 220px;
    min-height: 40px;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    background: #fff;
    color: var(--color-text);
    font-size: var(--fs-sm);
}
.footer-newsletter button {
    min-height: 40px;
    padding: 0 var(--space-4);
    background: var(--color-primary);
    color: #fff;
    border: 0;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.footer-newsletter button:hover {
    background: var(--color-primary-hover);
}
.footer-newsletter__feedback {
    margin-top: var(--space-2);
    min-height: 1.4em;
    font-size: var(--fs-sm);
}
.footer-newsletter__feedback--ok { color: #6ce0a4; }
.footer-newsletter__feedback--err { color: #ff9999; }

/* Hamburger / mobile menu trigger */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.menu-toggle .menu-toggle__bars,
.menu-toggle .menu-toggle__bars::before,
.menu-toggle .menu-toggle__bars::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    position: relative;
    transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.menu-toggle .menu-toggle__bars::before,
.menu-toggle .menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}
.menu-toggle .menu-toggle__bars::before { top: -7px; }
.menu-toggle .menu-toggle__bars::after  { top:  7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* Improved product card hover (subtle elevation) */
.prod-list1,
.prod-list2 {
    transition: box-shadow var(--transition), transform var(--transition);
}
.prod-list1:hover,
.prod-list2:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

/* Modernizace formulářů (input/select/textarea) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    font-family: inherit;
    font-size: var(--fs-sm);
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 2px rgba(197, 48, 48, 0.1);
}

/* Mobile-first breakpoints (přidává se k legacy max-width: 900px bloku výše) */
@media (max-width: 768px) {
    .menu-toggle { display: inline-flex; }
    .menu-box ul.t_m {
        display: none;
        flex-direction: column;
    }
    .menu-box[data-menu-open="true"] ul.t_m {
        display: flex;
    }

    /* Stop horizontal scroll on body */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    h1 { font-size: 24px; }
    h2 { font-size: 19px; }

    /* Newsletter: stacked layout on mobile */
    .footer-newsletter form {
        flex-direction: column;
    }
    .footer-newsletter button {
        width: 100%;
    }

    /* Product detail: bigger touch targets */
    a.add, a.next, a.back,
    button.go, button.go2, button.go3 {
        min-height: 44px;
        padding: var(--space-2) var(--space-4);
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .top-strip,
    .content,
    .f-cont {
        max-width: calc(100vw - 32px);
        padding: 0 var(--space-3);
    }
}

/* Footer: floats → flex (modern, BC-compatible) */
.f-cont {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    align-items: flex-start;
}
.f-cont .fl,
.f-cont .fr {
    float: none;
    flex: 1 1 280px;
    min-width: 0;
}
.f-cont .fr {
    text-align: right;
}
.f-cont .footer-newsletter {
    flex: 1 1 100%;
    margin-top: 0;
}

@media (max-width: 768px) {
    .f-cont {
        flex-direction: column;
        gap: var(--space-4);
    }
    .f-cont .fr {
        text-align: left;
    }
}

/* Basket box: legacy table → inline-grid look */
.basket-box {
    display: inline-table;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius);
    padding: var(--space-2) var(--space-3);
}
.basket-box td {
    padding: 2px 6px;
    color: #fff;
}
.basket-box .price-basket-row {
    color: #ffd99c;
    font-weight: 600;
}
.basket-box img {
    transition: transform var(--transition);
}
.basket-box a:hover img {
    transform: scale(1.08);
}

/* Top-strip layout (zachováno legacy chování, ale lépe odstupňováno) */
.top-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
}
.top-strip .logo-box {
    flex: 1 1 280px;
    min-width: 0;
}
.top-strip .menu-box {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .top-strip {
        padding: var(--space-2) var(--space-3);
        justify-content: space-between;
    }
    .top-strip .logo-box {
        flex: 1 1 auto;
    }
    .top-strip .menu-box {
        order: 3;
        flex: 1 1 100%;
        justify-content: center;
    }
    .top-strip .menu-toggle {
        order: 2;
    }
}

/* Reg-tab a Log-tab — modernizace formulářových tabulek (zachovat layout) */
.reg-tab td.des,
.log-tab td,
.log-tab2 td {
    color: var(--color-text-muted);
    font-weight: 500;
    padding-right: var(--space-3);
}
.reg-tab td.des label,
.log-tab td label,
.log-tab2 td label {
    cursor: pointer;
}
.reg-tab .input,
.log-tab .input,
.log-tab2 .input {
    min-height: 38px;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    width: 100%;
    max-width: 320px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.reg-tab .input:focus-visible,
.log-tab .input:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 144, 3, 0.15);
}

/* Buttons — sjednocení vzhledu */
.go,
.go2,
.go3,
.next,
.add,
.back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--color-primary-hover);
    background: var(--color-primary);
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    cursor: pointer;
}
.go:hover,
.go2:hover,
.go3:hover,
.next:hover,
.add:hover,
.back:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

/* Inline form validation — error message pod input fieldem */
.field-error {
    display: block;
    margin-top: var(--space-1);
    color: var(--color-danger);
    font-size: var(--fs-xs);
    line-height: 1.4;
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--color-danger) !important;
    box-shadow: 0 0 0 2px rgba(197, 48, 48, 0.12) !important;
}
.cookie-consent input[aria-invalid="true"] { /* nepřebíjet uvnitř banneru */
    border-color: inherit !important;
    box-shadow: none !important;
}

/* Print: skrýt navigaci, košík, cookie banner */
@media print {
    .top-strip,
    .menu-box,
    .basket-box,
    .footer,
    .footer-newsletter,
    .cookie-consent,
    #motopneu-cookie-consent,
    .skip-link,
    #back-top {
        display: none !important;
    }
    .content {
        max-width: 100%;
        padding: 0;
    }
}
