/* ============================================================
   GGM — Public / Checkout / Workshop Pages
   ============================================================ */

/* ── Products Grid ─────────────────────────────────────────── */
.ggm-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 16px;
}

.ggm-product-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px 24px;
	text-align: center;
	position: relative;
	transition: transform .2s;
}
.ggm-product-card:hover {
	transform: translateY(-3px);
}
.ggm-product-card--active {
	border-color: #7c3aed;
	outline: 2px solid rgba(124,58,237,.45);
	outline-offset: 0;
}
.ggm-product-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: #7c3aed;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 14px;
	border-radius: 20px;
	white-space: nowrap;
}
.ggm-product-title {
	font-size: 18px;
	font-weight: 700;
	margin: 12px 0 8px;
	color: #1a202c;
}
.ggm-product-price {
	font-size: 38px;
	font-weight: 800;
	color: #7c3aed;
	line-height: 1;
	margin: 10px 0;
}
.ggm-product-price .currency {
	font-size: 22px;
	vertical-align: top;
	margin-top: 8px;
	display: inline-block;
}
.ggm-product-duration {
	font-size: 13px;
	color: #718096;
	margin-bottom: 20px;
}
.ggm-product-enroll-btn {
	width: 100%;
}

/* ── Checkout ───────────────────────────────────────────────── */
.ggm-checkout-wrap {
	display: flex;
	justify-content: center;
	padding: 40px 20px 64px;
	background: radial-gradient(circle at 50% 0, #f7fbff 0, #fff 60%);
	box-sizing: border-box;
}
.ggm-checkout-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 24px;
	padding: 48px 40px 40px;
	max-width: 920px;
	width: 100%;
	box-sizing: border-box;
	min-width: 0;
}
.ggm-checkout-heading { text-align: center; max-width: 680px; margin: 0 auto 38px; }
.ggm-checkout-eyebrow { display: inline-flex; align-items:center; gap:8px; color: #378e1c; font-size: 15px; font-weight: 750; text-transform: none; }
.ggm-checkout-eyebrow > span { display:grid; place-items:center; width:20px; height:22px; color:#4aac27; font-size:22px; }
.ggm-checkout-title {
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.08;
	margin: 12px 0 10px;
	text-align: center;
	color: #182536;
}
.ggm-checkout-heading > p { margin: 0; color: #243246; font-size: 16px; }
.ggm-checkout-progress { display:flex; align-items:flex-start; justify-content:center; max-width:520px; margin:0 auto 42px; }
.ggm-checkout-progress-line { height:1px; background:#e0e5ea; flex:1; margin:15px 8px 0; }
.ggm-checkout-progress-step { min-width:115px; display:flex; flex-direction:column; align-items:center; gap:9px; color:#77869a; }
.ggm-checkout-progress-step span { display:grid; place-items:center; width:31px; height:31px; border-radius:50%; background:#f0f2f5; color:#38475a; font-weight:800; }
.ggm-checkout-progress-step strong { font-size:14px; white-space:nowrap; }
.ggm-checkout-progress-step.is-active { color:#172336; }
.ggm-checkout-progress-step.is-active span { color:#fff; background:#65b72d; }
.ggm-checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; min-width:0; }
.ggm-checkout-panel { border: 1px solid #e2e7ed; border-radius: 18px; padding: 25px 22px; background: #fff; box-sizing:border-box; min-width:0; }
.ggm-checkout-order-panel { background: #fff; }
.ggm-checkout-section-title { display: flex; gap: 14px; align-items: center; margin-bottom: 30px; }
.ggm-checkout-section-title > .ggm-section-icon { display: grid; place-items: center; flex: 0 0 56px; height: 56px; border-radius: 50%; font-weight: 800; font-size: 20px; }
.ggm-section-icon-user { background:#eaf6df; color:#55a821; }
.ggm-section-icon-order { background:linear-gradient(145deg,#ad65f5,#7b3ce9); color:#fff; }
.ggm-checkout-section-title h3 { margin: 0 0 3px; color: #0f172a; font-size: 18px; line-height: 1.25; }
.ggm-checkout-section-title > div { min-width:0; }
.ggm-checkout-section-title p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.5; }
.ggm-checkout-details {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-bottom: 0;
}
.ggm-checkout-field label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #182536;
	margin-bottom: 8px;
}
.ggm-checkout-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #82c65a;
	border-radius: 10px;
	font-size: 15px;
	min-height: 56px;
	box-sizing: border-box;
}
.ggm-checkout-field input:focus {
	border-color: #6fbd2c;
	outline: 3px solid #2f6e20;
	outline-offset: 2px;
}
.ggm-checkout-field select.ggm-checkout-country-code {
	width: 126px;
	flex: 0 0 126px;
	padding: 10px 8px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	min-height: 56px;
	background: #fff;
	box-sizing: border-box;
}
.ggm-checkout-field select.ggm-checkout-country-code:focus {
	outline: none;
	border-color: #7c3aed;
}
.ggm-checkout-field input#ggm-checkout-phone {
	width: auto;
	flex: 1 1 auto;
	min-width: 0;
}
.ggm-checkout-summary {
	background: #fff;
	border:1px solid #dde3ea;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 18px;
}
.ggm-checkout-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 13px 0;
	font-size: 14px;
	border-bottom: 1px solid #e8ecf0;
}
.ggm-checkout-row:last-child { border-bottom: none; }
.ggm-checkout-total { font-weight: 700; }
.ggm-checkout-amount { font-size: 22px; color: #7135e7; white-space: nowrap; }
.ggm-checkout-value { text-align: right; }
.ggm-checkout-value { min-width:0; overflow-wrap:anywhere; }
.ggm-checkout-value del { color: #94a3b8; margin-right: 6px; }
.ggm-checkout-product-row { justify-content:flex-start; gap:12px; padding-bottom:18px; }
.ggm-checkout-product-row .ggm-checkout-label { display:none; }
.ggm-checkout-product-row .ggm-checkout-value { text-align:left; font-weight:700; line-height:1.55; }
.ggm-product-summary-icon { display:grid; place-items:center; flex:0 0 58px; height:58px; border-radius:12px; background:#f0e7ff; color:#8645ed; font-size:30px; }
.ggm-checkout-no-login { display:flex; align-items:center; gap:12px; margin-top:36px; padding:18px 16px; border-radius:12px; background:linear-gradient(100deg,#f4faef,#fbfff8); color:#317e18; }
.ggm-checkout-no-login > span { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:#e7f6dd; font-size:24px; }
.ggm-checkout-no-login strong,.ggm-checkout-no-login small { display:block; }
.ggm-checkout-no-login small { margin-top:5px; color:#48623e; font-size:12px; }
.ggm-checkout-benefits { display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin:28px 0 24px; padding:18px; border-radius:14px; background:linear-gradient(100deg,#f5faef,#fbfff8); }
.ggm-checkout-benefits > div { display:flex; align-items:center; gap:12px; padding:0 16px; border-right:1px solid #e5ecdf; }
.ggm-checkout-benefits > div:last-child { border:0; }
.ggm-checkout-benefits > div > span { display:grid; place-items:center; flex:0 0 48px; height:48px; border-radius:50%; background:#e7f4dc; color:#50a322; font-size:25px; }
.ggm-checkout-benefits p,.ggm-checkout-benefits strong,.ggm-checkout-benefits small { display:block; margin:0; }
.ggm-checkout-benefits strong { color:#2f6e20; font-size:13px; }
.ggm-checkout-benefits small { color:#496143; font-size:11px; line-height:1.45; margin-top:3px; }
.ggm-checkout-card .ggm-pay-btn { min-height: 62px; border-radius: 12px; background: linear-gradient(90deg,#65b82e,#55ad23); border-color: #5aad27; color:#fff; font-size: 19px; }
.ggm-checkout-card .ggm-pay-btn:hover { background: linear-gradient(90deg,#59aa24,#489b1b); border-color: #4f9f20; color:#fff; transform: translateY(-1px); }
.ggm-checkout-trust { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 14px; color: #64748b; font-size: 14px; }
.ggm-login-prompt { text-align: center; color: #555; }

@media (max-width: 820px) {
	.ggm-checkout-wrap { padding: 20px 10px; }
	.ggm-checkout-card { padding: 30px 16px 24px; border-radius: 18px; max-width:100%; }
	.ggm-checkout-grid { grid-template-columns: 1fr; }
	.ggm-checkout-heading { margin-bottom: 24px; }
	.ggm-checkout-progress { margin-bottom:28px; }
	.ggm-checkout-benefits { grid-template-columns:1fr; gap:14px; }
	.ggm-checkout-benefits > div { border-right:0; border-bottom:1px solid #e5ecdf; padding:0 0 14px; }
	.ggm-checkout-benefits > div:last-child { padding-bottom:0; }
}

@media (max-width: 480px) {
	.ggm-checkout-wrap { padding:12px 7px 24px; }
	.ggm-checkout-card { padding:28px 14px 22px; border-radius:16px; }
	.ggm-checkout-panel { padding:22px 14px; border-radius:15px; width:100%; }
	.ggm-checkout-title { font-size:29px; line-height:1.15; }
	.ggm-checkout-heading > p { font-size:14px; }
	.ggm-checkout-progress { width:100%; }
	.ggm-checkout-progress-step { min-width:86px; }
	.ggm-checkout-progress-line { min-width:34px; }
	.ggm-checkout-progress-step strong { font-size:12px; }
	.ggm-checkout-section-title > .ggm-section-icon { flex-basis:46px; height:46px; }
	.ggm-checkout-section-title h3 { font-size:20px; }
	.ggm-checkout-field input { min-width:0; font-size:16px; }
	.ggm-checkout-field select.ggm-checkout-country-code { width:112px; flex-basis:112px; }
	.ggm-checkout-row { align-items: center; gap: 10px; }
	.ggm-checkout-row:not(.ggm-checkout-coupon-row):not(.ggm-checkout-product-row) .ggm-checkout-value { max-width:65%; }
	.ggm-checkout-coupon-row .ggm-checkout-value { width: 100%; flex-wrap:nowrap; }
	#ggm-coupon-input { max-width: none; flex: 1 1 120px; min-width: 0; }
	#ggm-apply-coupon-btn { flex:0 0 auto; padding:10px 13px; white-space:nowrap; }
	.ggm-product-summary-icon { flex-basis:50px; height:50px; }
	.ggm-checkout-product-row .ggm-checkout-value { font-size:13px; }
	.ggm-checkout-no-login { margin-top:26px; padding:15px 13px; }
	.ggm-checkout-summary { padding:12px; }
	.ggm-checkout-benefits { padding:16px 14px; }
	.ggm-checkout-card .ggm-pay-btn { min-height:58px; padding:12px 8px; font-size:16px; }
	.ggm-checkout-trust { font-size:12px; }
}

/* ── Success Page ───────────────────────────────────────────── */
.ggm-success-wrap {
	display: flex;
	justify-content: center;
	padding: 60px 16px;
}
.ggm-success-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 48px 40px;
	max-width: 480px;
	width: 100%;
	text-align: center;
}
.ggm-success-icon {
	width: 72px;
	height: 72px;
	background: #e8faf3;
	color: #0e9e6e;
	font-size: 36px;
	line-height: 72px;
	border-radius: 50%;
	margin: 0 auto 20px;
	font-weight: 700;
}
.ggm-success-card h2 {
	font-size: 24px;
	font-weight: 800;
	color: #0e9e6e;
	margin-bottom: 10px;
}
.ggm-success-details {
	text-align: left;
	background: #f7f8fa;
	border-radius: 10px;
	padding: 14px 18px;
	margin-top: 20px;
}

/* ── Lesson Sidebar ─────────────────────────────────────────── */
.ggm-lesson-sidebar {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
}
.ggm-lesson-sidebar-header {
	background: #1a202c;
	color: #fff;
	padding: 14px 18px;
	font-weight: 700;
	font-size: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
}
.ggm-lesson-sidebar-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ggm-lesson-sidebar-item {
	border-bottom: 1px solid #f0f0f0;
}
.ggm-lesson-sidebar-item a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	text-decoration: none;
	color: #2d3748;
	font-size: 13px;
	transition: background .15s;
}
.ggm-lesson-sidebar-item a:hover,
.ggm-lesson-sidebar-item.current a {
	background: #f0ebff;
	color: #7c3aed;
}
.ggm-lesson-sidebar-item .lesson-num {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* ── Lesson Page Tabs Layout ────────────────────────────────── */
.ggm-lesson-page-shell {
	max-width: 1280px;
	margin: 0 auto;
	padding: 28px 20px 54px;
}
.ggm-lesson-page-shell .ggm-lesson-grid {
	display: grid;
	grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}
.ggm-lesson-tabs-panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ggm-lesson-back-card,
.ggm-lesson-tab {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 14px 18px;
	background: #ffffff;
	border: 1px solid transparent;
	border-radius: 8px;
	color: #10465c;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color .16s, background .16s;
}
.ggm-lesson-back-card {
	margin-bottom: 30px;
}
.ggm-lesson-tab:hover,
.ggm-lesson-back-card:hover {
	border-color: #61d7df;
	color: #10465c;
	background: #f7fffd;
}
.ggm-lesson-tab.is-active {
	background: #edfff8;
	border-color: #28d4df;
	border-left-width: 4px;
	box-shadow: none;
}
.ggm-lesson-tab-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ggm-lesson-locked-hero {
	background: #ffffff;
	border: 2px dashed #d5dadd;
	border-radius: 12px;
	padding: 42px 24px;
	text-align: center;
	margin-bottom: 30px;
}
.ggm-lesson-locked-icon {
	font-size: 42px;
	line-height: 1;
	margin-bottom: 12px;
}
.ggm-lesson-locked-hero h1 {
	margin: 0 0 12px;
	color: #2a2a2e;
	font-size: 28px;
	font-weight: 800;
}
.ggm-lesson-locked-hero p,
.ggm-lesson-locked-card p {
	margin: 0;
	color: #666;
	font-size: 16px;
}
.ggm-lesson-locked-card {
	background: #fff;
	border: 1px solid #e7ecef;
	border-radius: 8px;
	padding: 34px 36px;
}
.ggm-lesson-locked-card h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	color: #2a2a2e;
	font-size: 24px;
	font-weight: 800;
}
.ggm-lesson-locked-card .dashicons {
	color: #10465c;
}
.ggm-lesson-join-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 24px;
	padding: 0 20px;
	border-radius: 6px;
	background: #10465c;
	color: #fff !important;
	font-weight: 800;
	text-decoration: none;
}
.ggm-lesson-join-btn:hover {
	background: #0b3546;
}

@media (max-width: 820px) {
	.ggm-lesson-page-shell .ggm-lesson-grid {
		grid-template-columns: 1fr;
	}
	.ggm-lesson-back-card {
		margin-bottom: 0;
	}
	.ggm-lesson-locked-hero h1 {
		font-size: 24px;
	}
	.ggm-lesson-locked-card {
		padding: 26px 22px;
	}
}

/* ── Video Embed ────────────────────────────────────────────── */
.ggm-video-container {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
}
.ggm-video-container iframe,
.ggm-video-container video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #000;
	object-fit: contain;
}
.ggm-video-locked {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	border-radius: 12px;
	padding: 60px 30px;
	text-align: center;
	color: #fff;
}
.ggm-video-locked .lock-icon { font-size: 48px; margin-bottom: 16px; }
.ggm-video-locked h3 { font-size: 20px; margin-bottom: 8px; }
.ggm-video-locked p { color: #a0aec0; margin-bottom: 20px; }

/* ── Lesson Navigation ──────────────────────────────────────── */
.ggm-lesson-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	margin-top: 24px;
	border-top: 1px solid #e2e8f0;
}
.ggm-lesson-nav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #7c3aed;
	font-weight: 600;
	font-size: 14px;
	padding: 8px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	transition: background .15s;
}
.ggm-lesson-nav a:hover { background: #f0ebff; }

/* ── Buttons ────────────────────────────────────────────────── */
.ggm-btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	border: 2px solid transparent;
	transition: all .2s;
	text-align: center;
}
.ggm-btn-primary {
	background: #7c3aed;
	color: #fff;
	border-color: #7c3aed;
}
.ggm-btn-primary:hover { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.ggm-btn-outline {
	background: transparent;
	color: #7c3aed;
	border-color: #7c3aed;
}
.ggm-btn-outline:hover { background: #f0ebff; }
.ggm-btn-secondary {
	background: #fff;
	color: #7c3aed;
	border-color: #7c3aed;
	padding: 8px 16px;
	font-size: 13px;
}
.ggm-btn-secondary:hover { background: #f0ebff; }
.ggm-btn-full { width: 100%; display: block; }
.ggm-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── Checkout: coupon row ──────────────────────────────────── */
.ggm-checkout-coupon-row { flex-wrap: wrap; gap: 8px; }
.ggm-checkout-coupon-row .ggm-checkout-value { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
#ggm-coupon-input {
	padding: 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 13px;
	max-width: 160px;
}
@media (max-width: 480px) {
	.ggm-checkout-coupon-row .ggm-checkout-value { flex-wrap:nowrap; width:100%; }
	#ggm-coupon-input { max-width:none; flex:1 1 110px; min-width:0; }
	#ggm-apply-coupon-btn { flex:0 0 auto; padding:10px 12px; white-space:nowrap; }
}
#ggm-slot-select {
	padding: 6px 10px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 13px;
}

/* ── Courses Grid ───────────────────────────────────────────── */
.ggm-courses-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}
.ggm-courses-grid--cols-1 { grid-template-columns: minmax(0, 1fr); }
.ggm-courses-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ggm-courses-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ggm-course-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.ggm-course-card__thumb {
	display: block;
	position: relative;
	min-height: 180px;
	background-size: cover;
	background-position: center;
	text-decoration: none;
}
.ggm-course-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: #7c3aed;
	color: #fff;
	border-radius: 999px;
	padding: 5px 10px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
.ggm-course-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}
.ggm-course-card__title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 8px;
	color: #172033;
}
.ggm-course-card__title a {
	color: inherit;
	text-decoration: none;
}
.ggm-course-card__title a:hover {
	color: #7c3aed;
}
.ggm-course-card__desc {
	color: #64748b;
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 14px;
}
.ggm-course-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}
.ggm-course-card__meta span {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	color: #475569;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 9px;
}
.ggm-course-card__price {
	color: #7c3aed;
	font-size: 18px;
	font-weight: 800;
	margin: auto 0 12px;
}
.ggm-course-card .ggm-btn {
	margin-top: auto;
}
@media (max-width: 900px) {
	.ggm-courses-grid,
	.ggm-courses-grid--cols-3,
	.ggm-courses-grid--cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.ggm-courses-grid,
	.ggm-courses-grid--cols-2,
	.ggm-courses-grid--cols-3,
	.ggm-courses-grid--cols-4 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ── Notices ────────────────────────────────────────────────── */
.ggm-notice { padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.ggm-notice-success { background: #e8faf3; color: #0e9e6e; }
.ggm-notice-error   { background: #fef3f2; color: #e53e3e; }

/* ── Back to Course ─────────────────────────────────────────── */
.ggm-back-to-course {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #64748b;
	text-decoration: none;
	margin-bottom: 16px;
}
.ggm-back-to-course:hover { color: #7c3aed; }

/* ── Course Curriculum ──────────────────────────────────────── */
.ggm-curriculum-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
@media (max-width: 900px) {
	.ggm-curriculum-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.ggm-curriculum-grid { grid-template-columns: 1fr; }
}
.ggm-curriculum-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 14px;
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	transition: border-color 0.2s;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}
.ggm-curriculum-card:hover {
	border-color: #0bbf8e;
	text-decoration: none;
}
.ggm-curriculum-card:focus-visible {
	outline: 3px solid rgba(11, 191, 142, 0.3);
	outline-offset: 3px;
	border-color: #0bbf8e;
}
.ggm-curriculum-card:hover .ggm-card-play {
	background: #0bbf8e;
	color: #fff;
}
.ggm-card-num {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	background: #f1f5f9;
	border-radius: 4px;
	padding: 2px 6px;
	line-height: 1.4;
	flex-shrink: 0;
	align-self: flex-start;
}
.ggm-card-body {
	flex: 1;
	min-width: 0;
}
.ggm-card-title {
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.4;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.ggm-card-sub {
	font-size: 11px;
	color: #94a3b8;
	margin-top: 3px;
}
.ggm-card-play {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #0bbf8e;
	color: #0bbf8e;
	flex-shrink: 0;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	padding-left: 2px;
}
.ggm-lesson-count {
	font-size: 13px;
	color: #718096;
	font-weight: 600;
}


/* ── Demo Mode Notice ───────────────────────────────────────── */
.ggm-demo-notice {
	background: #fffbeb;
	border: 1px solid #f59e0b;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #92400e;
	text-align: center;
}



.ggm-workshop-slot-select,
.ggm-workshop-enroll-wrap .ggm-ws-slot {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* Standalone workshop detail blocks; legacy shortcode designs are untouched. */
.ggm-workshop-detail { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:8px; box-sizing:border-box; width:100%; min-width:0; color:#459487; text-align:center; }
.ggm-workshop-detail__icon { display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; }
.ggm-workshop-detail__icon svg { display:block; width:48px; height:48px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transform:scale(1); transform-origin:center; transition:transform .2s ease; }
.ggm-workshop-detail:hover .ggm-workshop-detail__icon svg { transform:scale(1.09); }
.ggm-workshop-detail__label { color:#3f4e78; font-size:22px; font-weight:600; line-height:1.25; }
.ggm-workshop-detail__value { color:#459487; font-size:19px; font-weight:400; line-height:1.4; overflow-wrap:anywhere; }
.ggm-workshop-detail__value .ggm-price { color:inherit; font:inherit; }
.ggm-workshop-detail__slots { display:grid; grid-template-columns:repeat(2,minmax(0,auto)); justify-content:center; align-items:center; column-gap:0; row-gap:5px; }
.ggm-workshop-detail__slot { padding:0 9px; white-space:nowrap; }
.ggm-workshop-detail__slot:nth-child(even) { border-left:1px solid currentColor; }

.ggm-workshop-description,
.ggm-workshop-heading,
.ggm-workshop-duration,
.ggm-ws-icon-list__text,
.ggm-ws-faq__question-text {
	overflow-wrap: anywhere;
}

@media (max-width: 480px) {
	.ggm-workshop-duration { font-size: 17px !important; line-height: 1.3em !important; }
	.ggm-workshop-heading { font-size: 21px !important; line-height: 1.25em !important; }
	.ggm-btn-enroll,
	.ggm-ws-register.ggm-btn-enroll {
		display: flex;
		width: 100%;
		box-sizing: border-box;
		justify-content: center;
		white-space: normal;
		text-align: center;
	}
}

/* Elementor can use custom breakpoints that leave a shortcode in its desktop
   layout on a narrow device. These component-level rules respond to the
   widget's real available width, independently of Elementor's viewport rules. */
@media (max-width: 767px) {
	/* Elementor sometimes carries a desktop fixed/min-height onto the mobile
	   container that directly owns a Shortcode widget. That makes a small
	   shortcode occupy a tall, mostly empty colour block. Keep the reset
	   scoped to direct shortcode containers so intentional page sections are
	   left alone. */
	.e-con:has(.elementor-widget-shortcode),
	.e-con:has(.elementor-widget-shortcode) > .e-con,
	.elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-shortcode),
	.elementor-column:has(> .elementor-widget-wrap > .elementor-widget-shortcode) {
		height: auto !important;
		min-height: 0 !important;
	}
	.elementor-widget-shortcode,
	.elementor-widget-shortcode > .elementor-widget-container {
		height: auto !important;
		min-height: 0 !important;
	}
	.ggm-ws-discover__item { align-items: flex-start; gap: 16px !important; min-width: 0; }
	.ggm-ws-discover__item > div { min-width: 0; }
	.ggm-ws-discover__icon { width: 92px !important; height: 92px !important; padding: 3px !important; }
	.ggm-ws-perfect-for { grid-template-columns: 1fr !important; gap: 24px !important; }
	.ggm-ws-perfect-for__item { width: 100% !important; gap: 16px !important; }
	.ggm-ws-perfect-for__image { width: min(100%, 280px) !important; height: auto !important; aspect-ratio: 9 / 7; }
	.ggm-ws-mentors { flex-flow: column nowrap !important; align-items: center !important; }
	.ggm-ws-mentor { width: 100% !important; max-width: 520px !important; text-align: center; }
	.ggm-ws-mentor__avatar { width: 160px !important; height: 160px !important; }
}

/* Selectable Contribution Pricing shortcode. */
.ggm-workshop-contribution {
	max-width: 680px;
}

.ggm-contribution-options {
	display: grid;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.ggm-contribution-options legend {
	margin-bottom: 10px;
	font-weight: 700;
}

.ggm-contribution-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1px solid #d9dee8;
	border-radius: 10px;
	cursor: pointer;
	background: #fff;
}

.ggm-contribution-option:has(input:checked) {
	border-color: #4658f6;
	outline: 2px solid rgba(70, 88, 246, .35);
	outline-offset: 0;
}

.ggm-contribution-option input {
	flex: 0 0 auto;
}

.ggm-contribution-option__label {
	font-weight: 600;
}

.ggm-contribution-option__amount {
	margin-left: auto;
}

.ggm-contribution-continue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: 8px;
	color: #fff;
	background: #4658f6;
	font-weight: 600;
	text-decoration: none;
}

.ggm-contribution-continue:hover,
.ggm-contribution-continue:focus {
	color: #fff;
	background: #3445df;
}

/* Compact contribution-price pills. Designed for coloured/photographic
   sections; the configured default is shown as the filled selection. */
.ggm-contribution-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.ggm-contribution-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 114px;
	min-height: 52px;
	padding: 10px 24px;
	border: 1.5px solid rgba(255, 255, 255, .95);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.ggm-contribution-pill:hover,
.ggm-contribution-pill:focus,
.ggm-contribution-pill.is-selected {
	background: #fff;
	color: #167d70;
	text-decoration: none;
}

.ggm-contribution-pill:hover,
.ggm-contribution-pill:focus {
	transform: translateY(-1px);
}

@media (max-width: 600px) {
	.ggm-contribution-option {
		flex-wrap: wrap;
	}

	.ggm-contribution-option__amount {
		width: 100%;
		margin-left: 28px;
	}

	.ggm-contribution-continue {
		width: 100%;
	}

	.ggm-contribution-pills {
		flex-wrap: nowrap;
		gap: 10px;
		overflow-x: auto;
		padding-bottom: 5px;
		scrollbar-width: thin;
	}

	.ggm-contribution-pill {
		flex: 0 0 auto;
		min-width: 102px;
		min-height: 46px;
		padding: 9px 18px;
		font-size: 16px;
	}
}

@container (max-width: 767px) {
	.ggm-ws-discover__item { align-items: flex-start !important; gap: 16px !important; min-width: 0; }
	.ggm-ws-discover__item > div { min-width: 0; }
	.ggm-ws-perfect-for { grid-template-columns: 1fr !important; gap: 24px !important; }
	.ggm-ws-perfect-for__item { width: 100% !important; gap: 16px !important; }
	.ggm-ws-perfect-for__image { width: min(100%, 280px) !important; height: auto !important; aspect-ratio: 9 / 7; }
	.ggm-ws-why-different { grid-template-columns: 1fr !important; }
	.ggm-ws-mentors { flex-flow: column nowrap !important; align-items: center !important; }
	.ggm-ws-mentor { width: 100% !important; max-width: 520px !important; text-align: center; }
	.ggm-ws-mentor__avatar { width: 160px !important; height: 160px !important; }
	.ggm-ws-join-form,
	.ggm-ws-join-form-full,
	.ggm-ws-join-form-full__row { flex-direction: column !important; }
	.ggm-ws-join-form input,
	.ggm-ws-join-form button,
	.ggm-ws-join-form-full input:not([type="radio"]):not([type="hidden"]),
	.ggm-ws-join-form-full button { width: 100% !important; min-width: 0 !important; flex: 0 0 auto !important; }
}
.ggm-chip-selector{width:100%;max-width:720px}.ggm-chip-options{display:flex;flex-wrap:wrap;gap:8px}.ggm-chip-option{min-height:38px;padding:7px 13px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;cursor:pointer;transition:.15s ease}.ggm-chip-option:hover,.ggm-chip-option:focus{border-color:#6366f1;outline:2px solid #c7d2fe;outline-offset:1px}.ggm-chip-option.is-selected{border-color:#4f46e5;background:#eef2ff;color:#4338ca}.ggm-chip-option.is-selected:before{content:'✓ ';font-weight:700}.ggm-chip-option:disabled{cursor:not-allowed;opacity:.45}.ggm-chip-option-other{border-style:dashed;border-color:#6366f1;color:#4338ca;font-weight:600;background:#eef2ff}.ggm-chip-option-other:hover,.ggm-chip-option-other:focus{background:#e0e7ff}.ggm-chip-other-input{display:block;box-sizing:border-box;width:100%;max-width:400px;margin-top:8px;padding:10px;border:1px solid #cbd5e1;border-radius:7px}.ggm-chip-error{display:block;min-height:18px;margin-top:5px;color:#b91c1c}.ggm-chip-values{display:none}@media(max-width:600px){.ggm-chip-option{min-height:42px}}
.ggm-form-whatsapp-btn{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:11px 20px;border-radius:9px;background:#25d366;color:#fff!important;font-weight:600;font-size:14px;text-decoration:none!important}.ggm-form-whatsapp-btn:hover,.ggm-form-whatsapp-btn:focus{background:#1fb855}


:where([class^="ggm-"], [class*=" ggm-"]) :is(a[href], button, input:not([type="hidden"]), select, textarea, [tabindex]):focus-visible,
:where([class^="ggm-"], [class*=" ggm-"]):is(a[href], button, input:not([type="hidden"]), select, textarea, [tabindex]):focus-visible {
	outline: 3px solid #0f766e !important;
	outline-offset: 2px;
}
.ggm-currency-switcher{display:inline-flex;align-items:center;gap:8px;margin:12px 0;padding:8px 10px;border:1px solid #d8e1ea;border-radius:8px;background:#fff;color:#334155;font-size:13px;font-weight:700}.ggm-currency-switcher select{min-height:34px;padding:4px 28px 4px 8px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a;font:inherit;font-weight:600}
