/* DoberStik Platform — presentation helpers extracted from theme custom code */
.ld-course-info-widget .course-info-list .label {
	display: flex;
	gap: 0.5rem;
	margin: 0.25rem 0;
}
.doberstik-staging-guard {
	background: #b45309 !important;
	color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/* Header nav (Tečaji / Profil) — brand Poppins + coral/orange accents        */
/* Elementor nav-menu widgets a5b8f02 / 2b31762 (e--pointer-underline)        */
/* -------------------------------------------------------------------------- */
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item,
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-item {
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	letter-spacing: 0.01em;
	color: #333333 !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item:hover,
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item:focus,
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-item:focus {
	color: #E47B02 !important;
}

.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item.elementor-item-active,
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item.highlighted,
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
	color: #DB655A !important;
	font-weight: 700 !important;
}

/* Replace default Elementor underline pointer with coral/orange bar */
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main.e--pointer-underline .elementor-item:after,
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main.e--pointer-underline .elementor-item:before {
	background-color: #DB655A !important;
	height: 2px !important;
	bottom: 8px !important;
}

.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main.e--pointer-underline .elementor-item:hover:after,
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main.e--pointer-underline .elementor-item:focus:after {
	background-color: #E47B02 !important;
}

.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main.e--pointer-underline .elementor-item.elementor-item-active:after {
	background-color: #DB655A !important;
}

/* -------------------------------------------------------------------------- */
/* Elementor Menu Cart side drawer — brand chrome (Poppins + orange pills)    */
/* Targets Elementor Pro footer buttons (#69727d greys by default), not only  */
/* classic WooCommerce .woocommerce-mini-cart__buttons.                       */
/* -------------------------------------------------------------------------- */

/* Hydration template only — never participate in WC fragment replaceWith. */
#doberstik-mini-cart-source,
.doberstik-mini-cart-source {
	display: none !important;
	visibility: hidden !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

.elementor-menu-cart__container.elementor-lightbox,
.elementor-menu-cart__main,
.elementor-menu-cart__main * {
	font-family: "Poppins", system-ui, sans-serif;
}

/* Brand chrome only — do not force display (Elementor toggles closed via
   opacity/transform on :not(.elementor-menu-cart--shown)). */
.elementor-menu-cart__main {
	--cart-padding: 1.15rem 1.25rem 1.35rem;
	--product-divider-gap: 0.85rem;
	--space-between-buttons: 0.65rem;
	--cart-close-button-color: #DB655A;
	--cart-close-button-hover-color: #E47B02;
	--cart-close-icon-size: 22px;
	--remove-item-button-color: #DB655A;
	--remove-item-button-hover-color: #E47B02;
	--divider-color: #e8e4df;
	--menu-cart-subtotal-color: #333333;
	--product-price-color: #333333;
	--empty-message-color: #6b7280;
	flex-direction: column !important;
	background: #fff !important;
	color: #333 !important;
	box-sizing: border-box;
	padding: 1.15rem 1.25rem 1.35rem !important;
	width: min(380px, 100vw) !important;
}

.elementor-menu-cart__close-button,
.elementor-menu-cart__close-button-custom {
	align-self: flex-end;
	margin: 0 0 0.65rem !important;
	cursor: pointer;
}

.elementor-menu-cart__close-button:before,
.elementor-menu-cart__close-button:after {
	background: #DB655A !important;
	height: 2px !important;
}

.elementor-menu-cart__close-button:hover:before,
.elementor-menu-cart__close-button:hover:after {
	background: #E47B02 !important;
}

.elementor-menu-cart__close-button-custom .e-close-cart-custom-icon,
.elementor-menu-cart__close-button-custom svg {
	color: #DB655A !important;
	fill: #DB655A !important;
}

.elementor-menu-cart__main .widget_shopping_cart_content {
	flex: 1 1 auto;
	min-height: 6rem;
	display: flex;
	flex-direction: column;
}

.elementor-menu-cart__main .woocommerce-mini-cart__empty-message,
.elementor-menu-cart__main .widget_shopping_cart_content > p {
	margin: auto 0;
	padding: 1.25rem 0.5rem;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.45;
	color: #6b7280;
}

/* Elementor custom product rows */
.elementor-menu-cart__products {
	max-height: calc(100vh - 220px);
}

.elementor-menu-cart__product {
	padding-bottom: 0.85rem !important;
	border-bottom-color: #e8e4df !important;
}

.elementor-menu-cart__product-name,
.elementor-menu-cart__product-name a {
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	line-height: 1.35 !important;
	color: #DB655A !important;
	text-decoration: none !important;
}

.elementor-menu-cart__product-name a:hover,
.elementor-menu-cart__product-name a:focus {
	color: #E47B02 !important;
}

.elementor-menu-cart__product-price {
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	color: #333333 !important;
}

.elementor-menu-cart__product-remove {
	border-color: #DB655A !important;
	border-width: 1.5px !important;
}

.elementor-menu-cart__product-remove:before,
.elementor-menu-cart__product-remove:after {
	background: #DB655A !important;
	height: 1.5px !important;
}

.elementor-menu-cart__product-remove:hover {
	border-color: #E47B02 !important;
}

.elementor-menu-cart__product-remove:hover:before,
.elementor-menu-cart__product-remove:hover:after {
	background: #E47B02 !important;
}

/* Subtotal */
.elementor-menu-cart__subtotal {
	font-family: "Poppins", system-ui, sans-serif !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #333333 !important;
	text-align: left !important;
	padding-top: 0.85rem !important;
	padding-bottom: 0.85rem !important;
	border-color: #e8e4df !important;
	letter-spacing: 0.01em;
}

.elementor-menu-cart__subtotal strong,
.elementor-menu-cart__subtotal .amount,
.elementor-menu-cart__subtotal .woocommerce-Price-amount {
	font-weight: 700 !important;
	color: #333333 !important;
}

/* Footer CTAs — orange gradient pills (match header Odjava) */
.elementor-menu-cart__footer-buttons {
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: none !important;
	gap: 0.65rem !important;
	padding-top: 0.35rem !important;
	margin-top: 0 !important;
}

.elementor-menu-cart__footer-buttons .elementor-button,
.elementor-menu-cart__footer-buttons .elementor-button--view-cart,
.elementor-menu-cart__footer-buttons .elementor-button--checkout {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0.85em 1.35em !important;
	border: 0 !important;
	border-radius: 999px !important;
	background-color: #EE8531 !important;
	background-image: linear-gradient(180deg, #EE8531 0%, #E47B02 100%) !important;
	color: #fff !important;
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.elementor-menu-cart__footer-buttons .elementor-button:hover,
.elementor-menu-cart__footer-buttons .elementor-button:focus,
.elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover,
.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
	background-color: #EE8531 !important;
	background-image: linear-gradient(180deg, #EE8531 0%, #E47B02 100%) !important;
	color: #fff !important;
	filter: brightness(1.06);
}

.elementor-menu-cart__footer-buttons .elementor-button .elementor-button-text {
	color: #fff !important;
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 700 !important;
}

/* Classic WooCommerce mini-cart fallback (if Elementor renders it) */
.elementor-menu-cart__main .woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	padding: 0;
}

.elementor-menu-cart__main .woocommerce-mini-cart-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 0.75rem;
	align-items: start;
	padding: 0.85rem 0;
	border-bottom: 1px solid #e8e4df;
}

.elementor-menu-cart__main .woocommerce-mini-cart-item a:not(.remove) {
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 600 !important;
	color: #DB655A !important;
	text-decoration: none !important;
}

.elementor-menu-cart__main .woocommerce-mini-cart__total {
	margin-top: 0.85rem;
	padding: 0.75rem 0;
	font-family: "Poppins", system-ui, sans-serif !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #333 !important;
	border-top: 1px solid #e8e4df;
}

.elementor-menu-cart__main .woocommerce-mini-cart__total strong {
	font-weight: 700;
}

.elementor-menu-cart__main .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-top: 0.35rem;
}

.elementor-menu-cart__main .woocommerce-mini-cart__buttons .button,
.elementor-menu-cart__main .woocommerce-mini-cart__buttons a.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 !important;
	padding: 0.85em 1.35em !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	background-color: #EE8531 !important;
	background-image: linear-gradient(180deg, #EE8531 0%, #E47B02 100%) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.elementor-location-header .elementor-menu-cart__toggle_button,
.elementor-location-header .elementor-menu-cart__toggle .elementor-button {
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 600 !important;
	color: #333 !important;
}

.elementor-location-header .elementor-menu-cart__toggle_button:hover,
.elementor-location-header .elementor-menu-cart__toggle_button:focus,
.elementor-location-header .elementor-menu-cart__toggle .elementor-button:hover,
.elementor-location-header .elementor-menu-cart__toggle .elementor-button:focus {
	color: #E47B02 !important;
}

.elementor-location-header .elementor-menu-cart__toggle_button .elementor-button-icon-qty,
.elementor-location-header .elementor-menu-cart__toggle .elementor-button-icon-qty {
	background-color: #DB655A !important;
	color: #fff !important;
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 700 !important;
}

/* -------------------------------------------------------------------------- */
/* Header auth CTA (Prijava / Registracija · Odjava) — brand orange pill      */
/* Elementor header #3312 widget 0b006e7; JS adds .doberstik-header-auth       */
/* -------------------------------------------------------------------------- */
.elementor-location-header .elementor-element-0b006e7 .elementor-button,
.elementor-location-header a.doberstik-header-auth.elementor-button,
.elementor-location-header a.doberstik-header-logout.elementor-button {
	background-color: #EE8531 !important;
	background-image: linear-gradient(180deg, #EE8531 0%, #E47B02 100%) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	fill: #fff !important;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.elementor-location-header .elementor-element-0b006e7 .elementor-button:hover,
.elementor-location-header .elementor-element-0b006e7 .elementor-button:focus,
.elementor-location-header a.doberstik-header-auth.elementor-button:hover,
.elementor-location-header a.doberstik-header-auth.elementor-button:focus,
.elementor-location-header a.doberstik-header-logout.elementor-button:hover,
.elementor-location-header a.doberstik-header-logout.elementor-button:focus {
	background-color: #EE8531 !important;
	background-image: linear-gradient(180deg, #EE8531 0%, #E47B02 100%) !important;
	color: #fff !important;
	filter: brightness(1.06);
}

.elementor-location-header .elementor-element-0b006e7 .elementor-button .elementor-button-text,
.elementor-location-header a.doberstik-header-auth.elementor-button .elementor-button-text,
.elementor-location-header a.doberstik-header-logout.elementor-button .elementor-button-text {
	color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/* Native auth forms — branded card (login / register / lost password / popup) */
/* Brand: Poppins, coral #DB655A, orange #E47B02 / #EE8531                     */
/* -------------------------------------------------------------------------- */
:root {
	--ds-auth-coral: #DB655A;
	--ds-auth-orange: #E47B02;
	--ds-auth-orange-hot: #EE8531;
	--ds-auth-text: #333333;
	--ds-auth-muted: #6b7280;
	--ds-auth-border: #e8e4df;
	--ds-auth-card: #ffffff;
}

/* Neutral page bg (theme default) — no peach/cream wash.
   Hello Elementor: body > header + main#content.site-main + footer (no #page). */
body.doberstik-auth-page {
	background-color: transparent !important;
	background-image: none !important;
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}

body.doberstik-auth-page #content.site-main,
body.doberstik-auth-page main.site-main,
body.doberstik-auth-page .site-main {
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	background: transparent !important;
}

body.doberstik-auth-page .site-main > article,
body.doberstik-auth-page .page-content,
body.doberstik-auth-page .elementor {
	background: transparent !important;
	width: 100%;
	margin-top: auto;
	margin-bottom: auto;
}

/* Hide Hello Elementor default page title on auth pages (card has its own). */
body.doberstik-auth-page .page-header,
body.doberstik-auth-page h1.entry-title,
body.doberstik-auth-page--register .elementor-widget-heading .elementor-heading-title {
	display: none !important;
}

.doberstik-auth {
	--ds-font: "Poppins", system-ui, sans-serif;
	max-width: 28rem;
	width: 100%;
	margin: 1.5rem auto;
	padding: 0 1rem;
	font-family: var(--ds-font);
	color: var(--ds-auth-text);
	box-sizing: border-box;
}

.doberstik-auth *,
.doberstik-auth *::before,
.doberstik-auth *::after {
	box-sizing: border-box;
}

.doberstik-auth .doberstik-auth__card {
	background: var(--ds-auth-card) !important;
	border: 1px solid var(--ds-auth-border) !important;
	border-radius: 20px !important;
	padding: 2rem 1.75rem 1.75rem !important;
	box-shadow: 0 16px 48px rgba(51, 51, 51, 0.08) !important;
	text-align: center;
}

.doberstik-auth__logo {
	display: inline-flex;
	justify-content: center;
	margin: 0 auto 1rem;
	line-height: 0;
}

.doberstik-auth__logo img {
	display: block;
	width: auto;
	height: 64px;
	max-width: 160px;
	object-fit: contain;
}

.doberstik-auth__title {
	margin: 0 0 0.35rem;
	font-family: var(--ds-font);
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--ds-auth-text);
	letter-spacing: -0.01em;
}

.doberstik-auth__subtitle {
	margin: 0 0 1.35rem;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--ds-auth-muted);
}

.doberstik-auth__form {
	text-align: left;
	margin: 0;
}

.doberstik-auth__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.doberstik-auth__field {
	margin: 0 0 0.95rem;
}

.doberstik-auth__field label,
.doberstik-auth__form label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: var(--ds-auth-text);
	text-align: left;
}

.doberstik-auth__field input[type="text"],
.doberstik-auth__field input[type="email"],
.doberstik-auth__field input[type="password"],
.doberstik-auth__form input[type="text"],
.doberstik-auth__form input[type="email"],
.doberstik-auth__form input[type="password"],
.doberstik-auth--login input[type="text"],
.doberstik-auth--login input[type="password"] {
	width: 100%;
	padding: 0.8rem 0.95rem;
	border: 1px solid var(--ds-auth-border);
	border-radius: 12px;
	font-family: var(--ds-font);
	font-size: 1rem;
	line-height: 1.35;
	color: var(--ds-auth-text);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.doberstik-auth__field input:focus,
.doberstik-auth__form input[type="text"]:focus,
.doberstik-auth__form input[type="email"]:focus,
.doberstik-auth__form input[type="password"]:focus,
.doberstik-auth--login input:focus {
	outline: none;
	border-color: var(--ds-auth-orange);
	box-shadow: 0 0 0 3px rgba(228, 123, 2, 0.15);
}

.doberstik-auth__remember {
	margin: 0 0 1.15rem;
	font-size: 0.9rem;
	text-align: left;
}

.doberstik-auth__remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 500;
	margin: 0;
	cursor: pointer;
}

.doberstik-auth__remember input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	accent-color: var(--ds-auth-orange);
}

.doberstik-auth__submit {
	margin: 0 0 0.25rem;
}

.doberstik-auth__button,
.doberstik-auth__form button,
.doberstik-auth button[type="submit"],
.doberstik-auth--login input[type="submit"],
.doberstik-auth .button.button-primary {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	padding: 0.95em 1.5em !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ds-auth-orange-hot) !important;
	background-image: linear-gradient(180deg, var(--ds-auth-orange-hot) 0%, var(--ds-auth-orange) 100%) !important;
	color: #fff !important;
	font-family: var(--ds-font) !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	line-height: 1.2 !important;
	cursor: pointer;
	text-decoration: none;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.doberstik-auth__button:hover,
.doberstik-auth__form button:hover,
.doberstik-auth--login input[type="submit"]:hover {
	filter: brightness(1.05);
}

.doberstik-auth__button:active,
.doberstik-auth__form button:active {
	transform: translateY(1px);
}

.doberstik-auth__links {
	margin: 1.15rem 0 0;
	font-size: 0.9rem;
	line-height: 1.5;
	text-align: center;
	color: var(--ds-auth-muted);
}

.doberstik-auth__links a {
	color: var(--ds-auth-coral);
	font-weight: 600;
	text-decoration: none;
}

.doberstik-auth__links a:hover {
	text-decoration: underline;
}

.doberstik-auth__sep {
	margin: 0 0.35rem;
	color: #c4c4c4;
}

.doberstik-auth__notice {
	padding: 0.8rem 1rem;
	border-radius: 12px;
	margin: 0 0 1.1rem;
	font-size: 0.9rem;
	line-height: 1.4;
	text-align: left;
}

.doberstik-auth__notice--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.doberstik-auth__notice--ok {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.doberstik-auth__logged-in {
	margin: 0 0 0.75rem;
	font-size: 1rem;
}

/* Popup login (#3308) — keep card compact inside Elementor popup */
.elementor-3308 .doberstik-auth {
	margin: 0.5rem auto 1rem;
	max-width: 100%;
}

.elementor-3308 .doberstik-auth__card {
	box-shadow: none;
	border: 0;
	padding: 0.5rem 0.25rem 0.25rem;
}

.elementor-3308 .doberstik-auth__logo img {
	height: 52px;
}

/* -------------------------------------------------------------------------- */
/* WooCommerce my-account guest login/register — match branded auth look      */
/* -------------------------------------------------------------------------- */
body.doberstik-auth-page--my-account .woocommerce,
body.woocommerce-account:not(.logged-in) .woocommerce {
	max-width: 920px;
	width: 100%;
	margin: 1.5rem auto;
	padding: 0 1rem;
	font-family: "Poppins", system-ui, sans-serif;
}

body.woocommerce-account:not(.logged-in) #customer_login {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2,
body.woocommerce-account:not(.logged-in) #customer_login .col-1,
body.woocommerce-account:not(.logged-in) #customer_login .col-2 {
	width: 100% !important;
	float: none !important;
	max-width: none;
}

body.woocommerce-account:not(.logged-in) #customer_login > div {
	background: #fff;
	border: 1px solid var(--ds-auth-border);
	border-radius: 20px;
	padding: 1.75rem 1.5rem;
	box-shadow: 0 12px 40px rgba(51, 51, 51, 0.06);
}

body.woocommerce-account:not(.logged-in) #customer_login h2 {
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 1.1rem;
	color: var(--ds-auth-text);
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-row label,
body.woocommerce-account:not(.logged-in) .form-row label {
	font-weight: 600;
	font-size: 0.875rem;
	margin-bottom: 0.35rem;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form input.input-text,
body.woocommerce-account:not(.logged-in) .woocommerce-Input {
	width: 100%;
	padding: 0.8rem 0.95rem !important;
	border: 1px solid var(--ds-auth-border) !important;
	border-radius: 12px !important;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1rem;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form input.input-text:focus,
body.woocommerce-account:not(.logged-in) .woocommerce-Input:focus {
	outline: none;
	border-color: var(--ds-auth-orange) !important;
	box-shadow: 0 0 0 3px rgba(228, 123, 2, 0.15);
}

body.woocommerce-account:not(.logged-in) .woocommerce-button,
body.woocommerce-account:not(.logged-in) button.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	padding: 0.85em 1.4em !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(180deg, var(--ds-auth-orange-hot) 0%, var(--ds-auth-orange) 100%) !important;
	color: #fff !important;
	font-family: "Poppins", system-ui, sans-serif !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a,
body.woocommerce-account:not(.logged-in) .woocommerce-privacy-policy-link {
	color: var(--ds-auth-coral);
	font-weight: 600;
}

@media (max-width: 767px) {
	.doberstik-auth {
		margin: 1rem auto;
	}

	.doberstik-auth__card {
		padding: 1.5rem 1.15rem 1.25rem;
		border-radius: 16px;
	}

	.doberstik-auth__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	body.woocommerce-account:not(.logged-in) #customer_login {
		grid-template-columns: 1fr;
	}
}

/*
 * LearnDash course / lesson / topic pages — unify fonts to brand Poppins.
 * Elementor kit + LD chrome often mix default stacks (hooked vs straight “j”).
 */
body.learndash-cpt,
body.single-sfwd-courses,
body.single-sfwd-lessons,
body.single-sfwd-topic,
body.single-sfwd-quiz,
.elementor-location-single.post-type-sfwd-courses,
.elementor-location-single[data-elementor-type="sfwd-courses"],
.elementor-location-single[data-elementor-type="sfwd-lessons"],
.elementor-location-single[data-elementor-type="sfwd-topic"] {
	--ds-ld-font: "Poppins", system-ui, -apple-system, sans-serif;
	font-family: var(--ds-ld-font);
}

body.learndash-cpt .elementor-widget-heading .elementor-heading-title,
body.learndash-cpt .elementor-widget-text-editor,
body.learndash-cpt .elementor-widget-theme-post-title,
body.learndash-cpt .elementor-widget-theme-post-content,
body.single-sfwd-courses h1,
body.single-sfwd-courses h2,
body.single-sfwd-courses h3,
body.single-sfwd-courses h4,
body.single-sfwd-courses p,
body.single-sfwd-courses li,
body.single-sfwd-lessons h1,
body.single-sfwd-lessons h2,
body.single-sfwd-lessons h3,
body.single-sfwd-lessons p,
body.single-sfwd-topic h1,
body.single-sfwd-topic h2,
body.single-sfwd-topic h3,
body.single-sfwd-topic p,
.learndash-wrapper,
.learndash-wrapper .ld-item-title,
.learndash-wrapper .ld-item-list-item,
.learndash-wrapper .ld-breadcrumbs,
.learndash-wrapper .ld-progress-label,
.learndash-wrapper .ld-progress-percentage,
.learndash-wrapper .ld-progress-steps,
.learndash-wrapper .ld-table-list-item-preview,
.learndash-wrapper .ld-table-list-title,
.learndash-wrapper .ld-table-list-lesson-details,
.learndash-wrapper .ld-course-status,
.learndash-wrapper .ld-text,
.learndash-wrapper .ld-section-heading h2,
.learndash-wrapper .ld-expand-button,
.learndash-wrapper button,
.learndash-wrapper a.ld-button,
.ld-course-info-widget,
.elementor-widget-ld-course-infobar,
.elementor-widget-ld-course-content,
.elementor-widget-ld-course-list,
.elementor-widget-ld-profile {
	font-family: "Poppins", system-ui, -apple-system, sans-serif !important;
}

/* Keep LearnDash icon font / SVG icons intact (Poppins must not win on .ld-icon). */
.learndash-wrapper .ld-icon,
.learndash-wrapper [class^="ld-icon-"],
.learndash-wrapper [class*=" ld-icon-"],
.learndash-wrapper .ld-svgicon,
.learndash-wrapper .ld-status-icon,
.learndash-wrapper .ld-icon:before,
.learndash-wrapper [class^="ld-icon-"]:before,
.learndash-wrapper [class*=" ld-icon-"]:before {
	font-family: "ld-icons", "learndash" !important;
	font-style: normal !important;
	font-weight: normal !important;
}

/* Course hero / banner title (Elementor heading above LD content) */
body.single-sfwd-courses .elementor-location-single .elementor-heading-title,
body.single-sfwd-courses .elementor-location-single .elementor-widget-heading .elementor-heading-title {
	font-family: "Poppins", system-ui, -apple-system, sans-serif !important;
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* Course content: lesson topic lists open by default (LD max-height collapse).
 * Only for available lessons — forcing locked (.learndash-not-available) open
 * dumps "Trenutno nimate dostopa" tooltips + empty panels into the layout. */
body.logged-in.single-sfwd-courses .learndash-wrapper .ld-item-list .ld-item-list-item:not(.learndash-not-available) .ld-item-list-item-expanded,
body.logged-in.learndash-cpt-sfwd-courses .learndash-wrapper .ld-item-list .ld-item-list-item:not(.learndash-not-available) .ld-item-list-item-expanded {
	max-height: none !important;
	overflow: visible !important;
}

/* LD tooltips: until JS adds .ld-tooltip--initialized the text is display:inline
 * and looks like broken pink/empty boxes + permanent "nimate dostopa" lines. */
.learndash-wrapper .ld-tooltip:not(.ld-tooltip--initialized) [role="tooltip"],
.learndash-wrapper .ld-tooltip:not(.ld-tooltip--initialized) .ld-tooltip__text {
	display: none !important;
}

/*
 * Fallback LD content-action buttons when Modern CSS fails to enqueue
 * (Elementor ld-course-content + learndash-wrapper--modern). Prefer modern.min.css;
 * these rules only restore readable button chrome if that sheet is absent.
 */
.learndash-wrapper.learndash-wrapper--modern .ld-content-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: 1.25rem;
}
.learndash-wrapper.learndash-wrapper--modern .ld-content-actions .ld-content-action {
	display: flex;
	align-items: center;
}
.learndash-wrapper.learndash-wrapper--modern .ld-content-actions a.ld-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	padding: 0.85em 1.25em;
	border: 0;
	border-radius: 20px;
	background-color: #ee8531;
	color: #fff !important;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	max-width: 100%;
}
.learndash-wrapper.learndash-wrapper--modern .ld-content-actions a.ld-primary-color.ld-course-step-back {
	display: inline-flex;
	align-items: center;
	padding: 0.5em 0;
	font-weight: 600;
	text-decoration: none;
}
.learndash-wrapper.learndash-wrapper--modern .learndash_mark_complete_button,
.learndash-wrapper.learndash-wrapper--modern .ld-navigation__progress-mark-complete-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	padding: 0.85em 1.25em !important;
	border: 0 !important;
	border-radius: 20px !important;
	background-color: #ee8531 !important;
	color: #fff !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	cursor: pointer;
	box-shadow: none;
}

