/* =========================================================
   ReLumen – FINÁLNÍ detail produktu
   Kompletní soubor. Nahrazuje všechny předchozí verze.
   ========================================================= */

body.type-detail,
body.type-product,
.type-detail,
.type-product{
  --rl-ink:#292521;
  --rl-text:#4b4540;
  --rl-muted:#81766e;
  --rl-line:#e8ddd3;
  --rl-cream:#f7f1ea;
  --rl-cream-2:#efe5db;
  --rl-brown:#6f4b35;
  --rl-brown-dark:#563725;
  --rl-gold:#c7a06b;
  --rl-green-bg:#edf2e9;
  --rl-green:#52624b;
}

/* ---------- ZÁKLAD STRÁNKY ---------- */
body.type-detail #content,
body.type-product #content,
.type-detail #content,
.type-product #content{
  background:#fff!important;
}

body.type-detail .content-inner,
body.type-product .content-inner,
.type-detail .content-inner,
.type-product .content-inner{
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0 28px!important;
}

/* ---------- DROBĚČKY ---------- */
body.type-detail .breadcrumbs,
body.type-product .breadcrumbs,
.type-detail .breadcrumbs,
.type-product .breadcrumbs{
  margin:28px 0 22px!important;
  font-size:11px!important;
  color:#938980!important;
}
body.type-detail .breadcrumbs a,
body.type-detail .breadcrumbs span,
body.type-detail .breadcrumbs li,
body.type-product .breadcrumbs a,
body.type-product .breadcrumbs span,
body.type-product .breadcrumbs li,
.type-detail .breadcrumbs a,
.type-detail .breadcrumbs span,
.type-detail .breadcrumbs li,
.type-product .breadcrumbs a,
.type-product .breadcrumbs span,
.type-product .breadcrumbs li{
  color:#938980!important;
  opacity:1!important;
}
body.type-detail .breadcrumbs li:last-child,
body.type-detail .breadcrumbs li:last-child a,
body.type-product .breadcrumbs li:last-child,
body.type-product .breadcrumbs li:last-child a,
.type-detail .breadcrumbs li:last-child,
.type-detail .breadcrumbs li:last-child a,
.type-product .breadcrumbs li:last-child,
.type-product .breadcrumbs li:last-child a{
  color:var(--rl-ink)!important;
}

/* ---------- HORNÍ PRODUKTOVÝ BLOK ---------- */
body.type-detail .p-detail-inner,
body.type-product .p-detail-inner,
.type-detail .p-detail-inner,
.type-product .p-detail-inner{
  display:block!important;
  width:100%!important;
}

body.type-detail #product-detail-form,
body.type-product #product-detail-form,
.type-detail #product-detail-form,
.type-product #product-detail-form,
body.type-detail form.pr-action,
body.type-product form.pr-action,
.type-detail form.pr-action,
.type-product form.pr-action{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:72px!important;
  width:100%!important;
  max-width:1120px!important;
  margin:0 auto!important;
  padding:0!important;
}

body.type-detail #product-detail-form .p-image-wrapper,
body.type-product #product-detail-form .p-image-wrapper,
.type-detail #product-detail-form .p-image-wrapper,
.type-product #product-detail-form .p-image-wrapper{
  flex:0 0 56%!important;
  width:56%!important;
  max-width:600px!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
}

body.type-detail #product-detail-form .p-info-wrapper,
body.type-product #product-detail-form .p-info-wrapper,
.type-detail #product-detail-form .p-info-wrapper,
.type-product #product-detail-form .p-info-wrapper{
  flex:1 1 44%!important;
  width:auto!important;
  max-width:420px!important;
  float:none!important;
  margin:0!important;
  padding:34px 0 0!important;
}

/* ---------- GALERIE ---------- */
body.type-detail .p-image,
body.type-product .p-image,
.type-detail .p-image,
.type-product .p-image{
  height:460px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  border:0!important;
  overflow:hidden!important;
  box-shadow:none!important;
}

body.type-detail .p-image a,
body.type-product .p-image a,
.type-detail .p-image a,
.type-product .p-image a{
  width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
}

body.type-detail .p-image img,
body.type-product .p-image img,
.type-detail .p-image img,
.type-product .p-image img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  transform:scale(1.18)!important;
  transform-origin:center!important;
  transition:transform .3s ease!important;
}

