main#main {
	max-width: 1222px;
	padding-left: 15px;
	padding-right: 15px;
}

nav.woocommerce-breadcrumb {
	padding-top: 10px !important;
	padding-bottom: 15px !important;
}

span.tagged_as {
	display: none !important;
}

.product_meta {
	display: flex;
	flex-direction: column;
}

/* Custom Product Gallery Flex Layout */
.custom-product-gallery-flex {
	display: flex;
	gap: 32px;
	align-items: stretch;
	max-width: 540px;
	height: 438px;
}

.custom-product-thumbnails-vertical {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: stretch;
	width: 122px;
}

.custom-thumbnails-outer {
	height: 100%;
	min-height: 400px;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	width: 122px;
}

.custom-thumbnails-scroll {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 438px;
	overflow: hidden;
	width: 122px;
	margin: 8px 0;
}

.custom-thumbnails-scroll .woocommerce-product-gallery__image {
	width: 122px;
	height: 126px;
	object-fit: contain;
	cursor: pointer;
	border: none;
	transition: border 0.2s;
}

.custom-thumbnails-scroll .woocommerce-product-gallery__image.active,
.custom-thumbnails-scroll .woocommerce-product-gallery__image:hover {
	border: none;
}

.custom-thumb-arrow {
	background: #f7f7f7;
	border: none;
	border-radius: 50%;
	width: 58.5px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	margin: 2px 0;
	transition: background 0.2s;
	z-index: 2;
}

.custom-thumb-arrow:hover,
.custom-thumb-arrow:focus {
	background: #ebebeb;
	outline: none;
}

.custom-thumb-arrow .chevron-icon {
	width: 20px;
	height: 20px;
	transition: transform 0.2s;
}

.custom-thumb-arrow-up .chevron-icon {
	transform: rotate(180deg);
}

.custom-thumb-arrow:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.custom-product-main-image {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.custom-product-main-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Remove any hover effects */
.custom-product-main-image:hover img {
	opacity: 1 !important;
	transform: none;
}

/* Remove any overlay effects */
.custom-product-main-image::before,
.custom-product-main-image::after {
	display: none !important;
}

/* Ensure no overlay from parent elements */
.woocommerce-product-gallery {
	opacity: 1 !important;
}

.woocommerce-product-gallery__image {
	opacity: 1 !important;
}

.woocommerce-product-gallery__image:hover {
	opacity: 1 !important;
}

@media (max-width: 768px) {
	.custom-product-gallery-flex {
		flex-direction: column;
		gap: 16px;
	}
	.custom-product-thumbnails-vertical {
		flex-direction: row;
		width: 100%;
		margin-bottom: 12px;
	}
	.custom-thumbnails-outer,
	.custom-thumbnails-scroll {
		flex-direction: row;
		width: 100%;
		max-height: 90px;
	}
	.custom-thumbnails-scroll {
		gap: 8px;
	}
	.custom-thumbnails-scroll .woocommerce-product-gallery__image {
		width: 90px;
		height: 90px;
	}
}

.custom-single-product-flex {
	display: flex;
	gap: 48px;
	align-items: flex-start;
	max-width: 1200px;
	margin: 0 auto;
}

@media screen and (max-width: 1250px) {
	.custom-single-product-flex {
		gap: 20px;
		max-width: 100%;
	}
	.custom-single-product-gallery {
		max-width: 480px !important;
	}
}

.custom-single-product-gallery {
	flex: 0 0 auto;
	max-width: 540px;
	width: 100%;
	position: relative;
}

.custom-single-product-summary {
	flex: 1 1 0;
	min-width: 320px;
	display: flex;
}

@media screen and (min-width: 768px) {
	.custom-single-product-summary {
		padding-left: 20px;
	}
}

.summary.entry-summary {
	flex: 1;
}

@media (max-width: 900px) {
	.custom-single-product-flex {
		flex-direction: column;
		gap: 24px;
	}
	.custom-single-product-summary {
		min-width: 0;
		width: 100%;
		padding-left: 0 !important;
	}
}

.custom-thumb-arrow-group {
	display: flex;
	flex-direction: row;
	gap: 4px;
	margin-top: auto;
	justify-content: center;
	width: 100%;
	padding-bottom: 4px;
}

.woocommerce-tabs.wc-tabs-wrapper {
	padding-top: 40px;
}

h1.product_title.entry-title {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	color: #333;
	font-size: 34px;
	line-height: 40.8px;
}

.woocommerce-product-details__short-description {
	font-family: "Lato", sans-serif;
	font-weight: 600;
	color: #333;
	font-size: 14px;
	line-height: 22.4px;
	padding-top: 10px;
}

.woocommerce-product-details__short-description ul {
	padding-left: 20px;
}

/* Hide thumbnail sidebar when there's only one image */
.custom-product-gallery-flex:has(.custom-thumbnails-scroll:only-child)
	.custom-product-thumbnails-vertical {
	display: none;
}

.custom-product-gallery-flex:has(.custom-thumbnails-scroll:only-child) {
	max-width: 100%;
}

.custom-product-gallery-flex:has(.custom-thumbnails-scroll:only-child) .custom-product-main-image {
	width: 100%;
}

span.onsale {
	display: none;
}

/* Product Title with Brand Layout */
.product-title-with-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 30px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ccc;
}

