/* L2GM Access — front-end styles. Colours and buttons follow Branch 1 (doc §5). */

/* Hide header mini-carts while logged out */
.l2gm-logged-out .wc-block-mini-cart,
.l2gm-logged-out .ct-header-cart,
.l2gm-logged-out .ct-cart-item,
.l2gm-logged-out .widget_shopping_cart {
	display: none !important;
}

/* Lock box */
.l2gm-lock {
	background: #f1f4fa;
	border: 1px solid #d5dcea;
	border-radius: 12px;
	padding: 18px 20px;
	margin: 12px 0;
	color: #11171c;
}
.l2gm-lock__text {
	margin: 0 0 10px;
}
.l2gm-lock__actions {
	margin: 0;
}
.l2gm-lock .l2gm-lock__btn {
	display: inline-block;
	background: #062766 !important;
	color: #fff !important;
	border: 1px solid #062766 !important;
	border-radius: 100px !important;
	padding: 10px 24px !important;
	min-height: 0 !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	margin: 0 8px 6px 0;
	box-shadow: none !important;
}
.l2gm-lock .l2gm-lock__btn:hover {
	background: #0a3aa0 !important;
	border-color: #0a3aa0 !important;
}
.l2gm-lock .l2gm-lock__btn--alt {
	background: transparent !important;
	color: #062766 !important;
}
.l2gm-lock .l2gm-lock__btn--alt:hover {
	background: #f1f4fa !important;
	border-color: #062766 !important;
}

/* Signed out: variable products keep the size choices but show no quantity
   box or (disabled) Add to cart button; the lock box above handles ordering. */
.l2gm-logged-out.single-product form.cart .woocommerce-variation-add-to-cart,
.l2gm-logged-out.single-product form.cart .quantity,
.l2gm-logged-out.single-product form.cart .ct-quantity-container,
.l2gm-logged-out.single-product form.cart .single_add_to_cart_button,
.l2gm-logged-out.single-product form.cart .woocommerce-variation-price {
	display: none !important;
}
a.l2gm-lock--short {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	color: #062766;
	background: #f1f4fa;
	border: 1px solid #d5dcea;
	border-radius: 100px;
	padding: 8px 16px;
	text-decoration: none;
}

/* My Account: sign-in / create-account card */
.l2gm-access-wrap { color: #1c2333; }
.l2gm-access-card {
	background: #fff;
	border: 1px solid #dfe6f3;
	border-radius: 12px;
	padding: 34px 38px;
	max-width: 560px;
	box-sizing: border-box;
}
.l2gm-tabs {
	display: flex;
	gap: 32px;
	border-bottom: 1px solid #e3e8f2;
	margin: 0 0 26px;
}
.l2gm-tab {
	background: none !important;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	padding: 0 2px 12px;
	font-size: 16px;
	font-weight: 500;
	color: #5a6b8c !important;
	cursor: pointer;
	font-family: inherit;
	border-radius: 0;
}
.l2gm-tab--active {
	color: #062766 !important;
	border-bottom-color: #062766;
	font-weight: 600;
}
.l2gm-row { margin: 0 0 18px; }
.l2gm-row > label, .l2gm-label {
	display: block;
	color: #042364;
	font-weight: 600;
	font-size: 14px;
	margin: 0 0 8px;
}
.l2gm-req { color: #c0262c; }
.l2gm-two { display: flex; gap: 14px; }
.l2gm-two .l2gm-row { flex: 1; min-width: 0; }
.l2gm-input {
	width: 100%;
	border: 1px solid #d6dcea !important;
	border-radius: 8px !important;
	padding: 12px 14px !important;
	font-size: 15px;
	background: #fff !important;
	color: #1c2333;
	box-sizing: border-box;
	font-family: inherit;
	min-height: 46px;
}
.l2gm-input:focus { border-color: #062766 !important; outline: none; box-shadow: 0 0 0 3px rgba(6, 39, 102, 0.12); }
.l2gm-input.l2gm-bad { border-color: #c0262c !important; }
.l2gm-check {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 12px;
	cursor: pointer;
	font-weight: 400;
}
.l2gm-check input { margin-top: 3px; flex: none; }
.l2gm-small { font-size: 13px; color: #5a6b8c; line-height: 1.6; margin: 0 0 18px; }
.l2gm-err { color: #c0262c; font-size: 13px; margin: -8px 0 14px; }
.l2gm-btn {
	background: #062766 !important;
	color: #fff !important;
	border: none;
	border-radius: 100px !important;
	padding: 14px 42px !important;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	font-family: inherit;
}
.l2gm-btn:hover { background: #0a3aa0 !important; }
.l2gm-btn--full { width: 100%; }
.l2gm-link { color: #0a3aa0; font-size: 14px; font-weight: 500; }
.l2gm-link--inline { font-size: inherit; }
.l2gm-link--sm { display: inline-block; font-size: 13px; margin-top: 6px; }
.l2gm-tos {
	height: 140px;
	overflow-y: auto;
	border: 1px solid #d6dcea;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.6;
	color: #33415c;
	background: #fafbfe;
}
.l2gm-tos p { margin: 0 0 10px; }
.l2gm-tos h1, .l2gm-tos h2, .l2gm-tos h3, .l2gm-tos h4 { font-size: 14px; margin: 12px 0 6px; color: #1c2333; }
@media (max-width: 600px) {
	.l2gm-access-card { padding: 24px 20px; }
	.l2gm-two { flex-direction: column; gap: 0; }
}

/* Reaffirm line (re-auth page) */
.l2gm-reaffirm {
	font-size: 13px;
	color: #33415c;
	line-height: 1.5;
	margin: 0 0 18px;
}

/* Honeypot */
.l2gm-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Exit link */
.l2gm-exit {
	text-align: center;
	margin: 18px 0 0;
}
.l2gm-exit a {
	color: #33415c;
	font-size: 13px;
}

/* Verify notice bar */
.l2gm-verify-bar {
	position: sticky;
	top: 0;
	z-index: 9990;
	background: #fff7e6;
	border-bottom: 1px solid #f0d489;
	color: #11171c;
	font-size: 14px;
	padding: 10px 16px;
	text-align: center;
}
.l2gm-verify-bar .l2gm-resend {
	display: inline;
}
.l2gm-verify-bar .l2gm-resend .button {
	margin-left: 8px;
	padding: 4px 14px;
	font-size: 13px;
	border-radius: 100px;
	background: #062766;
	color: #fff;
	border: none;
	cursor: pointer;
}

/* Checkout verification block */
.l2gm-verify-block {
	background: #fff7e6;
	border: 1px solid #f0d489;
	border-radius: 12px;
	padding: 16px 18px;
}
.l2gm-verify-block .l2gm-resend .button {
	background: #062766;
	color: #fff;
	border: none;
	border-radius: 100px;
	padding: 10px 22px;
	font-weight: 700;
	cursor: pointer;
}

/* Re-auth page */
.l2gm-reauth {
	max-width: 420px;
}
.l2gm-reauth .l2gm-reaffirm {
	margin-top: 12px;
}

@media (max-width: 480px) {
	.l2gm-access-wrap {
		padding: 32px 12px;
	}
	.l2gm-access-card {
		padding: 22px 20px;
		border-radius: 16px;
	}
}
.l2gm-pw-hint { margin: -8px 0 16px; }
