/* Marcin: "Account created" page (CMS 38, shown to the new customer after registration; cms.tpl prints the
   content only when logged in) in the style of the sign in / registration pages, 10.11.2026. The HTML stays
   the CMS content from the BO (#account_created_landing_page, the four category banners of the old
   homepage) - this file only restyles it. Loaded from header.tpl on CMS 38 only. */

html body#cms.cms-38 #account_created_landing_page {
	margin: 0;
	padding: 32px 0 80px;
	text-align: center;
}

/* ---------- welcome ---------- */
/* a green check in a light circle above the title */
html body#cms.cms-38 .account_created_landing_page_title {
	margin: 24px 0 12px;
	padding: 0;
	color: #2b2b29;
	font-family: "Marcellus", serif;
	font-size: 40px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.15;
	text-transform: none;
}

html body#cms.cms-38 .account_created_landing_page_title::before {
	content: "";
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #eef2e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23414f34' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat;
}

html body#cms.cms-38 .account_created_landing_page_main_text {
	max-width: 560px;
	margin: 0 auto 28px;
	padding: 0;
	color: #6d6c67;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

/* buttons: "I access my account" the site's green button, "I start my shopping" the outlined one */
html body#cms.cms-38 .account_created_landing_page_buttons_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0 0 56px;
}

html body#cms.cms-38 .account_created_landing_page_buttons_container a.button_new_medium_green {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	height: 48px;
	/* !important: inline 15px margins in the CMS content */
	margin: 0 !important;
	padding: 0 24px;
	border: 1px solid #414f34;
	border-radius: 4px;
	background: #414f34;
	box-shadow: none;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

html body#cms.cms-38 .account_created_landing_page_buttons_container a.button_new_medium_green:hover,
html body#cms.cms-38 .account_created_landing_page_buttons_container a.button_new_medium_green:focus-visible {
	border-color: #2f3a25;
	background: #2f3a25;
	color: #fff;
}

html body#cms.cms-38 .account_created_landing_page_buttons_container a.button_new_medium_green + a.button_new_medium_green {
	border-color: #3c3c3b;
	background: #fff;
	color: #2b2b29;
}

html body#cms.cms-38 .account_created_landing_page_buttons_container a.button_new_medium_green + a.button_new_medium_green:hover,
html body#cms.cms-38 .account_created_landing_page_buttons_container a.button_new_medium_green + a.button_new_medium_green:focus-visible {
	border-color: #414f34;
	background: #f7f8f5;
	color: #414f34;
}

html body#cms.cms-38 .account_created_landing_page_buttons_container a span {
	margin-left: 0.3em;
}

/* ---------- categories: cards as the homepage tiles (picture, title, line of text) ---------- */
html body#cms.cms-38 .four_banners_container {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 32px 0 0;
	border-top: 1px solid #e3e3e3;
	text-align: left;
}

html body#cms.cms-38 .four_banners_container .four_banners_banner_container {
	float: none;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
}

html body#cms.cms-38 .four_banners_container .four_banners_banner_container .new_a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html body#cms.cms-38 .four_banners_container .four_banners_banner_container .new_a:hover {
	border-color: #d4d4d4;
	box-shadow: 0 12px 28px rgba(43, 43, 41, 0.08);
}

/* no dark veil over the picture */
html body#cms.cms-38 .four_banners_container .four_banners_banner_container .new_a::after {
	display: none;
}

html body#cms.cms-38 .four_banners_container .four_banners_banner_container img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html body#cms.cms-38 .four_banners_container .four_banners_banner_container .new_a:hover img {
	transform: scale(1.03);
}

/* the text under the picture instead of over it */
html body#cms.cms-38 .four_banners_text_container {
	position: static;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	/* the theme centres the overlay text */
	align-items: flex-start;
	justify-content: flex-start;
	gap: 6px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 16px 18px 20px;
	background: #fff;
	transform: none;
}

html body#cms.cms-38 .four_banners_container .four_banners_banner_container span.four_banners_title {
	display: block;
	margin: 0;
	padding: 0;
	color: #2b2b29;
	font-family: "Marcellus", serif;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.25;
	text-align: left;
	text-shadow: none;
	text-transform: none;
}

html body#cms.cms-38 .four_banners_container .four_banners_banner_container .new_a:hover span.four_banners_title {
	color: #414f34;
}

/* the theme hides the text until hover (max-height 0) - always shown here */
html body#cms.cms-38 .four_banners_container .four_banners_banner_container span.four_banners_text,
html body#cms.cms-38 .four_banners_container .four_banners_banner_container .new_a:hover span.four_banners_text {
	display: block;
	max-height: none;
	height: auto;
	margin: 0;
	padding: 0;
	overflow: visible;
	color: #6d6c67;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	line-height: 1.55;
	text-align: left;
	opacity: 1;
	text-shadow: none;
}

@media (max-width: 991px) {
	html body#cms.cms-38 #account_created_landing_page {
		padding: 20px 0 56px;
	}

	html body#cms.cms-38 .four_banners_container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 767px) {
	html body#cms.cms-38 .account_created_landing_page_title {
		margin-top: 12px;
		font-size: 32px;
	}

	html body#cms.cms-38 .account_created_landing_page_main_text {
		font-size: 15px;
	}

	html body#cms.cms-38 .account_created_landing_page_buttons_container {
		flex-direction: column;
		align-items: stretch;
		margin-bottom: 40px;
	}

	html body#cms.cms-38 .account_created_landing_page_buttons_container a.button_new_medium_green {
		min-width: 0;
	}

	html body#cms.cms-38 .four_banners_container {
		gap: 16px;
		padding-top: 24px;
	}

	html body#cms.cms-38 .four_banners_text_container {
		padding: 12px 14px 16px;
	}

	html body#cms.cms-38 .four_banners_container .four_banners_banner_container span.four_banners_title {
		font-size: 17px;
	}

	html body#cms.cms-38 .four_banners_container .four_banners_banner_container span.four_banners_text {
		font-size: 13px;
	}
}
