/* =========================================================
   Barevná Founárna – mobilní korekce kategorií a produktových karet
   v: 20260702c20

   Tento soubor musí být načtený až za founarna-category-colorful.css.
   ========================================================= */

html body.founarna-category-colorful:not(.type-product) #content .quantity .increase,
html body.founarna-category-colorful:not(.type-product) #content .quantity .decrease {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
}

html body.founarna-category-colorful:not(.type-product) #content .quantity .increase > *,
html body.founarna-category-colorful:not(.type-product) #content .quantity .decrease > * {
  display: none !important;
}

html body.founarna-category-colorful:not(.type-product) #content .quantity .increase::before,
html body.founarna-category-colorful:not(.type-product) #content .quantity .increase::after,
html body.founarna-category-colorful:not(.type-product) #content .quantity .decrease::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  display: block !important;
  width: 13px !important;
  height: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #111827 !important;
  transform: translate(-50%, -50%) !important;
}

html body.founarna-category-colorful:not(.type-product) #content .quantity .increase::after {
  width: 2px !important;
  height: 13px !important;
}

html body.founarna-category-colorful:not(.type-product) #content .quantity .decrease::after {
  display: none !important;
  content: none !important;
}

html body.founarna-category-colorful:not(.type-product) #content .quantity .amount {
  display: block !important;
  text-align: center !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

html body.founarna-category-colorful:not(.type-product) #content .quantity .amount::-webkit-outer-spin-button,
html body.founarna-category-colorful:not(.type-product) #content .quantity .amount::-webkit-inner-spin-button {
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .subcategories > li > a.founarna-illustrated-tile,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) .subcategories > li > a.founarna-illustrated-tile {
  height: auto !important;
  min-height: 104px !important;
  overflow: hidden !important;
  align-items: center !important;
}

html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .text,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .title,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .name,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .category-title,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .subcategory-title,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) .founarna-illustrated-tile > .text,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) .founarna-illustrated-tile > .title,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) .founarna-illustrated-tile > .name,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) .founarna-illustrated-tile > .category-title,
html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) .founarna-illustrated-tile > .subcategory-title,
html body.founarna-category-colorful:not(.type-product):not(.brand-logos-only) #content .subcategories.founarna-category-grid .subcategory-title,
html body.founarna-category-colorful:not(.type-product):not(.brand-logos-only) #content .subcategories.founarna-category-grid .category-title,
html body.founarna-category-colorful:not(.type-product):not(.brand-logos-only) #content .subcategories.founarna-category-grid .title,
html body.founarna-category-colorful:not(.type-product):not(.brand-logos-only) #content .subcategories.founarna-category-grid .name,
html body.founarna-category-colorful:not(.type-product):not(.brand-logos-only) #content .subcategories.founarna-category-grid .text {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

