/* =====================================================
   CART & CHECKOUT — loaded only on those pages (gmc_shop_assets)
   Brand: #304194 blue, #ec2027 red
===================================================== */

body.gmc-shop-page {
	--gmc-blue: #304194;
	--gmc-blue-dark: #222f70;
	--gmc-blue-soft: #eef1fb;
	--gmc-red: #ec2027;
	--gmc-ink: #1d2433;
	--gmc-muted: #5f6b7d;
	--gmc-line: #e3e8f0;
	--gmc-bg: #f5f7fb;
	background: var(--gmc-bg);
}

/* Header is solid on these pages (no hero behind it) */
body.gmc-shop-page .header {
	background-color: var(--gmc-blue);
}
body.gmc-shop-page .main-content {
	margin-top: 90px;
	background: var(--gmc-bg);
}
body.gmc-shop-page #main,
body.gmc-shop-page .site-content,
body.gmc-shop-page article.page {
	background: transparent;
}

body.gmc-shop-page .entry-content {
	max-width: 1240px !important;
	margin: 0 auto;
	background: transparent !important;
	padding: 28px 20px 60px !important;
}

/* Page heading (printed with the top bar) */
.gmc-shop-title {
	margin: 0 0 4px;
	color: var(--gmc-ink);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}
.gmc-shop-subtitle {
	margin: 0;
	color: var(--gmc-muted);
	font-size: 15px;
}

/* =====================================================
   TOP BAR: back button, steps, secure badge
===================================================== */

.gmc-shop-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 22px 0 26px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid var(--gmc-line);
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(29, 36, 51, 0.04);
}
.gmc-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1.5px solid var(--gmc-blue);
	color: var(--gmc-blue) !important;
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease;
}
.gmc-back-btn:hover,
.gmc-back-btn:focus-visible {
	background: var(--gmc-blue);
	color: #fff !important;
}
.gmc-back-btn svg {
	transition: transform 0.2s ease;
}
.gmc-back-btn:hover svg {
	transform: translateX(-3px);
}

.gmc-steps {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
}
.gmc-step {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--gmc-muted);
	white-space: nowrap;
}
.gmc-step + .gmc-step:before {
	content: "";
	width: 28px;
	height: 2px;
	margin-right: 2px;
	background: var(--gmc-line);
	border-radius: 2px;
}
.gmc-step.is-done + .gmc-step:before {
	background: var(--gmc-blue);
}
.gmc-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 2px solid var(--gmc-line);
	background: #fff;
	font-size: 12px;
	font-weight: 700;
	color: var(--gmc-muted);
}
.gmc-step.is-current {
	color: var(--gmc-ink);
	font-weight: 600;
}
.gmc-step.is-current .gmc-step-num {
	border-color: var(--gmc-blue);
	background: var(--gmc-blue);
	color: #fff;
}
.gmc-step.is-done .gmc-step-num {
	border-color: var(--gmc-blue);
	color: var(--gmc-blue);
}
.gmc-step a {
	color: var(--gmc-blue);
	text-decoration: none;
}
.gmc-step a:hover {
	text-decoration: underline;
}

.gmc-secure-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #1c7c45;
	font-size: 14px;
	font-weight: 600;
}

/* =====================================================
   LAYOUT (overrides the older rules in style.css)
===================================================== */

body.gmc-shop-page .wc-block-components-sidebar-layout,
body.gmc-shop-page .wc-block-components-sidebar-layout.wc-block-checkout {
	max-width: none;
	margin: 0;
	padding: 0;
	gap: 28px;
}
@media (min-width: 1024px) {
	body.gmc-shop-page .wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 380px;
		align-items: start;
	}
}
body.gmc-shop-page .wc-block-components-main,
body.gmc-shop-page .wc-block-components-sidebar {
	width: auto !important;
	padding: 0;
	margin: 0;
}

/* Cards */
body.gmc-shop-page .wc-block-components-checkout-step,
body.gmc-shop-page .wc-block-components-express-payment,
body.gmc-shop-page .wc-block-checkout__order-notes,
body.gmc-shop-page .wc-block-cart__main {
	background: #fff;
	padding: 26px 28px;
	margin: 0 0 20px;
	border: 1px solid var(--gmc-line);
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(29, 36, 51, 0.04);
}
body.gmc-shop-page .wc-block-checkout__order-notes {
	padding: 18px 28px;
}
/* Empty shipping / pickup placeholders (courses don't ship) leave a blank gap */
body.gmc-shop-page div.wp-block-woocommerce-checkout-shipping-method-block,
body.gmc-shop-page div.wp-block-woocommerce-checkout-pickup-options-block {
	display: none;
}

