h1.product_page {
	font-size: 23px;
	color: #333333;
	margin-bottom: 0;
	font-weight: bold;
	line-height: 33px;
}

@media only screen and (max-width: 40em) {
	h1.product_page {
		font-size: 24px;
		margin-top: 8px;
		margin-bottom: 6px;
		line-height: 1.1;
	}
}

.product_page {
	line-height: 38px;
}

span[itemprop="reviewCount"] {
	color: #344D66;
}

#rating_container {
	cursor: pointer;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.recommended_product {
	color: #444343;
	background-color: var(--section-background-color);
	border: var(--section-border);
	border-radius: var(--section-border-radius);
	padding: var(--section-padding);
	text-decoration: none !important;
}

.recommended_products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	grid-gap: 16px;
	grid-auto-flow: column;
	align-items: stretch;
}

@media only screen and (min-width: 40.0625em) {
	.recommended_products {
		grid-auto-columns: minmax(0, 1fr);
		grid-template-columns: none;
		grid-template-rows: none;
	}
}

@media only screen and (min-width: 78.125em) {
	.recommended_products > a {
		display: block !important;
	}
}

div.recommended_product_image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 138px;
}

div.recommended_product_price {
	font-size: 14px;
	height: 20px;
	font-weight: bold;
	text-align: center;
}

div.recommended_product_price .sale_old {
	font-size: 12px;
	text-decoration: line-through;
	color: #7A7A7A;
}
div.recommended_product_price .sale_new {
	color: #DA2127;
}

div.recommended_product_name {
	font-size: 11px;
	flex-grow: 1;
	text-align: center;
}

/*
TESTING - START
 */

.customizer_package_block {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}

@media only screen and (min-width: 40.0625em) {
	.customizer_package_block {
		grid-template-rows: none;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.customizer_package {
	color: #444343;
	background-color: var(--section-background-color);
	border: var(--section-border);
	border-radius: var(--section-border-radius);
	padding: var(--section-padding);
	text-decoration: none !important;
}

@media only screen and (min-width: 78.125em) {
	.customizer_package > a {
		display: block !important;
	}
}

div.customizer_package_button {
	padding: 10px 0;
	white-space: nowrap;
}

/*
TESTING - END
 */





.viewed_slick, .popular_slick, .brand_slick {
	height: 200px;
	overflow: hidden;
	font-size: 12px;
	font-weight: normal;
}

.stocklevel_shop_line td {
	border-bottom: 1px dotted #BBBBBB;
	padding: 6px 10px 6px 3px;
}

.customizer_div {
	margin: 20px 0 25px 0;
	display:none;
}

.freebies_div {
	margin-bottom: 50px;
	display:none;
}

.freebies_div .select2-container {
	max-width: 100%;
}

.campaign_container_content .gift {
	height: 20px;
	margin-top: 4px;
}
.freebie_price_container .gift {
	height: 20px;
}

.freebies_div > label {
	margin-bottom: 20px;
}

.freebies_info a {
	display: block;
}

.specifications {
	font-size: 14px;
}


@media only screen and (min-width: 78.1875em) {
	.specifications {
		column-count: 2;
		column-gap: 70px;
	}
}

.specifications table {
	overflow-x: auto;
	white-space: nowrap;
	display: block;
	width: 100%;
}

.specifications table tbody {
	width:100%;
	display:table;
}

#model_specifications tr td {
	padding-bottom: 6px;
	width: 50%;
}

#model_specifications tr:first-of-type td {
	border-bottom: 1px solid #777777;
}

#model_specifications tr:not(:first-of-type) td {
	padding-top: 5px;
	border-bottom: 1px dotted #AAAAAA;
}

#model_specifications tr:not(:first-of-type):last-child td {
	border-bottom: none;
}

#product_specifications > div.row {
	line-height: 26px;
	border-bottom: 1px dotted #AAAAAA;
}

#product_specifications > div.row:last-child {
	border-bottom: none;
}

#model_specifications span[onclick],
#product_specifications span[onclick] {
	color: #344D66;
	cursor: pointer;
	text-decoration: underline;
}

#product_specifications > div.row {
	margin: 0;
}

#prettybox_mainimage {
	padding: 17px;
	height:100%;
}

