/* Bohemian 2026: single product page, measured from the Figma "Single Product" frame (1440 wide) */

/* ------------------------------------------------ layout: 589px gallery | hairline | summary */
.bl-pdp {
	background: var(--bl-bg);
	border-top: 1px solid var(--bl-line);
	border-bottom: 1px solid var(--bl-line);
}

/* WooCommerce floats .summary to 48% width; the column is full width here. */
body.woocommerce div.product .bl-pdp__sticky.summary {
	float: none;
	width: auto;
	margin: 0;
	clear: none;
}

.bl-pdp .pwb-single-product-brands {
	display: none;
}

@media (min-width: 960px) {
	.bl-pdp {
		display: grid;
		grid-template-columns: minmax(0, 40.9%) minmax(0, 1fr);
		align-items: start;
	}
	.bl-pdp__gallery {
		border-right: 1px solid var(--bl-line);
	}
	/* the column must be as tall as the gallery, or the sticky child has no room to travel */
	.bl-pdp__summary {
		align-self: stretch;
	}
	.bl-pdp__sticky {
		position: sticky;
		top: 0;
		max-height: 100vh;
		overflow-y: auto;
		scrollbar-width: none;
	}
	.bl-pdp__sticky::-webkit-scrollbar {
		display: none;
	}
	body.admin-bar .bl-pdp__sticky {
		top: 32px;
		max-height: calc(100vh - 32px);
	}}

/* summary column: 48px padding, 32px between blocks, accordion rows run edge to edge */
.bl-pdp__sticky {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 24px 0 0;
}

body.woocommerce div.product .bl-pdp__sticky > * {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 15px;
	padding-right: 15px;
	text-align: left;
}

@media (min-width: 960px) {
	.bl-pdp__sticky {
		padding-top: 48px;
	}
	body.woocommerce div.product .bl-pdp__sticky > * {
		padding-left: 48px;
		padding-right: 48px;
	}}

/* ------------------------------------------------ gallery */
.bl-gal {
	position: relative;
}

.bl-gal__track {
	display: flex;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.bl-gal__track::-webkit-scrollbar {
	display: none;
}

.bl-gal__item {
	flex: 0 0 100%;
	scroll-snap-align: start;
}

.bl-gal__link {
	display: block;
	aspect-ratio: 589 / 888;
	overflow: hidden;
	background: var(--bl-bg);
}

.bl-gal__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: multiply;
}

.bl-gal__nav,
.bl-gal__dots {
	display: none;
}

@media (max-width: 959px) {
	.bl-gal__dots {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 20px;
		display: flex;
		justify-content: center;
		gap: 12px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.bl-gal__dots li {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background: #fff;
		transition: background-color 0.2s ease-in-out;
	}
	.bl-gal__dots li.is-active {
		background: var(--bl-brand-3);
	}}

@media (min-width: 640px) and (max-width: 959px) {
	.bl-gal__nav {
		position: absolute;
		top: 50%;
		display: grid;
		place-items: center;
		width: 34px;
		height: 34px;
		margin-top: -17px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--bl-brand);
		cursor: pointer;
	}
	.bl-gal__nav--prev {
		left: 30px;
	}
	.bl-gal__nav--next {
		right: 30px;
	}}

@media (min-width: 960px) {
	.bl-gal__track {
		display: grid;
		overflow: visible;
		scroll-snap-type: none;
	}
	.bl-gal__link {
		cursor: zoom-in;
	}}

/* ------------------------------------------------ breadcrumb, title, excerpt, price */
.bl-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bl-crumbs li {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font: 400 12px/1 var(--bl-sans);
	letter-spacing: 0.96px;
	text-transform: uppercase;
}

.bl-crumbs li + li::before {
	content: '\2022';
	color: #b4b5ba;
}

.bl-crumbs a {
	color: #828282;
	transition: color 0.1s ease-in-out;
}

.bl-crumbs a:hover,
.bl-crumbs a:focus-visible {
	color: var(--bl-brand-2);
}

body.woocommerce div.product .bl-pdp__sticky .bl-pdp__title {
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	color: var(--bl-brand);
	font: 400 32px/1.3 var(--bl-serif);
	text-align: left;
}

body.woocommerce div.product .bl-pdp__sticky .bl-pdp__excerpt {
	max-width: 580px; /* 532px of text + the 48px padding */
	margin-top: -32px;
	color: var(--bl-brand-2);
	font: 400 14px/1.4 var(--bl-sans);
	text-align: left;
}

.bl-pdp__excerpt p {
	margin: 0;
}

.bl-pdp__price {
	display: block;
	text-align: left;
}

body.woocommerce div.product .bl-pdp__price p.price,
body.woocommerce div.product .bl-pdp__price .price {
	margin: 0;
	color: #2d2e33;
	font: 400 20px/1.3 var(--bl-serif);
	letter-spacing: 0;
	text-transform: none;
}

.bl-pdp__price .price del {
	opacity: 0.5;
}

.bl-pdp__price .price ins {
	background: none;
	text-decoration: none;
}

/* ------------------------------------------------ related / complete the look: title + flush band of cards */
.bl-related {
	padding: 32px 0 0;
	background: var(--bl-bg);
}

.bl-related .bl-h {
	margin: 0 0 16px;
	padding: 0 15px;
	color: var(--bl-brand);
	font: 400 24px/1.3 var(--bl-serif);
	text-align: left;
}

@media (min-width: 960px) {
	.bl-related .bl-h {
		padding: 0 32px;
	}}

.bl-related__slider {
	border-top: 1px solid var(--bl-line);
	border-bottom: 1px solid var(--bl-line);
}

