/**
 * Golmoti WooCommerce Account UI Stylesheet
 * Brand Palette:
 *   - Dark Green: #114104
 *   - Cream:      #F2E7D3
 *
 * Scoped strictly to .golmoti-account-ui and .golmoti-account-active
 */

:root {
	--golmoti-green: #114104;
	--golmoti-green-hover: #0c2e03;
	--golmoti-green-light: rgba(17, 65, 4, 0.08);
	--golmoti-green-glow: rgba(17, 65, 4, 0.18);
	--golmoti-cream: #F2E7D3;
	--golmoti-cream-light: #faf6f0;
	--golmoti-cream-muted: #f4eee3;
	--golmoti-cream-border: #e3d4bc;
	--golmoti-cream-border-dark: #cbb99d;
	--golmoti-white: #ffffff;
	--golmoti-text-main: #141a13;
	--golmoti-text-muted: #5e665c;
	--golmoti-text-light: #8b9489;
	--golmoti-success: #114104;
	--golmoti-error: #a82020;
	--golmoti-warning: #b0720a;
	--golmoti-info: #114104;
	--golmoti-radius-sm: 8px;
	--golmoti-radius-md: 12px;
	--golmoti-radius-lg: 18px;
	--golmoti-radius-pill: 9999px;
	--golmoti-shadow-subtle: 0 4px 20px rgba(17, 65, 4, 0.05);
	--golmoti-shadow-card: 0 10px 30px rgba(17, 65, 4, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03);
	--golmoti-shadow-elevated: 0 18px 45px rgba(17, 65, 4, 0.12);
	--golmoti-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	--golmoti-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--golmoti-font-serif: 'Playfair Display', Georgia, serif;
}

/* Base Wrapper & Page Viewport Protection */
html.golmoti-account-active,
body.golmoti-account-active {
	overflow-x: hidden !important;
	max-width: 100vw !important;
}

.golmoti-account-ui {
	font-family: var(--golmoti-font);
	color: var(--golmoti-text-main);
	line-height: 1.6;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 20px 16px 60px;
	overflow-x: hidden;
}

.golmoti-account-ui .golmoti-account-ui {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

.golmoti-account-ui *,
.golmoti-account-ui *::before,
.golmoti-account-ui *::after {
	box-sizing: border-box;
}

/* ==========================================================================
   Typography & Shared Micro-components
   ========================================================================== */
.golmoti-account-ui a {
	color: var(--golmoti-green);
	text-decoration: none;
	transition: var(--golmoti-transition);
}

.golmoti-account-ui a:hover {
	color: var(--golmoti-green-hover);
	text-decoration: underline;
}

.golmoti-link {
	color: var(--golmoti-green) !important;
	font-weight: 600;
	text-decoration: underline !important;
}

.golmoti-link:hover {
	color: var(--golmoti-green-hover) !important;
}

.golmoti-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--golmoti-cream-border);
}

.golmoti-section-title {
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--golmoti-green);
	margin: 0 0 6px 0;
	letter-spacing: -0.02em;
}

.golmoti-section-desc {
	font-size: 0.95rem;
	color: var(--golmoti-text-muted);
	margin: 0;
}

/* ==========================================================================
   Buttons (All Green Buttons with Clear White Text)
   ========================================================================== */
.golmoti-btn,
.golmoti-account-ui .woocommerce-Button,
.golmoti-account-ui button[type="submit"],
.golmoti-account-ui .woocommerce-button,
.golmoti-account-ui a.button,
.golmoti-account-ui button.button,
.golmoti-account-ui input.button,
.golmoti-account-ui .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--golmoti-font);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	padding: 12px 24px;
	border-radius: var(--golmoti-radius-md);
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none !important;
	transition: var(--golmoti-transition);
	white-space: nowrap;
	min-height: 44px;
	background-color: var(--golmoti-green) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(17, 65, 4, 0.22);
}

.golmoti-btn:hover,
.golmoti-account-ui .woocommerce-Button:hover,
.golmoti-account-ui button[type="submit"]:hover,
.golmoti-account-ui .woocommerce-button:hover,
.golmoti-account-ui a.button:hover,
.golmoti-account-ui button.button:hover,
.golmoti-account-ui input.button:hover,
.golmoti-account-ui .button:hover {
	background-color: var(--golmoti-green-hover) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(17, 65, 4, 0.3);
}

.golmoti-btn-primary,
.golmoti-account-ui .woocommerce-form-login__submit,
.golmoti-account-ui .woocommerce-form-register__submit,
.golmoti-account-ui .woocommerce-EditAccountForm button[type="submit"],
.golmoti-account-ui .woocommerce-edit-address-form button[type="submit"],
.golmoti-account-ui .woocommerce-ResetPassword button[type="submit"],
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions a,
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions .button,
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions .woocommerce-button,
.golmoti-account-ui .woocommerce-message .button,
.golmoti-account-ui .woocommerce-info .button,
.golmoti-account-ui .woocommerce-error .button,
.golmoti-account-ui .golmoti-btn-table {
	background-color: var(--golmoti-green) !important;
	color: #ffffff !important;
	box-shadow: 0 3px 10px rgba(17, 65, 4, 0.2) !important;
}

.golmoti-btn-primary:hover,
.golmoti-account-ui .woocommerce-form-login__submit:hover,
.golmoti-account-ui .woocommerce-form-register__submit:hover,
.golmoti-account-ui .woocommerce-EditAccountForm button[type="submit"]:hover,
.golmoti-account-ui .woocommerce-edit-address-form button[type="submit"]:hover,
.golmoti-account-ui .woocommerce-ResetPassword button[type="submit"]:hover,
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions a:hover,
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions .button:hover,
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions .woocommerce-button:hover,
.golmoti-account-ui .woocommerce-message .button:hover,
.golmoti-account-ui .woocommerce-info .button:hover,
.golmoti-account-ui .woocommerce-error .button:hover,
.golmoti-account-ui .golmoti-btn-table:hover {
	background-color: var(--golmoti-green-hover) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(17, 65, 4, 0.28) !important;
}

