/* =================================================================
   GoGoNano — My Account rebrand (refined)
   ================================================================= */
/* =================================================================
   Hide sidebar column entirely & force content full-width
   Targets Flatsome's .row.vertical-tabs > .large-3 + .large-9 layout
   ================================================================= */

/* Hide the entire left column (sidebar wrapper) */
.gg-no-sidebar .row.vertical-tabs > .large-3.col {
	display: none !important;
}

/* Force the right column (content) to span full width */
.gg-no-sidebar .row.vertical-tabs > .large-9.col {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Remove the vertical-tabs flex behavior so layout flows naturally */
.gg-no-sidebar .row.vertical-tabs {
	display: block !important;
}

/* Hide individual sidebar pieces in case the wrapper rule misses anything */
.gg-no-sidebar .woocommerce-MyAccount-navigation,
.gg-no-sidebar nav.woocommerce-MyAccount-navigation,
.gg-no-sidebar .account-dashboard-link,
.gg-no-sidebar .account-user {
	display: none !important;
}

/* Hide "My Account" header for all users — design is handled inside each template */
.my-account-header {
	display: none !important;
}

/* Restore side padding on mobile (we zeroed it out above for desktop) */
@media (max-width: 767px) {
	.gg-no-sidebar .row.vertical-tabs > .large-9.col {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
}

/* Account container */
.gg-account {
	--gg-primary: var(--primary-color, #1a7a6e);
	--gg-primary-soft: color-mix(in srgb, var(--gg-primary) 8%, #fff);
	--gg-primary-softer: color-mix(in srgb, var(--gg-primary) 4%, #fff);
	--gg-primary-border: color-mix(in srgb, var(--gg-primary) 20%, #fff);
	--gg-ink: #1a2421;
	--gg-muted: #6b7674;
	--gg-line: #e8ebea;
	--gg-bg: #fafbfb;
	--gg-radius: 12px;
	--gg-radius-lg: 16px;
	--gg-shadow: 0 1px 2px rgba(26, 36, 33, 0.04), 0 4px 12px rgba(26, 36, 33, 0.04);
	--gg-shadow-hover: 0 4px 8px rgba(26, 36, 33, 0.06), 0 12px 32px rgba(26, 36, 33, 0.08);

	color: var(--gg-ink);
	font-size: 15px;
	line-height: 1.55;
}

.gg-account *, .gg-subnav * { box-sizing: border-box; }

/* --- SUB-PAGE NAV (back button moved to right) --- */
.gg-subnav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e8ebea;
}

.gg-subnav__title {
	font-size: 1.4rem;
	font-weight: 600;
	margin: 0;
	color: #1a2421;
	letter-spacing: -0.01em;
	order: 1; /* title first */
}

.gg-subnav__back {
	order: 2; /* button on the right */
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.85rem;
	border-radius: 8px;
	background: #fafbfb;
	color: var(--primary-color, #1a7a6e) !important;
	text-decoration: none !important;
	font-size: 0.85rem;
	font-weight: 600;
	transition: all 0.2s ease;
	border: 1px solid #e8ebea;
	white-space: nowrap;
}

.gg-subnav__back:hover {
	background: var(--primary-color, #1a7a6e);
	color: #fff !important;
	border-color: var(--primary-color, #1a7a6e);
}

.gg-subnav__back svg { transition: transform 0.2s ease; }
.gg-subnav__back:hover svg { transform: translateX(-3px); }

/* --- HERO --- */
.gg-hero {
	position: relative;         /* anchors the absolutely-placed logout */
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: center;
	justify-content: space-between;
	padding: 2.75rem 2.25rem 2rem; /* extra top room for the logout link */
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, var(--gg-primary-soft) 0%, #fff 60%);
	border: 1px solid var(--gg-primary-border);
	border-radius: var(--gg-radius-lg);
}

.gg-hero__main {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex: 1 1 auto;
	min-width: 0;
}

.gg-hero__avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #fff;
	box-shadow: var(--gg-shadow);
	flex-shrink: 0;
	background: var(--gg-bg);
}

.gg-hero__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gg-hero__greeting { min-width: 0; }

/* h1 is a flex row so the badge sits inline with the name */
.gg-hero__greeting h1 {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 1.75rem;
	font-weight: 600;
	margin: 0 0 0.35rem;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.gg-hero__greeting h1 > span:first-of-type { color: var(--gg-primary); }

.gg-hero__meta {
	margin: 0;
	color: var(--gg-muted);
	font-size: 0.85rem;
}

/* Badge — compact inline pill next to the name */
.gg-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.2rem 0.55rem;
	background: #fff;
	border: 1px solid var(--gg-primary-border);
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--gg-primary);
	line-height: 1.3;
	vertical-align: middle;
	flex-shrink: 0;
}

.gg-hero__badge svg { width: 11px; height: 11px; }

/* Stats column — logout has moved out, stats sit alone on the right */
.gg-hero__side {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.gg-hero__stats {
	display: flex;
	gap: 2rem;
}

.gg-stat { display: flex; flex-direction: column; align-items: flex-end; }

.gg-stat__value {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--gg-ink);
	line-height: 1.1;
}

.gg-stat__label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gg-muted);
	margin-top: 0.25rem;
}

/* Logout — subtle text link, anchored to the top-right corner of the hero card */
.gg-hero__logout {
	position: absolute;
	top: 0.85rem;
	right: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: none;
	border: none;
	padding: 0.2rem 0;
	color: var(--gg-muted) !important;
	text-decoration: none !important;
	font-size: 0.8rem;
	font-weight: 500;
	transition: color 0.2s ease;
	line-height: 1;
	white-space: nowrap;
}

.gg-hero__logout svg { width: 13px; height: 13px; }

.gg-hero__logout:hover { color: var(--gg-ink) !important; }

/* --- SINCE LAST VISIT NOTIFICATION --- */
.gg-hero-notif {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.8rem 1.15rem;
	background: #fff;
	border: 1px solid var(--gg-primary-border);
	border-radius: var(--gg-radius);
	margin-bottom: 1.25rem;
	box-shadow: 0 1px 6px rgba(26,36,33,.05);
}

.gg-hero-notif__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gg-primary);
	flex-shrink: 0;
	/* subtle pulse to draw the eye once */
	animation: gg-pulse 2s ease-in-out 2;
}

.gg-hero-notif__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.gg-hero-notif__body strong {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--gg-ink);
}

.gg-hero-notif__body span {
	font-size: 0.78rem;
	color: var(--gg-muted);
}

/* --- COUPONS BANNER --- */
.gg-coupons-banner {
	background: #fff;
	border: 1px solid var(--gg-primary-border);
	border-radius: var(--gg-radius-lg);
	padding: 1.5rem 1.75rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--gg-shadow);
}

