/*
 * Stage61 final visual lock.
 * BloomChic supplies the PDP/footer layout rhythm and interaction model.
 * BeachNova keeps its own logo, product media, copy and commerce data.
 */

html body.single-product .bn-mobile-product-head {
	display: none !important;
}

@media (min-width: 901px) {
	html body.single-product .woocommerce div.product {
		grid-template-columns: minmax(0, 1.58fr) minmax(390px, .78fr) !important;
		gap: clamp(36px, 4.2vw, 72px) !important;
		max-width: 1440px !important;
		padding: 30px clamp(24px, 4vw, 64px) 70px !important;
	}

	html body.single-product .woocommerce-product-gallery__wrapper {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 4px !important;
		overflow: visible !important;
	}

	html body.single-product .woocommerce-product-gallery__image,
	html body.single-product .woocommerce-product-gallery__image a {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
	}

	html body.single-product .woocommerce-product-gallery__image img {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: .75 !important;
		object-fit: cover !important;
		object-position: center top !important;
	}

	html body.single-product .summary.entry-summary {
		position: sticky !important;
		top: 112px !important;
		align-self: start !important;
		padding: 0 !important;
	}

	html body.single-product .summary .product_title {
		font: 600 clamp(22px, 1.75vw, 30px)/1.24 Arial, sans-serif !important;
		letter-spacing: -.02em !important;
	}
}

@media (max-width: 900px) {
	html body.single-product .woocommerce div.product {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		padding: 0 !important;
	}

	html body.single-product .woocommerce-product-gallery {
		position: relative !important;
		order: 1 !important;
		width: 100% !important;
		margin: 0 !important;
		overflow: hidden !important;
		background: #f4f2ef !important;
	}

	html body.single-product .woocommerce-product-gallery__wrapper {
		display: flex !important;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: .75 !important;
		gap: 0 !important;
		margin: 0 !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-snap-type: x mandatory !important;
		scrollbar-width: none !important;
		touch-action: pan-x !important;
	}

	html body.single-product .woocommerce-product-gallery__wrapper::-webkit-scrollbar {
		display: none !important;
	}

	html body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper
		> .woocommerce-product-gallery__image,
	html body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper
		> .woocommerce-product-gallery__image:not(:first-child),
	html body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper
		> .woocommerce-product-gallery__image a {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		flex: 0 0 100% !important;
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		scroll-snap-align: start !important;
		scroll-snap-stop: always !important;
	}

	html body.single-product .woocommerce-product-gallery__image img {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		aspect-ratio: .75 !important;
		object-fit: cover !important;
		object-position: center top !important;
	}

	html body.single-product .bn-mobile-product-head {
		display: grid !important;
		order: 2 !important;
		gap: 10px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 14px 16px 16px !important;
		border-bottom: 1px solid #e8e8e8 !important;
		background: #fff !important;
	}

	html body.single-product .bn-mobile-product-head .bn-mobile-title-row h1 {
		margin: 0 !important;
		color: #111 !important;
		font: 400 15px/1.35 Arial, sans-serif !important;
		letter-spacing: 0 !important;
	}

	html body.single-product .bn-mobile-product-head .bn-mobile-meta-row {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 14px !important;
		width: 100% !important;
	}

	html body.single-product .bn-mobile-product-head .bn-mobile-product-price,
	html body.single-product .bn-mobile-product-head .bn-mobile-product-price .price {
		display: block !important;
		margin: 0 !important;
		color: #111 !important;
		font: 800 21px/1.15 Arial, sans-serif !important;
		white-space: nowrap !important;
	}

	html body.single-product .bn-mobile-product-head .bn-mobile-review-row {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		min-width: 0 !important;
	}

	html body.single-product .bn-mobile-product-head .bn-review-trigger {
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		color: #111 !important;
		white-space: nowrap !important;
	}

	html body.single-product .summary.entry-summary {
		order: 3 !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 16px 24px !important;
		background: #fff !important;
	}

	html body.single-product .summary > .product_title,
	html body.single-product .summary > .price,
	html body.single-product .summary > .bn-pdp-topline,
	html body.single-product .summary > .bn-price-review-row,
	html body.single-product .summary > .bn-pdp-review-trigger,
	html body.single-product .summary > .bn-review-trigger {
		display: none !important;
	}

	html body.single-product .summary form.variations_form,
	html body.single-product .summary .bn-pdp-configurator {
		margin-top: 0 !important;
		padding-top: 16px !important;
	}

	html body.single-product .summary table.variations tr.bn-color-attribute-row {
		margin: 0 0 6px !important;
		padding: 0 !important;
		row-gap: 0 !important;
		min-height: 0 !important;
	}

	html body.single-product .summary table.variations tr.bn-color-attribute-row > th.label,
	html body.single-product .summary table.variations tr.bn-color-attribute-row > td.value {
		display: block !important;
		width: 100% !important;
	}

	html body.single-product .summary table.variations tr.bn-color-attribute-row > th.label {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 12px !important;
		margin: 0 0 10px !important;
	}

	html body.single-product .summary table.variations tr.bn-color-attribute-row .reset_variations {
		flex: 0 0 auto !important;
		margin: 0 0 0 auto !important;
	}

	html body.single-product div.product > #reviews.bn-reviews-standalone {
		order: 5 !important;
		margin: 0 !important;
		padding: 28px 16px 36px !important;
		border-top: 1px solid #e8e8e8 !important;
	}
}

