/* WINE4YOU — Akce týdne (stránka týdenní nabídky), v3.
   Společné styly pro horní popis kategorie. Obsah se mění v HTML,
   tyto třídy zůstávají. Načítat v Zápatí vedle w4y-sady.css.
   Bloky sahají na stejnou levou i pravou hranu jako H1 a výpis produktů
   (žádný užší max-width ani vodorovné odsazení u kořene).
   Mřížka šesti vín v popisu už není — ve výpisu kategorie jsou nativní
   dlaždice Shoptetu (boxík a jednotlivá vína). */

.w4y-akce {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 2.25rem;
  padding: 0;
  color: var(--w4y-ink, #3a2a26);
  font-family: var(--w4y-font, "PT Sans", sans-serif);
}

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

/* —— Hero —— */
.w4y-akce__hero {
  position: relative;
  margin: 0 0 1.75rem;
  border-radius: var(--w4y-r-lg, 16px);
  overflow: hidden;
  background: #2b1818;
  line-height: 0;
}

.w4y-akce__hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 520;
  object-fit: cover;
  object-position: center 40%;
}

.w4y-akce__hero-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 72%;
  background: linear-gradient(
    to top,
    rgba(42, 16, 16, .88) 0%,
    rgba(42, 16, 16, .55) 42%,
    rgba(42, 16, 16, 0) 100%
  );
  pointer-events: none;
}

.w4y-akce__hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.6rem 1.5rem;
  color: #fffaf6;
  line-height: 1.3;
}

.w4y-akce__kicker {
  margin: 0 0 .35rem;
  font-family: var(--w4y-font, "PT Sans", sans-serif);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f0d4d0;
}

.w4y-akce__title {
  margin: 0;
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fffaf6;
  letter-spacing: 0;
  text-transform: none;
}

.w4y-akce__subtitle {
  margin: .4rem 0 0;
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: #f0d4d0;
}

/* —— Úvod: typografie a šířka jako běžný popis kategorie (Soul p) —— */
.w4y-akce__uvod {
  width: 100%;
  max-width: none;
  margin: 0 0 1.35rem;
  padding: 0;
}

.w4y-akce__uvod p {
  margin: 0 0 .5625rem;
  padding: 0;
  font-family: var(--w4y-font, "PT Sans", sans-serif);
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.4375rem;
  letter-spacing: .1px;
  color: inherit;
}

.w4y-akce__uvod p:last-child {
  margin-bottom: 0;
}

/* —— Fakta (visící řez u ikony) —— */
.w4y-akce__fakta {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem 1.5rem;
}

@media (min-width: 700px) {
  .w4y-akce__fakta {
    grid-template-columns: repeat(3, 1fr);
  }
}

.w4y-akce__fakt {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0;
  padding: .7rem .85rem .7rem .7rem;
  background: var(--w4y-cream, #fffaf6);
  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));
}

.w4y-akce__fakt-ikon {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: .1rem;
  object-fit: contain;
}

.w4y-akce__fakt-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .92rem;
  line-height: 1.4;
  color: var(--w4y-ink, #3a2a26);
  padding-left: 0;
}

/* —— Citát —— */
.w4y-akce__citat {
  margin: 0 0 1.75rem;
  padding: 0 0 0 1.15rem;
  border-left: 3px solid var(--w4y-red, #6a1315);
}

.w4y-akce__citat p {
  margin: 0;
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--w4y-red, #6a1315);
}

.w4y-akce__citat footer {
  margin: .4rem 0 0;
  font-family: var(--w4y-font, "PT Sans", sans-serif);
  font-size: .88rem;
  font-style: normal;
  color: var(--w4y-soft, #5a4540);
}

/* —— Cena a CTA —— */
.w4y-akce__cena {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 1.25rem 1.4rem 1.3rem;
  background: var(--w4y-red, #6a1315);
  color: #fffaf6;
  border-radius: var(--w4y-r-lg, 16px);
  box-shadow: var(--w4y-shadow-cta, 0 4px 12px rgba(106, 19, 21, .22));
}

.w4y-akce__cena-cisla {
  flex: 1 1 16rem;
  min-width: 0;
}

.w4y-akce__cena-box {
  margin: 0;
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-size: clamp(1.8rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fffaf6;
}

.w4y-akce__cena-zvlast {
  margin: .35rem 0 0;
  font-size: .92rem;
  line-height: 1.4;
  color: #f0d4d0;
}

.w4y-akce__cena-uspora {
  margin: .15rem 0 0;
  font-family: var(--w4y-font-head, "PT Serif", serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fffaf6;
}

.w4y-akce__cena-sklad {
  margin: .45rem 0 0;
  font-size: .85rem;
  color: #f0d4d0;
}

.w4y-akce__cta {
  flex: 0 0 auto;
  display: inline-block;
  margin: 0;
  padding: .85rem 1.4rem;
  background: #fffaf6;
  color: var(--w4y-red, #6a1315) !important;
  font-family: var(--w4y-font, "PT Sans", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none !important;
  text-transform: none;
  border-radius: var(--w4y-r-pill, 999px);
  box-shadow: none;
  text-align: center;
}

.w4y-akce__cta:hover,
.w4y-akce__cta:focus {
  background: #ffffff;
  color: var(--w4y-red-h, #883c3c) !important;
  text-decoration: none !important;
}

@media (max-width: 699px) {
  .w4y-akce {
    margin-bottom: 1.6rem;
  }
  .w4y-akce__hero {
    border-radius: var(--w4y-r-md, 12px);
    margin-bottom: 1.25rem;
  }
  .w4y-akce__hero-img {
    aspect-ratio: 390 / 260;
  }
  .w4y-akce__hero-text {
    padding: 1.1rem 1rem 1.15rem;
  }
  .w4y-akce__title {
    font-size: 1.7rem;
  }
  .w4y-akce__subtitle {
    font-size: 1rem;
  }
  .w4y-akce__citat {
    margin-bottom: 1.5rem;
  }
  .w4y-akce__cena {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.1rem;
    padding: 1.15rem 1.1rem 1.2rem;
    text-align: left;
  }
  .w4y-akce__cena-cisla {
    flex: 0 1 auto;
  }
  .w4y-akce__cta {
    width: 100%;
    max-width: 20rem;
  }
}
