/*
 * Pagina de produs – modulele din functions/product-page/ + formularul din add-to-cart/simple.php.
 * Design preluat din pluginul vechi; culorile sunt variabilele de mai jos (paleta temei).
 * Încărcat doar pe pagina de produs (functions/product-page/layout.php).
 */

/* ============ Cadrul paginii (woocommerce/content-single-product.php): galeria + coloana de cumpărare ============ */
.cds-pp-layout { position: relative; display: flex; flex-direction: column; gap: .5rem; width: 100%; max-width: 1456px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.cds-pp-media { display: block; overflow: hidden; }
.cds-pp-summary { display: grid; gap: .44rem; width: 100%; height: fit-content; padding-left: 1.25rem; padding-right: 1.25rem; }
.cds-pp-summary .product_title { font-weight: 700; text-align: left; margin-bottom: 0; }
.cds-desc { margin-bottom: 1rem; }
.cds-desc__txt { margin-bottom: 20px; }
.cds-desc__txt p { font-size: 1rem; line-height: 1.5; }
@media (min-width: 640px) { .cds-desc__txt p { font-size: 1.15rem; } }
@media (max-width: 767px) { .cds-pp-layout { padding-left: 0; padding-right: 0; } }
@media (min-width: 768px) {
	.cds-pp-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4.44rem; }
	.cds-pp-media { position: sticky; top: 150px; height: fit-content; } /* galeria rămâne pe loc la scroll */
}
@media (min-width: 1024px) { .cds-pp-summary { gap: .5rem; padding-left: 0; padding-right: 0; } }
@media (min-width: 1280px) { .cds-pp-layout { margin-top: 1.85rem; } }

/* ============ Stele + recenzii (deasupra titlului) ============ */
.cds-rating { display: inline-flex; align-items: center; margin: 0 0 4px; line-height: 1; color: var(--cds-brand-36) !important; text-decoration: none !important; order: 0; }

.cds-rating:hover .cds-rating__n { text-decoration: underline; text-underline-offset: 3px; }
.cds-rating__stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 2px; }
.cds-rating__stars::before { content: "★★★★★"; }
.cds-rating__stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--cds-r, 100%); overflow: hidden; white-space: nowrap; }

/* ============ Galerie (woocommerce/single-product/product-image.php + assets/js/product-gallery.js) ============ */
.cds-gallery { position: relative; user-select: none; -webkit-user-select: none; }
.cds-stage { position: relative; width: 100%; aspect-ratio: 500 / 492; }
.cds-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; outline: none; }
.cds-track::-webkit-scrollbar { display: none; }
.cds-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
.cds-slide img, .cds-slide video { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: contain; }
.cds-slide[data-type="image"] img { cursor: zoom-in; transition: transform .25s ease; will-change: transform; }
.cds-gallery.is-zoomed .cds-track { overflow: hidden; touch-action: none; }
.cds-slide.is-zoomed img { transform: scale(2.2); cursor: zoom-out; }
.cds-slide.is-panning img { transition: none; }

.cds-badge { position: absolute; z-index: 6; left: 0; top: 16px; padding: 3px 10px; background: var(--cds-amber-75); color: var(--cds-white); font-size: 15px; font-weight: 700; line-height: 1.4; pointer-events: none; }

.cds-arrow { position: absolute; z-index: 5; top: 50%; display: flex; padding: 0; border: 0; line-height: 0; cursor: pointer; transform: translateY(-50%); transition: opacity .2s; }

.cds-arrow:disabled { opacity: .35; cursor: default; }
.cds-gallery.is-zoomed .cds-arrow, .cds-gallery.is-zoomed .cds-dots { opacity: 0; pointer-events: none; }

