/* ===========================
   home.css — PWC Home (page-specific layout only)
   Uses variables + shared components from main.css
   =========================== */

.pwc-home {
  padding-bottom: 30px;
}

.pwc-hero-card,
.pwc-banner {
  border-radius: var(--pwc-r-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}

.pwc-hero-card {
  min-height: 400px;
}

.pwc-banner {
  min-height: 240px;
}

.pwc-card-overlay {
  position: absolute;
  inset: 0;
  padding: var(--pwc-s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
}

.pwc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: var(--pwc-r-pill);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.pwc-card-overlay h2 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
}

.pwc-card-overlay h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
}

.pwc-card-overlay p {
  margin: 0 0 12px;
  opacity: .95;
  max-width: 42ch;
}


.pwc-card-overlay-banner {
  background: var(--pwc-accent);
}

.pwc-card-overlay-banner h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--pwc-text);
}

.pwc-card-overlay-banner p {
  margin: 0 0 12px;
  opacity: .95;
  max-width: 42ch;
  color: var(--pwc-text);
}

/* ===========================
   Home – 2 banners (text left / image right)
   Uses: .banner-main .banner-left .banner-right
   =========================== */

.pwc-banner {
  position: relative;
  border-radius: var(--pwc-r-lg);
  overflow: hidden;
}

/* overlay: full cover, solid accent background */
.pwc-card-overlay.pwc-card-overlay-banner {
  position: absolute;
  inset: 0;
  padding: var(--pwc-s-6);
  background: var(--pwc-accent);
  display: flex;
  align-items: stretch;
}

/* main layout */
.pwc-card-overlay-banner .banner-main {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--pwc-s-6);
  align-items: center;
}


/* right column */
.pwc-card-overlay-banner .banner-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* image */
.pwc-card-overlay-banner .banner-right img {
  max-height: 190px;
  object-fit: contain;
  border-radius: var(--pwc-r-md);
}

.pwc-card-overlay-banner .banner-main {
  align-items: end;
}

.pwc-card-overlay-banner .banner-right {
  align-items: end;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 450px) {
  .pwc-card-overlay-banner .banner-main {
    gap: 6px;
    grid-template-columns: 0.5fr 0.5fr;
  }

  .pwc-card-overlay-banner .banner-right img {
    max-height: 160px;
  }

  .pwc-card-overlay-banner .banner-main .pwc-btn.pwc-btn--light {
    font-size: 16px;
    height: auto;
    padding: 2px 8px;
  }

  .pwc-card-overlay-banner h3 {
    font-size: 18px;
  }

  .pwc-card-overlay-banner p {
    font-size: 14px;
  }

  .pwc-card-overlay.pwc-card-overlay-banner {
    padding: 12px;
    justify-content: center;
  }

  .pwc-card-overlay-banner .banner-main {
    align-items: center;
  }

  .pwc-card-overlay-banner .banner-right {
    align-items: center;
  }

  .pwc-banner {
    min-height: 190px;
  }
}


h1 {
  text-align: center;
  margin: 24px 12px;
  font-size: 24px;
}


/* ===========================
  Home buttons (keep variants, base is in main.css)
   =========================== */
.pwc-btn--light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--pwc-text);
  border-color: transparent;
}

.pwc-btn--light:hover {
  background: rgba(255, 255, 255, 0.96);
}

/* MAIN NAV - Border NONE */
.pwc-hnav {
  border-bottom: none;
}

.pwc-btn--cart {
  width: 100%;
  border-color: var(--pwc-accent);
  color: var(--pwc-black);
  background: var(--pwc-accent);
  font-weight: 500;
  margin-top: 12px;
  ;
}

.pwc-btn--cart:hover {
  background: var(--pwc-accent-hover);
}

.pwc-btn--cart:active {
  background: var(--pwc-accent-active);
}

.pwc-banners {
  padding: 10px 0 18px;
}

.pwc-grid-2 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .pwc-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===========================
   Advantages
   =========================== */
.pwc-advantages {
  padding: 6px 0 22px;
}

.pwc-advantages-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .pwc-advantages-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .pwc-advantages-row {
    grid-template-columns: repeat(4, 1fr);
  }
}


.pwc-adv {
  border: 1px solid var(--pwc-border);
  border-radius: var(--pwc-r-md);
  padding: 14px;
  background: var(--pwc-surface);
  display: flex;
  gap: 12px;
  align-items: center;
}

.pwc-adv-ic {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--pwc-r-sm);
  background: var(--pwc-soft);
  font-size: 22px;
}

.pwc-adv-txt strong {
  display: block;
  font-size: 16px;
}

.pwc-adv-txt span {
  display: block;
  font-size: 14px;
  opacity: .7;
  margin-top: 2px;
}

/* ===========================
   Sections
   =========================== */
.pwc-section {
  padding: 24px 0 24px;
}

@media (min-width: 900px) {
  .pwc-section {
    padding: 48px 0 48px;
  }
}



.pwc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 12px;
}

.pwc-section-head h2 {
  margin-bottom: 24px;
  margin-top: 0px;
}