.bl-related__slider .bl-slider__track {
	margin: 0;
}

.bl-related__item {
	flex: 0 0 min(300px, 62vw);
	padding: 0 16px;
	border-left: 1px solid var(--bl-line);
	scroll-snap-align: start;
}

.bl-related__item:first-child {
	margin-left: 15px;
}

@media (min-width: 768px) {
	.bl-related__item {
		flex-basis: 25%;
	}
	.bl-related__item:first-child {
		margin-left: 28px;
	}}

@media (min-width: 1600px) {
	.bl-related__item {
		flex-basis: 20%;
	}}

body .bl-related .bl-pcard {
	padding: 16px 0;
	box-shadow: none;
}

.bl-dialog {
	width: min(640px, calc(100vw - 32px));
	max-height: calc(100vh - 64px);
	padding: 0;
	border: 0;
	background: var(--bl-card-bg);
	color: var(--bl-ink);
}

.bl-dialog::backdrop {
	background: rgba(40, 40, 40, 0.45);
}

.bl-dialog__in {
	position: relative;
	padding: 32px 24px 28px;
	overflow-y: auto;
	max-height: calc(100vh - 64px);
}

.bl-dialog__title {
	margin: 0 0 16px;
	color: var(--bl-brand);
	font: 400 24px/31px var(--bl-serif);
}

.bl-dialog__body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.bl-dialog__body th,
.bl-dialog__body td {
	padding: 8px 6px;
	border-bottom: 1px solid var(--bl-brand-hover);
	text-align: left;
}

.bl-dialog__body img {
	display: block;
	max-width: 100%;
	height: auto;
}

.bl-dialog__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: var(--bl-brand);
	cursor: pointer;
}

/* old product copy carries centred paragraphs; the Figma column is left aligned */
.bl-pdp__excerpt,
.bl-pdp__excerpt * {
	text-align: left !important;
}

/* ================================================ buy box */
.bl-pdp__pricerow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}

body.woocommerce div.product .bl-pdp__price p.price,
body.woocommerce div.product .bl-pdp__price .price {
	color: var(--bl-brand);
	font: 400 26px/1.2 var(--bl-serif);
}