/* bulinuțele: pastilă translucidă jos, pe mijloc; cea activă se lățește */
.cds-dots { position: absolute; z-index: 5; left: 50%; display: flex; align-items: center; max-width: calc(100% - 24px); border-radius: 999px; transform: translateX(-50%); transition: opacity .2s; }
.cds-dot { position: relative; flex: none; padding: 0; border: 0; border-radius: 999px; cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.cds-dot::before { content: ""; position: absolute; inset: -8px -5px; } /* zonă de atingere mai mare */

.cds-dot:not(.is-active):hover { background: var(--cds-brand-71); }
.cds-dot:focus-visible, .cds-arrow:focus-visible { outline: 2px solid var(--cds-brand-29); outline-offset: 3px; }

/* video */
.cds-gallery-video { cursor: pointer; background: transparent; }
.cds-video-play { position: absolute; top: 50%; left: 50%; z-index: 3; padding: 0; border: 0; background: none; line-height: 0; cursor: pointer; transform: translate(-50%, -50%); }
.cds-video-play svg { width: 56px; height: 56px; color: var(--cds-brand-29); }
.cds-slide--video.has-started .cds-video-play { display: none; }

/* desktop: coloana lipită la scroll trebuie să încapă sub meniul fix (bulinuțele să se vadă).
   --cds-stage-max e calculat în product-gallery.js (fitSticky); pe ecranele obișnuite imaginea ocupă toată coloana. */
@media (min-width: 768px) {
	.cds-stage { width: min(100%, var(--cds-stage-max, 100%)); margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
	.cds-track { scroll-behavior: auto; }
	.cds-slide img, .cds-dot, .cds-arrow, .cds-dots { transition: none; }
}

/* ============ Vânzări 30 zile (sub galerie) ============ */
.cds-sold { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }

.cds-sold__ic { display: flex; flex: none; color: var(--cds-brand-24); }
@media (max-width: 768px) { .cds-sold { margin-top: 12px; } }

/* ============ Pachete ============ */
.cds-pk { display: grid; gap: 12px; margin: 18px 0 14px; }
.cds-pk.has-bottom { margin-bottom: 22px; }
.cds-pk--h { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; padding-top: 10px; }
.cds-pk--v { grid-template-columns: 1fr; }
.cds-pk__card { position: relative; appearance: none; font: inherit; color: var(--cds-brand-24); cursor: pointer; margin: 0; background: var(--cds-white); border: 1.5px solid var(--cds-gray-90); box-sizing: border-box; min-width: 0; text-transform: none; letter-spacing: normal; line-height: 1.2; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.cds-pk__card:hover { border-color: var(--cds-brand-78-2); background: var(--cds-white); }
.cds-pk__card:focus-visible { outline: 3px solid var(--cds-brand-24); outline-offset: 2px; }

.cds-pk__radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--cds-brand-81); background: var(--cds-white); display: flex; align-items: center; justify-content: center; box-sizing: border-box; transition: border-color .2s, background .2s; }
.cds-pk__radio svg { opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.cds-pk__card.is-on .cds-pk__radio { border-color: var(--cds-brand-24); background: var(--cds-brand-24); }
.cds-pk__card.is-on .cds-pk__radio svg { opacity: 1; transform: scale(1); }
.cds-pk__badge { position: absolute; top: -11px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: var(--cds-brand-24); color: var(--cds-white); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; z-index: 1; }
.cds-pk__badge svg { flex: none; }
.cds-pk__tag { position: absolute; bottom: -10px; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: var(--cds-white); border: 1px solid var(--cds-brand-83); color: var(--cds-brand-36); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; z-index: 1; transition: border-color .2s, color .2s; }
.cds-pk__card.is-on .cds-pk__tag { border-color: var(--cds-brand-24); color: var(--cds-brand-24); }
.cds-pk__jars { display: flex; align-items: flex-end; color: var(--cds-brand-24); }
.cds-pk__ic { display: block; height: 28px; width: 20px; transition: transform .25s ease; }
.cds-pk__ic--wide { width: 30px; }
.cds-pk__ic--box { width: 28px; }
.cds-pk__jars b { margin-left: 2px; font-size: 16px; line-height: 1; }
.cds-pk__card.is-on .cds-pk__ic { transform: translateY(-2px); }
.cds-pk__mid { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cds-pk__name { font-size: 16px; font-weight: 800; }
.cds-pk__right { display: flex; flex-direction: column; gap: 4px; }
.cds-pk__total { font-size: 21px; letter-spacing: -.02em; line-height: 1.1; }
.cds-pk__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: 20px; }
.cds-pk__old { font-size: 14px; color: var(--cds-gray-60); text-decoration: line-through; }
.cds-pk__save { padding: 2px 7px; border-radius: 6px; background: var(--cds-sand-95); color: var(--cds-amber-41); font-size: 13px; font-weight: 800; white-space: nowrap; }
.cds-pk__save-s { display: none; }
.cds-pk__std { font-size: 13px; color: var(--cds-gray-60); }

/* orizontal */
.cds-pk--h .cds-pk__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 24px 10px 12px; }
.cds-pk--h.has-bottom .cds-pk__card { padding-bottom: 18px; }
.cds-pk--h .cds-pk__card.is-on { transform: translateY(-3px); }
.cds-pk--h .cds-pk__radio { position: absolute; top: 10px; left: 10px; }
.cds-pk--h .cds-pk__badge, .cds-pk--h .cds-pk__tag { left: 50%; transform: translateX(-50%); }
.cds-pk--h .cds-pk__jars { justify-content: center; gap: 3px; height: 30px; margin-bottom: 6px; }
.cds-pk--h .cds-pk__mid, .cds-pk--h .cds-pk__right { align-items: center; }
.cds-pk--h .cds-pk__right { margin-top: 4px; }
.cds-pk--h .cds-pk__row { justify-content: center; }
.cds-pk--h .cds-pk__foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--cds-gray-93); width: 100%; font-size: 13px; color: var(--cds-brand-36); }