/* -------------------------------------------------------------------------- */
/* Native WooCommerce Cart + Checkout — brand chrome (Poppins + orange pills) */
/* Scoped to default Woo pages only. Excludes CartFlows step templates so     */
/* product-specific flows keep their own layout/chrome.                       */
/* Brand: Poppins, coral #DB655A, orange #E47B02 / #EE8531                    */
/* -------------------------------------------------------------------------- */
:root {
	--ds-woo-coral: #DB655A;
	--ds-woo-orange: #E47B02;
	--ds-woo-orange-hot: #EE8531;
	--ds-woo-text: #333333;
	--ds-woo-muted: #6b7280;
	--ds-woo-border: #e8e4df;
	--ds-woo-surface: #faf9f7;
	--ds-woo-card: #ffffff;
	--ds-woo-font: "Poppins", system-ui, sans-serif;
}

body.woocommerce-cart:not(.single-cartflows_step),
body.woocommerce-checkout:not(.single-cartflows_step) {
	font-family: var(--ds-woo-font);
	color: var(--ds-woo-text);
}

body.woocommerce-cart:not(.single-cartflows_step) .site-main,
body.woocommerce-checkout:not(.single-cartflows_step) .site-main,
body.woocommerce-cart:not(.single-cartflows_step) #content.site-main,
body.woocommerce-checkout:not(.single-cartflows_step) #content.site-main {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	box-sizing: border-box;
}

