:root{
  --ed-brand-primary:#006570;   /* zelená */
  --ed-brand-secondary:#f09102; /* oranžová */

  --ed-text:#2e383c;
  --ed-muted:#717579;

  --ed-card:#ffffff;
  --ed-border: rgba(46,56,60,.12);

  --ed-radius: 16px;
  --ed-shadow: 0 10px 25px rgba(46,56,60,.08);
  --ed-shadow-hover: 0 16px 40px rgba(46,56,60,.12);

  --ed-header-h: 76px;        /* výška headeru kvůli velkému logu */
  --ed-carousel-h: 460px;     /* stabilní výška carouselu */
  --ed-reco-thumb-h: 272px;
  --ed-reco-panel-h: 172px;

  --ed-card-panel-h: 150px;   /* fixní výška textového glass panelu (produkty) */   /* fixní výška textového glass panelu (produkty) */
}

/* =============== GLOBAL =============== */
body.eduardo{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ed-text);
  background: #fff;
}
body.eduardo a{ color: inherit; }

/* =============== HEADER =============== */
body.eduardo .ed-header{
  position: relative;
  z-index: 50;
  background: transparent;
  border-bottom: 0;
}
body.eduardo .ed-headerbar{
  height: var(--ed-header-h);
}

body.eduardo .ed-brand-logo{
  height: 48px;
  width: auto;
  display:block;
}

/* menu */
body.eduardo .ed-nav-list{ align-items: center; }
body.eduardo .ed-nav-list .nav-link{
  padding: 0;
  font-weight: 600;
  color: var(--ed-card);
  opacity: .88;
  font-size: 1.1rem;
}
body.eduardo .ed-nav-list .nav-link:hover{
  opacity: 1;
  text-decoration: none;
}
body.eduardo .ed-nav-login{
  font-weight: 900;
  text-decoration: none;
  color: var(--ed-card);
  opacity: .88;
}
body.eduardo .ed-nav-login:hover{
  opacity: 1;
  text-decoration: none;
}

/* search (kratší + desktop) */
body.eduardo .ed-search{
  position: relative;
  width: 260px;
  max-width: 26vw;
  min-width: 220px;
}
body.eduardo .ed-search-ico{
  position:absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ed-muted);
  font-size: 14px;
  pointer-events:none;
}
body.eduardo .ed-search-input{
  padding-left: 40px;
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  height: 40px;
  background: rgba(255,255,255,.90);
}
body.eduardo .ed-search-input:focus{
  border-color: rgba(0,101,112,.35);
  box-shadow: 0 0 0 .25rem rgba(0,101,112,.12);
}

/* buttons */
body.eduardo .btn.btn-ed-primary{
  --bs-btn-bg: var(--ed-brand-secondary);
  --bs-btn-border-color: var(--ed-brand-secondary);
  --bs-btn-hover-bg: #d97f00;
  --bs-btn-hover-border-color: #d97f00;
  --bs-btn-color: #fff;

  border-radius: 999px;
  padding-inline: 16px;
  font-weight: 800;
  height: 44px;
  display:inline-flex;
  align-items:center;
}
body.eduardo .btn.btn-ed-secondary{
  --bs-btn-bg: rgba(255,255,255,.90);
  --bs-btn-border-color: var(--ed-border);
  --bs-btn-hover-bg: rgba(255,255,255,.96);
  --bs-btn-hover-border-color: rgba(46,56,60,.18);
  --bs-btn-color: var(--ed-text);

  border-radius: 999px;
  padding-inline: 16px;
  font-weight: 800;
  height: 44px;
  display:inline-flex;
  align-items:center;
}
body.eduardo .btn.btn-ed-icon{
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  width: 44px;
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.90);
}

/* víc místa nad první řadou (ikonka je mimo kartu) */
body.eduardo .ed-cat-tiles .ed-cat-grid{
  margin-top: 86px; /* bylo 54px */
}
@media (max-width: 575.98px){
  body.eduardo .ed-cat-tiles .ed-cat-grid{ margin-top: 68px; } /* bylo 44px */
}

/* ===== HEADER přes hero (homepage + podstránky) ===== */
body.eduardo.eduardo-hero-underbar .ed-header,
body.eduardo.eduardo-sub-hero .ed-header{
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  background: transparent;
}

body.eduardo.eduardo-hero-underbar .ed-hero--underbar,
body.eduardo.eduardo-sub-hero .ed-subhero--underbar{
  padding-top: var(--ed-header-h);
}

