/**
 * Single product pages only (body.weseggs-product-layout).
 * Cream #f6f1e7, charcoal #1c1c1c, clay #6e4b3a.
 * Trend (site heading font) for headings and controls. Latin (the site's
 * monospace web font, lmmonoprop10) for reading text.
 */

body.weseggs-product-layout .elementor-location-single .elementor-widget-woocommerce-product-title .product_title {
	line-height: 1.3 !important;
	letter-spacing: 0.06em;
	padding-left: 24px;
	padding-right: 24px;
}

body.weseggs-product-layout .elementor-location-single .elementor-widget-wrap:has(.elementor-widget-woocommerce-product-title) > .elementor-widget-spacer {
	--spacer-size: 12px;
}

/* Opening lines, copied under the title. The full text stays in the panel below. */
body.weseggs-product-layout .weseggs-product-lead {
	margin: 6px auto 2px;
	padding: 0 28px;
	max-width: 34em;
	text-align: center;
	font-family: "Latin", "Courier New", Courier, monospace;
	font-size: 15px;
	line-height: 1.65;
	color: #3a342c;
}

body.weseggs-product-layout .weseggs-product-lead p {
	margin: 0 0 0.55em;
}

body.weseggs-product-layout .weseggs-product-lead p:last-child {
	margin-bottom: 0;
}

body.weseggs-product-layout .weseggs-product-lead a {
	color: #6e4b3a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.weseggs-product-layout .elementor-location-single .elementor-widget-woocommerce-product-price .price {
	letter-spacing: 0.08em !important;
	color: #1c1c1c;
}

/*
 * Simple products: one row for the quantity and Add to bag.
 * Everything else in the form (delivery options, booking fields, add-ons)
 * spans the full width above that row. Hidden fields stay hidden.
 */
body.single.single-product.woocommerce.weseggs-product-layout div.product.elementor .elementor-location-single .site-cart-main-wrap form.cart:not(.grouped_form):not(.variations_form) {
	display: grid !important;
	grid-template-columns: auto auto;
	justify-content: center;
	align-items: center;
	column-gap: 16px;
	row-gap: 14px;
	width: 100% !important;
}

body.weseggs-product-layout .elementor-location-single form.cart > input[type="hidden"],
body.weseggs-product-layout .elementor-location-single form.cart > script,
body.weseggs-product-layout .elementor-location-single .variations_button > input[type="hidden"] {
	display: none !important;
}

body.single.single-product.woocommerce.weseggs-product-layout div.product.elementor .elementor-location-single .site-cart-main-wrap form.cart:not(.grouped_form):not(.variations_form) > :not(.qib-container):not(.single_add_to_cart_button) {
	grid-column: 1 / -1;
	justify-self: stretch;
	width: 100%;
	min-width: 0;
}

body.single.single-product.woocommerce.weseggs-product-layout div.product.elementor .elementor-location-single .site-cart-main-wrap form.cart:not(.grouped_form):not(.variations_form) > .qib-container {
	grid-column: 1;
	justify-self: end;
	width: auto !important;
	margin: 0 !important;
}

body.single.single-product.woocommerce.weseggs-product-layout div.product.elementor .elementor-location-single .site-cart-main-wrap form.cart:not(.grouped_form):not(.variations_form) > .single_add_to_cart_button {
	grid-column: 2;
	justify-self: start;
}

/* Variable products: the quantity lives inside the variation button row. */
body.weseggs-product-layout .elementor-location-single form.variations_form table.variations {
	width: 100%;
	margin: 0 auto 8px;
}

body.weseggs-product-layout .elementor-location-single form.variations_form table.variations tr,
body.weseggs-product-layout .elementor-location-single form.variations_form table.variations th,
body.weseggs-product-layout .elementor-location-single form.variations_form table.variations td {
	display: block;
	width: 100% !important;
	text-align: center;
	padding: 0;
	border: 0;
	background: transparent;
}

