/* ONLINOVO – tlačidlá v1 (december 2026)
   Samostatný blok do Záhlavia. Nič existujúce nahrádzať ani mazať.
   Platí LEN na produktovej stránke (body.type-product).
   Výplň #0a7aa8 je tmavší odtieň palety (#26b2ed), aby biely text spĺňal WCAG AA 4,5:1
   (biela na #26b2ed má pomer 2,42:1, čo AA nespĺňa). Hover #08668c. */
body.type-product {
  --ono-btn-fill: #0a7aa8;
  --ono-btn-fill-hover: #08668c;
  --ono-btn-ink: #1d1d2b;
  --ono-btn-muted: #6b6f80;
  --ono-btn-line: #d5d7e0;
  --ono-btn-radius: 999px;
  --ono-card-radius: 20px;
  --ono-shadow: 0 1px 2px rgba(29, 29, 43, .05), 0 6px 18px rgba(29, 29, 43, .06);
}

/* 1) Hlavné tlačidlo Pridať do košíka – pilulka s výplňou */
body.type-product .p-detail .add-to-cart .add-to-cart-button,
body.type-product .p-detail .btn.btn-lg.btn-conversion.add-to-cart-button,
html.opdp-on body.type-product #product-detail-form .add-to-cart button.btn.btn-lg.btn-conversion.add-to-cart-button,
html.opdp-on body.type-product #product-detail-form .add-to-cart button.add-to-cart-button,
body.type-product #product-detail-form .add-to-cart button.btn.btn-lg.btn-conversion.add-to-cart-button {
  background: var(--ono-btn-fill) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: var(--ono-btn-radius) !important;
  min-height: 52px !important;
  font-weight: 700 !important;
  letter-spacing: .2px;
  box-shadow: 0 4px 14px rgba(10, 122, 168, .28) !important;
}

body.type-product .p-detail .add-to-cart .add-to-cart-button:hover,
body.type-product .p-detail .btn.btn-lg.btn-conversion.add-to-cart-button:hover,
html.opdp-on body.type-product #product-detail-form .add-to-cart button.btn.btn-lg.btn-conversion.add-to-cart-button:hover,
html.opdp-on body.type-product #product-detail-form .add-to-cart button.add-to-cart-button:hover,
body.type-product #product-detail-form .add-to-cart button.btn.btn-lg.btn-conversion.add-to-cart-button:hover {
  background: var(--ono-btn-fill-hover) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* 2) Množstvo – tenký rámik, zaoblená pilulka */
body.type-product .p-detail .add-to-cart .quantity,
html.opdp-on body.type-product #product-detail-form .add-to-cart .quantity,
body.type-product #product-detail-form .add-to-cart .quantity {
  border: 1px solid var(--ono-btn-line) !important;
  border-radius: var(--ono-btn-radius) !important;
  background: #fff !important;
  overflow: hidden;
  box-shadow: none !important;
}

body.type-product .p-detail .add-to-cart .quantity .increase,
body.type-product .p-detail .add-to-cart .quantity .decrease {
  background: #fff !important;
  border-left: 1px solid var(--ono-btn-line) !important;
  border-top-color: var(--ono-btn-line) !important;
}

body.type-product .p-detail .add-to-cart .quantity .increase:hover,
body.type-product .p-detail .add-to-cart .quantity .decrease:hover {
  background: rgba(10, 122, 168, .12) !important;
}

body.type-product .p-detail .add-to-cart .quantity input.amount,
body.type-product .p-detail .add-to-cart .quantity input {
  background: transparent !important;
  border: 0 !important;
}

/* 3) Karty balenia – tenký rámik; aktívny ako vyplnená pilulka */
body.type-product .p-detail .opdp-path,
body.type-product .opdp-path {
  border-radius: var(--ono-card-radius) !important;
  border: 1px solid var(--ono-btn-line) !important;
  background: #fff !important;
  box-shadow: var(--ono-shadow) !important;
  color: var(--ono-btn-muted) !important;
}