/* vertical */
.cds-pk--v { gap: 14px; padding-top: 6px; }
.cds-pk--v.has-bottom { gap: 20px; }
.cds-pk--v .cds-pk__card { display: grid; grid-template-columns: 18px 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; text-align: left; }
.cds-pk--v.cds-pk--combo .cds-pk__card, .cds-pk--v.cds-pk--kit .cds-pk__card { grid-template-columns: 18px 80px minmax(0, 1fr) auto; }
.cds-pk--v .cds-pk__card.is-on { transform: translateX(2px); }
.cds-pk--v .cds-pk__badge, .cds-pk--v .cds-pk__tag { right: 16px; }
.cds-pk--v .cds-pk__jars { justify-content: center; height: 30px; }
.cds-pk--v .cds-pk__ic { background: var(--cds-white); border-radius: 4px; }
.cds-pk--v .cds-pk__ic + .cds-pk__ic { margin-left: -5px; }
.cds-pk--v .cds-pk__card.is-on .cds-pk__ic { background: var(--cds-gray-96); }
.cds-pk--v .cds-pk__name { font-size: 16px; }
.cds-pk--v .cds-pk__meta { font-size: 14px; color: var(--cds-brand-36); }
.cds-pk--v .cds-pk__right { align-items: flex-end; }
.cds-pk--v .cds-pk__row { justify-content: flex-end; }
.cds-pk--v .cds-pk__total { font-size: 20px; }
.cds-pk--v:not(:has(.cds-pk__jars)) .cds-pk__card { grid-template-columns: 18px minmax(0, 1fr) auto; }

/* tabelul Tiered Price Table rămâne ascuns cât timp e activ selectorul nostru */
body.cds-pk-active .tiered-pricing-wrapper,
body.cds-pk-active .tpt__tiered-pricing,
body.cds-pk-active .tiered-pricing-blocks,
body.cds-pk-active .tiered-pricing-options,
body.cds-pk-active .tiered-pricing-table { display: none !important; }

/* ============ Adaugă în coș (cantitatea în buton) ============ */
.cds-cart { margin: 0; }
.cds-atc { --cds-atc-hover: color-mix(in srgb, var(--cds-atc, var(--cds-brand-24)) 86%, var(--cds-black)); display: flex; align-items: stretch; gap: 0; min-height: 56px; border-radius: 14px; background: var(--cds-atc, var(--cds-brand-24)); overflow: hidden; box-shadow: 0 8px 20px color-mix(in srgb, var(--cds-atc, var(--cds-brand-24)) 35%, transparent); transition: background-color .2s; }
/* hover pe buton → se schimbă culoarea pe tot butonul (inclusiv în jurul cantității) */
.cds-atc:has(.cds-atc__btn:hover) { background: var(--cds-atc-hover); }
.cds-atc__qty { display: flex; align-items: center; flex: none; padding: 0; background: var(--cds-white); }
.cds-atc__step { height: 100%; border: 0; background: none; line-height: 1; cursor: pointer; padding: 0; }
.cds-atc__step:hover { color: var(--cds-brand-24); }
.cds-atc__step:disabled { opacity: .35; cursor: default; }
.cds-atc__input { border: 0 !important; background: none !important; text-align: center; padding: 0 !important; box-shadow: none !important; -moz-appearance: textfield; appearance: textfield; }
.cds-atc__input::-webkit-outer-spin-button, .cds-atc__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cds-atc__btn { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; margin: 0; padding: 0 16px; border: 0; border-radius: 0; background: transparent; color: var(--cds-atc-text, var(--cds-gray-11)); font-size: 17px; font-weight: 800; letter-spacing: normal; text-transform: none; cursor: pointer; }
.cds-atc__btn:hover { background: transparent; color: var(--cds-atc-text, var(--cds-gray-11)); }
.cds-atc__btn.is-loading { opacity: .75; cursor: progress; }
.cds-price { display: flex; align-items: baseline; flex-wrap: wrap; }
.cds-price__now { line-height: 1.1; letter-spacing: -.01em; }

.cds-price__off { align-self: center; padding: 3px 8px; border-radius: 999px; background: var(--cds-sand-95); color: var(--cds-amber-41); font-size: 14px; font-weight: 800; }

/* Beneficii (description.php): bifă discretă aliniată cu primul rând, titlu închis + text */
.cds-ben { display: grid; margin: 0; padding: 0; list-style: none; }
.cds-ben li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.cds-ben__ic { flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

.cds-ben__t { margin: 0; }

.cds-atc__total { white-space: nowrap; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Comandă telefonic / WhatsApp ============ */
.cds-oalt { margin: 14px 0 0; container-type: inline-size; }
.cds-oalt__label { align-items: center; gap: 12px; margin: 0 0 10px; font-size: 14px; color: var(--cds-brand-36); white-space: nowrap; }
.cds-oalt__label::before, .cds-oalt__label::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--cds-gray-93); }

.cds-oalt__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; color: var(--cds-brand-24) !important; text-decoration: none !important; white-space: nowrap; transition: border-color .15s, background .15s; }

.cds-oalt__btn svg { flex: none; }
.cds-oalt__s { display: none; }