.pwc-link {
  text-decoration: none;
  font-weight: 700;
}

.pwc-link:hover {
  text-decoration: underline;
}

/* ===========================
  Product Card
   =========================== */
.swiper-slide {
  height: auto;
}

.pwc-pcard {
  /*border: 1px solid var(--pwc-border);*/
  background: var(--pwc-surface);
  border-radius: var(--pwc-r-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pwc-pcard-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
}

.pwc-pimg {
  width: 100%;
}

.pwc-pimg img {
  object-fit: contain;
  display: block;
  border-radius: var(--pwc-r-sm);
}

.pwc-pbody {
  padding: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.pwc-ptitle {
  text-align: center;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  min-height: 36px;
  padding-bottom: 10px;

}

.pwc-ptitle:hover {
  text-decoration: underline;
}

.pwc-price {
  text-align: center;
  font-weight: 700;
}

/* -- stock pill design
.pwc-stock span{
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.pwc-stock--instock{
  background: #e8f5e9;
  color: #2e7d32;
}

.pwc-stock--backorder{
  background: #fff3e0;
  color: #ed6c02;
}

.pwc-stock--outofstock{
  background: #fdecea;
  color: #c62828;
}*/

.pwc-stock {
  font-size: 13px;
  font-weight: 600;
  margin-top: 0;
  text-align: center;
}

.pwc-stock--instock {
  color: var(--pwc-success);
}

.pwc-stock--backorder {
  color: var(--pwc-warning);
}

.pwc-stock--outofstock {
  color: var(--pwc-error);
}

/* ===========================
   Categories Swiper
   =========================== */

.pwc-section-head--center {
  justify-content: center;
  text-align: center;
}

.pwc-section-head--right {
  justify-content: right;
  text-align: right;
}

.pwc-section-head--center .pwc-link {
  display: none;
}


.pwc-cat-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.pwc-cat-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  /* podobný poměr jako na obrázku */
  border-radius: 26px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--pwc-soft);
}

/* subtle vignette like screenshot */
.pwc-cat-media__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 420px at 50% 110%, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 55%),
    linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .15));
}

.pwc-cat-media__title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

.pwc-cat-btn {
  font-size: 16px;
  width: min(260px, 92%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: var(--pwc-r-pill);
  border: 1px solid var(--pwc-accent);
  color: var(--pwc-text);
  background: transparent;
  font-weight: 700;
}

.pwc-cat-btn__ic {
  display: grid;
  place-items: center;
}

.pwc-cat-card:hover .pwc-cat-btn {
  background: rgba(255, 107, 0, 0.08);
  /* jemný hover v barvě accentu */
}

/* ===========================
   Ingredients comparison section
   =========================== */

.pwc-underline {
  position: relative;
  display: inline-block;
}

.pwc-underline:after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 3px;
  height: 10px;
  background: rgba(150, 255, 120, .55);
  z-index: -1;
  border-radius: 8px;
}

.pwc-ingredients-grid {
  display: grid;
  grid-template-columns: 1;
  gap: 18px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}



.pwc-ingredients-col {
  text-align: center;
}

.pwc-jar {
  display: grid;
  place-items: center;
}

.pwc-jar img {
  max-width: 260px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--pwc-r-sm);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .12));
}


.pwc-brand {
  font-weight: 900;
  letter-spacing: -.02em;
}

.pwc-ingredients-mid {
  display: flex;
  height: 100%;
  min-height: 100px;
  align-items: center;
  justify-content: center;
}

.pwc-ingredients-arrow {
  color: rgba(0, 0, 0, .22);
  transform: rotate(90deg);
}

@media (min-width: 600px) {
  .pwc-ingredients-grid {
    grid-template-columns: 1fr 120px 1fr;
    gap: 22px;
    align-items: start;
  }

  .pwc-ingredients-arrow {
    transform: none;

  }
}

/* boxes */
.pwc-ingredients-box {
  border: 1px solid var(--pwc-border);
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  text-align: left;
}

.pwc-ingredients-box__top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.pwc-ingredients-count {
  font-size: 14px;
  font-weight: 700;
}

.pwc-ingredients-count--bad {
  color: #d93a2f;
}

.pwc-ingredients-count--good {
  color: #1a8f4b;
}

.pwc-ingredients-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pwc-ingredients-list li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(0, 0, 0, .06);
  align-items: start;
}

.pwc-ingredients-list li:first-child {
  border-top: 0;
  padding-top: 6px;
}

.pwc-dot {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  line-height: normal;
}

.pwc-dot--bad {
  background: #e24a3b;
}

.pwc-dot--warn {
  background: #ffb020;
  color: #1b1b1b;
}

.pwc-dot--good {
  background: #1aa055;
}

.pwc-ing-name {
  font-weight: 600;
  line-height: 1.25;
}

.pwc-ing-name small {
  display: block;
  font-weight: 700;
  opacity: .65;
  margin-top: 2px;
}

.pwc-ing-pct {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: rgba(0, 0, 0, .72);
  padding-top: 2px;
}

.pwc-ingredients-box--bad .pwc-ing-pct {
  color: #e24a3b;
}