/* Numbered step headings on checkout */
body.gmc-shop-page .wc-block-checkout__form {
	counter-reset: gmc-step;
}
body.gmc-shop-page .wc-block-components-checkout-step__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	color: var(--gmc-ink);
	font-size: 20px;
	font-weight: 700;
}
body.gmc-shop-page .wc-block-components-checkout-step__title:before {
	counter-increment: gmc-step;
	content: counter(gmc-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--gmc-blue-soft);
	color: var(--gmc-blue);
	font-size: 14px;
	font-weight: 700;
}
body.gmc-shop-page .wc-block-components-checkout-step__heading {
	margin: 0;
}
body.gmc-shop-page .wc-block-components-checkout-step__container:after,
body.gmc-shop-page .wc-block-components-checkout-step:after {
	display: none;
}
body.gmc-shop-page .wc-block-components-checkout-step__description {
	color: var(--gmc-muted);
}

/* =====================================================
   FIELDS
===================================================== */

body.gmc-shop-page .wc-block-components-text-input input,
body.gmc-shop-page .wc-block-components-text-input input[type],
body.gmc-shop-page .wc-blocks-components-select__select,
body.gmc-shop-page .wc-block-components-textarea {
	border: 1.5px solid #d5dbe5;
	border-radius: 10px;
	background: #fff;
	color: var(--gmc-ink);
}
body.gmc-shop-page .wc-block-components-text-input input:focus,
body.gmc-shop-page .wc-blocks-components-select__select:focus,
body.gmc-shop-page .wc-block-components-textarea:focus {
	border-color: var(--gmc-blue);
	box-shadow: 0 0 0 3px rgba(48, 65, 148, 0.15);
	outline: none;
}
body.gmc-shop-page .wc-block-components-text-input.has-error input,
body.gmc-shop-page .wc-blocks-components-select.has-error .wc-blocks-components-select__select {
	border-color: #c9353f;
}
body.gmc-shop-page .wc-block-components-text-input label,
body.gmc-shop-page .wc-blocks-components-select__label {
	color: var(--gmc-muted);
}
body.gmc-shop-page .wc-block-checkout__guest-checkout-notice,
body.gmc-shop-page .wc-block-components-address-form__address_2-toggle {
	color: var(--gmc-muted);
	font-size: 13px;
}
body.gmc-shop-page .wc-block-components-address-form__address_2-toggle {
	color: var(--gmc-blue);
}

/* Payment options */
body.gmc-shop-page .wc-block-components-radio-control__option,
body.gmc-shop-page .wc-block-components-radio-control-accordion-option {
	border-radius: 12px;
}
body.gmc-shop-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.gmc-shop-page .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--gmc-blue);
	background: #fafbff;
}
body.gmc-shop-page .wc-block-components-radio-control__option-checked {
	border-color: var(--gmc-blue);
	background: transparent;
}
body.gmc-shop-page .wc-block-components-radio-control__input:checked {
	border-color: var(--gmc-blue);
}
body.gmc-shop-page .wc-block-components-radio-control__input:checked:before {
	background: var(--gmc-blue);
}
body.gmc-shop-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked {
	background: var(--gmc-blue);
	border-color: var(--gmc-blue);
}
body.gmc-shop-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked + .wc-block-components-checkbox__mark {
	fill: #fff;
}

/* Terms */
body.gmc-shop-page .wc-block-checkout__terms {
	margin: 4px 0 18px;
	padding: 0;
	border: 0;
	color: var(--gmc-muted);
	font-size: 14px;
}
body.gmc-shop-page .wc-block-checkout__terms a {
	color: var(--gmc-blue);
}

/* =====================================================
   ACTION BUTTONS
===================================================== */

body.gmc-shop-page .wc-block-checkout__actions {
	padding: 0;
}
body.gmc-shop-page .wc-block-checkout__actions_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
body.gmc-shop-page .wc-block-components-checkout-place-order-button,
body.gmc-shop-page .wc-block-cart__submit-button {
	min-height: 56px;
	padding: 14px 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--gmc-blue) !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	box-shadow: 0 8px 20px rgba(48, 65, 148, 0.25);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