/* ============ Livrare · plată · retur ============ */
.cds-shipline { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--cds-gray-96); font-size: 14px; line-height: 1.35; color: var(--cds-brand-36); }
.cds-shipline__ic { flex: none; display: flex; color: var(--cds-brand-24); }
.cds-shipline__txt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cds-shipline .cds-ship__date { font-weight: 600; color: var(--cds-brand-36); }
.cds-shipline__sep { margin: 0 6px; opacity: .6; }
.cds-mon-s { display: none; }
/* pe mobil: fără iconiță, iar textul se micșorează după lățime (rămâne pe un rând, oricât de lungă e data) */
@media (max-width: 480px) {
	.cds-shipline { container-type: inline-size; padding: 9px 12px; }
	.cds-shipline__ic { display: none; }
	.cds-shipline__txt { font-size: clamp(10.5px, 3.55cqi, 14px); }
	.cds-shipline .cds-mon { display: none; }
	.cds-shipline .cds-mon-s { display: inline; }
	.cds-shipline__sep { margin: 0 4px; }
}
.cds-trow { list-style: none; margin: 14px 0 0; padding: 14px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--cds-gray-93); border-bottom: 1px solid var(--cds-gray-93); }
.cds-trow--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cds-trow--1 { grid-template-columns: minmax(0, 1fr); }
.cds-trow--1 .cds-trow__item { padding: 0; } /* o singură coloană: pe toată lățimea, de la stânga */
.cds-trow__item { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 10px; min-width: 0; }
.cds-trow__item + .cds-trow__item { border-left: 1px solid var(--cds-gray-93); }
.cds-trow__item:first-child { padding-left: 0; }
.cds-trow__ic { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cds-gray-95-2); color: var(--cds-brand-24); display: flex; align-items: center; justify-content: center; }
.cds-trow__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cds-trow__txt strong { font-size: 14px; line-height: 1.25; font-weight: 700; color: var(--cds-brand-24); }
.cds-trow__txt small { font-size: 13px; line-height: 1.3; color: var(--cds-brand-36); }

/* ============ Notificare + analiză laborator ============ */
.cds-cert { position: relative; display: grid; grid-template-columns: 1fr; margin-top: 18px; padding: 14px 18px; border: 1px solid var(--cds-gray-93); border-radius: 14px; background: var(--cds-white); }
.cds-cert.is-split { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); column-gap: 18px; }
.cds-cert__div { align-self: stretch; width: 1px; margin: 4px 0; background: linear-gradient(to bottom, rgba(26, 77, 46, 0), var(--cds-brand-87-2) 18%, var(--cds-brand-87-2) 82%, rgba(26, 77, 46, 0)); }
.cds-cert__half { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cds-cert__icon { flex: 0 0 30px; width: 30px; height: 30px; color: var(--cds-brand-24); }
.cds-cert__icon svg { display: block; width: 100%; height: 100%; }
.cds-cert__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--cds-brand-36); }
.cds-cert__txt strong { font-size: 15px; color: var(--cds-brand-24); font-weight: 700; line-height: 1.3; }
.cds-cert__sub { overflow-wrap: anywhere; }
.cds-cert__link { margin-top: 3px; background: none; border: 0; padding: 2px 0; color: var(--cds-brand-24); font-size: 14px; font-weight: 700; font-family: inherit; line-height: 1.3; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; text-transform: none; letter-spacing: normal; min-height: 24px; }
.cds-cert__link:hover { color: var(--cds-brand-24); background: none; }

/* ============ Acordeon (Detalii produs + casete text) ============ */
.cds-acc { margin-top: 22px; border-top: 1px solid var(--cds-gray-93); }
.cds-acc__item { border-bottom: 1px solid var(--cds-gray-93); }
.cds-acc__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; line-height: 1.3; text-transform: none; letter-spacing: normal; }
.cds-acc__head:hover { color: var(--cds-brand-24); }
.cds-acc__head:focus-visible { outline: 3px solid var(--cds-brand-24); outline-offset: 2px; border-radius: 4px; }
.cds-acc__chev { flex: none; color: var(--cds-brand-24); transition: transform .25s ease; }
.cds-acc__item.is-open .cds-acc__chev { transform: rotate(180deg); }
.cds-acc__body[hidden] { display: none; }
.cds-acc__in { padding: 0 2px 18px; font-size: 14.5px; line-height: 1.6; color: var(--cds-brand-12); }
.cds-acc__in p { margin: 0 0 10px; }
.cds-acc__in p:last-child { margin-bottom: 0; }
.cds-info { list-style: none; margin: 0; padding: 0; display: grid; }
.cds-info li { margin: 0; }
.cds-info strong { color: var(--cds-brand-24); font-weight: 700; }
.cds-info__ic { flex: none; width: 20px; color: var(--cds-brand-24); }

/* ============ Frecvent cumpărat împreună cu ============ */
.cds-fbt { margin-top: 26px; }
.cds-fbt__title { margin: 0 0 12px; line-height: 1.25; }
.cds-fbt__card { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; }
.cds-fbt__card + .cds-fbt__card { margin-top: 10px; }
.cds-fbt__img { display: block; overflow: hidden; }
.cds-fbt__img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cds-fbt__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cds-fbt__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--cds-brand-12); }
.cds-fbt__rating em { font-style: italic; }
.cds-fbt__stars { position: relative; display: inline-flex; color: var(--cds-brand-87-2); }
.cds-fbt__stars svg { flex: none; width: 15px; height: 15px; fill: currentColor; } /* fără flex: none, stelele colorate se strâng și nu mai stau peste cele gri */
.cds-fbt__stars-on { position: absolute; inset: 0; display: inline-flex; width: var(--cds-r, 100%); overflow: hidden; color: var(--cds-amber-73); }
.cds-fbt__name { line-height: 1.25; color: var(--cds-brand-24) !important; text-decoration: none !important; }
.cds-fbt__name:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.cds-fbt__text { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cds-fbt__price { margin: 2px 0 0; }
.cds-fbt__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font: inherit; white-space: nowrap; text-decoration: none !important; cursor: pointer; transition: background .15s; }