html body.founarna-category-colorful:not(.type-product):not(.brand-logos-only) #content .subcategories.founarna-category-grid a:not(.brand-logo-tile),
html body.founarna-category-colorful:not(.type-product):not(.brand-logos-only) .subcategories.founarna-category-grid a:not(.brand-logo-tile) {
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

@media (max-width: 991px) {
  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-bottom,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "stock price"
      "tools tools" !important;
    align-items: end !important;
    column-gap: 10px !important;
    row-gap: 9px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .ratings-wrapper,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .ratings-wrapper,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .availability,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .availability {
    grid-area: stock !important;
    align-self: end !important;
    justify-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .offers,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .offers,
  html body.founarna-category-colorful:not(.type-product) #content .products-top [data-micro="offer"],
  html body.founarna-category-colorful:not(.type-product) #content .products-block [data-micro="offer"],
  html body.founarna-category-colorful:not(.type-product) #content .products-top .price,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .price,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .price-final,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .price-final {
    grid-area: price !important;
    align-self: end !important;
    justify-self: end !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools {
    grid-area: tools !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form.pr-action,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form.pr-action {
    display: grid !important;
    grid-template-columns: 92px minmax(118px, 1fr) !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 9px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity {
    position: relative !important;
    display: block !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    z-index: 4 !important;
    display: block !important;
    width: 13px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #111827 !important;
    pointer-events: none !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity::before {
    left: 14.5px !important;
    transform: translate(-50%, -50%) !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity::after {
    right: 14.5px !important;
    transform: translate(50%, -50%) !important;
    box-shadow: 0 0 0 0 #111827 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity label::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity label::before {
    content: "" !important;
    position: absolute !important;
    right: -16px !important;
    top: 50% !important;
    z-index: 4 !important;
    width: 2px !important;
    height: 13px !important;
    border-radius: 999px !important;
    background: #111827 !important;
    transform: translate(50%, -50%) !important;
    pointer-events: none !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity label,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity label {
    position: absolute !important;
    left: 29px !important;
    top: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .amount,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .amount {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 40px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 3 !important;
    width: 29px !important;
    min-width: 29px !important;
    max-width: 29px !important;
    height: 40px !important;
    min-height: 40px !important;
    opacity: 1 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: 0 !important;
    z-index: 3 !important;
    width: 29px !important;
    min-width: 29px !important;
    max-width: 29px !important;
    height: 40px !important;
    min-height: 40px !important;
    opacity: 1 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease::after {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 767px) {
  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .subcategories > li > a.founarna-illustrated-tile,
  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) .subcategories > li > a.founarna-illustrated-tile {
    grid-template-columns: 1fr !important;
    grid-template-rows: 74px auto !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 8px !important;
    min-height: 128px !important;
    padding: 8px 8px 10px !important;
  }

  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > picture,
  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .image,
  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > [class*="thumb"] {
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    min-height: 74px !important;
  }

  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile img.founarna-tile-image,
  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile picture img.founarna-tile-image {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
  }

  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .text,
  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .title,
  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .name,
  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .category-title,
  html body.founarna-category-colorful.founarna-illustrated-subcategories:not(.brand-logos-only) #content .founarna-illustrated-tile > .subcategory-title {
    width: 100% !important;
    font-size: 13.5px !important;
    line-height: 1.17 !important;
    text-align: center !important;
  }
}

@media (max-width: 380px) {
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity label,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity label {
    left: 28px !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .amount,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .amount {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
  }
}

/* c17: final mobile cart row for all Shoptet category/list variants */
@media (max-width: 767px) {
  body:not(.type-product) #content .products-top-wrapper .p,
  body:not(.type-product) #content .products-top .p,
  body:not(.type-product) #content .products-block .p,
  body:not(.type-product) #content .products .p,
  body:not(.type-product) #content .product {
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 24px !important;
  }

  body:not(.type-product) #content .products-top-wrapper .p .p-bottom,
  body:not(.type-product) #content .products-top .p .p-bottom,
  body:not(.type-product) #content .products-block .p .p-bottom,
  body:not(.type-product) #content .products .p .p-bottom,
  body:not(.type-product) #content .product .p-bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    grid-template-areas:
      "stock price"
      "tools tools" !important;
    align-items: center !important;
    gap: 10px 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body:not(.type-product) #content .p-bottom .founarna-card-availability-row,
  body:not(.type-product) #content .p-bottom .ratings-wrapper,
  body:not(.type-product) #content .p-bottom .availability,
  body:not(.type-product) #content .p-bottom .availability-label {
    grid-area: stock !important;
    align-self: center !important;
    justify-self: start !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    text-align: left !important;
    line-height: 1.15 !important;
  }

  body:not(.type-product) #content .p-bottom .offers,
  body:not(.type-product) #content .p-bottom [data-micro="offer"],
  body:not(.type-product) #content .p-bottom .price,
  body:not(.type-product) #content .p-bottom .price-final {
    grid-area: price !important;
    align-self: center !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    text-align: right !important;
    font-size: 25px !important;
    line-height: 1.05 !important;
  }

  body:not(.type-product) #content .p-bottom .p-tools {
    grid-area: tools !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body:not(.type-product) #content .p-bottom .p-tools form,
  body:not(.type-product) #content .p-bottom .p-tools form.pr-action,
  body:not(.type-product) #content .p-tools form.founarna-featured-cart-form {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body:not(.type-product) #content .p-tools .quantity {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 34px 36px 34px !important;
    align-items: center !important;
    justify-items: center !important;
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(142, 160, 190, .55) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82) !important;
    box-sizing: border-box !important;
  }

  body:not(.type-product) #content .p-tools .quantity label {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not(.type-product) #content .p-tools .quantity .amount {
    display: block !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 42px !important;
    text-align: center !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
  }

  body:not(.type-product) #content .p-tools .quantity .amount::-webkit-outer-spin-button,
  body:not(.type-product) #content .p-tools .quantity .amount::-webkit-inner-spin-button {
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
  }

  body:not(.type-product) #content .p-tools .quantity .decrease,
  body:not(.type-product) #content .p-tools .quantity .increase {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  body:not(.type-product) #content .p-tools .quantity .decrease {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body:not(.type-product) #content .p-tools .quantity .increase {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  body:not(.type-product) #content .p-tools .quantity .increase > *,
  body:not(.type-product) #content .p-tools .quantity .decrease > * {
    display: none !important;
  }

  body:not(.type-product) #content .p-tools .quantity::before,
  body:not(.type-product) #content .p-tools .quantity::after,
  body:not(.type-product) #content .p-tools .quantity label::before,
  body:not(.type-product) #content .p-tools .quantity .increase::after,
  body:not(.type-product) #content .p-tools .quantity .decrease::after {
    display: none !important;
    content: none !important;
  }

  body:not(.type-product) #content .p-tools .quantity .decrease::before {
    content: "\2212" !important;
  }

  body:not(.type-product) #content .p-tools .quantity .increase::before {
    content: "+" !important;
  }

  body:not(.type-product) #content .p-tools .quantity .decrease::before,
  body:not(.type-product) #content .p-tools .quantity .increase::before {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    transform: translateY(-1px) !important;
  }

  body:not(.type-product) #content .p-tools .btn-cart,
  body:not(.type-product) #content .p-tools .add-to-cart-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    overflow: visible !important;
    border-radius: 15px !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 380px) {
  body:not(.type-product) #content .p-bottom .p-tools form,
  body:not(.type-product) #content .p-bottom .p-tools form.pr-action,
  body:not(.type-product) #content .p-tools form.founarna-featured-cart-form {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body:not(.type-product) #content .p-tools .quantity {
    grid-template-columns: 31px 34px 31px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  body:not(.type-product) #content .p-tools .quantity label,
  body:not(.type-product) #content .p-tools .quantity .amount {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
  }

  body:not(.type-product) #content .p-tools .quantity .decrease,
  body:not(.type-product) #content .p-tools .quantity .increase {
    width: 31px !important;
    min-width: 31px !important;
    max-width: 31px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  body:not(.type-product) #content .p-tools .btn-cart,
  body:not(.type-product) #content .p-tools .add-to-cart-button {
    height: 40px !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
  }
}