.gg-coupons-banner__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: var(--gg-ink);
	font-size: 1rem;
}

.gg-coupons-banner__title svg { width: 18px; height: 18px; color: var(--gg-primary); }
.gg-coupons-banner__title strong { font-size: 1rem; }

.gg-coupons-banner__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.75rem;
}

.gg-coupon {
	display: flex;
	align-items: stretch;
	background: var(--gg-primary-softer);
	border: 1px dashed var(--gg-primary-border);
	border-radius: 10px;
	overflow: hidden;
}

.gg-coupon__amount {
	background: var(--gg-primary);
	color: #fff;
	padding: 0.85rem 0.9rem;
	font-weight: 600;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 70px;
	text-align: center;
}

.gg-coupon__body {
	padding: 0.65rem 0.85rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.gg-coupon__code {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	position: relative;
}

.gg-coupon__code code {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gg-ink);
	background: none;
	padding: 0;
	letter-spacing: 0.04em;
	font-family: 'SFMono-Regular', Consolas, monospace;
}

.gg-coupon__copy {
	background: none;
	border: none;
	color: var(--gg-muted);
	cursor: pointer;
	padding: 0.2rem;
	display: inline-flex;
	border-radius: 4px;
	transition: all 0.15s ease;
}

.gg-coupon__copy:hover {
	background: var(--gg-primary-border);
	color: var(--gg-primary);
}

.gg-coupon__code.is-copied::after {
	content: '✓';
	position: absolute;
	right: -4px;
	top: -2px;
	background: var(--gg-primary);
	color: #fff;
	font-size: 0.7rem;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: gg-pop 0.3s ease;
}

@keyframes gg-pop {
	0% { transform: scale(0); }
	60% { transform: scale(1.2); }
	100% { transform: scale(1); }
}

.gg-coupon__expiry {
	font-size: 0.75rem;
	color: var(--gg-muted);
	margin-top: 0.15rem;
}

/* --- ORDERS COMPACT --- */
.gg-orders {
	display: flex;
	flex-direction: column;
	gap: 0;
	background: #fff;
	border-radius: var(--gg-radius-lg);
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(26,36,33,.06);
}

.gg-order {
	background: #fff;
	border: none;
	border-bottom: 1px solid var(--gg-line);
	border-radius: 0;
	padding: 1.15rem 1.35rem;
	display: grid;
	grid-template-columns: 1.2fr 2fr auto;
	gap: 1.5rem;
	align-items: center;
	transition: all 0.2s ease;
}

.gg-order:last-child {
	border-bottom: none;
}

.gg-order:hover {
	background: var(--gg-bg);
}

.gg-order__head {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.gg-order__num {
	font-size: 1rem;
	font-weight: 600;
	color: var(--gg-ink);
}

.gg-order__date {
	font-size: 0.8rem;
	color: var(--gg-muted);
}

.gg-order__total {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--gg-ink);
	margin-top: 0.3rem;
}

.gg-order__body { min-width: 0; }

.gg-order__items {
	font-size: 0.85rem;
	color: var(--gg-muted);
	margin-bottom: 0.6rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gg-order__progress {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.gg-progress-mini {
	display: flex;
	align-items: center;
	flex: 1;
	max-width: 200px;
}

.gg-progress-mini__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--gg-line);
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.gg-progress-mini__dot.is-done {
	background: var(--gg-primary);
	border-color: var(--gg-primary);
}

.gg-progress-mini__line {
	flex: 1;
	height: 2px;
	background: var(--gg-line);
	transition: background 0.3s ease;
}

.gg-progress-mini__line.is-done { background: var(--gg-primary); }

.gg-order__status {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--gg-primary);
	white-space: nowrap;
}

/* Order actions — 3 buttons */
.gg-order__actions {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.gg-order__actions .gg-btn {
	flex: 0 0 auto;
}

.gg-order__actions .gg-btn svg,
.gg-help-card__actions .gg-btn svg {
	width: 13px;
	height: 13px;
	margin-right: 0.3rem;
	flex-shrink: 0;
}

/* Tighter grid for orders to fit 3 buttons cleanly */
.gg-order {
	grid-template-columns: 1fr 1.5fr auto;
}

@media (max-width: 1100px) {
	.gg-order {
		grid-template-columns: 1fr 1fr;
	}
	.gg-order__actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 849px) {
	.gg-order {
		grid-template-columns: 1fr;
	}
}

/* --- TILES --- */
.gg-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.gg-tile {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.4rem;
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	text-decoration: none !important;
	color: var(--gg-ink);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.gg-tile::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--gg-primary-soft) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.gg-tile:hover {
	border-color: var(--gg-primary);
	transform: translateY(-2px);
	box-shadow: var(--gg-shadow-hover);
	color: var(--gg-ink);
}

.gg-tile:hover::before { opacity: 1; }

.gg-tile__icon {
	width: 26px;
	height: 26px;
	color: var(--gg-primary);
	margin-bottom: 0.4rem;
	position: relative;
}

.gg-tile__icon svg { width: 100%; height: 100%; }

.gg-tile__title {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--gg-ink);
	position: relative;
}

.gg-tile__desc {
	font-size: 0.8rem;
	color: var(--gg-muted);
	line-height: 1.4;
	position: relative;
}

/* --- SECTIONS --- */
.gg-section { margin-bottom: 2.5rem; }

.gg-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.gg-section__header h2 {
	font-size: 1.15rem;
	font-weight: 600;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--gg-ink);
}

.gg-section__header h2 svg {
	width: 20px;
	height: 20px;
	color: var(--gg-primary);
}

.gg-section__link {
	font-size: 0.85rem;
	color: var(--gg-primary) !important;
	text-decoration: none !important;
	font-weight: 600;
	transition: opacity 0.2s ease;
	white-space: nowrap;          /* prevents arrow wrapping */
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.gg-section__link:hover { opacity: 0.7; }

/* --- PRODUCTS --- */
.gg-products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.gg-product {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: all 0.2s ease;
}

.gg-product:hover {
	border-color: var(--gg-primary-border);
	box-shadow: var(--gg-shadow);
}

.gg-product__image {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 8px;
	background: var(--gg-bg);
	margin-bottom: 0.5rem;
}

.gg-product__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gg-product:hover .gg-product__image img { transform: scale(1.04); }

.gg-product__title {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--gg-ink);
	text-decoration: none !important;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gg-product__title:hover { color: var(--gg-primary); }

.gg-product__price {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--gg-ink);
	margin-top: auto;
}

