/* =========================================
   PRODUCT BUNDLES
   Main file responsible on bundle page:
   catalog/view/theme/default/stylesheet/product_bundles.css
   ========================================= */

/* ---------- generic ---------- */

.product-bundles .product-thumb .button-group button {
	width: 100%;
}

.product-bundles .product-info {
	margin-bottom: 20px;
}

.product-bundles .description {
	margin: 20px 0;
	line-height: 1.8;
	color: #3d3a35;
}

/* ---------- bundle products area ---------- */

.bundle-products {
	border: 1px solid #dddddd;
	padding: 20px;
	margin: 20px 0;
	background: #fff;
	overflow: hidden;
}

.bundle-products .bundle-product {
	float: left;
	padding: 0 15px;
}

.bundle-products .bundle-product .product-info {
	margin: 20px 0;
	text-align: center;
	font-weight: 700;
	position: relative;
}

.bundle-products .bundle-product .product-info .quantity {
	position: absolute;
	top: -10px;
	left: -10px;
	width: 24px;
	height: 24px;
	line-height: 24px;
	padding: 0;
	border-radius: 50%;
	text-align: center;
	font-weight: 700;
	color: #ffffff;
	background: #ee3313;
}

.bundle-products .bundle-product .product-info .image {
	margin-bottom: 10px;
}

.bundle-products .bundle-product .product-info .image img {
	display: block;
	margin: 0 auto;
	border: 1px solid #dddddd;
	padding: 5px;
	height: auto;
	max-width: 100%;
}

.bundle-products .bundle-product .product-info .caption {
	margin-top: 10px;
	min-height: auto;
}

.bundle-products .bundle-product .product-info .caption a {
	display: block;
	line-height: 1.5;
	word-break: break-word;
}

.bundle-products .bundle-product .product-info .price {
	margin-top: 8px;
}

.bundle-products .bundle-product-separator {
	float: left;
	margin-top: 50px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	color: #bc9959;
}

.bundle-products .bundle-info {
	float: right;
	margin: 20px 20px 0 40px;
	text-align: center;
}

.bundle-products .bundle-info .bundle-price-container > span {
	display: block;
}

.bundle-products .bundle-info .bundle-price {
	font-size: 125%;
	font-weight: 700;
}

.bundle-products .bundle-info .bundle-save {
	color: #ee3313;
}

.bundle-products .bundle-info input[name="bundle[quantity]"] {
	margin-top: 10px;
	text-align: center;
	width: 100%;
}

.bundle-products .bundle-info button {
	margin-top: 10px;
	width: 100%;
}

.bundle-products .bundle-info button span {
	display: inline !important;
}

/* ---------- bundle products: grid ---------- */
/* desktop = 5 columns total: 4 products + 1 info */

.bundle-products.grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
	padding: 20px;
	overflow: visible;
}

.bundle-products.grid > * {
	min-width: 0;
}

.bundle-products.grid .bundle-product,
.bundle-products.grid .bundle-info {
	float: none;
	width: auto;
	padding: 0;
	margin: 0;
}

.bundle-products.grid .bundle-product-separator {
	display: none !important;
}

.bundle-products.grid .bundle-product .product-info {
	margin: 0;
	height: 100%;
	text-align: center;
	font-weight: 700;
}

.bundle-products.grid .bundle-product .product-info .image img {
	width: 100%;
	max-width: 160px;
	height: auto;
}

.bundle-products.grid .bundle-product .product-info .caption a {
	font-size: 14px;
	line-height: 1.45;
	min-height: 42px;
}

.bundle-products.grid .bundle-product .product-info .price span {
	font-size: 16px;
	font-weight: 700;
}

.bundle-products.grid .bundle-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-self: stretch;
	text-align: center;
	padding: 16px 0 16px 20px;
	border-left: 1px solid #eeeeee;
}

.bundle-products.grid .bundle-info .bundle-price-container {
	margin-bottom: 10px;
}

.bundle-products.grid .bundle-info input[name="bundle[quantity]"] {
	max-width: 100%;
}

.bundle-products.grid .bundle-info button {
	width: 100%;
}

/* ---------- bundle products: list ---------- */

.bundle-products.list {
	display: table;
	width: 100%;
	padding: 15px;
}

.bundle-products.list .bundle-product {
	display: table-row;
	float: none;
	padding: 0;
}

.bundle-products.list .bundle-product .product-info {
	margin: 0;
}

.bundle-products.list .bundle-product .product-info .image,
.bundle-products.list .bundle-product .product-info .caption {
	display: table-cell;
	padding-bottom: 15px;
}

.bundle-products.list .bundle-product .product-info .image {
	width: auto;
	padding-right: 20px;
}

.bundle-products.list .bundle-product .product-info .caption {
	text-align: left;
	vertical-align: middle;
}

.bundle-products.list .bundle-product .product-info .caption p {
	margin: 0;
}

.bundle-products.list .bundle-product-separator {
	display: none;
}

.bundle-products.list .bundle-info {
	width: 100%;
	margin: 20px 0 0;
	float: none;
}

/* ---------- single bundle page ---------- */

.product-bundles-single {
	margin: 0;
}