/* Secondary Button style */
.golmoti-btn-secondary {
	background-color: var(--golmoti-cream-light) !important;
	color: var(--golmoti-green) !important;
	border: 1px solid var(--golmoti-cream-border) !important;
	box-shadow: none !important;
}

.golmoti-btn-secondary:hover {
	background-color: var(--golmoti-cream) !important;
	border-color: var(--golmoti-cream-border-dark) !important;
	color: var(--golmoti-green-hover) !important;
}

.golmoti-btn-sm {
	padding: 8px 16px !important;
	font-size: 0.88rem !important;
	min-height: 36px !important;
}

.golmoti-btn-block {
	width: 100% !important;
}

/* Orders Actions Buttons */
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
}

.golmoti-btn-table,
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions a,
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions .button,
.golmoti-account-ui .woocommerce-orders-table__cell-order-actions .woocommerce-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 7px 18px !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	background: var(--golmoti-green) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: var(--golmoti-radius-sm) !important;
	text-decoration: none !important;
	transition: var(--golmoti-transition) !important;
	min-height: auto !important;
	line-height: 1.4 !important;
	width: 100%;
	max-width: 150px;
	text-align: center;
}

.golmoti-btn-text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--golmoti-green) !important;
	text-decoration: none !important;
	transition: var(--golmoti-transition);
}

.golmoti-btn-text:hover {
	transform: translateX(3px);
	color: var(--golmoti-green-hover) !important;
}

/* ==========================================================================
   Form Elements & Inputs
   ========================================================================== */
.golmoti-form {
	margin: 0;
}

.golmoti-field-group {
	margin-bottom: 20px;
}

.golmoti-label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--golmoti-text-main);
	margin-bottom: 7px;
}

.golmoti-label .required {
	color: var(--golmoti-error);
	margin-left: 3px;
	text-decoration: none;
}

.golmoti-label-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 7px;
}

.golmoti-label-row .golmoti-label {
	margin-bottom: 0;
}

.golmoti-forgot-link {
	font-size: 0.84rem;
	font-weight: 500;
	color: var(--golmoti-text-muted);
}

.golmoti-forgot-link:hover {
	color: var(--golmoti-green);
}

.golmoti-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.golmoti-input-icon {
	position: absolute;
	left: 15px;
	color: var(--golmoti-text-light);
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.golmoti-input,
.golmoti-account-ui input[type="text"],
.golmoti-account-ui input[type="email"],
.golmoti-account-ui input[type="password"],
.golmoti-account-ui input[type="tel"],
.golmoti-account-ui select,
.golmoti-account-ui textarea {
	width: 100%;
	height: 48px;
	padding: 10px 16px 10px 44px;
	font-family: var(--golmoti-font);
	font-size: 0.95rem;
	color: var(--golmoti-text-main);
	background-color: var(--golmoti-white);
	border: 1.5px solid var(--golmoti-cream-border);
	border-radius: var(--golmoti-radius-md);
	transition: var(--golmoti-transition);
	outline: none;
}

.golmoti-input:focus,
.golmoti-account-ui input[type="text"]:focus,
.golmoti-account-ui input[type="email"]:focus,
.golmoti-account-ui input[type="password"]:focus,
.golmoti-account-ui input[type="tel"]:focus,
.golmoti-account-ui select:focus,
.golmoti-account-ui textarea:focus {
	border-color: var(--golmoti-green);
	box-shadow: 0 0 0 3px var(--golmoti-green-light);
	background-color: #ffffff;
}

.golmoti-input::placeholder {
	color: var(--golmoti-text-light);
	opacity: 0.8;
}

/* Password Toggle */
.golmoti-toggle-password {
	position: absolute;
	right: 12px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--golmoti-text-light);
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--golmoti-radius-sm);
	transition: var(--golmoti-transition);
	z-index: 2;
	min-height: auto !important;
}

.golmoti-toggle-password:hover {
	color: var(--golmoti-green);
	background-color: var(--golmoti-cream-light);
}

.golmoti-password-input {
	padding-right: 48px !important;
}

.golmoti-password-hint,
.golmoti-field-hint {
	display: block;
	font-size: 0.82rem;
	color: var(--golmoti-text-muted);
	margin-top: 6px;
}

.golmoti-form-note {
	font-size: 0.88rem;
	color: var(--golmoti-text-muted);
	background: var(--golmoti-cream-light);
	border-left: 3px solid var(--golmoti-green);
	padding: 12px 16px;
	border-radius: var(--golmoti-radius-sm);
	margin: 16px 0;
}

.golmoti-form-instruction {
	font-size: 0.95rem;
	color: var(--golmoti-text-muted);
	line-height: 1.55;
	margin-bottom: 22px;
}

/* Checkbox */
.golmoti-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	user-select: none;
	position: relative;
}

.golmoti-checkbox-label input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}

.golmoti-custom-checkbox {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	border: 1.5px solid var(--golmoti-cream-border-dark);
	background: var(--golmoti-white);
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	transition: var(--golmoti-transition);
	color: var(--golmoti-cream);
}

.golmoti-custom-checkbox svg {
	opacity: 0;
	transform: scale(0.6);
	transition: var(--golmoti-transition);
}

.golmoti-checkbox-label input[type="checkbox"]:checked ~ .golmoti-custom-checkbox {
	background: var(--golmoti-green);
	border-color: var(--golmoti-green);
	color: var(--golmoti-cream);
}

