/* MIPEC REDESIGN — CSS v1.8 */

/* =========================================
   SPOLEČNÉ ROZLOŽENÍ BEZ BOČNÍCH SLOUPCŮ
   Platí pro všechny stránky.
   ========================================= */

#content-wrapper > .content-wrapper-in > .sidebar {
  display: none !important;
}

#content-wrapper > .content-wrapper-in > #content {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =========================================
   PARAMETRY V ŠEDÝCH POLÍČKÁCH
   ========================================= */

body.type-product.mipec-machine-detail
.p-short-description .mipec-detail-facts {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 24px;
  padding: 0 !important;
  list-style: none !important;
}

body.type-product.mipec-machine-detail
.p-short-description .mipec-detail-facts > li {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 84px;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box;
  background: #f3f4f6;
  border: 0;
  border-radius: 8px;
  color: #30363b;
  font-family: var(--template-font, Arial), sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: normal;
  text-transform: none;
  overflow-wrap: anywhere;
  list-style: none !important;
}

body.type-product.mipec-machine-detail
.p-short-description .mipec-detail-facts > li::before {
  content: "" !important;
  position: static !important;
  display: block;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #ef5b16;
}

body.type-product.mipec-machine-detail
.mipec-detail-facts > li::after {
  content: none !important;
}

/* =========================================
   VOLITELNÉ IKONY PARAMETRŮ
   ========================================= */

body.type-product.mipec-machine-detail
.mipec-detail-facts > li.mipec-fact-has-icon::before {
  display: none !important;
}

body.type-product.mipec-machine-detail
.mipec-detail-facts .mipec-fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: #59636e;
}

body.type-product.mipec-machine-detail
.mipec-detail-facts .mipec-fact-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

body.type-product.mipec-machine-detail
.mipec-detail-facts .mipec-fact-text {
  min-width: 0;
  font: inherit;
  color: inherit;
}

body.type-product.mipec-machine-detail
.mipec-detail-facts .mipec-fact-text > a {
  color: inherit;
  text-decoration: underline;
}

/* =========================================
   PRODUKTOVÁ TLAČÍTKA
   ========================================= */

body.type-product.mipec-machine-detail
.p-detail-inner .link-icons > a.print {
  display: none !important;
}

body.type-product.mipec-machine-detail
.p-detail-inner .link-icons {
  width: 100%;
  max-width: 300px !important;
}

body.type-product.mipec-machine-detail
.p-detail-inner .link-icons [data-testid="buttonAskQuestion"] {
  min-height: 54px;
  padding: 14px 20px !important;
  border: 1px solid #ef5b16 !important;
  border-radius: 6px !important;
  background: #ef5b16 !important;
  color: #fff !important;
}

body.type-product.mipec-machine-detail
.p-detail-inner .link-icons [data-testid="buttonAskQuestion"]:hover {
  background: #d44d10 !important;
  border-color: #d44d10 !important;
}

body.type-product.mipec-machine-detail
.p-detail-inner .link-icons [data-testid="buttonAskQuestion"]:focus-visible {
  outline: 3px solid #30363b;
  outline-offset: 3px;
}

body.type-product.mipec-machine-detail
.p-detail-inner .link-icons [data-testid="buttonAskQuestion"] span::after {
  content: "Request a Quote" !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3;
}

/* =========================================
   ÚVODNÍ TEXT NAD PARAMETRY
   ========================================= */

body.type-product.mipec-machine-detail .mipec-detail-intro {
  margin: 18px 0 0;
  font-family: var(--template-font, Arial), sans-serif;
  text-align: left;
}

body.type-product.mipec-machine-detail
.mipec-detail-intro > .hero-lead {
  margin: 0 0 16px !important;
  color: #30363b !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em;
}

