/* =========================================================================
   SIA Course Booking — front-end styles
   Defaults match the supplied design; every value is overridable from the
   Elementor Style tab via the controls in the widget classes.
   ========================================================================= */

.scb-grid-wrap {
	--scb-primary: #004891;   /* navy titles            */
	--scb-accent:  #00b9f1;   /* bright cyan-blue        */
	--scb-price:   #00b9f1;   /* price figures           */
	--scb-text:    #121212;   /* body copy               */
	--scb-line:    #004891;   /* card border             */
	--scb-pillbd:  #00b9f1;   /* pill borders            */
	--scb-pilltx:  #00b9f1;   /* pill text/icons         */
	--scb-pricebg: #e0f7fd;   /* price box background     */
	box-sizing: border-box;
}
.scb-detail {
	--scb-primary: #173a8a;   /* navy titles            */
	--scb-accent:  #1fa0df;   /* bright cyan-blue        */
	--scb-price:   #1b9de0;   /* price figures           */
	--scb-text:    #54627a;   /* body copy               */
	--scb-line:    #e6ebf2;   /* hairline borders        */
	--scb-pillbd:  #bfe2f6;   /* pill borders            */
	--scb-pilltx:  #1b76c4;   /* pill text/icons         */
	--scb-pricebg: #e9f4fb;   /* price box background     */
	box-sizing: border-box;
}
.scb-grid-wrap *,
.scb-detail * { box-sizing: border-box; }

/* -------------------------------------------------------------------------
   GRID / LISTING
   ------------------------------------------------------------------------- */
.scb-grid__heading {
	text-align: center;
	color: var(--scb-primary);
	font-weight: 800;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	margin: 0 0 36px;
	position: relative;
	padding-bottom: 16px;
}
.scb-grid__heading::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 78px;
	height: 4px;
	border-radius: 4px;
	background: var(--scb-accent);
}

.scb-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: stretch;
}

.scb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;          /* fill the stretched grid cell -> equal-height cards */
	background: #fff;
	border: 2px solid var(--scb-line);
	border-radius: 24px;
	padding: 28px 23px 22px;
	overflow: hidden;
	box-shadow: 0 18px 36px rgba(0, 0, 0, .20);
}

/* Add the visible top blue border/accent from the supplied card reference. */
.scb-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 22px;
	right: 22px;
	height: 4px;
	background: var(--scb-line);
	border-radius: 0 0 12px 12px;
	z-index: 1;
}

.scb-card__title {
    margin: 0 0 20px;
    color: var(--scb-primary);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.2px;
    margin-top: 20px;
}
.scb-card__title a {
	color: inherit;
	text-decoration: none;
}
.scb-card__title a:hover { text-decoration: underline; }

.scb-card__excerpt {
	margin: 0 0 27px;
	flex: 1 1 auto;        /* grows to fill, pinning price/meta/button to the bottom */
	color: var(--scb-text);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.42;
}

.scb-card__price {
	width: 100%;
	min-height: 56px;
	margin-top: auto;      /* anchor price + pills + button as one block to the bottom */
	background: var(--scb-pricebg);
	border-radius: 10px;
	padding: 8px 12px;
	margin-bottom: 28px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.scb-card__price-label {
	color: var(--scb-text);
	font-size: 16px;
	font-weight: 400;
}
.scb-card__price-amount,
.scb-card__price-amount .amount,
.scb-card__price-amount bdi {
	color: var(--scb-price);
	font-weight: 800;
	font-size: 30px;
	line-height: 1;
}
.scb-card__price-amount .woocommerce-Price-currencySymbol { margin-right: 7px; }
.scb-card__price-amount del { opacity: .55; font-weight: 600; font-size: 18px; }
.scb-card__price-amount ins { text-decoration: none; }

.scb-card__meta {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin-bottom: 27px;
}

.scb-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 1px solid var(--scb-pillbd);
	color: var(--scb-pilltx);
	background: #fff;
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}
.scb-pill .scb-ico { flex: 0 0 auto; }

.scb-card .scb-pill {
	flex: 1 1 0;
	min-width: 0;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 400;
}
.scb-card .scb-pill .scb-ico {
	display: block;
	width: 17px;
	height: 17px;
}


.scb-card .scb-pill span,
.scb-card .scb-pill svg {
	flex: 0 0 auto;
}

.scb-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	min-height: 54px;
	border: 1px solid var(--scb-pillbd);
	color: var(--scb-pilltx);
	background: transparent;
	border-radius: 999px;
	padding: 0 22px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
	cursor: pointer;
}
.scb-card__btn .scb-arrow {
	width: 18px;
	height: 18px;
}
.scb-card__btn:hover {
	background: var(--scb-accent);
	border-color: var(--scb-accent);
	color: #fff;
}