.gg-product__price del {
	color: var(--gg-muted);
	font-weight: 400;
	font-size: 0.85em;
	margin-right: 0.35rem;
}

/* --- BUTTONS --- */
.gg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 700;            /* was 500 — now bold */
	text-decoration: none !important;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1.2;
	white-space: nowrap;
	letter-spacing: 0.01em;      /* slight tracking improves bold readability */
}

.gg-btn--sm {
	padding: 0.4rem 0.75rem;
	font-size: 0.8rem;
}

.gg-btn--primary {
	background: var(--gg-primary);
	color: #fff !important;
}

.gg-btn--primary:hover {
	background: color-mix(in srgb, var(--gg-primary) 88%, #000);
	color: #fff !important;
}

.gg-btn--ghost {
	background: transparent;
	color: var(--gg-primary) !important;
	border-color: var(--gg-primary-border);
}

.gg-btn--ghost:hover {
	background: var(--gg-primary-soft);
	border-color: var(--gg-primary);
}

/* --- RESPONSIVE --- */
@media (max-width: 999px) {
	.gg-tiles { grid-template-columns: repeat(3, 1fr); }
	.gg-products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 849px) {
	.gg-hero {
		padding: 2.5rem 1.5rem 1.5rem; /* keep top space for absolute logout */
		flex-direction: column;
		align-items: flex-start;
	}
	.gg-hero__greeting h1 { font-size: 1.35rem; gap: 0.4rem; }
	.gg-hero__avatar { width: 64px; height: 64px; }
	.gg-hero__side {
		width: 100%;
		justify-content: flex-start;
	}
	.gg-hero__stats { gap: 1.5rem; }
	.gg-stat { align-items: flex-start; }
	.gg-stat__value { font-size: 1.2rem; }
	.gg-hero-notif { flex-wrap: wrap; }
	.gg-hero-notif .gg-btn { width: 100%; justify-content: center; }

	.gg-tiles { grid-template-columns: repeat(2, 1fr); }
	.gg-products { grid-template-columns: repeat(2, 1fr); }

	.gg-order {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.gg-order__actions { justify-content: flex-start; }
	.gg-order__head {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	.gg-order__total { margin-top: 0; }
}

@media (max-width: 549px) {
	.gg-tiles { grid-template-columns: 1fr; }
	.gg-products { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
	.gg-coupons-banner__list { grid-template-columns: 1fr; }
	.gg-hero__main { gap: 1rem; }
}

/* =================================================================
   ORDER DETAIL PAGE
   ================================================================= */

.gg-order-detail .gg-order-hero {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
	padding: 2rem 2.25rem;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--gg-primary-soft) 0%, #fff 60%);
	border: 1px solid var(--gg-primary-border);
	border-radius: var(--gg-radius-lg);
}

.gg-order-hero__main {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.gg-order-hero__label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gg-muted);
	margin-bottom: 0.3rem;
	display: block;
}

/* Badge stacks naturally below the order number inside __num */
.gg-order-hero__num {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.gg-order-hero__num h1 {
	font-size: 1.85rem;
	font-weight: 600;
	margin: 0 0 0.55rem;
	letter-spacing: -0.01em;
	color: var(--gg-ink);
	line-height: 1;
}

.gg-order-hero__status-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.9rem;
	background: #fff;
	border: 1px solid var(--gg-primary-border);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gg-primary);
	white-space: nowrap;
}

.gg-status--step-5 {
	background: var(--gg-primary);
	color: #fff !important;
	border-color: var(--gg-primary);
}

.gg-order-hero__total {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.gg-order-hero__total-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gg-muted);
}

.gg-order-hero__total-value {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--gg-ink);
}

/* 5-step tracker */
.gg-tracker-card {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	padding: 1.75rem 2rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--gg-shadow);
}

.gg-tracker {
	position: relative;
}

.gg-tracker__bar {
	position: absolute;
	top: 11px;
	left: 12px;
	right: 12px;
	height: 3px;
	background: var(--gg-line);
	border-radius: 2px;
	z-index: 0;
}

.gg-tracker__fill {
	height: 100%;
	background: var(--gg-primary);
	border-radius: 2px;
	transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gg-tracker__steps {
	display: flex;
	justify-content: space-between;
	position: relative;
	z-index: 1;
}

.gg-tracker__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	flex: 1;
	text-align: center;
}

.gg-tracker__dot {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--gg-line);
	transition: all 0.3s ease;
	position: relative;
}

.gg-tracker__step.is-done .gg-tracker__dot,
.gg-tracker__step.is-current .gg-tracker__dot {
	background: var(--gg-primary);
	border-color: var(--gg-primary);
}

.gg-tracker__step.is-done .gg-tracker__dot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
}

.gg-tracker__step.is-current .gg-tracker__dot::after {
	content: '';
	position: absolute;
	inset: -4px;
	border: 2px solid var(--gg-primary);
	border-radius: 50%;
	opacity: 0.3;
	animation: gg-pulse 1.8s ease-in-out infinite;
}

@keyframes gg-pulse {
	0%, 100% { transform: scale(1); opacity: 0.3; }
	50% { transform: scale(1.25); opacity: 0; }
}

.gg-tracker__step em {
	font-style: normal;
	font-size: 0.78rem;
	color: var(--gg-muted);
	font-weight: 500;
	max-width: 100px;
	line-height: 1.3;
}

.gg-tracker__step.is-done em,
.gg-tracker__step.is-current em {
	color: var(--gg-ink);
	font-weight: 600;
}

/* Tracking card */
.gg-tracking-card {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	padding: 1.5rem 1.75rem;
	box-shadow: var(--gg-shadow);
}

.gg-tracking-card__pickup {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--gg-line);
	margin-bottom: 1rem;
}

.gg-tracking-card__pickup-icon {
	width: 44px;
	height: 44px;
	background: var(--gg-primary-soft);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gg-primary);
	flex-shrink: 0;
}

.gg-tracking-card__pickup-icon svg { width: 22px; height: 22px; }

.gg-tracking-card__pickup-label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gg-muted);
	margin-bottom: 0.25rem;
}