.product-title-with-brand .product_title {
	margin: 0;
	flex: 1;
}

.product-brand-image {
	flex: 0 0 100px;
	width: 100px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-brand-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

@media (max-width: 768px) {
	.product-title-with-brand {
		flex-direction: column;
		align-items: flex-start;
	}

	.product-brand-image {
		margin-top: 15px;
	}
}

span.sku_wrapper,
.posted_in {
	font-family: "Lato";
	font-weight: 600;
	font-size: 14px;
	line-height: 22.4px;
	color: #333;
}

span.sku,
.posted_in a {
	font-weight: 400;
	color: #777;
}

.product-availability {
	font-family: "Lato";
	font-weight: 600;
	font-size: 14px;
	line-height: 22.4px;
	color: #333;
}

.custom-quantity-add-to-cart {
	margin-top: 35px !important;
}

.custom-quantity-add-to-cart form {
	width: 100%;
	display: flex;
}

button[name="add-to-cart"] {
	margin-left: 12px !important;
	flex: 1 !important;
	background-color: #86ab03 !important;
	color: #fff;
	font-family: "Lato", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 22.4px;
	padding: 10px 20px;
}

button[name="add-to-cart"]:hover {
	background-color: #526c1e !important;
}

.quantity-wrapper button {
	width: 48.67px;
}

.quantity-wrapper input[type="number"] {
	-webkit-appearance: textfield;
}

.quantity-wrapper input[type="number"]::-webkit-inner-spin-button,
.quantity-wrapper input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

.quantity-wrapper input {
	text-align: center;
	width: 35px !important;
}

.single_add_to_cart_button {
	position: relative;
	transition: all 0.3s ease;
}

.single_add_to_cart_button:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.single_add_to_cart_button:disabled::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: button-loading-spinner 0.6s linear infinite;
}

@keyframes button-loading-spinner {
	from {
		transform: rotate(0turn);
	}
	to {
		transform: rotate(1turn);
	}
}

.email-enquiry-link {
	margin-top: 0 !important;
	display: flex;
	gap: 10px;
}

@media screen and (max-width: 1024px) {
	.email-enquiry-link {
		flex-direction: column;
	}
}

.email-enquiry-link a {
	width: 100%;
	background: #811427 !important;
	text-align: center;
	border-radius: 0 !important;
	padding: 15px !important;
	font-weight: 700;
	color: #fff !important;
}

a.button.request-sample {
	background: #86ab04 !important;
	margin-left: 0 !important;
}

.custom-quantity-add-to-cart {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
}

.email-enquiry-link {
	margin: 20px 0;
}

.email-enquiry {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.email-enquiry i {
	font-size: 16px;
}

p.price {
	font-size: 22px !important;
	color: #86ab04 !important;
}

.price del {
	font-size: 14px;
	color: #811427;
}

.price ins {
	text-decoration: none !important;
}

small.woocommerce-price-suffix {
	font-size: 12px;
	color: #777;
}

.product-info-no-tabs {
	margin-top: 0;
}

@media (min-width: 901px) {
	.product-info-no-tabs {
		margin-top: 50px;
	}
}

.product-info-no-tabs .product-description-section,
.product-info-no-tabs .product-attributes-section,
.product-info-no-tabs .woocommerce-product-attributes,
.product-info-no-tabs .ask-a-question-section {
	margin-bottom: 30px;
	background: #f9f9f9;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-info-no-tabs h2 {
	margin-bottom: 15px;
	font-size: 24px;
	color: #333;
}

table.woocommerce-product-attributes.shop_attributes,
table.woocommerce-product-attributes.shop_attributes th,
table.woocommerce-product-attributes.shop_attributes td {
	background: none;
	border: none !important;
	box-shadow: none !important;
	text-align: left !important;
}

.product-info-no-tabs h2,
div#ask-a-question-form h3,
span#nf-form-title-3 h3 {
	font-size: 21px;
	font-family: "Lato";
}

.nf-form-content {
	margin-top: 25px;
}

.woocommerce-breadcrumb .breadcrumb-item > strong a {
	color: inherit;
	text-decoration: none;
}

.woocommerce-breadcrumb .breadcrumb-item:nth-last-child {
	font-weight: 700 !important;
}

/* Make the last text item in breadcrumb bold */
.woocommerce-breadcrumb {
	font-weight: normal;
}

.woocommerce-breadcrumb a {
	font-weight: normal;
}