.golmoti-checkbox-label input[type="checkbox"]:checked ~ .golmoti-custom-checkbox svg {
	opacity: 1;
	transform: scale(1);
}

.golmoti-checkbox-label input[type="checkbox"]:focus ~ .golmoti-custom-checkbox {
	box-shadow: 0 0 0 3px var(--golmoti-green-light);
}

.golmoti-checkbox-text {
	font-size: 0.9rem;
	color: var(--golmoti-text-main);
	line-height: 1.45;
}

.golmoti-form-options {
	margin: 18px 0 24px;
}

.golmoti-form-actions {
	margin-top: 24px;
}

.golmoti-form-actions .golmoti-btn {
	width: 100%;
}

.golmoti-form-footer {
	text-align: center;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--golmoti-cream-border);
	font-size: 0.92rem;
	color: var(--golmoti-text-muted);
}

.golmoti-form-footer span {
	margin-right: 6px;
}

.golmoti-switch-link {
	font-weight: 700;
	color: var(--golmoti-green) !important;
}

/* Grid helper */
.golmoti-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
}

.golmoti-col-6 {
	flex: 0 0 50%;
	max-width: 50%;
	padding: 0 8px;
}

/* ==========================================================================
   Notices & Alerts
   ========================================================================== */
.golmoti-notices-area {
	margin-bottom: 24px;
}

.golmoti-account-ui .woocommerce-notices-wrapper {
	margin-bottom: 20px;
}

.golmoti-account-ui .woocommerce-message,
.golmoti-account-ui .woocommerce-info,
.golmoti-account-ui .woocommerce-error,
.golmoti-alert {
	padding: 14px 20px 14px 48px !important;
	border-radius: var(--golmoti-radius-md) !important;
	margin: 0 0 20px 0 !important;
	font-size: 0.94rem !important;
	position: relative !important;
	line-height: 1.5 !important;
	box-shadow: var(--golmoti-shadow-subtle) !important;
	border: 1px solid transparent !important;
}

.golmoti-account-ui .woocommerce-message::before,
.golmoti-account-ui .woocommerce-info::before,
.golmoti-account-ui .woocommerce-error::before {
	position: absolute;
	left: 18px;
	top: 16px;
	font-family: inherit;
}

.golmoti-account-ui .woocommerce-message,
.golmoti-alert-success {
	background-color: var(--golmoti-cream-light) !important;
	border-color: var(--golmoti-cream-border) !important;
	border-left: 4px solid var(--golmoti-green) !important;
	color: var(--golmoti-text-main) !important;
}

.golmoti-account-ui .woocommerce-info,
.golmoti-alert-info {
	background-color: var(--golmoti-cream-light) !important;
	border-color: var(--golmoti-cream-border) !important;
	border-left: 4px solid var(--golmoti-green) !important;
	color: var(--golmoti-text-main) !important;
}

.golmoti-account-ui .woocommerce-error,
.golmoti-alert-warning {
	background-color: #fff8f8 !important;
	border-color: #f1d4d4 !important;
	border-left: 4px solid var(--golmoti-error) !important;
	color: #781414 !important;
	list-style: none !important;
}

.golmoti-account-ui .woocommerce-error li {
	margin: 4px 0 !important;
}

/* ==========================================================================
   1. AUTH CONTAINER & CARD (Login / Register / Forgot Password)
   ========================================================================== */
.golmoti-auth-container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 70vh;
	padding: 40px 16px;
}

.golmoti-auth-card {
	width: 100%;
	max-width: 520px;
	background: var(--golmoti-white);
	border: 1px solid var(--golmoti-cream-border);
	border-radius: var(--golmoti-radius-lg);
	box-shadow: var(--golmoti-shadow-card);
	padding: 44px 40px;
	position: relative;
	overflow: hidden;
}

.golmoti-auth-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--golmoti-green) 0%, #1d6e07 50%, var(--golmoti-green) 100%);
}

.golmoti-auth-header {
	text-align: center;
	margin-bottom: 28px;
}

.golmoti-auth-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: var(--golmoti-cream);
	color: var(--golmoti-green);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 5px 14px;
	border-radius: var(--golmoti-radius-pill);
	margin-bottom: 14px;
	border: 1px solid var(--golmoti-cream-border);
}

.golmoti-badge-icon {
	display: flex;
	align-items: center;
}

.golmoti-auth-title {
	font-size: 1.85rem;
	font-weight: 800;
	color: var(--golmoti-green);
	letter-spacing: -0.03em;
	margin: 0 0 8px 0;
}

.golmoti-auth-subtitle {
	font-size: 0.94rem;
	color: var(--golmoti-text-muted);
	margin: 0 auto;
	max-width: 400px;
	line-height: 1.5;
}

/* Tabs switcher */
.golmoti-tab-nav {
	display: flex;
	background: var(--golmoti-cream-light);
	border: 1px solid var(--golmoti-cream-border);
	border-radius: var(--golmoti-radius-md);
	padding: 5px;
	margin-bottom: 28px;
	gap: 6px;
}

.golmoti-tab-btn {
	flex: 1;
	background: transparent;
	border: none;
	padding: 10px 16px;
	font-family: var(--golmoti-font);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--golmoti-text-muted);
	border-radius: var(--golmoti-radius-sm);
	cursor: pointer;
	transition: var(--golmoti-transition);
	min-height: auto;
}

.golmoti-tab-btn:hover {
	color: var(--golmoti-green);
}

.golmoti-tab-btn.is-active {
	background: var(--golmoti-green);
	color: var(--golmoti-cream);
	box-shadow: 0 2px 8px rgba(17, 65, 4, 0.2);
}