.gg-tracking-card__pickup strong {
	font-size: 1.05rem;
	color: var(--gg-ink);
	font-weight: 600;
}

.gg-tracking-card__code {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.gg-tracking-card__code code {
	font-size: 1rem;
	font-weight: 600;
	color: var(--gg-ink);
	font-family: 'SFMono-Regular', Consolas, monospace;
	letter-spacing: 0.04em;
	background: none;
	padding: 0;
}

.gg-tracking-card__code .gg-btn svg {
	width: 14px;
	height: 14px;
	margin-left: 0.4rem;
	margin-right: 0;
}

.gg-tracking-pending {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.25rem 1.5rem;
	background: var(--gg-bg);
	border: 1px dashed var(--gg-line);
	border-radius: var(--gg-radius);
	color: var(--gg-muted);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.gg-tracking-pending svg { width: 22px; height: 22px; color: var(--gg-primary); flex-shrink: 0; }

/* Order items */
.gg-order-items {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	overflow: hidden;
}

.gg-order-item {
	display: grid;
	grid-template-columns: 80px 1fr auto;
	gap: 1.25rem;
	padding: 1.25rem 1.5rem;
	align-items: center;
	border-bottom: 1px solid var(--gg-line);
}

.gg-order-item:last-child { border-bottom: none; }

.gg-order-item__image {
	display: block;
	width: 80px;
	height: 80px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--gg-bg);
}

.gg-order-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gg-order-item__details {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.gg-order-item__title {
	font-weight: 600;
	color: var(--gg-ink);
	text-decoration: none !important;
	font-size: 0.95rem;
	line-height: 1.35;
}

.gg-order-item__title:hover { color: var(--gg-primary); }

.gg-order-item__meta {
	font-size: 0.8rem;
	color: var(--gg-muted);
}

.gg-order-item__qty {
	font-size: 0.85rem;
	color: var(--gg-muted);
}

.gg-order-item__price {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--gg-ink);
	white-space: nowrap;
}

/* Order totals */
.gg-order-totals {
	background: var(--gg-bg);
	border: 1px solid var(--gg-line);
	border-top: none;
	border-radius: 0 0 var(--gg-radius) var(--gg-radius);
	padding: 1.25rem 1.5rem;
}

.gg-order-totals__row {
	display: flex;
	justify-content: space-between;
	padding: 0.35rem 0;
	font-size: 0.9rem;
	color: var(--gg-muted);
}

.gg-order-totals__row--total {
	border-top: 1px solid var(--gg-line);
	margin-top: 0.5rem;
	padding-top: 0.85rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--gg-ink);
}

/* Meta cards grid */
.gg-order-meta-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.gg-meta-card {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	padding: 1.25rem 1.4rem;
}

.gg-meta-card h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0 0 0.85rem;
	color: var(--gg-ink);
}

.gg-meta-card h3 svg {
	width: 16px;
	height: 16px;
	color: var(--gg-primary);
}

.gg-meta-card address,
.gg-meta-card p {
	font-style: normal;
	font-size: 0.88rem;
	color: var(--gg-ink);
	line-height: 1.55;
	margin: 0;
}

.gg-meta-card__sub {
	color: var(--gg-muted);
	font-size: 0.82rem;
}

.gg-meta-card__note {
	background: var(--gg-bg);
	padding: 0.65rem 0.85rem;
	border-radius: 6px;
	font-size: 0.85rem !important;
	color: var(--gg-muted) !important;
	font-style: italic;
}

/* Help / actions card */
.gg-help-card {
	background: linear-gradient(135deg, var(--gg-primary-soft) 0%, #fff 100%);
	border: 1px solid var(--gg-primary-border);
	border-radius: var(--gg-radius-lg);
	padding: 1.75rem 2rem;
	margin-bottom: 2rem;
}

.gg-help-card__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
	color: var(--gg-ink);
}

.gg-help-card__title svg {
	width: 20px;
	height: 20px;
	color: var(--gg-primary);
}

.gg-help-card__title strong {
	font-size: 1.05rem;
}

.gg-help-card__actions {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.gg-help-card__actions .gg-btn svg {
	width: 14px;
	height: 14px;
	margin-right: 0.4rem;
}

/* =================================================================
   ADDRESS BOOK
   ================================================================= */

.gg-section__intro {
	color: var(--gg-muted);
	font-size: 0.9rem;
	margin: 0 0 1.5rem;
}

.gg-address-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.gg-address-card {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	padding: 1.5rem 1.75rem;
	transition: all 0.2s ease;
}

.gg-address-card:hover {
	border-color: var(--gg-primary-border);
	box-shadow: var(--gg-shadow);
}

.gg-address-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--gg-line);
}

.gg-address-card__header h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
	color: var(--gg-ink);
}

.gg-address-card__header h3 svg {
	width: 16px;
	height: 16px;
	color: var(--gg-primary);
}

.gg-address-card__header .gg-btn svg {
	width: 13px;
	height: 13px;
	margin-right: 0.3rem;
}

.gg-address-card__body address {
	font-style: normal;
	color: var(--gg-ink);
	line-height: 1.6;
	font-size: 0.9rem;
}

.gg-address-card__empty {
	color: var(--gg-muted);
	font-style: italic;
	margin: 0;
}

/* Locker card */
.gg-locker-card {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	padding: 1.5rem 1.75rem;
}

.gg-locker-card__current {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--gg-line);
	flex-wrap: wrap;
}

.gg-locker-card__carrier {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gg-primary);
	font-weight: 600;
	margin-bottom: 0.2rem;
}

.gg-locker-card__current strong {
	font-size: 1rem;
	color: var(--gg-ink);
	font-weight: 600;
}

.gg-locker-card__empty {
	color: var(--gg-muted);
	font-style: italic;
	margin: 0 0 1rem;
}

.gg-locker-card__hint {
	font-size: 0.83rem;
	color: var(--gg-muted);
	margin: 0;
	line-height: 1.5;
}

.gg-locker-card__hint a {
	color: var(--gg-primary);
	text-decoration: underline;
}

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