/* ---------- gallery ---------- */

.product-bundles .thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.product-bundles .thumbnails > li {
	margin: 0;
}

.product-bundles .thumbnails > li:not(.image-additional) {
	flex: 0 0 100%;
	width: 100%;
}

.product-bundles .thumbnails > li:not(.image-additional) .thumbnail {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 520px;
	padding: 24px;
	margin: 0;
	background: #f5efe5;
	border: 1px solid #e5ddcf;
	border-radius: 18px;
	overflow: hidden;
}

.product-bundles .thumbnails > li:not(.image-additional) .thumbnail img {
	display: block;
	max-width: 100%;
	max-height: 460px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
}

.product-bundles .thumbnails > li.image-additional {
	flex: 0 0 76px;
	width: 76px;
}

.product-bundles .thumbnails > li.image-additional .thumbnail {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	padding: 6px;
	margin: 0;
	background: #f5efe5;
	border: 1px solid #e5ddcf;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-bundles .thumbnails > li.image-additional .thumbnail:hover {
	border-color: #bc9959;
	transform: translateY(-2px);
}

.product-bundles .thumbnails > li.image-additional .thumbnail img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
}

/* ---------- top buy section ---------- */

.product-bundles .bundle-info-top {
	margin: 18px 0 24px;
	padding: 0;
}

.product-bundles .bundle-price-container {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
}

.product-bundles .bundle-price {
	display: block;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 700;
	color: #233b31;
}

.product-bundles .bundle-save {
	display: block;
	font-size: 16px;
	line-height: 1.35;
	font-weight: 600;
	color: #bc9959;
}

.product-bundles .bundle-stock {
	display: block;
	font-size: 15px;
	line-height: 1.35;
	color: #8d8374;
	text-decoration: line-through;
}

.product-bundles .bundle-tax {
	display: block;
	font-size: 14px;
	line-height: 1.35;
	color: #6f695f;
}

/* quantity + add to cart */

.product-bundles .bundle-buy-row {
	display: flex;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	max-width: 520px;
}

.product-bundles .bundle-buy-row .bundle-qty-wrap {
	flex: 0 0 25%;
	max-width: 25%;
	min-width: 128px;
	display: flex;
	align-items: stretch;
	border: 1px solid #d8cfbf;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.product-bundles .bundle-buy-row .bundle-cart-btn {
	flex: 0 0 calc(75% - 9px);
	max-width: calc(75% - 9px);
	min-height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border: 1px solid #233b31;
	border-radius: 999px;
	background: #233b31;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: none;
	transition: all 0.2s ease;
}

.product-bundles .bundle-buy-row .bundle-cart-btn:hover,
.product-bundles .bundle-buy-row .bundle-cart-btn:focus {
	background: #bc9959;
	border-color: #bc9959;
	color: #fff;
}

.product-bundles .bundle-qty-btn {
	width: 38px;
	min-width: 38px;
	height: 50px;
	border: 0;
	background: #f3ede3;
	color: #233b31;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	box-shadow: none;
	outline: none;
}

.product-bundles .bundle-qty-btn:hover,
.product-bundles .bundle-qty-btn:focus {
	background: #bc9959;
	color: #fff;
}

.product-bundles .bundle-qty-input {
	flex: 1 1 auto;
	width: 100%;
	height: 50px;
	border: 0;
	border-left: 1px solid #e4dacb;
	border-right: 1px solid #e4dacb;
	border-radius: 0;
	background: #fff;
	color: #233b31;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	padding: 0 6px;
	box-shadow: none;
}

.product-bundles .bundle-qty-input:focus {
	box-shadow: none;
	outline: none;
}

.product-bundles .bundle-qty-input::-webkit-outer-spin-button,
.product-bundles .bundle-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-bundles .bundle-qty-input[type="number"] {
	-moz-appearance: textfield;
}

/* ---------- tablet ---------- */

@media (max-width: 991px) {
	.bundle-products.grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bundle-products.grid .bundle-info {
		grid-column: 1 / -1;
		border-left: 0;
		border-top: 1px solid #eeeeee;
		padding: 20px 0 0;
	}

	.product-bundles .bundle-buy-row {
		max-width: 100%;
	}
}

/* ---------- mobile ---------- */

