@media (min-width: 768px) {
  .template-13 .container { max-width: 1320px; }
  .template-13 #content-wrapper.container-narrow { max-width: min(100%, 1320px); }
  .template-13 .header-top-wrapper { padding-top: 12px; padding-bottom: 12px; }
  .template-13 .site-name img { max-width: 240px; max-height: 76px; }
  .template-13 #navigation .menu-level-2 a { color: var(--mg-ink); }
  .template-13 .welcome-wrapper { max-width: none; width: 100%; padding-top: 20px; padding-bottom: 0; }
  .template-13 .welcome-wrapper .welcome { max-width: none; }
}
@media (768px <= width < 992px) {
  .template-13:not(.type-index) #content-wrapper.container-narrow { width: 747px; }
  .template-13 #content-wrapper > .breadcrumbs {
    gap: 3px 5px;
    padding-block: 8px;
    font-size: 13px;
  }
  .template-13 .breadcrumbs .navigation-bullet { margin-inline-start: 3px; }
  .template-13.type-category #category-header {
    flex-wrap: nowrap;
    column-gap: 12px;
  }
  .template-13.type-category #category-header .category-header-pagination { font-size: 13px; }
  .template-13.type-category #category-header > .listSorting { flex: 0 0 auto; }
  .template-13.type-category #category-header .sortingToggle {
    flex-wrap: nowrap;
    padding-inline-end: 28px;
    font-size: 14px;
    white-space: nowrap;
  }
  .template-13 .mg-hero :is(h1, h2) { font-size: 36px; }
  .template-13 .mg-hero__copy { padding: 28px; }
}
@media (width < 992px) {
  .template-13 .mg-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .template-13:not(.type-index) #content-wrapper.container-narrow { width: 972px; }
}
@media (width < 1200px) {
  .template-13.type-category .subcategories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template-13.type-category .products-page.products-block > .product {
    width: 50%;
    max-width: none;
    margin-inline: 0;
  }
}
@media (min-width: 1440px) {
  .template-13:not(.type-index) #content-wrapper.container-narrow { width: 1320px; }
}
@media (max-width: 767px) {
  .template-13 #content-wrapper.container { padding-inline: 16px; }
  .template-13 #content-wrapper > .breadcrumbs {
    gap: 3px 6px;
    margin-bottom: 12px;
    padding-block: 9px;
    font-size: 12px;
  }
  .template-13.type-product #content-wrapper > .breadcrumbs > #navigation-last { display: none; }
  .template-13.type-product #content-wrapper > .breadcrumbs > span:has(+ #navigation-last) .navigation-bullet { display: none; }
  .template-13 .welcome-wrapper:has(.mg-home) { padding-top: 16px; padding-bottom: 0; margin: 0; }
  .template-13 .site-name img { max-width: 150px; max-height: 44px; }
  /* Hledání v Disco má na mobilu vlastní vrstvu hlavičky (z-index 56). */
  .template-13.search-window-visible > .overall-wrapper::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgb(23 24 21 / 48%);
    pointer-events: none;
  }

  .template-13 #navigation :is(.menu-level-1, .menu-level-2) a,
  .template-13 #navigation :is(.menu-level-1, .menu-level-2) a :is(b, strong, span) {
    text-decoration: none;
  }
  .template-13 #navigation :is(.menu-level-1, .menu-level-2) a:focus-visible {
    outline: 2px solid var(--mg-orange);
    outline-offset: -3px;
  }
  .template-13 .mg-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "copy";
  }
  .template-13 .mg-hero__copy { grid-area: copy; padding: 26px 22px; }
  .template-13 .mg-hero :is(h1, h2) { font-size: clamp(28px, 7.5vw, 36px); margin-bottom: 12px; }
  .template-13 .mg-hero p { font-size: 15px; line-height: 1.4; margin-bottom: 16px; }
  .template-13 .mg-hero .mg-actions { gap: 10px; }
  .template-13 .mg-hero .mg-button { min-height: 44px; padding: 10px 14px; font-size: 14px; }
  .template-13 .mg-hero__image { grid-area: photo; border-block-end: 6px solid var(--mg-orange); }
  .template-13 .mg-hero__image img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .template-13 #carousel .mg-hero__image { min-height: 0; }
  .template-13 #carousel .mg-hero__image img { position: static; height: auto; }
  .template-13 .benefitBanner { gap: 10px; }
  .template-13 .benefitBanner__item { display: block; padding: 13px; }
  .template-13 .benefitBanner__picture { margin-bottom: 8px; }
  .template-13 .benefitBanner__title { font-size: 15px; }
  .template-13 .benefitBanner__data { font-size: 13px; }
  .template-13 .mg-section { padding: 32px 0; }
  .template-13 .mg-category-grid { gap: 12px; }
  .template-13 .mg-category > span { min-height: 54px; padding: 11px; font-size: clamp(14px, 3.5vw, 17px); }
  .template-13 .mg-page-grid { grid-template-columns: 1fr; }
  .template-13 .mg-contact-strip { padding: 24px; gap: 18px; }
  .template-13 .mg-contact-strip h2 { font-size: 24px; }
  .template-13 .mg-contact-strip__phone { font-size: 19px; }
  .template-13 .products-block .product { margin-block: 0; padding: 5px; }
  .template-13 .products-block .product .p { margin-block: 0; padding: 10px; }
  .template-13 .products-block .p .name { font-size: 15px; min-height: 3lh; }
  .template-13 .products-block .price-final { font-size: 21px; }
  .template-13 .products-block .price-additional { font-size: 12px; }
  .template-13.type-category .subcategories {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(220px, calc((100% - 12px) / 2))), 1fr));
  }
  .template-13 .subcategories li a { min-height: 72px; }
  .template-13 .subcategories li a .image { width: 48px; height: 48px; }
  .template-13 .subcategories li a .image img { max-height: 48px; }
  .template-13 .subcategories li a .text { font-size: 15px; overflow-wrap: anywhere; }
  .template-13 .p-detail-inner .price-final { font-size: 30px; }
}
@media (width < 375px) {
  .template-13 :is(.benefitBanner, .mg-category-grid) { grid-template-columns: minmax(0, 1fr); }
  .template-13 .benefitBanner__item { display: flex; align-items: center; }
  .template-13 .benefitBanner__picture { margin-bottom: 0; }
  .template-13 .products-block .p-bottom > .mg-product-card-link {
    min-height: 40px;
    line-height: 1.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .template-13 .btn, .template-13 .products-block .product .p { transition: none; }
}