/* loyalty pill (the button version opens the quick login) */
.bl-pts {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 9px 16px;
	border: 1px solid var(--bl-line);
	border-radius: 9999px;
	background: transparent;
	color: var(--bl-brand);
	font: 400 11.5px/1 var(--bl-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bl-pts u {
	color: var(--bl-brand-2);
	text-underline-offset: 3px;
}

.bl-pts--login {
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bl-pts--login:hover {
	border-color: var(--bl-brand-3);
	background: var(--bl-brand-hover);
}

.bl-pts__moon {
	width: 8px;
	height: 10px;
	background: var(--bl-brand-2);
	-webkit-mask: url('../img/moon.svg') center / contain no-repeat;
	mask: url('../img/moon.svg') center / contain no-repeat;
}

.bl-pdp__atc {
	position: relative;
}

body .bl-pdp__atc form.cart {
	margin: 0;
}

/* ---- one block per attribute: LABEL: value, then the options */
body.woocommerce div.product .bl-pdp__atc form.cart table.variations {
	width: 100%;
	margin: 0 0 20px;
	border: 0;
	border-collapse: collapse;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations tbody,
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr,
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th,
body.woocommerce div.product .bl-pdp__atc form.cart table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	row-gap: 12px;
	padding: 0;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr + tr {
	margin-top: 24px;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label {
	grid-column: 1;
	margin: 0;
	padding: 0 !important;
	color: var(--bl-brand-2);
	font: 400 11.5px/1.3 var(--bl-sans) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label label {
	display: inline;
	margin: 0;
	padding: 0 !important;
	color: inherit;
	font: inherit !important;
	letter-spacing: inherit;
}

body.woocommerce div.product .bl-pdp__atc .woo-selected-variation-item-name {
	color: var(--bl-ink);
	font: 400 13px/1.3 var(--bl-sans);
	letter-spacing: 0.02em;
	text-transform: none;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations td.value {
	grid-column: 1 / -1;
	grid-row: 2;
	position: relative;
	padding: 0 !important;
}

body .bl-pdp__atc ul.variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* colour swatches: 30px discs, a thin ring around the chosen one */
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item {
	position: relative;
	width: 30px;
	height: 30px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	background: transparent;
	cursor: pointer;
}

body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item::after {
	content: '';
	position: absolute;
	inset: -5px;
	border: 1px solid transparent;
	border-radius: 50%;
	transition: border-color 0.2s ease;
	pointer-events: none;
}

body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item:hover::after {
	border-color: var(--bl-brand-3);
}

body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item.selected::after {
	border-color: var(--bl-brand);
}

body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item .variable-item-contents,
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item .variable-item-span {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(79, 64, 34, 0.14);
}

ul.variable-items-wrapper .variable-item-tooltip,
ul.variable-items-wrapper li.variable-item::before {
	display: none !important;
}

/* sizes and other text options: soft pills, chosen one filled */
body .bl-pdp__atc ul.button-variable-items-wrapper {
	gap: 8px;
}

body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 48px;
	height: 42px;
	margin: 0;
	padding: 0 18px !important;
	border: 1px solid var(--bl-brand-3) !important;
	border-radius: 9999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--bl-brand);
	font: 400 13px/1 var(--bl-sans) !important;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item .variable-item-contents,
body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item .variable-item-span {
	display: inline;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	white-space: nowrap;
}

body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item:hover {
	border-color: var(--bl-btn-line) !important;
}

body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.selected {
	border-color: var(--bl-btn-line) !important;
	background: var(--bl-btn-bg) !important;
	color: var(--bl-brand);
}

body .bl-pdp__atc ul.variable-items-wrapper li.variable-item.disabled,
body .bl-pdp__atc ul.variable-items-wrapper li.variable-item.out-of-stock {
	opacity: 0.35;
}

body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.disabled .variable-item-span,
body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.out-of-stock .variable-item-span {
	text-decoration: line-through;
}

/* size guide sits in the label row, right edge (product.js moves it) */
.bl-sizeguide {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
}

.bl-sizeguide__open {
	padding: 0;
	border: 0;
	background: none;
	color: var(--bl-brand-2);
	font: 400 12px/1.3 var(--bl-sans);
	letter-spacing: 0.02em;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.bl-sizeguide__open:hover {
	color: var(--bl-brand);
}

/* "clear" only exists once something is chosen, and stays quiet */
body .bl-pdp__atc .reset_variations {
	display: none;
	margin-top: 10px;
	color: var(--bl-brand-2);
	font: 400 12px/1.3 var(--bl-sans);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body .bl-pdp__atc .reset_variations[style*='visibility: visible'] {
	display: inline-block;
}

/* stock note: quiet, with a small dot */
body .bl-pdp__atc .woocommerce-variation {
	margin: 0 0 16px;
}

body .bl-pdp__atc .woocommerce-variation-price,
body .bl-pdp__atc .woocommerce-variation-description {
	display: none;
}

body .bl-pdp__atc .stock {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	color: var(--bl-brand-2);
	font: 400 12.5px/1.3 var(--bl-sans);
	letter-spacing: 0.02em;
}

body .bl-pdp__atc .stock::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

body .bl-pdp__atc .stock.out-of-stock {
	color: #a24a3a;
}

/* quantity + add to cart: one row, 12px apart */
body .bl-pdp__atc .woocommerce-variation-add-to-cart,
body .bl-pdp__atc form.cart:not(.variations_form):not(.grouped_form):not(.bundle_form) {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
}

body .bl-pdp__atc form.cart:not(.variations_form):not(.grouped_form):not(.bundle_form) > * {
	min-width: 0;
}

body .bl-pdp__atc .quantity {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
	width: 116px;
	margin: 0;
	padding: 0 14px;
	height: 50px;
	border: 1px solid var(--bl-brand-3);
	border-radius: 9999px;
}

body.woocommerce div.product .bl-pdp__atc form.cart .quantity input.qty {
	width: 28px;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--bl-brand);
	font: 400 14px/1 var(--bl-sans);
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

body .bl-pdp__atc input.qty::-webkit-outer-spin-button,
body .bl-pdp__atc input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.bl-qtybtn {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--bl-brand);
	font: 400 17px/1 var(--bl-sans);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.bl-qtybtn:hover {
	background: var(--bl-brand-hover);
}

/* ================================================ accordion */
body.woocommerce div.product .bl-pdp__sticky > .bl-acc2 {
	margin-top: 4px;
	padding-left: 0;
	padding-right: 0;
	border-top: 1px solid var(--bl-line);
}

.bl-pdp__rule {
	display: none;
}

.bl-acc2 {
	interpolate-size: allow-keywords;
}

.bl-acc2__item {
	border-bottom: 1px solid var(--bl-line);
}

.bl-acc2__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 15px;
	color: var(--bl-brand);
	font: 400 12.5px/1.3 var(--bl-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

@media (min-width: 960px) {
	.bl-acc2__item summary {
		padding-left: 48px;
		padding-right: 48px;
	}}

.bl-acc2__item summary::-webkit-details-marker {
	display: none;
}

.bl-acc2__item summary:hover {
	color: var(--bl-brand-2);
}

.bl-acc2__item summary:focus-visible {
	outline: 1px solid var(--bl-brand-2);
	outline-offset: -4px;
}

.bl-acc2__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	border: 1px solid var(--bl-line);
	border-radius: 50%;
	color: var(--bl-brand-2);
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.bl-acc2__icon svg {
	width: 10px;
	height: 10px;
	overflow: visible;
}

.bl-acc2__icon .v {
	transform-origin: center;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.bl-acc2__item[open] .bl-acc2__icon {
	border-color: var(--bl-btn-line);
	background: var(--bl-btn-bg);
	color: var(--bl-brand);
}

.bl-acc2__item[open] .bl-acc2__icon .v {
	transform: scaleY(0);
	opacity: 0;
}

.bl-acc2__item::details-content {
	block-size: 0;
	overflow: clip;
	transition: block-size 0.35s ease, content-visibility 0.35s allow-discrete;
}

.bl-acc2__item[open]::details-content {
	block-size: auto;
}

.bl-acc2__body {
	padding: 2px 15px 30px;
	color: #3a3425;
	font: 400 14px/1.7 var(--bl-sans);
}

@media (min-width: 960px) {
	.bl-acc2__body {
		padding-left: 48px;
		padding-right: 48px;
	}}

.bl-acc2__body > :first-child {
	margin-top: 0;
}

.bl-acc2__body p {
	margin: 0 0 12px;
}

.bl-acc2__body h3 {
	margin: 24px 0 8px;
	padding-top: 20px;
	border-top: 1px solid var(--bl-line);
	color: var(--bl-brand);
	font: 400 20px/1.3 var(--bl-serif);
}

.bl-acc2__body h3:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.bl-acc2__body h4 {
	margin: 18px 0 6px;
	color: var(--bl-brand-2);
	font: 400 11.5px/1.3 var(--bl-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bl-acc2__body ul {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.bl-acc2__body li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 18px;
}

.bl-acc2__body li::before {
	content: '';
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--bl-brand-3);
}

.bl-acc2__body a {
	color: var(--bl-brand-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bl-acc2__body a.uk-button {
	display: inline-block;
	margin-top: 4px;
}

.bl-acc2__body strong,
.bl-acc2__body b {
	font-weight: 500;
	color: var(--bl-brand);
}

/* attributes: a quiet two-column list */
.bl-acc2__body table.woocommerce-product-attributes {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.bl-acc2__body table.woocommerce-product-attributes th,
.bl-acc2__body table.woocommerce-product-attributes td {
	padding: 11px 0;
	border: 0;
	border-bottom: 1px solid var(--bl-line);
	background: none;
	vertical-align: baseline;
	text-align: left;
}

.bl-acc2__body table.woocommerce-product-attributes tr:last-child th,
.bl-acc2__body table.woocommerce-product-attributes tr:last-child td {
	border-bottom: 0;
}

.bl-acc2__body table.woocommerce-product-attributes th {
	width: 38%;
	padding-right: 16px;
	color: var(--bl-brand-2);
	font: 400 11.5px/1.5 var(--bl-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bl-acc2__body table.woocommerce-product-attributes td,
.bl-acc2__body table.woocommerce-product-attributes td p {
	margin: 0;
	color: #3a3425;
	font: 400 14px/1.5 var(--bl-sans);
}

.bl-pdp__note {
	display: flex;
	gap: 12px;
	margin-top: 0;
	padding-top: 4px;
	padding-bottom: 8px;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--bl-brand-2);
	font: 400 12.5px/1.6 var(--bl-sans);
}

.bl-pdp__note p {
	margin: 0;
}

.bl-pdp__note-icon {
	flex: none;
	color: var(--bl-brand-2);
}

/* ================================================ lightbox */
.bl-lb {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	flex-direction: column;
	background: var(--bl-bg);
	color: var(--bl-brand);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.bl-lb.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s ease;
}

.bl-lb__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
}

.bl-lb__count {
	font: 400 12px/1 var(--bl-sans);
	letter-spacing: 0.08em;
}

.bl-lb__stage {
	position: relative;
	flex: 1 1 auto;
	display: grid;
	place-items: center;
	min-height: 0;
	overflow: hidden;
	cursor: zoom-in;
}

.bl-lb__stage.is-zoomed {
	cursor: zoom-out;
}

.bl-lb .bl-lb__img {
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 8px 84px;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.35s ease, opacity 0.25s ease;
	user-select: none;
	-webkit-user-drag: none;
}

.bl-lb__stage.is-zoomed .bl-lb__img {
	transform: scale(2.2);
}

.bl-lb__img.is-changing {
	opacity: 0;
}

.bl-lb__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--bl-line);
	border-radius: 50%;
	background: var(--bl-bg);
	color: var(--bl-brand);
	font: 400 20px/1 var(--bl-sans);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bl-lb__btn:hover,
.bl-lb__btn:focus-visible {
	border-color: var(--bl-btn-line);
	background: var(--bl-btn-bg);
	color: var(--bl-brand);
}

.bl-lb__prev,
.bl-lb__next {
	position: absolute;
	top: 50%;
	z-index: 2;
	margin-top: -22px;
}

.bl-lb__prev {
	left: 24px;
}

.bl-lb__next {
	right: 24px;
}

.bl-lb__thumbs {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px 22px;
	overflow-x: auto;
}

.bl-lb__thumb {
	flex: none;
	width: 56px;
	height: 70px;
	padding: 0;
	border: 1px solid transparent;
	background: none;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.bl-lb__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.bl-lb__thumb:hover,
.bl-lb__thumb.is-on {
	border-color: var(--bl-brand-3);
	opacity: 1;
}

@media (max-width: 767px) {
	.bl-lb .bl-lb__img {
		padding: 8px 12px;
	}
	.bl-lb__prev,
	.bl-lb__next {
		display: none;
	}
	.bl-lb__thumbs {
		padding: 10px 16px 18px;
	}}

.bl-gal__link {
	cursor: zoom-in;
}

/* details: compact, light, no zebra stripes */
.bl-acc2__body table.woocommerce-product-attributes tr,
.bl-acc2__body table.woocommerce-product-attributes tr:nth-child(even) th,
.bl-acc2__body table.woocommerce-product-attributes tr:nth-child(even) td,
.bl-acc2__body table.woocommerce-product-attributes tr:nth-child(odd) th,
.bl-acc2__body table.woocommerce-product-attributes tr:nth-child(odd) td {
	background: transparent !important;
}

.bl-acc2__body table.woocommerce-product-attributes th,
.bl-acc2__body table.woocommerce-product-attributes td {
	padding: 7px 0;
	font-weight: 400;
}

.bl-acc2__body table.woocommerce-product-attributes th {
	width: 34%;
	font-size: 10.5px;
	letter-spacing: 0.08em;
}

.bl-acc2__body table.woocommerce-product-attributes td,
.bl-acc2__body table.woocommerce-product-attributes td p {
	color: var(--bl-brand);
	font: 400 13px/1.45 var(--bl-sans);
}

.bl-acc2__body table.woocommerce-product-attributes tr + tr th,
.bl-acc2__body table.woocommerce-product-attributes tr + tr td {
	border-top: 0;
}

.bl-acc2__body table.woocommerce-product-attributes th,
.bl-acc2__body table.woocommerce-product-attributes td {
	border-bottom: 1px solid rgba(238, 230, 213, 0.7);
}


/* ---- contrast: chosen size pill, stock note, single-unit quantity */
body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.selected,
body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.selected .variable-item-contents,
body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.selected .variable-item-span {
	color: var(--bl-brand) !important;
}

body .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item:not(.selected) .variable-item-span {
	color: var(--bl-brand) !important;
}

body.woocommerce div.product .bl-pdp__atc p.stock,
body.woocommerce div.product .bl-pdp__atc .stock {
	color: #8a5a43;
	font-weight: 400;
}

body.woocommerce div.product .bl-pdp__atc p.stock.out-of-stock {
	color: #a24a3a;
}

body.woocommerce div.product .bl-pdp__atc .stock::before {
	background: #c9906f;
}

/* only one unit can be bought: no stepper, just the button */
body .bl-pdp__atc .quantity:has(> input[type='hidden']),
body .bl-pdp__atc .quantity.is-single {
	display: none;
}

body.woocommerce div.product .bl-pdp__atc form.cart .quantity.is-single,
body.woocommerce div.product .bl-pdp__atc form.cart .quantity:has(> input[type='hidden']) {
	display: none !important;
}

/* ---- WooCommerce calls jQuery .show() / .hide() on these blocks, which writes an inline display:block that
   breaks our flex layout (the stepper stacked vertically). The layout wins; an inline "none" is still honoured. */
body .bl-pdp__atc .quantity {
	display: inline-flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
}

body .bl-pdp__atc .woocommerce-variation-add-to-cart,
body .bl-pdp__atc form.cart:not(.variations_form):not(.grouped_form):not(.bundle_form) {
	display: flex !important;
}

body .bl-pdp__atc .quantity[style*='display: none'],
body .bl-pdp__atc .quantity.is-single,
body .bl-pdp__atc .quantity:has(> input[type='hidden']),
body .bl-pdp__atc .woocommerce-variation-add-to-cart[style*='display: none'] {
	display: none !important;
}

body .bl-pdp__atc .quantity .bl-qtybtn,
body .bl-pdp__atc .quantity input.qty {
	flex: none;
}

/* the earrings note sits on the same left edge as everything else, no box of its own */
body.woocommerce div.product .bl-pdp__sticky > .bl-pdp__note {
	padding-top: 4px;
	padding-bottom: 12px;
	border: 0;
	background: none;
}


/* ---- add-on choice (ring on scarves): same pill language as the size buttons */
.bl-addon {
	flex: 0 0 100%;
	width: 100%;
	order: -1;
	box-sizing: border-box;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.bl-addon__label {
	float: left;
	width: 100%;
	margin: 0 0 12px;
	padding: 0;
	color: var(--bl-brand-2);
	font: 400 11.5px/1.3 var(--bl-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bl-addon__list {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bl-addon__opt {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
}

.bl-addon__opt input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.bl-addon__txt {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 18px;
	border: 1px solid var(--bl-brand-3);
	border-radius: 9999px;
	color: var(--bl-brand);
	font: 400 13px/1 var(--bl-sans);
	letter-spacing: 0.02em;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bl-addon__fee {
	color: var(--bl-brand-2);
	font-size: 12px;
}

.bl-addon__opt:hover .bl-addon__txt {
	border-color: var(--bl-btn-line);
}

.bl-addon__opt input:checked + .bl-addon__txt {
	border-color: var(--bl-btn-line);
	background: var(--bl-btn-bg);
}

.bl-addon__opt input:focus-visible + .bl-addon__txt {
	outline: 2px solid var(--bl-brand-2);
	outline-offset: 2px;
}

body .bl-pdp__atc form.cart:has(> .bl-addon),
body .bl-pdp__atc .woocommerce-variation-add-to-cart:has(> .bl-addon) {
	flex-wrap: wrap !important;
}

body .bl-pdp__atc form.cart:has(> .bl-addon) > .single_add_to_cart_button,
body .bl-pdp__atc .woocommerce-variation-add-to-cart:has(> .bl-addon) > .single_add_to_cart_button {
	flex: 1 1 0;
}

/* WooCommerce's clearfix pseudo-elements become flex items and push the first control 12px in (the gap) */
body .bl-pdp__atc form.cart::before,
body .bl-pdp__atc form.cart::after,
body .bl-pdp__atc .woocommerce-variation-add-to-cart::before,
body .bl-pdp__atc .woocommerce-variation-add-to-cart::after {
	display: none !important;
	content: none !important;
}


/* ---- express pay: a divider, "Pay with", two quiet buttons with the logos (no border) */
.bl-express {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
	margin-left: 4px;
	padding-left: 16px;
	border-left: 1px solid var(--bl-line);
}

.bl-express__label {
	margin-right: 4px;
	color: var(--bl-brand-2);
	font: 400 12px/1.2 var(--bl-sans);
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.bl-express__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 92px;
	height: 50px;
	padding: 0 18px;
	border: 0;
	border-radius: 9999px;
	background: rgba(234, 226, 211, 0.5);
	color: var(--bl-brand-2);
	font: 500 14px/1 var(--bl-sans);
	letter-spacing: 0.01em;
	white-space: nowrap;
	cursor: default;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.bl-express__btn:hover {
	background: rgba(234, 226, 211, 0.85);
	color: var(--bl-brand);
}

.bl-express__logo {
	flex: none;
}

@media (max-width: 720px) {
	body .bl-pdp__atc form.cart:has(.bl-express),
	body .bl-pdp__atc .woocommerce-variation-add-to-cart:has(.bl-express) {
		flex-wrap: wrap !important;
	}
	.bl-express {
		flex: 1 1 100%;
		margin: 6px 0 0;
		padding: 14px 0 0;
		border-left: 0;
		border-top: 1px solid var(--bl-line);
	}
	.bl-express__btn {
		flex: 1;
	}
}

/* ---- express pay: no divider; the label is centred in the space between "add to cart" and the two buttons */
.bl-express {
	flex: 1.15 1 0;
	min-width: 0;
	margin-left: 0;
	padding-left: 0;
	border-left: 0;
}

.bl-express__label {
	flex: 1 1 auto;
	margin: 0;
	padding: 0 10px;
	text-align: center;
}

@media (max-width: 720px) {
	.bl-express {
		border-top: 0;
		margin-top: 8px;
		padding-top: 0;
	}
	.bl-express__label {
		flex: 0 0 auto;
		padding: 0 12px 0 0;
	}
}

/* ---- sizes: plain text on one line, the chosen one underlined (Figma): "Μέγεθος   XS  S  M  L  XL   Size Guide" */
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label {
	color: var(--bl-brand);
	font: 400 15px/1.3 var(--bl-sans) !important;
	letter-spacing: 0;
	text-transform: none;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) {
	grid-template-columns: auto minmax(0, 1fr) auto;
	column-gap: 40px;
	row-gap: 0;
	align-items: baseline;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) th.label {
	grid-column: 1;
	grid-row: 1;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) td.value {
	grid-column: 2;
	grid-row: 1;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) .bl-sizeguide {
	grid-column: 3;
	grid-row: 1;
}

body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) .woo-selected-variation-item-name {
	display: none;
}

body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 28px;
}

body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item {
	min-width: 0;
	height: auto;
	padding: 2px 0 3px !important;
	border: 0 !important;
	border-bottom: 1.5px solid transparent !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--bl-brand) !important;
	font: 400 16px/1.3 var(--bl-sans) !important;
	letter-spacing: 0;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item:hover {
	border-bottom-color: var(--bl-brand-3) !important;
}

body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.selected {
	border-bottom-color: var(--bl-brand) !important;
	background: none !important;
}

body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item .variable-item-span,
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item .variable-item-contents {
	color: inherit !important;
	font: inherit !important;
	white-space: nowrap;
}

body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.disabled,
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.out-of-stock {
	opacity: 0.4;
	text-decoration: line-through;
}

.bl-sizeguide__open {
	color: var(--bl-brand);
	font-size: 15px;
	text-decoration-color: var(--bl-brand);
}

/* express row must fit the form: the button shrinks, the pay buttons stay compact */
body .bl-pdp__atc .variations_button,
body .bl-pdp__atc form.cart:not(.variations_form) { flex-wrap: nowrap; }
body .bl-pdp__atc .single_add_to_cart_button { flex: 1.4 1 0; min-width: 0; }
.bl-express__btn { min-width: 84px; }
body .bl-pdp__atc .variations_button,
body .bl-pdp__atc form.cart:not(.variations_form) { flex-wrap: wrap; }
body .bl-pdp__atc .single_add_to_cart_button { flex: 1 1 200px; }
.bl-express { flex: 1 1 210px; justify-content: space-between; }

/* express row: compact, label hugs the buttons */
.bl-express { flex: 0 0 auto; justify-content: flex-start; gap: 8px; }
.bl-express__label { flex: none; padding: 0 4px 0 6px; }
.bl-pdp__atc .variations_button, .bl-pdp__atc form.cart:not(.variations_form) { gap: 10px; }

/* "Pay with" centred in its own slot: equal space to the add-to-cart button and to Apple Pay */
.bl-express__label { flex: 0 0 auto; width: 128px; padding: 0; text-align: center; }
.bl-pdp__atc .variations_button > :empty:not(.bl-express):not(input) { display: none; }
.bl-pdp__atc .wc-stripe-clear, .bl-pdp__atc .wc-stripe-product-checkout-container:empty { display: none; }
.bl-pdp__atc .variations_button > div:not(.bl-express):not(.quantity),
.bl-pdp__atc .variations_button > span:empty { display: none !important; }
.bl-pdp__atc .variations_button > .bl-express { display: flex !important; }
.bl-pdp__atc wc-order-attribution-inputs { display: none !important; }
.bl-express__label { margin-left: -2px; margin-right: 2px; }

/* ===== variations, rebuilt (Figma): "Color: Gold" + discs, then "Size   SMALL  MEDIUM   Size Guide" on one line ===== */
body.woocommerce div.product .bl-pdp__atc form.cart table.variations { margin: 0 0 22px; }
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr + tr { margin-top: 20px; }
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label,
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label label {
	color: var(--bl-brand);
	font: 400 15px/1.3 var(--bl-sans) !important;
	letter-spacing: 0;
	text-transform: none;
}
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label .woo-selected-variation-item-name { color: var(--bl-brand-3); }

/* colour row: label above, discs below */
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.color-variable-items-wrapper) { display: block; }
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.color-variable-items-wrapper) th.label { display: block; margin-bottom: 12px; }

/* size row: one baseline, label | sizes | guide */
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 38px;
}
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) th.label { flex: none; }
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) td.value { display: contents; }
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) .reset_variations { display: none !important; }
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) .bl-sizeguide { margin: 0 0 0 auto; }

body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper { flex: 0 1 auto; gap: 8px 30px; margin: 0; padding: 0; }
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item {
	font: 400 13px/1.4 var(--bl-sans) !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item::before,
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item::after,
body.woocommerce div.product .bl-pdp__atc ul.variable-items-wrapper li.variable-item[data-wvstooltip]::before,
body.woocommerce div.product .bl-pdp__atc ul.variable-items-wrapper li.variable-item[data-wvstooltip]::after { display: none !important; content: none !important; }
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item .variable-item-span { text-transform: uppercase; }

.bl-sizeguide__open {
	color: var(--bl-brand);
	font: 400 13px/1.4 var(--bl-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 1.5px;
}
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label .woo-selected-variation-item-name { color: color-mix(in srgb, var(--bl-brand) 62%, var(--bl-bg)); }

/* variation labels: quiet small caps, so the options (ink, larger) lead */
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label,
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label label {
	color: var(--bl-brand-3);
	font: 400 10.5px/1.3 var(--bl-sans) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label .woo-selected-variation-item-name {
	color: var(--bl-brand);
	letter-spacing: 0.08em;
}
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item {
	font-size: 14px !important;
	letter-spacing: 0.08em;
}
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) { gap: 8px 44px; }
.bl-sizeguide__open { font-size: 11px; letter-spacing: 0.08em; color: var(--bl-brand-3); text-underline-offset: 6px; }
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item { padding: 2px 0 4px !important; margin: 0 !important; width: auto !important; min-width: 0 !important; }
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item .variable-item-contents { padding: 0 !important; margin: 0 !important; width: auto !important; }
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item .variable-item-span { padding: 0 !important; display: inline !important; }

/* add-to-cart without a choice: the missing option is highlighted, no browser alert */
@keyframes bl-need { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
body.woocommerce div.product table.variations tr.bl-need { animation: bl-need 0.5s ease; }
body.woocommerce div.product table.variations tr.bl-need th.label,
body.woocommerce div.product table.variations tr.bl-need th.label label { color: #a4512f; }
body.woocommerce div.product table.variations tr.bl-need ul.variable-items-wrapper { outline: 1px solid #d9a58f; outline-offset: 8px; border-radius: 10px; background: rgba(217, 165, 143, 0.12); }

/* colour row, final: plain discs, ring on the chosen one, no tick, no clear link */
body .bl-pdp__atc ul.color-variable-items-wrapper { gap: 16px; padding: 6px 0 4px; }
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item.selected,
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item:hover { box-shadow: none !important; outline: 0 !important; }
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item .variable-item-contents::before,
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item .variable-item-contents::after,
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item .variable-item-span::before,
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item .variable-item-span::after { content: none !important; display: none !important; }
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item::after { inset: -5px; border-width: 1px; }
body .bl-pdp__atc ul.color-variable-items-wrapper li.variable-item.selected::after { border-color: var(--bl-brand) !important; }
body.woocommerce div.product .bl-pdp__atc form.cart table.variations .reset_variations { display: none !important; }
body.woocommerce div.product .bl-pdp__atc form.cart table.variations th.label .woo-selected-variation-item-name {
	margin-left: 10px;
	font: 400 13px/1.3 var(--bl-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bl-brand);
}

/* the photo always fills its frame (no bar of background under images with another ratio) */
.bl-gal__link { position: relative; }
.bl-gal__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
body .bl-gal__link > img.bl-gal__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }

/* lightbox: title and price on top, photo, add to cart below it, then the thumbnails */
.bl-lb__head { padding: 0 24px 10px; text-align: center; }
.bl-lb__title { margin: 0; color: var(--bl-brand); font: 400 22px/1.25 var(--bl-serif); }
.bl-lb__price { margin-top: 4px; color: var(--bl-brand-2, #8a6f4d); font: 400 15px/1.3 var(--bl-sans); }
.bl-lb__price .price { margin: 0; color: inherit; font: inherit; }
.bl-lb__foot { display: flex; justify-content: center; padding: 12px 24px 4px; }
.bl-lb__buy { width: 100%; max-width: 420px; min-height: 50px; }
.bl-lb__bar { padding-bottom: 8px; }
.bl-lb__thumbs { padding-top: 8px; }

/* white photo backdrops stay blended into the page (multiply), also on phones */
.bl-gal__link { background: none; }
body .bl-lb .bl-lb__buy {
	display: flex; align-items: center; justify-content: center;
	border: 1px solid #eae2d3; border-radius: 9999px;
	background: #eae2d3; color: var(--bl-btn-ink, #4f4022);
	font: 400 12.5px/1 var(--bl-sans); letter-spacing: 0.08em; text-transform: uppercase;
	cursor: pointer;
}
body .bl-lb .bl-lb__buy:hover { background: #e0d6c2; }

/* phone: the quantity + add to cart block and the pay row use the full width */
@media (max-width: 720px) {
	body .bl-pdp__atc .variations_button,
	body .bl-pdp__atc form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
	body .bl-pdp__atc .quantity { flex: 0 0 100%; width: 100%; }
	body .bl-pdp__atc .quantity .qty-wrap, body .bl-pdp__atc .quantity > * { max-width: 100%; }
	body .bl-pdp__atc .single_add_to_cart_button { flex: 1 1 100%; width: 100%; max-width: none; }
	body .bl-pdp__atc .bl-express { flex: 1 1 100%; width: 100%; justify-content: space-between; gap: 10px; }
	body .bl-pdp__atc .bl-express__label { flex: 0 0 auto; width: auto; margin: 0; padding: 0 4px 0 0; }
	body .bl-pdp__atc .bl-express__btn { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 720px) {
	body .bl-pdp__atc .single_add_to_cart_button { flex: 1 1 100% !important; width: 100% !important; max-width: none !important; }
}
@media (max-width: 720px) {
	/* fixed width from the first paint: the +/- buttons are added by JS a moment later and must not push the add button around */
	body .bl-pdp__atc .quantity { flex: 0 0 116px !important; width: 116px !important; box-sizing: border-box; }
	body .bl-pdp__atc .single_add_to_cart_button { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
	body .bl-pdp__atc .bl-express { flex: 1 1 100% !important; }
}

/* phone: one steady 3:4 frame, the whole photo inside it (nothing cropped) */
@media (max-width: 959px) {
	.bl-gal__track { align-items: stretch; }
	.bl-gal__link { aspect-ratio: 3 / 4; }
	body .bl-gal__link > img.bl-gal__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; }
}

/* every width: one steady 3:4 frame with the whole photo inside it (nothing cropped or enlarged, no gaps between photos) */
.bl-gal__track { align-items: start; }
.bl-gal__item { align-self: start; }
.bl-gal__link { aspect-ratio: 3 / 4; }
body .bl-gal__link > img.bl-gal__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; }

/* lightbox: add to cart is a quiet underlined line, not a filled button */
body .bl-lb .bl-lb__buy {
	width: auto; min-width: 0; min-height: 0; max-width: none;
	padding: 6px 2px 7px;
	border: 0 !important; border-bottom: 1px solid var(--bl-brand) !important; border-radius: 0 !important;
	background: none !important; color: var(--bl-brand) !important;
	font: 400 11.5px/1 var(--bl-sans); letter-spacing: 0.08em; text-transform: uppercase;
}
body .bl-lb .bl-lb__buy:hover { background: none !important; border-bottom-color: var(--bl-brand-2, #8a6f4d) !important; color: var(--bl-brand-2, #8a6f4d) !important; }
.bl-lb__foot { padding: 10px 24px 2px; }

/* desktop gallery: each photo runs the full width of its column (no side bars), at its own proportions */
@media (min-width: 960px) {
	body .bl-gal__link { aspect-ratio: auto; }
	body .bl-gal__link > img.bl-gal__img { position: static; display: block; width: 100% !important; height: auto !important; object-fit: fill; }
}
@media (min-width: 960px) {
	body .bl-gal__link > img.bl-gal__img { aspect-ratio: revert !important; }
}

/* other colours sold as separate products */
.bl-fam { margin: 18px 0 4px; }
.bl-fam__label { margin: 0 0 10px; color: var(--bl-brand-2, #856d3e); font: 400 12px/1 var(--bl-sans); letter-spacing: 0.08em; text-transform: uppercase; }
.bl-fam__label span { color: var(--bl-brand, #4f4022); }
.bl-fam__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bl-fam__item a { display: block; width: 60px; aspect-ratio: 1; padding: 6px; border: 1px solid rgba(206, 190, 160, .55); border-radius: 12px; background: var(--bl-bg, #f7f4ee); transition: border-color .25s ease, background-color .25s ease; }
.bl-fam__item.is-current a { border-color: var(--bl-brand-3, #cebea0); background: rgba(234, 226, 211, .7); box-shadow: inset 0 0 0 1px var(--bl-brand-3, #cebea0); }
.bl-fam__item.is-out .bl-fam__img { opacity: .45; }
.bl-fam__img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: darken; }
@media (hover: hover) { .bl-fam__item:not(.is-current) a:hover { border-color: var(--bl-brand-3, #cebea0); } }
@media (max-width: 560px) {
	.bl-fam__list { flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
	.bl-fam__list::-webkit-scrollbar { display: none; }
	.bl-fam__item { flex: none; }
	.bl-fam__item a { width: 52px; padding: 5px; }
}

/* size measurements: a quiet strip under the size picker, shown as soon as a size is chosen */
body .bl-sz {
	margin: 14px 0 16px;
	padding: 12px 0 13px;
	border-top: 1px solid var(--bl-line, #e6dcc8);
	border-bottom: 1px solid var(--bl-line, #e6dcc8);
	color: var(--bl-brand);
}
body .bl-sz.is-new { animation: blSz 0.4s ease both; }
body .bl-sz__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 9px;
	color: var(--bl-brand-2);
	font: 400 10.5px/1.2 var(--bl-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
body .bl-sz__head svg { flex: none; width: 16px; height: 16px; opacity: 0.75; }
body .bl-sz__rows {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 0;
	margin: 0;
}
body .bl-sz__rows > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 0 26px 0 0;
	margin: 0 26px 0 0;
	border-right: 1px solid var(--bl-line, #e6dcc8);
}
body .bl-sz__rows > div:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
body .bl-sz__rows dt { margin: 0; color: var(--bl-brand-2); font: 400 12px/1.2 var(--bl-sans); }
body .bl-sz__rows dd { margin: 0; font: 500 15px/1.2 var(--bl-sans); color: var(--bl-brand); letter-spacing: 0.01em; }
body .bl-sz p:not(.bl-sz__head) { margin: 6px 0 0; font: 400 13.5px/1.45 var(--bl-sans); color: var(--bl-brand-2); }
@keyframes blSz { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) {
	body .bl-sz__rows > div { padding-right: 18px; margin-right: 18px; }
}
@media (prefers-reduced-motion: reduce) { body .bl-sz.is-new { animation: none; } }

/* sizes: the same clean rounded box as the design / pattern choice (S, M, XL), the chosen one filled sand with a darker edge */
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper { gap: 10px; align-items: center; }
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 48px !important;
	height: 44px !important;
	padding: 0 14px !important;
	border: 1.5px solid #e6dcc8 !important;
	border-radius: 12px !important;
	background: transparent !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item:hover { border-color: var(--bl-brand-3) !important; }
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.selected {
	border-color: var(--bl-brand-3) !important;
	background: var(--bl-btn-bg, #ebe3d4) !important;
}
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.selected .variable-item-span,
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.selected .variable-item-contents,
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item .variable-item-span {
	border: 0 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.disabled,
body.woocommerce div.product .bl-pdp__atc ul.button-variable-items-wrapper li.variable-item.out-of-stock { opacity: 0.45; border-style: dashed !important; }
body.woocommerce div.product .bl-pdp__atc form.cart table.variations tr:has(ul.button-variable-items-wrapper) { align-items: center; }