body.weseggs-product-layout .elementor-location-single form.variations_form table.variations .label,
body.weseggs-product-layout .elementor-location-single form.variations_form table.variations label {
	font-family: "Trend", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #5c564c;
	padding-bottom: 8px;
}

body.weseggs-product-layout .elementor-location-single form.variations_form table.variations select {
	font-family: "Latin", "Courier New", Courier, monospace;
	font-size: 15px;
	color: #1c1c1c;
	background: #fff;
	border: 1px solid #2c2c2c;
	border-radius: 0;
	height: 46px;
	min-width: 220px;
	max-width: 100%;
	padding: 0 12px;
}

body.weseggs-product-layout .elementor-location-single form.variations_form a.reset_variations {
	display: inline-block;
	margin: 8px 0 4px;
	font-family: "Latin", "Courier New", Courier, monospace;
	font-size: 13px;
	color: #6e4b3a !important;
}

body.weseggs-product-layout .elementor-location-single form.variations_form .single_variation_wrap {
	width: 100%;
}

body.weseggs-product-layout .elementor-location-single .variations_button {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 16px;
	width: 100%;
	margin-top: 8px;
}

body.weseggs-product-layout .elementor-location-single .variations_button > .sub-period,
body.weseggs-product-layout .elementor-location-single .variations_button > #weekday-block,
body.weseggs-product-layout .elementor-location-single .variations_button > .wcsatt-options-wrapper,
body.weseggs-product-layout .elementor-location-single .variations_button > .wc-pao-addons-container,
body.weseggs-product-layout .elementor-location-single .variations_button > .bkap-booking-form,
body.weseggs-product-layout .elementor-location-single .variations_button > .weseggs-purchase-row {
	flex: 1 0 100%;
}

/* Once the script groups them, this row is the one tidy line. */
body.weseggs-product-layout .weseggs-purchase-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	gap: 12px 16px;
	width: 100%;
	margin: 4px 0 0;
}

body.weseggs-product-layout .weseggs-qty-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

body.weseggs-product-layout .weseggs-qty-label {
	font-family: "Trend", Helvetica, Arial, sans-serif;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #5c564c;
	line-height: 1;
}

body.weseggs-product-layout .weseggs-min-note {
	flex: 1 0 100%;
	align-self: center;
	margin: 0;
	text-align: center;
	font-family: "Latin", "Courier New", Courier, monospace;
	font-size: 13px;
	line-height: 1.4;
	color: #6e4b3a;
}

body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .qib-container {
	display: inline-flex !important;
	align-items: stretch;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	border: 1px solid #2c2c2c;
	background: #fff;
	vertical-align: middle;
}

body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .qib-container .quantity {
	float: none !important;
	margin: 0 !important;
	display: flex !important;
}

