/* Ghí od Srdce storefront v26 – CS-only cards and header.
   Load after legacy-preserved-footer-20261023-v1.css.
   No cart, review, bonus, language or menu JavaScript is changed.
   #products-2 is observed in the homepage DOM.
   .ghi-v26-products is an optional marker for other verified product grids. */
html[lang="cs"] {
  --ghi-v26-cream: #FFFBEB;
  --ghi-v26-gold: #B45309;
  --ghi-v26-green: #15803D;
  --ghi-v26-green-hover: #166534;
  --ghi-v26-ink: #2B2118;
  --ghi-v26-muted: #6B5A49;
  --ghi-v26-border: #E8D9BC;
}
html[lang="cs"] body {
  font-family: "Poppins", Arial, sans-serif;
}
html[lang="cs"] body.type-index {
  background-color: var(--ghi-v26-cream);
  color: var(--ghi-v26-ink);
}
html[lang="cs"] body.type-index .homepage-group-title {
  margin: 0 0 24px;
  color: var(--ghi-v26-ink);
  font-family: inherit;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}
/* Header keeps the native menu, utilities and language controls. */
html[lang="cs"] #header {
  background: var(--ghi-v26-cream) !important;
  border-bottom: 1px solid var(--ghi-v26-border);
}
html[lang="cs"] #header .navigation-in {
  background: transparent !important;
}
html[lang="cs"] #header :is(#navigation, .menu-helper)
  :is(.nav-manufacturers, .menu-item-813, .menu-item-825) {
  display: none !important;
}
html[lang="cs"] #navigation .menu-level-1 > li > a,
html[lang="cs"] #header .menu-helper > .menu-level-1 > li > a {
  color: var(--ghi-v26-ink) !important;
  font-family: inherit;
  letter-spacing: 0;
}
html[lang="cs"] #navigation .menu-level-1 > li > a b,
html[lang="cs"] #header .menu-helper > .menu-level-1 > li > a b {
  font-weight: 600;
}
html[lang="cs"] #navigation .menu-level-1 > li > a:hover,
html[lang="cs"] #navigation .menu-level-2 a:hover {
  color: var(--ghi-v26-gold) !important;
}
html[lang="cs"] #header .navigation-buttons a[data-target="cart"],
html[lang="cs"] #header .navigation-buttons a[data-target="login"],
html[lang="cs"] #header .navigation-buttons a[data-target="search"] {
  color: var(--ghi-v26-ink) !important;
  background: transparent !important;
}
html[lang="cs"] #header .navigation-buttons a[data-target]:hover {
  color: var(--ghi-v26-gold) !important;
}
html[lang="cs"] #header a:focus-visible,
html[lang="cs"] #header button:focus-visible {
  outline: 3px solid var(--ghi-v26-gold);
  outline-offset: 3px;
}
@media (min-width: 992px) {
  html[lang="cs"] #header .site-name {
    flex: 0 0 80px;
  }
  html[lang="cs"] #header .site-name img {
    width: auto;
    max-width: 72px;
    height: auto;
    max-height: 66px;
    object-fit: contain;
  }
  html[lang="cs"] #navigation {
    min-width: 0;
  }
  html[lang="cs"] #navigation .menu-level-1 > li > a {
    padding-left: 5px !important;
    padding-right: 5px !important;
    font-size: clamp(12px, 0.97vw, 14px) !important;
    white-space: nowrap;
  }
}
/* Catalog grid. Do not target native carousel or checkout containers. */
html[lang="cs"] :is(#products-2, .ghi-v26-products) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-left: 0;
  margin-right: 0;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products)::before,
html[lang="cs"] :is(#products-2, .ghi-v26-products)::after {
  content: none;
  display: none;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) > .product {
  display: flex;
  width: auto;
  max-width: none;
  min-width: 0;
  float: none;
  margin: 0;
  padding: 0;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) > .product > .p {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--ghi-v26-border);
  border-radius: 16px;
  background: var(--ghi-v26-cream);
  color: var(--ghi-v26-ink);
  box-shadow: 0 4px 16px rgba(43, 33, 24, 0.035);
  text-align: left;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) > .product > .p > .image {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 11px;
  background: #fff;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) > .product > .p > .image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p > .p-in {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-in-in {
  flex: 0 0 auto;
  min-width: 0;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-in-in > .name {
  display: -webkit-box;
  min-height: 66px;
  max-height: 66px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--ghi-v26-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-in-in > .name:hover {
  color: var(--ghi-v26-gold);
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-in-in .availability {
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 18px;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-bottom {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: 0;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-bottom > [data-micro="offer"] {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-desc {
  order: 1;
  display: -webkit-box !important;
  flex: 0 0 auto;
  min-height: 42px;
  max-height: 42px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--ghi-v26-muted);
  font-size: 14px;
  line-height: 21px;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .prices {
  order: 2;
  flex: 0 0 auto;
  min-height: 54px;
  margin-top: auto;
  margin-bottom: 0;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .price-final,
html[lang="cs"] :is(#products-2, .ghi-v26-products) .price-final strong {
  color: var(--ghi-v26-gold);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .price-measure {
  margin-top: 4px;
  color: var(--ghi-v26-muted);
  font-size: 12px;
  line-height: 18px;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-tools {
  order: 3;
  flex: 0 0 auto;
  width: 100%;
  margin-top: 16px;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-tools form {
  width: 100%;
  margin: 0;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-tools
  :is(.btn-cart, .add-to-cart-button, .btn-primary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--ghi-v26-green) !important;
  border-radius: 10px;
  background: var(--ghi-v26-green) !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-tools
  :is(.btn-cart, .add-to-cart-button, .btn-primary):hover {
  border-color: var(--ghi-v26-green-hover) !important;
  background: var(--ghi-v26-green-hover) !important;
}
html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-tools
  :is(.btn-cart, .add-to-cart-button, .btn-primary):focus-visible {
  outline: 3px solid var(--ghi-v26-gold);
  outline-offset: 3px;
}
/* Existing zero-review rules are preserved in the legacy footer asset.
   Do not hide .stars, .vote-rating or .rating globally: shop reviews are real. */
@media (min-width: 992px) {
  html[lang="cs"] :is(#products-2, .ghi-v26-products) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (max-width: 479px) {
  html[lang="cs"] :is(#products-2, .ghi-v26-products) {
    gap: 12px;
  }
  html[lang="cs"] :is(#products-2, .ghi-v26-products) > .product > .p {
    padding: 11px;
    border-radius: 12px;
  }
  html[lang="cs"] :is(#products-2, .ghi-v26-products) .p-in-in > .name {
    min-height: 63px;
    max-height: 63px;
    font-size: 14px;
    line-height: 21px;
  }
  html[lang="cs"] :is(#products-2, .ghi-v26-products) .price-final,
  html[lang="cs"] :is(#products-2, .ghi-v26-products) .price-final strong {
    font-size: 21px;
  }
}