.pwc-ingredients-box--good .pwc-ing-pct {
  color: rgba(0, 0, 0, .70);
}

.pwc-ingredients-foot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, .06);
  text-align: center;
}

.pwc-less {
  font-weight: 900;
  color: #1aa055;
  font-size: 14px;
}

.pwc-ingredients-more {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(360px, 100%);
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .04);
  text-decoration: none;
  color: var(--pwc-text);
  font-weight: 800;
}

.pwc-ingredients-more:hover {
  background: rgba(0, 0, 0, .06);
}

/* ===========================
   Philosophy cards
   =========================== */


.pwc-ph-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 700px) {
  .pwc-ph-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pwc-ph-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pwc-ph-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--pwc-white);
  border: 1px solid var(--pwc-border);
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 520px;
}

@media (max-width: 420px) {
  .pwc-ph-card {
    grid-template-rows: 180px 1fr;
    min-height: 0;
  }
}

.pwc-ph-top {
  background: var(--pwc-accent);
  display: grid;
  place-items: center;
  padding: 26px;
}

.pwc-ph-topimg {
  width: min(320px, 78%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .10));
}

/* bottom beige block */
.pwc-ph-body {
  background: var(--pwc-bg-soft);
  /* beige like screenshot */
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pwc-ph-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pwc-ph-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.pwc-ph-badge {
  width: 90px;
  height: auto;
  display: block;
  opacity: .95;
}

/* button like screenshot (pill, outline accent) */
.pwc-ph-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: min(360px, 100%);
  align-self: center;

  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--pwc-accent);
  color: var(--pwc-accent);
  background: transparent;
  text-decoration: none;
  font-weight: 700;
}

.pwc-ph-btn:hover {
  background: rgba(255, 107, 0, 0.08);
}

/* typography tweaks on smaller screens */
@media (max-width: 520px) {
  .pwc-ingredients-head h2 {
    font-size: 28px;
  }

  /* pokud používáš i ingredience sekci */
  .pwc-ph-title {
    font-size: 20px;
  }

  .pwc-ph-text {
    font-size: 15px;
  }

  .pwc-ph-badge {
    width: 96px;
  }
}

/* ===========================
   About section
   =========================== */
.pwc-about {
  display: grid;
  grid-template-columns: 1;
  align-items: start;
  margin: 0 auto;
}

.pwc-about-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .pwc-about-top {
    grid-template-columns: 0.95fr 1.05fr;
    /* text větší než ilustrace */
    gap: 40px;
    align-items: start;
  }
}

.paragraph-bold {
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .pwc-about-top {
    text-align: center;
  }
}

.pwc-about-illu {
  display: grid;
  place-items: center;
}

.pwc-about-illu img {
  border-radius: var(--pwc-r-sm);
}

/* icons row */
.pwc-about-icons {
  margin-top: 64px;
  display: grid;
  gap: 26px 18px;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

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

@media (min-width: 1100px) {
  .pwc-about-icons {
    grid-template-columns: repeat(6, 1fr);
  }
}

.pwc-about-ic {
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.pwc-about-ic img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  opacity: .92;
}

.pwc-about-ic p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  max-width: 24ch;
}

/* mobile tweaks */
@media (max-width: 520px) {
  .pwc-about-ic p {
    font-size: 13px;
  }
}

/* ===========================
   Swiper arrows
   =========================== */

.pwc-home .swiper-button-next,
.pwc-home .swiper-button-prev {
  width: 42px;
  height: 42px;
  border-radius: var(--pwc-r-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/*
.pwc-home .swiper-button-next:after,
.pwc-home .swiper-button-prev:after{
  font-size: 14px;
  font-weight: 900;
  color: var(--pwc-text);
}*/

.pwc-home .swiper-button-next svg.swiper-navigation-icon path,
.pwc-home .swiper-button-prev svg.swiper-navigation-icon path {
  fill: var(--pwc-text);
}

.pwc-home .swiper-button-next svg.swiper-navigation-icon,
.pwc-home .swiper-button-prev svg.swiper-navigation-icon {
  height: 50%;
  fill: var(--pwc-text);
}

/*
.pwc-home .swiper-pagination-bullet{ opacity: .35; }
.pwc-home .swiper-pagination-bullet-active{ opacity: 1; }
*/


/* ===========================
   HOME: Categories GRID (same as shop tiles)
   =========================== */



/* Na HP chceme trochu „roomy“ grid jako screenshot */
.pwc-tiles--home .pwc-tiles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 1100px) {
  .pwc-tiles--home .pwc-tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .pwc-tiles--home .pwc-tiles-grid {
    grid-template-columns: 1fr;
  }
}

.pwc-tiles--home {
  margin: 0 !important;
}

.pwc-cats {
  padding-bottom: 0;
}

/* Jemné doladění tile na HP (ať sedí spacing) */
.pwc-tile--hp.pwc-tile--row {
  padding: 8px 8px;
  /* stejné jako tvůj finální shop */
}

/* Ikony stejné jako v shop verzi */
.pwc-tile--hp .pwc-tile-ic img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 999px;
}