/**
 * Shop homepage — dark Groups-style surface.
 */

body.gpbid-discover-home,
body.gpbid-shop-home {
	background: #0f0f0f;
}

body.gpbid-discover-home .site-content,
body.gpbid-discover-home #content,
body.gpbid-discover-home .content-area,
body.gpbid-discover-home .site-main {
	background: #0f0f0f;
	max-width: none;
}

/* Shell: homepage is Shop — hide Live/Groups/Shop subnav (bottom nav covers it). */
body.gpbid-app-shell--home .gpbid-shell-subnav {
	display: none !important;
}

body.gpbid-app-shell--home .gpbid-shell-main--home {
	padding: 0 0 24px;
}

.gpbid-sh {
	max-width: 720px;
	margin: 0 auto;
	padding: 8px 16px 40px;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gpbid-sh-top__row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.gpbid-sh-top__title {
	flex: 1;
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.gpbid-sh-top__icon {
	position: relative;
	color: #fff;
	text-decoration: none;
	padding: 6px;
}

.gpbid-sh-top__cart em {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #f5c518;
	color: #111;
	font-size: 10px;
	font-weight: 800;
	line-height: 16px;
	text-align: center;
	font-style: normal;
}

.gpbid-sh-search {
	position: relative;
	margin: 0 0 12px;
}

.gpbid-sh-search__ico {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	font-size: 16px;
	pointer-events: none;
}

.gpbid-sh-search input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px 12px 36px;
	border: none;
	border-radius: 12px;
	background: #1e1e1e;
	color: #fff;
	font-size: 15px;
}

.gpbid-sh-search input::placeholder {
	color: #777;
}

.gpbid-sh-types {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 0 0 10px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.gpbid-sh-types::-webkit-scrollbar {
	display: none;
}

.gpbid-sh-type {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #1e1e1e;
	border: 1px solid #2a2a2a;
	color: #eee;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	font-family: inherit;
}

.gpbid-sh-type__ico {
	font-size: 12px;
	line-height: 1;
	opacity: 0.9;
}

.gpbid-sh-type.is-active {
	background: #f5c518;
	border-color: #f5c518;
	color: #111;
}

.gpbid-sh-chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 0 0 14px;
	scrollbar-width: none;
}

.gpbid-sh-chips::-webkit-scrollbar {
	display: none;
}

.gpbid-sh-chip {
	flex: 0 0 auto;
	padding: 7px 14px;
	border-radius: 999px;
	background: #2a2a2a;
	border: none;
	color: #ccc;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	font-family: inherit;
}

.gpbid-sh-chip.is-active {
	background: #f5c518;
	color: #111;
}

.gpbid-sh-filter-empty {
	margin: 0 0 16px;
	padding: 16px;
	border-radius: 12px;
	background: #1a1a1a;
	color: #999;
	text-align: center;
	font-size: 14px;
}

.gpbid-sh-filter-empty[hidden] {
	display: none !important;
}

.gpbid-sh-section {
	margin: 0 0 28px;
}

.gpbid-sh-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
}

.gpbid-sh-title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 6px;
}

.gpbid-sh-title__icon {
	color: #e53935;
}

.gpbid-sh-link {
	color: #f5c518;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.gpbid-sh-live {
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	border-radius: 18px;
	overflow: hidden;
}

.gpbid-sh-live--overlay .gpbid-sh-live__hero {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	min-height: 380px;
	max-height: 640px;
	background: #111;
	overflow: hidden;
}

/* Beat theme/Woo `img { max-width:100%; height:auto }` so cover fills the card. */
.gpbid-sh-live__bg {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	z-index: 0;
}

.gpbid-sh-live--overlay .gpbid-sh-live__hero video,
.gpbid-sh-live--overlay .gpbid-sh-live__hero .mejs-overlay,
.gpbid-sh-live--overlay .gpbid-sh-live__hero .mejs-overlay-play,
.gpbid-sh-live--overlay .gpbid-sh-live__hero .wp-video-shortcode {
	display: none !important;
}

.gpbid-sh-live__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 30%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 70%);
	pointer-events: none;
}