body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .qib-button:not(#qib_id):not(#qib_id) {
	float: none !important;
	width: 44px !important;
	height: 46px !important;
	min-width: 44px;
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	line-height: 1 !important;
	font-family: "Trend", Helvetica, Arial, sans-serif !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	color: #1c1c1c !important;
	background: #f6f1e7 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}

body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .qib-button:not(#qib_id):not(#qib_id):hover {
	background: #e7e0d2 !important;
	color: #1c1c1c !important;
}

body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .qib-container .quantity input.qty:not(#qib_id):not(#qib_id) {
	width: 52px !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	border: 0 !important;
	border-left: 1px solid #2c2c2c !important;
	border-right: 1px solid #2c2c2c !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	font-family: "Trend", Helvetica, Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: #1c1c1c !important;
	text-align: center;
}

body.weseggs-product-layout .elementor-location-single .site-cart-main-wrap .single_add_to_cart_button,
body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .single_add_to_cart_button.button.alt {
	float: none !important;
	width: auto !important;
	min-width: 158px;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 28px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	line-height: 1 !important;
	font-family: "Trend", Helvetica, Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1c1c1c !important;
	background: #fff !important;
	border: 1px solid #1c1c1c !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}

body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .single_add_to_cart_button:hover {
	color: #f6f1e7 !important;
	background: #1c1c1c !important;
	border-color: #1c1c1c !important;
}

body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .qib-button:focus-visible,
body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .single_add_to_cart_button:focus-visible,
body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart input.qty:focus-visible {
	outline: 2px solid #1c1c1c;
	outline-offset: 2px;
}

/* Add-ons and a booking date, when the product shows them. Do not un-hide a hidden picker. */
body.weseggs-product-layout .elementor-location-single form.cart .wc-pao-addons-container,
body.weseggs-product-layout .elementor-location-single form.cart .bkap-booking-form,
body.weseggs-product-layout .elementor-location-single form.cart .bkap_start_date {
	width: 100%;
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

body.weseggs-product-layout .elementor-location-single form.cart .wc-pao-addon-name,
body.weseggs-product-layout .elementor-location-single form.cart .wc-pao-addon-description,
body.weseggs-product-layout .elementor-location-single form.cart .bkap_start_date label {
	font-family: "Latin", "Courier New", Courier, monospace;
	font-size: 14px;
	color: #3a342c;
}

body.weseggs-product-layout .elementor-location-single form.cart .wc-pao-addon-container input[type="text"],
body.weseggs-product-layout .elementor-location-single form.cart .wc-pao-addon-container input[type="number"],
body.weseggs-product-layout .elementor-location-single form.cart .wc-pao-addon-container textarea,
body.weseggs-product-layout .elementor-location-single form.cart .wc-pao-addon-container select,
body.weseggs-product-layout .elementor-location-single form.cart .bkap-booking-form input[type="text"],
body.weseggs-product-layout .elementor-location-single form.cart .bkap_start_date input[type="text"],
body.weseggs-product-layout .elementor-location-single form.cart input#booking_calender,
body.weseggs-product-layout .elementor-location-single form.cart input.hasDatepicker {
	width: 100% !important;
	max-width: 100%;
	height: 44px;
	border: 1px solid #2c2c2c !important;
	background: #fff !important;
	color: #1c1c1c !important;
	font-family: "Latin", "Courier New", Courier, monospace !important;
	font-size: 14px !important;
	text-align: center;
	box-shadow: none !important;
}

body.weseggs-product-layout .elementor-location-single form.cart .wc-pao-addon-container textarea {
	height: auto;
	min-height: 88px;
	text-align: left;
	padding: 10px 12px;
}

body.weseggs-product-layout #ui-datepicker-div {
	z-index: 100001 !important;
}

body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart,
body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart .elementor-widget-container,
body.weseggs-product-layout .elementor-location-single form.cart {
	overflow: visible;
}

/* Delivery frequency radios, only if a product shows them. Display is left alone. */
body.weseggs-product-layout .elementor-location-single form.cart .wcsatt-options-product {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 auto;
	padding: 0;
	max-width: 320px;
	list-style: none;
	text-align: left;
}

body.weseggs-product-layout .elementor-location-single form.cart .wcsatt-options-prompt-text-label,
body.weseggs-product-layout .elementor-location-single form.cart .wcsatt-options-product label {
	font-family: "Latin", "Courier New", Courier, monospace;
	font-size: 14px;
	color: #3a342c;
}

/*
 * Full description, directly under the product frame.
 * The chalkboard artwork is the Elementor section background. It is replaced
 * here with a flat cream colour so the type can be read. The charcoal frame stays.
 */
body.weseggs-product-layout .elementor-location-single .elementor-top-section:has(.elementor-widget-woocommerce-product-data-tabs) {
	background-color: #f6f1e7 !important;
	background-image: none !important;
	padding-top: 8px !important;
	padding-bottom: 36px !important;
}

body.weseggs-product-layout .elementor-location-single .elementor-top-section:has(.elementor-widget-woocommerce-product-data-tabs) .elementor-background-overlay {
	opacity: 0 !important;
	background-image: none !important;
}

body.weseggs-product-layout .elementor-location-single .elementor-top-section:has(.pv-img) {
	padding-bottom: 28px !important;
}

body.weseggs-product-layout .elementor-widget-woocommerce-product-data-tabs > .elementor-widget-container {
	padding-top: 28px !important;
	padding-bottom: 8px !important;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-tabs ul.tabs {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: visible !important;
	list-style: none;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-tabs ul.tabs::before,
body.weseggs-product-layout .elementor-location-single .woocommerce-tabs ul.tabs li::before,
body.weseggs-product-layout .elementor-location-single .woocommerce-tabs ul.tabs li::after {
	display: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-tabs ul.tabs li {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 0 0 6px !important;
	background: transparent !important;
	color: #6a6258 !important;
	font-family: "Trend", Helvetica, Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-tabs ul.tabs li.active a {
	color: #1c1c1c !important;
	box-shadow: inset 0 -1px 0 #1c1c1c;
	background: transparent !important;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel > h2:first-of-type {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel {
	max-width: 640px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 8px;
	color: #2a2622 !important;
	font-family: "Latin", "Courier New", Courier, monospace !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.7 !important;
	text-align: left;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel p,
body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel li {
	color: #2a2622 !important;
	font-family: "Latin", "Courier New", Courier, monospace !important;
	font-size: 16px !important;
	line-height: 1.7 !important;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel p {
	margin: 0 0 0.85em;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel h2,
body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel h3 {
	color: #1c1c1c !important;
	font-family: "Trend", Helvetica, Arial, sans-serif !important;
}

body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel a {
	color: #6e4b3a !important;
}

@media (max-width: 767px) {
	body.weseggs-product-layout .elementor-location-single .elementor-top-section:has(.pv-img) {
		padding: 20px 10px 16px !important;
	}

	body.weseggs-product-layout .elementor-location-single .elementor-widget-wrap:has(.elementor-widget-woocommerce-product-add-to-cart) {
		padding-left: 8px !important;
		padding-right: 8px !important;
	}

	body.weseggs-product-layout .weseggs-product-lead {
		padding: 0 12px;
		font-size: 15px;
	}

	body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart > .elementor-widget-container {
		padding-left: 4px !important;
		padding-right: 4px !important;
	}

	body.weseggs-product-layout .weseggs-purchase-row {
		flex-wrap: wrap;
		align-items: flex-end;
		justify-content: center;
		gap: 8px 10px;
	}

	body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .qib-button:not(#qib_id):not(#qib_id) {
		width: 36px !important;
		height: 44px !important;
		min-width: 36px;
		min-height: 44px !important;
		max-height: 44px !important;
	}

	body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .qib-container .quantity input.qty:not(#qib_id):not(#qib_id) {
		width: 40px !important;
		height: 44px !important;
		min-height: 44px !important;
		max-height: 44px !important;
	}

	body.weseggs-product-layout .elementor-location-single .site-cart-main-wrap .single_add_to_cart_button,
	body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .single_add_to_cart_button.button.alt {
		width: auto !important;
		min-width: 0;
		flex: 0 0 auto;
		height: 48px !important;
		min-height: 48px !important;
		max-height: 48px !important;
		margin: 0 !important;
		padding: 0 14px !important;
		letter-spacing: 0.08em;
		font-size: 12px !important;
		line-height: 1 !important;
	}

	body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel,
	body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel p,
	body.weseggs-product-layout .elementor-location-single .woocommerce-Tabs-panel li {
		font-size: 15px !important;
	}

	body.weseggs-product-layout .elementor-widget-woocommerce-product-data-tabs > .elementor-widget-container {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}
}

@media (max-width: 360px) {
	body.weseggs-product-layout .weseggs-purchase-row {
		flex-direction: column;
		align-items: center;
	}

	body.weseggs-product-layout .elementor-widget-woocommerce-product-add-to-cart form.cart .single_add_to_cart_button.button.alt {
		width: 100% !important;
		max-width: 260px;
	}
}