body.type-detail .p-image:hover img,
body.type-product .p-image:hover img,
.type-detail .p-image:hover img,
.type-product .p-image:hover img{
  transform:scale(1.22)!important;
}

body.type-detail .p-thumbnails,
body.type-product .p-thumbnails,
.type-detail .p-thumbnails,
.type-product .p-thumbnails{
  display:flex!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin:12px 0 0!important;
  padding:0!important;
}

body.type-detail .p-thumbnails a,
body.type-product .p-thumbnails a,
.type-detail .p-thumbnails a,
.type-product .p-thumbnails a{
  width:78px!important;
  height:78px!important;
  padding:2px!important;
  border:1px solid var(--rl-line)!important;
  background:#fff!important;
  box-shadow:none!important;
  transition:.2s ease!important;
}

body.type-detail .p-thumbnails a:hover,
body.type-detail .p-thumbnails a.active,
body.type-product .p-thumbnails a:hover,
body.type-product .p-thumbnails a.active,
.type-detail .p-thumbnails a:hover,
.type-detail .p-thumbnails a.active,
.type-product .p-thumbnails a:hover,
.type-product .p-thumbnails a.active{
  border-color:#a17c63!important;
  transform:translateY(-1px)!important;
}

body.type-detail .p-thumbnails img,
body.type-product .p-thumbnails img,
.type-detail .p-thumbnails img,
.type-product .p-thumbnails img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

/* ---------- PRAVÝ NÁKUPNÍ BLOK ---------- */
body.type-detail .p-info-wrapper h1,
body.type-product .p-info-wrapper h1,
.type-detail .p-info-wrapper h1,
.type-product .p-info-wrapper h1{
  margin:0 0 8px!important;
  color:var(--rl-ink)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:44px!important;
  line-height:1.05!important;
  font-weight:500!important;
  letter-spacing:-.45px!important;
}

body.type-detail .p-final-price-wrapper,
body.type-product .p-final-price-wrapper,
.type-detail .p-final-price-wrapper,
.type-product .p-final-price-wrapper{
  margin:0 0 14px!important;
}

body.type-detail .p-final-price,
body.type-detail .price-final,
body.type-product .p-final-price,
body.type-product .price-final,
.type-detail .p-final-price,
.type-detail .price-final,
.type-product .p-final-price,
.type-product .price-final{
  color:var(--rl-ink)!important;
  font-size:33px!important;
  line-height:1.1!important;
  font-weight:700!important;
}

body.type-detail .availability-value,
body.type-product .availability-value,
.type-detail .availability-value,
.type-product .availability-value{
  display:inline-flex!important;
  width:auto!important;
  margin:0 0 18px!important;
  padding:7px 12px!important;
  border:1px solid #dbe5d7!important;
  border-radius:999px!important;
  background:var(--rl-green-bg)!important;
  color:var(--rl-green)!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1!important;
  box-shadow:none!important;
}

body.type-detail .p-short-description,
body.type-product .p-short-description,
.type-detail .p-short-description,
.type-product .p-short-description{
  max-width:420px!important;
  margin:0 0 22px!important;
  color:var(--rl-text)!important;
  font-size:14px!important;
  line-height:1.72!important;
}

body.type-detail .p-short-description p,
body.type-product .p-short-description p,
.type-detail .p-short-description p,
.type-product .p-short-description p{
  margin:0 0 10px!important;
}
body.type-detail .p-short-description strong,
body.type-product .p-short-description strong,
.type-detail .p-short-description strong,
.type-product .p-short-description strong{
  color:var(--rl-ink)!important;
  font-weight:700!important;
}

/* ---------- KOŠÍK ---------- */
body.type-detail .add-to-cart,
body.type-product .add-to-cart,
.type-detail .add-to-cart,
.type-product .add-to-cart{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  margin:8px 0 0!important;
}

body.type-detail .quantity,
body.type-product .quantity,
.type-detail .quantity,
.type-product .quantity{
  height:56px!important;
  min-height:56px!important;
  display:inline-flex!important;
  align-items:center!important;
  border:1px solid #d8cec5!important;
  border-radius:999px!important;
  overflow:hidden!important;
  background:#fff!important;
}