.cds-fbt__btn:disabled { opacity: .7; cursor: progress; }
@media (max-width: 480px) {
	.cds-fbt__card { grid-template-columns: 72px minmax(0, 1fr); }

	.cds-fbt__btn { grid-column: 1 / -1; width: 100%; }

}

/* ============ Mesaj pentru admin (pachete) ============ */
.cds-pk-admin { margin: 12px 0; padding: 12px 14px; border: 1px dashed var(--cds-amber-60); border-radius: 10px; background: var(--cds-sand-99); color: var(--cds-amber-31); font-size: 14px; line-height: 1.45; }
.cds-pk-admin ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }

/* lightbox (o imagine sau mai multe, cu săgeți) */
.cds-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(8, 20, 12, .88); display: none; align-items: center; justify-content: center; padding: 20px; }
.cds-lb.is-open { display: flex; }
.cds-lb__img { max-width: calc(92vw / var(--cds-z, 1)); max-height: calc(86vh / var(--cds-z, 1)); object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); background: var(--cds-white); }
.cds-lb__close { position: absolute; top: 12px; right: 18px; width: 44px; height: 44px; font-size: 36px; line-height: 1; color: var(--cds-white); background: none; border: 0; cursor: pointer; }
.cds-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--cds-brand-24); font-size: 22px; font-weight: 700; cursor: pointer; display: none; align-items: center; justify-content: center; }
.cds-lb__nav--prev { left: 14px; }
.cds-lb__nav--next { right: 14px; }
.cds-lb.is-multi .cds-lb__nav { display: flex; }
.cds-lb__count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: var(--cds-white); font-size: 14px; font-weight: 600; display: none; }
.cds-lb.is-multi .cds-lb__count { display: block; }

