/**
 * Group Buy storefront styles (legacy product-page-group CSS)
 * scoped to the new [wb_product_page] root.
 */

.wb-product-page #clockdiv {
	font-family: sans-serif;
	color: #000;
	display: inline-block;
	font-weight: 100;
	text-align: center;
	font-size: 30px;
	margin-top: 15px;
}

.wb-product-page #clockdiv > div {
	padding: 0;
	border-radius: 3px;
	background: #e5e5e5;
	display: inline-block;
}

.wb-product-page #clockdiv div > span {
	padding-top: 10px;
	border-radius: 3px;
	background: #cecece;
	font-weight: normal;
	font-size: 16px;
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 27px;
}

.wb-product-page .smalltext {
	padding-top: 2px;
	font-size: 12px;
}

.wb-product-page .time_colon {
	vertical-align: top;
	font-size: 25px;
	margin-top: 5px;
	width: 10px;
}

.wb-product-page .create_group {
	text-transform: uppercase !important;
	font-weight: 600 !important;
}

.wb-product-page .group_buy_box,
.wb-product-page .group_buy_box div {
	background-color: #e5e5e5;
}

.wb-product-page .group_buy_box {
	padding: 10px;
	margin-top: 15px;
	margin-bottom: 24px;
	font-size: 16px;
}

.wb-product-page .info_paragraph {
	margin-top: 4px;
}

.wb-product-page .field_label_width {
	display: inline-block;
	width: 330px;
}

.wb-product-page .groups_section {
	margin-left: 15px;
	margin-right: 15px;
}

.wb-product-page progress {
	width: 24%;
	height: 10px;
	accent-color: #92d6f8;
}

.wb-product-page .single_group h4 {
	font-size: 16px;
	font-weight: 700;
	color: black;
	margin-bottom: 0;
}

.wb-product-page .single_group p {
	margin-bottom: 0;
}

.wb-product-page .single_group table td,
.wb-product-page .single_group table {
	border: none;
	padding: 0;
}

.wb-product-page .single_group .svg-inline--fa {
	font-size: 40px;
}

.wb-product-page .user_icon {
	display: inline-block;
	transform: scale(1.2);
}

.wb-product-page .user_icon i {
	display: inline-block;
	height: 32px;
	width: 32px;
	text-align: center;
	border-radius: 50%;
	background-color: white;
	color: #92d6f8;
	font-size: 12px;
	font-style: normal;
	vertical-align: middle;
	border: 1.5px solid #92d6f8;
	font-weight: 600;
}

.wb-product-page .info_paragraph .svg-inline--fa {
	vertical-align: bottom !important;
}

.wb-product-page .join_and_buy_button {
	border-radius: 37px;
	margin-top: 10px;
}

.wb-product-page .single_group progress {
	margin-top: 16px;
}

.wb-product-page .group_buy_section {
	background-color: #e5e5e5;
	padding-bottom: 10px;
}

.wb-product-page .share-icon {
	padding-left: 10px;
	display: none;
}

.wb-product-page table .share-icon {
	padding-left: 0;
}

.wb-product-page .popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 999;
	justify-content: center;
	align-items: center;
}

.wb-product-page .popup-overlay.sharing_popup.open {
	display: flex;
}

.wb-product-page .popup-box {
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	width: 300px;
	text-align: center;
	position: relative;
}

.wb-product-page .close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 18px;
	cursor: pointer;
	color: #000;
}

.wb-product-page .social-sharing-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 300px;
	margin: 20px auto;
}

.wb-product-page .social-sharing-buttons .btn {
	flex: 1 1 45%;
	display: flex;
	align-items: center;
	text-align: left;
	text-decoration: none;
	color: white;
	border-radius: 5px;
	font-size: 16px;
	position: relative;
	overflow: hidden;
	font-weight: bold;
	height: 40px;
	padding-right: 10px;
}

.wb-product-page .icon-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.2);
	width: 50px;
	height: 100%;
	margin-right: 6px;
}

.wb-product-page .social-sharing-buttons .btn i {
	font-size: 18px;
	color: white;
}

.wb-product-page .facebook {
	background-color: #3b5998;
}

.wb-product-page .twitter {
	background-color: #1da1f2;
}

.wb-product-page .linkedin {
	background-color: #0077b5;
}

.wb-product-page .email {
	background-color: #4f4f4f;
}

.wb-product-page .social-sharing-buttons .btn:hover {
	opacity: 0.8;
}

.wb-product-page #sign_in_box_id {
	border: none;
	box-shadow: none;
}

.wb-product-page .main_page_group_buy_box .info_paragraph {
	font-weight: bold;
}

.wb-product-page .main_page_group_buy_box .info_paragraph .field_label_width {
	font-weight: normal !important;
}

.wb-product-page .main_page_group_buy_box .create_group {
	font-weight: 700 !important;
	font-size: 16px;
}

.wb-product-page .inverted_button {
	float: right;
	border-radius: 0.25rem !important;
	text-transform: none !important;
	padding: 0.375rem;
	font-weight: normal;
	color: #000000 !important;
	background-color: white !important;
	border: 1px solid #a7a7a7 !important;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: inline-block;
	width: auto;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 2px;
	padding: 8px 15px;
	color: white;
	letter-spacing: .08em;
	white-space: normal;
	font-size: 14px;
}

