/* 4tropical: unified Pobo product descriptions */
.ft-product-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.p-detail-tabs-wrapper .description-inner {
  display: block !important;
}

.p-detail-tabs-wrapper .basic-description,
.p-detail-tabs-wrapper .extended-description {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
}

.ft-inline-parameters {
  display: block;
  width: 100%;
  margin: 14px 0 22px;
  border: 1px solid #e1e8dc;
  border-radius: 10px;
  background: #f7f9f5;
  overflow: hidden;
}

.ft-inline-parameters > summary {
  padding: 10px 14px;
  color: #587717;
  font-weight: 700;
  cursor: pointer;
  list-style-position: inside;
}

.ft-inline-parameters .detail-parameters {
  width: 100%;
  margin: 0;
  background: #fff;
}

.ft-inline-parameters .detail-parameters th,
.ft-inline-parameters .detail-parameters td {
  padding: 8px 14px;
  font-size: 14px;
}

#pobo-inner-content {
  max-width: 1120px;
  margin: 0 auto;
  color: #273025;
}

#pobo-standard-widget {
  font-size: 17px;
  line-height: 1.7;
}

#pobo-standard-widget h2 {
  margin: 42px 0 16px;
  color: #20251f;
  font-size: 30px;
  line-height: 1.2;
}

#pobo-standard-widget h3 {
  margin: 20px 0 14px;
  color: #587717;
  font-size: 22px;
  line-height: 1.3;
}

#pobo-standard-widget p {
  max-width: 820px;
  margin: 0 0 18px;
}

#pobo-standard-widget > img {
  display: block !important;
  width: auto !important;
  max-width: min(100%, 680px) !important;
  max-height: 560px !important;
  height: auto !important;
  object-fit: contain;
  margin: 28px auto !important;
  border-radius: 16px;
}

#pobo-share-widget {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  align-items: start;
  margin: 54px 0 24px;
  padding: 30px;
  background: #f5f7f2;
  border: 1px solid #e1e8dc;
  border-radius: 20px;
}

#pobo-share-widget img {
  display: block;
  width: 68px !important;
  height: 68px !important;
  object-fit: contain;
  margin: 16px auto 0 !important;
}

#pobo-share-widget > :first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 6;
}

#pobo-share-widget > :first-child img {
  grid-column: 1 / 3;
  grid-row: 1 / 6;
  width: 100% !important;
  max-width: 390px !important;
  max-height: 430px !important;
  height: auto !important;
  object-fit: contain;
  justify-self: center;
  border-radius: 18px;
}

#pobo-share-widget > :nth-child(2),
#pobo-share-widget > :nth-child(3),
#pobo-share-widget > :nth-child(4),
#pobo-share-widget > :nth-child(5) {
  grid-column: 3 / 5;
}

#pobo-share-widget > h2:first-of-type {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.15;
}

#pobo-share-widget > p:first-of-type {
  font-size: 17px;
  line-height: 1.65;
}

#pobo-share-widget > ul {
  margin: 0;
  padding-left: 22px;
  line-height: 1.6;
}

#pobo-share-widget > h2:nth-of-type(n+2) {
  margin: 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.25;
}

#pobo-share-widget > img:nth-of-type(2) { grid-column: 1; grid-row: 6; }
#pobo-share-widget > h2:nth-of-type(2) { grid-column: 1; grid-row: 7; }
#pobo-share-widget > img:nth-of-type(3) { grid-column: 2; grid-row: 6; }
#pobo-share-widget > h2:nth-of-type(3) { grid-column: 2; grid-row: 7; }
#pobo-share-widget > img:nth-of-type(4) { grid-column: 3; grid-row: 6; }
#pobo-share-widget > h2:nth-of-type(4) { grid-column: 3; grid-row: 7; }
#pobo-share-widget > img:nth-of-type(5) { grid-column: 4; grid-row: 6; }
#pobo-share-widget > h2:nth-of-type(5) { grid-column: 4; grid-row: 7; }