body.woocommerce-cart:not(.single-cartflows_step) .woocommerce,
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce {
	font-family: var(--ds-woo-font);
	color: var(--ds-woo-text);
}

/* Kill default Woo purple (#7f54b3) CTAs on native cart/checkout */
body.woocommerce-cart:not(.single-cartflows_step) .button.alt,
body.woocommerce-cart:not(.single-cartflows_step) a.button.alt,
body.woocommerce-cart:not(.single-cartflows_step) button.button.alt,
body.woocommerce-cart:not(.single-cartflows_step) input.button.alt,
body.woocommerce-checkout:not(.single-cartflows_step) .button.alt,
body.woocommerce-checkout:not(.single-cartflows_step) a.button.alt,
body.woocommerce-checkout:not(.single-cartflows_step) button.button.alt,
body.woocommerce-checkout:not(.single-cartflows_step) input.button.alt,
body.woocommerce-cart:not(.single-cartflows_step) a.checkout-button,
body.woocommerce-cart:not(.single-cartflows_step) .wc-proceed-to-checkout a.button,
body.woocommerce-checkout:not(.single-cartflows_step) #place_order,
body.woocommerce-checkout:not(.single-cartflows_step) button#place_order {
	background: var(--ds-woo-orange-hot) !important;
	background-image: linear-gradient(180deg, var(--ds-woo-orange-hot) 0%, var(--ds-woo-orange) 100%) !important;
	background-color: var(--ds-woo-orange) !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #fff !important;
	font-family: var(--ds-woo-font) !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	line-height: 1.25 !important;
	padding: 0.95em 1.6em !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
	transition: filter 0.15s ease, transform 0.15s ease;
}