/* =============== HERO =============== */
body.eduardo .ed-hero{
  background-image:
    linear-gradient(180deg,
      rgba(0,101,112,1) 0%,
      rgba(0,101,112,.58) 34%,
      rgba(0,101,112,.90) 100%
    ),
    url("https://kapybara-stage.cz/wp-content/uploads/2026/03/bg-3.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =============== SUBPAGES HERO (default) =============== */
body.eduardo .ed-subhero{
  background-image:
    linear-gradient(180deg,
      rgba(0,101,112,1) 0%,
      rgba(0,101,112,.58) 34%,
      rgba(0,101,112,.90) 100%
    ),
    url("https://kapybara-stage.cz/wp-content/uploads/2026/03/bg-3.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* výška sub-hero menší než homepage */
body.eduardo .ed-subhero--compact{
  min-height: 360px;
}

/* aby obsah (bílý) začínal až po hero */
body.eduardo .ed-subpage-content{
  background: #fff;
}

/* volitelný “pod obsah” */
body.eduardo .ed-subpage-underlay{
  position: relative;
  background: #fff;
}
body.eduardo .ed-subpage-underlay::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  background-image:
    radial-gradient(1200px 520px at 50% 0%,
      rgba(0,101,112,.10) 0%,
      rgba(0,101,112,0) 62%
    ),
    url("https://kapybara-stage.cz/wp-content/uploads/2026/03/bg-3.webp");
  background-size: cover;
  background-position: center top;
  opacity: .18;
  mix-blend-mode: normal;
}
body.eduardo .ed-subpage-underlay > *{
  position: relative;
  z-index: 1;
}

body.eduardo .ed-hero--full{ min-height: 100vh; }
body.eduardo .ed-hero-row{ min-height: calc(100vh - var(--ed-header-h)); }

body.eduardo .ed-eyebrow{
  color: rgba(255,255,255,.92);
  font-weight: 800;
  letter-spacing: .02em;
}
body.eduardo.eduardo-woo .ed-price-exvat-label--inline{
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,.72); /* světlejší v glassu */
  vertical-align: middle;
  text-shadow: 0 8px 18px rgba(0,0,0,.14);
}
/* TITLE v hero: zmenšit (byl moc velký) */
body.eduardo .ed-h1{
  color:#fff;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 26px rgba(0,0,0,.22);
}

body.eduardo .ed-h2{
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

body.eduardo .ed-lead{
  color: rgba(255,255,255,.90);
  font-size: 18px;
  text-shadow: 0 8px 20px rgba(0,0,0,.18);
}
body.eduardo .ed-muted{ color: var(--ed-muted); }

/* mini cards (glass) */
body.eduardo .ed-mini{
  display:flex;
  gap: 12px;
  padding: 16px 16px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: calc(var(--ed-radius) + 4px);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  align-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* ikonka */
body.eduardo .ed-mini i{
  color:#fff;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;

  background: var(--ed-brand-primary);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);

  font-size: 22px;
  flex: 0 0 auto;
}

body.eduardo .ed-mini .fw-semibold{
  color:#fff;
  font-weight: 900 !important;
  font-size: 15px;
  line-height: 1.1;
}
body.eduardo .ed-mini-muted{
  color: rgba(255,255,255,.88);
  font-size: 13px;
  margin-top: 2px;
}

/* trust bloky */
body.eduardo .ed-hero .row.g-3.mt-4 > [class*="col"]{ display:flex; }
body.eduardo .ed-mini{
  width: 100%;
  height: 100%;
  min-height: 88px;
  align-items: center;
}
body.eduardo .ed-mini > div{ min-width: 0; }
body.eduardo .ed-mini .fw-semibold{ line-height: 1.15; margin: 0; }
body.eduardo .ed-mini-muted{ line-height: 1.2; }

/* hero panel */
body.eduardo .ed-hero-panel{
  border-radius: calc(var(--ed-radius) + 10px);
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px;
}

body.eduardo .ed-panel-title{
  color:#fff;
  font-weight: 900;
  font-size: 18px;
}
body.eduardo .ed-panel-sub{
  color: rgba(255,255,255,.84);
  font-size: 13px;
}

body.eduardo .ed-link{
  color: var(--ed-text);
  text-decoration: none;
  font-weight: 900;
}
body.eduardo .ed-link:hover{ text-decoration: none; }
body.eduardo .ed-link--light{ color: rgba(255,255,255,.92); }
body.eduardo .ed-link--light:hover{ color:#fff; }

/* =============== CAROUSEL (Doporučujeme) =============== */
body.eduardo .ed-carousel{
  position: relative;
  border-radius: calc(var(--ed-radius) + 10px);
  overflow: hidden;
  height: var(--ed-carousel-h);
  min-height: var(--ed-carousel-h);
  transform: translateZ(0);
}
body.eduardo .ed-carousel .carousel-inner{
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: var(--ed-carousel-h);
}

/* FADE */
body.eduardo .ed-carousel.carousel-fade .carousel-item{
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block !important;

  opacity: 0;
  z-index: 1;
  pointer-events: none;

  transform: none !important;
  will-change: opacity;
  transition: opacity 0s linear !important;
}
body.eduardo .ed-carousel.carousel-fade .carousel-item.active{
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  transition: opacity .9s ease-in-out !important;
}
body.eduardo .ed-carousel.carousel-fade .carousel-item-next,
body.eduardo .ed-carousel.carousel-fade .carousel-item-prev,
body.eduardo .ed-carousel.carousel-fade .carousel-item-start,
body.eduardo .ed-carousel.carousel-fade .carousel-item-end{
  transform: none !important;
}

/* indikátory */
body.eduardo .ed-carousel .carousel-indicators{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;

  margin: 0;
  padding: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  z-index: 30;
  pointer-events: none;
}
body.eduardo .ed-carousel .carousel-indicators [data-bs-target]{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0 !important;
  background: #cfd5da !important;
  background-color: #cfd5da !important;
  background-image: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
  pointer-events: auto;
}

body.eduardo .ed-carousel .carousel-indicators button.active,
body.eduardo .ed-carousel .carousel-indicators [data-bs-target].active,
body.eduardo .ed-carousel .carousel-indicators .active{
  background: var(--ed-brand-secondary) !important;
  background-color: var(--ed-brand-secondary) !important;
  background-image: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* šipky */
body.eduardo .ed-carousel .carousel-control-prev,
body.eduardo .ed-carousel .carousel-control-next{
  display:none !important;
  z-index: 31;
  pointer-events: auto;

  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  opacity: 1;
  border-radius: 999px;
  background: rgba(240,145,2,.55);
  border: 1px solid rgba(255,255,255,.30);
}
body.eduardo .ed-carousel .carousel-control-prev{ left: 10px; }
body.eduardo .ed-carousel .carousel-control-next{ right: 10px; }
body.eduardo .ed-carousel .carousel-control-prev:hover,
body.eduardo .ed-carousel .carousel-control-next:hover{
  background: rgba(240,145,2,.70);
}
body.eduardo .ed-carousel .carousel-control-prev:focus,
body.eduardo .ed-carousel .carousel-control-next:focus{
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(240,145,2,.25);
}
body.eduardo .ed-carousel .carousel-control-prev-icon,
body.eduardo .ed-carousel .carousel-control-next-icon{
  width: 18px;
  height: 18px;
  background-size: 18px 18px;
}

/* slide card layout */
body.eduardo .ed-reco{
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(var(--ed-radius) + 6px);
  background: #eef1f3;
}

body.eduardo .ed-reco-thumb{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.18);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform .35s ease;
}

body.eduardo .ed-reco-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.16) 58%,
    rgba(0,0,0,.30) 100%
  );
}

body.eduardo .ed-reco-body{
  position: relative;
  z-index: 2;
  margin-top: auto;

  height: var(--ed-reco-panel-h);
  overflow: visible;

  padding: 14px 14px 16px;

  background: rgba(0 112 129 / 42%);
  border: 1px solid rgba(17,24,39,.10);
  border-top: 1px solid rgba(255,255,255,.18);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  display:flex;
  flex-direction: column;
  justify-content: flex-start;
}

body.eduardo .ed-reco-body--has-term{
  overflow: visible;
}

body.eduardo .ed-reco-badge{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;

  display:inline-flex;
  align-items:center;
  gap: 6px;

  padding: 8px 14px;
  border-radius: 999px;

  background: rgba(240,145,2,.95);
  border: 1px solid rgba(255,255,255,.26);

  color:#fff;
  font-weight: 900;
  font-size: 12px;

  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  white-space: nowrap;
}

body.eduardo .ed-reco-badge:before{
  content:"★";
  font-size: 12px;
  line-height: 1;
}

body.eduardo .ed-reco-term{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);

  display:inline-flex;
  align-items:center;
  gap: 8px;

  padding: 8px 14px;
  border-radius: 999px;

  background: rgba(0,101,112,.9);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color:#fff;
  font-weight: 900;
  font-size: 12px;

  box-shadow:
    0 12px 30px rgba(0,0,0,.22),
    0 1px 0 rgba(255,255,255,.16) inset;

  white-space: nowrap;
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;

  z-index: 10;
}

body.eduardo .ed-reco-term i{
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 575.98px){
  body.eduardo .ed-reco-badge,
  body.eduardo .ed-reco-term{
    padding: 7px 12px;
  }
}

body.eduardo .ed-reco-meta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

body.eduardo .ed-reco-type{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 700;
}

body.eduardo .ed-reco-title{
  margin-top: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.1;
  text-align: left;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

body.eduardo .ed-reco-excerpt{
  display: none !important;
}

body.eduardo .ed-reco-meta .price,
body.eduardo .ed-reco-price{
  font-weight: 700;
  color: var(--ed-brand-secondary);
}

body.eduardo .ed-reco-price ins{
  text-decoration: none;
}

body.eduardo .ed-reco-price del{
  opacity: .75;
}

body.eduardo .ed-reco-cta{
  display: none;
}

/* FIX: klikatelnost */
body.eduardo .ed-carousel .carousel-item.active{ pointer-events: auto !important; }
body.eduardo .ed-reco{
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
}
body.eduardo .ed-reco *{ pointer-events: auto; }
body.eduardo .ed-carousel .carousel-inner,
body.eduardo .ed-carousel .carousel-item{ z-index: 1; }

/* =============== PROČ EDUARDO (perks) =============== */
body.eduardo .ed-section--perks{
  padding: 64px 0;
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(0,101,112,.08), transparent 55%),
    radial-gradient(900px 420px at 92% 10%, rgba(240,145,2,.08), transparent 55%),
    #fff;
}
body.eduardo .ed-section--perks .ed-section-head{ margin-bottom: 18px; }
body.eduardo .ed-perk-cell{ display: flex; }
body.eduardo .ed-perk{
  position: relative;
  overflow: hidden;
  height: 100%;

  border-radius: 28px;
  border: 1px solid rgba(17,24,39,.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  box-shadow: 0 10px 30px rgba(17,24,39,.08);

  padding: 30px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
}
body.eduardo .ed-perk > *{ position: relative; z-index: 1; }
body.eduardo .ed-perk-text{ flex: 1 1 auto; min-width: 0; }
body.eduardo .ed-perk-title{
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
  line-height: 1.15;
}
body.eduardo .ed-perk-desc{
  margin: 0;
  color: #3f4b50;
  font-size: 16px;
  line-height: 1.65;
}
body.eduardo .ed-perk-media{
  width: 132px;
  height: 132px;
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 26px;
  border: 1px solid rgba(17,24,39,.06);
  background:
    radial-gradient(120px 120px at 30% 25%, rgba(0,101,112,.12), transparent 60%),
    radial-gradient(120px 120px at 70% 70%, rgba(240,145,2,.12), transparent 60%),
    #f6f7f8;

  box-shadow: 0 12px 26px rgba(17,24,39,.10);
}
body.eduardo .ed-perk-media img{
  width: 78px;
  height: 78px;
  display: block;
  opacity: .95;
  filter: drop-shadow(0 10px 16px rgba(17,24,39,.10));
}
body.eduardo .ed-perk--media-left .ed-perk-media{ order: -1; }
body.eduardo .ed-perk--media-right .ed-perk-media{ margin-left: auto; }
body.eduardo .ed-perk--stack{
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 190px;
}
body.eduardo .ed-perk--stack .ed-perk-media--big{
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 26px;
  width: auto;
  height: 140px;
  border-radius: 30px;
}
body.eduardo .ed-perk--stack .ed-perk-media--big img{
  width: 96px;
  height: 96px;
}
body.eduardo .ed-accent-green{ color: var(--ed-brand-primary); }
body.eduardo .ed-accent-orange{ color: var(--ed-brand-secondary); }

/* desktop mosaic */
@media (min-width: 992px){
  body.eduardo .ed-perk-grid.row{
    display: grid !important;

    grid-template-columns: 1.05fr 1fr 1.05fr .95fr;
    grid-template-areas:
      "p1 p1 p2 p2"
      "p1 p1 p3 p3"
      "p4 p4 p3 p3";

    gap: 22px;
    margin: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }

  body.eduardo .ed-perk-grid.row > [class*="col-"]{
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
    padding: 0 !important;
  }

  body.eduardo .ed-perk-cell--1{ grid-area: p1; }
  body.eduardo .ed-perk-cell--2{ grid-area: p2; }
  body.eduardo .ed-perk-cell--3{ grid-area: p3; }
  body.eduardo .ed-perk-cell--4{ grid-area: p4; }

  body.eduardo .ed-perk-cell--2 .ed-perk{ padding: 28px 30px; }
  body.eduardo .ed-perk-cell--4 .ed-perk-media{ margin-left: auto; }
}

/* =============== CARDS (produkty + posts) =============== */
body.eduardo .ed-card{
  display:flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--ed-radius);
  border: 1px solid rgba(17,24,39,.10);
  background: #eef1f3;

  min-height: 320px;
  height: 100%;

  box-shadow:
    0 1px 0 rgba(17,24,39,.04),
    0 10px 26px rgba(17,24,39,.20);

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-decoration: none;
}