.scb-grid__viewall-wrap {
	display: flex;
	justify-content: center;
	margin-top: 34px;
}
.scb-grid__viewall {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--scb-accent);
	color: #fff;
	border-radius: 8px;
	padding: 13px 26px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease, transform .15s ease;
}
.scb-grid__viewall:hover { background: #1888c2; transform: translateY(-1px); }

/* -------------------------------------------------------------------------
   SINGLE COURSE DETAIL
   ------------------------------------------------------------------------- */
.scb-detail {
	display: grid;
	/* Sidebar width is driven by the --scb-sidebar-w variable so the Elementor
	   "Booking box width" control can set it without overriding the responsive
	   collapse below. The mobile media query re-declares grid-template-columns
	   (same specificity, later in source) so it always wins on small screens. */
	grid-template-columns: minmax(0, 1fr) var(--scb-sidebar-w, 300px);
	gap: 48px;
	align-items: start;
}

.scb-detail__title {
	color: var(--scb-accent);
	font-size: clamp(26px, 3.4vw, 36px);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 16px;
}

.scb-detail__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
}

.scb-detail__content {
	color: var(--scb-text);
	font-size: 16px;
	line-height: 1.7;
}
.scb-detail__content h2,
.scb-detail__content h3,
.scb-detail__content h4 {
	color: var(--scb-accent);
	font-weight: 700;
	line-height: 1.3;
	margin: 1.6em 0 .5em;
}
.scb-detail__content h2 { font-size: 24px; }
.scb-detail__content h3 { font-size: 20px; }

/* Headings inside the pasted product description — individually stylable
   from the widget (Style > Content > Description H1/H2/H3). Scoped to
   .scb-detail__body so they never clash with the course title (.scb-detail__title). */
.scb-detail__body h1,
.scb-detail__body h2,
.scb-detail__body h3 {
	color: var(--scb-accent);
	font-weight: 700;
	line-height: 1.3;
	margin: 1.5em 0 .5em;
}
.scb-detail__body h1 { font-size: 30px; }
.scb-detail__body h2 { font-size: 24px; }
.scb-detail__body h3 { font-size: 20px; }
.scb-detail__body > :first-child { margin-top: 0; }
.scb-detail__content p  { margin: 0 0 1.1em; }
/* .scb-detail__content ul,
.scb-detail__content ol { margin: 0 0 1.1em 1.2em; }
 */
/* Sticky booking box */
.scb-detail__sidebar {
	position: sticky;
	top: 24px;
	align-self: start;
}