body.woocommerce-cart:not(.single-cartflows_step) .button.alt:hover,
body.woocommerce-cart:not(.single-cartflows_step) a.button.alt:hover,
body.woocommerce-cart:not(.single-cartflows_step) a.checkout-button:hover,
body.woocommerce-checkout:not(.single-cartflows_step) .button.alt:hover,
body.woocommerce-checkout:not(.single-cartflows_step) #place_order:hover {
	filter: brightness(1.06);
	background-image: linear-gradient(180deg, var(--ds-woo-orange-hot) 0%, var(--ds-woo-orange) 100%) !important;
	color: #fff !important;
}

body.woocommerce-cart:not(.single-cartflows_step) .button.alt:active,
body.woocommerce-checkout:not(.single-cartflows_step) #place_order:active {
	transform: translateY(1px);
}

/* Secondary buttons (coupon / update cart) */
body.woocommerce-cart:not(.single-cartflows_step) .actions .button,
body.woocommerce-cart:not(.single-cartflows_step) button[name="apply_coupon"],
body.woocommerce-cart:not(.single-cartflows_step) button[name="update_cart"],
body.woocommerce-cart:not(.single-cartflows_step) input[name="apply_coupon"],
body.woocommerce-cart:not(.single-cartflows_step) input[name="update_cart"] {
	background: #fff !important;
	background-image: none !important;
	border: 1px solid var(--ds-woo-border) !important;
	border-radius: 999px !important;
	color: var(--ds-woo-text) !important;
	font-family: var(--ds-woo-font) !important;
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	padding: 0.7em 1.25em !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

body.woocommerce-cart:not(.single-cartflows_step) .actions .button:hover,
body.woocommerce-cart:not(.single-cartflows_step) button[name="apply_coupon"]:hover,
body.woocommerce-cart:not(.single-cartflows_step) button[name="update_cart"]:hover {
	border-color: var(--ds-woo-orange) !important;
	color: var(--ds-woo-orange) !important;
	background: #fff !important;
}

/* ---- Cart table ---- */
body.woocommerce-cart:not(.single-cartflows_step) table.shop_table {
	border: 1px solid var(--ds-woo-border) !important;
	border-radius: 16px;
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
	background: var(--ds-woo-card);
	margin-bottom: 1.5rem;
}

body.woocommerce-cart:not(.single-cartflows_step) table.shop_table th,
body.woocommerce-cart:not(.single-cartflows_step) table.shop_table td {
	border-color: var(--ds-woo-border) !important;
	padding: 1rem 0.85rem !important;
	font-family: var(--ds-woo-font);
	vertical-align: middle;
}

body.woocommerce-cart:not(.single-cartflows_step) table.shop_table thead th {
	background: var(--ds-woo-surface);
	color: var(--ds-woo-muted);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.01em;
}

body.woocommerce-cart:not(.single-cartflows_step) table.shop_table .product-name a {
	color: var(--ds-woo-text) !important;
	font-weight: 600;
	text-decoration: none;
}

body.woocommerce-cart:not(.single-cartflows_step) table.shop_table .product-name a:hover,
body.woocommerce-cart:not(.single-cartflows_step) table.shop_table .product-name a:focus {
	color: var(--ds-woo-orange) !important;
}

body.woocommerce-cart:not(.single-cartflows_step) table.shop_table .product-remove a,
body.woocommerce-cart:not(.single-cartflows_step) table.shop_table .product-remove a.remove {
	color: var(--ds-woo-coral) !important;
	font-size: 1.35rem !important;
	font-weight: 400 !important;
	width: 1.5rem;
	height: 1.5rem;
	line-height: 1.4rem !important;
	border-radius: 999px !important;
	border: 1px solid transparent !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.woocommerce-cart:not(.single-cartflows_step) table.shop_table .product-remove a:hover {
	background: rgba(219, 101, 90, 0.1) !important;
	color: var(--ds-woo-coral) !important;
	border-color: var(--ds-woo-coral) !important;
}

body.woocommerce-cart:not(.single-cartflows_step) table.shop_table .product-thumbnail img {
	border-radius: 10px;
	width: 64px;
	height: auto;
}

/* Qty field — readable width (stock Woo is cramped) */
body.woocommerce-cart:not(.single-cartflows_step) .quantity .qty,
body.woocommerce-cart:not(.single-cartflows_step) input.qty {
	min-width: 3.5rem !important;
	width: 4rem !important;
	max-width: 5rem;
	padding: 0.55rem 0.4rem !important;
	border: 1px solid var(--ds-woo-border) !important;
	border-radius: 10px !important;
	font-family: var(--ds-woo-font) !important;
	font-size: 1rem !important;
	font-weight: 600;
	text-align: center;
	color: var(--ds-woo-text);
	background: #fff;
	appearance: textfield;
	-moz-appearance: textfield;
}

body.woocommerce-cart:not(.single-cartflows_step) .quantity .qty:focus {
	outline: none;
	border-color: var(--ds-woo-orange) !important;
	box-shadow: 0 0 0 3px rgba(228, 123, 2, 0.15);
}

body.woocommerce-cart:not(.single-cartflows_step) .coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
}

body.woocommerce-cart:not(.single-cartflows_step) .coupon .input-text {
	min-width: 12rem;
	flex: 1 1 12rem;
	padding: 0.7rem 0.95rem !important;
	border: 1px solid var(--ds-woo-border) !important;
	border-radius: 12px !important;
	font-family: var(--ds-woo-font) !important;
	font-size: 0.95rem !important;
	background: #fff;
}

body.woocommerce-cart:not(.single-cartflows_step) .coupon .input-text:focus {
	outline: none;
	border-color: var(--ds-woo-orange) !important;
	box-shadow: 0 0 0 3px rgba(228, 123, 2, 0.15);
}

/* Cart totals card */
body.woocommerce-cart:not(.single-cartflows_step) .cart-collaterals {
	margin-top: 0.5rem;
}

body.woocommerce-cart:not(.single-cartflows_step) .cart_totals {
	float: none !important;
	width: 100% !important;
	max-width: 26rem;
	margin-left: auto;
	background: var(--ds-woo-card);
	border: 1px solid var(--ds-woo-border);
	border-radius: 20px;
	padding: 1.35rem 1.4rem 1.5rem;
	box-shadow: 0 12px 40px rgba(51, 51, 51, 0.06);
	box-sizing: border-box;
}

body.woocommerce-cart:not(.single-cartflows_step) .cart_totals > h2 {
	font-family: var(--ds-woo-font);
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: var(--ds-woo-text);
}

body.woocommerce-cart:not(.single-cartflows_step) .cart_totals table.shop_table {
	border: 0 !important;
	border-radius: 0;
	box-shadow: none;
	margin: 0 0 1.1rem;
}

body.woocommerce-cart:not(.single-cartflows_step) .cart_totals table.shop_table th,
body.woocommerce-cart:not(.single-cartflows_step) .cart_totals table.shop_table td {
	background: transparent !important;
	padding: 0.65rem 0 !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-bottom: 1px solid var(--ds-woo-border) !important;
}

body.woocommerce-cart:not(.single-cartflows_step) .cart_totals table.shop_table tr:last-child th,
body.woocommerce-cart:not(.single-cartflows_step) .cart_totals table.shop_table tr:last-child td {
	border-bottom: 0 !important;
	font-weight: 700;
	font-size: 1.1rem;
	padding-top: 0.9rem !important;
}

body.woocommerce-cart:not(.single-cartflows_step) .wc-proceed-to-checkout {
	padding: 0 !important;
}

body.woocommerce-cart:not(.single-cartflows_step) .wc-proceed-to-checkout a.checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	text-align: center;
}