body.eduardo .ed-card-thumb{ z-index: 0; }
body.eduardo .ed-card-body{ z-index: 2; }
body.eduardo .ed-card-thumb{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1.03);
  transition: transform .35s ease;
}
body.eduardo .ed-card-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.06) 0%,
    rgba(0,0,0,.18) 60%,
    rgba(0,0,0,.30) 100%
  );
}
body.eduardo .ed-card-body{
  position: relative;
  z-index: 2;
  margin-top: auto;

  height: var(--ed-card-panel-h);
  overflow: hidden;

  padding: 14px 14px 16px;

  background: rgba(0 112 129 / 42%);
  border: 1px solid rgba(17,24,39,.10);
  border-top: 1px solid rgba(255,255,255,.18);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  display:flex;
  flex-direction: column;
}

/* =============== CARD TERM BADGE (napůl na obrázku) =============== */
body.eduardo .ed-card-body--has-badge{
  overflow: visible;      
  z-index: 3;           
}

body.eduardo .ed-card-badge{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;
  border-radius: 999px;

  background: rgba(0,101,112,.9);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #fff;
  font-weight: 900;
  font-size: 12px;

  box-shadow:
    0 12px 30px rgba(0,0,0,.22),
    0 1px 0 rgba(255,255,255,.16) inset;

  white-space: nowrap;

  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;

  z-index: 10; 
}

body.eduardo .ed-card-badge i{
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 575.98px){
  body.eduardo .ed-card-badge{
    padding: 7px 12px;
  }
}
body.eduardo .ed-card:hover{
  transform: translateY(-3px);
  border-color: rgba(0,101,112,.22);
  box-shadow:
    0 1px 0 rgba(17,24,39,.04),
    0 16px 44px rgba(17,24,39,.16);
}
body.eduardo .ed-card:hover .ed-card-thumb{ transform: scale(1.07); }
body.eduardo .ed-card-meta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.82);
  font-size: 12px;
}
body.eduardo .ed-price{
  font-weight: 700;
  color: var(--ed-brand-secondary);
}
body.eduardo .ed-price ins{ text-decoration: none; }
body.eduardo .ed-price del{ opacity: .75; }
body.eduardo .ed-card-title{
  margin-top: 8px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.1;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
body.eduardo .ed-card-excerpt{ display: none !important; }


/* helpers */
body.eduardo .ed-glass{
  border-radius: var(--ed-radius);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color:#fff;
}

/* footer */
.footer .wp-block-columns {margin-bottom: 0 !important;}
.topbutton { background-color: var(--ed-brand-secondary) !important; }
.footer-bottom-area { background-color: var(--ed-brand-primary) !important; }
/* .footer-top { background-color: #007081a1 !important; color: #fff; }
.footer-top h5{ color: #fff; } */

/* =============== SUBPAGE CONTENT CARD =============== */
body.eduardo .ed-content-card{
  background:#fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(17,24,39,.10);
  padding: 28px 28px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
@media (max-width: 991.98px){
  body.eduardo .ed-content-card{
    margin-top: -36px;
    padding: 20px 18px;
    border-radius: 20px;
  }
}
body.eduardo .ed-content-card p{ line-height: 1.75; }
body.eduardo .ed-content-card h2,
body.eduardo .ed-content-card h3{ letter-spacing: -0.01em; }

/* =============== OFFCANVAS MENU =============== */
body.eduardo .offcanvas#edMenu{
  color:#fff;
  background-image:
    linear-gradient(180deg,
      rgba(0,101,112,.98) 0%,
      rgba(0,101,112,.78) 40%,
      rgba(0,101,112,.96) 100%
    ),
    url("https://kapybara-stage.cz/wp-content/uploads/2026/03/bg-3.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body.eduardo .offcanvas#edMenu .offcanvas-header{
  border-bottom: 1px solid rgba(255,255,255,.16);
}
body.eduardo .offcanvas#edMenu .btn-close{
  filter: invert(1) grayscale(1);
  opacity: .9;
}
body.eduardo .offcanvas#edMenu .nav .nav-link{
  color: rgba(255,255,255,.92);
  font-weight: 900;
  padding: .35rem 0;
  text-decoration: none;
  opacity: .92;
}
body.eduardo .offcanvas#edMenu .nav .nav-link:hover{
  opacity: 1;
  text-decoration: none;
}
body.eduardo .offcanvas#edMenu .current-menu-item > .nav-link,
body.eduardo .offcanvas#edMenu .current_page_item > .nav-link{
  color:#fff;
  opacity: 1;
}
body.eduardo .offcanvas#edMenu hr{ border-color: rgba(255,255,255,.18); }
body.eduardo .offcanvas#edMenu .ed-search-input{
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.22);
}

/* =============== WOOCOMMERCE WRAPPER FIXY =============== */
body.eduardo.eduardo-woo .woocommerce{ color: var(--ed-text); }
body.eduardo.eduardo-woo .woocommerce a{ text-decoration: none; }
body.eduardo.eduardo-woo .woocommerce .button,
body.eduardo.eduardo-woo .woocommerce button.button,
body.eduardo.eduardo-woo .woocommerce input.button{
  border-radius: 999px !important;
  font-weight: 800;
}
body.eduardo.eduardo-woo .woocommerce .woocommerce-message,
body.eduardo.eduardo-woo .woocommerce .woocommerce-info,
body.eduardo.eduardo-woo .woocommerce .woocommerce-error{
  border-radius: 16px;
}