@media only screen and (max-width: 78.125em) {
	#prettybox_mainimage {
		padding: 0;
	}
}

.prettybox_zoombuttons {
	background-color: #FFFFFF;
	height: 35px;
	line-height: 35px;
	display: inline-block;
	width: 50%;
	cursor: pointer;
	font-size: 30px;
}

.zoom_button {
	position: absolute;
	right: 1em;
	bottom: 0;
	cursor: pointer;
	width: 32px;
	height: 32px;
	background-color: rgb(255, 255, 255, 0.7);
	border-radius: 50%;
}

.zoom_button > svg {
	display: inline-block;
	vertical-align: middle;
	width: 1.5em;
	fill: #333333;
}

/* Slick override - prevent images jumping when slick is loaded */
.slick-list {
	min-height: inherit;
}

.slick-track {
	min-height: inherit;
}

.slick-slide {
	min-height: inherit !important;
}

.urgency_text {
	height: 30px;
}

.urgency {
	clear: both;
	padding: 3px;
	font-size: 12px;
	height: 30px;
	place-content: center;
	color: #020202;
}

.urgency .highlight {
	color: #C12429;
}

#add_to_cart_button, .atc_button {
	padding: 0.85em 10px;
	width: 100%;
	min-width: 150px;
}

#specs_popup_container {
	overflow-y: scroll !important;
	height: 100%;
}

@media only screen and (max-width: 78.125em) {
	#specs_popup_container {
		top: 0 !important;
	}

	#specs_popup_container h1:first-of-type {
		position: fixed;
	}

	#specs_popup_container .close_button {
		position: fixed;
		right: 5px;
		top: 5px;
		z-index: 1;
	}
}

@media only screen and (min-width: 40.0625em) {
	#specs_popup_container {
		max-height: 700px;
	}
}

.product_image {
	width: 100%;
	position: unset;
	text-align: center;
}

.product_title {
	width: 100%;
	float: none;
	display: inline-block;
	padding-bottom: 10px;
}

.product_selector {
	width: 100%;
	float: none;
	margin-top: 10px;
}

.product_variant_images {
	width: 100%;
	text-align: center;
	margin-top: 20px;
	place-items: center;
}

.product_primary_image {
	width: 100%;
	position:relative;
}

@media only screen and (min-width: 40.0625em) {
	.product_image {
		width: 59%;
		display: inline-block;
		float: left;
		padding: 15px 30px 0 0;
	}

	.product_title {
		float: right;
		width: 41%;
		padding: 10px 10px 0 10px;
	}

	.product_selector {
		width: 41%;
		display: inline-block;
		float: right;
		clear: right;
		padding: 10px;
	}
}

.review_name {
	color: #0A0A0A;
}

.stock_red {
	color: #DA2127;
}

.quantity_select_container {
	margin-bottom: 10px;
}

/* Foundation override */
a.main, div.main, p, td.main, p.main, td.main td, ul {
	font-size:14px;
}

/* Desktop */
@media only screen and (min-width: 78.1875em) {
	div:not(.small-24) > #product_description {
		width: 75%;
	}
	div.small-24 > #product_description {
		width: 98%;
	}

	.product_info_section > .row > .product_info_section ~ .product_info_section {
		padding-left: 0.9375rem;
	}

	.quantity_select::after {
		margin: 0 -20px 0 0;
	}

	.quantity_select_container {
		padding-right: 10px !important;
		margin: 0;
	}
}

.quantity_select {
	border: 1px solid #BBBBBB;
}

.bundle_header {
	font-size: 18px;
	margin-bottom: 8px;
}

.reveal_select_row {
	padding: 8px 10px 8px 10px;
	border-top: 1px solid #DDDDDD;
	cursor: pointer;
}

.reveal_select_row:hover {
	background-color: #FFFCF0 !important;
}

.reveal_selected_row {
	background-color: #FFF7D5;
}

.cart_quantity_selected {
	background-color: #EEEEEE;
}

.cart_quantity_select_item:hover {
	background-color: #DDDDDD;
}

.select_reveal_choose_button {
	margin-right: 10px;
}

.freebie_select > div {
	display: inline-block !important;
}

