/* The first page (board F): loaded only there, on top of theme.css. */

/* ---------- Hero (variant B, 03.11.2026): white, navy text, the yellow main button, the picture
   of real products with a sample logo on the soft cobalt panel, the "Macheta ta" label over it ---------- */

.op-hero {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--text);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.op-hero__in {
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 40px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 608px);
	gap: 32px 48px;
	align-items: center;
}

.op-hero h1 {
	margin: 0;
	max-width: 640px;
	font-size: clamp(36px, 3.8vw, 52px);
	line-height: 1.05;
	color: var(--wp--preset--color--ink);
	text-wrap: balance;
}

.op-hero__lead {
	margin: 20px 0 0;
	max-width: 520px;
	font-size: 18px;
}

.op-hero__ctas {
	margin: 26px 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
}

.op-cta-main {
	min-height: 54px;
	padding: 0 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
}

.op-cta-main:hover {
	background: var(--wp--preset--color--accent-dark);
	color: var(--wp--preset--color--ink);
}

.op-hero__link,
.op-hero__link:hover {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	text-underline-offset: 4px;
}

.op-hero__meta {
	margin: 14px 0 0;
	font-size: 14px;
	color: var(--wp--preset--color--text-2);
}

/* The picture keeps its box before it loads (width/height + aspect-ratio): no layout shift. */
.op-hero__scene {
	position: relative;
	margin: 0;
}

.op-hero__scene picture {
	display: block;
}

.op-hero__picture {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 608 / 486;
	border-radius: 22px;
	background: var(--wp--preset--color--primary-soft);
}

.op-hero__chip {
	position: absolute;
	left: 4%;
	top: 5%;
	display: grid;
	gap: 2px;
	max-width: 46%;
	padding: 10px 14px;
	border-radius: 12px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 8px 20px rgba(13, 27, 61, 0.12);
	font-size: 13px;
	line-height: 1.35;
	color: var(--wp--preset--color--text-2);
}

.op-hero__chip-k {
	color: var(--wp--preset--color--primary);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.op-hero__chip a {
	color: inherit;
}

.op-hero__chip strong {
	margin-top: 2px;
	font-size: 15px;
	color: var(--wp--preset--color--ink);
}

/* ---------- "Cere o ofertă": op-core's request form in a dialog ---------- */

.op-rq {
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	box-sizing: border-box;
	padding: 28px;
	border: 0;
	border-radius: 10px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--text);
}

.op-rq::backdrop {
	background: rgba(13, 27, 61, 0.55);
}

.op-rq h2 {
	margin: 0 40px 6px 0;
	font-size: var(--wp--preset--font-size--x-large);
}

.op-rq__intro {
	margin: 0 0 18px;
	color: var(--wp--preset--color--text-2);
}

.op-rq__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 6px;
	background: none;
	font-size: 28px;
	line-height: 1;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}

.op-rq__form {
	display: grid;
	gap: 14px;
}

.op-rq__field {
	display: grid;
	gap: 6px;
}

.op-rq__field label {
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}

.op-rq__field input:not([type="file"]),
.op-rq__field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1.5px solid var(--wp--preset--color--line-strong);
	border-radius: 6px;
	font: inherit;
	background: var(--wp--preset--color--white);
}

.op-rq__note,
.op-rq__status {
	margin: 0;
	font-size: 14px;
	color: var(--wp--preset--color--text-2);
}

.op-rq__trap {
	position: absolute;
	left: -9999px;
}

.op-rq .op-cta-main {
	border: 0;
	cursor: pointer;
	width: 100%;
}

.op-rq__done {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--wp--preset--color--success);
}

/* ---------- Sections ---------- */

.op-home__in {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

.op-hsec {
	margin-top: 96px;
}

.op-hsec--two {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 40px 56px;
	align-items: start;
}

.op-hsec--last {
	padding-bottom: 104px;
}

.op-hsec h2 {
	margin: 0 0 24px;
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.12;
}

.op-hsec__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 24px;
}

.op-hsec__head h2 {
	margin: 0;
}

.op-hsec__head a {
	font-weight: 700;
}

/* From the mock-up to the parcel */

.op-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 2fr 1.4fr;
	border-top: 3px solid var(--wp--preset--color--primary);
}

.op-steps li {
	padding: 16px 20px 0;
	border-right: 1px solid var(--wp--preset--color--line);
}

.op-steps li:first-child {
	padding-left: 0;
}

.op-steps li:last-child {
	border-right: 0;
	padding-right: 0;
}

.op-steps strong {
	display: block;
	margin-top: 4px;
	color: var(--wp--preset--color--ink);
}

.op-steps__when {
	display: block;
	font-size: 14px;
	font-weight: 600;
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--primary);
}

.op-steps__what {
	color: var(--wp--preset--color--text-2);
}

/* Categories */

.op-cats {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
	gap: 28px 20px;
}

.op-cats a {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
}

.op-cats__img {
	display: block;
	aspect-ratio: 1 / 1;
	padding: 12px;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
}

.op-cats__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.op-cats__name {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
}

.op-cats a:hover .op-cats__name {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.op-cats__sub {
	margin-top: -6px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--wp--preset--color--text-2);
}

/* Products companies order often */

.op-hprods {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: 16px;
}

.op-hprods > li {
	display: flex;
}