/* Panels */
.golmoti-tab-panel {
	display: none;
	animation: golmotiFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.golmoti-tab-panel.is-active {
	display: block;
}

@keyframes golmotiFadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   2. MY ACCOUNT HEADER
   ========================================================================== */
.golmoti-account-header {
	background: linear-gradient(135deg, var(--golmoti-green) 0%, #0d3603 100%);
	color: var(--golmoti-cream);
	border-radius: var(--golmoti-radius-lg);
	padding: 34px 38px;
	margin-bottom: 28px;
	box-shadow: var(--golmoti-shadow-card);
	border: 1px solid rgba(242, 231, 211, 0.15);
	position: relative;
	overflow: hidden;
}

.golmoti-account-header::after {
	content: '';
	position: absolute;
	right: -40px;
	bottom: -40px;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(242, 231, 211, 0.08) 0%, transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

.golmoti-header-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 2;
	gap: 24px;
}

.golmoti-user-profile {
	display: flex;
	align-items: center;
	gap: 20px;
}

.golmoti-avatar {
	width: 72px;
	height: 72px;
	background: var(--golmoti-cream);
	color: var(--golmoti-green);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	border: 3px solid rgba(242, 231, 211, 0.4);
	flex-shrink: 0;
}

.golmoti-user-meta {
	display: flex;
	flex-direction: column;
}

.golmoti-welcome-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.76rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--golmoti-cream);
	opacity: 0.85;
	margin-bottom: 4px;
}

.golmoti-status-dot {
	width: 8px;
	height: 8px;
	background-color: #4ade80;
	border-radius: 50%;
	display: inline-block;
}

.golmoti-greeting {
	font-size: 1.7rem;
	font-weight: 800;
	color: var(--golmoti-white);
	margin: 0 0 4px 0;
	letter-spacing: -0.02em;
}

.golmoti-subgreeting {
	font-size: 0.92rem;
	color: var(--golmoti-cream);
	opacity: 0.85;
	margin: 0 0 8px 0;
}

.golmoti-user-email {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.86rem;
	color: var(--golmoti-cream);
	opacity: 0.75;
}

.golmoti-user-email svg {
	width: 15px;
	height: 15px;
}

.golmoti-header-stats {
	display: flex;
	gap: 16px;
}

.golmoti-stat-card {
	background: rgba(242, 231, 211, 0.1);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(242, 231, 211, 0.2);
	border-radius: var(--golmoti-radius-md);
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 150px;
}

.golmoti-stat-icon {
	color: var(--golmoti-cream);
	display: flex;
	align-items: center;
	opacity: 0.9;
}

.golmoti-stat-info {
	display: flex;
	flex-direction: column;
}

.golmoti-stat-value {
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--golmoti-white);
	line-height: 1.1;
}

.golmoti-stat-label {
	font-size: 0.78rem;
	color: var(--golmoti-cream);
	opacity: 0.8;
	margin-top: 2px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ==========================================================================
   3. MY ACCOUNT 2-COLUMN LAYOUT & SIDEBAR
   ========================================================================== */
.golmoti-account-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 28px;
	align-items: start;
}

.golmoti-account-sidebar {
	position: sticky;
	top: 24px;
}

.golmoti-account-nav {
	background: var(--golmoti-white);
	border: 1px solid var(--golmoti-cream-border);
	border-radius: var(--golmoti-radius-lg);
	box-shadow: var(--golmoti-shadow-subtle);
	overflow: hidden;
	padding: 10px;
}

.golmoti-nav-mobile-bar {
	display: none;
}

.golmoti-nav-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.golmoti-nav-item {
	margin-bottom: 4px;
}

.golmoti-nav-item:last-child {
	margin-bottom: 0;
}

.golmoti-nav-item-logout {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--golmoti-cream-border);
}

.golmoti-nav-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: var(--golmoti-radius-md);
	font-weight: 600;
	font-size: 0.94rem;
	color: var(--golmoti-text-main);
	text-decoration: none !important;
	transition: var(--golmoti-transition);
}

.golmoti-nav-icon {
	display: flex;
	align-items: center;
	color: var(--golmoti-text-muted);
	transition: var(--golmoti-transition);
}

.golmoti-nav-text {
	flex: 1;
}

.golmoti-nav-arrow {
	display: flex;
	align-items: center;
	opacity: 0;
	transform: translateX(-4px);
	transition: var(--golmoti-transition);
	color: var(--golmoti-cream);
}

.golmoti-nav-link:hover {
	background: var(--golmoti-cream-light);
	color: var(--golmoti-green);
}

.golmoti-nav-link:hover .golmoti-nav-icon {
	color: var(--golmoti-green);
}

/* Strip theme duplicate icons/bullets/counters on My Account nav */
.golmoti-account-ui .woocommerce-MyAccount-navigation li::before,
.golmoti-account-ui .woocommerce-MyAccount-navigation li::after,
.golmoti-account-ui .woocommerce-MyAccount-navigation a::before,
.golmoti-account-ui .woocommerce-MyAccount-navigation a::after,
.golmoti-account-ui .golmoti-nav-item::before,
.golmoti-account-ui .golmoti-nav-item::after,
.golmoti-account-ui .golmoti-nav-link::before,
.golmoti-account-ui .golmoti-nav-link::after {
	display: none !important;
	content: none !important;
}

.golmoti-nav-item.is-active .golmoti-nav-link,
.golmoti-nav-link.is-active {
	background: var(--golmoti-green) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(17, 65, 4, 0.2) !important;
}