/* Fix for incorrect scaling of image when zooming in */
.pswp img {
	max-height: 1800px;
}

.bstock_text {
	float: left;
}

.show_size_guide {
	height: 36px;
	font-size: 13px;
	background-color: #E2E2E2;
	color: #3D3D3D;
	border-radius: 2px;
	cursor: pointer;
	overflow: hidden;
	width: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.show_size_guide_popup{
	height: 36px;
	font-size: 13px;
	background-color: #E2E2E2;
	color: #3D3D3D;
	border-radius: 2px;
	cursor: pointer;
	overflow: hidden;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 50%;
	margin: 3px auto 20px auto;
	text-align: center;
}

@media only screen and (max-width: 25.875em) {
	.show_size_guide_popup{
		width: 65% !important;
	}
}

@media only screen and (max-width: 78.1875em) {
	.show_size_guide {
		margin-top: 5px;
		margin-bottom: 0;
		height: 43px;
	}
	.select_reveal, .select_reveal_disabled {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
}

.no-padding-right {
	padding-right: 0 !important;
}

.freebie_select svg,
.select_reveal svg {
	width: 10px;
	height: 10px;
}

.show_video {
	position: absolute;
	left: 1em;
	bottom: 0;
	cursor: pointer;
	z-index:99;
}
.show_video>svg {
	display:inline-block;
	vertical-align:middle;
	width:1.5em;
	fill:#333333;
	margin-right:3px;
}

#video_overlay {
	display:none;
	max-width:800px;
	padding:1px;
}

#add_to_cart_overlay {
	background-color:#F1F1F1;
	display:none;
	max-width:800px;
	font-size:13px;
}

/*region Ribbons*/
.product_primary_image .ribbon {
	left: 1rem;
	font-size: 16px;
}
.product_primary_image .ribbon.new {
	font-weight: bold;
}

.overlay {
	position: absolute;
	top: 0;
	box-shadow: none;
	padding: 6px 10px 6px 10px;
	background-color: rgba(0,0,0,0.5);
	border: 0;
	color: white;
	font-weight: bold;
}

.overlay.bstock {
	font-size: 14px;
	width: 100%;
	background-color: #DA2127;
	font-weight: normal;
}
@media only screen and (max-width: 58em) {
	.overlay.bstock {
		font-size: 12px;
	}
}


/*endregion*/

.product_info section {
	padding-top: 20px;
	margin-bottom: 20px;
	border-top: 1px solid #DEDEDE
}

form[name=cart_quantity] {
	display: block;
	background-color: var(--section-background-color);
	border: var(--section-border);
	border-radius: var(--section-border-radius);
	padding: var(--section-padding);
	margin-bottom: 20px;
}

section#reviews h2 {
	display: inline-grid;
	grid-template-columns: auto auto auto;
	align-items: center;
}

.package_items > .customizer_items {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: start;
	gap: 10px;
	margin: 10px 0;
}

.package_items > .customizer_items img {
	max-width: 100px;
	max-height: 100px;
}

.customizer_items span.plus_concat {
	flex: 0 0 25px;
	font-size: 1.5rem;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}


.compatible_items {
	display: flex;
	align-items: center;
	gap: 20px;
}

@media only screen and (max-width: 40em) {
	.compatible_items {
		flex-wrap: wrap;
		justify-content: center;
	}

	.compatible_more_button {
		width: 100%;
		margin-top: 20px;
	}
}

.product_uvp {
	display: grid;
	grid-template-columns: 1fr;
	margin: 30px 0 20px 0;
	color: #333333;
	gap: 15px;
	cursor: pointer;
}

@media only screen and (min-width: 78.1255em) {
	.product_uvp {
		grid-template-columns: 1fr 1fr;
	}
}
.product_uvp > div {
	display: flex;
	align-items: center;
}

.bstock_header {
	margin-top: 20px;
}

.color_red {
	color: #DA2127;
}

.collapsable {
	background-color: var(--section-background-color);
	border: var(--section-border);
	border-radius: var(--section-border-radius);
	padding: 10px;
}

.collapsable > h2 {
	cursor:pointer;
}

