.btn.btn-cart[disabled][aria-disabled="true"] {
  opacity: 1;
  cursor: not-allowed;
}

/* Keep the promotional accent while meeting WCAG AA contrast on white. */
div#main-menu.main-menu-320 > .j-menu li.main-menu-item-1 > a,
div#main-menu.main-menu-320 > .j-menu li.main-menu-item-1 > a > .links-text,
div#main-menu-2.main-menu-320 > .j-menu li.main-menu-item-1 > a,
div#main-menu-2.main-menu-320 > .j-menu li.main-menu-item-1 > a > .links-text,
#main-menu-mobile.main-menu-320 > .j-menu li.main-menu-item-1 > a,
#main-menu-mobile.main-menu-320 > .j-menu li.main-menu-item-1 > a > .links-text {
  color: #d00000 !important;
}

@media (max-width: 768px) {
  .route-product-product .product-info.out-of-stock .button-group-page {
    display: none !important;
  }
}

/* Keep blog tiles even when their source photographs have different ratios. */
.blog-home .post-thumb .image a,
.module-blog_posts .post-thumb .image a {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-home .post-thumb .image img,
.module-blog_posts .post-thumb .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-post .post-content img {
  max-width: 100%;
  height: auto;
}
.blog-post .comment-form {
  max-width: 760px;
  margin-inline: auto;
}
.blog-post .comment-form textarea {
  min-height: 120px;
  max-height: 240px;
}

/* The Journal gradient draws a stray square next to these two arrows. */
#input-sort,
#input-limit {
  -webkit-appearance: auto !important;
  appearance: auto !important;
  background-image: none !important;
}

@media (max-width: 480px) {
  /* The theme's 100px sort control truncates "По подразбиране" on phones. */
  .products-filter #input-sort {
    width: 195px !important;
    max-width: 195px !important;
  }
}

@media (max-width: 320px) {
  .products-filter .sort-by {
    margin-right: 4px !important;
  }
}

/* Make the checkout remove action easier to hit on touchscreens. */
.quick-checkout-wrapper .td-qty .btn-danger {
  min-width: 44px !important;
  min-height: 44px !important;
}

/* Unified textual typography. Roboto is already loaded by Journal. */
html,
body,
button,
input,
select,
textarea,
optgroup,
option {
  font-family: Roboto, Arial, sans-serif !important;
}

/* Journal and extension components which otherwise fall back to Bootstrap Helvetica. */
.mobile-main-menu-container .mobile-wrapper-header span,
.desktop-mobile-main-menu-container .mobile-wrapper-header span,
.mobile-cart-content-container .mobile-wrapper-header span,
.product-price,
.bundle-heading,
.product_tabs .nav-tabs > li > a,
.tab-container > .nav-tabs > li > a,
.catalog-title,
legend {
  font-family: Roboto, Arial, sans-serif !important;
}

/* The redundant product reassurance block is intentionally removed on all viewports. */
.module-info_blocks-323 {
  display: none !important;
}