body.type-detail .quantity input,
body.type-product .quantity input,
.type-detail .quantity input,
.type-product .quantity input{
  width:46px!important;
  height:54px!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  color:var(--rl-ink)!important;
  font-size:18px!important;
  font-weight:700!important;
  text-align:center!important;
}

body.type-detail .quantity .increase,
body.type-detail .quantity .decrease,
body.type-product .quantity .increase,
body.type-product .quantity .decrease,
.type-detail .quantity .increase,
.type-detail .quantity .decrease,
.type-product .quantity .increase,
.type-product .quantity .decrease{
  width:38px!important;
  height:54px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  color:#746b64!important;
  font-size:18px!important;
  line-height:1!important;
}

body.type-detail .add-to-cart-button,
body.type-detail button.add-to-cart-button,
body.type-detail .btn-conversion,
body.type-product .add-to-cart-button,
body.type-product button.add-to-cart-button,
body.type-product .btn-conversion,
.type-detail .add-to-cart-button,
.type-detail button.add-to-cart-button,
.type-detail .btn-conversion,
.type-product .add-to-cart-button,
.type-product button.add-to-cart-button,
.type-product .btn-conversion{
  height:56px!important;
  min-height:56px!important;
  min-width:148px!important;
  padding:0 34px!important;
  border:1px solid var(--rl-brown)!important;
  border-radius:999px!important;
  background:var(--rl-brown)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:.2px!important;
  white-space:nowrap!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 9px 20px rgba(83,53,34,.11)!important;
  transition:.2s ease!important;
}

body.type-detail .add-to-cart-button:hover,
body.type-product .add-to-cart-button:hover,
.type-detail .add-to-cart-button:hover,
.type-product .add-to-cart-button:hover{
  background:var(--rl-brown-dark)!important;
  border-color:var(--rl-brown-dark)!important;
  transform:translateY(-1px)!important;
}


body.type-detail .quantity .increase:hover,
body.type-detail .quantity .decrease:hover,
body.type-product .quantity .increase:hover,
body.type-product .quantity .decrease:hover{
  background:#f8f3ee!important;
  color:var(--rl-brown)!important;
}

body.type-detail .quantity input:focus,
body.type-product .quantity input:focus{
  outline:none!important;
  box-shadow:none!important;
}

body.type-detail .add-to-cart-button *,
body.type-product .add-to-cart-button *{
  color:#fff!important;
  font-size:15px!important;
  line-height:1!important;
}

/* ---------- MINI BENEFITY POD KOŠÍKEM ---------- */
.rl-product-highlights{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin:24px 0 0!important;
  padding:20px 0 0!important;
  border-top:1px solid var(--rl-line)!important;
}

.rl-highlight{
  text-align:center!important;
  color:var(--rl-text)!important;
}

.rl-highlight svg{
  width:26px!important;
  height:26px!important;
  display:block!important;
  margin:0 auto 7px!important;
  fill:none!important;
  stroke:#9d7155!important;
  stroke-width:1.5!important;
}

.rl-highlight strong{
  display:block!important;
  margin-bottom:4px!important;
  color:var(--rl-ink)!important;
  font-size:11.5px!important;
  line-height:1.25!important;
}

.rl-highlight span{
  display:block!important;
  color:var(--rl-muted)!important;
  font-size:10px!important;
  line-height:1.35!important;
}

/* ---------- PRYČ S TECHNICKÝM BALASTEM ---------- */
.rl-hidden-product-meta{display:none!important}

body.type-detail .p-info-wrapper .social-buttons,
body.type-detail .p-info-wrapper .social-buttons-wrapper,
body.type-detail .p-info-wrapper .p-socials,
body.type-detail .p-info-wrapper .share,
body.type-product .p-info-wrapper .social-buttons,
body.type-product .p-info-wrapper .social-buttons-wrapper,
body.type-product .p-info-wrapper .p-socials,
body.type-product .p-info-wrapper .share,
.type-detail .p-info-wrapper .social-buttons,
.type-detail .p-info-wrapper .social-buttons-wrapper,
.type-detail .p-info-wrapper .p-socials,
.type-detail .p-info-wrapper .share,
.type-product .p-info-wrapper .social-buttons,
.type-product .p-info-wrapper .social-buttons-wrapper,
.type-product .p-info-wrapper .p-socials,
.type-product .p-info-wrapper .share{
  display:none!important;
}

