/* Next Digital's Addition */

/* Amasty Cart Tweaks */
.am-related-box .block.related .product-item-info {padding:0 !important;}
.am-related-box .block.related .product-item-info .actions {right:0 !important;}
.amcart-confirm-buttons button {
	text-transform: uppercase;
	font-weight: 700 !important;
	border-radius: 8px !important;
}

.am-related-box .products .product-item-actions .actions-primary,
.am-related-box .products .product-item-actions .secondary-addto-links {
	display: none;
}

.amcart-confirm-block .amcart-subtotal {
	display: none;
}

.amcart-confirm-block .am-subtitle {
	display: none;
}

.amcart-confirm-block .secondary-addto-links {
	display: none !important;
}

/* Category Page Redesign */
.products-grid .product-items .product-item-info {
	margin: 0 !important;
}

.page-products .products.wrapper.grid.products-grid .product-items .product.product-item::after {
	display: none !important;
}

.product-item-info .product-item-image {
	border: 2px solid #cdcdcd;
	padding: 5px;
}

.product-item-info .product-item-name {
	color: black;
	font-size: 15px;
	min-height: 80px;
}

.products-grid .product-item-details {
	text-align: center;
}

.product-item-details .product-item-inner .actions-primary {
	width: 100%;
}

.products .product-item-actions .tocart {
	font-size: 15px;
	font-weight: bold;
}

.product-item .price-box .price {
	color: #5b8c16;
	font-size: 22px;
}

.product-item .old-price .price {
	color: #9d3737 !important;
}

.product-item .price-including-tax {
	display: inline;
}

.category-description h2 {
	color: #a72a32;
	font-weight: bold;
	font-size: 34px;
}

/* Product Page Redesign */
.catalog-product-view .product-info-main .page-title-wrapper h1 {
	font-weight: bold;
	font-size: 26px;
}

.catalog-product-view .box-tocart .tocart {
	font-size: 18px;
	line-height: 30px !important;
	font-weight: bold !important;
	padding: 11px 50px !important;
}

.catalog-product-view .product-info-main .product-info-price .price-wrapper span.price {
	color: #5b8c16;
}

.catalog-product-view .product-info-main .product.attribute.overview {
	font-size: 16px;
	line-height: 1.6;
	color: #555;
}

/* Sub-Category Styles  */
.sub-category-list-wrapper .sub-category-item-block {
	border: none;
	border-radius: 0px;
	border: 1px solid #e0e0e0;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
	transition: 0.5s all;
}

.sub-category-list-wrapper .sub-category-item-block:hover {
	transition: 0.5s all;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.sub-category-list-wrapper .sub-category-item-title {
	font-size: 1.4em;
	font-weight: 600;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 50px;
}

.sub-category-list-wrapper .sub-category-item-title a {
	color: black;
	font-size: 15px;
}

.category-description {
	margin-bottom: 30px;
}

.category-description p {
	margin-bottom: 0;
	font-size: 17px
}

/* Sub-Category Page Mobile Styles */
@media (max-width: 768px) {
	.flex-item {
		flex: 1 1 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}
}

/* Homepage Styles*/
.product-item-photo.hover .product-hover-image {
	padding: 15% 0;
}

#cat-featured .owl-item {
	padding-bottom: 15px;
}

.featured-category .main-heading a {
	position: relative;
	top: 10px;
	font-size: 23px !important;
}

.cat-image img {
	border: none !important;
}

.homepage-white-background-section .products-grid .owl-item:after {
	display: none;
}

.homepage-white-background-section .products-grid .product-item-name {
	text-overflow: unset;
	white-space: unset;
	width: 100%;
}

.flexslider {
	margin-top: 0px;
	border-radius: 0 !important;
}

.featured-category {
	background: white !important;
}

.homepage-white-background-section .product-item-actions {
	display: none !important;

}

.tm_Category_Slider_CMS {
	margin-top: 15px !important;
}

.CarouselWidget-prefix .CarouselWidget--topHeader .R-ReviewsList-container {
	max-width: 100% !important;
}

.sub-adbanner-cms {
	margin: 0 !important;
}

/* Grey Background Section */
.home-grey-background-section {
	width: 100%;
	background-color: #f0f0f0;
	padding: 20px 0px;
	text-align: center;
}

.reviews-badge-top {
	width: 320px;
	margin: auto;
}

.home-grey-subtitle {
	font-size: 18px;
	color: black;
	font-style: italic;
	font-weight: bold;
}

.home-grey-title {
	font-size: 33px;
	color: #a72a32;
	margin-top: 10px;
	font-weight: bold;
	text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.21);
        margin-bottom:0 !important;
}

/* White Background Section */
.home-white-background-section {
	width: 100%;
	background-color: #ffffff;
	padding: 40px 0px;
	text-align: center;
}

.featured-category {
	margin-top: 0 !important;
}

.featured-category .main-heading a {
	font-weight: bold;
	color: black;
	font-size: 16px;
}

.home-white-title {
	font-size: 36px;
	color: #a72a32;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
	text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.21);
}

/* Grid Navigation Styles */
.home-grid-navigation {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin-top: 20px;
	text-align: center;
}

.home-grid-item {
	text-decoration: none;
	color: #333;
}

.home-grid-item img {
	max-width: 80px;
	height: auto;
	margin-bottom: 10px;
}

.home-grid-item p {
	font-size: 16px;
	font-weight: bold;
	color: #333;
}

.homepage-two-column-section {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	background-color: #ffffff;
	padding: 10px 20px;
}