/* ============ Mobil ============ */
@media (max-width: 768px) {
	.cds-pk { margin-top: 14px; }
	.cds-pk--h { gap: 8px; }
	.cds-pk--h .cds-pk__card { padding: 22px 6px 10px; border-radius: 14px; gap: 3px; }
	.cds-pk--h.has-bottom .cds-pk__card { padding-bottom: 16px; }
	.cds-pk--h .cds-pk__radio { top: 8px; left: 8px; width: 16px; height: 16px; }
	.cds-pk__badge { font-size: 9px; padding: 3px 7px; top: -10px; letter-spacing: .04em; gap: 3px; }
	.cds-pk__badge svg { width: 10px; height: 10px; }
	.cds-pk--h .cds-pk__badge { max-width: calc(100% + 6px); font-size: 8.5px; padding: 3px 6px; letter-spacing: .01em; }
	.cds-pk--h .cds-pk__badge svg { display: none; }
	.cds-pk__tag { font-size: 8.5px; padding: 2px 7px; bottom: -9px; letter-spacing: .06em; }
	.cds-pk--h .cds-pk__jars { height: 24px; margin-bottom: 4px; gap: 2px; }
	.cds-pk--h .cds-pk__ic { height: 21px; width: 15px; }
	.cds-pk--h .cds-pk__ic--wide { width: 22px; }
	.cds-pk--h .cds-pk__ic--box { width: 21px; }
	.cds-pk--h .cds-pk__name { font-size: 14px; }
	.cds-pk--h .cds-pk__total { font-size: 17px; }
	.cds-pk__old { font-size: 12px; }
	.cds-pk__std { font-size: 12px; }
	.cds-pk--h .cds-pk__save { font-size: 12px; padding: 1px 5px; }
	.cds-pk__save-l { display: none; }
	.cds-pk__save-s { display: inline; }
	.cds-pk--h .cds-pk__foot { font-size: 12px; padding-top: 6px; }
	.cds-pk--v { gap: 12px; }
	.cds-pk--v.has-bottom { gap: 18px; }
	.cds-pk--v .cds-pk__card { grid-template-columns: 18px 50px minmax(0, 1fr) auto; gap: 10px; padding: 13px 12px; border-radius: 14px; }
	.cds-pk--v.cds-pk--combo .cds-pk__card, .cds-pk--v.cds-pk--kit .cds-pk__card { grid-template-columns: 18px 62px minmax(0, 1fr) auto; }
	.cds-pk--v .cds-pk__badge, .cds-pk--v .cds-pk__tag { right: 12px; }
	.cds-pk--v .cds-pk__jars { height: 24px; }
	.cds-pk--v .cds-pk__ic { height: 23px; width: 16px; }
	.cds-pk--v .cds-pk__ic--wide { width: 24px; }
	.cds-pk--v .cds-pk__ic--box { width: 23px; }
	.cds-pk--v .cds-pk__ic + .cds-pk__ic { margin-left: -4px; }
	.cds-pk--v .cds-pk__name { font-size: 15px; }
	.cds-pk--v .cds-pk__meta { font-size: 13px; }
	.cds-pk--v .cds-pk__total { font-size: 17px; }
	.cds-pk--v .cds-pk__save { font-size: 12px; padding: 1px 6px; }

	.cds-atc { min-height: 52px; }

	.cds-atc__btn { font-size: 16px; padding: 0 10px; }

	.cds-trow { padding: 12px 0; }
	.cds-trow__item { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 0 6px; text-align: center; }
	.cds-trow__item:first-child { padding-left: 6px; }
	.cds-trow--1 .cds-trow__item { flex-direction: row; gap: 10px; padding: 0; text-align: left; }
	.cds-trow__ic { width: 32px; height: 32px; }
	.cds-trow__ic svg { width: 17px; height: 17px; }
	.cds-trow__txt strong { font-size: 13px; }
	.cds-trow__txt small { font-size: 12px; }
	.cds-oalt__btn { gap: 7px; padding: 0 8px; }
	.cds-oalt__btn svg { width: 17px; height: 17px; }
}
@media (max-width: 600px) {
	.cds-cert { padding: 14px 12px; }
	.cds-cert.is-split { column-gap: 12px; }
	.cds-cert.is-split .cds-cert__half { flex-direction: column; align-items: flex-start; gap: 8px; }
	.cds-cert__icon { flex-basis: 26px; width: 26px; height: 26px; }
	.cds-cert__txt { font-size: 13px; }
	.cds-cert__txt strong { font-size: 14px; }
	.cds-cert__link { font-size: 14px; }
}
/* butoanele telefon / WhatsApp: textul scurt („Sună acum” / „WhatsApp”) când rândul e îngust, oricare ar fi ecranul */
@container (max-width: 480px) {
	.cds-oalt__l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.cds-oalt__s { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
	.cds-pk__card, .cds-pk__radio svg, .cds-pk__ic { transition: none; }
	.cds-pk__card.is-on { transform: none !important; }
}

/* =====================================================================
 * DESIGN AUVIA (Claude Design, 2026) – zona de produs (stratul final).
 * Culori: assets/css/palette.css (text --cds-brand-12, secundar --cds-brand-36 / 54, verde --cds-brand-24, linii --cds-gray-93 / 90, deschis --cds-gray-96).
 * ===================================================================== */

/* galerie: colțuri drepte, săgeți albe, pastilă albă cu bulinuțe */
.cds-stage { overflow: hidden; border-radius: 0; background: var(--cds-gray-93); }
.cds-arrow { width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(0, 40, 25, .1); }
.cds-arrow::before { content: ""; width: 10px; height: 10px; border-left: 2px solid var(--cds-brand-24); border-bottom: 2px solid var(--cds-brand-24); transform: translateX(2px) rotate(45deg); }
.cds-next::before { transform: translateX(-2px) rotate(-135deg); }
.cds-prev { left: 14px; }
.cds-next { right: 14px; }
.cds-dots { bottom: 16px; gap: 8px; padding: 8px 12px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 2px 10px rgba(0, 40, 25, .08); }
.cds-dot { width: 8px; height: 8px; background: var(--cds-brand-83-3); }
.cds-dot.is-active { width: 24px; background: var(--cds-brand-12); }
/* „X bucăți vândute”: sub galerie, pastilă în gradient verde deschis, cu punct care pulsează */
.cds-sold { width: 100%; max-width: none; margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; background: linear-gradient(90deg, var(--cds-gray-96) 0%, var(--cds-brand-92) 100%); color: var(--cds-brand-12); font-size: 14px; font-weight: 400; line-height: 1.45; }
.cds-sold strong { font-weight: 600; color: var(--cds-brand-24); }
.cds-sold__ic { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cds-brand-57); box-shadow: 0 0 0 4px rgba(31, 157, 99, .15); animation: cdsPulse 2s ease-in-out infinite; }
.cds-sold__ic svg { display: none; }
@keyframes cdsPulse { 50% { box-shadow: 0 0 0 7px rgba(31, 157, 99, .06); } }

/* info: stele, titlu, descriere, beneficii */
.cds-rating { gap: 8px; font-size: 14px; color: var(--cds-brand-36); }
.cds-rating__stars { color: var(--cds-gray-93); font-size: 15px; }
.cds-rating__stars::after { color: var(--cds-amber-71); }
.cds-rating strong { font-weight: 500; color: var(--cds-brand-12); }
.single-product .summary .product_title, .single-product h1.product_title { margin: 0; font-size: clamp(20px, 1.45vw, 22px) !important; line-height: 1.4 !important; font-weight: 600 !important; letter-spacing: -.005em; color: var(--cds-brand-12); text-wrap: pretty; }
.cds-desc p { font-size: 16px !important; line-height: 1.7 !important; color: var(--cds-brand-36); }
.cds-desc p b, .cds-desc p strong { color: var(--cds-brand-12); }
.cds-ben { gap: 12px; }
.cds-ben__ic { width: 20px; height: 20px; margin-top: 2px; background: linear-gradient(150deg, var(--cds-brand-37) 0%, var(--cds-brand-24) 100%); color: var(--cds-white); }
.cds-ben__ic svg { width: 11px; height: 11px; }
.cds-ben__t { font-size: 16px; line-height: 1.6; color: var(--cds-brand-12); }
.cds-ben__t strong, .cds-ben__t b { font-weight: 600; color: var(--cds-brand-12); }