/* ---- Checkout ---- */
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-billing-fields > h3,
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-additional-fields > h3,
body.woocommerce-checkout:not(.single-cartflows_step) #order_review_heading,
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-checkout h3 {
	font-family: var(--ds-woo-font);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--ds-woo-text);
	margin: 0 0 1rem;
}

body.woocommerce-checkout:not(.single-cartflows_step) form.checkout .form-row label {
	font-family: var(--ds-woo-font);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ds-woo-text);
	margin-bottom: 0.35rem;
}

body.woocommerce-checkout:not(.single-cartflows_step) form.checkout .form-row .required {
	color: var(--ds-woo-coral) !important;
	text-decoration: none;
}

body.woocommerce-checkout:not(.single-cartflows_step) form.checkout input.input-text,
body.woocommerce-checkout:not(.single-cartflows_step) form.checkout textarea,
body.woocommerce-checkout:not(.single-cartflows_step) form.checkout select,
body.woocommerce-checkout:not(.single-cartflows_step) form.checkout .select2-container .select2-selection--single {
	border: 1px solid var(--ds-woo-border) !important;
	border-radius: 12px !important;
	font-family: var(--ds-woo-font) !important;
	font-size: 1rem !important;
	color: var(--ds-woo-text) !important;
	background: var(--ds-woo-surface) !important;
	min-height: 2.85rem;
	box-shadow: none !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) form.checkout input.input-text,
