/* ==========================================================================
   WE Coffee — Kontakt i dane sprzedawcy

   Samodzielny wzorzec pełnej strony. Warstwa korzysta z semantycznych tokenów
   motywu, dzięki czemu dziedziczy paletę i typografię wariantu Editorial.
   ========================================================================== */

.wecoffee-contact-seller {
	--wecoffee-contact-shell: var(--wecoffee-content-width, 90rem);

	background: var(--wecoffee-color-background, #F6F3EA);
	color: var(--wecoffee-color-text, #17181E);
	margin-block: 0;
	overflow: hidden;
	overflow: clip;
}

.wecoffee-contact-seller :where(a) {
	overflow-wrap: anywhere;
	text-underline-offset: 0.18em;
}

.wecoffee-contact-seller__shell {
	margin-inline: auto;
	max-width: var(--wecoffee-contact-shell);
	width: 100%;
}

/* ---- Editorial opening ---- */

.wecoffee-contact-seller__hero {
	background: var(--wecoffee-color-primary, #17181E);
	color: var(--wecoffee-color-white, #FFFDF7);
	padding-block: clamp(4.5rem, 10vw, 8.5rem);
	padding-inline: var(--wecoffee-gutter, clamp(1rem, 4vw, 5rem));
}

.wecoffee-contact-seller__hero-grid {
	align-items: end;
	display: grid;
	gap: clamp(2.5rem, 7vw, 7rem);
}

.wecoffee-contact-seller__eyebrow,
.wecoffee-contact-seller__action-label,
.wecoffee-contact-seller__detail-label {
	font-family: var(--wecoffee-font-body, sans-serif);
	font-size: var(--wecoffee-text-caption, 0.75rem);
	font-weight: 650;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wecoffee-contact-seller__eyebrow {
	align-items: center;
	color: var(--wecoffee-color-surface-alt, #E8E4D9);
	display: flex;
	gap: 0.875rem;
	margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}

.wecoffee-contact-seller__eyebrow::before {
	background: currentColor;
	content: "";
	flex: 0 0 2.5rem;
	height: 1px;
}

.wecoffee-contact-seller .wecoffee-contact-seller__title {
	color: var(--wecoffee-color-white, #FFFDF7);
	font-family: var(--wecoffee-font-heading, Georgia, serif);
	font-size: clamp(4rem, 10vw, 9rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.86;
	margin: 0;
	max-width: 8ch;
	text-wrap: balance;
}

.wecoffee-contact-seller__lead {
	color: var(--wecoffee-color-surface-alt, #E8E4D9);
	font-size: clamp(1rem, 1.4vw, 1.1875rem);
	line-height: 1.7;
	margin: clamp(1.75rem, 4vw, 3rem) 0 0;
	max-width: 42rem;
}

.wecoffee-contact-seller__quick-actions {
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	display: grid;
}

.wecoffee-contact-seller__action {
	border-bottom: 1px solid rgba(255, 255, 255, 0.24);
	display: grid;
	gap: 0.4rem;
	padding-block: 1.25rem;
}

.wecoffee-contact-seller__action-label {
	color: var(--wecoffee-color-surface-alt, #E8E4D9);
	margin: 0;
}

.wecoffee-contact-seller__action-value {
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	font-weight: 600;
	line-height: 1.45;
	margin: 0;
}

.wecoffee-contact-seller__action-value a {
	color: var(--wecoffee-color-white, #FFFDF7);
	display: inline-flex;
	min-height: 2.75rem;
	padding-block: 0.45rem;
	text-decoration-thickness: 1px;
}

.wecoffee-contact-seller__action-value a:hover {
	color: var(--wecoffee-color-surface-alt, #E8E4D9);
}

/* ---- Content rhythm ---- */

.wecoffee-contact-seller__content {
	padding-inline: var(--wecoffee-gutter, clamp(1rem, 4vw, 5rem));
}

.wecoffee-contact-seller__section {
	border-bottom: 1px solid var(--wecoffee-color-border, #C9C5BA);
	padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.wecoffee-contact-seller__section:last-child {
	border-bottom: 0;
}

.wecoffee-contact-seller__section-heading {
	display: grid;
	gap: 0.75rem;
	margin-bottom: clamp(2rem, 5vw, 3.75rem);
}

/* Keep content copied from earlier pattern versions visually consistent. */
.wecoffee-contact-seller__section-label {
	display: none;
}

.wecoffee-contact-seller:not(.wecoffee-contact-seller--streamlined)
	.wecoffee-contact-seller__details:not(.wecoffee-contact-seller__details--streamlined)
	> .wecoffee-contact-seller__detail:nth-child(2),
.wecoffee-contact-seller:not(.wecoffee-contact-seller--streamlined)
	.wecoffee-contact-seller__section--form,
.wecoffee-contact-seller:not(.wecoffee-contact-seller--streamlined)
	.wecoffee-contact-seller__section:has(> .wecoffee-contact-seller__form-copy) {
	display: none;
}

.wecoffee-contact-seller__section-heading h2,
.wecoffee-contact-seller__card h2 {
	color: var(--wecoffee-color-text, #17181E);
	font-family: var(--wecoffee-font-heading, Georgia, serif);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 0.98;
	margin: 0;
	text-wrap: balance;
}

.wecoffee-contact-seller__section-heading h2 {
	font-size: clamp(2.75rem, 6vw, 5.5rem);
	max-width: 12ch;
}

.wecoffee-contact-seller__section-heading > p:last-child {
	color: var(--wecoffee-color-text-muted, #5D5F68);
	font-size: var(--wecoffee-text-body, 1.0625rem);
	line-height: 1.7;
	margin: 0;
	max-width: 42rem;
}

.wecoffee-contact-seller__grid {
	align-items: stretch;
	display: grid;
	gap: clamp(1rem, 2.5vw, 2rem);
}

.wecoffee-contact-seller__grid > .wecoffee-contact-seller__card {
	align-self: stretch;
	margin-block: 0;
}

.wecoffee-contact-seller__card {
	background: var(--wecoffee-color-surface, #FFFDF7);
	border: 1px solid var(--wecoffee-color-border, #C9C5BA);
	border-top: 3px solid var(--wecoffee-color-primary, #17181E);
	min-width: 0;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.wecoffee-contact-seller__card > :first-child {
	margin-top: 0;
}

.wecoffee-contact-seller__card > :last-child {
	margin-bottom: 0;
}

.wecoffee-contact-seller__card h2 {
	font-size: clamp(2rem, 3.5vw, 3.25rem);
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.wecoffee-contact-seller__card h3 {
	color: var(--wecoffee-color-text, #17181E);
	font-family: var(--wecoffee-font-body, sans-serif);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 1rem;
}

.wecoffee-contact-seller__card p,
.wecoffee-contact-seller__card li {
	line-height: 1.7;
}

.wecoffee-contact-seller__card p {
	margin-block: 0 1rem;
}

.wecoffee-contact-seller__card p > a,
.wecoffee-contact-seller__b2b-contact a {
	align-items: center;
	display: inline-flex;
	min-height: 2.75rem;
}

.wecoffee-contact-seller__details {
	display: grid;
	gap: 1.25rem;
}

.wecoffee-contact-seller__detail {
	border-top: 1px solid var(--wecoffee-color-border, #C9C5BA);
	padding-top: 1rem;
}

.wecoffee-contact-seller__detail:first-child {
	border-top: 0;
	padding-top: 0;
}

.wecoffee-contact-seller__detail .wecoffee-contact-seller__detail-label {
	color: var(--wecoffee-color-text-muted, #5D5F68);
	margin: 0 0 0.35rem;
}

.wecoffee-contact-seller__detail .wecoffee-contact-seller__detail-value {
	color: var(--wecoffee-color-text, #17181E);
	margin: 0;
}

.wecoffee-contact-seller__address {
	font-style: normal;
}

.wecoffee-contact-seller__list {
	margin: 1.25rem 0 0;
	padding-left: 1.35rem;
}

.wecoffee-contact-seller__list li + li {
	margin-top: 0.625rem;
}

.wecoffee-contact-seller__notice {
	background: var(--wecoffee-color-surface-alt, #E8E4D9);
	border-left: 3px solid var(--wecoffee-color-primary, #17181E);
	margin-top: 1.5rem;
	padding: 1rem 1.25rem;
}

.wecoffee-contact-seller__notice p {
	margin: 0;
}

/* ---- Resource links and B2B ---- */

.wecoffee-contact-seller__link-list {
	border-top: 1px solid var(--wecoffee-color-border, #C9C5BA);
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
}

.wecoffee-contact-seller__link-list li {
	border-bottom: 1px solid var(--wecoffee-color-border, #C9C5BA);
	margin: 0;
}

.wecoffee-contact-seller__link-list a {
	align-items: center;
	color: var(--wecoffee-color-text, #17181E);
	display: flex;
	font-weight: 650;
	gap: 1rem;
	justify-content: space-between;
	min-height: 3.5rem;
	padding-block: 0.75rem;
	text-decoration: none;
}

.wecoffee-contact-seller__link-list a::after {
	content: "→";
	flex: 0 0 auto;
	font-size: 1.125rem;
}

.wecoffee-contact-seller__link-list a:hover {
	color: var(--wecoffee-color-primary-hover, #30313A);
	text-decoration: underline;
}

.wecoffee-contact-seller__b2b {
	background: var(--wecoffee-color-primary, #17181E);
	border-color: var(--wecoffee-color-primary, #17181E);
	color: var(--wecoffee-color-white, #FFFDF7);
}

.wecoffee-contact-seller .wecoffee-contact-seller__b2b h2 {
	background: transparent;
	color: var(--wecoffee-color-white, #FFFDF7);
}

.wecoffee-contact-seller .wecoffee-contact-seller__b2b h3,
.wecoffee-contact-seller .wecoffee-contact-seller__b2b a {
	color: var(--wecoffee-color-white, #FFFDF7);
}

.wecoffee-contact-seller__b2b .wecoffee-contact-seller__link-list,
.wecoffee-contact-seller__b2b .wecoffee-contact-seller__link-list li {
	border-color: rgba(255, 255, 255, 0.24);
}

.wecoffee-contact-seller__b2b .wecoffee-contact-seller__link-list a:hover {
	color: var(--wecoffee-color-surface-alt, #E8E4D9);
}

.wecoffee-contact-seller__hero a:focus-visible,
.wecoffee-contact-seller__b2b a:focus-visible {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.24);
	outline: 2px solid var(--wecoffee-color-white, #FFFDF7);
	outline-offset: 3px;
}

.wecoffee-contact-seller__b2b-contact {
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	display: grid;
	gap: 0.5rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
}

.wecoffee-contact-seller__b2b-contact p {
	margin: 0;
}

/* ---- Responsive composition ---- */

@media (min-width: 782px) {
	.wecoffee-contact-seller__hero-grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
	}

	.wecoffee-contact-seller__section-heading {
		grid-template-columns: minmax(10rem, 0.36fr) minmax(0, 1fr);
	}

	.wecoffee-contact-seller__section-heading > * {
		grid-column: 2;
	}

	.wecoffee-contact-seller__grid--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wecoffee-contact-seller__grid--operations {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.wecoffee-contact-seller__grid--operations {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.wecoffee-contact-seller__hero {
		padding-block: 3.75rem;
	}

	.wecoffee-contact-seller__title {
		font-size: clamp(3.5rem, 20vw, 5.75rem);
	}

	.wecoffee-contact-seller__section {
		padding-block: 3.5rem;
	}
}