.gpbid-sh-live__badge {
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 3;
	background: #e53935;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	padding: 5px 10px;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.gpbid-sh-live__share {
	position: absolute;
	right: 12px;
	top: 12px;
	z-index: 3;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.gpbid-sh-live__share svg {
	display: block;
}

.gpbid-sh-live__seller {
	position: absolute;
	left: 12px;
	top: 48px;
	right: 96px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 8px;
	width: auto;
	max-width: calc(100% - 108px);
}

.gpbid-sh-live__av {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover !important;
	flex-shrink: 0;
	border: 2px solid rgba(255, 255, 255, 0.35);
}

.gpbid-sh-live__av--ph {
	display: inline-block;
	background: #333;
}

.gpbid-sh-live__seller-meta {
	flex: 0 1 auto;
	min-width: 0;
}

.gpbid-sh-live__seller-name {
	font-weight: 800;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.gpbid-sh-live__watchers {
	color: #ddd;
	font-size: 12px;
	margin-top: 1px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.gpbid-sh-live__follow {
	flex-shrink: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid #f5c518;
	color: #f5c518;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.gpbid-sh-live__follow.is-following {
	border-color: #666;
	color: #ccc;
}

.gpbid-sh-live__bottom {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 14px;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.gpbid-sh-live__info {
	flex: 1;
	min-width: 0;
}

.gpbid-sh-live__product {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

.gpbid-sh-live__stats {
	color: #ddd;
	font-size: 13px;
	margin-bottom: 8px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.gpbid-sh-live__price-row {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	flex-wrap: wrap;
}

.gpbid-sh-live__bid-block {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gpbid-sh-live__bid-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #bbb;
}

.gpbid-sh-live__price {
	font-size: 28px;
	font-weight: 800;
	color: #f5c518;
	line-height: 1;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.gpbid-sh-live__timer {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #ff5252;
	font-size: 14px;
	font-weight: 800;
	margin-bottom: 2px;
}

.gpbid-sh-live__timer.is-hidden {
	display: none;
}

.gpbid-sh-live__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.gpbid-sh-live__cta {
	display: inline-block;
	text-align: center;
	padding: 12px 16px;
	border-radius: 12px;
	background: #f5c518;
	color: #111 !important;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.gpbid-sh-live__heart {
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 12px;
	background: rgba(30, 30, 30, 0.85);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}

.gpbid-sh-live__heart.is-on {
	color: #ff4081;
}

.gpbid-sh-live-more {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	margin-top: 12px;
	scrollbar-width: none;
}

.gpbid-sh-live-mini {
	position: relative;
	flex: 0 0 140px;
	height: 100px;
	border-radius: 12px;
	overflow: hidden;
	background: #2a2a2a;
	text-decoration: none;
	color: #fff;
}

.gpbid-sh-live-mini img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	display: block;
}

.gpbid-sh-live-mini__badge {
	position: absolute;
	left: 8px;
	top: 8px;
	background: #e53935;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	padding: 3px 6px;
	border-radius: 6px;
}

.gpbid-sh-live-mini__name {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	font-size: 12px;
	font-weight: 700;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.gpbid-sh-next {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.gpbid-sh-next::-webkit-scrollbar {
	display: none;
}

.gpbid-sh-next-card {
	flex: 0 0 156px;
	border-radius: 14px;
	overflow: hidden;
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	text-decoration: none;
	color: #fff;
	display: flex;
	flex-direction: column;
}

.gpbid-sh-next-card__media {
	position: relative;
	aspect-ratio: 1;
	background: #2a2a2a;
}

.gpbid-sh-next-card__media img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	display: block;
}

.gpbid-sh-next-card__badge {
	position: absolute;
	left: 8px;
	top: 8px;
	z-index: 1;
	background: #f5c518;
	color: #111;
	font-size: 10px;
	font-weight: 800;
	padding: 3px 7px;
	border-radius: 6px;
}

.gpbid-sh-next-card__body {
	padding: 8px 10px 10px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.gpbid-sh-next-card__name {
	font-weight: 800;
	font-size: 13px;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gpbid-sh-next-card__vendor {
	color: #999;
	font-size: 11px;
}

.gpbid-sh-next-card__starts {
	color: #ccc;
	font-size: 12px;
	font-weight: 700;
}

.gpbid-sh-next-card__when {
	color: #ddd;
	font-size: 12px;
	font-weight: 600;
	margin-top: 2px;
}

.gpbid-sh-offer {
	display: flex;
	gap: 12px;
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 12px;
}

.gpbid-sh-offer[hidden],
.gpbid-sh-tile[hidden],
.gpbid-sh-next-card[hidden],
.gpbid-sh-live-mini[hidden],
.gpbid-sh-live[hidden],
.gpbid-sh-section[hidden] {
	display: none !important;
}

.gpbid-sh-offer__media {
	position: relative;
	flex: 0 0 120px;
	background: #2a2a2a;
	align-self: stretch;
}

.gpbid-sh-offer__media img {
	width: 100%;
	height: 100%;
	min-height: 120px;
	object-fit: cover;
	display: block;
}

.gpbid-sh-offer__body {
	flex: 1;
	padding: 12px 12px 12px 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.gpbid-sh-offer__name {
	font-weight: 800;
	font-size: 15px;
}

.gpbid-sh-offer__vendor {
	color: #999;
	font-size: 12px;
}

.gpbid-sh-offer__price {
	font-size: 20px;
	font-weight: 800;
	color: #f5c518;
	margin: 4px 0;
}

.gpbid-sh-offer__cta {
	display: inline-block;
	align-self: flex-start;
	padding: 8px 14px;
	border-radius: 999px;
	background: #f5c518;
	color: #111 !important;
	font-weight: 800;
	font-size: 13px;
	text-decoration: none;
}

.gpbid-sh-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.gpbid-sh-tile {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #fff;
	min-width: 0;
}

.gpbid-sh-tile__media {
	position: relative;
	aspect-ratio: 1;
	border-radius: 12px;
	overflow: hidden;
	background: #2a2a2a;
	margin-bottom: 6px;
}

.gpbid-sh-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gpbid-sh-tile__badge {
	position: absolute;
	left: 6px;
	top: 6px;
	background: rgba(0, 0, 0, 0.7);
	color: #f5c518;
	font-size: 9px;
	font-weight: 800;
	padding: 3px 6px;
	border-radius: 6px;
}

.gpbid-sh-tile__badge.is-sold {
	background: #2e7d32;
	color: #fff;
}

.gpbid-sh-tile__name {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gpbid-sh-tile__price {
	margin-top: 2px;
	font-size: 12px;
	font-weight: 800;
	color: #f5c518;
	line-height: 1.25;
}

.gpbid-sh-tile__price.is-current {
	color: #ff6b6b;
}

.gpbid-sh-empty {
	padding: 24px 16px;
	text-align: center;
	color: #999;
	background: #1a1a1a;
	border-radius: 14px;
	border: 1px solid #2a2a2a;
}

.gpbid-sh-empty__actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 14px;
	flex-wrap: wrap;
}

@media (min-width: 720px) {
	.gpbid-sh {
		padding: 12px 24px 48px;
	}

	.gpbid-sh-offer__media {
		flex-basis: 180px;
	}

	.gpbid-sh-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
	}
}

/* Heart + share overlay on Live / Up next / product cards */
.gpbid-sh-card-actions {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	display: flex;
	gap: 6px;
}

.gpbid-sh-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
	padding: 0;
	font-size: 16px;
	line-height: 1;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.gpbid-sh-icon-btn.is-on,
.gpbid-sh-heart.is-on {
	color: #f5c518;
	border-color: rgba(245, 197, 24, 0.45);
}

.gpbid-sh-live--overlay .gpbid-sh-card-actions {
	top: 12px;
	right: 12px;
}

.gpbid-sh-live-mini {
	position: relative;
}

.gpbid-sh-live-mini .gpbid-sh-card-actions {
	top: 6px;
	right: 6px;
}

.gpbid-sh-live-mini .gpbid-sh-icon-btn {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	font-size: 13px;
}

.gpbid-sh-next-card__media .gpbid-sh-card-actions {
	top: 8px;
	right: 8px;
}

.gpbid-sh-next-card__media .gpbid-sh-icon-btn {
	width: 28px;
	height: 28px;
	font-size: 13px;
}

.gpbid-sh-tile__media .gpbid-sh-card-actions,
.gpbid-sh-offer__media .gpbid-sh-card-actions {
	top: 6px;
	right: 6px;
}

.gpbid-sh-tile__media .gpbid-sh-icon-btn,
.gpbid-sh-offer__media .gpbid-sh-icon-btn {
	width: 28px;
	height: 28px;
	font-size: 13px;
}