/* ---------- HLAVNÍ BENEFIT ŘÁDEK ---------- */
body.type-detail .benefitBanner,
body.type-detail .benefit-banners,
body.type-product .benefitBanner,
body.type-product .benefit-banners,
.type-detail .benefitBanner,
.type-detail .benefit-banners,
.type-product .benefitBanner,
.type-product .benefit-banners{
  width:100%!important;
  clear:both!important;
  margin:64px 0 0!important;
  padding:27px 0!important;
  border-top:1px solid var(--rl-line)!important;
  border-bottom:1px solid var(--rl-line)!important;
  background:#fff!important;
}

/* ---------- ZÁLOŽKY ---------- */
body.type-detail .p-detail-tabs-wrapper,
body.type-product .p-detail-tabs-wrapper,
.type-detail .p-detail-tabs-wrapper,
.type-product .p-detail-tabs-wrapper{
  margin-top:18px!important;
}

body.type-detail .shp-tabs-holder,
body.type-product .shp-tabs-holder,
.type-detail .shp-tabs-holder,
.type-product .shp-tabs-holder{
  border-bottom:1px solid var(--rl-line)!important;
}

body.type-detail .shp-tabs-row,
body.type-product .shp-tabs-row,
.type-detail .shp-tabs-row,
.type-product .shp-tabs-row{
  justify-content:center!important;
}

body.type-detail .shp-tab-link,
body.type-product .shp-tab-link,
.type-detail .shp-tab-link,
.type-product .shp-tab-link{
  padding:13px 18px!important;
  border:0!important;
  background:transparent!important;
  color:#8b8179!important;
  font-size:11px!important;
  text-transform:none!important;
}

body.type-detail .shp-tab.active .shp-tab-link,
body.type-product .shp-tab.active .shp-tab-link,
.type-detail .shp-tab.active .shp-tab-link,
.type-product .shp-tab.active .shp-tab-link{
  color:var(--rl-ink)!important;
  border-bottom:1px solid var(--rl-brown)!important;
}

/* ---------- PRÉMIOVÝ POPIS ---------- */
body.type-detail .p-detail-full-width,
body.type-detail .detail-description,
body.type-detail .description-inner,
body.type-product .p-detail-full-width,
body.type-product .detail-description,
body.type-product .description-inner,
.type-detail .p-detail-full-width,
.type-detail .detail-description,
.type-detail .description-inner,
.type-product .p-detail-full-width,
.type-product .detail-description,
.type-product .description-inner{
  max-width:940px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.type-detail .detail-description,
body.type-detail .description-inner,
body.type-product .detail-description,
body.type-product .description-inner,
.type-detail .detail-description,
.type-detail .description-inner,
.type-product .detail-description,
.type-product .description-inner{
  padding-top:48px!important;
  color:var(--rl-text)!important;
  font-family:Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.8!important;
}

.rl-desc-section{
  padding:38px 0!important;
  border-bottom:1px solid var(--rl-line)!important;
  font-family:Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.8!important;
  color:var(--rl-text)!important;
}

.rl-desc-section:first-child{padding-top:0!important}
.rl-desc-section:last-child{border-bottom:0!important}

.rl-desc-section h2{
  margin:0 0 16px!important;
  color:var(--rl-ink)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:29px!important;
  line-height:1.18!important;
  font-weight:500!important;
}

.rl-desc-section p,
.rl-desc-section li{
  margin:0 0 11px!important;
  color:var(--rl-text)!important;
  font-family:Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.8!important;
  font-weight:400!important;
}

/* Vonný profil */
.rl-profile{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin:18px 0 14px!important;
}

.rl-profile-card{
  padding:20px 18px!important;
  background:var(--rl-cream)!important;
  border:1px solid #eee4dc!important;
}

.rl-profile-card small{
  display:block!important;
  margin-bottom:6px!important;
  color:#9d765b!important;
  font-family:Arial,sans-serif!important;
  font-size:9px!important;
  line-height:1.3!important;
  text-transform:uppercase!important;
  letter-spacing:.9px!important;
}

.rl-profile-card strong{
  display:block!important;
  color:var(--rl-ink)!important;
  font-family:Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:600!important;
}

/* Detaily produktu jako karty */
.rl-feature-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:16px!important;
}
.rl-feature{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:54px!important;
  padding:12px 14px!important;
  background:#fff!important;
  border:1px solid var(--rl-line)!important;
}
.rl-feature .dot{
  width:7px!important;
  height:7px!important;
  flex:0 0 7px!important;
  border-radius:50%!important;
  background:var(--rl-gold)!important;
}
.rl-feature span{
  color:var(--rl-text)!important;
  font-size:13px!important;
  line-height:1.4!important;
}