@media (max-width: 767px) {
  #pobo-inner-content { padding: 0 4px; }
  #pobo-standard-widget { font-size: 16px; }
  #pobo-standard-widget h2 { font-size: 25px; }
  #pobo-share-widget {
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  #pobo-share-widget > :first-child img {
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  #pobo-share-widget img {
    width: 56px !important;
    height: 56px !important;
    margin: 18px auto 0 !important;
  }
  #pobo-share-widget > h2:nth-of-type(n+2) { width: 100%; }
}

/* Zmena nazvu posledni vyhody bez zasahu do produktovych dat */
.ft-product-content > section:last-child > div:nth-child(4) > strong {
  font-size: 0 !important;
}

.ft-product-content > section:last-child > div:nth-child(4) > strong::after {
  content: "Bezpečné doručení";
  font-size: 17px;
}

/* Oblibene kategorie na titulni strane */
.ft-popcats {
  margin: clamp(34px, 5vw, 72px) 0 clamp(48px, 7vw, 92px);
}

.ft-popcats__title {
  margin: 0 0 clamp(24px, 3vw, 38px);
  color: #20251f;
  font-size: clamp(32px, 3.1vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

.ft-popcats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 24px);
}

.ft-popcats__card {
  position: relative;
  display: block;
  min-height: clamp(210px, 23vw, 330px);
  overflow: hidden;
  border: 1px solid #e2e8de;
  border-radius: 18px;
  background: #edf2e9;
  box-shadow: 0 10px 28px rgba(35, 48, 31, .08);
  color: #fff !important;
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease;
}

.ft-popcats__card:hover,
.ft-popcats__card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(35, 48, 31, .16);
}

.ft-popcats__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ft-popcats__card:hover .ft-popcats__image {
  transform: scale(1.045);
}

.ft-popcats__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 24, 12, .03) 32%, rgba(12, 24, 12, .86) 100%);
}

.ft-popcats__name {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: clamp(18px, 1.45vw, 23px);
  font-weight: 700;
  line-height: 1.18;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .32);
}

.ft-popcats__name::after {
  content: "→";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #789d22;
  font-size: 21px;
  line-height: 32px;
  text-align: center;
  text-shadow: none;
}

@media (max-width: 991px) {
  .ft-popcats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-popcats__card { min-height: 270px; }
  .ft-popcats__card:last-child { grid-column: 1 / -1; min-height: 220px; }
}

@media (max-width: 520px) {
  .ft-popcats__grid { gap: 12px; }
  .ft-popcats__card { min-height: 205px; border-radius: 14px; }
  .ft-popcats__card:last-child { min-height: 205px; }
  .ft-popcats__name { right: 14px; bottom: 14px; left: 14px; font-size: 17px; }
  .ft-popcats__name::after { width: 30px; height: 30px; line-height: 28px; }
}

/* 4tropical: jednotne ikonky konkurencnich vyhod */
.ft-product-content > section:last-child > div > span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: 0 0 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f2f7ea 0%, #e4eed8 100%);
  box-shadow: inset 0 0 0 1px rgba(120,157,34,.16), 0 8px 20px rgba(67,83,45,.08);
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.ft-product-content > section:last-child > div > span::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-color: #6f9820;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* stit s fajfkou */
.ft-product-content > section:last-child > div:nth-child(1) > span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4.5 5v5.3c0 5.05 3.18 9.73 7.5 11.2 4.32-1.47 7.5-6.15 7.5-11.2V5L12 2Zm-1.12 13.7-3.2-3.2 1.42-1.42 1.78 1.78 4.04-4.04 1.42 1.42-5.46 5.46Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4.5 5v5.3c0 5.05 3.18 9.73 7.5 11.2 4.32-1.47 7.5-6.15 7.5-11.2V5L12 2Zm-1.12 13.7-3.2-3.2 1.42-1.42 1.78 1.78 4.04-4.04 1.42 1.42-5.46 5.46Z'/%3E%3C/svg%3E");
}