body.woocommerce-checkout:not(.single-cartflows_step) form.checkout textarea {
	padding: 0.75rem 0.95rem !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) form.checkout input.input-text:focus,
body.woocommerce-checkout:not(.single-cartflows_step) form.checkout textarea:focus,
body.woocommerce-checkout:not(.single-cartflows_step) form.checkout select:focus {
	outline: none;
	border-color: var(--ds-woo-orange) !important;
	box-shadow: 0 0 0 3px rgba(228, 123, 2, 0.15) !important;
	background: #fff !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) form.checkout .select2-container--open .select2-selection--single,
body.woocommerce-checkout:not(.single-cartflows_step) form.checkout .select2-container--focus .select2-selection--single {
	border-color: var(--ds-woo-orange) !important;
	box-shadow: 0 0 0 3px rgba(228, 123, 2, 0.15) !important;
}

/* Company invoice toggle + VAT (preserve existing fields, brand accents) */
body.woocommerce-checkout:not(.single-cartflows_step) #company_toggle_field,
body.woocommerce-checkout:not(.single-cartflows_step) #billing_company_toggle_field {
	margin-top: 0.75rem;
}

body.woocommerce-checkout:not(.single-cartflows_step) #billing_company_toggle_field label,
body.woocommerce-checkout:not(.single-cartflows_step) #company_toggle_field label {
	font-weight: 600;
	cursor: pointer;
}