html body.single-product .summary .bn-size-title-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 0 10px !important;
}

html body.single-product .summary .bn-size-title-row > strong,
html body.single-product .summary .bn-size-title-row > label {
	margin: 0 !important;
	color: #111 !important;
	font: 700 14px/1.3 Arial, sans-serif !important;
}

html body.single-product .summary .bn-size-title-row .bn-size-guide {
	flex: 0 0 auto !important;
	margin: 0 0 0 auto !important;
	color: #111 !important;
	font: 500 12px/1.3 Arial, sans-serif !important;
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
}

/* Server-rendered desktop navigation: level 1 tabs, level 2 column headings,
 * and level 3 catalogue links remain available without JavaScript. */
@media (min-width: 801px) {
	html body:not(.woocommerce-checkout) .site-header {
		z-index: 1000 !important;
		overflow: visible !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav {
		position: relative !important;
		z-index: 2 !important;
		overflow: visible !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav > .bn-desktop-menu {
		position: static !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav > .bn-desktop-menu > .nav-item {
		position: static !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .bn-mega-menu {
		position: absolute !important;
		z-index: 1001 !important;
		top: 100% !important;
		left: 50% !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 324px !important;
		gap: 36px !important;
		width: min(1180px, calc(100vw - 48px)) !important;
		height: auto !important;
		max-height: min(620px, calc(100vh - 170px)) !important;
		margin: 0 !important;
		padding: 30px 34px 34px !important;
		overflow: auto !important;
		border-top: 1px solid #e5e5e5 !important;
		background: #fff !important;
		box-shadow: 0 18px 35px rgba(0, 0, 0, .12) !important;
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		transform: translate(-50%, 8px) !important;
		transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .nav-item:hover > .bn-mega-menu,
	html body:not(.woocommerce-checkout) .site-header .main-nav .nav-item:focus-within > .bn-mega-menu,
	html body:not(.woocommerce-checkout) .site-header .main-nav .nav-item.is-open > .bn-mega-menu {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		transform: translate(-50%, 0) !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .bn-mega-columns {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		align-items: start !important;
		gap: 34px !important;
		min-width: 0 !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .bn-mega-column {
		display: block !important;
		min-width: 0 !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .bn-mega-column > .bn-mega-heading {
		display: flex !important;
		align-items: center !important;
		width: 100% !important;
		height: auto !important;
		min-height: 30px !important;
		margin: 0 0 8px !important;
		padding: 0 0 10px !important;
		border-bottom: 1px solid #d8d8d8 !important;
		color: #111 !important;
		font: 700 12px/1.25 Arial, sans-serif !important;
		letter-spacing: .07em !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .bn-mega-column ul {
		display: grid !important;
		gap: 0 !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .bn-mega-column li {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		white-space: normal !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .bn-mega-column li > a {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		min-height: 30px !important;
		padding: 7px 0 !important;
		border: 0 !important;
		color: #333 !important;
		font: 400 13px/1.25 Arial, sans-serif !important;
		white-space: normal !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .bn-mega-column li > a:hover,
	html body:not(.woocommerce-checkout) .site-header .main-nav .bn-mega-column li > a:focus-visible {
		color: #007f9d !important;
		text-decoration: underline !important;
		text-underline-offset: 3px !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .mega-pics {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: start !important;
		gap: 12px !important;
		width: 100% !important;
		height: auto !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .mega-pics > a {
		display: grid !important;
		grid-template-rows: 190px auto !important;
		gap: 9px !important;
		width: 100% !important;
		height: auto !important;
		border: 0 !important;
		color: #111 !important;
		font: 600 11px/1.25 Arial, sans-serif !important;
		text-transform: uppercase !important;
	}

	html body:not(.woocommerce-checkout) .site-header .main-nav .mega-pics img {
		display: block !important;
		width: 100% !important;
		height: 190px !important;
		object-fit: cover !important;
		object-position: center top !important;
		background: #f3f1ee !important;
	}
}

/* Desktop footer: airy editorial grid without the boxed market dead zone. */
html body .bn-footer-signup {
	max-width: 1440px !important;
	margin: 0 auto !important;
	padding: 48px clamp(28px, 6vw, 92px) !important;
	background: #f5f2ed !important;
}

html body .bn-footer-signup form {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 154px !important;
	align-items: stretch !important;
	gap: 10px !important;
}

html body .bn-footer-signup form > input[type="email"] {
	grid-column: 1 !important;
	grid-row: 1 !important;
	width: 100% !important;
	min-width: 0 !important;
	height: 50px !important;
	margin: 0 !important;
}

html body .bn-footer-signup form > button[type="submit"] {
	grid-column: 2 !important;
	grid-row: 1 !important;
	width: 100% !important;
	height: 50px !important;
	margin: 0 !important;
	padding: 0 18px !important;
}

html body .bn-footer-signup form > .bn-signup-consent {
	grid-column: 1 / -1 !important;
	grid-row: 2 !important;
	display: flex !important;
	align-items: flex-start !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #555 !important;
	font-size: 11px !important;
	line-height: 1.4 !important;
}

html body .bn-footer-signup form > .bn-signup-consent input {
	flex: 0 0 14px !important;
	width: 14px !important;
	min-width: 14px !important;
	height: 14px !important;
	min-height: 14px !important;
	margin: 1px 0 0 !important;
	padding: 0 !important;
}

html body .site-footer {
	max-width: 1440px !important;
	margin: 0 auto !important;
	padding: 42px clamp(28px, 6vw, 92px) 34px !important;
	grid-template-columns: 1.2fr .78fr .95fr .9fr 1.15fr !important;
	gap: clamp(24px, 3vw, 54px) !important;
	border-top: 0 !important;
}

html body .site-footer .brand img {
	display: block !important;
	width: 178px !important;
	height: auto !important;
	margin: 0 0 14px !important;
}

html body .bn-footer-heading {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #111 !important;
	font: 700 12px/1.2 Arial, sans-serif !important;
	letter-spacing: .08em !important;
	text-align: left !important;
}

html body .bn-footer-heading svg {
	display: none !important;
	width: 18px !important;
	height: 18px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.5 !important;
}

html body .bn-footer-panel {
	display: grid !important;
	gap: 15px !important;
}

html body .bn-footer-market-button {
	display: none !important;
}

html body .bn-footer-market::before {
	display: none !important;
	content: none !important;
}

html body .bn-footer-market-panel {
	display: grid !important;
	gap: 11px !important;
}

html body .bn-footer-market-panel > b {
	font-size: 12px !important;
	letter-spacing: .08em !important;
}

html body .bn-footer-market-panel p,
html body .bn-footer-market-panel small {
	margin: 0 !important;
	color: #555 !important;
	font-size: 12px !important;
	line-height: 1.45 !important;
}

html body .bn-market-current {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

html body .bn-market-current span {
	display: inline-flex !important;
	min-height: 32px !important;
	align-items: center !important;
	padding: 0 12px !important;
	background: #111 !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
}

@media (max-width: 800px) {
	html body .bn-footer-signup {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 20px !important;
		width: 100% !important;
		padding: 30px 16px 28px !important;
	}

	html body .bn-footer-signup h2 {
		margin: 5px 0 8px !important;
		font-size: 24px !important;
		line-height: 1.1 !important;
	}

	html body .bn-footer-signup form {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 9px !important;
	}

	html body .bn-footer-signup form > input[type="email"],
	html body .bn-footer-signup form > button[type="submit"],
	html body .bn-footer-signup form > .bn-signup-consent {
		grid-column: 1 !important;
	}

	html body .bn-footer-signup form > input[type="email"] {
		grid-row: 1 !important;
	}

	html body .bn-footer-signup form > .bn-signup-consent {
		grid-row: 2 !important;
	}

	html body .bn-footer-signup form > button[type="submit"] {
		grid-row: 3 !important;
	}

	html body .site-footer {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		max-width: none !important;
		gap: 0 !important;
		padding: 22px 16px 16px !important;
	}

	html body .site-footer .brand {
		order: 5 !important;
		padding: 24px 0 10px !important;
		border-top: 1px solid #e5e5e5 !important;
	}

	html body .site-footer .brand img {
		width: 156px !important;
		margin-bottom: 10px !important;
	}

	html body .site-footer .brand p {
		margin: 0 !important;
		color: #555 !important;
		font-size: 12px !important;
	}

	html body .bn-footer-group {
		order: initial !important;
		padding: 0 !important;
		border-top: 1px solid #e5e5e5 !important;
	}

	html body .bn-footer-heading {
		min-height: 54px !important;
		margin: 0 !important;
		padding: 0 !important;
		cursor: pointer !important;
	}

	html body .bn-footer-heading svg {
		display: block !important;
		transition: transform 180ms ease !important;
	}

	html body .bn-footer-group.is-open .bn-footer-heading svg {
		transform: rotate(180deg) !important;
	}

	html body .bn-footer-panel {
		display: none !important;
		gap: 0 !important;
		padding: 0 0 12px !important;
	}

	html body .bn-footer-group.is-open .bn-footer-panel {
		display: grid !important;
	}

	html body .bn-footer-panel a {
		display: flex !important;
		align-items: center !important;
		min-height: 42px !important;
		padding: 0 12px !important;
		font-size: 13px !important;
	}

	html body .bn-footer-market {
		order: 4 !important;
		padding: 0 !important;
		border-top: 1px solid #e5e5e5 !important;
	}

	html body .bn-footer-market-button {
		display: grid !important;
		grid-template-columns: 22px minmax(0, 1fr) 18px !important;
		align-items: center !important;
		gap: 10px !important;
		width: 100% !important;
		min-height: 58px !important;
		margin: 0 !important;
		padding: 0 2px !important;
		border: 0 !important;
		background: transparent !important;
		color: #111 !important;
		font: 500 13px/1.3 Arial, sans-serif !important;
		text-align: left !important;
	}

	html body .bn-footer-market-button svg {
		width: 20px !important;
		height: 20px !important;
		fill: none !important;
		stroke: currentColor !important;
		stroke-width: 1.5 !important;
	}

	html body .bn-footer-market-button .bn-footer-chevron {
		width: 18px !important;
		height: 18px !important;
		transition: transform 180ms ease !important;
	}

	html body .bn-footer-market.is-open .bn-footer-chevron {
		transform: rotate(90deg) !important;
	}

	html body .bn-footer-market-panel {
		display: none !important;
		padding: 2px 34px 18px !important;
	}

	html body .bn-footer-market.is-open .bn-footer-market-panel {
		display: grid !important;
	}

	html body .copyright {
		display: grid !important;
		grid-template-columns: 1fr auto !important;
		gap: 10px !important;
		width: 100% !important;
		padding: 16px !important;
		font-size: 10px !important;
	}

	html body .copyright nav {
		display: none !important;
	}
}