body.gmc-shop-page .wc-block-components-checkout-place-order-button:hover,
body.gmc-shop-page .wc-block-cart__submit-button:hover {
	background: var(--gmc-blue-dark) !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(48, 65, 148, 0.32);
}
body.gmc-shop-page .wc-block-components-checkout-place-order-button:focus-visible,
body.gmc-shop-page .wc-block-cart__submit-button:focus-visible {
	outline: 3px solid rgba(48, 65, 148, 0.35);
	outline-offset: 3px;
}
body.gmc-shop-page .wc-block-components-checkout-place-order-button {
	flex: 1 1 auto;
	max-width: 340px;
}
body.gmc-shop-page .wc-block-components-checkout-return-to-cart-button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--gmc-muted) !important;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
body.gmc-shop-page .wc-block-components-checkout-return-to-cart-button:hover {
	color: var(--gmc-blue) !important;
}
body.gmc-shop-page .wc-block-components-checkout-return-to-cart-button svg {
	fill: currentColor;
}

/* =====================================================
   ORDER SUMMARY / CART TOTALS (sidebar)
===================================================== */

body.gmc-shop-page .wc-block-components-sidebar {
	background: #fff;
	padding: 24px !important;
	border: 1px solid var(--gmc-line);
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(29, 36, 51, 0.06);
}
@media (min-width: 1024px) {
	body.gmc-shop-page .wc-block-components-sidebar {
		position: sticky;
		top: 110px;
	}
}
/* Remove the inner box WooCommerce draws inside the sidebar */
body.gmc-shop-page .wp-block-woocommerce-checkout-order-summary-block,
body.gmc-shop-page .wp-block-woocommerce-cart-order-summary-block {
	border: 0;
	border-radius: 0;
	margin: 0;
}
body.gmc-shop-page .wc-block-components-checkout-order-summary__title,
body.gmc-shop-page .wc-block-cart__totals-title {
	margin: 0 0 6px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--gmc-line);
	color: var(--gmc-ink);
	font-size: 20px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0;
}
body.gmc-shop-page .wc-block-components-checkout-order-summary__title-text {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}
body.gmc-shop-page .wc-block-components-totals-wrapper {
	padding: 14px 0;
	border-top: 1px solid var(--gmc-line);
}
body.gmc-shop-page .wc-block-components-totals-wrapper:first-child,
body.gmc-shop-page .wc-block-components-totals-wrapper:empty {
	border-top: 0;
}
body.gmc-shop-page .wc-block-components-totals-wrapper:empty {
	padding: 0;
}
body.gmc-shop-page .wc-block-components-totals-item {
	padding: 4px 0;
	color: var(--gmc-muted);
	font-size: 15px;
}
body.gmc-shop-page .wc-block-components-totals-footer-item {
	margin: 0;
	color: var(--gmc-ink);
}
body.gmc-shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.gmc-shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 22px;
	font-weight: 700;
}

/* Summary line items */
body.gmc-shop-page .wc-block-components-order-summary-item {
	align-items: flex-start;
	padding: 12px 0;
	border-bottom: 1px dashed var(--gmc-line);
}
body.gmc-shop-page .wc-block-components-order-summary-item:last-child {
	border-bottom: 0;
}
body.gmc-shop-page .wc-block-components-order-summary-item__image {
	width: 48px;
}
body.gmc-shop-page .wc-block-components-order-summary-item__image img {
	border-radius: 8px;
	background: var(--gmc-blue-soft);
}
body.gmc-shop-page .wc-block-components-order-summary-item__quantity {
	display: none; /* courses are sold individually */
}
body.gmc-shop-page .wc-block-components-product-name {
	color: var(--gmc-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}
body.gmc-shop-page .wc-block-components-product-price,
body.gmc-shop-page .wc-block-components-product-price ins,
body.gmc-shop-page .wc-block-components-product-price del,
body.gmc-shop-page .wc-block-components-order-summary-item__individual-prices {
	font-size: 14px;
}
body.gmc-shop-page .wc-block-components-product-price del {
	color: #98a1b1;
	font-weight: 400;
}
body.gmc-shop-page .wc-block-components-product-price ins {
	color: var(--gmc-ink);
	font-weight: 700;
	text-decoration: none;
}
body.gmc-shop-page .wc-block-components-order-summary-item__total-price {
	color: var(--gmc-ink);
	font-weight: 700;
}
body.gmc-shop-page .wc-block-components-product-metadata__description {
	display: none; /* long course excerpts clutter the summary */
}

/* Coupon panel */
body.gmc-shop-page .wc-block-components-panel__button {
	color: var(--gmc-blue);
	font-size: 15px;
	font-weight: 600;
}

/* "Add another short course" (inserted by js/gmc-cart.js) */
.gmc-add-course {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	padding: 14px 16px;
	border: 1.5px dashed #aab5d9;
	border-radius: 12px;
	background: #fafbff;
	color: var(--gmc-blue) !important;
	text-decoration: none !important;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.gmc-add-course:hover,
.gmc-add-course:focus-visible {
	border-color: var(--gmc-blue);
	background: var(--gmc-blue-soft);
}
.gmc-add-course-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--gmc-blue);
	color: #fff;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}
.gmc-add-course strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
}
.gmc-add-course small {
	display: block;
	color: var(--gmc-muted);
	font-size: 13px;
}