body.type-product.mipec-machine-detail
.mipec-detail-intro > p:not(.hero-lead) {
  margin: 0 !important;
  color: #59636e !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

/* =========================================
   ROZLOŽENÍ DETAILU NA POČÍTAČI
   ========================================= */

@media (min-width: 992px) {
  body.type-product.mipec-machine-detail .p-detail-inner {
    align-items: flex-start !important;
  }

  body.type-product.mipec-machine-detail
  .p-detail-inner > .p-image-wrapper {
    flex: 0 0 50% !important;
    width: 50% !important;
    min-width: 0;
    padding-right: 40px !important;
    box-sizing: border-box;
  }

  body.type-product.mipec-machine-detail
  .p-detail-inner > .p-data-wrapper {
    flex: 0 0 50% !important;
    width: 50% !important;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* =========================================
   MOBILNÍ DETAIL
   ========================================= */

@media (max-width: 767px) {
  body.type-product.mipec-machine-detail
  .mipec-detail-intro > .hero-lead {
    font-size: 26px !important;
  }
}

@media (max-width: 480px) {
  body.type-product.mipec-machine-detail
  .p-short-description .mipec-detail-facts {
    gap: 10px;
  }

  body.type-product.mipec-machine-detail
  .p-short-description .mipec-detail-facts > li {
    padding: 14px 12px !important;
    font-size: 16px !important;
  }

  body.type-product.mipec-machine-detail
  .p-detail-inner .link-icons {
    max-width: none !important;
  }
}

@media (max-width: 359px) {
  body.type-product.mipec-machine-detail
  .p-short-description .mipec-detail-facts {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   HORNÍ NAVIGACE NA POČÍTAČI
   ========================================= */

@media (min-width: 768px) {

  /* Čitelnější hlavní navigace */
  #header #navigation .navigation-in > .menu-level-1 > li > a,
  #header #navigation .navigation-in > .menu-level-1 > li > a > b {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
  }

  /* Otevírání nabídky nadále řídí Shoptet */
  #header #navigation .navigation-in > .menu-level-1 > li
  > .menu-level-2 {
    padding: 24px max(24px, calc((100% - 1200px) / 2)) !important;
    box-sizing: border-box;
    background: #fff !important;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08) !important;
  }

  /* Tři sloupce */
  #header #navigation .navigation-in > .menu-level-1 > li
  > .menu-level-2 > li {
    flex: 0 0 33.333333% !important;
    width: 33.333333% !important;
    min-width: 0;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    box-sizing: border-box;
    align-items: flex-start !important;
  }

  /* Bez obrázkových náhledů */
  #header #navigation .navigation-in > .menu-level-1 > li
  > .menu-level-2 > li > a.menu-image {
    display: none !important;
  }

  #header #navigation .navigation-in > .menu-level-1 > li
  > .menu-level-2 > li > div {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Hlavní skupiny */
  #header #navigation .navigation-in > .menu-level-1 > li
  > .menu-level-2 > li > div > a {
    display: block !important;
    padding: 12px !important;
    border-radius: 6px;
    color: #30363b !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
  }

  #header #navigation .navigation-in > .menu-level-1 > li
  > .menu-level-2 > li > div > a:hover {
    color: #d44d10 !important;
    background: #f3f4f6 !important;
  }

  /* Podkategorie bez ořezání */
  #header #navigation .navigation-in > .menu-level-1 > li
  > .menu-level-2 > li > div > .menu-level-3 {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 12px 8px !important;
  }

  #header #navigation .menu-level-3 > li {
    display: block !important;
    padding: 0 !important;
  }

  #header #navigation .menu-level-3 > li > a {
    display: block !important;
    padding: 9px 0 !important;
    color: #59636e !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
  }

  #header #navigation .menu-level-3 > li > a:hover {
    color: #d44d10 !important;
    text-decoration: underline !important;
  }

  #header #navigation .menu-level-2 a:focus-visible {
    outline: 2px solid #ef5b16 !important;
    outline-offset: 2px;
  }

  /* Skrytí přebytečných tří teček */
  #header #navigation .menu-level-3 .more-items-trigger {
    display: none !important;
  }
}

/* =========================================
   DROBEČKOVÁ NAVIGACE
   ========================================= */

#content-wrapper .breadcrumbs {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

#content-wrapper .breadcrumbs a,
#content-wrapper .breadcrumbs [itemprop="name"] {
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

#content-wrapper .breadcrumbs a {
  color: #59636e !important;
  text-decoration: none;
}

#content-wrapper .breadcrumbs a:hover {
  color: #d44d10 !important;
  text-decoration: underline;
}

#content-wrapper .breadcrumbs .navigation-bullet {
  padding: 0 8px !important;
  color: #9ca3af !important;
}

#content-wrapper .breadcrumbs > span:last-child {
  color: #30363b;
  font-weight: 600;
}

/* Domeček v barvě CTA */
#content-wrapper .breadcrumbs a.navigation-home-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 2px;
  box-sizing: border-box;
  vertical-align: middle;
  border: 1px solid #ef5b16 !important;
  border-radius: 8px;
  background: #ef5b16 !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease;
}

#content-wrapper .breadcrumbs .navigation-home-icon::before {
  font-size: 22px !important;
  line-height: 1 !important;
}

#content-wrapper .breadcrumbs .navigation-home-icon::after {
  display: none !important;
}

#content-wrapper .breadcrumbs a.navigation-home-icon:hover {
  background: #d44d10 !important;
  border-color: #d44d10 !important;
  color: #fff !important;
}

#content-wrapper .breadcrumbs a:focus-visible {
  outline: 2px solid #ef5b16;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  #content-wrapper .breadcrumbs {
    font-size: 13px !important;
  }

  #content-wrapper .breadcrumbs .navigation-bullet {
    padding: 0 5px !important;
  }
}
/* =========================================
   MIPEC REDESIGN v1.9
   SPOLEČNÁ TYPOGRAFIE OBSAHU
   ========================================= */

/* Základní hodnoty mimo úvodní stránku */
body:not(.type-index) #content {
  --mipec-text-font: var(--template-font, "Source Sans 3"), Arial, sans-serif;
  --mipec-heading-font: var(--template-headings-font, "Exo 2"), Arial, sans-serif;
  --mipec-text-size: 17px;
  --mipec-text-leading: 1.65;
  --mipec-paragraph-gap: 16px;
}

