/* === CTA hover FIX – tvrdé přebití konfliktních stylů === */

.yume-hero .yume-hero__btn,
.custom-product-section .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--p) !important;
  border-radius: 999px;
  padding: 12px 30px;
  background: transparent !important;
  background-image: none !important;
  color: var(--p) !important;
  -webkit-text-fill-color: var(--p) !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  isolation: isolate;
}

.yume-hero .yume-hero__btn:hover,
.yume-hero .yume-hero__btn:focus-visible,
.custom-product-section .btn:hover,
.custom-product-section .btn:focus-visible {
  background-color: var(--p) !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: var(--p) !important;
  box-shadow: none !important;
  filter: none !important;
}

.yume-hero .yume-hero__btn *,
.custom-product-section .btn * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

.yume-hero .yume-hero__btn:active,
.custom-product-section .btn:active {
  opacity: .95;
}
/* === FIX: plná růžová na hover (zabíjí theme overlaye) === */

/* výchozí stav (outline) */
.yume-hero .yume-hero__btn,
.custom-product-section .btn{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center;
  border:2px solid var(--p) !important;
  border-radius:999px;
  padding:12px 30px;
  background:transparent !important;
  background-image:none !important;
  color:var(--p) !important;
  -webkit-text-fill-color:var(--p) !important;
  box-shadow:none !important; filter:none !important; text-shadow:none !important;
  transition:background-color .25s,color .25s,border-color .25s;
  isolation:isolate; /* odřízne cokoliv pod */
  overflow:hidden;   /* kdyby téma posouvalo overlay ven */
  z-index:0;
}

/* KILL overlays/pseudo-elementy, co přebarvují pozadí */
.yume-hero .yume-hero__btn::before,
.yume-hero .yume-hero__btn::after,
.custom-product-section .btn::before,
.custom-product-section .btn::after{
  content:none !important; display:none !important;
  background:none !important;
}

/* HOVER/FOKUS – plná růžová */
.yume-hero .yume-hero__btn:hover,
.yume-hero .yume-hero__btn:focus-visible,
.custom-product-section .btn:hover,
.custom-product-section .btn:focus-visible{
  background:var(--p) !important;
  background-color:var(--p) !important;
  background-image:none !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  border-color:var(--p) !important;
  box-shadow:none !important; filter:none !important;
}

/* pro jistotu: žádné vnitřní backgroundy ani „fígle“ z tématu */
.yume-hero .yume-hero__btn *,
.custom-product-section .btn *{
  background:transparent !important;
  background-image:none !important;
  color:inherit !important;
  -webkit-text-fill-color:inherit !important;
}

/* aktivní stav (tap) – lehké stmavení, bez šednutí */
.yume-hero .yume-hero__btn:active,
.custom-product-section .btn:active{
  opacity:.95;
}
/* === HOVER FIX přes ID – vyhrává nad tématem === */

/* zabij jakékoliv overlaye/pseudo uvnitř našich CTA */
#yume-add-to-cart::before,
#yume-add-to-cart::after,
#yume-detail-link::before,
#yume-detail-link::after,
#yume-hero-cta::before,
#yume-hero-cta::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* základ tlačítek (outline) */
#yume-add-to-cart,
#yume-detail-link,
#yume-hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;                 /* stejná šířka pro obě CTA */
  padding: 12px 0;
  border: 2px solid var(--p) !important;
  border-radius: 999px !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--p) !important;
  -webkit-text-fill-color: var(--p) !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  overflow: hidden;
  isolation: isolate;
}

/* plná růžová na hover/focus */
#yume-add-to-cart:hover,
#yume-add-to-cart:focus-visible,
#yume-detail-link:hover,
#yume-detail-link:focus-visible,
#yume-hero-cta:hover,
#yume-hero-cta:focus-visible {
  background: var(--p) !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: var(--p) !important;
  box-shadow: none !important;
  filter: none !important;
}

/* kdyby téma barvilo potomky */
#yume-add-to-cart *,
#yume-detail-link *,
#yume-hero-cta * {
  background: transparent !important;
  background-image: none !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

@media (max-width: 900px){
  #yume-add-to-cart,
  #yume-detail-link { width: 100%; max-width: 320px; }
}