.golmoti-nav-item.is-active .golmoti-nav-link span,
.golmoti-nav-link.is-active span,
.golmoti-nav-item.is-active .golmoti-nav-text,
.golmoti-nav-link.is-active .golmoti-nav-text,
.golmoti-nav-item.is-active .golmoti-nav-icon,
.golmoti-nav-link.is-active .golmoti-nav-icon {
	color: #ffffff !important;
}

.golmoti-nav-item.is-active .golmoti-nav-arrow,
.golmoti-nav-link.is-active .golmoti-nav-arrow {
	opacity: 1;
	transform: translateX(0);
	color: #ffffff !important;
}

.golmoti-nav-item-logout .golmoti-nav-link:hover {
	background: #fff3f3;
	color: var(--golmoti-error);
}

.golmoti-nav-item-logout .golmoti-nav-link:hover .golmoti-nav-icon {
	color: var(--golmoti-error);
}

/* ==========================================================================
   4. CONTENT CARD AREA
   ========================================================================== */
.golmoti-content-card {
	background: var(--golmoti-white);
	border: 1px solid var(--golmoti-cream-border);
	border-radius: var(--golmoti-radius-lg);
	box-shadow: var(--golmoti-shadow-card);
	padding: 34px 38px;
	min-height: 480px;
}

/* ==========================================================================
   5. DASHBOARD CARDS
   ========================================================================== */
.golmoti-dashboard-welcome {
	margin-bottom: 28px;
}

.golmoti-dashboard-text {
	font-size: 1.02rem;
	color: var(--golmoti-text-muted);
	line-height: 1.6;
}

.golmoti-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 26px;
}

.golmoti-dash-card {
	background: var(--golmoti-cream-light);
	border: 1px solid var(--golmoti-cream-border);
	border-radius: var(--golmoti-radius-md);
	padding: 24px;
	display: flex;
	flex-direction: column;
	transition: var(--golmoti-transition);
}

.golmoti-dash-card:hover {
	transform: translateY(-3px);
	border-color: var(--golmoti-cream-border-dark);
	box-shadow: var(--golmoti-shadow-subtle);
	background: #ffffff;
}

.golmoti-dash-card-icon {
	width: 44px;
	height: 44px;
	background: var(--golmoti-cream);
	color: var(--golmoti-green);
	border-radius: var(--golmoti-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	border: 1px solid var(--golmoti-cream-border);
}

.golmoti-dash-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--golmoti-green);
	margin: 0 0 8px 0;
}

.golmoti-dash-card-desc {
	font-size: 0.88rem;
	color: var(--golmoti-text-muted);
	line-height: 1.5;
	margin: 0 0 16px 0;
	flex-grow: 1;
}

.golmoti-dash-card-footer {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid rgba(227, 212, 188, 0.4);
}

/* ==========================================================================
   6. ORDERS SECTION & TABLE
   ========================================================================== */
.golmoti-orders-table-wrapper {
	overflow-x: auto;
}

.golmoti-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.94rem;
	border: 1px solid var(--golmoti-cream-border);
	border-radius: var(--golmoti-radius-md);
	overflow: hidden;
}

.golmoti-table thead {
	background: var(--golmoti-cream-light);
}

.golmoti-table th {
	padding: 14px 18px;
	text-align: left;
	font-weight: 700;
	font-size: 0.84rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--golmoti-green);
	border-bottom: 1.5px solid var(--golmoti-cream-border);
}

.golmoti-table td {
	padding: 16px 18px;
	border-bottom: 1px solid var(--golmoti-cream-border);
	vertical-align: middle;
	color: var(--golmoti-text-main);
}

.golmoti-table tbody tr:last-child td {
	border-bottom: none;
}

.golmoti-table tbody tr:hover {
	background-color: rgba(242, 231, 211, 0.25);
}

.golmoti-order-id-link {
	font-weight: 700;
	color: var(--golmoti-green) !important;
}

.golmoti-order-total-amount {
	font-weight: 700;
	color: var(--golmoti-text-main);
}

/* Status Badges */
.golmoti-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: var(--golmoti-radius-pill);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: capitalize;
	letter-spacing: 0.02em;
}

.golmoti-badge-completed,
.golmoti-badge-wc-completed {
	background-color: var(--golmoti-cream);
	color: var(--golmoti-green);
	border: 1px solid var(--golmoti-cream-border-dark);
}

.golmoti-badge-processing,
.golmoti-badge-wc-processing {
	background-color: #e6f4ea;
	color: #137333;
	border: 1px solid #ceead6;
}

.golmoti-badge-on-hold,
.golmoti-badge-wc-on-hold {
	background-color: #fef7e0;
	color: #b06000;
	border: 1px solid #feefa3;
}

.golmoti-badge-pending,
.golmoti-badge-wc-pending {
	background-color: #f1f3f4;
	color: #5f6368;
	border: 1px solid #dadce0;
}

.golmoti-badge-cancelled,
.golmoti-badge-failed,
.golmoti-badge-refunded {
	background-color: #fce8e6;
	color: #c5221f;
	border: 1px solid #fad2cf;
}

/* Mobile Orders Cards List (hidden on desktop) */
.golmoti-orders-cards-list {
	display: none;
}

.golmoti-order-card {
	background: var(--golmoti-white);
	border: 1px solid var(--golmoti-cream-border);
	border-radius: var(--golmoti-radius-md);
	padding: 18px;
	margin-bottom: 16px;
	box-shadow: var(--golmoti-shadow-subtle);
}

.golmoti-order-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--golmoti-cream-border);
	margin-bottom: 12px;
}

.golmoti-order-card-id {
	display: flex;
	align-items: center;
	gap: 6px;
}

.golmoti-order-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	color: var(--golmoti-text-muted);
}

.golmoti-order-number {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--golmoti-green) !important;
}