/* Make the last text node (current page/product name) bold */
.woocommerce-breadcrumb:last-child {
	font-weight: 700;
}

.type-product {
	padding-top: 40px;
}

@media (max-width: 768px) {
	.type-product {
		padding-top: 20px;
	}
}

.nf-form-content label {
	font-size: 14px !important;
}

@media screen and (max-width: 767px) {
	nf-fields-wrap {
		flex-direction: column !important;
	}
	nf-field {
		width: 100% !important;
	}
}

@media screen and (min-width: 768px) {
	div#nf-field-12-container {
		margin-bottom: 0 !important;
		position: relative;
		top: 45px;
	}
	div#nf-field-14-wrap,
	div#nf-field-29-wrap {
		width: calc(50% - 20px);
	}
}

nf-fields-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

nf-field {
	width: calc(50% - 20px);
}

#ninja_forms_required_items,
.nf-field-container {
	margin-bottom: -10px !important;
}

.nf-before-form-content {
	padding-bottom: 20px;
}

nf-field:last-child {
	width: 100%;
}

div#nf-description-12 {
	padding-bottom: 20px;
}

input#nf-field-14,
input#nf-field-29 {
	background-color: rgb(134, 171, 4) !important;
	width: 100%;
	font-family: "Lato", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 22.4px;
	color: #fff;
}

.nf-form-content .nf-field-label {
	font-size: 14px !important;
}

/* Pack Size Badge */
.pack-size-badge {
	position: absolute;
	top: -20px;
	right: -20px;
	background-color: #991421;
	border-radius: 50%;
	width: 76px;
	height: 76px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: white;
	font-family: sans-serif;
	line-height: 1.2;
	text-align: center;
	z-index: 10;
}

@media (max-width: 768px) {
	.pack-size-badge {
		top: -10px;
		right: -5px;
	}
}

.pack-size-badge .pack-size-number {
	font-size: 24px;
	font-weight: bold;
}

.pack-size-badge .pack-size-text {
	font-size: 14px;
	font-weight: bold;
}

.sold-out-badge {
	position: absolute;
	top: 0;
	left: 0;
	width: 100px;
	background: #811427;
	color: #fff;
	font-family: "Lato", sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	border-radius: 0;
	padding: 6px 0;
	z-index: 10;
}

p.price-per-unit {
	background: #ebebeb;
	padding: 5px 10px;
	width: fit-content;
	border-radius: 4px;
	font-weight: 600;
	font-size: 14px;
}

@media screen and (max-width: 767px) {
	.type-product button.quantity-button.minus,
	.type-product button.quantity-button.plus {
		height: 39px;
	}
}

.stock {
	display: none !important;
}

section.up-sells.upsells.products {
	display: none !important;
}

td.woocommerce-product-attributes-item__value {
	vertical-align: middle;
}

h3.custom-related-product-title a {
	font-size: 16px;
	padding-top: 2px !important;
	padding-bottom: 5px !important;
	font-family: "Lato";
	font-weight: 700;
}

.custom-related-product-brand {
	margin-top: -7px;
	font-size: 13px;
	color: #555 !important;
}

.custom-related-product-sku,
.custom-related-product-availability {
	display: flex;
	font-size: 14px;
}

section.related.products {
	margin-top: 50px;
}

label#nf-label-class-field-27-0 {
	margin-top: 10px;
}

.bespoke-item {
	padding-top: 20px;
	padding-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bespoke-item span {
	font-size: 15px;
	font-family: "Lato";
	font-weight: 600;
}

.bespoke-item .item__line:last-child span {
	margin-top: 10px;
	font-size: 20px !important;
	font-weight: 700;
}

.bespoke-item .highlight {
	color: #86ab04;
}

td.woocommerce-product-attributes-item__value {
	padding: 10px !important;
}

section.related.products h2 {
	font-size: 22px;
	font-family: "Lato";
	font-weight: 300;
	line-height: 30.8px;
	color: #242424;
	text-transform: uppercase;
	margin-bottom: 30px;
	position: relative;
}

section.related.products h2:before {
	content: " ";
	position: absolute;
	bottom: -9px;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: rgb(134, 171, 4);
}

.custom-related-product-price del {
	color: #811427 !important;
	font-size: 14.4px !important;
}

.custom-related-product-price ins,
.custom-related-product-price span.woocommerce-Price-amount.amount bdi {
	color: #86ab04 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
}

.custom-related-product-price {
	padding-top: 5px;
}

h3.custom-related-product-title a {
	color: #232323 !important;
}

.menu-covers-extra-desc {
	margin-top: 30px;
	display: flex;
	gap: 5px;
}

@media screen and (max-width: 900px) {
	.menu-covers-extra-desc {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}
}

.colour-badge {
	position: absolute;
	right: 0;
	z-index: 99;
}

.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a,
.woocommerce-product-gallery__image img {
	max-height: 438px !important;
}
