/* Compostable-like layout for the custom product template. */

body.doypacks-layout {
	--doypacks-accent: #2f8f4e;
	--doypacks-accent-dark: #1f6a39;
	--doypacks-text: #333333;
	--doypacks-muted: #6f6f6f;
	--doypacks-line: #e5e5e5;
	--doypacks-page-bg: #eeeeee;

	background: var(--doypacks-page-bg);
	color: var(--doypacks-text);
}

body.doypacks-layout .content_all {
	max-width: 1520px;
	margin: 0 auto;
	background: #ffffff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

body.doypacks-layout .container {
	max-width: 1360px;
	padding: 0 40px;
	margin: 0 auto;
}

body.doypacks-layout .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -12px;
}

body.doypacks-layout [class*="col-"] {
	padding: 0 12px;
	box-sizing: border-box;
}

body.doypacks-layout .col-12 {
	width: 100%;
}

@media (min-width: 768px) {
	body.doypacks-layout .col-sm-6 {
		width: 50%;
	}
}

@media (min-width: 992px) {
	body.doypacks-layout .col-md-6 {
		width: 50%;
	}
}

/* Header content (hero) */
body.doypacks-layout .header_content {
	position: relative;
	overflow: hidden;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #f6f6f6 0%, #ececec 100%);
}

body.doypacks-layout .header_content.has-hero-image {
	background-image: var(--doypacks-hero-image);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

body.doypacks-layout .header_content::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.68);
}

body.doypacks-layout .header_content_inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 56px 40px;
	max-width: 1360px;
	margin: 0 auto;
	text-align: center;
}

body.doypacks-layout .header_content .item,
body.doypacks-layout .header_content .info {
	width: 100%;
}

body.doypacks-layout .header_content .title {
	font-size: 56px;
	font-weight: 700;
	color: var(--doypacks-accent);
	line-height: 1.1;
	text-align: center;
	margin: 0;
}

body.doypacks-layout .header_content .subtitle {
	color: #4f4f4f;
	font-size: 28px;
	margin-top: 14px;
	text-align: center;
}

/* Intro section */
body.doypacks-layout .detailpage.default.sortiment {
	padding: 10px 0 30px;
}

body.doypacks-layout .detailpage.default.sortiment .h2 {
	text-align: center;
	color: var(--doypacks-accent);
	font-size: 30px;
	font-weight: 600;
	margin: 10px 0 16px;
}

body.doypacks-layout .detailpage.default.sortiment .h_subtitle {
	display: block;
	font-size: 14px;
	color: var(--doypacks-muted);
	font-weight: 400;
	margin-top: 6px;
}

body.doypacks-layout .detailpage.default.sortiment .text {
	font-size: 14px;
	color: var(--doypacks-muted);
	line-height: 1.7;
}

body.doypacks-layout .detailpage.default.sortiment .button,
body.doypacks-layout .detailpage.default.sortiment .single_add_to_cart_button {
	background: var(--doypacks-accent);
	color: #ffffff;
	border-radius: 0;
	padding: 12px 26px;
	font-size: 14px;
	border: none;
	text-transform: none;
	box-shadow: none;
	margin-top: 10px;
	display: inline-block;
}

body.doypacks-layout .detailpage.default.sortiment .button:hover,
body.doypacks-layout .detailpage.default.sortiment .single_add_to_cart_button:hover {
	background: var(--doypacks-accent-dark);
	color: #ffffff;
}

/* Gallery */
body.doypacks-layout .doypacks-gallery {
	text-align: center;
}

body.doypacks-layout .doypacks-gallery-main img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 14px;
}

body.doypacks-layout .doypacks-gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

body.doypacks-layout .doypacks-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

/* Packaging details */
body.doypacks-layout .detailpage.sortiment_details {
	padding: 30px 0 60px;
}

body.doypacks-layout .detailpage.sortiment_details h2 {
	text-align: center;
	color: var(--doypacks-accent);
	font-size: 26px;
	margin: 0 0 30px;
}

/* Product title accents */
body.doypacks-layout .product_title,
body.doypacks-layout .wd-product-title,
body.doypacks-layout .wd-entities-title,
body.doypacks-layout .woocommerce-product-details__short-description a {
	color: var(--doypacks-accent);
}