.golmoti-order-detail-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	margin-bottom: 6px;
}

.golmoti-detail-label {
	color: var(--golmoti-text-muted);
}

.golmoti-detail-total {
	font-weight: 700;
	color: var(--golmoti-green);
}

.golmoti-item-count {
	font-size: 0.82rem;
	color: var(--golmoti-text-light);
	font-weight: 400;
}

.golmoti-order-card-actions {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--golmoti-cream-border);
}

/* Pagination */
.golmoti-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
}

.golmoti-btn-page {
	padding: 8px 18px;
	font-size: 0.88rem;
	font-weight: 600;
	background: var(--golmoti-cream-light);
	border: 1px solid var(--golmoti-cream-border);
	color: var(--golmoti-green);
	border-radius: var(--golmoti-radius-sm);
	text-decoration: none !important;
	min-height: auto;
}

.golmoti-btn-page:hover {
	background: var(--golmoti-green);
	color: var(--golmoti-cream);
}

.golmoti-page-indicator {
	font-size: 0.9rem;
	color: var(--golmoti-text-muted);
	font-weight: 600;
}

/* ==========================================================================
   7. ADDRESSES SECTION
   ========================================================================== */
.golmoti-addresses-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.golmoti-address-card {
	background: var(--golmoti-cream-light);
	border: 1px solid var(--golmoti-cream-border);
	border-radius: var(--golmoti-radius-md);
	padding: 26px;
	display: flex;
	flex-direction: column;
	transition: var(--golmoti-transition);
}

.golmoti-address-card:hover {
	box-shadow: var(--golmoti-shadow-subtle);
	border-color: var(--golmoti-cream-border-dark);
}

.golmoti-address-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--golmoti-cream-border);
}

.golmoti-address-type {
	display: flex;
	align-items: center;
	gap: 10px;
}

.golmoti-address-icon {
	color: var(--golmoti-green);
	display: flex;
	align-items: center;
}

.golmoti-address-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--golmoti-green);
	margin: 0;
}

.golmoti-address-edit-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--golmoti-green);
	text-decoration: underline;
}

.golmoti-formatted-address {
	font-style: normal;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--golmoti-text-main);
	margin-bottom: 20px;
	flex-grow: 1;
}

.golmoti-address-empty {
	color: var(--golmoti-text-light);
	font-style: italic;
}

.golmoti-address-card-footer {
	margin-top: auto;
}

/* Edit Address Form */
.golmoti-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.golmoti-form-grid .form-row-wide,
.golmoti-form-grid .woocommerce-invalid {
	grid-column: span 2;
}

/* ==========================================================================
   8. ACCOUNT DETAILS FORM
   ========================================================================== */
.golmoti-form-fieldset {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--golmoti-cream-border);
}

.golmoti-form-fieldset:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.golmoti-fieldset-title {
	font-size: 1.18rem;
	font-weight: 700;
	color: var(--golmoti-green);
	margin: 0 0 6px 0;
}

.golmoti-fieldset-desc {
	font-size: 0.88rem;
	color: var(--golmoti-text-muted);
	margin: 0 0 20px 0;
}

/* ==========================================================================
   9. EMPTY STATES
   ========================================================================== */
.golmoti-empty-state {
	text-align: center;
	padding: 50px 20px;
	max-width: 440px;
	margin: 0 auto;
}

.golmoti-empty-icon {
	width: 74px;
	height: 74px;
	background: var(--golmoti-cream);
	color: var(--golmoti-green);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	border: 1px solid var(--golmoti-cream-border);
}

.golmoti-empty-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--golmoti-green);
	margin: 0 0 8px 0;
}

