
/* === Celindra UI cleanup overrides — 2026-04-28 === */
/* Lists: clean dot-bullet everywhere */
body.celindra-os .cos-list{margin:14px 0 0!important;padding:0!important;display:grid!important;gap:0!important;list-style:none!important}
body.celindra-os .cos-list li{position:relative!important;padding:10px 0 10px 22px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#3b4658;font-size:14.5px;line-height:1.55;list-style:none!important}
body.celindra-os .cos-list li::before{content:""!important;position:absolute!important;left:2px!important;top:17px!important;width:6px!important;height:6px!important;border-radius:50%!important;background:var(--cos-cobalt)!important;box-shadow:0 0 0 3px rgba(0,71,255,0.14)!important}
body.celindra-os .cos-list li+li{margin-top:0!important;border-top:1px solid rgba(8,10,15,0.05)!important}

/* Dark contexts: light bullets on dark bg */
body.celindra-os.page-id-4110 .cos-page-commerce-hero .cos-panel .cos-list li,body.celindra-os.page-id-8988 .cos-page-commerce-hero .cos-panel .cos-list li{color:rgba(255,255,255,0.86)}
body.celindra-os.page-id-4110 .cos-page-commerce-hero .cos-panel .cos-list li::before,body.celindra-os.page-id-8988 .cos-page-commerce-hero .cos-panel .cos-list li::before{background:#7da6ff!important;box-shadow:0 0 0 3px rgba(125,166,255,0.18)!important}
body.celindra-os.page-id-4110 .cos-page-commerce-hero .cos-panel .cos-list li+li,body.celindra-os.page-id-8988 .cos-page-commerce-hero .cos-panel .cos-list li+li{border-top-color:rgba(255,255,255,0.08)!important}

/* Section subtitles: plain text, no pill */
body.celindra-os .cos-course-priority__head p:last-child,body.celindra-os.page-id-8115 .cos-course-priority__head p:last-child,body.celindra-os.page-id-4110 .cos-course-priority__head p:last-child,body.celindra-os.page-id-8988 .cos-course-priority__head p:last-child,body.celindra-os.page-id-8603 .cos-course-priority__head p:last-child{max-width:480px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#4f5b6b!important;font-size:16px!important;line-height:1.55!important;align-self:end!important}

/* Product detail note: plain text */
body.celindra-os .cos-product-details__note{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin-top:8px;color:#5a6779;font-size:14px;line-height:1.55}

/* Hero: cards float on page bg; dark hero only on /comunitate/ */
body.celindra-os .cos-page-commerce-hero{background:transparent!important}
body.celindra-os .cos-page-commerce-hero::before{content:none!important}
body.celindra-os.page-id-4110 .cos-page-commerce-hero{background:linear-gradient(135deg,#05070b 0%,#08111f 52%,#0b1323 100%)!important}

/* Product card: remove decorative skewed line pseudo-elements */
body.celindra-os .cos-product-card__media::before,body.celindra-os .cos-product-card__media::after,body.celindra-os .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::before,body.celindra-os .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after{content:none!important;display:none!important;border:0!important;background:none!important}

/* Product card: subtle hover lift */
body.celindra-os .cos-product-card{transition:transform 0.22s ease,box-shadow 0.22s ease,border-color 0.22s ease}
body.celindra-os .cos-product-card:hover{transform:translateY(-3px);box-shadow:0 28px 64px rgba(8,10,15,0.09);border-color:rgba(0,71,255,0.18)}
body.celindra-os .cos-feature{transition:transform 0.22s ease,box-shadow 0.22s ease,border-color 0.22s ease}
body.celindra-os .cos-feature:hover{transform:translateY(-2px);box-shadow:0 18px 44px rgba(8,10,15,0.07);border-color:rgba(0,71,255,0.14)}
body.celindra-os .cos-offer-card,body.celindra-os .cos-tier-card,body.celindra-os .cos-extension-card{transition:transform 0.22s ease,box-shadow 0.22s ease,border-color 0.22s ease}
body.celindra-os .cos-offer-card:hover,body.celindra-os .cos-tier-card:hover,body.celindra-os .cos-extension-card:hover{transform:translateY(-3px);box-shadow:0 26px 60px rgba(8,10,15,0.08);border-color:rgba(0,71,255,0.16)}

/* Discord panel checkout: remove halo / inner border / accent pill — make wrapper transparent */
body.celindra-os .cos-discord-panel__checkout{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important}
body.celindra-os .cos-discord-panel__checkout::before,body.celindra-os .cos-discord-panel__checkout::after{content:none!important;display:none!important}
body.celindra-os .cos-discord-panel__checkout stripe-buy-button{display:block;min-height:92px}
body.celindra-os .cos-stripe-fallback{margin-top:14px;padding:18px;display:grid;gap:14px;border:1px solid rgba(0,71,255,0.18);border-radius:16px;background:linear-gradient(135deg,rgba(0,71,255,0.07),rgba(255,255,255,0.96));box-shadow:0 18px 48px rgba(7,17,31,0.08)}
body.celindra-os .cos-stripe-fallback p{margin:0;color:#26354c;font-size:14.5px;line-height:1.55}
body.celindra-os .cos-stripe-fallback .cos-cta{min-height:46px;width:fit-content;padding:0 18px;font-size:14px}
body.celindra-os .cos-discord-panel__checkout.is-stripe-ready .cos-stripe-fallback{margin-top:12px;padding:12px 14px;gap:10px;border-color:rgba(215,222,232,0.9);background:#fff;box-shadow:none}
body.celindra-os .cos-discord-panel__checkout.is-stripe-ready .cos-stripe-fallback p{font-size:12.5px;line-height:1.45;color:#5f6b7a}
body.celindra-os .cos-discord-panel__checkout.is-stripe-ready .cos-stripe-fallback .cos-cta{min-height:38px;padding:0 14px;border:1px solid rgba(8,10,15,0.12);background:#fff;color:#07111f;box-shadow:none;font-size:12.5px}
@media (max-width:680px){body.celindra-os .cos-stripe-fallback{padding:16px;border-radius:14px}body.celindra-os .cos-stripe-fallback .cos-cta{width:100%;justify-content:center}}

/* Cookie banner: pin to bottom-right without affecting page layout */
body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner,body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-center,body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner.bottom-right-view-preferences,body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner.banner-1{position:fixed!important;inset:auto 20px 20px auto!important;left:auto!important;right:20px!important;bottom:20px!important;top:auto!important;width:min(360px,calc(100vw - 40px))!important;max-width:min(360px,calc(100vw - 40px))!important;transform:none!important}
@media (min-width:681px){body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner,body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-center,body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner.bottom-right-view-preferences,body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner.banner-1{inset:auto 20px 20px auto!important;left:auto!important;right:20px!important;bottom:20px!important;width:min(360px,calc(100vw - 40px))!important;max-width:min(360px,calc(100vw - 40px))!important}}
@media (max-width:520px){body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner,body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-center,body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner.bottom-right-view-preferences,body.celindra-os #cmplz-cookiebanner-container .cmplz-cookiebanner.banner-1{inset:auto 12px 12px 12px!important;left:12px!important;right:12px!important;bottom:12px!important;width:auto!important;max-width:calc(100vw - 24px)!important}}

/* Cart totals: full-width fix */
body.celindra-os .woocommerce .cart-collaterals .cart_totals,body.celindra-os.woocommerce-cart .cart-collaterals .cart_totals,body.celindra-os .woocommerce-page .cart-collaterals .cart_totals{float:none!important;width:100%!important}
body.celindra-os .cart_totals table.shop_table th{width:auto!important;white-space:normal}
body.celindra-os .cart_totals table.shop_table td{width:auto!important}

/* Single product page: pull footer closer to content (reduce empty bottom space) */
body.celindra-os.single-product .entry-content.wp-block-post-content,body.celindra-os.single-product main.site-main{padding-bottom:0!important;margin-bottom:0!important}
body.celindra-os.single-product .cos-product-continue,body.celindra-os.single-product .cos-product-details__note{margin-bottom:0!important}
body.celindra-os.single-product main.site-main+*,body.celindra-os.single-product .wp-block-template-part:has(.cos-footer){margin-top:24px!important}

/* WooCommerce shop archive: cards must fill grid cells (WC default float-layout sets width:22.05%) */
body.celindra-os.woocommerce ul.products li.product,
body.celindra-os.woocommerce-page ul.products li.product{width:100%!important;float:none!important;margin:0!important;clear:none!important;overflow:visible!important}
body.celindra-os.woocommerce ul.products,
body.celindra-os.woocommerce-page ul.products{margin:0;padding:0;list-style:none;gap:18px}
/* WooCommerce clearfix pseudo-elements occupy grid cells in modern grid layout — hide them */
body.celindra-os.woocommerce ul.products::before,
body.celindra-os.woocommerce ul.products::after,
body.celindra-os.woocommerce-page ul.products::before,
body.celindra-os.woocommerce-page ul.products::after{display:none!important}
/* The .woocommerce-LoopProduct-link anchor wraps img+title+price — don't constrain it with aspect-ratio.
   Apply the aspect-ratio only to the img so title/price stay visible below the media. */
body.celindra-os.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body.celindra-os.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link{aspect-ratio:auto!important;background:transparent!important;border-bottom:0!important;display:flex!important;flex-direction:column;gap:10px;padding:14px 16px 12px}
body.celindra-os.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
body.celindra-os.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img{aspect-ratio:16/10;object-fit:cover;width:100%;height:auto;max-height:200px;border-radius:8px;display:block;margin:-14px -16px 4px;width:calc(100% + 32px);max-width:none}
body.celindra-os.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.celindra-os.woocommerce-page ul.products li.product .woocommerce-loop-product__title{margin:6px 0 4px!important;padding:0!important;font-size:16px!important;font-weight:780!important;line-height:1.3!important;color:#080a0f!important}
body.celindra-os.woocommerce ul.products li.product .price,
body.celindra-os.woocommerce-page ul.products li.product .price{margin:0;padding:0;font-size:16px;font-weight:780;color:#080a0f}
body.celindra-os.woocommerce ul.products li.product .add_to_cart_button,
body.celindra-os.woocommerce-page ul.products li.product .add_to_cart_button{margin:auto 14px 14px;border-radius:8px}
@media (max-width:760px){body.celindra-os.woocommerce ul.products,body.celindra-os.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){body.celindra-os.woocommerce ul.products,body.celindra-os.woocommerce-page ul.products{grid-template-columns:1fr}}

/* FAQ grid: adapt columns to actual number of cards (avoid empty trailing column) */
body.celindra-os .cos-faq-grid:has(> .cos-faq-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:880px}
body.celindra-os .cos-faq-grid:has(> .cos-faq-card:first-child:last-child){grid-template-columns:minmax(0,1fr);max-width:560px}
@media (max-width:760px){body.celindra-os .cos-faq-grid:has(> .cos-faq-card:nth-child(2):last-child),body.celindra-os .cos-faq-grid:has(> .cos-faq-card:first-child:last-child){grid-template-columns:1fr;max-width:none}}

/* Mobile drawer: keep "Vezi cursurile" CTA readable (was white text on white bg) */
body.celindra-os .cos-mobile-panel nav a.cos-cta{background:var(--cos-cobalt)!important;border-color:var(--cos-cobalt)!important;color:#fff!important;box-shadow:0 12px 26px rgba(0,71,255,0.18)}
body.celindra-os .cos-mobile-panel nav a.cos-cta:hover,body.celindra-os .cos-mobile-panel nav a.cos-cta:focus-visible{background:var(--cos-cobalt-dark)!important;border-color:var(--cos-cobalt-dark)!important;color:#fff!important}

/* Footer trust badges: prevent NETOPIA SVG / payment icons from being clipped at the top/bottom */
body.celindra-os .cos-footer__trust{align-items:stretch;flex-wrap:wrap;row-gap:12px}
body.celindra-os .cos-footer__trust .cos-trust-badge{box-sizing:border-box;overflow:visible}
body.celindra-os .cos-footer__trust .cos-trust-badge--netopia{min-width:252px;min-height:66px;padding:12px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;overflow:visible}
body.celindra-os .cos-footer__trust .cos-trust-badge--netopia img,body.celindra-os .cos-footer__trust .cos-trust-badge--netopia svg,body.celindra-os .cos-footer__trust .cos-trust-badge--netopia script+*{max-width:100%;max-height:42px;width:auto;height:auto;display:inline-block;object-fit:contain;vertical-align:middle;position:relative;z-index:1}
body.celindra-os .cos-footer__trust .cos-trust-badge img{max-height:42px;height:auto;width:auto;object-fit:contain;display:block}
@media (max-width:1120px){body.celindra-os .cos-footer__trust .cos-trust-badge--netopia{min-width:232px;min-height:62px}}
@media (max-width:820px){body.celindra-os .cos-footer__trust{justify-content:flex-start}body.celindra-os .cos-footer__trust .cos-trust-badge--netopia{min-width:228px}}
@media (max-width:560px){body.celindra-os .cos-footer__trust .cos-trust-badge{min-height:60px}body.celindra-os .cos-footer__trust .cos-trust-badge--netopia{min-height:64px;min-width:0;width:100%}body.celindra-os .cos-footer__trust .cos-trust-badge img{max-height:38px}}

/* Homepage course dates: keep editions separate and avoid orphan words in key copy */
body.celindra-os .cos-nowrap{white-space:nowrap}
body.celindra-os .cos-commerce-hero h1 .cos-nowrap{color:inherit}
body.celindra-os.home .cos-commerce-hero__proof--dates,
body.celindra-os.page-id-8603 .cos-commerce-hero__proof--dates{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
body.celindra-os.home .cos-commerce-hero__proof--dates span,
body.celindra-os.page-id-8603 .cos-commerce-hero__proof--dates span{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:3px;line-height:1.25;overflow-wrap:anywhere;text-wrap:pretty}
body.celindra-os.home .cos-commerce-hero__proof--dates strong,
body.celindra-os.page-id-8603 .cos-commerce-hero__proof--dates strong{display:block;color:var(--cos-ink);font-size:13.5px;line-height:1.15}
body.celindra-os.home .cos-commerce-hero__proof--dates .cos-commerce-hero__proof-wide,
body.celindra-os.page-id-8603 .cos-commerce-hero__proof--dates .cos-commerce-hero__proof-wide{grid-column:1/-1;min-height:58px}
body.celindra-os.home .cos-course-priority__head p,
body.celindra-os.home .cos-extension-showcase__head p,
body.celindra-os.home .cos-commercial-band h2,
body.celindra-os.home .cos-commercial-band p,
body.celindra-os.page-id-8603 .cos-course-priority__head p,
body.celindra-os.page-id-8603 .cos-extension-showcase__head p,
body.celindra-os.page-id-8603 .cos-commercial-band h2,
body.celindra-os.page-id-8603 .cos-commercial-band p{text-wrap:pretty}
@media (max-width:820px){
  body.celindra-os.home .cos-commerce-hero__proof--dates,
  body.celindra-os.page-id-8603 .cos-commerce-hero__proof--dates{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.celindra-os.home .cos-commerce-hero__proof--dates .cos-commerce-hero__proof-wide,
  body.celindra-os.page-id-8603 .cos-commerce-hero__proof--dates .cos-commerce-hero__proof-wide{grid-column:1/-1}
}
@media (max-width:560px){
  body.celindra-os .cos-nowrap{white-space:normal}
  body.celindra-os.home .cos-commerce-hero__grid,
  body.celindra-os.page-id-8603 .cos-commerce-hero__grid{width:calc(100% - 24px)!important;grid-template-columns:1fr!important;gap:18px!important;overflow:hidden}
  body.celindra-os.home .cos-commerce-hero__content,
  body.celindra-os.page-id-8603 .cos-commerce-hero__content,
  body.celindra-os.home .cos-commerce-hero__panel,
  body.celindra-os.page-id-8603 .cos-commerce-hero__panel,
  body.celindra-os.home .cos-commerce-hero .cos-lead,
  body.celindra-os.page-id-8603 .cos-commerce-hero .cos-lead{max-width:100%!important;min-width:0!important;overflow-wrap:break-word}
  body.celindra-os.home .cos-commerce-hero__actions,
  body.celindra-os.page-id-8603 .cos-commerce-hero__actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.celindra-os.home .cos-commerce-hero__actions a,
  body.celindra-os.page-id-8603 .cos-commerce-hero__actions a{width:100%!important;min-width:0!important;padding-inline:10px!important;text-align:center;white-space:normal}
  body.celindra-os.home .cos-commerce-hero__proof--dates,
  body.celindra-os.page-id-8603 .cos-commerce-hero__proof--dates{max-width:100%!important;grid-template-columns:1fr!important}
  body.celindra-os.home .cos-commerce-hero__proof--dates .cos-commerce-hero__proof-wide,
  body.celindra-os.page-id-8603 .cos-commerce-hero__proof--dates .cos-commerce-hero__proof-wide{grid-column:auto}
}
@media (max-width:360px){
  body.celindra-os.home .cos-commerce-hero__actions,
  body.celindra-os.page-id-8603 .cos-commerce-hero__actions{grid-template-columns:1fr}
}