/* =====================================================
   CART PAGE
===================================================== */

body.gmc-cart-page .wc-block-cart__main {
	padding: 8px 28px;
}
body.gmc-cart-page .wc-block-cart-items {
	margin: 0;
	border: 0;
}
body.gmc-cart-page .wc-block-cart-items__header {
	color: var(--gmc-muted);
	font-size: 13px;
	letter-spacing: 0.04em;
}
body.gmc-cart-page .wc-block-cart-items__header th {
	padding: 16px 0 12px;
	border-bottom: 1px solid var(--gmc-line);
}
body.gmc-cart-page .wc-block-cart-items .wc-block-cart-items__row {
	padding: 20px 0;
	border-bottom: 1px solid var(--gmc-line);
}
body.gmc-cart-page .wc-block-cart-items .wc-block-cart-items__row:last-child {
	border-bottom: 0;
}
body.gmc-cart-page .wc-block-cart-item__image img {
	border-radius: 10px;
	background: var(--gmc-blue-soft);
}
body.gmc-cart-page .wc-block-cart-item__product .wc-block-components-product-name {
	color: var(--gmc-ink);
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}
body.gmc-cart-page .wc-block-cart-item__product .wc-block-components-product-name:hover {
	color: var(--gmc-blue);
}
body.gmc-cart-page .wc-block-cart-item__prices .wc-block-components-product-price,
body.gmc-cart-page .wc-block-cart-item__prices .wc-block-components-product-price ins,
body.gmc-cart-page .wc-block-cart-item__prices .wc-block-components-product-price del {
	font-size: 15px;
}
body.gmc-cart-page .wc-block-components-sale-badge {
	border-color: var(--gmc-red);
	color: var(--gmc-red);
	background: #fff5f5;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 11px;
}
body.gmc-cart-page .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	display: none; /* courses are sold individually */
}
body.gmc-cart-page .wc-block-cart-item__remove-link {
	display: inline-flex !important;
	align-items: center;
	margin-top: 8px;
	color: #c9353f !important;
	font-size: 13px !important;
	font-weight: 600;
	text-decoration: none !important;
}
body.gmc-cart-page .wc-block-cart-item__remove-link:hover {
	text-decoration: underline !important;
}
body.gmc-cart-page .wc-block-cart-item__total .wc-block-components-product-price {
	color: var(--gmc-ink);
	font-size: 17px;
	font-weight: 700;
}
body.gmc-cart-page .wc-block-cart__submit {
	margin: 18px 0 0;
}
body.gmc-cart-page .wc-block-cart__submit-button {
	width: 100%;
}

/* =====================================================
   EMPTY CART (markup from gmc_empty_cart_html())
===================================================== */

