/* CakeStar – zaoblení rohů produktových fotek */
.products .p a.image,
.products .p a.image img,
.products .p a.image .swap-image {
  border-radius: 20px;
}

/* === CakeStar – návody: grid videí */
.cakestar-navody-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

/* responzivní iframe wrapper */
.cakestar-navody-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.cakestar-navody-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cakestar-navody-video-single {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.cakestar-navody-video-single iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* mobil */
@media (max-width: 768px) {
  .cakestar-navody-videos {
    grid-template-columns: 1fr;
  }
}

/* === CakeStar – CTA tlačítko */

.cakestar-cta-btn {
  display: block;
  width: fit-content;
  margin: 20px auto; 
  background-color: #8fcc6e;
  color: #ffffff;
  padding: 14px 34px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cakestar-cta-btn:hover {
  background-color: #7dbf5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.cakestar-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

  /* CakeStar – tabulka dopravy a plateb */

  .cakestar-tabulka {
    width: 100%;
    max-width: 900px;
    border-collapse: separate;   /* nutné pro zaoblené rohy */
    border-spacing: 0;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
  }

  .cakestar-tabulka-bunka {
    padding: 14px 18px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    line-height: 1.35;
  }

  /* poslední sloupec bez pravého okraje */
  .cakestar-tabulka tr td:last-child {
    border-right: 0;
    white-space: nowrap;
  }

  /* poslední řádek bez spodního okraje */
  .cakestar-tabulka tbody tr:last-child td {
    border-bottom: 0;
  }

  /* střídání barev řádků */
  .cakestar-tabulka tbody tr:nth-child(odd) td {
    background-color: #fafafa;
  }

  .cakestar-tabulka tbody tr:nth-child(even) td {
    background-color: #ffffff;
  }

  /* dopravce – sloučená buňka */
  .cakestar-dopravce {
    font-weight: 700;
  }

  /* menší obrazovky */
  @media (max-width: 480px) {
    .cakestar-tabulka-bunka {
      padding: 12px 10px;
      font-size: 14px;
    }
  }
  
/* Benefit boxy */
.benefitBanner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* místo marginů mezi kartami */
}

.benefitBanner__item,
.benefitBanner__item:last-child {
  background-color: #fff;
  border-radius: 8px;
  padding: 24px 16px;
  min-height: auto;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  align-self: stretch;
  box-sizing: border-box;
  margin: 0 !important;
  display: flex;
  align-items: flex-start;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;  
}

.benefitBanner__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

/* Rozložení: mobil 1/1, od 480px 1/2, od 992px 1/4 */
.benefitBanner__item {
  flex: 1 1 100%;
}

@media (min-width: 480px) {
  .benefitBanner__item {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
  }
}

@media (min-width: 992px) {
  .benefitBanner__item,
  .multiple-columns-body .benefitBanner__item {
    flex: 1 1 23% !important;
  }
}

/* Ikona + text vedle sebe */
.benefitBanner__picture {
  flex: 0 0 auto;
  margin-right: 12px;
}

.benefitBanner__img {
  width: 44px;
  height: auto;
}

.benefitBanner__title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefitBanner__data {
  line-height: 1.4;
  color: #666;
}

.benefitBanner.position--benefitHomepage {
  margin-bottom: 60px;
}

.benefitBanner__title {
  font-size: 15px;
  line-height: 1.25;
}

/* TOP KATEGORIE – GRID SEKCE */
/* Wrapper */
.cakestar-top-kategorie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

/* Tablet */
@media (min-width: 768px) {
  .cakestar-top-kategorie {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop – 4 položky v řádku */
@media (min-width: 1200px) {
  .cakestar-top-kategorie {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* JEDNA DLAŽDICE */

.cakestar-top-kategorie__item {
  display: flex;
  align-items: center;
  gap: 12px;

  background-color: #ffffff;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

/* Hover efekt – border */
.cakestar-top-kategorie__item:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
  border-color: #cd9f51;
  color: inherit;
}

/* Hover efekt – barva textu */
.cakestar-top-kategorie__item:hover .cakestar-top-kategorie__text {
  color: #cd9f51;
}

/* IKONA */
.cakestar-top-kategorie__icon {
  width: 32px;
  height: auto;
  flex-shrink: 0;
}

/* TEXT */
.cakestar-top-kategorie__text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.2;
  color: #222;
}

/* TOP KATEGORIE – MOBIL */
@media (max-width: 479px) {
  .cakestar-top-kategorie__item {
    padding: 14px 14px;
    gap: 8px;
    min-height: 82px;
  }
  .cakestar-top-kategorie__icon {
    width: 26px;
  }

  .cakestar-top-kategorie__text {
    font-size: 12px;
    line-height: 1.15;
    letter-spacing: 0.2px;
  }
}

.custom-footer__newsletter.footer-item-newsletter {
  background-color: #96938e !important;
}  

/* Jemný CTA boxík – Šarlota- */
.sarlota-box{
  margin: 28px 0;
}

.sarlota-box__inner{
  position: relative;
  padding: 18px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  overflow: hidden;
}

.sarlota-box__inner::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 120px at 15% 0%, rgba(205,159,81,.18), transparent 55%);
  pointer-events:none;
}

.sarlota-box__eyebrow{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
  margin-bottom: 6px;
}

.sarlota-box__title{
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: rgba(0,0,0,.88);
  margin-bottom: 8px;
}

.sarlota-box__text{
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0,0,0,.72);
}

.sarlota-box__link{
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  color: rgba(0,0,0,.88);
  border-bottom: 1px solid rgba(205,159,81,.65);
  padding-bottom: 1px;
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}

.sarlota-box__link:hover{
  transform: translateY(-1px);
  border-color: rgba(205,159,81,1);
  color: rgba(0,0,0,.95);
}

@media (min-width: 768px){
  .sarlota-box__inner{
    padding: 22px 24px;
  }
  .sarlota-box__title{
    font-size: 20px;
  }
  .sarlota-box__text{
    font-size: 15px;
  }
}

.cakestar-yt {
  max-width: 1200px;
  margin: 0 auto;
}

.cakestar-yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.cakestar-yt-item {
  text-decoration: none;
  color: inherit;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.cakestar-yt-thumb {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.cakestar-yt-title {
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.4;
}

.cakestar-yt-date {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}

.cakestar-yt-placeholder{
  display:block;
  padding:12px;
  border:1px solid #ddd;
  border-radius:10px;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.cakestar-yt { max-width: 1200px; margin: 0 auto; }

.cakestar-yt-player { margin-bottom: 18px; }
.cakestar-yt-player-wrap { position: relative; width: 100%; padding-top: 56.25%; }
.cakestar-yt-player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }

.cakestar-yt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.cakestar-yt-item { text-decoration: none; color: inherit; font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; cursor: pointer; }
.cakestar-yt-thumb { width: 100%; display: block; border-radius: 12px; }
.cakestar-yt-title { font-size: 15px; font-weight: 600; margin-top: 10px; line-height: 1.4; }
.cakestar-yt-date { font-size: 12px; opacity: .7; margin-top: 4px; }

.cakestar-yt-actions { margin-top: 18px; text-align: center; }
.cakestar-yt-more { padding: 10px 16px; border-radius: 10px; border: 1px solid #ddd; background: #fff; cursor: pointer; font-weight: 600; }
.cakestar-yt-more[disabled] { opacity: .6; cursor: not-allowed; }

.cakestar-yt-placeholder{
  display:block; padding:12px; border:1px solid #ddd; border-radius:10px;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.cakestar-yt-more {
  padding: 14px 24px;
  margin-bottom: 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px; /* pilulkovitý tvar */
  border: none;
  background-color: #8fcc6e;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.cakestar-yt-more:hover:not([disabled]) {
  background-color: #cd9f51;
  transform: translateY(-1px);
}

.cakestar-yt-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.obrazek-v-obsahu-img{
  float: right;
  max-width: 40%;
  height: auto;
  margin: 0 0 16px 24px;
  border-radius: 15px;
}

/* Mobil: */
@media (max-width: 640px){
  .obrazek-v-obsahu-img{
    float: none;
    display: block;
    max-width: 100%;
    margin: 12px auto 16px auto;
  }
}