body.woocommerce-checkout:not(.single-cartflows_step) form.checkout input[type="checkbox"],
body.woocommerce-checkout:not(.single-cartflows_step) form.checkout input[type="radio"] {
	accent-color: var(--ds-woo-orange);
}

/* Order review card */
body.woocommerce-checkout:not(.single-cartflows_step) #order_review {
	background: var(--ds-woo-card);
	border: 1px solid var(--ds-woo-border);
	border-radius: 20px;
	padding: 1.35rem 1.4rem 1.5rem;
	box-shadow: 0 12px 40px rgba(51, 51, 51, 0.06);
	box-sizing: border-box;
}

body.woocommerce-checkout:not(.single-cartflows_step) #order_review table.shop_table {
	border: 0 !important;
	margin: 0 0 1rem;
}

body.woocommerce-checkout:not(.single-cartflows_step) #order_review table.shop_table th,
body.woocommerce-checkout:not(.single-cartflows_step) #order_review table.shop_table td {
	border-color: var(--ds-woo-border) !important;
	padding: 0.75rem 0 !important;
	font-family: var(--ds-woo-font);
	background: transparent !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) #order_review table.shop_table tfoot tr.order-total th,
body.woocommerce-checkout:not(.single-cartflows_step) #order_review table.shop_table tfoot tr.order-total td {
	font-size: 1.1rem;
	font-weight: 700;
	border-top: 1px solid var(--ds-woo-border) !important;
	padding-top: 0.95rem !important;
}

/* Coupon toggle on checkout (classic Woo + Elementor checkout widget) */
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-form-coupon-toggle .woocommerce-info,
body.woocommerce-checkout:not(.single-cartflows_step) .e-coupon-box {
	background: rgba(228, 123, 2, 0.08) !important;
	border: 1px solid rgba(228, 123, 2, 0.22) !important;
	border-top-color: var(--ds-woo-orange) !important;
	border-radius: 12px;
	color: var(--ds-woo-text) !important;
	font-family: var(--ds-woo-font);
}

body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-form-coupon-toggle .woocommerce-info a,
body.woocommerce-checkout:not(.single-cartflows_step) .e-woocommerce-coupon-nudge a,
body.woocommerce-checkout:not(.single-cartflows_step) .e-show-coupon-form,
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-privacy-policy-link,
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-terms-and-conditions-link {
	color: var(--ds-woo-coral) !important;
	font-weight: 600;
	text-decoration: none;
}

body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-form-coupon-toggle .woocommerce-info a:hover,
body.woocommerce-checkout:not(.single-cartflows_step) .e-show-coupon-form:hover,
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-privacy-policy-link:hover {
	color: var(--ds-woo-orange) !important;
	text-decoration: underline;
}

/* Elementor checkout already cards sections — avoid double frames on #order_review */
body.woocommerce-checkout:not(.single-cartflows_step) .elementor-widget-woocommerce-checkout-page #order_review {
	background: transparent;
	border: 0;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
}

/* Beat Elementor widget default #place_order cyan (#5bc0de) */
body.woocommerce-checkout:not(.single-cartflows_step) .elementor-widget-woocommerce-checkout-page #place_order,
body.woocommerce-checkout:not(.single-cartflows_step) .elementor-widget-woocommerce-checkout-page button#place_order.button.alt {
	background: var(--ds-woo-orange-hot) !important;
	background-image: linear-gradient(180deg, var(--ds-woo-orange-hot) 0%, var(--ds-woo-orange) 100%) !important;
	background-color: var(--ds-woo-orange) !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #fff !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) form.checkout_coupon .input-text {
	border: 1px solid var(--ds-woo-border) !important;
	border-radius: 12px !important;
	padding: 0.7rem 0.95rem !important;
	font-family: var(--ds-woo-font) !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) form.checkout_coupon .button {
	border-radius: 999px !important;
	font-family: var(--ds-woo-font) !important;
	font-weight: 600 !important;
	background: #fff !important;
	border: 1px solid var(--ds-woo-border) !important;
	color: var(--ds-woo-text) !important;
	padding: 0.7em 1.25em !important;
}

/* Payment methods */
body.woocommerce-checkout:not(.single-cartflows_step) #payment {
	background: transparent !important;
	border-radius: 0;
	padding: 0 !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) #payment ul.payment_methods {
	border-bottom: 1px solid var(--ds-woo-border) !important;
	padding: 0 0 1rem !important;
	margin: 0 0 1rem !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) #payment ul.payment_methods li {
	font-family: var(--ds-woo-font);
	line-height: 1.45;
}

body.woocommerce-checkout:not(.single-cartflows_step) #payment ul.payment_methods li label {
	font-weight: 600;
	cursor: pointer;
}

body.woocommerce-checkout:not(.single-cartflows_step) #payment div.payment_box {
	background: var(--ds-woo-surface) !important;
	border-radius: 12px;
	color: var(--ds-woo-muted) !important;
	font-size: 0.9rem;
}

body.woocommerce-checkout:not(.single-cartflows_step) #payment div.payment_box::before {
	border-bottom-color: var(--ds-woo-surface) !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) #payment .place-order {
	padding: 0 !important;
}

body.woocommerce-checkout:not(.single-cartflows_step) #place_order {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	margin-top: 0.75rem;
}