/* Steps make no sense with nothing in the cart */
.gmc-shop-header:has(+ .wp-block-woocommerce-cart .gmc-empty-cart) .gmc-steps {
	display: none;
}
.gmc-empty-cart {
	max-width: 640px;
	margin: 0 auto;
	padding: 56px 32px 48px;
	background: #fff;
	border: 1px solid var(--gmc-line);
	border-radius: 20px;
	box-shadow: 0 8px 28px rgba(29, 36, 51, 0.06);
	text-align: center;
}
.gmc-empty-cart__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--gmc-blue-soft);
	color: var(--gmc-blue);
}
.gmc-empty-cart__title {
	margin: 0 0 10px;
	color: var(--gmc-ink);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
}
.gmc-empty-cart__text {
	max-width: 440px;
	margin: 0 auto 28px;
	color: var(--gmc-muted);
	font-size: 16px;
	line-height: 1.6;
}
.gmc-empty-cart__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}
.gmc-empty-cart__btn {
	text-transform: none;
	letter-spacing: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 28px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.gmc-empty-cart__btn--primary {
	background: var(--gmc-blue);
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(48, 65, 148, 0.25);
}
.gmc-empty-cart__btn--primary:hover,
.gmc-empty-cart__btn--primary:focus-visible {
	background: var(--gmc-blue-dark);
	transform: translateY(-1px);
}
.gmc-empty-cart__btn--secondary {
	border: 1.5px solid var(--gmc-blue);
	color: var(--gmc-blue) !important;
	background: #fff;
}
.gmc-empty-cart__btn--secondary:hover,
.gmc-empty-cart__btn--secondary:focus-visible {
	background: var(--gmc-blue-soft);
}
.gmc-empty-cart__help {
	margin: 26px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--gmc-line);
	color: var(--gmc-muted);
	font-size: 14px;
}
.gmc-empty-cart__help a {
	color: var(--gmc-blue);
	font-weight: 700;
	text-decoration: none;
}

/* =====================================================
   CHECKOUT: remove (×) button + email OTP popup
===================================================== */

body.gmc-shop-page .gmc-checkout-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-left: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fdeeee;
	color: #c9353f;
	font-size: 16px;
	line-height: 1;
	vertical-align: middle;
	cursor: pointer;
}
body.gmc-shop-page .gmc-checkout-remove:hover {
	background: #c9353f;
	color: #fff;
}