/* =============== HEADER MODULES =============== */
body.eduardo .navbar-modules{ gap: 14px; }
body.eduardo .navbar-modules .cart-contents-header{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  text-decoration: none;
  transition: background .15s ease, opacity .15s ease, transform .15s ease;
}
body.eduardo .navbar-modules .cart-contents-header:hover{
  background: rgba(255,255,255,.16);
  color: #fff;
  transform: translateY(-1px);
}
body.eduardo .navbar-modules .admin-dashboard{ gap: 8px; }
body.eduardo .navbar-modules .cart-contents-header.admin-icons{
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.18);
}
body.eduardo .navbar-modules .counter-shop-box{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;

  border-radius: 999px;
  background: rgba(240,145,2,.95);
  border: 1px solid rgba(255,255,255,.22);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
body.eduardo .navbar-modules .counter-shop-box .count{
  color:#fff;
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
}

/* =============== SUBHERO: PRODUCT (bg from product image) =============== */
body.eduardo .ed-subhero.ed-subhero--product{
  --ed-prod-hero-img: none;

  position: relative;
  overflow: hidden;

  background:
    linear-gradient(180deg,
      rgba(0,101,112,.92) 0%,
      rgba(0,101,112,.66) 34%,
      rgba(0,101,112,.92) 100%
    );
}

body.eduardo .ed-subhero.ed-subhero--product::before{
  content: "";
  position: absolute;
  inset: -20px;
  z-index: 0;
  pointer-events: none;

  background-image:
    var(--ed-prod-hero-img),
    url("https://kapybara-stage.cz/wp-content/uploads/2026/03/bg-3.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;

  filter: blur(3px);
  transform: scale(1.08);
}

body.eduardo .ed-subhero.ed-subhero--product::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(180deg,
      rgba(0,101,112,.96) 0%,
      rgba(0,101,112,.58) 34%,
      rgba(0,101,112,.92) 100%
    );
}

body.eduardo .ed-subhero.ed-subhero--product > *{
  position: relative;
  z-index: 1;
}

/* =============== SUBHERO TAGS (product_tag) =============== */
body.eduardo .ed-subhero-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.eduardo .ed-subhero-tag{
  display: inline-flex;
  align-items: center;

  padding: 8px 14px;
  border-radius: 999px;

  color: rgba(255,255,255,.95);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;

  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* subtitle: jiná barva než title, víc bílé, ale ne title */
body.eduardo .ed-subhero-subtitle{
  color: rgba(255,255,255,.86);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.22;
  text-shadow: 0 10px 26px rgba(0,0,0,.14);
  max-width: 64ch;
}

/* right hero image glass (fixed size) */
body.eduardo .ed-subhero-prod-media{
  border-radius: calc(var(--ed-radius) + 10px);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  padding: 14px;
  overflow: hidden;

  aspect-ratio: 4 / 3;
  height: 320px;
  display:flex;
  align-items: stretch;
}
@media (max-width: 991.98px){
  body.eduardo .ed-subhero-prod-media{ height: 240px; }
}
body.eduardo .ed-subhero-prod-media img{
  width: 100%;
  height: 100%;
  display: block;
  border-radius: calc(var(--ed-radius) + 6px);
  object-fit: cover;
  object-position: center;
}

/* =============== WOOCOMMERCE SINGLE PRODUCT (content area) =============== */

/* FIX: obrovské mezery nad short desc (Woo dává marginy všude) */
body.eduardo.eduardo-woo .ed-prod-shortdesc{
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ed-text);
}
body.eduardo.eduardo-woo .ed-prod-shortdesc > *:first-child{ margin-top: 0 !important; }
body.eduardo.eduardo-woo .ed-prod-shortdesc > *:last-child{ margin-bottom: 0 !important; }

/* seznamy: žádné hnusné tečky + lepší spacing */
body.eduardo.eduardo-woo .ed-prod-shortdesc ul,
body.eduardo.eduardo-woo .ed-prod-shortdesc ol{
  margin: 12px 0 0 0 !important;
  padding-left: 0 !important;
}
body.eduardo.eduardo-woo .ed-prod-shortdesc li{
  list-style: none !important;
  margin: 6px 0 !important;
  padding-left: 0 !important;
}

/* zruš "hr" ve short desc (nebo kdekoliv v summary) */
body.eduardo.eduardo-woo .woocommerce-product-details__short-description hr,
body.eduardo.eduardo-woo .summary hr{
  display: none !important;
}

/* buybox */
body.eduardo.eduardo-woo .ed-prod-buybox{
  position: sticky;
  top: 26px;

  border-radius: calc(var(--ed-radius) + 10px);
  border: 1px solid rgba(255,255,255,.22);

  background: rgba(0 112 129 / 95%);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 18px 44px rgba(0,0,0,.18),
    0 1px 0 rgba(255,255,255,.10) inset;

  padding: 12px;
}

/* ===== Woo qty input – hezčí, v glass buyboxu ===== */
body.eduardo.eduardo-woo .ed-prod-buybox .quantity{
  display: inline-flex;
  align-items: center;
}

body.eduardo.eduardo-woo .ed-prod-buybox .quantity input.qty{
  width: 92px;
  height: 44px;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);

  color: #fff;
  font-weight: 900;
  text-align: center;

  outline: none;
  box-shadow: none;
  padding: 0 12px;
}

/* focus */
body.eduardo.eduardo-woo .ed-prod-buybox .quantity input.qty:focus{
  border-color: rgba(240,145,2,.55);
  box-shadow: 0 0 0 .22rem rgba(240,145,2,.18);
  background: rgba(255,255,255,.16);
}

/* placeholder (kdyby někdy byl) */
body.eduardo.eduardo-woo .ed-prod-buybox .quantity input.qty::placeholder{
  color: rgba(255,255,255,.55);
}

/* zruš tmavý default spinner background na některých themech */
body.eduardo.eduardo-woo .ed-prod-buybox input.qty{
  -webkit-appearance: none;
  appearance: textfield;
}

/* Chrome/Safari spinnery – ať neruší (můžeš klidně úplně skrýt) */
body.eduardo.eduardo-woo .ed-prod-buybox input.qty::-webkit-outer-spin-button,
body.eduardo.eduardo-woo .ed-prod-buybox input.qty::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