body.doypacks-layout .detailpage.sortiment_details h3 {
	font-size: 42px;
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 16px;
	color: var(--doypacks-text);
}

body.doypacks-layout .detailpage.sortiment_details .h5 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 10px;
	color: var(--doypacks-text);
}

body.doypacks-layout .detailpage.sortiment_details .item {
	margin-bottom: 26px;
}

body.doypacks-layout .detailpage.sortiment_details ul {
	margin: 0;
	padding-left: 18px;
	color: var(--doypacks-muted);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.6;
}

body.doypacks-layout .detailpage.sortiment_details ul li {
	font-size: 18px;
	font-weight: 300;
}

body.doypacks-layout .detailpage.sortiment_details ul li::marker {
	color: var(--doypacks-accent);
}

body.doypacks-layout .special {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	border: none;
	padding: 0;
}

body.doypacks-layout .doypacks-detail-card {
	border: 1px solid #cfcfcf;
	border-radius: 12px;
	padding: 18px 16px;
	background: #fff;
}

body.doypacks-layout .doypacks-detail-card-title {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 10px;
}

body.doypacks-layout .doypacks-card-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.doypacks-layout .doypacks-card-list li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.35;
	color: #3f3f3f;
}

body.doypacks-layout .doypacks-card-list li:last-child {
	margin-bottom: 0;
}

body.doypacks-layout .doypacks-card-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 20px;
	height: 20px;
}

body.doypacks-layout .doypacks-card-list li.has-custom-icon::before {
	display: none;
}

