/* radarpneu.cz — visual fixes inside the existing design (Radar black / white / hero red, Inter).
   Load after every other stylesheet. No wording, prices or behaviour change here. */

/* ---- 1. One brand red: the hero's #e30414 everywhere a red is used ---------------------------- */
body.elementor-kit-346 {
  --e-global-color-accent: #e30414;          /* was #ed1c24 — e.g. the red kicker on „Informace o značce“ */
}
/* feature bar under the hero was #ff0000 (white 12.8 px text on it: 4.0 : 1) */
body .elementor-10189 .elementor-element.elementor-element-621035a:not(.elementor-motion-effects-element-type-background) {
  background-color: #e30414;
}
.fake-list-wrapper .bullet { background-color: #e30414; }          /* pattern header bullets (#e03626) */
.dezen-card .dezen-badge-premium { background-color: #e30414; }    /* „RADAR PREMIUM“ badge (#d60000) */

/* ---- 2. Header: crisp logo, a visible menu button on phones, bigger tap areas ------------------ */
.elementor-361 .elementor-element.elementor-element-910a371 img,
.elementor-10335 .elementor-element.elementor-element-caeab26 img {
  object-fit: contain;                       /* Elementor sets object-fit: fill — the logo was squeezed at 360–1024 px */
}
/* the phone menu button existed but was black on the black header */
.elementor-361 .elementor-element.elementor-element-8a7d4b7 div.elementor-menu-toggle {
  color: #fff;
  width: 40px;
  height: 40px;
}
.elementor-361 .elementor-element.elementor-element-8a7d4b7 div.elementor-menu-toggle svg { fill: #fff; }
.elementor-361 .elementor-element-62a1eef a {                 /* cart icon: 30 → 40 px hit area */
  display: block;
  padding: 5px;
  margin: -5px;
}
.elementor-361 a:focus-visible,
.elementor-361 [role="button"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---- 3. Home: hero arrows and the feature bar ----------------------------------------------- */
.elementor-10189 .elementor-element-ae2555b .elementor-swiper-button { padding: 8px; }   /* 24 → 40 px */
.elementor-10189 .elementor-element-ae2555b .elementor-swiper-button-prev { left: 2px; }
.elementor-10189 .elementor-element-ae2555b .elementor-swiper-button-next { right: 2px; }
@media (max-width: 767px) {
  /* every feature: icon above its label (one of them sat beside its icon) */
  .elementor-10189 .elementor-element-621035a .e-con .e-con.e-con-boxed {
    --flex-direction: column;
    --align-items: center;
    --justify-content: flex-start;
    --gap: 12px;
  }
  .elementor-10189 .elementor-element-621035a .elementor-heading-title { text-align: center; }
}

/* ---- 4. Size search (home and pattern pages): designed selects and button ------------------- */
.inside-filter-wrapper {
  gap: 16px;
  align-items: flex-end;
  padding: 24px 16px 32px;
}
.inside-filter-wrapper > .input-wrapper {
  padding: 0;
  gap: 8px;
}
.inside-filter-wrapper .input-label-text {
  margin: 0;
  color: #121212;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
}
.inside-filter-wrapper select.filter-input {
  -webkit-appearance: none;
  appearance: none;
  width: 10rem;
  min-width: 0;
  height: 48px;
  padding: 0 40px 0 14px;
  border: 1px solid #8a8787;
  border-radius: 4px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121212' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
  color: #121212;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.inside-filter-wrapper select.filter-input:hover { border-color: #121212; }
.inside-filter-wrapper select.filter-input:focus { outline: none; border-color: #121212; box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.15); }
.inside-filter-wrapper select.filter-input:focus-visible { outline: 2px solid #121212; outline-offset: 2px; }

@media (max-width: 767px) {
  .inside-filter-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }
  /* pattern page: three sizes in one row (the season select is hidden there) */
  .inside-filter-wrapper:has(> .season-hidden) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inside-filter-wrapper select.filter-input { width: 100%; }
  .inside-filter-wrapper > .button-primary-uni { grid-column: 1 / -1; }
}

/* ---- 5. Buttons and quantity fields: one primary style (search, buy) ------------------------ */
a.button-primary-uni {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 0 28px;
  border: 2px solid #e30414;
  border-radius: 4px;
  background-color: #e30414;
  color: #fff !important;                    /* the plugin writes style="color: #000" on the buy buttons */
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
a.button-primary-uni:hover { border-color: #121212; background-color: #121212; }
a.button-primary-uni:focus-visible { outline: 2px solid #121212; outline-offset: 2px; }

body .product-wrapper input.text-field-product.w-input,
body .price-and-stock-detail ~ .ex-form-wrapper input.text-field.w-input {
  width: 4rem;
  max-width: 4rem;
  flex: none;                                /* the plugin's flex: 1 collapsed it to 22 px in its column wrapper */
  height: 48px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid #8a8787;
  border-radius: 4px;
  color: #121212;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
body .product-wrapper input.text-field-product.w-input:hover,
body .price-and-stock-detail ~ .ex-form-wrapper input.text-field.w-input:hover { border-color: #121212; }
body .product-wrapper input.text-field-product.w-input:focus-visible,
body .price-and-stock-detail ~ .ex-form-wrapper input.text-field.w-input:focus-visible { outline: 2px solid #121212; outline-offset: 2px; }

/* ---- 6. Product rows (home and pattern pages): whole tyre, clear hierarchy ------------------- */
.product-wrapper {
  align-items: center;
  gap: 24px;
  margin-bottom: 12px;
  padding: 16px 20px 16px 16px;
  border-color: #d7d7d7;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.product-wrapper:hover { border-color: #8a8787; box-shadow: 0 6px 18px rgba(18, 18, 18, 0.08); }
.product-wrapper > a.image-wrapper {
  display: flex;
  flex: 0 0 152px;
  align-items: center;
  justify-content: center;
  width: 152px;
  height: 152px;
}
.product-wrapper div.image-wrapper { flex: none; width: 100%; height: 100%; }
.product-wrapper .image-product {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;                       /* was cut to its top half (16 rem photo in an 8 rem box) */
}
.product-wrapper > a.details-wrapper { flex: 1 1 auto; min-width: 0; margin: 0; color: inherit; }
.product-wrapper div.details-wrapper { margin: 0; gap: 12px; justify-content: center; }
.product-wrapper > a.extender { display: none; }
.product-wrapper .name-wrapper { margin: 0; }
.product-wrapper .product-name {
  margin: 0;
  color: #121212;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  white-space: normal;
}
.product-wrapper .tyre-info-wrapper {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 20px;
}
.product-wrapper .tyre-info { margin: 0; gap: 2px; }
.product-wrapper .detail-text {
  margin: 0;
  color: #646363;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.02em;
}
.product-wrapper .detail-value {
  color: #121212;
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: 700;
  white-space: nowrap;                       /* „Standardní a EV ready“ no longer outgrows the specs */
}
.product-wrapper .right-side-wrapper {
  flex: 0 0 auto;
  gap: 16px;
  margin: 0;
  padding: 0;
  align-self: center;
}
.product-wrapper .top-info-wrapper {
  flex: 0 0 auto;
  gap: 20px;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  align-items: flex-start;
  background: none;
}
.product-wrapper .stock-wrapper-product {
  min-width: 0;
  margin: 0;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 2px;
}
.product-wrapper .stock-value-2 { color: #646363; font-size: 0.875rem; line-height: 1.25rem; }
.product-wrapper .price-wrapper { margin: 0; align-items: flex-end; gap: 2px; }
.product-wrapper .price-text-2 { font-size: 1.5rem; line-height: 1.75rem; }
.product-wrapper .qualtity-text,
.price-and-stock-detail .qualtity-text-detail { color: #646363; }
.product-wrapper .info-text,
.price-and-stock-detail .info-text-detail { color: #646363; font-size: 0.75rem; line-height: 1rem; }
.product-wrapper .purchase-wrapper { flex: 0 0 auto; justify-content: flex-end; }
.product-wrapper .form-block { margin: 0; }
.product-wrapper .form-2 { gap: 8px; flex-wrap: nowrap; height: auto; background: none; }
.product-wrapper .div-block-2-product { height: auto; margin: 0; }

/* stock states, readable (≥ 4.5 : 1) — the plugin marks two of them !important */
.stock-wrapper-product .text-block-2,
.price-and-stock-detail .text-block-2 { color: #067d1e; font-size: 1rem; line-height: 1.375rem; }
.stock-wrapper-product .text-block-2.supplier-stock { color: #9a5b00 !important; }
.stock-wrapper-product .text-block-2.nostock { color: #6e6e6e !important; }

/* pattern page: the diameter group */
.wrapper-dezen-products.has-products { border-radius: 8px; }
.wrapper-dezen-products .dezen-rim-size { margin: 0 0 16px; font-size: 1.25rem; line-height: 1.3; }

@media (min-width: 768px) and (max-width: 1023px) {
  .product-wrapper { gap: 16px; }
  .product-wrapper > a.image-wrapper { flex-basis: 112px; width: 112px; height: 112px; }
  .product-wrapper .right-side-wrapper { margin: 0; }
  .product-wrapper .top-info-wrapper { flex-direction: column; align-items: flex-end; gap: 8px; }
  .product-wrapper .product-name { font-size: 1.125rem; }
}

@media (max-width: 767px) {
  .product-wrapper {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 16px;
    align-items: start;
  }
  .product-wrapper > a.image-wrapper { grid-column: 1; grid-row: 1; width: 96px; height: 96px; order: 0; }
  .product-wrapper > a.details-wrapper { grid-column: 2; grid-row: 1; order: 0; }
  .product-wrapper div.details-wrapper { gap: 10px; }
  .product-wrapper .product-name { font-size: 1.0625rem; line-height: 1.35; }
  .product-wrapper .tyre-info-wrapper {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 8px 16px;
  }
  .product-wrapper .tyre-info:last-child:nth-child(6) { grid-column: 1 / -1; }
  .product-wrapper .right-side-wrapper {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    gap: 12px;
    padding: 12px 0 0;
    border-top: 1px solid #e9e9e9;
    align-items: stretch;
    justify-content: flex-start;
  }
  .product-wrapper .top-info-wrapper {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 0;
  }
  .product-wrapper .stock-wrapper-product { width: auto; margin: 0; align-items: flex-start; }
  .product-wrapper .stock-wrapper-product .text-block-2 { text-align: left; }
  .product-wrapper .stock-value-2 { text-align: left; }
  .product-wrapper .price-wrapper { margin: 0; }
  .product-wrapper .purchase-wrapper,
  .product-wrapper .form-block,
  .product-wrapper .form-2 { width: 100%; }
  .product-wrapper .form-2 { justify-content: flex-start; }
  .product-wrapper .form-2 > a.button-primary-uni { flex: 1 1 auto; }
  .wrapper-dezen-products .dezen-rim-size { margin: 8px 0 12px; }
}

/* ---- 7. Product detail -------------------------------------------------------------------- */
.price-and-stock-detail ~ .ex-form-wrapper .div-exform-detail { gap: 8px; align-items: center; }
.price-and-stock-detail ~ .ex-form-wrapper .div-block-2 { height: auto; margin: 0; }
.product-detail-description-label-2 .eprel-not-available { color: #646363; font-size: 0.75rem; }

/* ---- 8. WooCommerce pages (cart, account) ------------------------------------------------- */
body .woocommerce-info,
body .woocommerce-message { border-top-color: #e30414; }
body .woocommerce-info::before,
body .woocommerce-message::before { color: #e30414; }
body.woocommerce-account .woocommerce button.button,
body.woocommerce-cart .woocommerce a.button {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 4px;
}
body.woocommerce-account .woocommerce .lost_password a {
  display: inline-block;
  padding: 12px 0;
  margin: -12px 0;
}
body.woocommerce-account .woocommerce .show-password-input {
  min-width: 40px;
  min-height: 40px;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
}

/* ---- 9. Footer ---------------------------------------------------------------------------- */
.elementor-10335 .elementor-element-9cc9bb1 a {                /* agency credit: 16 → 40 px tap height */
  display: inline-block;
  padding: 12px 4px;
  margin: -12px -4px;
}
.elementor-10335 .elementor-element-caeab26 a { display: inline-block; padding: 2px 0; margin: -2px 0; }

/* ---- 10. Visible keyboard focus on the light pages ---------------------------------------- */
.elementor-location-footer a:focus-visible,
.elementor-widget-shortcode a:focus-visible,
.woocommerce a:focus-visible,
.woocommerce button:focus-visible,
.woocommerce input:focus-visible {
  outline: 2px solid #121212;
  outline-offset: 2px;
}

/* ---- 11. Account page: the login box was held to 50 % of its column (≈ 125 px fields on a phone) ---- */
body.woocommerce-account .elementor-widget-woocommerce-my-account .woocommerce form.woocommerce-form-login {
  max-width: none;
}
body.woocommerce-account .woocommerce form .form-row > label { margin-bottom: 6px; }
body.woocommerce-account .woocommerce form.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 0 0 8px;
}

/* ---- 12. Product-category archives (/kategorie-produktu/…): the shop's type, cards and controls ---- */
/* the page itself: one grid, the spacing set here (the count and the sorting share a row from 768 px);
   the theme narrowed it to 600 px at 768 and 800 px at 1024, four cards of 180 px — now the shop's 1140 px */
body.tax-product_cat #main.site-main {
  max-width: 1140px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 24px;
  padding-top: 24px;
  padding-bottom: 64px;
}
body.tax-product_cat #main.site-main > * { grid-column: 1 / -1; min-width: 0; margin: 0; }
body.tax-product_cat #main .woocommerce-notices-wrapper:empty { display: none; }
body.tax-product_cat #main .woocommerce-breadcrumb {
  color: #646363;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
body.tax-product_cat #main .woocommerce-breadcrumb a {
  display: inline-block;
  padding: 10px 4px;
  margin: -10px -4px;
  color: #121212;
  text-decoration: underline;
  text-decoration-color: #8a8787;
  text-underline-offset: 3px;
}
body.tax-product_cat #main .woocommerce-breadcrumb a:hover { text-decoration-color: #121212; }
body.tax-product_cat #main .woocommerce-products-header__title {
  margin: 0;
  color: #121212;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
}
body.tax-product_cat #main .woocommerce-result-count {
  grid-column: 1;
  float: none;
  color: #646363;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
body.tax-product_cat #main .woocommerce-ordering { grid-column: 2; float: none; }
/* the sorting select in the size search's style (section 4); it is only styled — choosing in it sends the form */
body.tax-product_cat #main .woocommerce-ordering select.orderby {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: auto;
  min-width: 18rem;
  max-width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 40px 0 14px;
  border: 1px solid #8a8787;
  border-radius: 4px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121212' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
  color: #121212;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.tax-product_cat #main .woocommerce-ordering select.orderby:hover { border-color: #121212; }
body.tax-product_cat #main .woocommerce-ordering select.orderby:focus { outline: none; border-color: #121212; box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.15); }
body.tax-product_cat #main .woocommerce-ordering select.orderby:focus-visible { outline: 2px solid #121212; outline-offset: 2px; }

/* product cards: whole tyre, name, price, button — the buttons of a row on one line */
body.tax-product_cat #main ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
}
body.tax-product_cat #main ul.products::before,
body.tax-product_cat #main ul.products::after { content: none; display: none; }   /* the clearfix would be a grid cell */
body.tax-product_cat #main ul.products li.product {
  display: flex;
  flex-direction: column;
  gap: 16px;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.tax-product_cat #main ul.products li.product:hover { border-color: #8a8787; box-shadow: 0 6px 18px rgba(18, 18, 18, 0.08); }
body.tax-product_cat #main ul.products li.product a.woocommerce-loop-product__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  color: #121212;
  text-decoration: none;
  border-radius: 4px;
}
body.tax-product_cat #main ul.products li.product a.woocommerce-loop-product__link:focus-visible { outline: 2px solid #121212; outline-offset: 4px; }
body.tax-product_cat #main ul.products li.product a.woocommerce-loop-product__link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  object-fit: contain;
}
body.tax-product_cat #main ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
  padding: 0;
  color: #121212;
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}
body.tax-product_cat #main ul.products li.product .price {
  margin: auto 0 0;                          /* to the card's foot: the prices of a row on one line */
  color: #121212;
  font-size: 1.5rem;
  line-height: 1.75rem;
  font-weight: 700;
}
/* buttons: buy = the shop's primary button (section 5), „Čtěte více“ = its outlined secondary („Zobrazit více“) */
body.tax-product_cat #main ul.products li.product a.button {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 48px;
  margin: 0;
  padding: 0 12px;
  border: 2px solid #121212;
  border-radius: 4px;
  background-color: #fff;
  color: #121212;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
body.tax-product_cat #main ul.products li.product a.button:hover { border-color: #121212; background-color: #121212; color: #fff; }
body.tax-product_cat #main ul.products li.product a.button.add_to_cart_button { border-color: #e30414; background-color: #e30414; color: #fff; }
body.tax-product_cat #main ul.products li.product a.button.add_to_cart_button:hover { border-color: #121212; background-color: #121212; }
body.tax-product_cat #main ul.products li.product a.button:focus-visible { outline: 2px solid #121212; outline-offset: 2px; }
body.tax-product_cat #main ul.products li.product a.button.loading { padding-right: 40px; }   /* room for WooCommerce's spinner */
/* after an add to cart WooCommerce puts „Zobrazit košík“ under the button */
body.tax-product_cat #main ul.products li.product a.added_to_cart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 0;
  color: #121212;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* pagination: designed numbers, 40 px and more */
body.tax-product_cat #main nav.woocommerce-pagination { padding-top: 16px; text-align: center; }
body.tax-product_cat #main nav.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  white-space: normal;
}
body.tax-product_cat #main nav.woocommerce-pagination ul.page-numbers::before,
body.tax-product_cat #main nav.woocommerce-pagination ul.page-numbers::after { content: none; display: none; }
body.tax-product_cat #main nav.woocommerce-pagination ul li { float: none; display: block; margin: 0; padding: 0; border: 0; overflow: visible; }
body.tax-product_cat #main nav.woocommerce-pagination ul li a,
body.tax-product_cat #main nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #fff;
  color: #121212;
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
body.tax-product_cat #main nav.woocommerce-pagination ul li a:hover,
body.tax-product_cat #main nav.woocommerce-pagination ul li a:focus { border-color: #121212; background: #fff; color: #121212; }
body.tax-product_cat #main nav.woocommerce-pagination ul li a:focus-visible { outline: 2px solid #121212; outline-offset: 2px; }
body.tax-product_cat #main nav.woocommerce-pagination ul li span.current { border-color: #121212; background: #121212; color: #fff; }
body.tax-product_cat #main nav.woocommerce-pagination ul li span.dots { min-width: 24px; padding: 0; border-color: transparent; background: transparent; }

@media (min-width: 576px) and (max-width: 1199px) {
  body.tax-product_cat #main.site-main { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.tax-product_cat #main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
  body.tax-product_cat #main.site-main { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; padding-bottom: 48px; }
  body.tax-product_cat #main .woocommerce-products-header__title { font-size: 1.75rem; }
  body.tax-product_cat #main .woocommerce-result-count,
  body.tax-product_cat #main .woocommerce-ordering { grid-column: 1; }
  body.tax-product_cat #main .woocommerce-ordering select.orderby { width: 100%; min-width: 0; }
  body.tax-product_cat #main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.tax-product_cat #main ul.products li.product { gap: 12px; padding: 12px; }
  body.tax-product_cat #main ul.products li.product a.woocommerce-loop-product__link { gap: 8px; }
  body.tax-product_cat #main ul.products li.product .woocommerce-loop-product__title { font-size: 0.9375rem; }
  body.tax-product_cat #main ul.products li.product .price { font-size: 1.25rem; line-height: 1.5rem; }
  body.tax-product_cat #main ul.products li.product a.button { min-height: 44px; padding: 0 8px; font-size: 0.8125rem; letter-spacing: 0.02em; }
  body.tax-product_cat #main nav.woocommerce-pagination { padding-top: 8px; }
  body.tax-product_cat #main nav.woocommerce-pagination ul.page-numbers { gap: 6px; }
  body.tax-product_cat #main nav.woocommerce-pagination ul li a,
  body.tax-product_cat #main nav.woocommerce-pagination ul li span { min-width: 40px; height: 40px; padding: 0 8px; }
  body.tax-product_cat #main nav.woocommerce-pagination ul li span.dots { min-width: 16px; padding: 0; }
}

/* ---- 13. Legal pages (obchodní podmínky, ochrana osobních údajů): no sideways scroll, readable on phones ---- */
/* long addresses and words wrap instead of pushing the page wider (an EU address made the terms 30 px too wide) */
body.page-id-10762 .elementor-widget-text-editor,
body.privacy-policy .elementor-widget-text-editor { overflow-wrap: anywhere; }
/* headings never stretched to the justified line */
body.page-id-10762 .elementor-widget-text-editor :is(h1, h2, h3, h4, h5, h6),
body.privacy-policy .elementor-widget-text-editor :is(h1, h2, h3, h4, h5, h6) { text-align: start; }
body.page-id-10762 .elementor-widget-text-editor table,
body.privacy-policy .elementor-widget-text-editor table { max-width: 100%; }
@media (max-width: 767px) {
  /* phones: left-aligned text (justified, a narrow column opened wide gaps between the words) */
  body.page-id-10762 .elementor-widget-text-editor :is(p, li, td, th, div),
  body.privacy-policy .elementor-widget-text-editor :is(p, li, td, th, div) { text-align: start; }
  /* lists nested three deep for their numbering: a narrower indent per level leaves the text its width */
  body.page-id-10762 .elementor-widget-text-editor :is(ol, ul),
  body.privacy-policy .elementor-widget-text-editor :is(ol, ul) { padding-left: 20px; }
  body.page-id-10762 .elementor-widget-text-editor :is(ol, ul) :is(ol, ul),
  body.privacy-policy .elementor-widget-text-editor :is(ol, ul) :is(ol, ul) { padding-left: 10px; }
}
/* the bordered box around the text stood on the screen's edges wherever the screen is narrower than the box
   (1140 px): a gap beside it; on phones the box's own padding gives those 12 px back, so the text keeps its width */
body.page-id-10762 .elementor-location-single > .e-con,
body.privacy-policy .elementor-location-single > .e-con { padding-left: 24px; padding-right: 24px; }
@media (max-width: 767px) {
  body.page-id-10762 .elementor-location-single > .e-con,
  body.privacy-policy .elementor-location-single > .e-con { padding-left: 12px; padding-right: 12px; }
  body.page-id-10762 .elementor-location-single > .e-con > .e-con-inner > .e-con,
  body.privacy-policy .elementor-location-single > .e-con > .e-con-inner > .e-con { padding-left: 20px; padding-right: 20px; }
}
/* the cookie-settings link under the privacy text stood on the screen's edge, one 20 px line was its whole tap area
   and its focus ring the thin default: now in line with the text above (33 px / 21 px = the box's 1 px border plus
   its 32 px / 20 px side padding — change them together), 48 px to tap, the shop's focus ring. Its colour stays the
   page's own link blue: underlined ink is how this page prints its subheadings, which are no links */
body.privacy-policy #open_preferences_center {
  display: inline-block;
  margin: 0 33px;
  padding: 12px 0;
  text-wrap: balance;
}
body.privacy-policy #open_preferences_center:focus-visible { outline: 2px solid #121212; outline-offset: 2px; }
@media (max-width: 767px) {
  body.privacy-policy #open_preferences_center { margin: 0 21px; }
}
@media (max-width: 429px) {
  /* narrow phones: always two even lines (one line would fit by a few pixels at best), the focus ring around them */
  body.privacy-policy #open_preferences_center { max-width: 12em; }
}

/* ---- 14. Product detail: the price and „cena vč. DPH“ overlapped by 2 px ------------------------- */
/* the price's line was lower than its letters (1.3rem for 1.4rem type); the wrapper now spaces the two lines */
body.single-product .price-and-stock-detail .price-wrapper-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.single-product .price-and-stock-detail .price-text-detail { line-height: 1.75rem; }
body.single-product .price-and-stock-detail .info-text-detail { margin: 0; }

/* ---- 15. Tyres that are not in stock: the buy control looks and acts disabled -------------------- */
/* The shop's plugin prints the red KOUPIT with an add-to-cart link also for a tyre that is not in stock (the row's
   label „Nedostupné“ / „Není skladem“ is .text-block-2.nostock, the product page's is div.nostock): a click
   ended in an error instead of the cart. Such a button and its quantity field are muted and take no pointer; box,
   font and label stay (a 1 px border instead of 2 px, so 1 px more padding: the available button's size). The row
   has no state class of its own, hence :has() on its label; a bare .nostock is never used (the plugin colours it).
   The keyboard still reaches the link (CSS cannot take it out of the tab order); section 5's focus ring stays. */
.product-wrapper:has(> .right-side-wrapper > .top-info-wrapper > .stock-wrapper-product > .text-block-2.nostock) > .right-side-wrapper > .purchase-wrapper .form-2 > a.button-primary-uni,
body.single-product .price-and-stock-detail:has(> .stock-wrapper > .nostock) ~ .ex-form-wrapper .div-exform-detail > a.button-primary-uni {
  padding: 1px 29px;
  border: 1px solid #d7d7d7;
  background-color: #ececec;
  color: #6b6b6b !important;                 /* over section 5's #fff !important (4.5 : 1 on #ececec) */
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  transition: none;
}
.product-wrapper:has(> .right-side-wrapper > .top-info-wrapper > .stock-wrapper-product > .text-block-2.nostock) > .right-side-wrapper > .purchase-wrapper .form-2 > .div-block-2-product > input.text-field-product,
body.single-product .price-and-stock-detail:has(> .stock-wrapper > .nostock) ~ .ex-form-wrapper .div-exform-detail > .div-block-2 > input.text-field {
  background-color: #f5f5f5;
  color: #6b6b6b;
  cursor: not-allowed;
  pointer-events: none;
  transition: none;
}
/* the pointer passes through both to their own wrapper: there it shows that they are off */
.product-wrapper:has(> .right-side-wrapper > .top-info-wrapper > .stock-wrapper-product > .text-block-2.nostock) > .right-side-wrapper > .purchase-wrapper .form-2,
body.single-product .price-and-stock-detail:has(> .stock-wrapper > .nostock) ~ .ex-form-wrapper .div-exform-detail { cursor: not-allowed; }
/* The product page says why the button is off. The plugin prints that page's label pale (#b1b1b1 on white, 2.1 : 1,
   thin) and, for a tyre whose row says „Nedostupné“, prints no label at all (an empty div.nostock). The label gets
   the rows' grey and the weight of the page's other labels; the empty one shows the row's own word in the page's
   lower case (the page writes „skladem“, „u dodavatele“, „není skladem“). The word is „nedostupné“, its last
   letter as an escape so that the file's encoding cannot spoil it. */
body.single-product .price-and-stock-detail > .stock-wrapper > .nostock {
  color: #6e6e6e !important;                 /* over the plugin's .nostock #b1b1b1 !important (5.1 : 1 on white) */
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: 700;
}
body.single-product .price-and-stock-detail > .stock-wrapper > .nostock:empty::before { content: "nedostupn\e9"; }

/* ---- 16. Home page: one red field for the brand, the product line inside the first screen ------- */
/* The red hero and the feature bar become one field of limited height: the banner sits in it at a calmer size,
   the four promises share the line of the season switch, and the pattern cards rise out of the red, so the range
   is part of the first screen. Below: the size search as a black panel, the rows and the page numbers on the same
   width. Every rule starts with body.home. */
body.home .elementor-10189 {
  --rp16-red: #e30414;
  --rp16-ink: #121212;
  --rp16-pad: max(40px, (100% - 1240px) / 2);      /* side padding of a full-width block: content 1240 px at most */
  --rp16-banner-h: clamp(260px, 100vh - 540px, 420px);   /* 360 px high in a 900 px window; the cards stay whole above the fold */
  --rp16-switch: 52px;                             /* season switch: 44 px buttons in a 4 px track */
  --rp16-switch-w: 336px;                          /* its width: three equal tabs */
  --rp16-gap: 24px;                                /* switch to cards, card to card */
  --rp16-card-top: 16px;                           /* card padding above the tyre */
  --rp16-tyre: 200px;                              /* the window in which the tyre rises */
  --rp16-show: 0.71;                               /* the share of the photo's height the window shows */
  --rp16-red-end: calc(var(--rp16-switch) + var(--rp16-gap) + 1px + var(--rp16-card-top) + var(--rp16-tyre));
}

/* the red field: banner */
body.home .elementor-10189 .elementor-element.elementor-element-fdad4f4 {
  padding: 16px var(--rp16-pad) 16px;
  background-color: var(--rp16-red);
}
body.home #hero_section_link {
  position: relative;
  align-self: center;
  width: calc(var(--rp16-banner-h) * 2.1405 + 112px);
  max-width: 100%;
  padding-bottom: 24px;                            /* the row of the dots, under the banner */
}
body.home #hero_section_link > .elementor-widget-container { margin: 0; padding: 0; }
body.home #hero_section_link .elementor-image-carousel-wrapper {
  width: calc(var(--rp16-banner-h) * 2.1405);
  max-width: 100%;
  margin: 0 auto;
}
body.home #hero_section_link .swiper-wrapper { padding-top: 0; align-items: center; }
body.home #hero_section_link .swiper-slide-image { display: block; }
/* each slide holds the height of today's two 1920 x 897 banners before they arrive; any other picture in the carousel
   switches this off (then the slides take their pictures' own height, as before) */
body.home #hero_section_link:not(:has(.swiper-slide-image:not([src$="/uploads/2025/05/slider_radar_premium.jpg"]):not([src$="/uploads/2025/06/slider_radar_premium-testy-1.png"]))) .swiper-slide { aspect-ratio: 1920 / 897; }
body.home #hero_section_link .elementor-swiper-button {
  top: calc(50% - 12px);
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(18, 18, 18, 0.16);
  color: #fff;
  font-size: 20px;
  transition: background-color 0.2s ease;
}
body.home #hero_section_link .elementor-swiper-button svg { width: 20px; height: 20px; fill: #fff; }
body.home #hero_section_link .elementor-swiper-button:hover { background-color: rgba(18, 18, 18, 0.32); }
body.home #hero_section_link .elementor-swiper-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.home #hero_section_link .elementor-swiper-button-prev { left: 0; }
body.home #hero_section_link .elementor-swiper-button-next { right: 0; }
body.home #hero_section_link .swiper-pagination {
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
body.home #hero_section_link .swiper-pagination-bullet {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
}
body.home #hero_section_link .swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px #fff;
  transition: width 0.2s ease, left 0.2s ease, background-color 0.2s ease;
}
body.home #hero_section_link .swiper-pagination-bullet-active::before { left: 10px; width: 20px; background-color: #fff; }

/* the four promises: one quiet line in the red */
body.home .elementor-10189 .elementor-element.elementor-element-621035a {
  padding: 0 var(--rp16-pad) 16px;
  background-color: var(--rp16-red);
}
body.home .elementor-10189 .elementor-element-621035a > .e-con-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
body.home .elementor-10189 .elementor-element-621035a > .e-con-inner > .e-con {
  --width: auto;
  width: auto;
  flex: none;
  flex-direction: row;
  gap: 24px;
  padding: 0;
}
body.home .elementor-10189 .elementor-element-621035a .e-con-boxed {
  --width: auto;
  width: auto;
  flex: none;
  padding: 0;
}
body.home .elementor-10189 .elementor-element-621035a .e-con-boxed > .e-con-inner {
  --flex-direction: row;
  --gap: 10px;
  width: auto;
  max-width: none;
  padding: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
body.home .elementor-10189 .elementor-element-621035a .elementor-widget-image { width: 28px; flex: none; }
body.home .elementor-10189 .elementor-element-621035a .elementor-widget-image img { display: block; width: 28px; height: 28px; }
body.home .elementor-10189 .elementor-element-621035a .elementor-widget-heading { width: auto; max-width: none; }
body.home .elementor-10189 .elementor-element-621035a .elementor-heading-title {
  color: #fff;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
  white-space: nowrap;
}

/* the product line: switch and cards, the red runs on behind the upper half of the cards */
body.home .elementor-10189 .elementor-element.elementor-element-6aefdb7 {
  padding: 0 var(--rp16-pad);
  gap: 0;
  background: linear-gradient(var(--rp16-red), var(--rp16-red)) top left / 100% var(--rp16-red-end) no-repeat;
  --rp16-on-red: #fff;                             /* the switch labels take their white from the red's own rule */
}
body.home .elementor-10189 .elementor-element.elementor-element-678591e,
body.home .elementor-10189 .elementor-element.elementor-element-9fb1e4d {
  --width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
body.home #dezens_homepage_section > .elementor-widget-container { margin: 0; padding: 0; }
body.home #dezens_homepage_section .switch-container {
  justify-content: flex-start;
  margin: 0 0 var(--rp16-gap);
}
body.home #dezens_homepage_section .switch-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: var(--rp16-switch-w);
  padding: 4px;
  border-radius: 8px;
  background-color: rgba(18, 18, 18, 0.24);
}
body.home #dezens_homepage_section .switch-button {
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 5px;
  color: var(--rp16-on-red, #121212);              /* white only while the red is painted; dark on the bare track */
  transition: background-color 0.2s ease, color 0.2s ease;
}
body.home #dezens_homepage_section .switch-button:hover { color: var(--rp16-on-red, #121212); background-color: rgba(255, 255, 255, 0.14); }
body.home #dezens_homepage_section .switch-button.active { color: var(--rp16-ink); background-color: #fff; }
body.home #dezens_homepage_section .switch-button .heading {
  margin: 0;
  color: inherit;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
body.home #dezens_homepage_section .wrapper-dezens {
  display: grid !important;                        /* the plugin writes style="display:flex" on this element */
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: var(--rp16-gap);
  align-items: stretch;
}
body.home #dezens_homepage_section .wrapper-dezens > div:empty { display: none; }   /* two empty leftovers of the plugin took grid cells */
body.home #dezens_homepage_section .dezen-link {
  display: flex;
  margin: 0;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease;
}
body.home #dezens_homepage_section .dezen-link:not(.current-season) { display: none; }   /* links of the other seasons */
body.home #dezens_homepage_section .dezen-link:hover { color: inherit; transform: translateY(-4px); }
body.home #dezens_homepage_section .dezen-link:focus-visible { outline: 2px solid var(--rp16-ink); outline-offset: 3px; }
body.home #dezens_homepage_section .dezen-card {
  position: relative;
  width: 100%;
  padding: var(--rp16-card-top) 0 0;
  overflow: hidden;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(18, 18, 18, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.home #dezens_homepage_section .dezen-link:hover .dezen-card { border-color: #8a8787; box-shadow: 0 12px 28px rgba(18, 18, 18, 0.16); }
body.home #dezens_homepage_section .dezen-img-wrapper {
  display: block;
  height: var(--rp16-tyre);
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body.home #dezens_homepage_section .dezen-img {
  display: block;
  width: min(100%, var(--rp16-tyre) / var(--rp16-show)) !important;   /* the plugin sizes it by the window height (25vh) */
  height: auto !important;                         /* beats the plugin's .dezen-img { height: 25vh }, itself important */
  max-width: none;
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: contain !important;                  /* some photos are 600 x 800: whole, not zoomed in */
}
/* the name plate holds the name only, so every card of a row has the same plate; RADAR PREMIUM is a tag in the
   card's upper left corner, over the white of the photo */
body.home #dezens_homepage_section .dezen-info-wrapper {
  position: static;                                /* the tag is placed on the card, not on the plate */
  justify-content: center;
  margin: 0;
  padding: 14px 12px 16px;
  border: 0;
  border-top: 1px solid #ececec;
  border-radius: 0;
  background-color: #fff;
}
body.home #dezens_homepage_section .dezen-name {
  justify-content: center;
  min-height: 0;
  margin: 0;
  color: var(--rp16-ink);
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: normal;
}
body.home #dezens_homepage_section .dezen-badge-premium {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  margin: 0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
/* narrow cards (seven in a row in summer, two on a phone): smaller name, two lines kept for every card */
body.home #dezens_homepage_section .dezen-link { container-type: inline-size; }
@container (max-width: 200px) {
  body.home #dezens_homepage_section .dezen-name { min-height: 36px; font-size: 14px; line-height: 18px; letter-spacing: 0.03em; }
  body.home #dezens_homepage_section .dezen-badge-premium { top: 8px; left: 8px; padding: 2px 6px; letter-spacing: 0.04em; }
}
/* from 1024 a narrow card's whole photo is lower than the window: it stands on the line instead of floating */
@media (min-width: 1024px) {
  @container (max-width: 200px) {
    body.home #dezens_homepage_section .dezen-img-wrapper { display: flex; flex-direction: column; justify-content: flex-end; }
  }
}

/* find by size: a black panel, heading beside the selects */
body.home .elementor-10189 .elementor-element.elementor-element-b03279b { margin: 64px 0 0; padding: 0; }
body.home .elementor-10189 .elementor-element-b03279b > .e-con-inner { width: 100%; max-width: none; margin: 0; padding: 0; }
body.home .elementor-10189 .elementor-element.elementor-element-96dd758 {
  --width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  align-items: end;
  gap: 24px 40px;
  width: 100%;
  margin: 0;
  padding: 32px 40px 36px;
  border: 0;
  border-radius: 8px;
  background: var(--rp16-ink);
}
/* the white text keyed to the black panel itself, not to the heading or the form: a rebuilt panel loses black and
   white together, a rebuilt heading or form keeps white on black */
body.home .elementor-10189 .elementor-element.elementor-element-96dd758 .elementor-heading-title,
body.home .elementor-10189 .elementor-element.elementor-element-96dd758 .input-label-text { color: #fff; }
body.home .elementor-10189 .elementor-element-d6d8332 > .elementor-widget-container,
body.home .elementor-10189 .elementor-element-a29a388 > .elementor-widget-container { margin: 0; padding: 0; }
body.home .elementor-10189 .elementor-element-d6d8332 .elementor-heading-title {
  font-size: 28px;
  text-wrap: balance;
  line-height: 34px;
  font-weight: 800;
  text-align: left;
}
body.home #filtering { width: 100%; max-width: none; margin: 0; padding: 0; }
body.home #filtering .filter-form-block { width: 100%; margin: 0; }
body.home #filtering .inside-filter-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  width: 100%;
  padding: 0;
}
body.home #filtering .inside-filter-wrapper select.filter-input { width: 100%; }
/* the white borders and rings, like the white text, keyed to the black panel */
body.home .elementor-10189 .elementor-element.elementor-element-96dd758 select.filter-input { border-color: #fff; }
body.home .elementor-10189 .elementor-element.elementor-element-96dd758 select.filter-input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
body.home .elementor-10189 .elementor-element.elementor-element-96dd758 select.filter-input:focus-visible { outline-color: #fff; }
body.home .elementor-10189 .elementor-element.elementor-element-96dd758 a.button-primary-uni:hover { border-color: #fff; }
body.home .elementor-10189 .elementor-element.elementor-element-96dd758 a.button-primary-uni:focus-visible { outline-color: #fff; }

/* the rows and the page numbers on the same width */
body.home .elementor-10189 .elementor-element.elementor-element-1308f73 { margin: 48px 0 0; padding: 0 0 64px; }
body.home .elementor-10189 .elementor-element-1308f73 > .e-con-inner { width: 100%; max-width: none; margin: 0; padding: 0; }
body.home #product-short .pagination-containter { width: 100%; max-width: none; margin: 24px 0 0; padding: 0; }
/* the 64 page numbers: one even block of 16 per row (4 rows), the keys of the category pages' pagination, the
   current page in black (a cell gives way to 38 px on a tablet; on a phone one line to swipe) */
body.home #product-short .pagination-wrapper {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 40px));
  justify-content: center;
  gap: 8px 6px;
  width: 100%;
  padding: 0;
}
body.home #product-short .page-number-wrapper,
body.home #product-short .page-number-wrapper:hover { border: 0; line-height: 1; }
body.home #product-short .page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 0;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background-color: #fff;
  color: var(--rp16-ink);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.2s ease;
}
body.home #product-short .page-number:hover { border-color: var(--rp16-ink); }
body.home #product-short .page-number-wrapper.active .page-number { border-color: var(--rp16-ink); background-color: var(--rp16-ink); color: #fff; }

/* from 1200: the promises lifted onto the line of the season switch, right-aligned (narrower: their own line
   under the banner, still inside the red; the labels hold non-breaking spaces and cannot wrap). The lift holds only
   while the switch has its look on the red field (:has); without it the promises keep their own red line */
@media (min-width: 1200px) {
  body.home .elementor-10189:has(.elementor-element.elementor-element-6aefdb7 #dezens_homepage_section .switch-wrapper) .elementor-element.elementor-element-621035a {
    position: relative;
    z-index: 2;
    height: 0;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }
  /* the row keeps clear of the switch: it starts 24 px after the switch's fixed width, and a longer label would
     wrap the row into two lines inside that box instead of sliding under the switch */
  body.home .elementor-10189:has(.elementor-element.elementor-element-6aefdb7 #dezens_homepage_section .switch-wrapper) .elementor-element-621035a > .e-con-inner {
    position: absolute;
    top: 0;
    right: var(--rp16-pad);
    left: calc(var(--rp16-pad) + var(--rp16-switch-w) + 24px);
    width: auto;
    height: var(--rp16-switch);
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-end;
    gap: 4px 24px;
  }
}
/* a browser without :has() keeps the lift unconditionally, as the look was approved */
@supports not selector(:has(*)) {
  @media (min-width: 1200px) {
    body.home .elementor-10189 .elementor-element.elementor-element-621035a {
      position: relative;
      z-index: 2;
      height: 0;
      min-height: 0;
      padding: 0;
      overflow: visible;
    }
    body.home .elementor-10189 .elementor-element-621035a > .e-con-inner {
      position: absolute;
      top: 0;
      right: var(--rp16-pad);
      left: calc(var(--rp16-pad) + var(--rp16-switch-w) + 24px);
      width: auto;
      height: var(--rp16-switch);
      flex-wrap: wrap;
      align-content: center;
      justify-content: flex-end;
      gap: 4px 24px;
    }
  }
}
/* the plugin forces the switch labels to 12.8 px up to 1024 px */
@media (max-width: 1024px) {
  body.home #dezens_homepage_section .switch-button .heading { font-size: 15px !important; }   /* beats the plugin's .heading { font-size: 0.8rem }, itself important */
}
/* below 1200 the promises have their own line: the switch is centred under them, the banner gives back that line */
@media (min-width: 768px) and (max-width: 1199px) {
  body.home .elementor-10189 { --rp16-banner-h: clamp(240px, 100vh - 584px, 380px); --rp16-tyre: 176px; }
  body.home #dezens_homepage_section .switch-container { justify-content: center; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.home .elementor-10189 {
    --rp16-pad: 32px;
    --rp16-banner-h: 262px;
    --rp16-gap: 16px;
    --rp16-tyre: 136px;
    --rp16-card-top: 12px;
  }
  body.home #dezens_homepage_section .dezen-name { min-height: 36px; font-size: 14px; line-height: 18px; letter-spacing: 0.04em; }
  body.home .elementor-10189 .elementor-element.elementor-element-96dd758 { grid-template-columns: minmax(0, 1fr); padding: 28px 32px 32px; }
  body.home #filtering .inside-filter-wrapper { gap: 12px; }
}
@media (max-width: 767px) {
  body.home .elementor-10189 {
    --rp16-pad: 16px;
    --rp16-gap: 12px;
    --rp16-tyre: 108px;
    --rp16-show: 0.58;
    --rp16-card-top: 12px;
  }
  body.home .elementor-10189 .elementor-element.elementor-element-fdad4f4 { padding: 8px 0 8px; }
  /* the banner runs edge to edge up to 400 px; on a larger phone it keeps that size (four cards stay whole) and the
     arrows move into the red beside it */
  body.home #hero_section_link { width: min(100%, 480px); }
  body.home #hero_section_link .elementor-image-carousel-wrapper { width: min(100%, 400px); }
  /* the banner runs edge to edge: the arrows stay plain chevrons in its red margins, clear of the tyres */
  body.home #hero_section_link .elementor-swiper-button { background-color: transparent; }
  body.home #hero_section_link .elementor-swiper-button-prev { left: 0; }
  body.home #hero_section_link .elementor-swiper-button-next { right: 0; }
  body.home .elementor-10189 .elementor-element.elementor-element-621035a { padding-bottom: 20px; }
  body.home .elementor-10189 .elementor-element-621035a > .e-con-inner {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 12px 28px;
  }
  body.home .elementor-10189 .elementor-element-621035a > .e-con-inner > .e-con { display: contents; }
  body.home .elementor-10189 .elementor-element-621035a .e-con-boxed > .e-con-inner { --gap: 8px; gap: 8px; }
  body.home .elementor-10189 .elementor-element-621035a .elementor-widget-image { width: 24px; }
  body.home .elementor-10189 .elementor-element-621035a .elementor-widget-image img { width: 24px; height: 24px; }
  body.home .elementor-10189 .elementor-element-621035a .elementor-heading-title {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-align: left;
  }
  body.home #dezens_homepage_section .switch-wrapper { display: flex; width: 100%; }
  body.home #dezens_homepage_section .switch-button { flex: 1 1 0; padding: 0 8px; }
  body.home #dezens_homepage_section .wrapper-dezens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home #dezens_homepage_section .dezen-info-wrapper { padding: 10px 8px 12px; }
  body.home #dezens_homepage_section .dezen-name { min-height: 36px; font-size: 14px; line-height: 18px; letter-spacing: 0.04em; }
  body.home .elementor-10189 .elementor-element.elementor-element-b03279b { margin-top: 40px; }
  body.home .elementor-10189 .elementor-element.elementor-element-96dd758 { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 16px; }
  body.home .elementor-10189 .elementor-element-d6d8332 .elementor-heading-title { font-size: 22px; line-height: 28px; }
  body.home #filtering .inside-filter-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home .elementor-10189 .elementor-element.elementor-element-1308f73 { margin-top: 32px; padding-bottom: 40px; }
  body.home #product-short .pagination-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }
  body.home #product-short .page-number-wrapper { flex: none; scroll-snap-align: start; }
  body.home #product-short .page-number { width: 40px; }
}
/* under 360: the two columns of promises closer, so the row keeps clear of the screen edges */
@media (max-width: 359px) {
  body.home .elementor-10189 .elementor-element-621035a > .e-con-inner { column-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home #dezens_homepage_section .dezen-link,
  body.home #dezens_homepage_section .dezen-card,
  body.home #hero_section_link .swiper-pagination-bullet::before { transition: none; }
  body.home #dezens_homepage_section .dezen-link:hover { transform: none; }
}