/* Jak pálit jako kroky */
.rl-steps{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:18px!important;
}
.rl-step{
  position:relative!important;
  padding:18px 16px 18px 52px!important;
  background:#fff!important;
  border:1px solid var(--rl-line)!important;
}
.rl-step-num{
  position:absolute!important;
  left:16px!important;
  top:17px!important;
  width:24px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:var(--rl-cream-2)!important;
  color:#7a563f!important;
  font-size:11px!important;
  font-weight:700!important;
}
.rl-step p{
  margin:0!important;
  font-size:13px!important;
  line-height:1.55!important;
}

/* Tip jako callout */
.rl-tip-box{
  position:relative!important;
  padding:24px 24px 24px 62px!important;
  background:var(--rl-cream)!important;
  border:1px solid #eee3da!important;
}
.rl-tip-icon{
  position:absolute!important;
  left:22px!important;
  top:23px!important;
  color:#a57655!important;
  font-size:24px!important;
}
.rl-tip-box p{margin:0!important}

/* related */
body.type-detail .products-related,
body.type-detail .products-block,
body.type-product .products-related,
body.type-product .products-block,
.type-detail .products-related,
.type-detail .products-block,
.type-product .products-related,
.type-product .products-block{
  margin-top:60px!important;
}

body.type-detail .products-related h2,
body.type-detail .products-block h2,
body.type-product .products-related h2,
body.type-product .products-block h2,
.type-detail .products-related h2,
.type-detail .products-block h2,
.type-product .products-related h2,
.type-product .products-block h2{
  color:var(--rl-ink)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:29px!important;
  font-weight:500!important;
  text-align:center!important;
}

/* ---------- TABLET ---------- */
@media(max-width:991px){
  body.type-detail #product-detail-form,
  body.type-product #product-detail-form,
  .type-detail #product-detail-form,
  .type-product #product-detail-form,
  body.type-detail form.pr-action,
  body.type-product form.pr-action,
  .type-detail form.pr-action,
  .type-product form.pr-action{
    gap:40px!important;
  }

  body.type-detail .p-image,
  body.type-product .p-image,
  .type-detail .p-image,
  .type-product .p-image{
    height:390px!important;
  }

  body.type-detail .p-image img,
  body.type-product .p-image img,
  .type-detail .p-image img,
  .type-product .p-image img{
    transform:scale(1.14)!important;
  }

  body.type-detail .p-info-wrapper h1,
  body.type-product .p-info-wrapper h1,
  .type-detail .p-info-wrapper h1,
  .type-product .p-info-wrapper h1{
    font-size:36px!important;
  }
}