/* Notices */
body.woocommerce-cart:not(.single-cartflows_step) .woocommerce-message,
body.woocommerce-cart:not(.single-cartflows_step) .woocommerce-info,
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-message,
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-info {
	border-top-color: var(--ds-woo-orange) !important;
	font-family: var(--ds-woo-font);
}

body.woocommerce-cart:not(.single-cartflows_step) .woocommerce-error,
body.woocommerce-checkout:not(.single-cartflows_step) .woocommerce-error {
	border-top-color: var(--ds-woo-coral) !important;
	font-family: var(--ds-woo-font);
}

/* Mobile */
@media (max-width: 767px) {
	body.woocommerce-cart:not(.single-cartflows_step) .site-main,
	body.woocommerce-checkout:not(.single-cartflows_step) .site-main {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	body.woocommerce-cart:not(.single-cartflows_step) .cart_totals,
	body.woocommerce-checkout:not(.single-cartflows_step) #order_review {
		max-width: none;
		padding: 1.15rem 1.1rem 1.25rem;
		border-radius: 16px;
	}

	body.woocommerce-cart:not(.single-cartflows_step) table.shop_table_responsive tr td {
		text-align: right !important;
	}

	body.woocommerce-cart:not(.single-cartflows_step) .coupon {
		width: 100%;
	}

	body.woocommerce-cart:not(.single-cartflows_step) .coupon .input-text {
		width: 100%;
		min-width: 0;
	}

	body.woocommerce-cart:not(.single-cartflows_step) .actions {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	body.woocommerce-cart:not(.single-cartflows_step) .actions .button {
		width: 100%;
		text-align: center;
	}
}

/* -------------------------------------------------------------------------- */
/* Learner catalog + course UX (mobile-first)                                  */
/* Brand: Poppins, coral #DB655A, orange #E47B02 / #EE8531                    */
/* -------------------------------------------------------------------------- */
.etecaji-course-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.15rem;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1rem 2rem;
	box-sizing: border-box;
}

.etecaji-course-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(26, 35, 50, 0.08);
	border: 1px solid rgba(26, 35, 50, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.etecaji-course-card:hover,
.etecaji-course-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(26, 35, 50, 0.12);
	outline: none;
}

.etecaji-course-card .thumbnail {
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(ellipse 80% 70% at 20% 20%, rgba(238, 133, 49, 0.22), transparent 55%),
		linear-gradient(145deg, #f4ebe4 0%, #efe4dc 100%);
	overflow: hidden;
}

.etecaji-course-card .thumbnail img,
.etecaji-course-card .thumbnail picture,
.etecaji-course-card .thumbnail .etecaji-course-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.etecaji-course-card .thumbnail picture {
	height: 100%;
}

.etecaji-course-card .thumbnail picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.etecaji-course-card .card-content {
	padding: 1rem 1.1rem 0.35rem;
	flex: 1;
}

.etecaji-course-card .course-category {
	display: inline-block;
	background: #ee8531;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	margin-bottom: 0.45rem;
	font-family: "Poppins", system-ui, sans-serif;
}

.etecaji-course-card h3 {
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #14213d;
	margin: 0 0 0.55rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.etecaji-course-card .course-author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.84rem;
	color: #4b5563;
	margin-bottom: 0.75rem;
	font-family: "Poppins", system-ui, sans-serif;
}

.etecaji-course-card .course-author img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.etecaji-course-card .course-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	border-top: 1px solid #eee8e2;
	padding: 0.85rem 1.1rem 1rem;
	font-size: 0.84rem;
	color: #4b5563;
	font-family: "Poppins", system-ui, sans-serif;
}

.etecaji-course-lessons {
	flex-shrink: 0;
}

.etecaji-course-card .price,
.etecaji-course-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: linear-gradient(180deg, #ee8531 0%, #e47b02 100%);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.82rem;
	line-height: 1.2;
	text-decoration: none !important;
	text-align: center;
	white-space: nowrap;
}

.etecaji-course-cta--continue {
	background: linear-gradient(180deg, #ee8531 0%, #e47b02 100%);
}

.etecaji-course-cta--price {
	background: #fff;
	color: #e47b02 !important;
	border: 1.5px solid #e47b02;
}

@media (min-width: 640px) {
	.etecaji-course-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.35rem;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}

@media (min-width: 980px) {
	.etecaji-course-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

/* LearnDash course / lesson mobile readability */
@media (max-width: 767px) {
	body.single-sfwd-courses .elementor-location-single,
	body.single-sfwd-lessons .elementor-location-single,
	body.single-sfwd-topic .elementor-location-single,
	body.single-sfwd-courses .site-main,
	body.single-sfwd-lessons .site-main,
	body.single-sfwd-topic .site-main {
		padding-left: 0;
		padding-right: 0;
	}

	.learndash-wrapper .ld-item-list-item {
		border-radius: 12px;
	}

	.learndash-wrapper .ld-item-list-item .ld-item-list-item-preview,
	.learndash-wrapper .ld-table-list-item-preview {
		min-height: 52px;
		padding-top: 0.85rem;
		padding-bottom: 0.85rem;
	}

	.learndash-wrapper .ld-item-title,
	.learndash-wrapper .ld-table-list-title {
		font-size: 0.95rem;
		line-height: 1.35;
	}

	.learndash-wrapper .ld-expand-button,
	.learndash-wrapper a.ld-button,
	.learndash-wrapper button.ld-button {
		min-height: 44px;
	}

	.learndash-wrapper.learndash-wrapper--modern .ld-content-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.learndash-wrapper.learndash-wrapper--modern .ld-content-actions .ld-content-action,
	.learndash-wrapper.learndash-wrapper--modern .ld-content-actions a.ld-button,
	.learndash-wrapper.learndash-wrapper--modern .learndash_mark_complete_button {
		width: 100%;
		justify-content: center;
	}

	/* Videos / embeds */
	body.single-sfwd-lessons .elementor iframe,
	body.single-sfwd-topic .elementor iframe,
	body.single-sfwd-lessons .ld-video iframe,
	body.single-sfwd-topic .ld-video iframe,
	.learndash-wrapper iframe[src*="vimeo"],
	.learndash-wrapper iframe[src*="youtube"] {
		max-width: 100%;
		width: 100% !important;
		aspect-ratio: 16 / 9;
		height: auto !important;
	}

	.etecaji-course-card .course-footer {
		flex-wrap: wrap;
	}

	.etecaji-course-cta {
		flex: 1 1 auto;
		min-width: 9.5rem;
	}
}