@media (max-width: 999px) {
	.gg-order-meta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 849px) {
	.gg-order-hero { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
	.gg-order-hero__total { align-items: flex-start; width: 100%; padding-top: 1rem; border-top: 1px solid var(--gg-primary-border); }
	.gg-tracker-card { padding: 1.25rem; }
	.gg-tracker__step em { font-size: 0.65rem; }
	.gg-tracker__dot { width: 18px; height: 18px; }
	.gg-tracker__bar { top: 8px; left: 9px; right: 9px; }

	.gg-order-item { grid-template-columns: 60px 1fr; gap: 0.85rem; }
	.gg-order-item__image { width: 60px; height: 60px; }
	.gg-order-item__price { grid-column: 1 / -1; text-align: right; padding-top: 0.4rem; border-top: 1px dashed var(--gg-line); }

	.gg-address-grid { grid-template-columns: 1fr; }
	.gg-help-card__actions { flex-direction: column; }
	.gg-help-card__actions .gg-btn { width: 100%; }
}

/* =================================================================
   ORDERS LIST PAGE
   ================================================================= */

.gg-orders--full .gg-order {
	padding: 1.25rem 1.5rem;
}

/* 5-step mini-tracker on order list rows */
.gg-progress-mini--5 {
	max-width: 240px;
}

/* Pagination */
.gg-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gg-line);
}

.gg-pagination__info {
	font-size: 0.85rem;
	color: var(--gg-muted);
	font-weight: 500;
}

.gg-pagination .gg-btn {
	font-weight: 600;
}

/* ---- ORDER THUMBNAILS ---- */
.gg-order__thumbs {
	display: flex;
	gap: 4px;
	margin-bottom: 0.5rem;
}

.gg-order__thumb {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--gg-line);
	background: var(--gg-bg);
	flex-shrink: 0;
}

.gg-order__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gg-order__thumb--more {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--gg-muted);
	background: var(--gg-bg);
}

/* ---- QUICK REPLENISH SHELF ---- */
.gg-replenish {
	margin-bottom: 2rem;
	background: transparent;
	border: none;
	padding: 0;
}

.gg-replenish__header {
	margin-bottom: 1rem;
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
}

.gg-replenish__header h2 {
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gg-muted);
	margin: 0;
}

.gg-replenish__header p {
	font-size: 0.82rem;
	color: var(--gg-muted);
	margin: 0;
}

.gg-replenish__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.75rem;
}

.gg-replenish-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: none;
	border-radius: var(--gg-radius);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(26,36,33,.06);
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.gg-replenish-card:hover {
	box-shadow: 0 6px 18px rgba(26,36,33,.11);
	transform: translateY(-2px);
}

.gg-replenish-card__image {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #fff;
}

.gg-replenish-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.22s ease;
}

.gg-replenish-card:hover .gg-replenish-card__image img {
	transform: scale(1.04);
}

.gg-replenish-card__body {
	padding: 0.6rem 0.7rem 0.4rem;
	flex: 1;
}

.gg-replenish-card__name {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--gg-ink);
	text-decoration: none;
	line-height: 1.35;
	margin-bottom: 0.3rem;
}

.gg-replenish-card__name:hover { color: var(--gg-primary); }

.gg-replenish-card__price {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--gg-primary);
}

.gg-replenish-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	margin: 0 0.7rem 0.7rem;
	padding: 0.45rem 0.5rem;
	background: var(--gg-primary);
	color: #fff !important;
	border-radius: 6px;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.18s ease;
	cursor: pointer;
	border: none;
}

.gg-replenish-card__btn:hover {
	background: color-mix(in srgb, var(--gg-primary) 85%, #000);
	color: #fff !important;
}

.gg-replenish-card__btn svg { width: 13px; height: 13px; }

@media (max-width: 700px) {
	.gg-replenish__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Empty state */
.gg-orders-empty {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	padding: 3rem 2rem;
	text-align: center;
}

.gg-orders-empty svg {
	width: 48px;
	height: 48px;
	color: var(--gg-primary);
	opacity: 0.5;
	margin-bottom: 1rem;
}

.gg-orders-empty h3 {
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	color: var(--gg-ink);
}

.gg-orders-empty p {
	color: var(--gg-muted);
	margin: 0 0 1.5rem;
	font-size: 0.9rem;
}

/* =================================================================
   LOGIN / REGISTER PAGE — 50/50 SPLIT SCREEN
   ================================================================= */

.gg-auth-page {
	--gg-primary: var(--primary-color, #1a7a6e);
	--gg-primary-soft: color-mix(in srgb, var(--gg-primary) 8%, #fff);
	--gg-primary-border: color-mix(in srgb, var(--gg-primary) 20%, #fff);
	--gg-ink: #1a2421;
	--gg-muted: #6b7674;
	--gg-line: #e8ebea;
	--gg-bg: #fafbfb;
	--gg-radius: 12px;
	--gg-radius-lg: 16px;
	--gg-shadow-lg: 0 8px 32px rgba(26,36,33,.12);

	box-sizing: border-box;
	padding: 0;
	display: flex;
	align-items: stretch;
	min-height: 82vh;
}

.gg-auth-page * { box-sizing: border-box; }

/* ---- SPLIT WRAPPER ---- */
.gg-auth-split {
	display: flex;
	width: 100%;
	height: 86vh;
	min-height: 560px;
	border-radius: var(--gg-radius-lg);
	overflow: hidden;
	box-shadow: var(--gg-shadow-lg);
}

/* ---- LEFT: FORM SIDE ---- */
.gg-auth-form-side {
	width: 50%;
	background: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	overflow-y: auto;
	flex-shrink: 0;
}

.gg-auth-inner {
	padding: max(6vh, 2.5rem) 3rem max(4vh, 2rem);
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
}

/* Form header */
.gg-auth-heading {
	margin-bottom: 1.75rem;
}

.gg-auth-title {
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--gg-ink);
	margin: 0 0 0.4rem;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.gg-auth-title span { color: var(--gg-primary); }

.gg-auth-subtitle {
	font-size: 0.9rem;
	color: var(--gg-muted);
	margin: 0;
	line-height: 1.5;
}

/* ---- TABS (login / register toggle) ---- */
.gg-auth-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 2rem;
	border-bottom: 2px solid var(--gg-line);
	padding: 0;
	background: #fff;
	border-radius: 0;
	position: sticky;
	top: 0;
	z-index: 2;
}

.gg-auth-tab {
	flex: 0 0 auto;
	padding: 0.5rem 0;
	margin-right: 2rem;
	margin-bottom: -2px;
	border: none;
	border-bottom: 3px solid transparent;
	background: transparent;
	border-radius: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--gg-muted);
	cursor: pointer;
	transition: color 0.18s ease, border-color 0.18s ease;
	white-space: nowrap;
	line-height: 1.4;
}

.gg-auth-tab.is-active {
	color: var(--gg-ink);
	border-bottom-color: var(--gg-primary);
	background: transparent;
	box-shadow: none;
}

/* ---- PANELS ---- */
.gg-auth-panel[hidden] { display: none; }

.gg-auth-panel__header {
	margin-bottom: 1.75rem;
}

.gg-auth-panel__header h2 {
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--gg-ink);
	margin: 0 0 0.4rem;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.gg-auth-panel__header h2 span { color: var(--gg-primary); }

.gg-auth-panel__header p {
	font-size: 0.9rem;
	color: var(--gg-muted);
	margin: 0;
	line-height: 1.5;
}

/* ---- SWITCH HINT (login ↔ register) ---- */
.gg-auth-switch-hint {
	text-align: center;
	font-size: 0.85rem;
	color: var(--gg-muted);
	margin-top: 1.25rem;
}

.gg-auth-switch-link {
	background: none;
	border: none;
	padding: 0;
	font-size: inherit;
	font-weight: 600;
	color: var(--gg-primary);
	cursor: pointer;
	text-decoration: underline;
}

.gg-auth-switch-link:hover { text-decoration: none; }

/* ---- FORM FIELDS ---- */
.gg-auth-field {
	margin-bottom: 1.25rem;
}

.gg-auth-field label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gg-ink);
	margin-bottom: 0.4rem;
	letter-spacing: 0.01em;
}

.gg-auth-field label .required { color: var(--gg-primary); margin-left: 2px; }

.gg-auth-field input[type="text"],
.gg-auth-field input[type="email"],
.gg-auth-field input[type="password"] {
	width: 100%;
	padding: 0.72rem 1rem;
	border: 1.5px solid var(--gg-line);
	border-radius: 8px;
	font-size: 0.95rem;
	color: var(--gg-ink);
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
	appearance: none;
}

.gg-auth-field input:focus {
	border-color: var(--gg-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gg-primary) 12%, transparent);
}