/* preț + pachete */
.cds-price { gap: 4px 10px; margin: 8px 0 14px; }
.cds-price__now { font-size: 26px; font-weight: 600; color: var(--cds-brand-24); }
.cds-price__now small { font-size: 1em; font-weight: 600; }
.cds-price__old { font-size: 15px; color: var(--cds-brand-54); }
.cds-pk__card { border-width: 1.5px; border-color: var(--cds-gray-90); border-radius: 14px; box-shadow: none; }
.cds-pk__card.is-on { border-color: var(--cds-brand-24); background: var(--cds-gray-96); box-shadow: none; }
.cds-pk__badge, .cds-pk__tag { background: var(--cds-brand-24); color: var(--cds-white); border-color: var(--cds-brand-24); font-weight: 500; }
.cds-pk__total { color: var(--cds-brand-24); font-weight: 600; }

/* cantitate separată + buton verde (gradient din culoarea din „Setări magazin”) */
.cds-atc, .cds-atc:has(.cds-atc__btn:hover) { gap: 10px; min-height: 54px; border-radius: 0; background: none; overflow: visible; box-shadow: none; }
.cds-atc__qty { margin: 0; height: 54px; border: 1px solid var(--cds-gray-90); border-radius: 12px; }
.cds-atc__step { width: 34px; min-height: 0; font-size: 18px; font-weight: 400; color: var(--cds-brand-36); }
.cds-atc__input { width: 24px; font-size: 16px; font-weight: 500; color: var(--cds-brand-12); }
.cds-atc__btn, .cds-atc__btn:hover { height: 54px; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--cds-atc, var(--cds-brand-24)) 80%, var(--cds-atc-tint, var(--cds-brand-59))) 0%, var(--cds-atc, var(--cds-brand-24)) 60%, color-mix(in srgb, var(--cds-atc, var(--cds-brand-24)) 82%, var(--cds-black)) 100%); color: var(--cds-atc-text, var(--cds-white)); font-size: 16px; font-weight: 500; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--cds-atc, var(--cds-brand-24)) 55%, transparent); transition: filter .15s; }
.cds-atc__btn:hover { filter: brightness(1.08); }
.cds-atc__total { font-weight: 500; }

/* comandă telefonic / WhatsApp: două butoane cu chenar */
.cds-oalt__label { display: none; }
.cds-oalt__btns { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; } /* telefon + WhatsApp mereu pe un rând */
.cds-oalt__btn { height: 46px; min-height: 0; border: 1px solid var(--cds-gray-90); border-radius: 12px; background: var(--cds-white); color: var(--cds-brand-12); font-size: 15px; font-weight: 500; }
.cds-oalt__btn:hover { border-color: var(--cds-brand-24); color: var(--cds-brand-24); background: var(--cds-white); }

/* card: livrare sus, notificat / testat jos */
.cds-tc { overflow: hidden; margin-top: 4px; border: 1px solid var(--cds-gray-93); border-radius: 16px; }
.cds-tc .cds-trow { margin: 0; padding: 0; border: 0; }
.cds-tc .cds-trow__item { padding: 16px 18px; gap: 14px; }
.cds-tc .cds-trow__item + .cds-trow__item { border-left: 1px solid var(--cds-gray-93); }
.cds-tc .cds-trow__ic, .cds-tc .cds-cert__icon { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: var(--cds-gray-95-2); color: var(--cds-brand-24); display: flex; align-items: center; justify-content: center; }
.cds-tc .cds-cert__icon svg { width: 20px; height: 20px; }
.cds-tc .cds-trow__txt strong, .cds-tc .cds-cert__txt strong { font-size: 15px; font-weight: 500; color: var(--cds-brand-12); }
.cds-tc .cds-trow__txt small, .cds-tc .cds-cert__sub { font-size: 14px; color: var(--cds-brand-36); }
.cds-tc .cds-cert { margin: 0; padding: 0; border: 0; border-radius: 0; border-top: 1px solid var(--cds-gray-93); }
.cds-tc .cds-trow + .cds-cert { border-top: 1px solid var(--cds-gray-93); }
.cds-tc > .cds-cert:first-child { border-top: 0; }
.cds-tc .cds-cert.is-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; }
.cds-tc .cds-cert__div { display: none; }
.cds-tc .cds-cert__half { gap: 14px; padding: 16px 18px; }
.cds-tc .cds-cert.is-split .cds-cert__half + .cds-cert__half { border-left: 1px solid var(--cds-gray-93); }
.cds-tc .cds-cert__link { margin-top: 0; min-height: 0; padding: 0; font-size: 14px; font-weight: 400; color: var(--cds-brand-24); }

