/* Printland.cz — doplnění vzhledu podle původního návrhu, verze 2. */
body.type-index {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #1e3530;
}

@media (min-width: 768px) {
  body.type-index #header .header-top .header-top-wrapper {
    min-height: 104px;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  body.type-index #header .header-top .header-top-wrapper .site-name {
    width: 211px;
    max-width: 211px;
    height: auto;
    padding: 0;
    margin: 0;
    text-align: left;
  }
  body.type-index #header .site-name a img {
    display: block;
    width: 211px;
    max-width: 100%;
    max-height: none;
    height: auto;
    mix-blend-mode: multiply;
  }
  body.type-index #navigation .menu-level-1 > li > a {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #174c43;
  }
}

@media (min-width: 1200px) {
  body.type-index #header {
    position: relative;
    display: grid;
    grid-template-columns: 211px minmax(0, 1fr) 150px;
    align-items: center;
    column-gap: 22px;
    width: calc(100% - 96px);
    max-width: 1280px;
    min-height: 125px;
    margin: 0 auto;
    padding: 16px 0;
  }
  body.type-index #header .header-top,
  body.type-index #header .header-top .header-top-wrapper,
  body.type-index #header .header-bottom {
    display: contents;
  }
  body.type-index #header .header-top .header-top-wrapper .navigation-tools:empty,
  body.type-index #header .header-top .header-top-wrapper .navigation-tools:not(:has(*)) {
    display: none;
  }
  body.type-index #header .header-top .header-top-wrapper .site-name {
    grid-column: 1;
    grid-row: 1;
  }
  body.type-index #header .header-top .header-top-wrapper .navigation-buttons {
    grid-column: 3;
    grid-row: 1;
    position: static;
    width: auto;
    max-width: 150px;
    padding: 0;
    margin: 0;
    justify-self: end;
  }
  body.type-index #header .header-top .header-top-wrapper > .user-action {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }
  body.type-index #header .header-bottom .header-bottom-wrapper {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  body.type-index #navigation {
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
  }
  body.type-index #navigation .menu-level-1 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  body.type-index #navigation .menu-level-1 > li > a {
    padding: 14px 9px;
    font-size: 11px;
  }
}

body.type-index [data-printland-hero] {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 54px !important;
  width: calc(100% - 96px) !important;
  max-width: 1280px;
  min-height: 680px;
  padding-top: 68px !important;
  padding-bottom: 75px !important;
}
body.type-index [data-printland-hero] a[href="#products-2"] {
  border-radius: 3px !important;
  font-size: 12px !important;
  font-weight: 600;
  min-height: 51px;
}
body.type-index [data-pl-link] {
  border-radius: 120px 120px 7px 7px !important;
  box-shadow: 0 20px 55px #28423510;
}

body.type-index #products-2 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 42px 24px !important;
  margin: 0 !important;
  width: 100% !important;
}
body.type-index #products-2 > .product {
  display: flex;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 !important;
}
body.type-index #products-2 .p {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left;
}
body.type-index #products-2 .p > .image {
  display: block !important;
  float: none !important;
  flex: none !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfd7c680;
  border-radius: 12px;
}
body.type-index #products-2 .image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 0;
}
body.type-index #products-2 .p-in,
body.type-index #products-2 .p-in-in {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  flex-basis: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
}
body.type-index #products-2 .p-in,
body.type-index #products-2 .p-in-in {
  flex-grow: 1;
}
body.type-index #products-2 .name {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 42px;
  height: auto !important;
  font: 600 14px/1.5 "Segoe UI", Arial, sans-serif !important;
  color: #1e3530 !important;
  text-align: left;
}
body.type-index #products-2 .ratings-wrapper {
  display: flex !important;
  align-items: center !important;
  min-height: 24px;
  margin: 5px 0 0;
  font-size: 11px;
}
body.type-index #products-2 .flags-inline .flag {
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .02em;
}
body.type-index #products-2 .p-desc {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 41px;
  max-height: 41px;
  margin: 8px 0 0 !important;
  font: 400 12px/1.7 "Segoe UI", Arial, sans-serif !important;
  color: #5f6b60 !important;
}
body.type-index #products-2 .p-bottom {
  flex-basis: auto !important;
  width: 100% !important;
  margin-top: 18px !important;
  padding-top: 0;
  border-top: 1px solid #d6cbb7;
}
body.type-index #products-2 .p-bottom > .offers {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding-top: 10px !important;
}
body.type-index #products-2 .prices {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 0;
  text-align: left !important;
}
body.type-index #products-2 .price-final,
body.type-index #products-2 .price-final strong {
  font: 600 16px/1.5 "Segoe UI", Arial, sans-serif !important;
  color: #1e3530 !important;
}
body.type-index #products-2 .price-standard-wrapper {
  font-size: 11px;
  line-height: 1.4;
}
body.type-index #products-2 .price-standard-wrapper-placeholder {
  display: none !important;
}
body.type-index #products-2 .p-bottom .p-tools {
  flex: none;
  margin: 0 !important;
}
body.type-index #products-2 .p-tools a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #174c43 !important;
  font: 600 11px/1.5 "Segoe UI", Arial, sans-serif !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.type-index #products-2 .p-tools a.btn-primary::after {
  content: "\2197";
  margin-left: 8px;
  font-size: 15px;
}
body.type-index #products-2 a:focus-visible,
body.type-index [data-printland-hero] a:focus-visible {
  outline: 3px solid #805b31;
  outline-offset: 4px;
}

@media (max-width: 1150px) {
  body.type-index [data-printland-hero] {
    width: calc(100% - 64px) !important;
    min-height: 610px;
    gap: 35px !important;
    padding-top: 54px !important;
    padding-bottom: 65px !important;
  }
}
@media (max-width: 767px) {
  html:has(body.type-index) {
    scroll-padding-top: 80px;
  }
  body.type-index #products-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 13px !important;
  }
  body.type-index #products-2 .name {
    font-size: 12px !important;
    min-height: 36px;
  }
  body.type-index #products-2 .p-desc {
    font-size: 12px !important;
    min-height: 41px;
    max-height: 41px;
  }
  body.type-index #products-2 .p-bottom {
    margin-top: 12px !important;
  }
  body.type-index #products-2 .p-bottom > .offers {
    gap: 6px;
  }
  body.type-index #products-2 .price-final,
  body.type-index #products-2 .price-final strong {
    font-size: 14px !important;
  }
}
@media (max-width: 650px) {
  body.type-index [data-printland-hero] {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 36px) !important;
    overflow-x: clip;
    overflow-clip-margin: 8px;
    min-height: 0;
    gap: 28px !important;
    padding-top: 38px !important;
    padding-bottom: 36px !important;
  }
  body.type-index [data-pl-link] {
    border-radius: 90px 90px 5px 5px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.type-index) {
    scroll-behavior: auto;
  }
  body.type-index [data-printland-hero],
  body.type-index #products-2,
  body.type-index #products-2 * {
    scroll-behavior: auto;
    transition: none !important;
  }
}
