/* Product-page overrides scoped to the product document. */

/* Route B product summary: keep the offer hierarchy easy to scan.  The
 * countdown is intentionally a test-site conversion aid, so it sits below a
 * standalone price row and above the short description. */
body.age-scs-brand-route-b.single-product div.product .summary-price-box {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	width: 100%;
	margin: 0 0 14px;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .price {
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0 !important;
	font-size: 26px;
	line-height: 1.2;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .price del {
	margin-right: 10px;
	font-size: 17px;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .price ins {
	font-size: 27px;
	font-weight: 600;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .rz-stock {
	margin-top: 4px;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price {
	box-sizing: border-box;
	display: block !important;
	flex: 0 0 auto !important;
	width: 100%;
	max-width: 100%;
	margin: 9px 0 0;
	padding: 8px 10px;
	border: 1px solid #d6e8ed;
	border-radius: 4px;
	background: #eef6f8;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__units {
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit {
	min-width: 0;
	padding: 5px 6px;
	border: 1px solid rgba(214, 232, 237, .8);
	background: rgba(255, 255, 255, .56);
}
body.age-scs-brand-route-b.single-product div.product .woocommerce-product-details__short-description {
	margin-top: 0 !important;
	margin-bottom: 18px !important;
}
body.age-scs-brand-route-b.single-product div.product .woocommerce-product-details__short-description p {
	margin-bottom: 6px;
}
body.age-scs-brand-route-b.single-product form.variations_form .variations tr {
	margin-bottom: 8px;
}
body.age-scs-brand-route-b.single-product form.variations_form .variations td.label {
	padding-bottom: 7px;
}
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item {
	box-sizing: border-box;
	max-width: 100%;
	white-space: normal;
	overflow-wrap: anywhere;
}
body.age-scs-brand-route-b.single-product div.product .product_meta {
	margin: 10px 0;
}
body.age-scs-brand-route-b.single-product div.product .product-share {
	margin-top: 15px;
}
@media (max-width: 767px) {
	body.age-scs-brand-route-b.single-product div.product .summary-price-box {
		margin-bottom: 12px;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .price {
		font-size: 23px;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .price ins {
		font-size: 25px;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price {
		margin-top: 8px;
		padding: 7px 8px;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__units {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 5px;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit {
		padding: 6px 2px;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit strong {
		font-size: 15px;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit small {
		font-size: 8px;
	}
	body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item {
		width: 100%;
		justify-content: flex-start;
	}
	body.age-scs-brand-route-b.single-product div.product .product_meta {
		margin-top: 8px;
		margin-bottom: 8px;
	}
	body.age-scs-brand-route-b.single-product div.product .product-share {
		margin-top: 12px;
	}
}
/* Route B refinement: replace the collection of cards with a quieter,
 * editorial treatment. The hierarchy comes from type and dividers rather
 * than a border around every control. */
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price {
	position: relative;
	margin-top: 10px;
	padding: 10px 0;
	border: 0;
	border-top: 1px solid #dce9ec;
	border-bottom: 1px solid #dce9ec;
	border-radius: 0;
	background: transparent;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price::before {
	content: "ANGEBOT ENDET IN";
	display: block;
	margin-bottom: 7px;
	color: #66808a;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.2;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__units {
	gap: 0;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: center;
	gap: 5px;
	min-height: 0;
	padding: 0 10px;
	border: 0;
	border-right: 1px solid #dce9ec;
	border-radius: 0;
	background: transparent;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit:last-child {
	border-right: 0;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit strong {
	color: #193b52;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit small {
	color: #66808a;
	font-size: 9px;
	letter-spacing: .04em;
	line-height: 1;
}
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item {
	box-sizing: border-box;
	border: 0 !important;
	border-bottom: 1px solid #dfe3df !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: #354039 !important;
	transform: none !important;
}
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item {
	min-width: 0 !important;
	min-height: 34px !important;
	padding: 6px 2px !important;
}
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item:hover,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item:focus-visible,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item.selected,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item:hover,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item:focus-visible,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item.selected {
	border-bottom-color: #1e2723 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #1e2723 !important;
}
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item {
	justify-content: flex-start;
	width: 100%;
	min-height: 38px !important;
	padding: 8px 0 !important;
}
@media (max-width: 767px) {
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price {
		padding: 9px 0;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit {
		gap: 3px;
		padding: 0 5px;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit strong {
		font-size: 18px;
	}
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item {
		padding-right: 1px !important;
		padding-left: 1px !important;
	}
}
/* B product attributes: retain a clear control boundary without rounded
 * corners. This override intentionally comes last so it wins over the
 * generic swatch and refinement rules above. */
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item {
	box-sizing: border-box;
	border: 1px solid #111 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #fff !important;
	color: #111 !important;
}
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item {
	min-width: 70px !important;
	min-height: 38px !important;
	padding: 8px 14px !important;
}
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item {
	justify-content: flex-start;
	width: auto;
	max-width: 100%;
	min-height: 38px !important;
	padding: 8px 14px !important;
	white-space: normal;
	overflow-wrap: anywhere;
}
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item:hover,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item:focus-visible,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_color"] .wcboost-variation-swatches__item.selected,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item:hover,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item:focus-visible,
body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item.selected {
	border-color: #111 !important;
	background: #111 !important;
	box-shadow: none !important;
	color: #fff !important;
}
@media (max-width: 767px) {
	body.age-scs-brand-route-b.single-product .wcboost-variation-swatches ul[data-attribute_name="attribute_size"] .wcboost-variation-swatches__item {
		width: 100%;
		max-width: 100%;
	}
}
/* B countdown: a compact offer cue instead of a boxed mini-table. */
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price {
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin-top: 14px;
	padding: 9px 12px 9px 13px;
	border: 0 !important;
	border-left: 2px solid #ff6a61 !important;
	border-radius: 0;
	background: linear-gradient(90deg, #f5fafb 0%, rgba(245, 250, 251, .45) 72%, rgba(245, 250, 251, 0) 100%);
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price::before {
	content: "ANGEBOT";
	display: block;
	flex: 1 1 auto;
	margin: 0;
	color: #65706d;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .17em;
	line-height: 1.2;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__units {
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	flex: 0 0 auto;
	width: auto;
	gap: 8px;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit,
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit:last-child {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	flex-direction: row;
	align-items: baseline;
	gap: 3px;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit:not(:last-child)::after {
	content: ":";
	position: absolute;
	right: -6px;
	top: -1px;
	color: #a8b4b0;
	font-size: 18px;
	font-weight: 400;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit strong {
	color: #1f2a28;
	font-size: 23px;
	font-weight: 500;
	line-height: 1;
}
body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit small {
	color: #7c8883;
	font-size: 9px;
	line-height: 1;
}
@media (max-width: 767px) {
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price {
		gap: 10px;
		margin-top: 12px;
		padding-right: 8px;
		padding-left: 10px;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price::before {
		font-size: 9px;
		letter-spacing: .12em;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__units {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		flex: 1 1 62%;
		width: 62%;
		gap: 0;
	}
	body.age-scs-brand-route-b.single-product div.product .summary-price-box > .age-scs-product-countdown--price .age-scs-product-countdown__unit strong {
		font-size: 19px;
	}
}
/* Route A has a long facts panel on the right. Keep the desktop gallery in
 * view while that panel scrolls, but leave touch layouts in normal flow. */
@media (min-width: 992px) {
	body.age-scs-brand-route-a.single-product div.product .product-gallery-summary {
		overflow: visible;
	}
	body.age-scs-brand-route-a.single-product div.product .woocommerce-product-gallery {
		position: sticky;
		top: 96px;
		align-self: flex-start;
	}
}
/* Routes A/B: the facts tabs sit in the right-hand summary as a clean
 * accordion. Route C keeps its native bottom tab placement and styling. */
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs {
	box-sizing: border-box;
	width: 100%;
	margin-top: 30px;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs .razzi-tab-wrapper {
	position: relative;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs .razzi-tab-wrapper > a {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 56px;
	padding: 15px 0;
	border-top: 1px solid #d4d7d5;
	color: #17201b;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs .razzi-tab-wrapper > a::after {
	display: none !important;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs .razzi-tab-wrapper > a .razzi-svg-icon {
	display: none;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs .razzi-tab-wrapper > a::before {
	content: "+";
	order: 2;
	margin-left: 16px;
	color: #17201b;
	font-size: 21px;
	font-weight: 400;
	line-height: 1;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs .razzi-tab-wrapper > a.active::before {
	content: "−";
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs .razzi-tab-wrapper:last-child > a {
	border-bottom: 1px solid #d4d7d5;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs .razzi-tab-wrapper .panel-content {
	box-sizing: border-box;
	padding: 16px 0 24px;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product div.product.product-tabs-under-summary .woocommerce-tabs .razzi-tab-wrapper.description_tab .panel-content {
	padding-bottom: 24px;
}
/* Keep the A/B accordion reliable even when the theme moves the tabs inside
 * .entry-summary. Route C intentionally does not match these selectors. */
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .entry-summary .woocommerce-tabs,
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .product-gallery-summary > .woocommerce-tabs {
	box-sizing: border-box;
	width: 100%;
	margin: 30px 0 0 !important;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .entry-summary .woocommerce-tabs .razzi-tab-wrapper > a,
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .product-gallery-summary > .woocommerce-tabs .razzi-tab-wrapper > a {
	box-sizing: border-box;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	min-height: 56px !important;
	padding: 15px 0 !important;
	border-top: 1px solid #d4d7d5 !important;
	color: #17201b !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .entry-summary .woocommerce-tabs .razzi-tab-wrapper > a::after,
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .product-gallery-summary > .woocommerce-tabs .razzi-tab-wrapper > a::after {
	display: none !important;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .entry-summary .woocommerce-tabs .razzi-tab-wrapper > a .razzi-svg-icon,
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .product-gallery-summary > .woocommerce-tabs .razzi-tab-wrapper > a .razzi-svg-icon {
	display: none !important;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .entry-summary .woocommerce-tabs .razzi-tab-wrapper > a::before,
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .product-gallery-summary > .woocommerce-tabs .razzi-tab-wrapper > a::before {
	content: "+";
	order: 2;
	margin-left: 16px;
	color: #17201b;
	font-size: 21px;
	font-weight: 400;
	line-height: 1;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .entry-summary .woocommerce-tabs .razzi-tab-wrapper > a.active::before,
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .product-gallery-summary > .woocommerce-tabs .razzi-tab-wrapper > a.active::before {
	content: "−";
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .entry-summary .woocommerce-tabs .razzi-tab-wrapper:last-child > a,
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .product-gallery-summary > .woocommerce-tabs .razzi-tab-wrapper:last-child > a {
	border-bottom: 1px solid #d4d7d5 !important;
}
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .entry-summary .woocommerce-tabs .razzi-tab-wrapper .panel-content,
body:is(.age-scs-brand-route-a, .age-scs-brand-route-b).single-product .product-gallery-summary > .woocommerce-tabs .razzi-tab-wrapper .panel-content {
	box-sizing: border-box;
	padding: 16px 0 24px !important;
}
/* Razzi's mobile gallery used -15px side margins and a 100% + 30px width.
 * Keep the main image and thumbnail rail aligned with the product title. */
@media (max-width: 767px) {
	body.single-product div.product .product-gallery-summary > .woocommerce-product-gallery {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
}
/* Keep long product titles inside the mobile breadcrumb instead of making it scroll sideways. */
@media (max-width: 767px) {
	body.single-product .site-breadcrumb {
		box-sizing: border-box;
		display: flex;
		flex-wrap: wrap;
		min-width: 0;
		max-width: 100%;
		overflow-x: visible;
		overflow-y: visible;
		white-space: normal;
	}
}