body.type-product .p-detail .opdp-path:hover,
body.type-product .opdp-path:hover {
  border-color: var(--ono-btn-fill) !important;
}

body.type-product .p-detail .opdp-path.sel,
body.type-product .opdp-path.sel {
  border-color: var(--ono-btn-fill) !important;
  background: var(--ono-btn-fill) !important;
  box-shadow: 0 4px 14px rgba(10, 122, 168, .28) !important;
  color: #fff !important;
}

body.type-product .p-detail .opdp-path.sel b,
body.type-product .p-detail .opdp-path.sel .pp,
body.type-product .p-detail .opdp-path.sel small,
body.type-product .opdp-path.sel b,
body.type-product .opdp-path.sel .pp,
body.type-product .opdp-path.sel small {
  color: #fff !important;
}

body.type-product .p-detail .opdp-path.sel .pp s,
body.type-product .opdp-path.sel .pp s {
  color: #fff !important;
  opacity: 1;
}

body.type-product .p-detail .opdp-path.sel .opdp-tag,
body.type-product .opdp-path.sel .opdp-tag {
  background: #fff !important;
  color: var(--ono-btn-fill) !important;
}

body.type-product .p-detail .opdp-path.sel .opdp-pic,
body.type-product .opdp-path.sel .opdp-pic {
  background: rgba(255, 255, 255, .92) !important;
}

body.type-product .p-detail .opdp-path.tst,
body.type-product .opdp-path.tst {
  border-style: dashed !important;
}

body.type-product .p-detail .opdp-path.sel.tst,
body.type-product .opdp-path.sel.tst {
  border-style: solid !important;
}

/* Vypredaný variant: nemeníme pravidlo opacity z existujúceho skriptu detailu */

/* 4) Vedľajšie odkazy (tlač, opýtať sa, strážiť, zdieľať) – tenký rámik */
body.type-product .p-detail .link-icons .link-icon {
  border: 1px solid var(--ono-btn-line);
  border-radius: var(--ono-btn-radius);
  background: #fff;
  padding: 6px 12px 6px 10px;
  margin-right: 8px;
  margin-bottom: 8px;
  line-height: 1.2;
}

body.type-product .p-detail .link-icons .link-icon:hover {
  border-color: var(--ono-btn-fill);
  color: var(--ono-btn-fill);
  text-decoration: none;
}

/* 5) Biela karta s jemným tieňom okolo výberu balenia a FAQ */
body.type-product .p-detail .opdp {
  background: #fff;
  border-radius: var(--ono-card-radius);
  box-shadow: var(--ono-shadow);
  padding: 14px 16px 16px;
  margin-top: 8px;
  margin-bottom: 8px;
}

body.type-product .p-detail .opdp-faq details {
  border-radius: 16px !important;
  border: 1px solid var(--ono-btn-line) !important;
  background: #fff;
  box-shadow: 0 1px 2px rgba(29, 29, 43, .04);
}

/* Vedľajšie tlačidlá v detaile (hodnotenie, komentár) – obrys, nie výplň */
body.type-product .p-detail .btn.btn-secondary,
body.type-product .p-detail .btn.btn-sm.btn-secondary {
  background: #fff !important;
  color: var(--ono-btn-ink) !important;
  border: 1px solid var(--ono-btn-line) !important;
  border-radius: var(--ono-btn-radius) !important;
  box-shadow: none !important;
}

body.type-product .p-detail .btn.btn-secondary:hover,
body.type-product .p-detail .btn.btn-sm.btn-secondary:hover {
  background: #fff !important;
  border-color: var(--ono-btn-fill) !important;
  color: var(--ono-btn-fill) !important;
}

body.type-product .p-detail .btn.btn-sm.btn-primary {
  background: var(--ono-btn-fill) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: var(--ono-btn-radius) !important;
}