/* když je vedle tlačítka, ať to lícuje */
body.eduardo.eduardo-woo .ed-prod-buybox form.cart{
  display:flex;
  flex-wrap: wrap;
  /* gap: 10px; */
  align-items:center;
}
body.eduardo.eduardo-woo .ed-prod-buybox a{ color: rgba(255,255,255,.92); }
body.eduardo.eduardo-woo .ed-prod-buybox a:hover{ color:#fff; }
@media (max-width: 991.98px){
  body.eduardo.eduardo-woo .ed-prod-buybox{
    position: static;
    top: auto;
  }
}
body.eduardo.eduardo-woo .ed-prod-buybox .price{
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 12px 0;
  color: var(--ed-text);
}
body.eduardo.eduardo-woo .ed-prod-buybox .price ins{ text-decoration: none; }
body.eduardo.eduardo-woo .ed-prod-buybox .price del{ opacity: .65; }
body.eduardo.eduardo-woo .ed-prod-buybox form.cart{ margin: 0 0 10px 0; }
body.eduardo.eduardo-woo .ed-prod-buybox .single_add_to_cart_button,
body.eduardo.eduardo-woo .ed-prod-buybox .button{
  border-radius: 999px !important;
  font-weight: 900 !important;
  padding: 12px 16px !important;
}
body.eduardo.eduardo-woo .ed-prod-buybox .product_meta{
  border-top: 1px solid rgba(17,24,39,.08);
  margin-top: 12px;
  padding-top: 12px;
  font-size: 13px;
  color: var(--ed-muted);
}

body.eduardo.eduardo-woo .ed-buybox-attrs{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: calc(var(--ed-radius) + 6px);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.eduardo.eduardo-woo .ed-buybox-attr{
  display:flex;
  gap: 8px;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
}

body.eduardo.eduardo-woo .ed-buybox-attr-label{
  font-weight: 900;
  color: rgba(255,255,255,.86);
  white-space: nowrap;
}

body.eduardo.eduardo-woo .ed-buybox-attr-val{
  color: rgba(255,255,255,.95);
  text-align: right;
}
body.eduardo.eduardo-woo .ed-buybox-attr-val a{
  color: rgba(255,255,255,.95);
  text-decoration: none;
  font-weight: 900;
}
body.eduardo.eduardo-woo .ed-buybox-attr-val a:hover{ color:#fff; }

/* tabs */
body.eduardo.eduardo-woo .woocommerce-tabs{ margin-top: 22px !important; }
body.eduardo.eduardo-woo .woocommerce-tabs ul.tabs{
  padding-left: 0 !important;
  margin: 0 0 14px 0 !important;
}
body.eduardo.eduardo-woo .woocommerce-tabs ul.tabs li{
  border: 0 !important;
  background: transparent !important;
  margin: 0 10px 0 0 !important;
}
body.eduardo.eduardo-woo .woocommerce-tabs ul.tabs li a{
  font-weight: 900 !important;
  color: var(--ed-muted) !important;
  padding: 10px 12px !important;
  border-radius: 999px !important;
}
body.eduardo.eduardo-woo .woocommerce-tabs ul.tabs li.active a{
  color: var(--ed-text) !important;
  background: rgba(0,101,112,.08) !important;
}
body.eduardo.eduardo-woo .woocommerce-tabs .panel{ padding-top: 0px !important; }
body.eduardo.eduardo-woo .ed-wc-tab{ line-height: 1.75; }

/* =======================
   SINGLE PRODUCT – PRO LAYOUT
   ======================= */

body.eduardo.eduardo-woo .ed-wc-single{
  padding: 0 !important;
}

/* 2-column layout: content + sticky buybox */
/* SINGLE PRODUCT – 2 sloupce (nezávislé na eduardo-woo class) */
body.eduardo.single-product .ed-wc-single .ed-prod-top{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

body.eduardo.single-product .ed-wc-single .ed-prod-main{ min-width: 0; }

body.eduardo.single-product .ed-wc-single .ed-prod-buybox{
  grid-column: 2;
}

@media (max-width: 991.98px){
  body.eduardo.single-product .ed-wc-single .ed-prod-top{
    grid-template-columns: 1fr;
  }
  body.eduardo.single-product .ed-wc-single .ed-prod-buybox{
    grid-column: auto;
  }
}

/* main column */
body.eduardo.eduardo-woo .ed-prod-main{
  min-width: 0;
}

body.eduardo.eduardo-woo .ed-prod-section:not(:last-child){
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17,24,39,.08);
}

body.eduardo.eduardo-woo .ed-prod-section:first-child{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* intro (short desc) */
body.eduardo.eduardo-woo .ed-prod-intro{
  background: #fff;
  /* border: 1px solid rgba(17,24,39,.08); */
  border-radius: 20px;
  /* box-shadow: 0 10px 30px rgba(17,24,39,.08); */
  padding: 18px 18px;
  line-height: 1.75;
}

body.eduardo.eduardo-woo .ed-prod-intro > *:first-child{ margin-top: 0 !important; }
body.eduardo.eduardo-woo .ed-prod-intro > *:last-child{ margin-bottom: 0 !important; }

/* headings */
body.eduardo.eduardo-woo .ed-prod-h2{
  margin: 0 0 12px 0;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ed-text);
}

/* prose */
body.eduardo.eduardo-woo .ed-prod-prose{
  color: var(--ed-text);
  line-height: 1.8;
  font-size: 16px;
}
body.eduardo.eduardo-woo .ed-prod-prose p{ margin: 0 0 12px 0; }
body.eduardo.eduardo-woo .ed-prod-prose h2,
body.eduardo.eduardo-woo .ed-prod-prose h3{
  margin-top: 18px;
  letter-spacing: -0.01em;
}
body.eduardo.eduardo-woo .ed-prod-prose ul,
body.eduardo.eduardo-woo .ed-prod-prose ol{
  padding-left: 18px;
  margin: 10px 0 12px 0;
}

/* buybox – vylepšená */
body.eduardo.eduardo-woo .ed-prod-buybox{
  position: sticky;
  top: 26px;
}
@media (max-width: 991.98px){
  body.eduardo.eduardo-woo .ed-prod-buybox{
    position: static;
    top: auto;
  }
}

/* ed-buybox-inner zrušen – styly jdou přímo na ed-prod-buybox */

body.eduardo.eduardo-woo .ed-prod-buybox .price{
  font-weight: 950;
  font-size: 26px;
  margin: 0 0 12px 14px;
  color: #fff; /* v glassu vypadá líp */
  text-shadow: 0 10px 22px rgba(0,0,0,.18);
}
body.eduardo.eduardo-woo .ed-prod-buybox .price ins{ text-decoration: none; }
body.eduardo.eduardo-woo .ed-prod-buybox .price del{ opacity: .75; }

body.eduardo.eduardo-woo .ed-prod-buybox .single_add_to_cart_button,
body.eduardo.eduardo-woo .ed-prod-buybox .button{
  border-radius: 999px !important;
  font-weight: 900 !important;
  padding: 12px 16px !important;
}

body.eduardo.eduardo-woo .ed-prod-buybox .product_meta{
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 14px;
  padding-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.80);
}
body.eduardo.eduardo-woo .ed-prod-buybox .product_meta a{
  color: rgba(255,255,255,.92);
}

/* trust rows */
body.eduardo.eduardo-woo .ed-buybox-trust{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.22);
  display: grid;
  gap: 10px;
}
body.eduardo.eduardo-woo .ed-buybox-trust-item {
  margin-left: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;     /* všechno do jedné řady + svisle vycentrovat */
  gap: 10px;
  min-width: 0;
}
body.eduardo.eduardo-woo .ed-buybox-trust-item > div{
  min-width: 0;
  display: flex;
  flex-direction: column;
}

body.eduardo.eduardo-woo .ed-buybox-trust-title,
body.eduardo.eduardo-woo .ed-buybox-trust-sub{
  margin: 0;
  white-space: nowrap;          /* drží to v jedné řadě */
  overflow: hidden;
  text-overflow: ellipsis;      /* když je to dlouhé, zkrátí se … */
}
body.eduardo.eduardo-woo .ed-buybox-trust-item i{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);

  flex: 0 0 auto;
}

body.eduardo.eduardo-woo .ed-buybox-trust-title{
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
body.eduardo.eduardo-woo .ed-buybox-trust-sub{
  font-size: 13px;
  color: rgba(255,255,255,.78);
  margin-top: 2px;
}

/* related products spacing – použije Woo loop */
body.eduardo.eduardo-woo .ed-related ul.products{
  margin-top: 6px !important;
}

/* =============== SINGLE PRODUCT: PRO CTA LAYOUT =============== */
body.eduardo.eduardo-woo .ed-prod-card{
  background:#fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(17,24,39,.10);
  padding: 22px 22px;
}

body.eduardo.eduardo-woo .ed-prod-card--below{
  padding: 26px 26px;
}

body.eduardo.eduardo-woo .ed-prod-h2{
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 22px;
}

body.eduardo.eduardo-woo .ed-prod-intro-top{
  display:flex;
  gap: 18px;
  align-items:flex-start;
  justify-content: space-between;
}

body.eduardo.eduardo-woo .ed-prod-intro-left{
  min-width: 0;
  flex: 1 1 auto;
}

body.eduardo.eduardo-woo .ed-prod-intro-text{
  font-size: 16px;
  line-height: 1.75;
  color: var(--ed-text);
}
body.eduardo.eduardo-woo .ed-prod-intro-text > *:first-child{ margin-top: 0 !important; }
body.eduardo.eduardo-woo .ed-prod-intro-text > *:last-child{ margin-bottom: 0 !important; }

body.eduardo.eduardo-woo .ed-prod-cta{
  flex: 0 0 auto;
  display:flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-left: 10px;
}

body.eduardo.eduardo-woo .ed-prod-cta-price .price{
  margin: 0 !important;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  color: var(--ed-text);
}
body.eduardo.eduardo-woo .ed-prod-cta-price del{ opacity: .65; }
body.eduardo.eduardo-woo .ed-prod-cta-price ins{ text-decoration: none; }

body.eduardo.eduardo-woo .ed-prod-cta-form form.cart{
  margin: 0 !important;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  justify-content:flex-end;
}
body.eduardo.eduardo-woo .ed-prod-cta-form .quantity input.qty{
  width: 78px;
  border-radius: 999px;
}
body.eduardo.eduardo-woo .ed-prod-cta-form .single_add_to_cart_button,
body.eduardo.eduardo-woo .ed-prod-cta-form .button{
  border-radius: 999px !important;
  font-weight: 900 !important;
  padding: 12px 16px !important;
}
/* jistota, že grid vezme 2 sloupce správně */
body.eduardo.eduardo-woo .ed-prod-main{ grid-column: 1; }
body.eduardo.eduardo-woo .ed-prod-buybox{ grid-column: 2; }

/* cena bez DPH pod cenou */
body.eduardo.eduardo-woo .ed-price-exvat{
  margin-top: -8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  color: var(--ed-muted);
}
body.eduardo.eduardo-woo .ed-price-exvat-label{ font-weight: 900; }

body.eduardo.single-product .ed-wc-single .ed-related-full{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(17,24,39,.08);
}

/* mobile stacking */
@media (max-width: 991.98px){
  body.eduardo.eduardo-woo .ed-prod-intro-top{
    flex-direction: column;
    align-items: stretch;
  }
  body.eduardo.eduardo-woo .ed-prod-cta{
    align-items: flex-start;
  }
  body.eduardo.eduardo-woo .ed-prod-cta-form form.cart{
    justify-content: flex-start;
  }
}

/* =============== CATEGORY TILES (front-page) – v3 premium + 2 rows =============== */

/* Desktop: grid 4 sloupce => 2 řady pro 8 kategorií */
@media (min-width: 992px){
  body.eduardo .ed-cat-grid.row{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;

    margin: 0 !important;             
    margin-top: 60px !important;       

    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }
  body.eduardo .ed-cat-grid.row > [class*="col-"]{
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
    padding: 0 !important;
  }
}

/* Tablet: 2 sloupce */
@media (min-width: 768px) and (max-width: 991.98px){
  body.eduardo .ed-cat-grid.row{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;

    margin: 0 !important;
    margin-top: 52px !important;      

    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }
  body.eduardo .ed-cat-grid.row > [class*="col-"]{
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
    padding: 0 !important;
  }
}

/* Dlaždice */
body.eduardo .ed-cat-tile.ed-cat-tile--big{
  position: relative;
  overflow: hidden;

  display:flex;
  align-items:center;
  gap: 18px;

  font-weight: 300;

  padding: 26px 24px;
  border-radius: 30px;

  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, #fbfbfc 100%);
  border: 1px solid transparent;

  box-shadow:
    0 1px 0 rgba(17,24,39,.03),
    0 18px 58px rgba(17,24,39,.10);

  text-decoration: none;
  min-height: 120px;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* jemný “glow” pod dlaždicí */
body.eduardo .ed-cat-tile.ed-cat-tile--big::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  opacity: 0;
  transition: opacity .18s ease;

  /* oranžové "glass" */
  background:
    radial-gradient(560px 280px at 22% 0%, rgba(240,145,2,.30), transparent 62%),
    radial-gradient(560px 280px at 86% 32%, rgba(240,145,2,.18), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.00));
}