/* overena medaile */
.ft-product-content > section:last-child > div:nth-child(2) > span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 2 2.05 2.85-.4.5 2.83 2.55 1.34-1.27 2.59L20 13l-2.55 1.34-.5 2.83-2.85-.4L12 18.82l-2.1-2.05-2.85.4-.5-2.83L4 13l1.37-2.59L4.1 7.82l2.55-1.34.5-2.83 2.85.4L12 2Zm-1.12 12.55 5.3-5.3-1.42-1.42-3.88 3.88-1.64-1.64-1.42 1.42 3.06 3.06ZM8.5 18.1l3.5 3.4 3.5-3.4-.8 3.9-2.7-1.35L9.3 22l-.8-3.9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 2 2.05 2.85-.4.5 2.83 2.55 1.34-1.27 2.59L20 13l-2.55 1.34-.5 2.83-2.85-.4L12 18.82l-2.1-2.05-2.85.4-.5-2.83L4 13l1.37-2.59L4.1 7.82l2.55-1.34.5-2.83 2.85.4L12 2Zm-1.12 12.55 5.3-5.3-1.42-1.42-3.88 3.88-1.64-1.64-1.42 1.42 3.06 3.06ZM8.5 18.1l3.5 3.4 3.5-3.4-.8 3.9-2.7-1.35L9.3 22l-.8-3.9Z'/%3E%3C/svg%3E");
}

/* poradenska bublina */
.ft-product-content > section:last-child > div:nth-child(3) > span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a9 9 0 0 0-9 9c0 1.7.47 3.3 1.28 4.66L3 22l6.34-1.28A9 9 0 1 0 12 2Zm0 15.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Zm1.43-5.07c-.55.37-.68.58-.68 1.32h-1.9c0-1.57.45-2.18 1.5-2.88.7-.47 1.15-.84 1.15-1.52 0-.79-.62-1.32-1.55-1.32-.96 0-1.62.58-1.75 1.58L8.25 9.1c.24-1.93 1.67-3.15 3.78-3.15 2.03 0 3.52 1.2 3.52 3.05 0 1.5-.87 2.32-2.12 3.18Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a9 9 0 0 0-9 9c0 1.7.47 3.3 1.28 4.66L3 22l6.34-1.28A9 9 0 1 0 12 2Zm0 15.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Zm1.43-5.07c-.55.37-.68.58-.68 1.32h-1.9c0-1.57.45-2.18 1.5-2.88.7-.47 1.15-.84 1.15-1.52 0-.79-.62-1.32-1.55-1.32-.96 0-1.62.58-1.75 1.58L8.25 9.1c.24-1.93 1.67-3.15 3.78-3.15 2.03 0 3.52 1.2 3.52 3.05 0 1.5-.87 2.32-2.12 3.18Z'/%3E%3C/svg%3E");
}

/* rychle doruceni */
.ft-product-content > section:last-child > div:nth-child(4) > span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h11v10H3V5Zm12 3h3.4L22 11.6V15h-2.05a3 3 0 0 0-5.9 0H15V8Zm-9 8.5A2.5 2.5 0 1 1 6 21a2.5 2.5 0 0 1 0-5Zm11 0a2.5 2.5 0 1 1 0 4.5 2.5 2.5 0 0 1 0-4.5ZM1 7h1v2H1V7Zm-1 3h2v2H0v-2Zm1 3h1v2H1v-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h11v10H3V5Zm12 3h3.4L22 11.6V15h-2.05a3 3 0 0 0-5.9 0H15V8Zm-9 8.5A2.5 2.5 0 1 1 6 21a2.5 2.5 0 0 1 0-5Zm11 0a2.5 2.5 0 1 1 0 4.5 2.5 2.5 0 0 1 0-4.5ZM1 7h1v2H1V7Zm-1 3h2v2H0v-2Zm1 3h1v2H1v-2Z'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
  .ft-product-content > section:last-child > div > span {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    margin-bottom: 10px;
  }
  .ft-product-content > section:last-child > div > span::before {
    width: 28px;
    height: 28px;
  }
}