/* ---------- MOBIL ---------- */
@media(max-width:767px){
  body.type-detail .content-inner,
  body.type-product .content-inner,
  .type-detail .content-inner,
  .type-product .content-inner{
    padding:0 16px!important;
  }

  body.type-detail #product-detail-form,
  body.type-product #product-detail-form,
  .type-detail #product-detail-form,
  .type-product #product-detail-form,
  body.type-detail form.pr-action,
  body.type-product form.pr-action,
  .type-detail form.pr-action,
  .type-product form.pr-action{
    display:block!important;
    max-width:none!important;
  }

  body.type-detail #product-detail-form .p-image-wrapper,
  body.type-detail #product-detail-form .p-info-wrapper,
  body.type-product #product-detail-form .p-image-wrapper,
  body.type-product #product-detail-form .p-info-wrapper,
  .type-detail #product-detail-form .p-image-wrapper,
  .type-detail #product-detail-form .p-info-wrapper,
  .type-product #product-detail-form .p-image-wrapper,
  .type-product #product-detail-form .p-info-wrapper{
    width:100%!important;
    max-width:none!important;
  }

  body.type-detail .p-image,
  body.type-product .p-image,
  .type-detail .p-image,
  .type-product .p-image{
    height:320px!important;
  }

  body.type-detail .p-image img,
  body.type-product .p-image img,
  .type-detail .p-image img,
  .type-product .p-image img{
    transform:scale(1.08)!important;
  }

  body.type-detail .p-image-wrapper,
  body.type-product .p-image-wrapper,
  .type-detail .p-image-wrapper,
  .type-product .p-image-wrapper{
    margin-bottom:26px!important;
  }

  body.type-detail .p-thumbnails,
  body.type-product .p-thumbnails,
  .type-detail .p-thumbnails,
  .type-product .p-thumbnails{
    justify-content:center!important;
  }

  body.type-detail .p-info-wrapper h1,
  body.type-product .p-info-wrapper h1,
  .type-detail .p-info-wrapper h1,
  .type-product .p-info-wrapper h1{
    font-size:32px!important;
  }

  body.type-detail .add-to-cart,
  body.type-product .add-to-cart,
  .type-detail .add-to-cart,
  .type-product .add-to-cart{
    flex-wrap:wrap!important;
  }

  body.type-detail .add-to-cart-button,
  body.type-product .add-to-cart-button,
  .type-detail .add-to-cart-button,
  .type-product .add-to-cart-button{
    flex:1 1 180px!important;
  }

  .rl-profile,
  .rl-feature-grid,
  .rl-steps{
    grid-template-columns:1fr!important;
  }

  .rl-desc-section h2{
    font-size:25px!important;
  }
}
/* ===== FIX: srovnání plus / minus u množství ===== */
body.type-detail .quantity,
body.type-product .quantity,
.type-detail .quantity,
.type-product .quantity{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:56px!important;
  min-height:56px!important;
}

body.type-detail .quantity input,
body.type-product .quantity input,
.type-detail .quantity input,
.type-product .quantity input{
  width:46px!important;
  height:54px!important;
  line-height:54px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:18px!important;
  font-weight:700!important;
  position:relative!important;
  top:0!important;
}

body.type-detail .quantity .increase,
body.type-detail .quantity .decrease,
body.type-product .quantity .increase,
body.type-product .quantity .decrease,
.type-detail .quantity .increase,
.type-detail .quantity .decrease,
.type-product .quantity .increase,
.type-product .quantity .decrease{
  width:40px!important;
  height:54px!important;
  line-height:54px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:22px!important;
  font-weight:500!important;
  position:relative!important;
  top:-1px!important;
}

body.type-detail .quantity .increase *,
body.type-detail .quantity .decrease *,
body.type-product .quantity .increase *,
body.type-product .quantity .decrease *,
.type-detail .quantity .increase *,
.type-detail .quantity .decrease *,
.type-product .quantity .increase *,
.type-product .quantity .decrease *{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
}

/* =========================================================
   ReLumen – FINAL SAFE QUANTITY FIX
   Srovnané a plně klikatelné − 1 +
   ========================================================= */

body.type-detail .add-to-cart,
body.type-product .add-to-cart,
.type-detail .add-to-cart,
.type-product .add-to-cart{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  flex-wrap:nowrap!important;
}

body.type-detail .quantity,
body.type-product .quantity,
.type-detail .quantity,
.type-product .quantity{
  position:relative!important;
  display:block!important;
  width:128px!important;
  min-width:128px!important;
  max-width:128px!important;
  height:56px!important;
  min-height:56px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d8cec5!important;
  border-radius:999px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* číslo uprostřed */
body.type-detail .quantity input,
body.type-product .quantity input,
.type-detail .quantity input,
.type-product .quantity input{
  position:absolute!important;
  left:40px!important;
  top:0!important;
  width:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--rl-ink)!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:54px!important;
  text-align:center!important;
  box-shadow:none!important;
  z-index:1!important;
  pointer-events:auto!important;
  transform:none!important;
}

/* mínus a plus = velké skutečné klikací plochy */
body.type-detail .quantity .decrease,
body.type-product .quantity .decrease,
.type-detail .quantity .decrease,
.type-product .quantity .decrease,
body.type-detail .quantity .increase,
body.type-product .quantity .increase,
.type-detail .quantity .increase,
.type-product .quantity .increase{
  position:absolute!important;
  top:0!important;
  width:40px!important;
  height:54px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#746b64!important;
  font-size:20px!important;
  font-weight:500!important;
  line-height:54px!important;
  text-align:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  z-index:3!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  transform:none!important;
  box-shadow:none!important;
}

