/* Get & Craft login: uses the store's own look (Inter, navy #1F184F,
   pink #C61046 eyebrows, white pills on a soft grey, the craft hero photo). */
.woocommerce .gc-auth {
	--gc-ink: #1f184f;
	--gc-ink-soft: #6b6b75;
	--gc-line: #e4e2ec;
	--gc-soft: #f4f3f8;
	--gc-pink: #c61046;
	--gc-pink-soft: #fde7ee;
	--gc-err: #c62828;
	--gc-radius: 10px;
	margin: 8px 0 48px;
	font-family: Inter, system-ui, sans-serif;
	color: var(--gc-ink);
}
.woocommerce .gc-auth *, .woocommerce .gc-auth *::before, .woocommerce .gc-auth *::after { box-sizing: border-box; }
.woocommerce .gc-auth [hidden] { display: none !important; }

.gc-auth__wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 600px;
	background: #fff;
	border: 1px solid var(--gc-line);
	border-radius: 24px;
	overflow: hidden;
}

/* Craft photo side */
.gc-auth__art {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding: 40px;
	background: var(--gc-art, none) center / cover no-repeat, linear-gradient(160deg, #f7d6e4, #d9d2f2);
}
.gc-auth__art::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(31, 24, 79, 0) 35%, rgba(31, 24, 79, 0.82) 100%);
}
.gc-auth__art-text { position: relative; color: #fff; }
.woocommerce .gc-auth .gc-auth__art .gc-eyebrow { color: #fff; opacity: 0.85; }
.woocommerce .gc-auth .gc-auth__art-title {
	margin: 6px 0 16px;
	font: 700 30px/1.2 Inter, system-ui, sans-serif;
	color: #fff;
	max-width: 360px;
}
.woocommerce .gc-auth .gc-perks { list-style: none; margin: 0; padding: 0; border: 0 !important; background: none; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce .gc-auth .gc-perks li {
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	backdrop-filter: blur(4px);
}

/* Form side */
.gc-auth__main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 56px;
}
.gc-auth__panel { width: 100%; max-width: 400px; margin: 0 auto; }

.woocommerce .gc-auth .gc-eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--gc-pink);
}
.woocommerce .gc-auth .gc-auth__title {
	margin: 6px 0 6px;
	font: 700 34px/1.15 Inter, system-ui, sans-serif;
	color: var(--gc-ink);
}
.woocommerce .gc-auth .gc-auth__lead { margin: 0 0 24px; font-size: 15px; color: var(--gc-ink-soft); }

/* Email | Phone: same white pill on grey as the home page filters */
.gc-auth__switch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	margin-bottom: 22px;
	background: var(--gc-soft);
	border-radius: 999px;
}
.woocommerce .gc-auth .gc-auth__method {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 10px 12px;
	background: transparent;
	font: 600 14px/1.2 Inter, system-ui, sans-serif;
	color: var(--gc-ink-soft);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-shadow: none;
}
.woocommerce .gc-auth .gc-auth__method:hover { color: var(--gc-ink); background: transparent; }
.woocommerce .gc-auth .gc-auth__method[aria-selected="true"] {
	background: #fff;
	color: var(--gc-ink);
	box-shadow: 0 1px 4px rgba(31, 24, 79, 0.12);
}
.gc-auth__soon {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--gc-pink-soft);
	color: var(--gc-pink);
}