/* „Iubit de clienți” (video-testimoniale) */
.vtb-vr { padding-left: 0 !important; padding-right: 0 !important; }
.vtb-vr__title { font-size: 16px !important; font-weight: 600 !important; color: var(--cds-brand-12) !important; }
.vtb-vr__grid { gap: 10px !important; }
.vtb-vr__tile { border-radius: 14px !important; aspect-ratio: 9 / 16; background: var(--cds-gray-93) !important; }

/* acordeon: rânduri cheie / valoare, linii punctate */
.cds-acc__head { padding: 17px 0; font-size: 16px; font-weight: 500; color: var(--cds-brand-12); }
.cds-acc__item { border-color: var(--cds-gray-93); }
.cds-info__ic { display: none; }
.cds-info { gap: 0; }
.cds-info li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-top: 1px dashed var(--cds-gray-93); font-size: 14.5px; line-height: 1.5; color: var(--cds-brand-36); }
.cds-info__k { flex: 1 1 auto; }
.cds-info li strong, .cds-info b { font-weight: 500; color: var(--cds-brand-12); text-align: right; }

/* „Produs complementar” */
.cds-fbt__title { font-size: 16px; font-weight: 600; color: var(--cds-brand-12); }
.cds-fbt__card { gap: 16px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--cds-gray-96); box-shadow: none; }
.cds-fbt__img { width: 64px; height: 84px; border-radius: 10px; background: var(--cds-white); }
.cds-fbt__name { font-size: 16px; font-weight: 500; color: var(--cds-brand-12); }
.cds-fbt__text { font-size: 14px; line-height: 1.5; color: var(--cds-brand-36); }
.cds-fbt__price { font-size: 14px; font-weight: 500; color: var(--cds-brand-24); }
.cds-fbt__btn { padding: 10px 18px; border: 1px solid var(--cds-brand-24); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 500; }
.cds-fbt__btn:hover { background: var(--cds-brand-24); }

/* bara fixă de cumpărare (desktop + mobil) */
.cds-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: block; padding: 0; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--cds-gray-93); box-shadow: 0 -6px 24px rgba(0, 40, 25, .08); transform: translateY(110%); transition: transform .25s ease; }
.cds-sticky.is-on { transform: translateY(0); }
.cds-sticky__in { display: flex; align-items: center; gap: 14px; max-width: 1360px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 48px) calc(10px + env(safe-area-inset-bottom)); }
.cds-sticky__img { flex: none; width: 40px; height: 48px; object-fit: cover; border-radius: 8px; }
.cds-sticky__info { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.cds-sticky__name { font-size: 15px; font-weight: 500; color: var(--cds-brand-12); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cds-sticky__meta { font-size: 14px; color: var(--cds-brand-36); }
.cds-sticky__qty { flex: none; display: flex; align-items: center; height: 46px; border: 1px solid var(--cds-gray-90); border-radius: 12px; background: var(--cds-white); }
.cds-sticky__qty button { width: 36px; height: 100%; padding: 0; border: 0; background: none; font-size: 17px; color: var(--cds-brand-36); cursor: pointer; }
.cds-sticky__qty span { width: 20px; text-align: center; font-size: 15px; font-weight: 500; }
.cds-sticky__btn { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 46px; min-height: 0; padding: 0 clamp(14px, 2vw, 24px); border: 0; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--cds-atc, var(--cds-brand-24)) 80%, var(--cds-atc-tint, var(--cds-brand-59))) 0%, var(--cds-atc, var(--cds-brand-24)) 60%, color-mix(in srgb, var(--cds-atc, var(--cds-brand-24)) 82%, var(--cds-black)) 100%); color: var(--cds-atc-text, var(--cds-white)); line-height: 1.25; cursor: pointer; }
.cds-sticky__btn span { font-size: 15px; font-weight: 500; white-space: nowrap; }
.cds-sticky__btn small { font-size: 13px; opacity: .8; white-space: nowrap; }
@media (max-width: 639px) {
	.cds-sticky__info { display: none; }
	.cds-sticky__btn { flex: 1 1 auto; min-width: 0; }
}

/* coloana galeriei: lipită sub header-ul sticky (design: top 150px) */
.cds-price [hidden] { display: none !important; }
/* spațiu între produs și prima secțiune, la fel ca între secțiuni */
.single-product div.prod { margin-bottom: clamp(36px, 4vw, 56px) !important; }
/* galeria se lipește doar când pagina e pe 2 coloane (≥768px); sub, conținutul nu mai trece peste ea */
/* „Vezi produsul” (produs complementar): text verde pe fundal transparent, alb la hover */
.cds-fbt__btn { color: var(--cds-brand-24) !important; }
.cds-fbt__btn:hover { color: var(--cds-white) !important; }
/* Notificat / Testat: cele două jumătăți centrate pe verticală, chiar dacă au număr diferit de rânduri */
.cds-tc .cds-cert.is-split { align-items: stretch; }
.cds-tc .cds-cert__half { align-items: center; }
/* pe tabletă / laptop mic coloana din dreapta e îngustă: pe carduri doar „−X%” */
@media (min-width: 768px) and (max-width: 1279px) {
	.cds-pk__save-l { display: none; }
	.cds-pk__save-s { display: inline; }
}
