/* === lovesilk-benefit-links-v1.css === */
/* Celá benefitní karta je odkazem, při zachování současného vzhledu. */
.lovesilk-silk-education__points li.lovesilk-silk-education__point-item--link {
  padding: 0 !important;
}

.lovesilk-silk-education__point-link {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 100%;
  padding: 20px 16px;
  color: inherit !important;
  line-height: inherit;
  text-align: inherit;
  text-decoration: none !important;
}

.lovesilk-silk-education__point-link:hover {
  background: #fafafa;
}

.lovesilk-silk-education__point-link:focus-visible {
  outline: 3px solid #5f6668;
  outline-offset: -3px;
}

@media (min-width: 900px) {
  .lovesilk-silk-education__point-link {
    justify-content: flex-start;
    min-height: 58px;
    padding: 17px 20px;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .lovesilk-silk-education__point-link {
    min-height: 66px;
    padding: 14px 12px;
  }
}

/* === lovesilk-footer-headings-v1.css === */
/* Sjednocení tří nadpisů ve spodním zápatí. */
#footer h4 {
  margin: 0 0 33px !important;
  color: #606970 !important;
  font-family: "Palatino Linotype" !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 24.1875px !important;
  letter-spacing: 1px !important;
}

/* === lovesilk-newsletter-offer-v1.css === */
/* Výraz nabídky v newsletteru – čitelný na desktopu, tabletu i mobilu. */
.custom-footer__newsletter .newsletter-header .lovesilk-newsletter-offer {
  display: inline-block;
  margin: 0 0.14em;
  padding: 3px 8px;
  background: #a5e0cf;
  color: #06161f;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

@media (max-width: 374px) {
  .custom-footer__newsletter .newsletter-header .lovesilk-newsletter-offer {
    white-space: normal;
  }
}

/* === lovesilk-category-benefits-v1.css === */
/* Kategorie: stejný kompaktní benefitní blok jako na titulní straně
   a na detailu produktu. Úprava je pouze pro mobilní šířky. */
@media (max-width: 767px) {
  body.type-category .benefitBanner.position--benefitCategory {
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    padding: 20px 8px 24px !important;
    background: #f7f7f6;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  body.type-category .benefitBanner.position--benefitCategory .benefitBanner__item {
    box-sizing: border-box;
    min-height: 132px !important;
    padding: 16px 10px !important;
    background: #fff;
    justify-content: flex-start !important;
  }

  body.type-category .benefitBanner.position--benefitCategory .benefitBanner__picture {
    display: flex;
    width: 100%;
    min-height: 48px;
    margin: 0 0 10px;
    justify-content: center;
    align-items: center;
  }

  body.type-category .benefitBanner.position--benefitCategory .benefitBanner__img {
    width: auto !important;
    max-width: 54px !important;
    height: 46px !important;
    object-fit: contain;
  }

  body.type-category .benefitBanner.position--benefitCategory .benefitBanner__content {
    width: 100%;
  }

  body.type-category .benefitBanner.position--benefitCategory .benefitBanner__title {
    display: block;
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  body.type-category .benefitBanner.position--benefitCategory .benefitBanner__data {
    display: none !important;
  }
}

/* === lovesilk-newsletter-float-v1.css === */
/* Nenápadná připomínka newsletteru při návratu návštěvníka nahoru. */
.lovesilk-newsletter-float {
  position: fixed;
  z-index: 85;
  left: 24px;
  bottom: 28px;
  max-width: calc(100vw - 48px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lovesilk-newsletter-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lovesilk-newsletter-float__action {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 2px;
  background: #a5e0cf;
  color: #24333b;
  box-shadow: 0 7px 20px rgba(34, 51, 59, 0.16);
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
}

.lovesilk-newsletter-float__action:hover,
.lovesilk-newsletter-float__action:focus-visible {
  background: #8fd3c0;
  color: #24333b;
}

.lovesilk-newsletter-float__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.lovesilk-newsletter-float__text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lovesilk-newsletter-float__close {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #d8dddd;
  border-radius: 50%;
  place-items: center;
  background: #fff;
  color: #5f6668;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}

.lovesilk-newsletter-float__close:hover,
.lovesilk-newsletter-float__close:focus-visible {
  background: #f5f4f2;
}

@media (max-width: 767px) {
  .lovesilk-newsletter-float {
    left: 16px;
    bottom: max(88px, calc(22px + env(safe-area-inset-bottom)));
    font-size: 14px;
  }

  .lovesilk-newsletter-float__action {
    gap: 8px;
    padding: 11px 13px;
  }

  .lovesilk-newsletter-float__icon {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lovesilk-newsletter-float {
    transition: none;
  }
}

/* === lovesilk-newsletter-float-v2.css === */
/* Mobilní varianta newsletterového štítku: malý a nenápadný prvek
   vpravo dole, mimo obsah produktových karet a nad lištou prohlížeče. */
@media (max-width: 767px) {
  .lovesilk-newsletter-float {
    right: 16px;
    left: auto;
    bottom: max(88px, calc(22px + env(safe-area-inset-bottom)));
    max-width: none;
  }

  .lovesilk-newsletter-float__action {
    position: relative;
    width: 60px;
    height: 60px;
    flex-direction: column;
    gap: 1px;
    justify-content: center;
    padding: 5px;
    border-radius: 2px;
  }

  .lovesilk-newsletter-float__icon {
    width: 24px;
    height: 24px;
  }

  .lovesilk-newsletter-float__text {
    font-size: 0;
    line-height: 1;
  }

  .lovesilk-newsletter-float__text::after {
    content: "10 %";
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }

  .lovesilk-newsletter-float__close {
    top: -7px;
    right: -7px;
    width: 20px;
    height: 20px;
    font-size: 16px;
  }
}