/* ---- FOOTER ROW (remember + submit) ---- */
.gg-auth-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
	flex-wrap: wrap;
}

.gg-auth-remember {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--gg-muted);
	cursor: pointer;
}

.gg-auth-remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--gg-primary);
	cursor: pointer;
}

/* ---- BUTTONS ---- */
.gg-auth-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.6rem;
	background: var(--gg-primary);
	color: #fff !important;
	border: none;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
	text-decoration: none !important;
	line-height: 1.2;
}

.gg-auth-submit:hover {
	background: color-mix(in srgb, var(--gg-primary) 88%, #000);
	color: #fff !important;
}

.gg-auth-submit--full {
	width: 100%;
	margin-top: 1.25rem;
}

/* ---- LOST PASSWORD ---- */
.gg-auth-lostpw {
	display: block;
	text-align: center;
	margin-top: 1rem;
	font-size: 0.83rem;
	color: var(--gg-muted);
}

.gg-auth-lostpw a {
	color: var(--gg-primary) !important;
	text-decoration: none !important;
	font-weight: 600;
}

.gg-auth-lostpw a:hover { text-decoration: underline !important; }

/* ---- REGISTER NOTICE ---- */
.gg-auth-register-notice {
	font-size: 0.875rem;
	color: var(--gg-muted);
	margin: 0 0 1.25rem;
	line-height: 1.5;
}

/* ---- SOCIAL BUTTONS ---- */
.gg-auth-social {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-bottom: 0.25rem;
}

/* Social buttons — white bg with border; override Nextend/Flatsome colored backgrounds */
.gg-auth-social-btn,
.gg-auth-social-btn.facebook,
.gg-auth-social-btn.google-plus,
a.gg-auth-social-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
	padding: 0.65rem 1rem !important;
	background: #fff !important;
	border: 1.5px solid #d1d5d4 !important;
	border-radius: 8px !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	color: var(--gg-ink) !important;
	text-decoration: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
	cursor: pointer;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	height: auto !important;
	box-shadow: none !important;
}

.gg-auth-social-btn:hover,
.gg-auth-social-btn.facebook:hover,
.gg-auth-social-btn.google-plus:hover {
	background: var(--gg-bg) !important;
	border-color: #aaa !important;
	color: var(--gg-ink) !important;
	box-shadow: 0 2px 8px rgba(26,36,33,.08) !important;
}

/* Force text colour through Flatsome/Nextend overrides */
.gg-auth-social-btn span,
.gg-auth-social-btn:hover span,
.gg-auth-social-btn.facebook span,
.gg-auth-social-btn.google-plus span {
	color: var(--gg-ink) !important;
}

.gg-auth-social-btn svg,
.gg-auth-social-btn .icon { width: 18px; height: 18px; flex-shrink: 0; }
.gg-auth-social-btn [class*="icon-"] { font-size: 18px !important; line-height: 1 !important; }

.gg-auth-social-note {
	font-size: 0.8rem;
	color: var(--gg-muted);
	text-align: center;
	margin: 0.5rem 0 0;
}

/* ---- OR DIVIDER ---- */
.gg-auth-divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1.25rem 0;
	color: var(--gg-muted);
	font-size: 0.8rem;
}

.gg-auth-divider::before,
.gg-auth-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--gg-line);
}

/* ---- RIGHT: VISUAL SIDE ---- */
.gg-auth-visual {
	width: 50%;
	position: relative;
	overflow: hidden;
	background: var(--gg-ink);
	flex-shrink: 0;
}

.gg-auth-visual__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.gg-auth-visual__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(26, 36, 33, 0.75) 0%,
		rgba(26, 36, 33, 0.15) 55%,
		rgba(26, 36, 33, 0.05) 100%
	);
}

.gg-auth-visual__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2.75rem 3rem;
	color: #fff;
}

.gg-auth-visual__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(255,255,255,0.15);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 999px;
	padding: 0.3rem 0.85rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 1rem;
}

.gg-auth-visual__title {
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.6rem;
	letter-spacing: -0.02em;
}

.gg-auth-visual__body {
	font-size: 0.95rem;
	opacity: 0.75;
	margin: 0;
	line-height: 1.55;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
	.gg-auth-inner { padding: 2rem 2rem; }
}

