/** Barvystik additional styles. */

.barvystik-container {
	width: min(1120px, calc(100% - 32px));
	margin-inline: auto;
}

.barvystik-hero {
	padding: 72px 0 56px;
	background: #fff7f1;
	color: #222222;
}

.barvystik-hero .barvystik-container {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	gap: 40px;
	align-items: center;
}

.barvystik-eyebrow {
	margin: 0 0 12px;
	color: #007c89;
	font-size: 0.88rem;
	font-weight: 700;
	text-transform: uppercase;
}

.barvystik-hero h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(2.4rem, 6vw, 4.8rem);
	line-height: 1;
}

.barvystik-hero p {
	max-width: 620px;
	margin: 20px 0 0;
	font-size: 1.15rem;
	line-height: 1.6;
}

.barvystik-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.barvystik-button,
.barvystik-button:visited {
	border: 2px solid #222222;
	border-radius: 999px;
	background: #222222;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.barvystik-button:hover,
.barvystik-button:focus {
	background: #ff5a8a;
	border-color: #ff5a8a;
	color: #222222;
}

.barvystik-button--ghost,
.barvystik-button--ghost:visited {
	background: transparent;
	color: #222222;
}

.barvystik-hero__panel {
	position: relative;
	min-height: 360px;
	border: 3px solid #222222;
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgb(255 255 255 / 70%), rgb(255 255 255 / 30%)),
		repeating-linear-gradient(45deg, #ffffff, #ffffff 14px, #ffe1cc 14px, #ffe1cc 28px);
	box-shadow: 12px 12px 0 #222222;
}

.barvystik-sticker {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	min-height: 58px;
	padding: 12px 20px;
	border: 2px solid #222222;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 6px 6px 0 rgb(34 34 34 / 18%);
	font-weight: 800;
	text-align: center;
}

.barvystik-sticker--one {
	top: 48px;
	left: 36px;
	background: #d8f3dc;
	transform: rotate(-8deg);
}

.barvystik-sticker--two {
	right: 34px;
	top: 142px;
	background: #bde0fe;
	transform: rotate(7deg);
}

.barvystik-sticker--three {
	bottom: 54px;
	left: 82px;
	background: #ffd166;
	transform: rotate(-3deg);
}

.barvystik-section {
	padding: 56px 0;
}

.barvystik-section--muted {
	background: #f3fbf8;
}

.barvystik-section__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.barvystik-section h2 {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.barvystik-section p {
	max-width: 560px;
	margin: 8px 0 0;
	line-height: 1.6;
}

.barvystik-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.barvystik-category-grid a {
	display: flex;
	min-height: 132px;
	align-items: end;
	padding: 20px;
	border: 2px solid #222222;
	border-radius: 8px;
	background: #ffffff;
	color: #222222;
	font-size: 1.1rem;
	font-weight: 800;
	text-decoration: none;
}

.barvystik-category-grid a:hover,
.barvystik-category-grid a:focus {
	background: #ffd166;
	color: #222222;
}

.barvystik-text-link {
	color: #222222;
	font-weight: 800;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.barvystik-shop-preview ul.products,
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.barvystik-shop-preview ul.products::before,
.barvystik-shop-preview ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.barvystik-shop-preview ul.products li.product,
.woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 16px;
	border: 2px solid #222222;
	border-radius: 8px;
	background: #ffffff;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: #222222;
	font-size: 1.05rem;
	font-weight: 800;
}

.woocommerce ul.products li.product .price {
	color: #007c89;
	font-weight: 800;
}

.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	border-radius: 999px;
	background: #222222;
	color: #ffffff;
	font-weight: 800;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background: #ff5a8a;
	color: #222222;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	border-top-color: #ff5a8a;
	background: #fff7f1;
	color: #222222;
}

.barvystik-split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.barvystik-form-wrap {
	max-width: 860px;
	margin: 32px 0;
}

.barvystik-custom-order-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding: 24px;
	border: 2px solid #222222;
	border-radius: 8px;
	background: #ffffff;
}

.barvystik-custom-order-form p {
	margin: 0;
}

.barvystik-custom-order-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 800;
}

.barvystik-custom-order-form input,
.barvystik-custom-order-form select,
.barvystik-custom-order-form textarea {
	width: 100%;
	border: 2px solid #222222;
	border-radius: 8px;
	background: #ffffff;
}

.barvystik-form-field--wide {
	grid-column: 1 / -1;
}

.barvystik-notice {
	margin-bottom: 18px;
	padding: 14px 18px;
	border: 2px solid #222222;
	border-radius: 8px;
	font-weight: 800;
}

.barvystik-notice--success {
	background: #d8f3dc;
}

.barvystik-notice--error {
	background: #ffd6d6;
}

@media (max-width: 780px) {
	.barvystik-hero {
		padding-top: 48px;
	}

	.barvystik-hero .barvystik-container,
	.barvystik-category-grid,
	.barvystik-custom-order-form,
	.barvystik-shop-preview ul.products,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.barvystik-hero__panel {
		min-height: 300px;
		box-shadow: 8px 8px 0 #222222;
	}

	.barvystik-section__header,
	.barvystik-split {
		display: block;
	}

	.barvystik-split .barvystik-button {
		margin-top: 20px;
	}
}