.scb-cart {
	background: #fff;
	border: 1px solid #dcebf8;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(27, 118, 196, .08);
}
.scb-cart__title {
	color: var(--scb-primary);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 12px;
}
.scb-cart__name {
	color: var(--scb-price);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 14px;
}
.scb-cart__pricerow {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.scb-cart__pricelabel { color: var(--scb-text); font-size: 13px; }
.scb-cart__price,
.scb-cart__price .amount,
.scb-cart__price ins .amount {
	color: var(--scb-price);
	font-weight: 800;
	font-size: 22px;
	text-decoration: none;
}
.scb-cart__price del,
.scb-cart__price del .amount {
	color: #9aa7bc;
	font-weight: 600;
	font-size: 14px;
}
.scb-cart__price ins { text-decoration: none; }

/* Quantity stepper */
.scb-qty {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	border: 1px solid #dcebf8;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 14px;
	height: 46px;
}
.scb-qty__btn {
	border: 0;
	background: #f4f9fd;
	color: var(--scb-pilltx);
	font-size: 20px;
	line-height: 1;
	height: 100%;
	cursor: pointer;
	transition: background .15s ease;
}
.scb-qty__btn:hover { background: #e6f2fb; }
.scb-qty__input {
	border: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #2b3a52;
	height: 100%;
	width: 100%;
	background: #fff;
	-moz-appearance: textfield;
}
.scb-qty__input::-webkit-outer-spin-button,
.scb-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Buttons */
.scb-cart__add {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	background: var(--scb-accent);
	color: #fff;
	border-radius: 8px;
	padding: 13px 18px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease;
}
.scb-cart__add:hover { background: #1888c2; }
.scb-cart__add[disabled] { opacity: .7; cursor: default; }

.scb-cart__msg {
	font-size: 13px;
	min-height: 0;
	margin: 0;
	text-align: center;
	transition: min-height .2s ease;
}
.scb-cart__msg.is-show { min-height: 22px; margin-top: 10px; }
.scb-cart__msg.is-error { color: #d13b3b; }
.scb-cart__msg.is-ok {
	color: #15803d;
	font-weight: 600;
	background: #e8f7ee;
	border-radius: 8px;
	padding: 8px 12px;
}

/* Secondary "View Cart" button, revealed after a successful add. */
.scb-cart__view {
	width: 100%;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1.5px solid var(--scb-accent);
	background: #fff;
	color: var(--scb-accent);
	border-radius: 8px;
	padding: 11px 18px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.scb-cart__view:hover { background: var(--scb-accent); color: #fff; }
.scb-cart__view svg { stroke: currentColor; }
.scb-cart__view[hidden] { display: none; }

/* Hide WooCommerce's own unstyled "View cart" link inside our box. */
.scb-cart .added_to_cart { display: none !important; }

.scb-cart__paypal {
	width: 100%;
	margin-top: 10px;
	border: 0;
	background: #ffc439;
	border-radius: 8px;
	padding: 12px 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: filter .15s ease;
}
.scb-cart__paypal:hover { filter: brightness(.96); }
.scb-paypal-mark {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 800;
	font-size: 18px;
	font-style: italic;
	letter-spacing: -.3px;
}
.scb-paypal-mark--pay { color: #003087; }
.scb-paypal-mark--pal { color: #009cde; }

.scb-cart__unavailable { color: var(--scb-text); font-size: 14px; margin: 6px 0 0; }

.scb-empty {
	color: var(--scb-text);
	background: #f5f8fc;
	border: 1px dashed #d3e1f0;
	border-radius: 10px;
	padding: 18px 20px;
	font-size: 15px;
}

/* Image Additional CSS */

/* Ensure the image container handles scaling */
.scb-card__image-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

/* Make the image fill the container nicely */
.scb-card__img {
    width: 100%;
    height: 170px !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Optional: Zoom effect on hover */
.scb-card:hover .scb-card__img {
    transform: scale(1.05);
}

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.scb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.scb-detail {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.scb-detail__sidebar {
		position: static;
		order: -1;            /* show the booking box first on mobile */
		width: 100%;
	}
	.scb-detail__sidebar,
	.scb-cart { min-width: 0; }   /* never force horizontal overflow */
}
@media (max-width: 600px) {
	.scb-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.scb-card__btn,
	.scb-grid__viewall,
	.scb-cart__add,
	.scb-cart__paypal { transition: none; }
}

/* =========================================================================
   COURSE BOOKING FLOW — steps / cart / checkout / confirmation
   Auto-applied to the WooCommerce cart, checkout and order-received pages.
   Primary typeface: Inter.
   ========================================================================= */

.scb-shop,
.scb-steps,
.woocommerce-checkout,
.scb-grid-wrap,
.scb-detail {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.scb-shop {
	--scb-blue:    #1b76c4;
	--scb-accent:  #00b9f1;
	--scb-navy:    #173a8a;
	--scb-text:    #54627a;
	--scb-line:    #e2ebf5;
	--scb-soft:    #f4f9fd;
	box-sizing: border-box;
	color: #2b3a52;
}
.scb-shop * { box-sizing: border-box; }


/* ----------------------------------------------------------- PAGE HERO */
.scb-page-hero {
	position: relative;
	isolation: isolate;
	width: 100vw;
	min-height: 600px;
	margin: 0 0 42px;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 24px;
	background-image: var(--scb-banner-image);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}
.scb-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--scb-banner-overlay, #00000066);
	z-index: -1;
}
.scb-page-hero__inner {
	width: min(100%, 1200px);
	margin: 0 auto;
	text-align: center;
	color: #fff;
}
.scb-page-hero__title {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(42px, 6vw, 64px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -.03em;
}
.scb-page-hero__crumbs {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 18px;
	line-height: 1.4;
	color: rgba(255,255,255,.92);
}
.scb-page-hero__crumbs a,
.scb-page-hero__crumbs span {
	color: inherit;
	text-decoration: none;
}
.scb-page-hero__crumbs a:hover {
	color: #fff;
	text-decoration: underline;
}
.scb-page-hero__sep {
	opacity: .8;
}

/* Hide native/theme page titles so only the SCB banner heading remains */
body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-cart .woocommerce-products-header,
body.woocommerce-cart .elementor-widget-theme-post-title,
body.woocommerce-cart .page-title,
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .page-header,
body.woocommerce-checkout .woocommerce-products-header,
body.woocommerce-checkout .elementor-widget-theme-post-title,
body.woocommerce-checkout .page-title {
	display: none !important;
}

.scb-visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.scb-hidden { display: none !important; }

.scb-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--scb-accent);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 13px 28px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.scb-btn-primary:hover { background: #00a3d6; transform: translateY(-1px); color: #fff; }

/* ----------------------------------------------------------- STEP BAR */
.scb-steps {
	max-width: 760px;
	margin: 0 auto 40px;
	padding: 8px 0 0;
}
.scb-steps__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
.scb-step {
	position: relative;
	flex: 1 1 0;
	text-align: center;
	color: #9fb1c7;
}
/* connector line between circles */
.scb-step::before {
	content: "";
	position: absolute;
	top: 40px;
	right: 50%;
	width: 100%;
	height: 0;
	border-top: 2px dashed #cdddec;
	z-index: 0;
}
.scb-step:first-child::before { display: none; }
.scb-step.is-done::before,
.scb-step.is-active::before { border-top-color: var(--scb-accent); }

.scb-step__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #E0F6FD;
	color: #8b949e;
	border: 0;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.scb-step__img {
	display: block;
	width: 34px;
	height: 34px;
	max-width: 34px;
	max-height: 34px;
	object-fit: contain;
	filter: grayscale(1) brightness(.64);
	transition: filter .2s ease, opacity .2s ease;
}
.scb-step__label {
	display: block;
	margin-top: 16px;
	font-size: 17px;
	font-weight: 500;
}
.scb-step.is-active .scb-step__icon,
.scb-step.is-done .scb-step__icon {
	background: #00B9F1;
	color: #fff;
	box-shadow: 0 8px 18px rgba(0, 185, 241, .28);
}
.scb-step.is-active .scb-step__img,
.scb-step.is-done .scb-step__img {
	filter: brightness(0) invert(1);
}
.scb-step.is-active .scb-step__label,
.scb-step.is-done .scb-step__label { color: var(--scb-blue); }

/* ----------------------------------------------------------- CART PAGE */
.scb-cart-page__title,
.scb-confirm__summary-title {
	color: var(--scb-navy);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	margin: 0 0 22px;
}
.scb-cart-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 414px;
	gap: 28px;
	align-items: start;
}
.scb-cart-page__items { display: flex; flex-direction: column; gap: 18px; }
.scb-cart-page__summary,
.scb-checkout-side {
	position: sticky;
	top: 70px;
	align-self: start;
	z-index: 2;
}

.scb-citem {
	display: flex;
	gap: 18px;
	justify-content: space-between;
	background: #fff;
	border: 1px solid var(--scb-line);
	border-radius: 16px;
	padding: 20px 22px;
	box-shadow: 0 8px 24px rgba(23, 58, 138, .05);
}
.scb-citem__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--scb-blue);
}
.scb-citem__title a { color: inherit; text-decoration: none; }
.scb-citem__title a:hover { text-decoration: underline; }
.scb-citem__excerpt {
	margin: 0 0 12px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--scb-text);
}
.scb-citem__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.scb-citem__meta .scb-pill {
	border: 1px solid #bfe2f6;
	color: var(--scb-blue);
	background: #fff;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12.5px;
	font-weight: 500;
}
.scb-citem__controls { display: flex; align-items: center; gap: 16px; }
.scb-citem__price {
	color: var(--scb-accent);
	font-size: 22px;
	font-weight: 800;
	white-space: nowrap;
}

.scb-cart-qty {
	display: grid;
	grid-template-columns: 38px 46px 38px;
	align-items: center;
	border: 1px solid var(--scb-line);
	border-radius: 8px;
	overflow: hidden;
	height: 40px;
}
.scb-cart-qty .scb-qty__btn {
	border: 0;
	background: var(--scb-soft);
	color: var(--scb-accent);
	font-size: 18px;
	height: 100%;
	cursor: pointer;
	transition: background .15s ease;
}
.scb-cart-qty .scb-qty__btn:hover { background: #e6f2fb; }
.scb-cart-qty .scb-qty__input {
	border: 0;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	height: 100%;
	width: 100%;
	background: #fff;
	-moz-appearance: textfield;
}
.scb-cart-qty .scb-qty__input::-webkit-outer-spin-button,
.scb-cart-qty .scb-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Cart actions — "Update Cart" button (enabled only when a qty changes). */
.scb-cart-actions { margin-top: 18px; display: flex; justify-content: flex-end; }
.scb-cart-update {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1.5px solid var(--scb-accent);
	background: #fff;
	color: var(--scb-accent);
	border-radius: 8px;
	padding: 11px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.scb-cart-update:hover:not([disabled]) { background: var(--scb-accent); color: #fff; }
.scb-cart-update.is-pending { background: var(--scb-accent); color: #fff; }
.scb-cart-update[disabled] { opacity: .45; cursor: default; }
@media (max-width: 640px) {
	.scb-cart-actions { justify-content: stretch; }
	.scb-cart-update { width: 100%; justify-content: center; }
}

.scb-citem__remove {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #2b3a52;
	background: transparent;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.scb-citem__remove svg { color: #e0556b; }
.scb-citem__remove:hover { background: #fdeef0; color: #cf3f56; }
.scb-citem__remove:hover svg { color: #cf3f56; }

/* ------------------------------------------------- ORDER SUMMARY CARD */
.scb-summary,
.scb-review-card {
	width: 100%;
	max-width: 414px;
	background: #fff;
	border: 1px solid #d8e8f6;
	border-top: 4px solid #004891;
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 16px 34px rgba(23, 58, 138, .08);
	overflow: hidden;
}
.scb-summary__title,
.scb-review-title {
	color: #004891;
	font-size: 32px;
	line-height: 1.18;
	font-weight: 800;
	margin: 0 0 24px;
}
.scb-summary__row,
.scb-summary__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 18px;
	font-size: 21px;
	line-height: 1.35;
	color: #1d1d1f;
	padding: 0;
}
.scb-summary__row--discount { color: #1f9d55; font-size: 17px; }
.scb-summary__remove-coupon { color: #e0556b; text-decoration: none; margin-left: 6px; font-weight: 700; }
.scb-summary__row + .scb-summary__row { margin-top: 12px; }
.scb-summary__total {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #cbd9e8;
	font-size: 30px;
	font-weight: 800;
	color: #004891;
}
.scb-summary__total span:last-child,
.scb-summary__total .amount {
	color: #00B9F1;
	font-size: 30px;
	font-weight: 800;
}
.scb-summary__checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	min-height: 70px;
	margin-top: 30px;
	background: #00B9F1;
	color: #fff;
	-webkit-text-fill-color: #fff;
	border-radius: 999px;
	padding: 18px 24px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 500;
	text-decoration: none;
	transition: background .15s ease, transform .15s ease;
}
.scb-summary__checkout:hover { background: #00a3d6; transform: translateY(-1px); color: #fff; -webkit-text-fill-color: #fff; }
.scb-summary__checkout svg { width: 24px; height: 24px; color: #fff; stroke: currentColor; }

/* ----------------------------------------------------------- PROMO BOX */
.scb-promo { margin-top: 24px; }
.scb-promo__label {
	display: block;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.35;
	color: #1d1d1f;
	margin-bottom: 14px;
}
.scb-promo__row { display: flex; gap: 16px; align-items: stretch; }
.scb-promo__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 62px;
	border: 0;
	border-radius: 14px;
	padding: 0 18px;
	font-size: 17px;
	font-weight: 400;
	background: #EAFBFF;
	color: #1d1d1f;
}
.scb-promo__input::placeholder { color: #9b9b9b; opacity: 1; }
.scb-promo__input:focus { outline: none; box-shadow: 0 0 0 2px rgba(0,185,241,.22); background: #EAFBFF; }
.scb-promo__btn {
	flex: 0 0 120px;
	min-height: 62px;
	border: 0;
	background: #004891;
	color: #fff;
	-webkit-text-fill-color: #fff;
	border-radius: 14px;
	padding: 0 20px;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 500;
	cursor: pointer;
	transition: background .15s ease;
}
.scb-promo__btn:hover { background: #102a66; color: #fff; -webkit-text-fill-color: #fff; }
.scb-promo__btn[disabled] { opacity: .65; cursor: default; }
.scb-promo__msg { margin: 8px 0 0; font-size: 12.5px; min-height: 1em; }
.scb-promo__msg.is-error { color: #d13b3b; }
.scb-promo__msg.is-ok { color: #1f9d55; }
/* ----------------------------------------------------------- EMPTY CART */
.scb-cart-empty { text-align: center; padding: 20px 0 50px; }
.scb-cart-empty__art { margin: 10px auto 8px; }
.scb-cart-empty__img { display: block; margin: 0 auto; max-width: 180px; height: auto; }
.scb-cart-empty__title { color: var(--scb-navy); font-size: 26px; font-weight: 800; margin: 8px 0 10px; }
.scb-cart-empty__text { color: var(--scb-text); font-size: 15px; line-height: 1.6; max-width: 380px; margin: 0 auto 26px; }

/* ----------------------------------------------- CHECKOUT LAYOUT */
.scb-checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 414px;
	gap: 24px 30px;
	align-items: start;
}
.scb-checkout-main { display: flex; flex-direction: column; gap: 20px; }
.scb-checkout-main .col2-set,
.scb-checkout-main #customer_details { width: 100%; float: none; display: contents; }
.scb-checkout-main #customer_details .col-1 { width: 100%; float: none; max-width: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.scb-checkout-main #customer_details .col-2 { display: none; }

.scb-card-block {
	background: #fff;
	border: 1px solid var(--scb-line);
	border-radius: 24px;
	padding: 40px;
	box-shadow: 0 8px 24px rgba(23, 58, 138, .05);
}
.scb-card-block__title { color: #004891; font-size: 40px; font-weight: 700; line-height: 1; text-transform: capitalize; margin: 0 0 8px; }
.scb-card-block__sub { color: var(--scb-text); font-size: 13.5px; margin: 0 0 18px; }

.scb-checkout-fields { display: flex; flex-direction: column; gap: 20px; }
.scb-checkout-fields .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}
.scb-checkout-fields .form-row { margin: 0; padding: 0; }
.scb-checkout-fields .form-row-wide,
.scb-checkout-fields .scb-field-note { grid-column: 1 / -1; }
.scb-checkout-fields label {
	display: block;
	font-size: 20px;
	font-weight: 400;
	line-height: 32px;
	text-transform: capitalize;
	color: #222;
	margin-bottom: 8px;
}
.scb-checkout-fields .required { display: none; }
.scb-checkout-fields .input-text,
.scb-checkout-fields select,
.scb-checkout-fields textarea,
.scb-checkout-fields .select2-container .select2-selection {
	width: 100%;
	min-height: 60px;
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 20px;
	line-height: 32px;
	background: #EBFAFE;
	color: #1c2b46;
}
.scb-checkout-fields .input-text::placeholder,
.scb-checkout-fields textarea::placeholder {
	color: #989898;
	text-transform: capitalize;
}
.scb-checkout-fields textarea { min-height: 120px; resize: vertical; }
.scb-checkout-fields .input-text:focus,
.scb-checkout-fields select:focus,
.scb-checkout-fields textarea:focus { outline: none; border-color: var(--scb-accent); background: #EBFAFE; }

@media (max-width: 640px) {
	.scb-card-block { padding: 22px; border-radius: 18px; }
	.scb-card-block__title { font-size: 26px; }
	.scb-checkout-fields label { font-size: 16px; line-height: 24px; }
	.scb-checkout-fields .input-text,
	.scb-checkout-fields select,
	.scb-checkout-fields textarea,
	.scb-checkout-fields .select2-container .select2-selection {
		min-height: 52px;
		font-size: 16px;
		line-height: 24px;
	}
}
.scb-checkout-fields .select2-container--default .select2-selection--single { height: auto; }
.scb-checkout-fields .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.4; padding: 0; color: #2b3a52; }

/* Payment card ("Pay Via PayPal") */
.scb-payment { background: transparent; display: flex; flex-direction: column; gap: 20px; }
.scb-pay-block__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.scb-pay-block__logo { flex: 0 0 auto; display: inline-flex; }
.scb-pay-block__title { color: var(--scb-navy); font-size: 22px; font-weight: 800; margin: 0; }
.scb-pay-block__note { color: var(--scb-text); font-size: 13.5px; line-height: 1.5; margin: 4px 0 0; }
.scb-payment ul.payment_methods {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}
.scb-payment ul.payment_methods li { margin: 0; padding: 6px 0; }
.scb-payment ul.payment_methods label { font-weight: 600; color: #2b3a52; }
.scb-payment .payment_box { background: var(--scb-soft); border-radius: 8px; font-size: 13px; }
.scb-payment .payment_box::before { display: none; }

/* Terms card */
.scb-terms-block .woocommerce-terms-and-conditions-wrapper { margin: 0; }
.scb-terms-block .woocommerce-form__label { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--scb-navy); font-weight: 600; }
.scb-terms-block .woocommerce-form__input-checkbox { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--scb-navy); }

/* Action buttons row */
.scb-place-order { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; align-items: center; }
.scb-place-order .woocommerce-terms-and-conditions { flex: 1 0 100%; }
.scb-back-basket {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	flex: 1 1 0;
	border: 1.5px solid var(--scb-accent);
	color: var(--scb-blue);
	background: #fff;
	border-radius: 10px;
	padding: 14px 18px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease;
}
.scb-back-basket:hover { background: var(--scb-soft); color: var(--scb-blue); }
.scb-place-order #place_order,
.scb-place-btn {
	flex: 1 1 0;
	width: auto;
	background: var(--scb-accent);
	border: 0;
	border-radius: 10px;
	padding: 15px 18px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.scb-place-order #place_order:hover,
.scb-place-btn:hover { background: #00a3d6; transform: translateY(-1px); }

/* Right-hand Order Review card */
.scb-review-card #order_review { background: transparent; border: 0; padding: 0; box-shadow: none; }
.scb-review-items { display: flex; flex-direction: column; gap: 18px; }
.scb-review-item {
	border-left: 3px solid #00B9F1;
	border-radius: 12px;
	padding: 0 0 0 24px;
	margin: 0;
}
.scb-review-item__name {
	color: #1d1d1f;
	font-size: 24px;
	line-height: 1.35;
	font-weight: 400;
	margin: 0 0 18px;
}
.scb-review-item__name .product-quantity {
	font-weight: 600;
	white-space: nowrap;
}
.scb-review-item__price,
.scb-review-item__price .amount {
	color: #00B9F1;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 800;
}
.scb-review-card .scb-promo--checkout {
	margin-top: 28px;
	padding-top: 0;
	border-top: 0;
}
.scb-review-discount {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-top: 20px;
	font-size: 16px;
	color: #1f9d55;
}
.scb-review-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 18px;
	margin-top: 34px;
	padding-top: 28px;
	border-top: 1px solid #cbd9e8;
	font-size: 30px;
	line-height: 1.25;
	font-weight: 800;
	color: #004891;
}
.scb-review-total span:last-child,
.scb-review-total .amount {
	color: #00B9F1;
	font-size: 30px;
	font-weight: 800;
}
/* Backward-compatible styling if WooCommerce/theme falls back to a table review. */
.scb-review-card .shop_table { width: 100%; border: 0; margin: 0; }
.scb-review-card .shop_table thead { display: none; }
.scb-review-card .shop_table th,
.scb-review-card .shop_table td { border: 0; padding: 10px 0; font-size: 16px; color: var(--scb-text); }
.scb-review-card .cart_item td.product-name { color: #1d1d1f; font-weight: 500; border-left: 3px solid #00B9F1; padding-left: 24px; }
.scb-review-card .cart_item td.product-total { vertical-align: top; color: #00B9F1; font-weight: 800; white-space: nowrap; }
.scb-review-card .cart-subtotal { display: none; }
.scb-review-card .order-total th,
.scb-review-card .order-total td { border-top: 1px solid #cbd9e8; padding-top: 24px; color: #004891; font-weight: 800; font-size: 24px; }
.scb-review-card .order-total td { color: #00B9F1; font-size: 26px; }

/* ----------------------------------------------------------- CONFIRMATION */
.scb-confirm { text-align: center; max-width: 720px; margin: 0 auto; padding-bottom: 50px; }
.scb-confirm__badge {
	width: 96px; height: 96px;
	margin: 6px auto 22px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: #e3f6ea;
	color: #2bb673;
	box-shadow: 0 0 0 10px rgba(43, 182, 115, .08);
}
.scb-confirm__head--failed .scb-confirm__title { color: #d13b3b; }
.scb-confirm__title { color: var(--scb-navy); font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.scb-confirm__sub { color: var(--scb-text); font-size: 15px; line-height: 1.6; max-width: 440px; margin: 0 auto 26px; }
.scb-confirm__actions { margin-top: 8px; }

.scb-confirm__ref {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
	min-width: 280px;
	margin: 0 auto 30px;
	background: #eef6fd;
	border: 1px solid #cfe6f7;
	border-radius: 12px;
	padding: 16px 28px;
}
.scb-confirm__ref-label { font-size: 13px; color: var(--scb-blue); font-weight: 600; }
.scb-confirm__ref-value { font-size: 24px; font-weight: 800; color: var(--scb-navy); letter-spacing: .5px; }

.scb-confirm__summary {
	text-align: left;
	background: #fff;
	border: 1px solid var(--scb-line);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 10px 28px rgba(23, 58, 138, .06);
	margin-bottom: 24px;
}
.scb-confirm__summary-title { font-size: 18px; margin-bottom: 14px; }
.scb-confirm__row {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--scb-line);
	font-size: 14px;
	color: var(--scb-text);
}
.scb-confirm__row:last-child { border-bottom: 0; }
.scb-confirm__row--course span:first-child { color: var(--scb-blue); font-weight: 600; }
.scb-confirm__row--total { font-weight: 700; color: var(--scb-navy); }
.scb-confirm__row--total span:last-child { color: var(--scb-accent); font-size: 18px; font-weight: 800; }

.scb-confirm__help {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.scb-help-card {
	background: #fff;
	border: 1px solid var(--scb-line);
	border-radius: 14px;
	padding: 20px 16px;
	text-align: center;
}
.scb-help-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: #eef6fd;
	color: var(--scb-blue);
	margin-bottom: 10px;
}
.scb-help-card__title { color: var(--scb-navy); font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.scb-help-card__text { color: var(--scb-text); font-size: 12.5px; line-height: 1.5; margin: 0; }

/* ----------------------------------------------------------- RESPONSIVE */
@media (max-width: 900px) {
	.scb-cart-page__summary,
	.scb-checkout-side { position: static; top: auto; }
	.scb-summary,
	.scb-review-card { max-width: none; }
	.scb-page-hero { min-height: 460px; margin-bottom: 34px; }
	.scb-page-hero__title { font-size: clamp(36px, 8vw, 54px); }
	.scb-page-hero__crumbs { font-size: 16px; }
	.scb-cart-page__grid { grid-template-columns: 1fr; }
	.scb-checkout-grid { grid-template-columns: 1fr; }
	.scb-confirm__help { grid-template-columns: 1fr; }
	.scb-checkout-fields .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	.scb-checkout-fields .form-row-first,
	.scb-checkout-fields .form-row-last { grid-column: 1 / -1; }
	.scb-back-basket,
	.scb-place-order #place_order,
	.scb-place-btn { flex: 1 0 100%; }
}
@media (max-width: 560px) {
	.scb-summary,
	.scb-review-card { padding: 20px; border-radius: 20px; }
	.scb-summary__title,
	.scb-review-title { font-size: 26px; }
	.scb-summary__row,
	.scb-promo__label { font-size: 16px; }
	.scb-summary__total,
	.scb-summary__total span:last-child,
	.scb-summary__total .amount,
	.scb-review-total,
	.scb-review-total span:last-child,
	.scb-review-total .amount,
	.scb-review-item__price,
	.scb-review-item__price .amount { font-size: 25px; }
	.scb-review-item__name { font-size: 20px; }
	.scb-promo__row { gap: 10px; }
	.scb-promo__btn { flex-basis: 96px; font-size: 16px; }
	.scb-summary__checkout { font-size: 18px; min-height: 62px; }
	.scb-page-hero { min-height: 360px; padding: 40px 18px; }
	.scb-page-hero__title { font-size: 42px; margin-bottom: 10px; }
	.scb-page-hero__crumbs { font-size: 14px; gap: 6px; }
	.scb-step__label { font-size: 12px; margin-top: 10px; }
	.scb-step__icon { width: 50px; height: 50px; }
	.scb-step__img { width: 22px; height: 22px; max-width: 22px; max-height: 22px; }
	.scb-step::before { top: 25px; }
	.scb-citem { flex-direction: column; }
	.scb-citem__price { align-self: flex-start; }
}


/* ----------------------------------------------------------- THEME OVERRIDE GUARD
   Keep cart/checkout UI consistent even when the active Elementor/theme styles
   target WooCommerce buttons, links or images globally.
   ----------------------------------------------------------- */
body.woocommerce-cart .scb-steps,
body.woocommerce-checkout .scb-steps,
body.woocommerce-order-received .scb-steps,
body.woocommerce-cart .scb-shop,
body.woocommerce-checkout .scb-shop,
body.woocommerce-order-received .scb-shop {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}
body.woocommerce-cart .scb-steps .scb-step__icon,
body.woocommerce-checkout .scb-steps .scb-step__icon,
body.woocommerce-order-received .scb-steps .scb-step__icon {
	background: #E0F6FD !important;
	border: 0 !important;
	box-shadow: none;
}
body.woocommerce-cart .scb-steps .scb-step.is-active .scb-step__icon,
body.woocommerce-cart .scb-steps .scb-step.is-done .scb-step__icon,
body.woocommerce-checkout .scb-steps .scb-step.is-active .scb-step__icon,
body.woocommerce-checkout .scb-steps .scb-step.is-done .scb-step__icon,
body.woocommerce-order-received .scb-steps .scb-step.is-active .scb-step__icon,
body.woocommerce-order-received .scb-steps .scb-step.is-done .scb-step__icon {
	background: #00B9F1 !important;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(0, 185, 241, .28) !important;
}
body.woocommerce-cart .scb-steps .scb-step__img,
body.woocommerce-checkout .scb-steps .scb-step__img,
body.woocommerce-order-received .scb-steps .scb-step__img {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}
body.woocommerce-cart .scb-steps .scb-step.is-active .scb-step__img,
body.woocommerce-cart .scb-steps .scb-step.is-done .scb-step__img,
body.woocommerce-checkout .scb-steps .scb-step.is-active .scb-step__img,
body.woocommerce-checkout .scb-steps .scb-step.is-done .scb-step__img,
body.woocommerce-order-received .scb-steps .scb-step.is-active .scb-step__img,
body.woocommerce-order-received .scb-steps .scb-step.is-done .scb-step__img {
	filter: brightness(0) invert(1) !important;
}
body.woocommerce-cart .scb-shop .scb-summary .scb-summary__checkout,
body.woocommerce-cart .scb-shop .scb-summary .scb-summary__checkout:visited,
body.woocommerce-cart .scb-shop .scb-summary .scb-summary__checkout:focus {
	background: #00B9F1 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	border: 0 !important;
	text-decoration: none !important;
}
body.woocommerce-cart .scb-shop .scb-summary .scb-summary__checkout:hover {
	background: #00a3d6 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	text-decoration: none !important;
}
body.woocommerce-cart .scb-shop .scb-summary .scb-summary__checkout *,
body.woocommerce-cart .scb-shop .scb-summary .scb-summary__checkout svg {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	stroke: currentColor !important;
}
body.woocommerce-cart .scb-shop .scb-promo__btn,
body.woocommerce-checkout .scb-shop .scb-promo__btn,
body.woocommerce-checkout .scb-shop .scb-place-btn,
body.woocommerce-checkout .scb-shop .button.scb-place-btn {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	text-decoration: none !important;
}
/* =========================================================
   OVERRIDE: Elementor reset.css pink hover/focus (#c36)
   Scope: all buttons inside the SCB booking box & shop flow
   ========================================================= */

/* Qty stepper buttons (− and +) */
.scb-cart-box [type=button]:focus,
.scb-cart-box [type=button]:hover,
.scb-cart-box button:focus,
.scb-cart-box button:hover,
.scb-cart-box [type=button]:focus-visible,
.scb-cart-box button:focus-visible {
    background-color: #00B9F1 !important; /* SCB sky blue */
    color: #ffffff !important;
    outline: 2px solid #00B9F1 !important;
    outline-offset: 2px !important;
}

/* Add to Cart button */
.scb-cart-box .scb-cart__add:focus,
.scb-cart-box .scb-cart__add:hover,
.scb-cart-box [type=submit].scb-cart__add:focus,
.scb-cart-box [type=submit].scb-cart__add:hover {
    background-color: #0098c8 !important; /* slightly darker on hover = intentional */
    color: #ffffff !important;
    outline: none !important;
}

/* WooCommerce shop flow buttons (cart, checkout pages) */
.scb-shop [type=button]:focus,
.scb-shop [type=button]:hover,
.scb-shop [type=submit]:focus,
.scb-shop [type=submit]:hover,
.scb-shop button:focus,
.scb-shop button:hover {
    background-color: #00B9F1 !important;
    color: #ffffff !important;
    outline: 2px solid #004891 !important;
    outline-offset: 2px !important;
}

/* Restore PayPal button — don't touch its own brand colors */
.scb-cart-box .scb-cart__paypal:focus,
.scb-cart-box .scb-cart__paypal:hover,
.scb-shop .scb-cart__paypal:focus,
.scb-shop .scb-cart__paypal:hover {
    background-color: #FFC439 !important; /* PayPal gold */
    outline: none !important;
}