/* Shared W4Y styles for Shoptet product sets (Sady produktů).
   Systematic — no per-page hacks. Load after w4y-vzhled.css.
   Native Soul has almost no set-specific rules (main-06.css).
   After the first live set is on, confirm wrappers and map selectors if Shoptet’s
   class names differ; the look (card shadow, typography) stays the same. */

/* —— Product detail: short description (native .product-detail-short-descr) —— */
.product-detail-short-descr {
  font-family: var(--w4y-font, "PT Sans", sans-serif);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--w4y-ink, #3a2a26);
  margin: 0 0 1.5rem;
}
.product-detail-short-descr p { margin: 0 0 .6rem; }
.product-detail-short-descr p:last-child { margin-bottom: 0; }

/* —— Obsah sady —— */
.product-set {
  margin: 2rem 0 1.5rem;
  clear: both;
}
.product-set-title {
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--w4y-red, #6a1315);
  margin: 0 0 1rem;
  letter-spacing: 0;
  text-transform: none;
}
.product-set-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 700px) {
  .product-set-items { grid-template-columns: 1fr 1fr; }
}
.product-set-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--w4y-white, #fff);
  border-radius: var(--w4y-r-md, 12px);
  box-shadow: var(--w4y-shadow-card, 0 2px 6px rgba(60, 30, 30, .06), 0 8px 24px rgba(60, 30, 30, .08));
  padding: .7rem 1rem .7rem .7rem;
  min-height: 5.5rem;
  box-sizing: border-box;
}
.product-set-item-image {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--w4y-cream, #fffaf6);
  border-radius: var(--w4y-r, 8px);
  overflow: hidden;
  text-decoration: none;
}
.product-set-item-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.product-set-item-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.product-set-item-name {
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--w4y-ink, #3a2a26);
  text-decoration: none;
}
.product-set-item-name:hover,
.product-set-item-name:focus {
  color: var(--w4y-red, #6a1315);
  text-decoration: none;
}
.product-set-item-meta {
  margin: 0;
  font-family: var(--w4y-font, "PT Sans", sans-serif);
  font-size: .85rem;
  line-height: 1.35;
  color: var(--w4y-soft, #5a4540);
}
.product-set-item-price {
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--w4y-red, #6a1315);
  margin-top: .15rem;
}

/* —— Listing: set product image keeps the cream square intact —— */
.product[data-w4y-sada] .pr-list-image,
li.product-wrap[data-w4y-sada] .pr-list-image {
  background: var(--w4y-cream, #fffaf6);
}
.product[data-w4y-sada] .pr-list-image img {
  object-fit: contain;
  background: var(--w4y-cream, #fffaf6);
}

/* —— Listing hover: 6 wines instead of odrůda / styl / původ / ročník —— */
.pr-list-hover-info .w4y-hover-sada {
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
  font-family: var(--w4y-font, "PT Sans", sans-serif);
  font-size: .78rem;
  line-height: 1.35;
  color: var(--w4y-ink, #3a2a26);
}
.pr-list-hover-info .w4y-hover-sada-title {
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-weight: 600;
  font-size: .8rem;
  color: var(--w4y-red, #6a1315);
  margin: .2rem 0 .15rem;
}
.pr-list-hover-info .w4y-hover-sada li {
  margin: 0;
  padding: .08rem 0;
  padding-left: .7rem;
  position: relative;
}
.pr-list-hover-info .w4y-hover-sada li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .35em;
  height: .35em;
  border-radius: 50%;
  background: var(--w4y-red, #6a1315);
  opacity: .7;
}

/* Forced hover for the preview screenshot (same look as :hover). Desktop only. */
@media (min-width: 1024px) {
  #category-products-wrapper .product-wrap.w4y-preview-hover .pr-list-hover-info,
  #category-products-wrapper li.product-wrap.w4y-preview-hover:hover .pr-list-hover-info {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: none;
  }
}
@media (max-width: 1023px) {
  #category-products-wrapper .product-wrap.w4y-preview-hover .pr-list-hover-info {
    opacity: 0 !important;
  }
}

/* ===== v-boxiku-najdete · 23. 11. 2026 — blok „V boxíku / V boxu najdete“
   v dlouhém popisu sad. Neupravuje nativní .product-set (ten už řeší pravidla
   výše). Popis produktu není obalený .w4y-obsah, třída platí sama o sobě.
   Tokeny --w4y-* z w4y-vzhled.css, s rezervními hodnotami.
   Zdroj: /workspace/vanoce-s-wine4you/v-boxiku-najdete/ */

.w4y-sada-slozeni {
  --w4y-sada-ink: var(--w4y-ink, #3a2a26);
  --w4y-sada-soft: var(--w4y-soft, #5a4540);
  --w4y-sada-red: var(--w4y-red, #6a1315);
  --w4y-sada-line: var(--w4y-line, #eee4df);
  --w4y-sada-white: var(--w4y-white, #fff);
  box-sizing: border-box;
  width: 100%;
  max-width: 820px;
  margin: 1.75rem 0 0.5rem;
  padding: 1.6rem 1.75rem 1.1rem;
  background: var(--w4y-sada-white);
  border: 0;
  border-radius: var(--w4y-r-lg, 16px);
  box-shadow: var(--w4y-shadow-card, 0 2px 6px rgba(60, 30, 30, .06), 0 8px 24px rgba(60, 30, 30, .08));
  color: var(--w4y-sada-ink);
  font-family: var(--w4y-font, "PT Sans", sans-serif);
}

.w4y-sada-slozeni *,
.w4y-sada-slozeni *::before,
.w4y-sada-slozeni *::after {
  box-sizing: border-box;
}

.w4y-sada-slozeni .w4y-sada-slozeni__nadpis,
.w4y-sada-slozeni h2 {
  display: block;
  margin: 0 0 0.75rem;
  padding: 0 0 0.7rem;
  border: 0;
  border-bottom: 1px solid var(--w4y-sada-line);
  background: none;
  box-shadow: none;
  color: var(--w4y-sada-red);
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.w4y-sada-slozeni ul,
.w4y-sada-slozeni .w4y-sada-slozeni__seznam {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: none;
}

.w4y-sada-slozeni li,
.w4y-sada-slozeni .w4y-sada-slozeni__radek {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.1rem;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0.72rem 0;
  border: 0;
  border-top: 1px solid var(--w4y-sada-line);
  background: none;
  color: var(--w4y-sada-ink);
  font-family: var(--w4y-font, "PT Sans", sans-serif);
  text-align: left;
  text-indent: 0;
}

.w4y-sada-slozeni li:first-child,
.w4y-sada-slozeni .w4y-sada-slozeni__radek:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.w4y-sada-slozeni li:last-child,
.w4y-sada-slozeni .w4y-sada-slozeni__radek:last-child {
  padding-bottom: 0.15rem;
}

.w4y-sada-slozeni li::marker,
.w4y-sada-slozeni .w4y-sada-slozeni__radek::marker {
  content: none;
  display: none;
}

/* Název (a vinařství) vlevo, cena vpravo. Zalamovaný název zůstává
   ve sloupci vína, nepodbíhá pod cenu — visící řez řádku. */
.w4y-sada-slozeni .w4y-sada-slozeni__vino {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--w4y-sada-ink);
}

.w4y-sada-slozeni .w4y-sada-slozeni__vino a {
  color: var(--w4y-sada-ink);
  text-decoration: none;
  font-weight: 600;
}

.w4y-sada-slozeni .w4y-sada-slozeni__vino a:hover,
.w4y-sada-slozeni .w4y-sada-slozeni__vino a:focus {
  color: var(--w4y-sada-red);
  text-decoration: none;
}

.w4y-sada-slozeni .w4y-sada-slozeni__vinarstvi {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--w4y-font, "PT Sans", sans-serif);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--w4y-sada-soft);
}

.w4y-sada-slozeni .w4y-sada-slozeni__cena {
  flex: 0 0 auto;
  margin: 0;
  padding-top: 0.05rem;
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--w4y-sada-red);
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

@media only screen and (max-width: 47.9375em) {
  .w4y-sada-slozeni {
    margin: 1.35rem 0 0.35rem;
    padding: 1.2rem 1.05rem 0.9rem;
  }
  .w4y-sada-slozeni .w4y-sada-slozeni__nadpis,
  .w4y-sada-slozeni h2 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.6rem;
  }
  .w4y-sada-slozeni .w4y-sada-slozeni__vino {
    font-size: 0.96875rem;
  }
  .w4y-sada-slozeni .w4y-sada-slozeni__cena {
    font-size: 1rem;
  }
  .w4y-sada-slozeni li,
  .w4y-sada-slozeni .w4y-sada-slozeni__radek {
    gap: 0.8rem;
    padding: 0.68rem 0;
  }
}