.op-hprod {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
}

.op-hprod img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.op-hprod h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.3;
}

/* The whole card opens the product; the name stays the only link. */
.op-hprod h3 a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.op-hprod h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 10px;
}

.op-hprod:hover h3 a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.op-hprod p {
	margin: 2px 0 0;
	font-size: 14px;
}

.op-hprod__sku {
	color: var(--wp--preset--color--text-2);
}

.op-hprod__price {
	margin-top: auto !important;
}

.op-hprod__price .op-num {
	font-size: 20px;
	font-weight: 800;
	color: var(--wp--preset--color--ink);
}

.op-hprod__price span + span {
	display: block;
	font-size: 13px;
	color: var(--wp--preset--color--text-2);
}

/* Christmas, occasions, budgets */

.op-xmas {
	min-height: 280px;
	padding: 40px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	border-radius: 10px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.op-xmas:hover {
	color: var(--wp--preset--color--white);
}

.op-xmas:focus-visible {
	outline-color: var(--wp--preset--color--primary);
}

.op-xmas__eyebrow {
	font-size: 15px;
	color: var(--wp--preset--color--primary-line);
}

.op-xmas__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.op-xmas__link {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	color: var(--wp--preset--color--accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.op-hsec--two h2 {
	margin-bottom: 8px;
}

.op-occ {
	margin: 0;
	padding: 0;
	list-style: none;
}

.op-occ li {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.op-occ a {
	min-height: 60px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2px 16px;
	padding: 8px 0;
	box-sizing: border-box;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 18px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.op-occ a:hover {
	color: var(--wp--preset--color--primary);
}

.op-occ span {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	font-size: 15px;
	color: var(--wp--preset--color--text-2);
}

.op-budgets {
	margin: 20px 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 20px;
	font-size: 15px;
}

.op-budgets span {
	color: var(--wp--preset--color--text-2);
}

.op-budgets a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	font-weight: 600;
}

/* Account manager and questions */

.op-help {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	padding: 28px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
}

.op-help__photo {
	flex: none;
	width: 140px;
	aspect-ratio: 1;
	height: auto;
	object-fit: cover;
	border-radius: 6px;
}

.op-help > div {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.op-hsec .op-help h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-large);
}

.op-help p {
	margin: 0;
}

.op-help__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
}

.op-help__ctas a:not(.op-btn) {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	font-weight: 600;
}

.op-faq {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.op-faq summary {
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-weight: 600;
	font-size: 17px;
	color: var(--wp--preset--color--ink);
}

.op-faq__sign {
	font-size: 22px;
	font-weight: 400;
	color: var(--wp--preset--color--primary);
	transition: transform 200ms ease;
}

.op-faq[open] .op-faq__sign {
	transform: rotate(45deg);
}

.op-faq p {
	margin: 0 0 16px;
}

@media (prefers-reduced-motion: reduce) {
	.op-faq__sign {
		transition: none;
	}
}

@media (max-width: 899px) {
	.op-hero__in {
		grid-template-columns: 1fr;
		padding: 18px 16px 20px;
		gap: 16px;
	}

	.op-hero h1 {
		font-size: 30px;
		line-height: 1.1;
	}

	.op-hero__lead {
		margin-top: 10px;
		font-size: 16px;
	}

	.op-hero__ctas {
		margin-top: 14px;
		gap: 8px 22px;
	}

	.op-cta-main {
		min-height: 50px;
	}

	.op-hero__meta {
		margin-top: 8px;
		font-size: 13px;
	}

	.op-hero__picture {
		aspect-ratio: 358 / 224;
		border-radius: 16px;
	}

	/* Smaller, in the top-left corner: the tote and its logo stay visible. */
	.op-hero__chip {
		left: 8px;
		top: 8px;
		max-width: none;
		white-space: nowrap;
		padding: 6px 8px;
		border-radius: 8px;
		font-size: 10.5px;
		line-height: 1.3;
		gap: 0;
	}

	.op-hero__chip-k {
		font-size: 9.5px;
	}

	.op-hero__chip-what {
		display: none;
	}

	.op-hero__chip strong {
		margin-top: 1px;
		font-size: 11.5px;
	}

	.op-home__in {
		padding: 0 16px;
	}

	.op-hsec {
		margin-top: 64px;
	}

	.op-hsec--last {
		padding-bottom: 72px;
	}

	.op-hsec h2 {
		font-size: 28px;
	}

	.op-steps {
		grid-template-columns: 1fr;
	}

	.op-steps li,
	.op-steps li:first-child {
		padding: 14px 0;
		border-right: 0;
		border-bottom: 1px solid var(--wp--preset--color--line);
	}

	.op-cats,
	.op-hprods {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
	}

	.op-cats__img {
		padding: 8px;
	}

	.op-cats__name {
		font-size: 15px;
	}

	.op-cats__sub {
		font-size: 13px;
	}

	.op-hprod {
		padding: 10px;
		gap: 8px;
	}

	.op-hprod h3 {
		font-size: 15px;
	}

	.op-hprod__price .op-num {
		font-size: 17px;
	}

	.op-occ a {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
	}

	.op-xmas {
		min-height: 220px;
		padding: 28px 24px;
	}

	.op-help {
		flex-direction: column;
		padding: 22px;
	}
}