body.wb-pp-create-group-open {
	overflow: hidden;
}

.wb-product-page .wb-pp-create-group-modal {
	display: none;
	z-index: 9990;
}

.wb-product-page .wb-pp-create-group-modal.open {
	display: flex;
}

.wb-product-page .wb-pp-create-group-modal-box {
	width: min(920px, 94vw);
	max-height: 90vh;
	overflow-y: auto;
	text-align: left;
	padding: 28px 24px 24px;
}

.wb-product-page .wb-pp-create-group-modal-box .close-btn {
	background: none;
	border: none;
	line-height: 1;
}

.wb-product-page .create_group_header {
	font-size: 18px;
	color: #000;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 12px;
}

.wb-product-page .wb_gf_label {
	font-weight: 600;
	font-size: 14px;
}

.wb-product-page .gfield_required {
	color: #c00;
	margin-left: 2px;
}

.wb-product-page .add_members_button {
	display: inline-block;
	background-color: #e5e5e5;
	color: black;
	font-size: 16px;
	padding: 5px 10px;
	margin-top: 10px;
	margin-bottom: 8px;
	cursor: pointer;
}

.wb-product-page .added_emails {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wb-product-page .added_email {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 13px;
}

.wb-product-page .remove_member {
	border: none;
	background: none;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	padding: 0;
	color: #666;
}

.wb-product-page .wb-pp-create-group-error {
	color: #b42318;
	font-size: 14px;
	margin: 0 0 8px;
}

.wb-product-page .wb-pp-create-group-modal .continue_button {
	width: auto;
	min-width: 220px;
}

.wb-product-page .wb-pp-create-group-modal .field_label_width {
	width: auto;
	min-width: 180px;
	margin-right: 8px;
}

.wb-product-page .wb-pp-drawer-students {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--border-soft, #e6e6e6);
}

.wb-product-page .wb-pp-drawer-students-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: var(--navy, #12344d);
}

/* Group Buy modal popup (from group_buy_css.css) */
.wb-product-page .required_section input,
.wb-product-page .required_section select {
	border-radius: 4px;
	padding: 0.375rem 0.75rem !important;
	background-color: #fff;
	color: black;
	border: 1px solid black;
}

.wb-product-page .required_section input:focus {
	box-sizing: border-box;
}

.wb-product-page .required_section input[type="radio"] {
	margin-left: 4px;
}

.wb-product-page .dialog-lightbox-close-button {
	color: black !important;
}

.wb-product-page input[type="text"]:focus {
	border: 2px solid black !important;
}

.wb-product-page .purchase_summary {
	border: 1px solid #ddd;
	padding: 10px;
	margin-bottom: 24px;
}

.wb-product-page .create_group_table,
.wb-product-page .create_group_table td {
	border: 1px solid #fff;
}

.wb-product-page .create_group_left {
	width: 58.33333333%;
	padding: 0 !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

.wb-product-page .create_group_right {
	width: 41.66666667%;
	padding: 0 !important;
}

.wb-product-page .create_group_left .wb_gf_label {
	font-weight: normal;
}

.wb-product-page .create_group_right .group_buy_box {
	margin-top: 0;
}

.wb-product-page .field_label_width2 {
	display: inline-block;
	width: 200px;
}

.wb-product-page .create_group_buy_button {
	border-radius: 37px;
}

.wb-product-page[data-group-buy-active="1"] #wb-pp-drawer-students .option_sub_text,
.wb-product-page[data-gb-checkout="1"] #wb-pp-drawer-students .option_sub_text {
	display: none;
}

/* —— Workshop Group Buy register panel (mockup) —— */
.wb-product-page[data-workshop-gb="1"] {
	--navy: #00134f;
	--mint: #32d69f;
	--mint-deep: #1fb882;
	--ink: #0a0a0a;
	--muted: #5a6170;
	--line: #e4e7ec;
	--panel: #f7f8fa;
}

.wb-product-page .register-panel {
	position: sticky;
	top: 20px;
	background: #fff;
	border: 1px solid var(--line, #e4e7ec);
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(0, 19, 79, 0.08);
	overflow: hidden;
}

.wb-product-page .register-panel__header {
	padding: 22px 24px 18px;
	background: linear-gradient(180deg, #f3fbf8 0%, #fff 100%);
	border-bottom: 1px solid var(--line, #e4e7ec);
}

.wb-product-page .register-panel__kicker {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mint-deep, #1fb882);
}

.wb-product-page .register-panel__session {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.wb-product-page .register-panel__date {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--navy, #00134f);
	line-height: 1.25;
}

.wb-product-page .register-panel__time {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--muted, #5a6170);
	font-weight: 500;
}

.wb-product-page .register-panel__price {
	text-align: right;
	flex-shrink: 0;
}

.wb-product-page .register-panel__amount {
	display: block;
	font-size: 28px;
	font-weight: 700;
	color: var(--navy, #00134f);
	line-height: 1;
}

.wb-product-page .register-panel__per {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--muted, #5a6170);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wb-product-page .register-panel__body {
	padding: 20px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.wb-product-page .panel-block__label {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--navy, #00134f);
}

.wb-product-page .date-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wb-product-page .date-list.is-collapsed .date-option:nth-child(n + 6) {
	display: none;
}

.wb-product-page .date-option,
.wb-product-page .date-option.gchoice {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 12px;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid var(--line, #e4e7ec);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	line-height: 1.5;
}

.wb-product-page .date-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.wb-product-page .date-option:hover {
	border-color: #b8c0cc;
}

.wb-product-page .date-option.selected {
	border-color: var(--mint, #32d69f);
	background: #f2fcf8;
	box-shadow: inset 0 0 0 1px var(--mint, #32d69f);
}

.wb-product-page .date-option__radio {
	width: 18px;
	height: 18px;
	border: 2px solid #b0b7c3;
	border-radius: 50%;
	display: grid;
	place-items: center;
}

.wb-product-page .date-option.selected .date-option__radio {
	border-color: var(--mint-deep, #1fb882);
}

.wb-product-page .date-option.selected .date-option__radio::after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mint-deep, #1fb882);
}

.wb-product-page .date-option__day {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--navy, #00134f);
}

.wb-product-page .date-option__meta {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: var(--muted, #5a6170);
}

.wb-product-page .date-option__tag {
	font-size: 11px;
	font-weight: 700;
	color: var(--mint-deep, #1fb882);
	background: #e7f9f1;
	padding: 4px 8px;
	border-radius: 999px;
	visibility: hidden;
}

.wb-product-page .date-option.selected .date-option__tag {
	visibility: visible;
}

.wb-product-page .date-more {
	appearance: none;
	border: 0;
	background: transparent;
	color: #0f729f;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 8px 4px 0;
	text-align: left;
}

.wb-product-page .date-more:hover {
	color: #f969a4;
}

.wb-product-page .terms-strip {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.wb-product-page .term-card {
	padding: 14px;
	border-radius: 12px;
	background: var(--panel, #f7f8fa);
	border: 1px solid var(--line, #e4e7ec);
}

.wb-product-page .term-card__label {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted, #5a6170);
}

.wb-product-page .term-card__value {
	margin: 6px 0 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--navy, #00134f);
}

.wb-product-page .term-card__suffix {
	font-size: 14px;
	font-weight: 600;
	color: var(--muted, #5a6170);
}

.wb-product-page .trust-line {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--muted, #5a6170);
}

.wb-product-page .cta-stack .btn-primary,
.wb-product-page .register-panel .create_group {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 15px 18px;
	background: var(--mint, #32d69f);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	width: 100%;
}

.wb-product-page .cta-stack .btn-primary:hover,
.wb-product-page .register-panel .create_group:hover {
	background: var(--mint-deep, #1fb882);
}

.wb-product-page .groups-block__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.wb-product-page .groups-block__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--navy, #00134f);
}

.wb-product-page .groups-block__count {
	font-size: 13px;
	font-weight: 600;
	color: var(--muted, #5a6170);
}

.wb-product-page .group-card {
	padding: 16px;
	border: 1px solid var(--line, #e4e7ec);
	border-radius: 12px;
	background: #fff;
	margin-bottom: 10px;
}

.wb-product-page .group-card:last-child {
	margin-bottom: 0;
}

.wb-product-page .group-card__top {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
}

.wb-product-page .avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #eaf7ff;
	border: 1.5px solid #92d6f8;
	color: #2a7aa8;
	font-size: 12px;
	font-weight: 700;
}

.wb-product-page .group-card__name {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--ink, #0a0a0a);
}

.wb-product-page .group-card__by {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--muted, #5a6170);
}

.wb-product-page .group-card__when {
	margin: 10px 0 0;
	padding: 8px 10px;
	border-radius: 8px;
	background: var(--panel, #f7f8fa);
	font-size: 13px;
	font-weight: 600;
	color: var(--navy, #00134f);
}

.wb-product-page .seats {
	margin-top: 12px;
}

.wb-product-page .seats__row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted, #5a6170);
	margin-bottom: 6px;
}

.wb-product-page .seats__bar {
	display: flex;
	gap: 4px;
}

.wb-product-page .seats__pip {
	flex: 1;
	height: 8px;
	border-radius: 999px;
	background: #e6e9ef;
}

.wb-product-page .seats__pip.is-filled {
	background: #92d6f8;
}

.wb-product-page .group-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.wb-product-page .btn-join,
.wb-product-page .group-card .join_and_buy_button {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 10px 16px;
	background: var(--navy, #00134f);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.wb-product-page .group-card .share-icon {
	appearance: none;
	border: 0;
	background: transparent;
	color: #0f729f;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 10px 4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wb-product-page .empty-state {
	padding: 16px;
	border-radius: 12px;
	background: var(--panel, #f7f8fa);
	color: var(--muted, #5a6170);
	font-size: 14px;
}

.wb-product-page .empty-state p {
	margin: 0;
}

@media (max-width: 900px) {
	.wb-product-page .register-panel {
		position: static;
	}
}