body.gmc-otp-open {
	overflow: hidden;
}
.gmc-otp[hidden] {
	display: none !important;
}
.gmc-otp {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(17, 24, 39, 0.6);
}
.gmc-otp__box {
	position: relative;
	width: 100%;
	max-width: 420px;
	padding: 36px 28px 26px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
	text-align: center;
}
.gmc-otp__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #5f6b7d;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.gmc-otp__close:hover {
	background: #f1f3f7;
}
.gmc-otp__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: #eef1fb;
	color: #304194;
}
.gmc-otp h3 {
	margin: 0 0 6px;
	color: #1d2433;
	font-size: 22px;
	font-weight: 700;
}
.gmc-otp__text {
	margin: 0 0 20px;
	color: #5f6b7d;
	font-size: 15px;
	word-break: break-word;
}
.gmc-otp__text strong {
	color: #1d2433;
}
.gmc-otp__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.gmc-otp #otp_code {
	width: 100%;
	height: 56px;
	padding: 0 12px;
	border: 1.5px solid #d5dbe5;
	border-radius: 12px;
	color: #1d2433;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.4em;
	text-align: center;
}
.gmc-otp #otp_code:focus {
	border-color: #304194;
	box-shadow: 0 0 0 3px rgba(48, 65, 148, 0.15);
	outline: none;
}
.gmc-otp button {
	text-transform: none;
	letter-spacing: 0;
}
.gmc-otp #verify_otp {
	min-height: 52px;
	border: 0;
	border-radius: 999px;
	background: #304194;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.gmc-otp #verify_otp:hover {
	background: #222f70;
}
.gmc-otp #verify_otp:disabled {
	opacity: 0.7;
	cursor: wait;
}
.gmc-otp__msg {
	min-height: 20px;
	margin: 12px 0 0;
	color: #c9353f;
	font-size: 14px;
}
.gmc-otp__msg[data-type="info"] {
	color: #5f6b7d;
}
.gmc-otp__msg[data-type="success"] {
	color: #1c7c45;
}
.gmc-otp__resend {
	margin: 8px 0 0;
	color: #5f6b7d;
	font-size: 13px;
}
.gmc-otp__resend-btn {
	padding: 0;
	border: 0;
	background: none;
	color: #304194;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
.gmc-otp__resend-btn:disabled {
	color: #98a1b1;
	text-decoration: none;
	cursor: default;
}

/* =====================================================
   THANK-YOU (order received)
===================================================== */

body.gmc-order-received-page .woocommerce-order {
	max-width: 960px;
	margin: 0 auto;
	padding: 0;
}
/* The heading above already says the order was received */
body.gmc-order-received-page .woocommerce-thankyou-order-received {
	display: none;
}
body.gmc-order-received-page .gmc-step.is-done:last-child .gmc-step-num {
	background: #1c7c45;
	border-color: #1c7c45;
	color: #fff;
}
body.gmc-order-received-page .woocommerce-order-overview,
body.gmc-order-received-page .woocommerce-order-details,
body.gmc-order-received-page .woocommerce-customer-details {
	margin: 0 0 20px;
	padding: 26px 28px;
	border: 1px solid var(--gmc-line);
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(29, 36, 51, 0.04);
}
body.gmc-order-received-page .woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--gmc-muted);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
body.gmc-order-received-page .woocommerce-order-overview strong {
	color: var(--gmc-ink);
	font-size: 16px;
	text-transform: none;
	letter-spacing: 0;
}
body.gmc-order-received-page .woocommerce-order-details__title,
body.gmc-order-received-page .woocommerce-column__title {
	color: var(--gmc-ink);
	font-size: 20px;
	font-weight: 700;
}
body.gmc-order-received-page .woocommerce-table__product-name a {
	color: var(--gmc-blue);
}
body.gmc-order-received-page .woocommerce-table__product-name a:hover {
	color: var(--gmc-blue-dark);
}
body.gmc-order-received-page .woocommerce-notice--error,
body.gmc-order-received-page .woocommerce-thankyou-order-failed {
	padding: 16px 20px;
	border: 1px solid #e5c7ca;
	border-left: 4px solid #c9353f;
	border-radius: 12px;
	background: #fdf6f7;
}
body.gmc-order-received-page .woocommerce-thankyou-order-failed-actions .button {
	display: inline-flex;
	margin: 8px 8px 0 0;
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--gmc-blue);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1023px) {
	body.gmc-shop-page .main-content {
		margin-top: 64px;
	}
	body.gmc-shop-page .wc-block-components-sidebar-layout {
		display: flex;
		flex-direction: column;
	}
	body.gmc-shop-page .wc-block-components-sidebar {
		margin-top: 0;
	}
	/* Checkout on mobile: WooCommerce shows a collapsible summary above the form */
	body.gmc-checkout-page .wc-block-components-sidebar {
		order: -1;
	}
	.gmc-steps {
		order: 3;
		width: 100%;
		justify-content: center;
		padding-top: 12px;
		border-top: 1px solid var(--gmc-line);
	}
}
@media (max-width: 767px) {
	.gmc-shop-title {
		font-size: 24px;
	}
	.gmc-shop-subtitle {
		font-size: 14px;
	}
	body.gmc-shop-page .entry-content {
		padding: 18px 14px 40px !important;
	}
	.gmc-shop-topbar {
		margin: 14px 0 18px;
		padding: 12px;
	}
	.gmc-back-btn {
		padding: 9px 14px;
		font-size: 14px;
	}
	.gmc-secure-badge {
		font-size: 13px;
	}
	.gmc-steps {
		gap: 4px;
		font-size: 12px;
	}
	.gmc-step + .gmc-step:before {
		width: 12px;
	}
	.gmc-step-num {
		width: 22px;
		height: 22px;
		font-size: 11px;
	}
	body.gmc-shop-page .wc-block-components-checkout-step,
	body.gmc-shop-page .wc-block-components-express-payment,
	body.gmc-shop-page .wc-block-checkout__order-notes,
	body.gmc-shop-page .wc-block-components-sidebar {
		padding: 20px 16px !important;
		border-radius: 14px;
	}
	body.gmc-cart-page .wc-block-cart__main {
		padding: 4px 16px;
	}
	.gmc-empty-cart {
		padding: 40px 20px 32px;
		border-radius: 16px;
	}
	.gmc-empty-cart__icon {
		width: 80px;
		height: 80px;
	}
	.gmc-empty-cart__title {
		font-size: 23px;
	}
	.gmc-empty-cart__btn {
		width: 100%;
	}
	body.gmc-order-received-page .woocommerce-order-overview,
	body.gmc-order-received-page .woocommerce-order-details,
	body.gmc-order-received-page .woocommerce-customer-details {
		padding: 20px 16px;
	}
	body.gmc-shop-page .wc-block-checkout__actions_row {
		flex-direction: column-reverse;
		align-items: stretch;
	}
	body.gmc-shop-page .wc-block-components-checkout-place-order-button {
		max-width: none;
		width: 100%;
	}
	body.gmc-shop-page .wc-block-components-checkout-return-to-cart-button {
		justify-content: center;
	}
}
@media (max-width: 400px) {
	.gmc-step:not(.is-current) > span:not(.gmc-step-num),
	.gmc-step:not(.is-current) > a {
		display: none;
	}
}