@media (max-width: 767px) {
	.product-bundles .thumbnails {
		gap: 10px;
	}

	.product-bundles .thumbnails > li:not(.image-additional) .thumbnail {
		min-height: 320px;
		padding: 16px;
	}

	.product-bundles .thumbnails > li:not(.image-additional) .thumbnail img {
		max-height: 260px;
	}

	.product-bundles .thumbnails > li.image-additional {
		flex: 0 0 72px;
		width: 72px;
	}

	.product-bundles .thumbnails > li.image-additional .thumbnail {
		width: 72px;
		height: 72px;
		padding: 6px;
		border-radius: 10px;
	}

	.product-bundles .bundle-buy-row {
		flex-wrap: nowrap;
		max-width: 100%;
	}

	.product-bundles .bundle-buy-row .bundle-qty-wrap {
		flex: 0 0 28%;
		max-width: 28%;
		min-width: 96px;
	}

	.product-bundles .bundle-buy-row .bundle-cart-btn {
		flex: 0 0 calc(72% - 9px);
		max-width: calc(72% - 9px);
		font-size: 14px;
	}

	.bundle-products {
		padding: 14px;
	}

	.bundle-products.grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		padding: 14px;
	}

	.bundle-products.grid .bundle-product {
		width: 100%;
	}

	.bundle-products.grid .bundle-product .product-info .image img {
		max-width: 100%;
	}

	.bundle-products.grid .bundle-product .product-info .caption a {
		min-height: 0;
		font-size: 13px;
	}

	.bundle-products.grid .bundle-info {
		grid-column: 1 / -1;
		border-left: 0;
		border-top: 1px solid #eeeeee;
		padding: 20px 0 0;
	}

	.bundle-products.grid .bundle-product-separator {
		display: none !important;
	}
}
/* ===== HOME PAGE BUNDLES - target current live IDs / structure ===== */

/* title */
body.common-home #common-home > h3 {
	margin: 0 0 10px !important;
	padding: 0 15px !important;
	line-height: 1.2 !important;
	font-weight: 400 !important;
}

body.common-home #common-home > h3 > a {
	display: block !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-decoration: none !important;
	color: #233b31 !important;
	pointer-events: auto;
}

body.common-home #common-home > h3 > a::before {
	content: "Ritual Collections";
	display: block;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 400;
	color: #233b31;
}

body.common-home #common-home > h3::after {
	content: "Thoughtfully composed creations designed to bring depth and continuity to your care, each one a complete expression of the HibaVie experience, held in quiet moments of care.";
	display: block;
	max-width: 900px;
	padding: 8px 15px 0;
	font-size: 15px;
	line-height: 1.8;
	font-weight: 400;
	color: #3d3a35;
}

/* grid wrapper */
body.common-home #common-home > .product-bundles-module {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 30px !important;
	margin: 24px 0 0 !important;
	padding: 0 15px !important;
}

/* each item by ID */
body.common-home #common-home > .product-bundles-module > #bundle-1,
body.common-home #common-home > .product-bundles-module > #bundle-2,
body.common-home #common-home > .product-bundles-module > #bundle-3 {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	flex: none !important;
	clear: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* card reset */
body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb {
	display: block !important;
	height: 100% !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: visible !important;
}

/* kill product-list layout */
body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .image,
body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .caption,
body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .button-group,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .image,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .caption,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .button-group,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .image,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .caption,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .button-group {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	clear: both !important;
	padding: 0 !important;
	margin: 0 !important;
	text-align: left !important;
	border: 0 !important;
}

/* image */
body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .image,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .image,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .image {
	margin-bottom: 16px !important;
}

body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .image > a,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .image > a,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .image > a {
	display: block !important;
	width: 100% !important;
	overflow: hidden !important;
	background: transparent !important;
}

body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .image img,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .image img,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .image img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	margin: 0 !important;
}

/* content */
body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .caption h4,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .caption h4,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .caption h4 {
	margin: 0 0 10px !important;
	min-height: 46px !important;
	font-size: 16px !important;
	line-height: 1.45 !important;
	font-weight: 400 !important;
}

body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .caption h4 a,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .caption h4 a,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .caption h4 a {
	color: #233b31 !important;
}

body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .caption .description,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .caption .description,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .caption .description {
	display: none !important;
}

body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .caption .price,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .caption .price,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .caption .price {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	flex-wrap: wrap !important;
	margin: 0 !important;
	text-align: left !important;
}

body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .caption .price-new,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .caption .price-new,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .caption .price-new {
	font-size: 16px !important;
	line-height: 1.3 !important;
	font-weight: 400 !important;
	color: #233b31 !important;
}

body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .caption .price-old,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .caption .price-old,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .caption .price-old {
	font-size: 14px !important;
	color: #8d8374 !important;
	text-decoration: line-through !important;
}

body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .caption .price-tax,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .caption .price-tax,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .caption .price-tax {
	display: none !important;
}

/* hide old add to cart row */
body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .button-group,
body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .button-group,
body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .button-group {
	display: none !important;
}

/* responsive */
@media (max-width: 991px) {
	body.common-home #common-home > .product-bundles-module {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 767px) {
	body.common-home #common-home > h3 > a::before {
		font-size: 28px;
	}

	body.common-home #common-home > h3::after {
		font-size: 14px;
		line-height: 1.75;
	}

	body.common-home #common-home > .product-bundles-module {
		grid-template-columns: 1fr !important;
	}

	body.common-home #common-home > .product-bundles-module > #bundle-1 > .product-thumb > .caption h4,
	body.common-home #common-home > .product-bundles-module > #bundle-2 > .product-thumb > .caption h4,
	body.common-home #common-home > .product-bundles-module > #bundle-3 > .product-thumb > .caption h4 {
		min-height: 0 !important;
	}
}
/* hide bootstrap clearfix pseudo-elements on home bundles row */
body.common-home #common-home > .product-bundles-module::before,
body.common-home #common-home > .product-bundles-module::after {
	display: none !important;
	content: none !important;
}