/* Equipsport Clubs v3 — club theming and moderation UI (on top of clubs.css + storefront.css). */

/* Club colours drive the store via --esc-primary / --esc-club-secondary. */
.esc-store-page--themed .esc-store-hero {
	background: linear-gradient(135deg, var(--esc-club-secondary, #1a1a1a) 0%, var(--esc-primary, #e85d04) 140%);
	background-size: cover;
	background-position: center;
	min-height: 220px;
}
.esc-store-page--themed .esc-store-hero.has-banner { min-height: 300px; }
.esc-store-page--themed .esc-store-hero.has-banner .esc-store-hero__overlay {
	background: linear-gradient(90deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .15) 70%);
}
.esc-store-page--themed .esc-store-topbar { border-bottom: 3px solid var(--esc-primary); }
.esc-store-page--themed .esc-badge { background: var(--esc-primary); color: #fff; }

.esc-store-infobar { background: var(--esc-club-secondary, #1a1a1a); color: #fff; font-size: 13px; }
.esc-store-infobar__inner { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.esc-store-infobar__item::before { content: "●"; color: var(--esc-primary); margin-right: 8px; }
.esc-store-infobar__item--closed::before, .esc-store-infobar__item--upcoming::before { color: #ffb4a2; }

.esc-store-gate {
	border: 1px solid var(--esc-primary);
	background: color-mix(in srgb, var(--esc-primary) 7%, #fff);
	border-radius: 12px;
	padding: 18px 20px;
	margin: 0 0 20px;
}
.esc-store-gate p { margin: 0 0 8px; }
.esc-store-gate__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0 !important; }
.esc-price--locked { font-size: 12px; color: #6b7280; font-weight: 500; }

.esc-store-card__bat {
	position: absolute; left: 10px; bottom: 10px; z-index: 2;
	font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; color: #fff;
}
.esc-store-card__bat--pending { background: #b26a00; }
.esc-store-card__bat--rejected { background: #c62828; }
.esc-store-card__img-wrap { position: relative; }

/* Flocage fields on the product page. */
.esc-flocage { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px 4px; margin: 0 0 16px; width: 100%; }
.esc-flocage legend { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; padding: 0 6px; }
.esc-flocage label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.esc-flocage input { width: 100%; max-width: 320px; }
.esc-flocage small { display: block; color: #6b7280; margin-top: 4px; }

/* Status + notices. */
.esc-status { display: inline-block; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin: 0 0 12px; }
.esc-status--pending { background: #fff4e5; color: #8a4b00; }
.esc-status--info { background: #e8f1ff; color: #1d4ed8; }
.esc-status--rejected { background: #fdecea; color: #b42318; }
.esc-reason { border-left: 4px solid #d1d5db; margin: 0 auto 16px; padding: 8px 14px; max-width: 560px; text-align: left; background: #fafafa; }
.esc-registration-logo { display: block; width: 88px; height: 88px; object-fit: contain; margin: 0 auto 12px; }
.esc-form--complement { max-width: 560px; margin: 0 auto; text-align: left; }
.esc-form__check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-top: 12px; }
.esc-notice { border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; font-size: 14px; }
.esc-notice--success { background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.esc-notice--error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.esc-notice--info { background: #eff8ff; color: #175cd3; border: 1px solid #b2ddff; }
.esc-notice ul { margin: 0; padding-left: 18px; }

/* My Account tables. */
.esc-member-decision { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.esc-member-decision input[type="text"] { min-width: 140px; }
.esc-club-orders td div + div { margin-top: 4px; }