body.doypacks-layout .doypacks-card-icon {
	position: absolute;
	left: 0;
	top: 0.22em;
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.doypacks-layout .doypacks-card-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

body.doypacks-layout .doypacks-card-item-link,
body.doypacks-layout .doypacks-card-icon-link {
	color: inherit;
	text-decoration: none;
}

body.doypacks-layout .doypacks-card-item-link:hover,
body.doypacks-layout .doypacks-card-icon-link:hover {
	color: var(--doypacks-accent);
}

body.doypacks-layout .doypacks-card-list--suitable li::before {
	border-radius: 4px;
	background: #c00662;
}

body.doypacks-layout .doypacks-card-list--suitable li:nth-child(1)::before {
	border-radius: 50%;
	background: radial-gradient(circle at 32% 32%, #ff5aa0 0%, #c00662 72%);
}

body.doypacks-layout .doypacks-card-list--suitable li:nth-child(2)::before {
	background: linear-gradient(140deg, #da2f84 0%, #b10058 100%);
}

body.doypacks-layout .doypacks-card-list--suitable li:nth-child(3)::before {
	border-radius: 50% 50% 40% 40%;
	background: linear-gradient(180deg, #d81a76 0%, #a50052 100%);
}

body.doypacks-layout .doypacks-card-list--suitable li:nth-child(4)::before {
	border-radius: 50% 50% 50% 0;
	transform: rotate(-35deg);
	background: linear-gradient(160deg, #e24b95 0%, #b00058 100%);
}

body.doypacks-layout .doypacks-card-list--available li::before {
	border-radius: 50%;
}

body.doypacks-layout .doypacks-card-list--available li:nth-child(1)::before {
	background: radial-gradient(circle at 30% 30%, #d8d8d8 0%, #8f8f8f 46%, #595959 100%);
}

body.doypacks-layout .doypacks-card-list--available li:nth-child(2)::before {
	background: radial-gradient(circle at 30% 30%, #d9b277 0%, #b38645 60%, #8b6534 100%);
}

body.doypacks-layout .doypacks-card-list--available li:nth-child(3)::before {
	background:
		radial-gradient(circle, rgba(0, 0, 0, 0.08) 1px, rgba(255, 255, 255, 0) 1px),
		#efefef;
	background-size: 4px 4px, auto;
	border: 1px solid #e0e0e0;
}

body.doypacks-layout .doypacks-list-compact {
	font-size: inherit;
}

body.doypacks-layout .doypacks-certificates {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	align-items: center;
}

body.doypacks-layout .doypacks-certificate {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
}

body.doypacks-layout .doypacks-certificate img {
	max-height: 42px;
	width: auto;
}

body.doypacks-layout .doypacks-certificate-text {
	color: var(--doypacks-muted);
	font-size: 12px;
	text-align: center;
}

/* Hide WooCommerce blocks not used in this layout */
body.doypacks-layout .woocommerce-breadcrumb,
body.doypacks-layout .wd-products-nav,
body.doypacks-layout .product_meta,
body.doypacks-layout .woocommerce-product-rating,
body.doypacks-layout .woocommerce-review-link,
body.doypacks-layout .upsells,
body.doypacks-layout .related {
	display: none;
}

@media (max-width: 991px) {
	body.doypacks-layout .header_content {
		min-height: 220px;
	}

	body.doypacks-layout .doypacks-gallery-thumbs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.doypacks-layout .detailpage.sortiment_details h3 {
		font-size: 32px;
	}

	body.doypacks-layout .doypacks-card-list li {
		font-size: 15px;
	}

	body.doypacks-layout .special {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	body.doypacks-layout .container,
	body.doypacks-layout .header_content_inner {
		padding: 0 20px;
	}

	body.doypacks-layout .header_content .title {
		font-size: 40px;
	}

	body.doypacks-layout .header_content .subtitle {
		font-size: 20px;
		margin-top: 8px;
	}

	body.doypacks-layout .detailpage.default.sortiment .h2 {
		font-size: 24px;
	}

	body.doypacks-layout .doypacks-gallery-thumbs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.doypacks-layout .doypacks-certificates {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.doypacks-layout .detailpage.sortiment_details h3 {
		font-size: 26px;
	}

	body.doypacks-layout .doypacks-card-list li {
		font-size: 15px;
		padding-left: 28px;
	}

	body.doypacks-layout .doypacks-card-list li::before {
		width: 16px;
		height: 16px;
	}

	body.doypacks-layout .doypacks-card-icon {
		width: 16px;
		height: 16px;
	}
}

/* Layout refinements aligned with Repaq assortment detail pages. */
body.doypacks-layout {
	font-family: "Heebo", "Helvetica Neue", Arial, sans-serif;
}

body.doypacks-layout .detailpage.default.sortiment {
	padding: 22px 0 52px;
}

body.doypacks-layout .detailpage.default.sortiment .h2 {
	margin: 0 0 24px;
	font-size: 44px;
	line-height: 1.1;
	font-weight: 500;
}

body.doypacks-layout .detailpage.default.sortiment .h_subtitle {
	display: block;
	margin: 10px auto 0;
	max-width: 940px;
	color: var(--doypacks-muted);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.5;
}

body.doypacks-layout .detailpage.default.sortiment .intro .row {
	align-items: center;
}

body.doypacks-layout .detailpage.default.sortiment .text {
	font-size: 15px;
	line-height: 1.7;
}

body.doypacks-layout .detailpage.default.sortiment .text p {
	margin: 0 0 14px;
}

body.doypacks-layout .detailpage.default.sortiment .text p:last-child {
	margin-bottom: 0;
}

body.doypacks-layout .doypacks-cta {
	margin-top: 18px;
}

body.doypacks-layout .detailpage.default.sortiment .button,
body.doypacks-layout .detailpage.default.sortiment .single_add_to_cart_button {
	padding: 13px 28px;
	border-radius: 0;
	font-weight: 500;
	letter-spacing: 0.01em;
}

body.doypacks-layout .doypacks-gallery-main img {
	border-radius: 8px;
	background: #f8f8f8;
}

body.doypacks-layout .doypacks-thumb img {
	border: 1px solid #e4e4e4;
	border-radius: 6px;
}

body.doypacks-layout .detailpage.sortiment_details {
	padding: 44px 0 64px;
}

body.doypacks-layout .detailpage.sortiment_details h2 {
	margin: 0 0 34px;
	font-size: 42px;
	font-weight: 500;
	line-height: 1.12;
}

body.doypacks-layout .detailpage.sortiment_details h3 {
	font-size: 36px;
	line-height: 1.12;
	font-weight: 500;
}

body.doypacks-layout .detailpage.sortiment_details .h5 {
	font-size: 21px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 14px;
}

body.doypacks-layout .detailpage.sortiment_details ul {
	padding-left: 20px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
}

body.doypacks-layout .detailpage.sortiment_details ul li {
	margin-bottom: 4px;
	font-size: 16px;
}

body.doypacks-layout .special {
	gap: 18px;
}

body.doypacks-layout .doypacks-special-col {
	border: 1px solid #d8d8d8;
	border-radius: 14px;
	background: #ffffff;
	padding: 18px 16px;
}

body.doypacks-layout .doypacks-icon-wall {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

body.doypacks-layout .doypacks-wall-item {
	border: 1px solid #ececec;
	border-radius: 10px;
	background: #fbfbfb;
	min-height: 108px;
}

body.doypacks-layout .doypacks-wall-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 100%;
	padding: 10px 8px;
	color: inherit;
	text-decoration: none;
}

body.doypacks-layout .doypacks-wall-item > .doypacks-wall-image,
body.doypacks-layout .doypacks-wall-item > .doypacks-wall-title {
	display: flex;
	align-items: center;
	justify-content: center;
}

body.doypacks-layout .doypacks-wall-item > .doypacks-wall-image {
	width: 44px;
	height: 44px;
	margin: 12px auto 8px;
}

body.doypacks-layout .doypacks-wall-item > .doypacks-wall-title {
	padding: 0 8px 14px;
	text-align: center;
}

body.doypacks-layout .doypacks-wall-image {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	overflow: hidden;
}

body.doypacks-layout .doypacks-wall-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

body.doypacks-layout .doypacks-wall-image--placeholder {
	background: linear-gradient(135deg, #f0f0f0 0%, #d8d8d8 100%);
}

body.doypacks-layout .doypacks-wall-title {
	color: #444444;
	text-align: center;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
}

body.doypacks-layout .doypacks-wall-link:hover .doypacks-wall-title {
	color: var(--doypacks-accent);
}

body.doypacks-layout .doypacks-certificates {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

body.doypacks-layout .doypacks-certificate {
	border: 1px solid #ededed;
	border-radius: 10px;
	background: #fff;
	min-height: 72px;
	padding: 10px;
}

body.doypacks-layout .doypacks-certificate img {
	max-height: 46px;
}

@media (max-width: 1199px) {
	body.doypacks-layout .detailpage.default.sortiment .h2 {
		font-size: 38px;
	}

	body.doypacks-layout .detailpage.sortiment_details h2 {
		font-size: 36px;
	}

	body.doypacks-layout .detailpage.sortiment_details h3 {
		font-size: 30px;
	}
}

@media (max-width: 991px) {
	body.doypacks-layout .detailpage.default.sortiment {
		padding-bottom: 44px;
	}

	body.doypacks-layout .detailpage.default.sortiment .h2 {
		font-size: 34px;
	}

	body.doypacks-layout .detailpage.default.sortiment .h_subtitle {
		font-size: 17px;
	}

	body.doypacks-layout .doypacks-icon-wall {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.doypacks-layout .detailpage.sortiment_details h3 {
		font-size: 28px;
	}
}

@media (max-width: 767px) {
	body.doypacks-layout .detailpage.default.sortiment {
		padding: 16px 0 34px;
	}

	body.doypacks-layout .detailpage.default.sortiment .h2 {
		font-size: 28px;
		margin-bottom: 18px;
	}

	body.doypacks-layout .detailpage.default.sortiment .h_subtitle {
		font-size: 16px;
	}

	body.doypacks-layout .detailpage.sortiment_details {
		padding: 32px 0 46px;
	}

	body.doypacks-layout .detailpage.sortiment_details h2 {
		font-size: 30px;
		margin-bottom: 22px;
	}

	body.doypacks-layout .detailpage.sortiment_details h3 {
		font-size: 24px;
	}

	body.doypacks-layout .detailpage.sortiment_details ul,
	body.doypacks-layout .detailpage.sortiment_details ul li {
		font-size: 15px;
	}
}