/* c16: mobile product-card purchase area - clearer 2-row layout */
@media (max-width: 767px) {
  html body.founarna-category-colorful:not(.type-product) #content .products-top .product,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .product,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .product-inner,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .product-inner {
    overflow: hidden !important;
    border-radius: 24px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-bottom,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "stock price"
      "tools tools" !important;
    align-items: center !important;
    gap: 10px 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .ratings-wrapper,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .ratings-wrapper,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .availability,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .availability {
    grid-area: stock !important;
    align-self: center !important;
    justify-self: start !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    text-align: left !important;
    line-height: 1.15 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .offers,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .offers,
  html body.founarna-category-colorful:not(.type-product) #content .products-top [data-micro="offer"],
  html body.founarna-category-colorful:not(.type-product) #content .products-block [data-micro="offer"],
  html body.founarna-category-colorful:not(.type-product) #content .products-top .price,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .price,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .price-final,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .price-final {
    grid-area: price !important;
    align-self: center !important;
    justify-self: end !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    text-align: right !important;
    font-size: 25px !important;
    line-height: 1.05 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools {
    grid-area: tools !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form.pr-action,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form.pr-action {
    display: grid !important;
    grid-template-columns: 100px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity {
    position: relative !important;
    display: block !important;
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(142, 160, 190, .55) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, .86) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity label,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity label {
    position: absolute !important;
    left: 34px !important;
    top: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .amount,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .amount {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 42px !important;
    text-align: center !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase {
    position: absolute !important;
    top: 0 !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease {
    left: 0 !important;
    right: auto !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase {
    right: 0 !important;
    left: auto !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity label::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity label::before {
    display: none !important;
    content: none !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease::before {
    content: "\\2212" !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase::before {
    content: "\\002B" !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease::before {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    transform: translateY(-1px) !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease::after {
    display: none !important;
    content: none !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .btn-cart,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .add-to-cart-button,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .btn-cart,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .add-to-cart-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    overflow: visible !important;
    border-radius: 15px !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 380px) {
  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-bottom,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-bottom {
    gap: 9px 10px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form.pr-action,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form.pr-action {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity label,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity label {
    left: 31px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .amount,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .amount {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 40px !important;
    min-height: 40px !important;
    font-size: 17px !important;
    line-height: 40px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease {
    width: 31px !important;
    min-width: 31px !important;
    max-width: 31px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .btn-cart,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .add-to-cart-button,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .btn-cart,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .add-to-cart-button {
    height: 40px !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
  }
}

/* =========================================================
   c15 – logičtější mobilní nákupní blok: info vlevo, akce vpravo
   ========================================================= */

@media (max-width: 991px) {
  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-bottom,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-bottom {
    display: grid !important;
    grid-template-columns: minmax(92px, 34%) minmax(0, 1fr) !important;
    grid-template-areas:
      "stock tools"
      "price tools" !important;
    align-items: center !important;
    column-gap: 12px !important;
    row-gap: 2px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .ratings-wrapper,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .ratings-wrapper,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .availability,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .availability {
    grid-area: stock !important;
    align-self: end !important;
    justify-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.08 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .offers,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .offers,
  html body.founarna-category-colorful:not(.type-product) #content .products-top [data-micro="offer"],
  html body.founarna-category-colorful:not(.type-product) #content .products-block [data-micro="offer"],
  html body.founarna-category-colorful:not(.type-product) #content .products-top .price,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .price,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .price-final,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .price-final {
    grid-area: price !important;
    align-self: start !important;
    justify-self: start !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools {
    grid-area: tools !important;
    align-self: center !important;
    justify-self: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form.pr-action,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form.pr-action {
    display: grid !important;
    grid-template-columns: 86px minmax(108px, 1fr) !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity {
    position: relative !important;
    display: block !important;
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 13px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity label::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity label::before {
    display: none !important;
    content: none !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity label,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity label {
    position: absolute !important;
    left: 28px !important;
    top: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .amount,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .amount {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 38px !important;
    text-align: center !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase {
    position: absolute !important;
    top: 0 !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease {
    left: 0 !important;
    right: auto !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase {
    right: 0 !important;
    left: auto !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease::before {
    content: "−" !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase::before {
    content: "+" !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase::before,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease::before {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    transform: translateY(-1px) !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase::after,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease::after {
    display: none !important;
    content: none !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .btn-cart,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .add-to-cart-button,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .btn-cart,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .add-to-cart-button {
    height: 38px !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 380px) {
  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-bottom,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-bottom {
    grid-template-columns: minmax(82px, 32%) minmax(0, 1fr) !important;
    column-gap: 9px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .p-tools form.pr-action,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .p-tools form.pr-action {
    grid-template-columns: 80px minmax(98px, 1fr) !important;
    gap: 7px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity label,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity label {
    left: 26px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .amount,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .amount {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    font-size: 14px !important;
  }

  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-top .quantity .decrease,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .increase,
  html body.founarna-category-colorful:not(.type-product) #content .products-block .quantity .decrease {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
  }
}