.golmoti-empty-desc {
	font-size: 0.94rem;
	color: var(--golmoti-text-muted);
	line-height: 1.55;
	margin: 0 0 24px 0;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Laptops / Small Desktops */
@media (max-width: 1024px) {
	.golmoti-account-layout {
		grid-template-columns: 240px 1fr;
		gap: 20px;
	}

	.golmoti-dashboard-grid {
		grid-template-columns: 1fr;
	}
}

/* Tablets (Max 991px) */
@media (max-width: 991px) {
	.golmoti-account-header {
		padding: 26px 24px;
	}

	.golmoti-header-main {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.golmoti-header-stats {
		width: 100%;
	}

	.golmoti-stat-card {
		flex: 1;
	}

	.golmoti-account-layout {
		grid-template-columns: 1fr;
	}

	.golmoti-account-sidebar {
		position: static;
	}

	.golmoti-nav-mobile-bar {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 8px 12px;
		background: var(--golmoti-cream-light);
		border-radius: var(--golmoti-radius-sm);
		cursor: pointer;
	}

	.golmoti-nav-mobile-title {
		font-weight: 700;
		color: var(--golmoti-green);
		font-size: 0.92rem;
	}

	.golmoti-nav-toggle-btn {
		background: var(--golmoti-green);
		color: var(--golmoti-cream);
		border: none;
		padding: 6px 12px;
		border-radius: 6px;
		font-size: 0.82rem;
		font-weight: 600;
		display: flex;
		align-items: center;
		gap: 6px;
		cursor: pointer;
		min-height: auto !important;
	}

	.golmoti-nav-toggle-btn svg {
		transition: transform 0.25s ease;
	}

	.golmoti-nav-toggle-btn.is-open svg {
		transform: rotate(180deg);
	}

	.golmoti-nav-list {
		display: none;
		margin-top: 10px !important;
	}

	.golmoti-nav-list.is-open {
		display: block;
	}

	.golmoti-addresses-grid {
		grid-template-columns: 1fr;
	}
}

/* Mobile Phones (Max 767px) */
@media (max-width: 767px) {
	.golmoti-account-ui {
		padding: 10px 8px 36px !important;
		width: 100% !important;
		max-width: 100vw !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
	}

	/* Auth (Login / Register / Lost Password) on Mobile */
	.golmoti-auth-container {
		padding: 16px 4px !important;
		min-height: auto !important;
		width: 100% !important;
	}

	.golmoti-auth-card {
		padding: 24px 16px !important;
		border-radius: var(--golmoti-radius-md) !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.golmoti-auth-title {
		font-size: 1.45rem !important;
		line-height: 1.25 !important;
	}

	.golmoti-auth-subtitle {
		font-size: 0.88rem !important;
	}

	.golmoti-row {
		margin: 0 !important;
		width: 100% !important;
	}

	.golmoti-col-6 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
	}

	/* Account Header on Mobile */
	.golmoti-account-header {
		padding: 18px 14px !important;
		margin-bottom: 16px !important;
		border-radius: var(--golmoti-radius-md) !important;
		width: 100% !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
	}

	.golmoti-header-main {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 14px !important;
		width: 100% !important;
	}

	.golmoti-user-profile {
		display: flex !important;
		align-items: flex-start !important;
		gap: 12px !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	.golmoti-avatar {
		width: 48px !important;
		height: 48px !important;
		font-size: 1.15rem !important;
		flex-shrink: 0 !important;
	}

	.golmoti-user-meta {
		flex: 1 !important;
		min-width: 0 !important;
		width: calc(100% - 60px) !important;
		overflow: hidden !important;
	}

	.golmoti-welcome-badge {
		font-size: 0.72rem !important;
		margin-bottom: 2px !important;
	}

	.golmoti-greeting {
		font-size: 1.25rem !important;
		line-height: 1.25 !important;
		word-break: break-word !important;
		margin-bottom: 4px !important;
	}

	.golmoti-subgreeting {
		font-size: 0.84rem !important;
		line-height: 1.4 !important;
		word-break: break-word !important;
		overflow-wrap: break-word !important;
		margin-bottom: 6px !important;
		opacity: 0.9 !important;
	}

	.golmoti-user-email {
		font-size: 0.78rem !important;
		word-break: break-all !important;
		overflow-wrap: anywhere !important;
		max-width: 100% !important;
		line-height: 1.3 !important;
	}

	.golmoti-header-stats {
		display: flex !important;
		flex-direction: column !important;
		gap: 8px !important;
		width: 100% !important;
		margin-top: 4px !important;
	}

	.golmoti-stat-card {
		width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		padding: 10px 14px !important;
		gap: 12px !important;
	}

	.golmoti-stat-value {
		font-size: 1.15rem !important;
	}

	/* Navigation Bar on Mobile */
	.golmoti-account-nav {
		width: 100% !important;
		box-sizing: border-box !important;
		margin-bottom: 16px !important;
		border-radius: var(--golmoti-radius-md) !important;
	}

	.golmoti-nav-mobile-bar {
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.golmoti-nav-list {
		width: 100% !important;
		box-sizing: border-box !important;
	}

	/* Content Card on Mobile */
	.golmoti-content-card {
		padding: 18px 12px !important;
		border-radius: var(--golmoti-radius-md) !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
	}

	/* Prevent any 3rd party plugins (Delhivery, tracking widgets, invoice boxes) from overflowing */
	.golmoti-content-card > *,
	.golmoti-content-card div,
	.golmoti-content-card section,
	.golmoti-content-card article {
		max-width: 100% !important;
		box-sizing: border-box !important;
		word-break: break-word !important;
		overflow-wrap: break-word !important;
	}

	.golmoti-content-card mark.order-number,
	.golmoti-content-card mark.order-date,
	.golmoti-content-card mark.order-status {
		word-break: break-word !important;
	}

	/* Main Orders List (Table hidden on mobile, Cards shown) */
	.golmoti-orders-table-wrapper {
		display: none !important;
	}

	.golmoti-orders-cards-list {
		display: block !important;
		width: 100% !important;
	}

	.golmoti-order-card {
		width: 100% !important;
		box-sizing: border-box !important;
		padding: 14px !important;
		margin-bottom: 12px !important;
	}

	/* Single Order View (/view-order/) Mobile Card Overhaul */
	.golmoti-account-ui table.shop_table.order_details,
	.golmoti-account-ui table.woocommerce-table--order-details,
	.golmoti-account-ui table.order_details {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		border: 1px solid var(--golmoti-cream-border) !important;
		border-radius: var(--golmoti-radius-sm) !important;
		padding: 12px !important;
		margin-bottom: 18px !important;
		box-sizing: border-box !important;
	}

	.golmoti-account-ui table.shop_table.order_details thead,
	.golmoti-account-ui table.woocommerce-table--order-details thead {
		display: none !important;
	}

	.golmoti-account-ui table.shop_table.order_details tbody,
	.golmoti-account-ui table.woocommerce-table--order-details tbody,
	.golmoti-account-ui table.shop_table.order_details tfoot,
	.golmoti-account-ui table.woocommerce-table--order-details tfoot {
		display: block !important;
		width: 100% !important;
	}

	/* Product Row as Mobile Card */
	.golmoti-account-ui table.shop_table.order_details tbody tr,
	.golmoti-account-ui table.woocommerce-table--order-details tbody tr {
		display: flex !important;
		flex-direction: column !important;
		padding: 10px 0 !important;
		border-bottom: 1px solid var(--golmoti-cream-border) !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.golmoti-account-ui table.shop_table.order_details tbody td,
	.golmoti-account-ui table.woocommerce-table--order-details tbody td {
		display: block !important;
		width: 100% !important;
		padding: 3px 0 !important;
		border: none !important;
		text-align: left !important;
		word-break: break-word !important;
		overflow-wrap: break-word !important;
		box-sizing: border-box !important;
	}

	.golmoti-account-ui table.shop_table.order_details tbody td.woocommerce-table__product-name,
	.golmoti-account-ui table.shop_table.order_details tbody td.product-name {
		font-weight: 600 !important;
		font-size: 0.94rem !important;
		color: var(--golmoti-text-main) !important;
		line-height: 1.4 !important;
	}

	.golmoti-account-ui table.shop_table.order_details tbody td.woocommerce-table__product-total,
	.golmoti-account-ui table.shop_table.order_details tbody td.product-total {
		font-weight: 700 !important;
		font-size: 1.05rem !important;
		color: var(--golmoti-green) !important;
		margin-top: 4px !important;
	}

	/* Totals Rows (Subtotal, Shipping, Total, Payment Method) */
	.golmoti-account-ui table.shop_table.order_details tfoot tr,
	.golmoti-account-ui table.woocommerce-table--order-details tfoot tr {
		display: flex !important;
		flex-direction: row !important;
		justify-content: space-between !important;
		align-items: center !important;
		flex-wrap: wrap !important;
		padding: 8px 0 !important;
		border-bottom: 1px dashed var(--golmoti-cream-border) !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.golmoti-account-ui table.shop_table.order_details tfoot tr:last-child {
		border-bottom: none !important;
	}

	.golmoti-account-ui table.shop_table.order_details tfoot th,
	.golmoti-account-ui table.woocommerce-table--order-details tfoot th {
		display: inline-block !important;
		width: auto !important;
		max-width: 55% !important;
		padding: 0 !important;
		border: none !important;
		font-size: 0.88rem !important;
		color: var(--golmoti-text-muted) !important;
		font-weight: 600 !important;
		text-align: left !important;
	}

	.golmoti-account-ui table.shop_table.order_details tfoot td,
	.golmoti-account-ui table.woocommerce-table--order-details tfoot td {
		display: inline-block !important;
		width: auto !important;
		max-width: 45% !important;
		padding: 0 !important;
		border: none !important;
		font-size: 0.95rem !important;
		font-weight: 700 !important;
		color: var(--golmoti-text-main) !important;
		text-align: right !important;
		word-break: break-word !important;
	}

	/* Action Buttons Row on Order Details Table */
	.golmoti-account-ui table.shop_table.order_details tfoot tr.order-actions,
	.golmoti-account-ui table.shop_table.order_details tfoot tr:has(.button),
	.golmoti-account-ui table.shop_table.order_details tfoot tr:has(a.button) {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		padding-top: 12px !important;
		border-bottom: none !important;
	}

	.golmoti-account-ui table.shop_table.order_details tfoot tr.order-actions th,
	.golmoti-account-ui table.shop_table.order_details tfoot tr:has(.button) th,
	.golmoti-account-ui table.shop_table.order_details tfoot tr:has(a.button) th {
		max-width: 100% !important;
		width: 100% !important;
		margin-bottom: 6px !important;
		font-weight: 700 !important;
		color: var(--golmoti-green) !important;
	}

	.golmoti-account-ui table.shop_table.order_details tfoot tr.order-actions td,
	.golmoti-account-ui table.shop_table.order_details tfoot tr:has(.button) td,
	.golmoti-account-ui table.shop_table.order_details tfoot tr:has(a.button) td {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		max-width: 100% !important;
		gap: 8px !important;
	}

	.golmoti-account-ui table.shop_table.order_details tfoot td .button,
	.golmoti-account-ui table.shop_table.order_details tfoot td a.button,
	.golmoti-account-ui table.shop_table.order_details tfoot td a {
		display: flex !important;
		width: 100% !important;
		max-width: 100% !important;
		justify-content: center !important;
		margin: 3px 0 !important;
		padding: 10px 14px !important;
		font-size: 0.88rem !important;
		box-sizing: border-box !important;
	}

	/* Customer / Billing Details on Order Details Page */
	.golmoti-account-ui .woocommerce-customer-details,
	.golmoti-account-ui .woocommerce-columns--addresses {
		display: flex !important;
		flex-direction: column !important;
		gap: 14px !important;
		width: 100% !important;
		margin-top: 18px !important;
	}

	.golmoti-account-ui .woocommerce-customer-details address,
	.golmoti-account-ui .woocommerce-column--billing-address address,
	.golmoti-account-ui .woocommerce-column--shipping-address address {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box !important;
		background: var(--golmoti-cream-light) !important;
		border: 1px solid var(--golmoti-cream-border) !important;
		border-radius: var(--golmoti-radius-sm) !important;
		padding: 14px !important;
		font-style: normal !important;
		line-height: 1.6 !important;
		word-break: break-word !important;
	}

	/* Form Grid on Mobile */
	.golmoti-form-grid {
		grid-template-columns: 1fr !important;
	}

	.golmoti-form-grid .form-row-wide,
	.golmoti-form-grid .woocommerce-invalid {
		grid-column: span 1 !important;
	}
}

/* Very Small Mobile Phones (Max 480px) */
@media (max-width: 480px) {
	.golmoti-account-ui {
		padding: 8px 6px 30px !important;
	}

	.golmoti-auth-card {
		padding: 20px 12px !important;
	}

	.golmoti-account-header {
		padding: 16px 12px !important;
	}

	.golmoti-avatar {
		width: 44px !important;
		height: 44px !important;
		font-size: 1.05rem !important;
	}

	.golmoti-greeting {
		font-size: 1.15rem !important;
	}

	.golmoti-content-card {
		padding: 14px 10px !important;
	}

	.golmoti-stat-card {
		padding: 8px 12px !important;
	}
}