@media (max-width: 720px) {
	.gg-auth-split {
		flex-direction: column;
		height: auto;
		min-height: unset;
		border-radius: 0;
		box-shadow: none;
	}
	.gg-auth-visual {
		width: 100%;
		height: 240px;
		order: -1;
		position: relative;
		flex-shrink: 0;
	}
	.gg-auth-visual__caption { padding: 1.5rem; }
	.gg-auth-visual__title { font-size: 1.25rem; }
	.gg-auth-form-side {
		width: 100%;
		height: auto;
		flex-shrink: unset;
	}
	.gg-auth-inner { padding: 2rem 1.5rem; }
	.gg-auth-page { min-height: unset; }
	.gg-auth-footer { flex-direction: column; align-items: stretch; }
	.gg-auth-submit { width: 100%; }
}


/* ============================================================
   THANK YOU PAGE  (.gg-ty-*)
   ============================================================ */

.gg-ty-page {
	--gg-primary:      var(--primary-color, #1a7a6e);
	--gg-primary-soft: color-mix(in srgb, var(--gg-primary) 10%, #fff);
	--gg-ink:          #1a2421;
	--gg-muted:        #6b7674;
	--gg-line:         #e8ebea;
	--gg-bg:           #f5f7f7;
	--gg-radius:       12px;
	--gg-radius-lg:    16px;
	--gg-shadow:       0 2px 12px rgba(26,36,33,.08);
	--gg-shadow-md:    0 4px 20px rgba(26,36,33,.11);

	max-width: 860px;
	margin: 0 auto;
	padding: 0 1rem 4rem;
	font-family: inherit;
	box-sizing: border-box;
}

.gg-ty-page * { box-sizing: border-box; }

/* ---- HERO ---- */
.gg-ty-hero {
	background: linear-gradient(135deg,
		color-mix(in srgb, var(--gg-primary) 14%, #fff) 0%,
		color-mix(in srgb, var(--gg-primary)  6%, #fff) 100%);
	border-radius: var(--gg-radius-lg);
	text-align: center;
	padding: 3.5rem 2rem 3rem;
	margin-bottom: 2rem;
	border: 1px solid var(--gg-line);
}

.gg-ty-hero__inner {
	position: relative;
	z-index: 1;
}

.gg-ty-hero__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: var(--gg-primary);
	border-radius: 50%;
	color: #fff;
	margin: 0 auto 1.25rem;
}

.gg-ty-hero__check svg {
	width: 26px;
	height: 26px;
}

.gg-ty-hero h1 {
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 800;
	color: var(--gg-ink);
	margin: 0 0 0.6rem;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.gg-ty-hero__sub {
	font-size: 0.95rem;
	color: var(--gg-muted);
	margin: 0 0 1.75rem;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.55;
}

.gg-ty-hero__meta {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem 0;
	background: rgba(255,255,255,0.72);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.9);
	border-radius: 999px;
	padding: 0.65rem 1.75rem;
	font-size: 0.88rem;
}

.gg-ty-hero__meta-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 1.1rem;
}

.gg-ty-hero__meta-item span {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gg-muted);
	margin-bottom: 0.15rem;
}

.gg-ty-hero__meta-item strong {
	color: var(--gg-ink);
	font-weight: 700;
	font-size: 0.92rem;
}

.gg-ty-hero__meta-sep {
	width: 1px;
	height: 28px;
	background: var(--gg-line);
	flex-shrink: 0;
}

/* ---- FAILED ORDER ---- */
.gg-ty-failed {
	text-align: center;
	padding: 3.5rem 2rem;
	border: 1px solid #fde8e8;
	background: #fff8f8;
	border-radius: var(--gg-radius-lg);
	margin-bottom: 2rem;
}

.gg-ty-failed__icon {
	display: inline-flex;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fee2e2;
	align-items: center;
	justify-content: center;
	color: #dc2626;
	margin: 0 auto 1.25rem;
}

.gg-ty-failed__icon svg { width: 26px; height: 26px; }

.gg-ty-failed h1 {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--gg-ink);
	margin: 0 0 0.75rem;
}

.gg-ty-failed p {
	color: var(--gg-muted);
	max-width: 460px;
	margin: 0 auto 1.75rem;
	line-height: 1.55;
}

.gg-ty-failed__actions {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* ---- BACS CARD ---- */
.gg-ty-bacs-card {
	background: var(--gg-primary-soft);
	border: 1.5px solid color-mix(in srgb, var(--gg-primary) 25%, #fff);
	border-radius: var(--gg-radius-lg);
	padding: 1.75rem 2rem;
	margin-bottom: 2rem;
}

.gg-ty-bacs-card__header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.gg-ty-bacs-card__icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--gg-primary);
	color: #fff;
	align-items: center;
	justify-content: center;
	margin-top: 0.1rem;
}

.gg-ty-bacs-card__icon svg { width: 20px; height: 20px; }

.gg-ty-bacs-card__header h2 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--gg-ink);
	margin: 0 0 0.25rem;
}

.gg-ty-bacs-card__header p {
	font-size: 0.875rem;
	color: var(--gg-muted);
	margin: 0;
	line-height: 1.5;
}

/* Reference row */
.gg-ty-bacs-card__ref {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}

.gg-ty-bacs-card__ref-label {
	font-size: 0.8rem;
	color: var(--gg-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.gg-ty-bacs-card__ref-value {
	font-size: 1rem;
	font-weight: 700;
	color: var(--gg-ink);
	flex: 1;
}

/* BACS body — WooCommerce-rendered content */
.gg-ty-bacs-body { font-size: 0.9rem; }

.gg-ty-bacs-body section,
.gg-ty-bacs-body .woocommerce-bacs-bank-details { margin: 0; }

.gg-ty-bacs-body h2 {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gg-muted);
	margin: 0 0 0.75rem;
}

.gg-ty-bacs-body ul.bacs_details,
.gg-ty-bacs-body ul.wc-bacs-bank-details {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.5rem;
}

.gg-ty-bacs-body ul.bacs_details li,
.gg-ty-bacs-body ul.wc-bacs-bank-details li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: 8px;
	padding: 0.6rem 0.85rem;
	font-size: 0.85rem;
	color: var(--gg-muted);
	flex-wrap: wrap;
}

.gg-ty-bacs-body ul li strong {
	color: var(--gg-ink);
	font-weight: 700;
	margin-left: auto;
}

/* Copy button */
.gg-ty-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: none;
	border: 1px solid var(--gg-line);
	border-radius: 6px;
	padding: 0.3rem 0.6rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--gg-muted);
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s, background 0.15s;
	white-space: nowrap;
	line-height: 1;
}

.gg-ty-copy-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