.collapsable > div.wrapper {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.collapsable.expanded > div.wrapper {
	max-height: 500px;
}

.collapsable .inner {
	padding: 20px;
}

.toggle_button {
	background: none;
	border: none;
	font-size: 1.6em;
	cursor: pointer;
	float: right;
}

.toggle_button::before {
	content: '+';
}

.collapsable.expanded .toggle_button::before {
	content: '−';
}

.brand_address {
	display: inline-grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 10px 20px;
}

#reviews_gallery {
	display: none;
}

#reviews_gallery_content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px 10px;
}
#reviews_gallery_content.collapsed {
	overflow: hidden;
	height: 100px;
}
#reviews_gallery_content > span[rel] {
	cursor: zoom-in;
	position: relative;
}
#reviews_gallery_content > span > img {
	width: 100px;
	height: 100px;
	object-fit: cover;
}
#reviews_gallery_content .counter_more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	position: absolute;
	top: 0;
	flex-wrap: wrap;
	background-color: oklch(0 0 0 / 0.5);
	color: white;
	font-size: 14px;
	text-align: center;
}

#add_to_cart_row {
	display: grid;
	grid-template-columns: auto 55px;
	gap: 10px;
}

#add_to_cart_button {
	grid-column: 1;
}

#wishlist_container {
	grid-column: 2;
}

/* spans both columns */
#quantity_selector_container {
	grid-column: 1 / 3;
}

@media only screen and (min-width: 78.125em) {
	#add_to_cart_row {
		grid-template-columns: 110px auto 55px;
	}

	/* If the quantity selector is hidden, then we only show 2 columns */
	#add_to_cart_row:has(> .hidden:first-child) {
		grid-template-columns: auto 55px;
	}

	#add_to_cart_button {
		grid-column: auto;
	}

	#wishlist_container {
		grid-column: auto;
	}

	#quantity_selector_container {
		grid-column: auto;
	}
}

#wishlist_container {
	position: relative;
	border: 1px solid #BBBBBB;
	display: flex;
	place-items: center;
	padding: 0 10px;
	border-radius: 5px;
	cursor: pointer;
}

.popover {
	background-color: #fbf5d5;
	border: 1px solid #BBBBBB;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#add_to_wishlist_popover {
	position: absolute;
	padding: 10px;
	z-index: 10;
	top: 40px;
	right: -20px;
	white-space: nowrap;

}

.freebie_services_div {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding-bottom: 15px;
}

.freebie_products_div {
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-top: 1px solid #BBB;
	border-bottom: 1px solid #BBB;

	/* Animation properties */
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.6s linear,
	opacity 0.8s linear;
}

.freebie_products_div.expanded {
	max-height: 500px; /* Adjust based on your content height */
	opacity: 1;
	padding: 20px 0;
	margin-top: 15px;
}

.freebie_container {
	display: grid;
	grid-template-columns: 35% auto;
	gap: 20px;
}

.freebie_container > :first-child {
	place-content: center;
	text-align: center;
}

.freebie_container.is_service {
	grid-template-columns: auto auto;
}

.freebie_container button {
	width: 50%;
}

.freebie_container img {
	max-height: 120px;
}

.freebie_sales_price {
	white-space: nowrap;
}

.freebie_sales_price.on_sale {
	color: #da2127;
}

.freebie_list_price {
	text-decoration: line-through;
	color: #777777;
}

.freebie_price_container {
	display: flex;
	flex-direction: row;
	gap:7px;
	margin-top: 8px;
	font-size: 15px;
}

.freebie_header {
	font-size:14px;
	color:#545353;
	font-weight: bold;
}

.freebie_add_to_cart_button {
	margin-top: 10px;
}

.freebie_select {
	margin-top: 10px;
}

/* Add separator lines between freebie products */
.freebie_products_div > * {
	position: relative;
}

.freebie_products_div > *:not(:first-child)::before {
	content: "";
	position: absolute;
	top: -15px; /* half of the gap */
	left: 0;
	right: 0;
	height: 1px;
	background: #ccc;
}

#brand_name {
	font-size:16px;
	text-decoration:none;
	text-transform: uppercase;
}

.breadcrumb {
	margin-bottom: 5px;
	margin-top: 5px;
}
@media only screen and (min-width: 40.0625em) {
	.breadcrumb {
		margin-top: inherit;
	}
}