.homepage-column {
	display: flex;
	width: 48%;
	background-color: #f8f8f8;
	padding: 20px;
	border-radius: 8px;
	align-items: center;
}

.homepage-column-image {
	flex: 1;
	background-size: cover;
	background-position: center;
	width: 150px;
	height: 150px;
	border-radius: 8px;
	margin-right: 20px;
}
.homepage-column-image.beer {
	background-image: url('https://www.lovebrewing.co.uk/media/wysiwyg/Banners/se_1.png');
}
.homepage-column-image.cider{
	background-image: url('https://www.lovebrewing.co.uk/media/wysiwyg/Banners/se_2.png');
}
.homepage-column-image.wine{
	background-image: url('https://www.lovebrewing.co.uk/media/wysiwyg/Banners/se_3.png');
}

.homepage-column-image.fruit{
	background-image: url('https://www.lovebrewing.co.uk/media/wysiwyg/Banners/se_4.png');
}


.homepage-column-content {
	flex: 2;
}

.homepage-column-title {
	font-size: 24px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}

.homepage-column-text {
	font-size: 16px;
	color: #555;
	margin-bottom: 20px;
}

.homepage-cta-button {
	background-color: #5b8c16;
	color: #ffffff !important;
	padding: 10px 20px;
	border-radius: 8px;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s, color 0.3s;
}

.homepage-cta-button:hover {
	background-color: #ffd200;
	color: #000000 !important;
}

.homepage-grey-background-section-content {
	width: 100%;
	background-color: #f0f0f0;
	padding: 40px 0px;
}

.homepage-content-section-header {
	font-size: 28px;
	color: #333;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
}

.homepage-content-columns {
	display: flex;
	gap: 20px;
	justify-content: center;
	text-align: left;
}

.homepage-content-column {
	flex: 1;
	max-width: 600px;
}

.homepage-content-column p {
	font-size: 16px;
	color: #555;
	line-height: 1.6;
	margin-bottom: 15px;
}

#badge-ribbon {
	height: 65px;
}
/* DEBUGGING */
div.owl-item.active::after {
    display: none;
}

/* Homepage Mobile Styles */
@media (max-width: 768px) {
	.flexslider .flex-control-nav {
		position: relative !important;
		padding-top: 5px;
	}

	#cat-featured.owl-carousel .slider-item {
		width: 55%;
		position: relative;
		margin: auto;
	}

	/* Homepage Columns and Layout */
	.homepage-two-column-section {
		display: block;
		padding: 0 10px 20px 10px;
	}

	.homepage-column {
		width: 100%;
		min-width: 100%;
		padding: 10px 0px;
		/* Merged padding */
		margin-top: 10px;
		align-items: flex-start;
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: space-between;
		min-height: 100%;
	}

	.homepage-column-content {
		flex: auto;
		display: flex;
		flex-direction: column;
		padding: 10px;
		/* Merged padding */
	}

	.homepage-column-image {
		flex: none;
		display: block;
		width: 100%;
		height: 120px;
		margin-right: 0;
	}

	.homepage-column-content .homepage-cta-button {
		display: inline-block;
		margin-top: auto;
		text-align: center;
	}

	.homepage-content-columns {
		align-items: flex-start;
		flex-wrap: wrap;
		min-height: 100%;
		padding: 10px 20px;
		display: block;
		/* Merged property */
	}

	.homepage-content-column {
		width: 100%;
		max-width: 100%;
	}

	/* Featured Categories */
	.featured-category:not(.featured-cat-mobile) {
		display: block;
		padding-top: 0;
		padding-bottom: 20px;
	}

	.home-white-title {
		margin-bottom: 5px;
	}

	.featured-category .owl-controls .owl-nav .owl-prev,
	.featured-category .owl-controls .owl-nav .owl-next {
		top: 35%;
	}

	/* Product Grids */
	.block-new-content .products-grid ol.products {
		margin: 8px 0 0 0;
	}

	.tm_Category_Slider_CMS .products-grid .product-item-info:hover {
		margin: 15px;
	}

	.home-featured-products-block .tm_special {
		margin-bottom: 0;
		margin-left: 15px;
	}

	.tm-category-product-tab,
	.tm_special,
	.tm_blog {
		margin-top: 0;
	}

	.tm_Category_Slider_CMS {
		margin-top: 0 !important;
	}

	/* Miscellaneous */
	.Badge .Badge__content .Badge__stars {
		font-size: 12vh;
		height: 28%;
	}

	.Badge .Badge__content .Badge__stars i.ruk-icon-percentage-star-25-01,
	.Badge .Badge__content .Badge__stars i.ruk-icon-percentage-star-50-01,
	.Badge .Badge__content .Badge__stars i.ruk-icon-percentage-star-75-01 {
		font-size: 9vh;
	}

	.footer-wrapper-inner-right {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}

	.footer-wrapper-inner-right-content p {
		display: flex;
		flex: 1 1 100%;
		justify-content: space-between;
		align-items: center;
		text-align: center;
	}

	.footer-wrapper-inner-right-content img {
		margin-right: 0;
		max-width: 30%;
		padding: 0 0 25px 0;
	}

	/* Flexslider Adjustments */
	.flexslider .slides>li img {
		aspect-ratio: 32/9 !important;
	}
}

/* Sub-Category Styles Mobile Optimisation */
@media (max-width: 768px) {
	.sub-category-list-wrapper .sub-category-list__item {
		width: 100%;
	}
}