/* gradient border (moderní) */
body.eduardo .ed-cat-tile.ed-cat-tile--big::before{
  content:"";
  position:absolute;
  inset:0;
  padding: 4px;
  border-radius: inherit;
  pointer-events:none;
  opacity:.7;

  background: linear-gradient(135deg, rgb(240, 145, 2), rgba(255, 153, 0, 0.537));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* HOVER: border plně oranžový (jako btn) */
body.eduardo .ed-cat-tile.ed-cat-tile--big:hover{
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(17,24,39,.03),
    0 30px 86px rgba(240,145,2,.20);
}

/* HOVER: šipka plně oranžová + bílá ikonka */
body.eduardo .ed-cat-tile.ed-cat-tile--big:hover .ed-cat-arrow{
  background: var(--ed-brand-secondary) !important;
  border-color: var(--ed-brand-secondary) !important;
  color: #fff !important;
  transform: translateX(3px);
}

/* jistota: ikonka v šipce taky bílá */
body.eduardo .ed-cat-tile.ed-cat-tile--big:hover .ed-cat-arrow i{
  color: #fff !important;
}
body.eduardo .ed-cat-tile.ed-cat-tile--big:hover::after{ opacity: 1; }
body.eduardo .ed-cat-tile.ed-cat-tile--big:hover::before{
  background: var(--ed-brand-secondary) !important; 
  opacity: 1 !important;                          
}

/* Ikona – větší + luxusnější */
body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-ico{
  width: 76px;
  height: 76px;
  border-radius: 26px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:
    radial-gradient(80px 80px at 30% 25%, rgba(255,255,255,.25), transparent 60%),
    linear-gradient(180deg, rgba(0,101,112,.98), rgba(0,101,112,1));

  border: 1px solid rgba(17,24,39,.06);

  box-shadow:
    0 16px 40px rgba(17,24,39,.14),
    0 1px 0 rgba(255,255,255,.18) inset;

  flex: 0 0 auto;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-ico i{
  color:#fff;
  font-size: 30px;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big:hover .ed-cat-ico{
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 18px 48px rgba(17,24,39,.16),
    0 1px 0 rgba(255,255,255,.18) inset;
}

/* Text */
body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-title{
  font-weight: 700;  
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  min-width: 0;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Šipka – necháme, jen ji vyladíme */
body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-arrow{
  margin-left: auto;
  width: 52px;
  height: 52px;
  border-radius: 20px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  background: rgba(0,101,112,.08);
  border: 1px solid rgba(17,24,39,.06);
  color: var(--ed-text);
  flex: 0 0 auto;

  transition: background .18s ease, transform .18s ease;
}


/* šipka víc glass */
body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-arrow{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ikonka na hover lehce rozsvítit */
body.eduardo .ed-cat-tile.ed-cat-tile--big:hover .ed-cat-ico{
  box-shadow:
    0 22px 58px rgba(240,145,2,.28),
    0 1px 0 rgba(255,255,255,.18) inset;
}

/* Mobile */
@media (max-width: 575.98px){
  body.eduardo .ed-cat-tile.ed-cat-tile--big{
    min-height: 108px;
    padding: 20px 18px;
    border-radius: 26px;
  }
  body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-ico{
    width: 68px;
    height: 68px;
    border-radius: 24px;
  }
  body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-ico i{ font-size: 28px; }
  body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-arrow{
    width: 46px;
    height: 46px;
    border-radius: 18px;
  }
}
/* =============== CATEGORY TILES – icon outside top, arrow inside (override) =============== */

/* víc místa mezi řadami (kvůli ikoně mimo kartu) */
@media (min-width: 992px){
  body.eduardo .ed-cat-grid.row{
    column-gap: 22px;
    row-gap: 66px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px){
  body.eduardo .ed-cat-grid.row{
    column-gap: 18px;
    row-gap: 58px;
  }
}

/* karta: center, dovolíme přesah jen kvůli ikoně */
body.eduardo .ed-cat-tile.ed-cat-tile--big{
  overflow: visible !important;          /* ikonka může ven */
  isolation: isolate;                   /* ✅ pseudo vrstvy se chovají líp */

  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  gap: 10px !important;

  padding-top: 56px !important;          /* místo pro ikonku */
  padding-bottom: 54px !important;       /* místo pro šipku uvnitř */
  min-height: 176px !important;
}

/* ikona: nahoře na střed + méně ven (už nebude lézt do headline) */
body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-ico{
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translate(-50%, -46%) !important; /* ✅ méně ven než -56% */
  z-index: 3 !important;
}

/* text: víc řádků */
body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-title{
  max-width: 26ch;
  font-size: 18px !important;

  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}

/* šipka: uvnitř dole vpravo */
body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-arrow{
  position: absolute !important;
  right: 14px !important;
  bottom: 14px !important;
  transform: none !important;

  margin-left: 0 !important;
  z-index: 3 !important;
}

/* mobile */
@media (max-width: 575.98px){
  body.eduardo .ed-cat-tile.ed-cat-tile--big{
    padding-top: 52px !important;
    padding-bottom: 50px !important;
    min-height: 168px !important;
  }
  body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-title{
    max-width: 30ch;
    font-size: 17px !important;
  }
  body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-ico{
    transform: translate(-50%, -44%) !important;
  }
}
/* =============== PERKS v2 (front-page) =============== */
body.eduardo .ed-perks2{ margin-top: 6px; }

body.eduardo .ed-perk-card{
  position: relative;
  overflow: hidden;

  border-radius: 30px;
  border: 1px solid rgba(17,24,39,.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  box-shadow: 0 18px 54px rgba(17,24,39,.10);

  padding: 22px 22px;
  height: 100%;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.eduardo .ed-perk-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  opacity: .95;

  background:
    radial-gradient(520px 260px at 18% 0%, var(--perk-a, rgba(0,101,112,.14)), transparent 58%),
    radial-gradient(520px 260px at 92% 20%, var(--perk-b, rgba(240,145,2,.12)), transparent 58%);
}

body.eduardo .ed-perk-card > *{ position: relative; z-index: 1; }

body.eduardo .ed-perk-card:hover{
  transform: translateY(-4px);
  border-color: rgba(0,101,112,.20);
  box-shadow: 0 22px 70px rgba(17,24,39,.14);
}

body.eduardo .ed-perk-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

body.eduardo .ed-perk-icon{
  width: 66px;
  height: 66px;
  border-radius: 22px;
  display:flex;
  align-items:center;
  justify-content:center;

  background:
    radial-gradient(70px 70px at 30% 25%, rgba(255,255,255,.22), transparent 60%),
    rgba(0,101,112,.92);

  border: 1px solid rgba(17,24,39,.06);
  box-shadow: 0 14px 34px rgba(17,24,39,.12);
  flex: 0 0 auto;
}

body.eduardo .ed-perk-icon i{
  color:#fff;
  font-size: 30px;
  line-height: 1;
}

body.eduardo .ed-perk-kicker{
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(46,56,60,.70);
  white-space: nowrap;
}

body.eduardo .ed-perk-h3{
  margin: 0 0 10px 0;
  font-weight: 950;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ed-text);
}

body.eduardo .ed-perk-p{
  margin: 0 0 14px 0;
  color: #3f4b50;
  font-size: 15px;
  line-height: 1.7;
}

body.eduardo .ed-perk-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

body.eduardo .ed-perk-list li{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  font-size: 13px;
  color: rgba(46,56,60,.88);
}

body.eduardo .ed-perk-list li i{
  width: 28px;
  height: 28px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  background: rgba(0,101,112,.10);
  color: rgba(0,101,112,.95);
  border: 1px solid rgba(0,101,112,.14);
}

/* barevné varianty */
body.eduardo .ed-perk-card--green{ --perk-a: rgba(0,101,112,.16); --perk-b: rgba(0,101,112,.06); }
body.eduardo .ed-perk-card--orange{ --perk-a: rgba(240,145,2,.16); --perk-b: rgba(0,101,112,.08); }
body.eduardo .ed-perk-card--mix{ --perk-a: rgba(0,101,112,.14); --perk-b: rgba(240,145,2,.14); }
body.eduardo .ed-perk-card--dark{
  --perk-a: rgba(0,0,0,.06);
  --perk-b: rgba(0,101,112,.10);
}

/* u oranžové změň ikonku pozadí na oranž */
body.eduardo .ed-perk-card--orange .ed-perk-icon{
  background:
    radial-gradient(70px 70px at 30% 25%, rgba(255,255,255,.22), transparent 60%),
    rgba(240,145,2,.92);
}
body.eduardo .ed-perk-card--orange .ed-perk-list li i{
  background: rgba(240,145,2,.12);
  color: rgba(240,145,2,.98);
  border-color: rgba(240,145,2,.18);
}

@media (max-width: 575.98px){
  body.eduardo .ed-perk-card{ border-radius: 26px; padding: 18px 18px; }
  body.eduardo .ed-perk-icon{ width: 60px; height: 60px; border-radius: 20px; }
  body.eduardo .ed-perk-icon i{ font-size: 28px; }
}

/* =============== RESPONSIVE =============== */
@media (max-width: 991.98px){
  :root{
    --ed-header-h: 72px;
    --ed-carousel-h: 420px;
    --ed-reco-thumb-h: 210px;
    --ed-reco-panel-h: 160px;
  }

  body.eduardo .ed-brand-logo{ height: 44px; }
  body.eduardo .ed-perk{ flex-direction: column; align-items: flex-start; }
  body.eduardo .ed-reco-thumb{
    height: var(--ed-reco-thumb-h);
    flex-basis: var(--ed-reco-thumb-h);
  }
}
@media (max-width: 575.98px){
  :root{ --ed-card-panel-h: 140px; }
  body.eduardo .ed-card{ min-height: 280px; }
}

/* =============== FEATURES – Eduardo green glass =============== */
body.eduardo .ed-features-clean{
  position: relative;
  background:
    radial-gradient(1000px 420px at 8% 0%, rgba(0,101,112,.10), transparent 60%),
    radial-gradient(1000px 420px at 92% 12%, rgba(240,145,2,.08), transparent 58%),
    #fff;
}

body.eduardo .ed-feature-clean{
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: calc(var(--ed-radius) + 8px);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,101,112,.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0,0,0,.12);
  padding: 22px 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

body.eduardo .ed-feature-clean::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(360px 180px at 20% 0%, rgba(255,255,255,.16), transparent 55%),
    radial-gradient(320px 180px at 100% 100%, rgba(240,145,2,.16), transparent 58%);
}

body.eduardo .ed-feature-clean > *{
  position: relative;
  z-index: 1;
}

body.eduardo .ed-feature-clean:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.26);
  background: rgba(0,101,112,.84);
  box-shadow: 0 22px 56px rgba(0,0,0,.16);
}

body.eduardo .ed-feature-clean-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.eduardo .ed-feature-clean-ico{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;

  margin:0 auto;
  background: rgba(240,145,2,.96);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);

  flex: 0 0 auto;
}

body.eduardo .ed-feature-clean-ico i{
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

body.eduardo .ed-feature-clean-kicker{
  display:inline-flex;
  align-items:center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.86);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.2;
}

body.eduardo .ed-feature-clean-title{
  text-align: center;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 10px;
}

body.eduardo .ed-feature-clean-sub{
  text-align: center;
  color: rgba(255,255,255,.84);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 575.98px){
  body.eduardo .ed-feature-clean{
    padding: 18px 18px;
  }

  body.eduardo .ed-feature-clean-ico{
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  body.eduardo .ed-feature-clean-kicker{
    padding: 7px 10px;
    font-size: 10px;
  }

  body.eduardo .ed-feature-clean-title{
    font-size: 20px;
  }
}

/* =============== CATEGORY TILES – clean hover override =============== */
body.eduardo .ed-cat-tile.ed-cat-tile--big{
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  box-shadow:
    0 1px 0 rgba(17,24,39,.03),
    0 18px 58px rgba(17,24,39,.10) !important;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big::after{
  display: none !important;
  opacity: 0 !important;
  background: none !important;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big::before{
  background: linear-gradient(135deg, rgba(240,145,2,.95), rgba(240,145,2,.65)) !important;
  opacity: .85 !important;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big:hover{
  background: #ffffff !important;
  border-color: rgba(240,145,2,.34) !important;
  box-shadow:
    0 1px 0 rgba(17,24,39,.03),
    0 24px 68px rgba(240,145,2,.16) !important;
  transform: translateY(-4px) !important;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big:hover::before{
  background: linear-gradient(135deg, rgba(240,145,2,1), rgba(240,145,2,.82)) !important;
  opacity: 1 !important;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-ico{
  transition: transform .22s ease, box-shadow .22s ease !important;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big:hover .ed-cat-ico{
  transform: translate(-50%, -44%) scale(1.03) !important;
  box-shadow:
    0 22px 58px rgba(240,145,2,.22),
    0 1px 0 rgba(255,255,255,.18) inset !important;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big .ed-cat-arrow{
  transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease !important;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big:hover .ed-cat-arrow{
  background: var(--ed-brand-secondary) !important;
  border-color: var(--ed-brand-secondary) !important;
  color: #fff !important;
  transform: translateX(4px) !important;
}

body.eduardo .ed-cat-tile.ed-cat-tile--big:hover .ed-cat-arrow i{
  color: #fff !important;
}

/* =============== AUTHORS / LECTORS =============== */
body.eduardo .ed-author-hero-media{
  border-radius: calc(var(--ed-radius) + 10px);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  padding: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

body.eduardo .ed-author-hero-media img{
  width: 100%;
  height: 100%;
  display: block;
  border-radius: calc(var(--ed-radius) + 6px);
  object-fit: cover;
  object-position: center;
}

body.eduardo .ed-author-content-card{
  margin-top: -60px;
}

body.eduardo .ed-author-section{
  position: relative;
}

body.eduardo .ed-author-card{
  display: block;
  height: 100%;
  color: inherit;
}

body.eduardo .ed-author-card__inner{
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17,24,39,.08);
  background: #fff;
  box-shadow: 0 14px 40px rgba(17,24,39,.10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.eduardo .ed-author-card:hover .ed-author-card__inner{
  transform: translateY(-4px);
  border-color: rgba(0,101,112,.18);
  box-shadow: 0 20px 52px rgba(17,24,39,.14);
}

body.eduardo .ed-author-card__media{
  aspect-ratio: 16 / 10;
  background: #f3f5f7;
  overflow: hidden;
}

body.eduardo .ed-author-card__media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.eduardo .ed-author-card__body{
  padding: 20px 20px 22px;
}

body.eduardo .ed-author-card__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  padding: .4rem .8rem;
  background: #f4f7fb;
  color: #344054;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 10px;
}

body.eduardo .ed-author-card__title{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 10px 0;
}

body.eduardo .ed-author-card__text{
  color: #667085;
  line-height: 1.7;
  font-size: 15px;
}

body.eduardo .ed-author-card__cta{
  margin-top: 14px;
  font-weight: 900;
  color: var(--ed-brand-primary);
}

body.eduardo .ed-author-card__body{
  padding: 20px 20px 20px;
}

/* =============== LECTOR BOX IN PRODUCT =============== */
body.eduardo .ed-author-card--static{
  display: block;
  height: 100%;
  color: inherit;
}

body.eduardo .ed-author-card--static .ed-author-card__inner{
  cursor: default;
}

body.eduardo .ed-author-card--static:hover .ed-author-card__inner{
  transform: none;
  border-color: rgba(17,24,39,.08);
  box-shadow: 0 14px 40px rgba(17,24,39,.10);
}

body.eduardo .ed-author-card__title-link{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}

body.eduardo .ed-author-card__title-link:hover{
  color: var(--ed-brand-primary);
  border-bottom-color: rgba(0,101,112,.35);
  text-decoration: none;
}

body.eduardo .ed-author-card__intro{
  margin-bottom: 14px;
  color: var(--ed-text);
}

body.eduardo .ed-author-card__intro p{
  margin: 0;
}

body.eduardo .ed-author-card__content{
  color: var(--ed-text);
}

body.eduardo .ed-author-card__content > *:first-child{
  margin-top: 0 !important;
}

body.eduardo .ed-author-card__content > *:last-child{
  margin-bottom: 0 !important;
}


/* =============== PAGINATION – unified for nabídka + search + nav-links =============== */

body.eduardo .woocommerce nav.woocommerce-pagination,
body.eduardo .ed-pagination,
body.eduardo .navigation.pagination{
  margin-top: 2.5rem !important;
  padding-top: .25rem !important;
}

body.eduardo .woocommerce nav.woocommerce-pagination ul,
body.eduardo .nav-links{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
}

body.eduardo .woocommerce nav.woocommerce-pagination ul li{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
  float: none !important;
}

body.eduardo .ed-pagination .page-numbers,
body.eduardo .nav-links .page-numbers,
body.eduardo .woocommerce nav.woocommerce-pagination ul li a,
body.eduardo .woocommerce nav.woocommerce-pagination ul li span{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 48px !important;
  height: 48px !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0, 101, 112, .24) !important;
  background: #fff !important;
  color: var(--ed-brand-primary) !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 20px rgba(17,24,39,.06) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease !important;
}

body.eduardo .ed-pagination a.page-numbers:hover,
body.eduardo .ed-pagination a.page-numbers:focus,
body.eduardo .ed-pagination .page-numbers.current,
body.eduardo .nav-links a.page-numbers:hover,
body.eduardo .nav-links a.page-numbers:focus,
body.eduardo .nav-links .page-numbers.current,
body.eduardo .woocommerce nav.woocommerce-pagination ul li a:hover,
body.eduardo .woocommerce nav.woocommerce-pagination ul li a:focus,
body.eduardo .woocommerce nav.woocommerce-pagination ul li span.current{
  background: var(--ed-brand-primary) !important;
  border-color: var(--ed-brand-primary) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(0,101,112,.18) !important;
}

body.eduardo .ed-pagination .dots,
body.eduardo .nav-links .dots,
body.eduardo .woocommerce nav.woocommerce-pagination ul li span.dots{
  color: var(--ed-text) !important;
  border-color: rgba(0, 101, 112, .18) !important;
  background: #fff !important;
}

@media (max-width: 575.98px){
  body.eduardo .ed-pagination .page-numbers,
  body.eduardo .nav-links .page-numbers,
  body.eduardo .woocommerce nav.woocommerce-pagination ul li a,
  body.eduardo .woocommerce nav.woocommerce-pagination ul li span{
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 14px !important;
  }
}


/* =============== FRONT PAGE CALENDAR =============== */
body.eduardo .ed-home-calendar .ed-glass{
  border: 1px solid var(--ed-border);
  border-radius: calc(var(--ed-radius) + 4px);
  box-shadow: var(--ed-shadow);
}
body.eduardo .ed-home-calendar .forumCalendarWrapper{
  display: flex !important;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 40px;
  padding: 0;
  margin: 0;
  background: transparent;
}
body.eduardo .ed-home-calendar .forumCalendarCol--calendar{
  flex: 0 0 380px;
  width: 380px;
  max-width: 380px;
}
body.eduardo .ed-home-calendar .forumCalendarCol--list{
  flex: 1 1 0;
  min-width: 300px;
  padding-top: 8px;
}
body.eduardo .ed-home-calendar #forumCalendar{
  width: 100%;
}
body.eduardo .ed-home-calendar #forumCalendarList{
  margin-top: 0;
  color: var(--ed-text);
}
body.eduardo .ed-home-calendar .calendar-item a,
body.eduardo .ed-home-calendar .calendar-item a strong,
body.eduardo .ed-home-calendar .calendar-no-events{
  color: var(--ed-text) !important;
}
body.eduardo .ed-home-calendar .calendar-item a:hover,
body.eduardo .ed-home-calendar .calendar-item a:hover strong{
  color: var(--ed-brand-primary) !important;
}
body.eduardo .ed-home-calendar .calendar-heading,
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-current-month .cur-month,
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-current-month .flatpickr-monthDropdown-months,
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-current-month .numInput{
  color: var(--ed-brand-secondary) !important;
}
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-weekday{
  color: var(--ed-muted) !important;
}
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-day{
  color: var(--ed-text) !important;
}
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-day.hasPosts,
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-day.selected.hasPosts{
  background: var(--ed-brand-secondary) !important;
  border-color: var(--ed-brand-secondary) !important;
  color: #fff !important;
}
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-day.selected,
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-day.startRange,
body.eduardo .ed-home-calendar #forumCalendar .flatpickr-day.endRange{
  background: #5a6468 !important;
  border-color: #5a6468 !important;
  color: #fff !important;
}
@media (max-width: 991.98px){
  body.eduardo .ed-home-calendar .forumCalendarWrapper{
    flex-wrap: wrap;
    gap: 24px;
  }
  body.eduardo .ed-home-calendar .forumCalendarCol--calendar,
  body.eduardo .ed-home-calendar .forumCalendarCol--list{
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  body.eduardo .ed-home-calendar .forumCalendarCol--list{
    padding-top: 0;
  }
}
@media (max-width: 661px){
  body.eduardo .ed-home-calendar .forumCalendarWrapper{
    gap: 18px;
  }
}


/* Homepage hero compact so tiles are visible sooner */
body.eduardo.home .ed-hero--full {
  min-height: 80vh;
}
body.eduardo.home .ed-hero-row {
  min-height: calc(80vh - var(--ed-header-h));
}
@media (max-width: 991.98px) {
  body.eduardo.home .ed-hero--full {
    min-height: auto;
  }
  body.eduardo.home .ed-hero-row {
    min-height: auto;
  }
}

/* =============== FRONT PAGE – profession tiles 5 columns =============== */

@media (min-width: 992px){
  body.eduardo .ed-cat-grid.ed-cat-grid--professions.row{
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 54px !important;
    margin: 0 !important;
    margin-top: 60px !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }

  body.eduardo .ed-cat-grid.ed-cat-grid--professions.row > [class*="col-"],
  body.eduardo .ed-cat-grid.ed-cat-grid--professions.row > .col{
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
    padding: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px){
  body.eduardo .ed-cat-grid.ed-cat-grid--professions.row{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 46px !important;
  }
}

body.eduardo .ed-cat-grid--professions .ed-cat-tile.ed-cat-tile--big{
  min-height: 156px !important;
  padding-top: 50px !important;
  padding-right: 14px !important;
  padding-bottom: 46px !important;
  padding-left: 14px !important;
  border-radius: 26px !important;
}

body.eduardo .ed-cat-grid--professions .ed-cat-tile.ed-cat-tile--big .ed-cat-title{
  max-width: 19ch !important;
  font-size: 15px !important;
  line-height: 1.28 !important;
  -webkit-line-clamp: 3 !important;
}

body.eduardo .ed-cat-grid--professions .ed-cat-tile.ed-cat-tile--big .ed-cat-ico{
  width: 62px !important;
  height: 62px !important;
  border-radius: 20px !important;
}

body.eduardo .ed-cat-grid--professions .ed-cat-tile.ed-cat-tile--big .ed-cat-ico i{
  font-size: 24px !important;
}

body.eduardo .ed-cat-grid--professions .ed-cat-tile.ed-cat-tile--big .ed-cat-arrow{
  right: 12px !important;
  bottom: 12px !important;
  width: 40px !important;
  height: 40px !important;
}

@media (max-width: 575.98px){
  body.eduardo .ed-cat-grid--professions .ed-cat-tile.ed-cat-tile--big{
    min-height: 148px !important;
    padding-top: 46px !important;
    padding-bottom: 42px !important;
  }

  body.eduardo .ed-cat-grid--professions .ed-cat-tile.ed-cat-tile--big .ed-cat-title{
    font-size: 15px !important;
    max-width: 24ch !important;
  }
}
/* =============== SHOP / NABIDKA / SEARCH – same cards as front-page =============== */
/*
  Shop i search používají stejný markup i základní .ed-card styly jako front-page.
  Záměrně tu nejsou speciální přepisy pro Woo/search karty, aby se vizuál nerozjížděl.
*/
