/**
 * Open bar – distillery product grid (per-package fieldsets, Swiper cells).
 * palette: theme.json
 */

.gw-ob-pg {
	--ob-pg-card-bg: #ffffff;
	--ob-pg-gold: var(--wp--preset--color--custom-color-500, #b48a4a);
	--ob-pg-name: #0d0d0d;
	--ob-pg-sub: #332e29;
	--ob-pg-category: #f8f4ee;
	--ob-pg-sans: var(--wp--preset--font-family--dm-sans, "DM Sans", sans-serif);
	--ob-pg-serif: var(--wp--preset--font-family--cormorant-garamond, "Cormorant Garamond", serif);
	box-sizing: border-box;
}

.gw-ob-pg__fieldset {
	border: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.gw-ob-pg__fieldset[hidden] {
	display: none !important;
}

.gw-ob-pg__fieldset:not(.is-active) {
	display: none;
}


.gw-ob-pg__col{
	display: flex;
	flex-direction: column;
	max-width: 380px;
	padding: 0;
	gap: 15px;
}

.gw-ob-pg__category-title {
	font-family: var(--ob-pg-serif);
	font-size: 20px;
	font-weight: lighter;
	color: var(--ob-pg-category);
	text-align: center;
	margin: 0;
	line-height: 1.2;
}

.gw-ob-pg__card {
	position: relative;
	background: var(--ob-pg-card-bg);
	border-radius: 12px;
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1/1;
	gap: 0;
	min-width: 0;
}

.gw-ob-pg__swiper.product_selector_carousel {
	margin: 0;
	overflow: hidden;
	flex: 1 1 auto;
	min-width: 0;
}

.gw-ob-pg__product-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.gw-ob-pg__bottle-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

.gw-ob-pg__bottle-media {
	width: 250px;
	height: 250px;
	max-width: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.gw-ob-pg__divider {
	width: 40px;
	height: 1px;
	background: var(--ob-pg-gold);
	margin: 0 auto;
}

p.gw-ob-pg__product-name {
	font-family: var(--ob-pg-serif);
	font-size: 16px;
	font-weight: 600;
	color: var(--ob-pg-name);
	margin: 0 0 5px 0;
	line-height: 1.2;
	text-align: center;
}

.gw-ob-pg__product-sub {
	font-family: var(--ob-pg-serif);
	font-size: 0.75rem;
	font-style: italic;
	color: var(--ob-pg-sub);
	margin: 0;
	line-height: 1.2;
}

/* Inline navigation arrows (siblings of the swiper inside the card). */
.product_card_slider_prev,
.product_card_slider_next {
	position: absolute;
	top: calc(50% - 15px);
	width: 30px;
	height: 30px;
	background-image: url(../../images/slider-nav-right.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	z-index: 10;
}
.product_card_slider_prev{
	left: 0;
	transform: scaleX(-1);
}
.product_card_slider_next{
	right: 0;
}

.product_card_slider_prev.swiper-button-disabled,
.product_card_slider_next.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

.gw-ob-pg__empty {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--ob-pg-sub);
	margin: 0;
	text-align: center;
}

@media (max-width: 575px) {
	.gw-ob-pg__card {
		padding: 20px 12px;
	}

	.gw-ob-pg__bottle-media {
		height: 220px;
	}

	.gw-ob-pg__nav.swiper-button-prev,
	.gw-ob-pg__nav.swiper-button-next {
		flex-basis: 24px;
		width: 24px;
		height: 24px;
	}

	.gw-ob-pg__nav::after {
		font-size: 1rem;
	}
	footer.wp-block-template-part .wp-block-site-logo{
		text-align: center;
	}
	.footer_text p{
		text-align: center;
	}
}