/* Obsahové oblasti */
body:not(.type-index) #content
:is(
  .category-perex,
  .category__secondDescription,
  .basic-description,
  .pageArticleDetail
) {
  font-family: var(--mipec-text-font) !important;
  font-size: var(--mipec-text-size) !important;
  line-height: var(--mipec-text-leading) !important;
}

/* Odstavce, seznamy a tabulky.
   Výrazné úvodní sdělení produktu si ponechá vlastní velikost. */
body:not(.type-index) #content
:is(
  .category-perex,
  .category__secondDescription,
  .basic-description,
  .pageArticleDetail
)
:is(
  p:not(.hero-lead, .product-lead),
  li,
  dt,
  dd,
  td,
  th
) {
  font-family: var(--mipec-text-font) !important;
  font-size: var(--mipec-text-size) !important;
  line-height: var(--mipec-text-leading) !important;
  letter-spacing: normal !important;
}

/* Jednotné mezery mezi odstavci */
body:not(.type-index) #content
:is(
  .category-perex,
  .category__secondDescription,
  .basic-description,
  .pageArticleDetail
)
p:not(.hero-lead, .product-lead) {
  margin-top: 0 !important;
  margin-bottom: var(--mipec-paragraph-gap) !important;
}

/* Zvýraznění uvnitř textu */
body:not(.type-index) #content
:is(
  .category-perex,
  .category__secondDescription,
  .basic-description,
  .pageArticleDetail
)
:is(strong, em) {
  font-family: var(--mipec-text-font) !important;
}

/* Hlavní nadpisy kategorií a obsahových stránek */
body:not(.type-index) #content
:is(
  .category-top > h1.category-title,
  .pageArticleDetail > header h1,
  .content-inner > h1
) {
  font-family: var(--mipec-heading-font) !important;
  font-size: clamp(28px, 2.6vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -.02em !important;
  color: #ef5b16 !important;
  text-align: left !important;
  margin: 0 0 22px !important;
  overflow-wrap: break-word;
}

/* Název produktu zůstává kompaktnější nad úvodním sdělením */
body.type-product #content
:is(
  .p-detail-inner-header,
  .p-detail-inner-header-mobile
) h1 {
  font-family: var(--mipec-heading-font) !important;
  font-size: clamp(24px, 2vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: .01em !important;
  color: #ef5b16 !important;
  text-align: left !important;
  margin: 0 0 18px !important;
}

/* Nadpisy obsahových sekcí */
body:not(.type-index) #content
:is(
  .category-perex,
  .category__secondDescription,
  .basic-description,
  .pageArticleDetail
) h2 {
  font-family: var(--mipec-heading-font) !important;
  font-size: clamp(23px, 1.8vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -.015em !important;
  margin: 32px 0 14px !important;
  overflow-wrap: break-word;
}

/* Nadpis uvnitř samostatného bloku nepotřebuje horní mezeru */
body:not(.type-index) #content
:is(
  .category-perex,
  .category__secondDescription,
  .basic-description,
  .pageArticleDetail
) h2:first-child {
  margin-top: 0 !important;
}

/* Podnadpisy a názvy informačních karet */
body:not(.type-index) #content
:is(
  .category-perex,
  .category__secondDescription,
  .basic-description,
  .pageArticleDetail
) h3 {
  font-family: var(--mipec-heading-font) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  margin: 0 0 10px !important;
  overflow-wrap: break-word;
}

/* Popisky fotografií */
body:not(.type-index) #content
:is(
  .category-perex,
  .category__secondDescription,
  .basic-description,
  .pageArticleDetail
) figcaption {
  font-family: var(--mipec-text-font) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Mobilní typografie */
@media (max-width: 767px) {
  body:not(.type-index) #content {
    --mipec-text-size: 16px;
    --mipec-text-leading: 1.65;
    --mipec-paragraph-gap: 14px;
  }

  body:not(.type-index) #content
  :is(
    .category-perex,
    .category__secondDescription,
    .basic-description,
    .pageArticleDetail
  ) h2 {
    margin-top: 26px !important;
  }

  body:not(.type-index) #content
  :is(
    .category-perex,
    .category__secondDescription,
    .basic-description,
    .pageArticleDetail
  ) h2:first-child {
    margin-top: 0 !important;
  }

  body:not(.type-index) #content
  :is(
    .category-perex,
    .category__secondDescription,
    .basic-description,
    .pageArticleDetail
  ) h3 {
    font-size: 19px !important;
  }
}
/* MIPEC v1.10 — postupné zobrazování obsahu */

@media screen and (prefers-reduced-motion: no-preference) {
  #content .mipec-reveal-pending {
    opacity: 0;
    transform: translateY(22px);
  }

  #content .mipec-reveal-enter {
    animation: mipec-content-enter 1.2s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--mipec-reveal-delay, 0ms);
  }

  @keyframes mipec-content-enter {
    from {
      opacity: 0;
      transform: translateY(22px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Bez animace při tisku a omezeném pohybu */
@media print, (prefers-reduced-motion: reduce) {
  #content .mipec-reveal-pending,
  #content .mipec-reveal-enter {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}