/* Fields */
.woocommerce .gc-auth .gc-field { margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.woocommerce .gc-auth .gc-field label { font-size: 13px; font-weight: 600; color: var(--gc-ink); margin: 0; }
.gc-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gc-optional { font-weight: 400; color: var(--gc-ink-soft); }

.woocommerce .gc-auth input[type="text"],
.woocommerce .gc-auth input[type="email"],
.woocommerce .gc-auth input[type="tel"],
.woocommerce .gc-auth input[type="password"] {
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	font: 400 15px/1.2 Inter, system-ui, sans-serif;
	color: var(--gc-ink);
	background: #fff;
	border: 1px solid var(--gc-line);
	border-radius: var(--gc-radius);
	box-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.woocommerce .gc-auth input::placeholder { color: #a9a6bd; }
.woocommerce .gc-auth input:focus {
	outline: none;
	border-color: var(--gc-ink);
	box-shadow: 0 0 0 3px rgba(31, 24, 79, 0.1);
}
.woocommerce .gc-auth input:disabled { background: var(--gc-soft); color: #a9a6bd; cursor: not-allowed; }
.woocommerce .gc-auth .password-input { display: block; position: relative; width: 100%; }

/* +91 phone input */
.gc-phone {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--gc-line);
	border-radius: var(--gc-radius);
	overflow: hidden;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.gc-phone:focus-within { border-color: var(--gc-ink); box-shadow: 0 0 0 3px rgba(31, 24, 79, 0.1); }
.gc-phone__code {
	display: flex;
	align-items: center;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 600;
	background: var(--gc-soft);
	border-right: 1px solid var(--gc-line);
}
.woocommerce .gc-auth .gc-phone input[type="tel"] { border: 0; border-radius: 0; box-shadow: none; letter-spacing: 0.04em; }

/* Checkbox */
.woocommerce .gc-auth .gc-check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 2px 0 22px;
	font-size: 14px;
	font-weight: 400;
	color: var(--gc-ink-soft);
	cursor: pointer;
}
.woocommerce .gc-auth .gc-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--gc-ink); }

/* Buttons and links */
.woocommerce .gc-auth .gc-btn {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 24px;
	border: 1px solid var(--gc-ink);
	border-radius: 999px;
	background: var(--gc-ink);
	color: #fff;
	font: 700 15px/1 Inter, system-ui, sans-serif;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.woocommerce .gc-auth .gc-btn:hover { background: var(--gc-pink); border-color: var(--gc-pink); color: #fff; }
.woocommerce .gc-auth .gc-btn:active { transform: translateY(1px); }
.woocommerce .gc-auth .gc-btn:disabled,
.woocommerce .gc-auth .gc-btn:disabled:hover { background: #b9b6c9; border-color: #b9b6c9; cursor: not-allowed; transform: none; }
.woocommerce .gc-auth .gc-link {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	font: 600 13px/1.2 Inter, system-ui, sans-serif;
	color: var(--gc-pink);
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}
.woocommerce .gc-auth .gc-link:hover { text-decoration: underline; text-underline-offset: 2px; background: none; color: var(--gc-pink); }
.woocommerce .gc-auth .gc-link:disabled { color: var(--gc-ink-soft); text-decoration: none; cursor: default; }

.woocommerce .gc-auth .gc-auth__alt {
	margin: 24px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--gc-line);
	text-align: center;
	font-size: 14px;
	color: var(--gc-ink-soft);
}
.woocommerce .gc-auth .gc-auth__alt .gc-link { font-size: 14px; }

/* Messages */
.woocommerce .gc-auth .gc-hint { margin: 10px 0 0; font-size: 13px; color: var(--gc-ink-soft); }
.woocommerce .gc-auth .gc-field .gc-hint { margin: 0; }
.gc-hint--center { text-align: center; }
.gc-error { font-size: 13px; color: var(--gc-err); }
.woocommerce .gc-auth .gc-note {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: var(--gc-radius);
	background: var(--gc-pink-soft);
	font-size: 13px;
	color: #8a0c33;
}

/* 6-digit code */
.gc-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 14px 0 18px; }
.woocommerce .gc-auth .gc-code input[type="text"] {
	height: 54px;
	padding: 0;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
}

/* WooCommerce extras inside the form (privacy text) */
.woocommerce .gc-auth .woocommerce-privacy-policy-text { font-size: 12px; color: var(--gc-ink-soft); margin: 0 0 18px; }
.woocommerce .gc-auth .woocommerce-privacy-policy-text p { margin: 0; }
.woocommerce .gc-auth .woocommerce-privacy-policy-text a { color: var(--gc-pink); }

/* Tablet: photo becomes a banner on top */
@media (max-width: 900px) {
	.gc-auth__wrap { grid-template-columns: 1fr; min-height: 0; }
	.gc-auth__art { min-height: 200px; padding: 24px 28px; }
	.woocommerce .gc-auth .gc-auth__art-title { font-size: 22px; margin-bottom: 12px; }
	.gc-auth__main { padding: 32px 28px 36px; }
}

/* Phone: no outer frame, compact banner */
@media (max-width: 520px) {
	.woocommerce .gc-auth { margin: 0 0 32px; }
	.gc-auth__wrap { border: 0; border-radius: 16px; }
	.gc-auth__art { min-height: 150px; padding: 18px 20px; border-radius: 16px; }
	.woocommerce .gc-auth .gc-perks { display: none; }
	.woocommerce .gc-auth .gc-auth__art-title { font-size: 19px; margin: 4px 0 0; }
	.gc-auth__main { padding: 24px 16px 20px; }
	.woocommerce .gc-auth .gc-auth__title { font-size: 26px; }
	.gc-code { gap: 6px; }
}

/* The theme styles "form.login .button" (small, floated, transparent on hover): keep ours. */
#customer_login.gc-auth .gc-btn {
	display: block;
	float: none;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 24px;
	border: 1px solid var(--gc-ink);
	border-radius: 999px;
	background: var(--gc-ink);
	color: #fff;
	font: 700 15px/1 Inter, system-ui, sans-serif;
}
#customer_login.gc-auth .gc-btn:hover { background: var(--gc-pink); border-color: var(--gc-pink); color: #fff; }
#customer_login.gc-auth .gc-btn:disabled,
#customer_login.gc-auth .gc-btn:disabled:hover { background: #b9b6c9; border-color: #b9b6c9; color: #fff; cursor: not-allowed; }
