/* My Account (logged out): [Σύνδεση / Εγγραφή] [Χονδρική B2B] [Affiliate Partner] */
.woocommerce-account:not(.logged-in) .entry-header,
.woocommerce-account:not(.logged-in) .page-header {
	margin-bottom: 18px !important;
	padding-top: 0 !important;
}

.woocommerce-account:not(.logged-in) .entry-title,
.woocommerce-account:not(.logged-in) .page-title {
	margin-bottom: 0 !important;
	font-size: 30px !important;
}

#customer_login.bb-auth-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
	max-width: 1140px;
	margin: 0 auto;
}

#customer_login.bb-auth-grid::before,
#customer_login.bb-auth-grid::after {
	display: none !important;
}

.bb-auth-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 28px 30px 30px;
	border: 1px solid #ece3e1;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(43, 35, 38, 0.05);
}

.bb-auth-card .woocommerce-form {
	min-height: 0 !important; /* Botiga equalises login/register form heights (503px) */
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.bb-auth-card .form-row {
	margin-bottom: 14px !important;
}

.bb-auth-card input.input-text {
	width: 100%;
	min-height: 46px;
}

.bb-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 22px;
	padding: 4px;
	border-radius: 999px;
	background: #f5eeec;
}

.bb-auth-tabs a {
	padding: 10px 12px;
	border-radius: 999px;
	color: #6f6266;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
}

.bb-auth-tabs a[aria-selected="true"] {
	background: #fff;
	color: #2b2326;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(43, 35, 38, 0.08);
}

.bb-auth-switch,
.bb-auth-note {
	margin: 12px 0 0;
	color: #7a6c70;
	font-size: 14px;
}

.bb-auth-card .lost_password {
	margin: 4px 0 0;
	font-size: 14px;
}

.bb-auth-card--promo {
	background: linear-gradient(160deg, #fbf1ef 0%, #fff 70%);
}

.bb-auth-card--b2b {
	background: linear-gradient(160deg, #f4efe9 0%, #fff 70%);
}

.bb-auth-card__eyebrow {
	margin: 0 0 8px;
	color: #b85c6b;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bb-auth-card__title {
	margin: 0 0 16px !important;
	font-size: 20px !important;
	line-height: 1.35 !important;
}

.bb-auth-card__list {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	font-size: 15px;
	line-height: 1.5;
}

.bb-auth-card__list li {
	position: relative;
	margin: 0 0 12px;
	padding-left: 26px;
}

.bb-auth-card__list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #b85c6b;
	font-weight: 700;
}

.bb-auth-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	margin-top: auto;
}

.bb-auth-card__more {
	font-size: 14px;
}

@media (max-width: 991px) {
	#customer_login.bb-auth-grid {
		grid-template-columns: 1fr;
		max-width: 560px;
	}
}

/* Registration: details for automatic checkout fill */
.bb-register-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 12px;
}

.bb-register-fields .form-row-wide {
	grid-column: 1 / -1;
}

.bb-register-fields .form-row {
	width: auto !important;
	float: none !important;
	margin-right: 0 !important;
}

.bb-register-fields select {
	width: 100%;
	min-height: 46px;
	padding: 8px 10px;
}

/* Social login (Nextend) */
.bb-auth-social .nsl-container {
	margin: 0 !important;
	padding: 0 !important;
}

.bb-auth-social .nsl-container-buttons {
	display: grid !important;
	gap: 10px;
	padding: 0 !important;
}

.bb-auth-social .nsl-container-buttons a {
	margin: 0 !important;
}

.bb-auth-social .nsl-button {
	border-radius: 999px !important;
	box-shadow: none !important;
}

.bb-auth-or {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 16px 0 18px;
	color: #9a8c90;
	font-size: 13px;
}

.bb-auth-or::before,
.bb-auth-or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #ece3e1;
}