body.type-detail .quantity .decrease,
body.type-product .quantity .decrease,
.type-detail .quantity .decrease,
.type-product .quantity .decrease{
  left:0!important;
  right:auto!important;
}

body.type-detail .quantity .increase,
body.type-product .quantity .increase,
.type-detail .quantity .increase,
.type-product .quantity .increase{
  right:0!important;
  left:auto!important;
}

body.type-detail .quantity .increase *,
body.type-detail .quantity .decrease *,
body.type-product .quantity .increase *,
body.type-product .quantity .decrease *,
.type-detail .quantity .increase *,
.type-detail .quantity .decrease *,
.type-product .quantity .increase *,
.type-product .quantity .decrease *{
  position:static!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  pointer-events:none!important;
  transform:none!important;
}

body.type-detail .quantity .increase:hover,
body.type-detail .quantity .decrease:hover,
body.type-product .quantity .increase:hover,
body.type-product .quantity .decrease:hover,
.type-detail .quantity .increase:hover,
.type-detail .quantity .decrease:hover,
.type-product .quantity .increase:hover,
.type-product .quantity .decrease:hover{
  background:#f8f3ee!important;
  color:var(--rl-brown)!important;
}

body.type-detail .add-to-cart-button,
body.type-detail button.add-to-cart-button,
body.type-detail .btn-conversion,
body.type-product .add-to-cart-button,
body.type-product button.add-to-cart-button,
body.type-product .btn-conversion,
.type-detail .add-to-cart-button,
.type-detail button.add-to-cart-button,
.type-detail .btn-conversion,
.type-product .add-to-cart-button,
.type-product button.add-to-cart-button,
.type-product .btn-conversion{
  height:56px!important;
  min-height:56px!important;
  min-width:154px!important;
  padding:0 34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
}

body.type-detail .add-to-cart-button *,
body.type-product .add-to-cart-button *,
.type-detail .add-to-cart-button *,
.type-product .add-to-cart-button *{
  font-size:15px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

@media(max-width:767px){
  body.type-detail .add-to-cart,
  body.type-product .add-to-cart,
  .type-detail .add-to-cart,
  .type-product .add-to-cart{
    flex-wrap:wrap!important;
  }

  body.type-detail .add-to-cart-button,
  body.type-product .add-to-cart-button,
  .type-detail .add-to-cart-button,
  .type-product .add-to-cart-button{
    flex:1 1 180px!important;
  }
}


/* =========================================================
   ReLumen – V4 fix duplicitních znaků v množství
   ========================================================= */
body.type-detail .quantity .increase,
body.type-detail .quantity .decrease,
body.type-product .quantity .increase,
body.type-product .quantity .decrease,
.type-detail .quantity .increase,
.type-detail .quantity .decrease,
.type-product .quantity .increase,
.type-product .quantity .decrease{
  font-size:0!important;
  color:transparent!important;
}

body.type-detail .quantity .increase *,
body.type-detail .quantity .decrease *,
body.type-product .quantity .increase *,
body.type-product .quantity .decrease *,
.type-detail .quantity .increase *,
.type-detail .quantity .decrease *,
.type-product .quantity .increase *,
.type-product .quantity .decrease *{
  display:none!important;
}

body.type-detail .quantity .decrease::before,
body.type-product .quantity .decrease::before,
.type-detail .quantity .decrease::before,
.type-product .quantity .decrease::before{
  content:'−'!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  font-size:28px!important;
  line-height:1!important;
  font-weight:500!important;
  color:#746b64!important;
}

body.type-detail .quantity .increase::before,
body.type-product .quantity .increase::before,
.type-detail .quantity .increase::before,
.type-product .quantity .increase::before{
  content:'+'!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:500!important;
  color:#746b64!important;
}
/* =========================================================
   ReLumen – V5 mikro-doladění množství
   Symboly + a − o 2 px výš
   ========================================================= */
body.type-detail .quantity .decrease::before,
body.type-product .quantity .decrease::before,
.type-detail .quantity .decrease::before,
.type-product .quantity .decrease::before,
body.type-detail .quantity .increase::before,
body.type-product .quantity .increase::before,
.type-detail .quantity .increase::before,
.type-product .quantity .increase::before{
  transform:translateY(-2px)!important;
}