.gg-ty-copy-btn:hover {
	color: var(--gg-primary);
	border-color: var(--gg-primary);
	background: var(--gg-primary-soft);
}

.gg-ty-copy-btn.is-copied {
	color: #fff;
	border-color: var(--gg-primary);
	background: var(--gg-primary);
}

.gg-ty-copy-btn--inline {
	margin-left: auto;
	flex-shrink: 0;
}

/* ---- NON-BACS PAYMENT NOTICE ---- */
.gg-ty-payment-notice {
	background: var(--gg-bg);
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
	font-size: 0.9rem;
	color: var(--gg-ink);
}

.gg-ty-payment-notice > * { margin: 0; }

/* ---- DATA GRID ---- */
.gg-ty-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 2rem;
	align-items: start;
}

.gg-ty-section-header {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.gg-ty-section-header svg {
	width: 18px;
	height: 18px;
	color: var(--gg-primary);
	flex-shrink: 0;
}

.gg-ty-section-header h2 {
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gg-muted);
	margin: 0;
}

/* WooCommerce order details table — style within our card */
.gg-ty-grid__col--items .woocommerce-order-details {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	overflow: hidden;
}

.gg-ty-grid__col--items .woocommerce-order-details__title {
	display: none; /* section header replaces it */
}

.gg-ty-grid__col--items .woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.gg-ty-grid__col--items .woocommerce-table--order-details thead th {
	background: var(--gg-bg);
	padding: 0.6rem 1rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gg-muted);
	border-bottom: 1px solid var(--gg-line);
	text-align: left;
}

.gg-ty-grid__col--items .woocommerce-table--order-details thead th:last-child { text-align: right; }

.gg-ty-grid__col--items .woocommerce-table--order-details tbody td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--gg-line);
	color: var(--gg-ink);
	vertical-align: middle;
}

.gg-ty-grid__col--items .woocommerce-table--order-details tbody tr:last-child td { border-bottom: none; }

.gg-ty-grid__col--items .woocommerce-table--order-details tbody .product-name { font-weight: 600; }

.gg-ty-grid__col--items .woocommerce-table--order-details tbody .product-total { text-align: right; }

.gg-ty-grid__col--items .woocommerce-table--order-details tfoot th,
.gg-ty-grid__col--items .woocommerce-table--order-details tfoot td {
	padding: 0.6rem 1rem;
	font-size: 0.85rem;
	color: var(--gg-muted);
	border-top: 1px solid var(--gg-line);
	text-align: right;
}

.gg-ty-grid__col--items .woocommerce-table--order-details tfoot .order-total th,
.gg-ty-grid__col--items .woocommerce-table--order-details tfoot .order-total td {
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--gg-ink);
}

/* Address cards */
.gg-ty-address-card {
	background: #fff;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	padding: 1.1rem 1.25rem;
	margin-bottom: 0.85rem;
}

.gg-ty-address-card:last-child { margin-bottom: 0; }

.gg-ty-address-card h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gg-muted);
	margin: 0 0 0.65rem;
}

.gg-ty-address-card h3 svg {
	width: 14px;
	height: 14px;
	color: var(--gg-primary);
	flex-shrink: 0;
}

.gg-ty-address-card address,
.gg-ty-address-card p {
	font-style: normal;
	font-size: 0.875rem;
	color: var(--gg-ink);
	line-height: 1.65;
	margin: 0;
}

.gg-ty-address-card__sub {
	font-size: 0.82rem;
	color: var(--gg-muted);
}

/* ---- MY ACCOUNT BRIDGE ---- */
.gg-ty-bridge {
	text-align: center;
	margin-top: 0.5rem;
}

.gg-ty-bridge h2 {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--gg-ink);
	margin: 0 0 0.4rem;
	letter-spacing: -0.02em;
}

.gg-ty-bridge__sub {
	font-size: 0.9rem;
	color: var(--gg-muted);
	margin: 0 0 1.5rem;
}

.gg-ty-bridge__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	max-width: 660px;
	margin: 0 auto;
}

.gg-ty-bridge-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: #fff;
	border: 1.5px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	padding: 1.25rem 1.1rem 1.25rem 1.25rem;
	text-decoration: none !important;
	color: inherit !important;
	box-shadow: var(--gg-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	text-align: left;
}

.gg-ty-bridge-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--gg-shadow-md);
	border-color: var(--gg-primary);
}

.gg-ty-bridge-card__icon {
	display: flex;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--gg-primary-soft);
	color: var(--gg-primary);
	align-items: center;
	justify-content: center;
	transition: background 0.18s ease;
}

.gg-ty-bridge-card:hover .gg-ty-bridge-card__icon {
	background: var(--gg-primary);
	color: #fff;
}

.gg-ty-bridge-card__icon svg {
	width: 20px;
	height: 20px;
}

.gg-ty-bridge-card__body {
	flex: 1;
	min-width: 0;
}

.gg-ty-bridge-card__body strong {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--gg-ink);
	margin-bottom: 0.2rem;
}

.gg-ty-bridge-card__body span {
	display: block;
	font-size: 0.8rem;
	color: var(--gg-muted);
	line-height: 1.4;
}

.gg-ty-bridge-card__arrow {
	font-size: 1.3rem;
	color: var(--gg-muted);
	flex-shrink: 0;
	transition: color 0.18s ease, transform 0.18s ease;
	line-height: 1;
}

.gg-ty-bridge-card:hover .gg-ty-bridge-card__arrow {
	color: var(--gg-primary);
	transform: translateX(3px);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
	.gg-ty-hero { padding: 2.5rem 1.25rem 2rem; }
	.gg-ty-hero h1 { font-size: 1.45rem; }
	.gg-ty-hero__meta {
		border-radius: var(--gg-radius);
		padding: 0.75rem 1rem;
		gap: 0.75rem 0;
	}
	.gg-ty-hero__meta-sep { display: none; }
	.gg-ty-hero__meta { flex-direction: row; justify-content: space-around; }

	.gg-ty-grid {
		grid-template-columns: 1fr;
	}

	.gg-ty-bridge__grid {
		grid-template-columns: 1fr;
		max-width: 100%;
	}

	.gg-ty-bacs-card { padding: 1.25rem; }

	.gg-ty-bacs-card__header { flex-direction: column; gap: 0.75rem; }

	.gg-ty-bacs-body ul.bacs_details,
	.gg-ty-bacs-body ul.wc-bacs-bank-details {
		grid-template-columns: 1fr;
	}
}