/* =========================================================
   Stupid Clothes Brand – base, header, menú i footer
   ========================================================= */
/* ---------- Base mínima (substitueix el reset de Hello) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.15; }
h1, h2, h3, h4, h5, h6 { margin-top: .5rem; margin-bottom: 1rem; font-weight: 500; line-height: 1.2; }
p { margin-top: 0; margin-bottom: .9rem; }
img { height: auto; border-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* ---------- Missatges d'error: pastilla vermella ---------- */
.scb-error,
.scb-opt__error,
.scb-news__msg.is-error {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	max-width: 100%;
	margin: 10px 0 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: #d92d20;
	color: #fff;
	font: 500 12px/16px var(--scb-mono);
	animation: scb-shake 320ms var(--scb-ease);
}
.scb-error::before,
.scb-opt__error::before,
.scb-news__msg.is-error::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: #fff; color: #d92d20; font-weight: 600; font-size: 10px; line-height: 1; }
.scb-news__msg.is-error { justify-self: center; }
@keyframes scb-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .scb-error, .scb-opt__error, .scb-news__msg.is-error { animation: none; } }
@media (max-width: 767px) { .scb-news__msg.is-error { justify-self: start; } }
:root {
	--scb-ink: #2c2c2c;
	--scb-yellow: #fff624;
	--scb-paper: #f4f4f4;
	--scb-ph: #eaeaea;
	--scb-white: #ffffff;
	--scb-line: rgba(44, 44, 44, .12);
	--scb-line-soft: rgba(44, 44, 44, .08);
	--scb-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--scb-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--scb-gutter: 60px;
	--scb-max: 1320px;
	--scb-ease: cubic-bezier(.23, 1, .32, 1);
}
@media (max-width: 767px) { :root { --scb-gutter: 16px; } }

html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--scb-white);
	color: var(--scb-ink);
	font-family: var(--scb-sans);
	font-size: 14px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--scb-ink); outline-offset: 2px; }
.scb-eyebrow {
	margin: 0;
	font: 400 11px/1.3 var(--scb-mono);
	text-transform: uppercase;
	letter-spacing: .02em;
}
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Barra d'avís ---------- */
.scb-notice {
	background: var(--scb-ink);
	color: var(--scb-white);
	padding: 5px var(--scb-gutter);
	text-align: center;
	font: 400 13px/17.29px var(--scb-mono);
}
.scb-notice p { margin: 0; }
.scb-notice__short { display: none; }
@media (max-width: 767px) {
	.scb-notice { padding: 6px var(--scb-gutter); font-size: 10px; line-height: 13px; }
	.scb-notice__long { display: none; }
	.scb-notice__short { display: inline; }
}

/* ---------- Header ---------- */
.scb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px var(--scb-gutter);
	background: var(--scb-white);
}
.admin-bar .scb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .scb-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .scb-header { top: 0; } }

.scb-header__logo { display: block; color: var(--scb-ink); line-height: 0; }
.scb-logo { display: block; width: 104px; height: 76px; }

.scb-nav__list { display: flex; margin: 0; padding: 0; list-style: none; }
.scb-nav__list a {
	display: block;
	padding: 8px 20px;
	font: 400 14px/20.4px var(--scb-sans);
	text-decoration: none;
	transition: background-color 160ms ease-out;
}
.scb-nav__list .current-menu-item > a,
.scb-nav__list .current_page_item > a,
.scb-nav__list .current-menu-ancestor > a { background: var(--scb-yellow); }
@media (hover: hover) and (pointer: fine) {
	.scb-nav__list li:not(.current-menu-item):not(.current_page_item) > a:hover { background: var(--scb-paper); }
}

.scb-burger,
.scb-menu__close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: -8px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.scb-burger:active, .scb-menu__close:active { transform: scale(.96); }

@media (max-width: 767px) {
	.scb-header { padding: 12px var(--scb-gutter); }
	.scb-logo { width: 75px; height: 55px; }
	.scb-nav { display: none; }
	.scb-burger { display: inline-flex; }
}

/* ---------- Menú mòbil ---------- */
html.scb-menu-open { overflow: hidden; }
.scb-menu {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	background: var(--scb-ink);
	color: var(--scb-white);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 200ms var(--scb-ease), transform 200ms var(--scb-ease);
}
.scb-menu[hidden] { display: none; }
.scb-menu.is-open { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .scb-menu { transform: none; transition: opacity 120ms linear; } }

.scb-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
}
.scb-menu__top .scb-header__logo { color: var(--scb-white); }
.scb-menu__top .scb-logo { width: 75px; height: 55px; }
.scb-menu__close { display: inline-flex; }

.scb-menu__list { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; padding: 40px 16px 0; list-style: none; }
.scb-menu__list a {
	display: inline-block;
	padding: 6px 10px 6px 0;
	font: 500 40px/48px var(--scb-sans);
	letter-spacing: -.02em;
	text-decoration: none;
}
.scb-menu__list .current-menu-item > a,
.scb-menu__list .current_page_item > a { padding-left: 10px; background: var(--scb-yellow); color: var(--scb-ink); }

.scb-menu__help { padding: 40px 16px 0; }
.scb-menu__help .scb-eyebrow { opacity: .55; }
.scb-menu__help ul { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.scb-menu__help a { font-size: 16px; line-height: 19px; text-decoration: none; }

.scb-menu__foot {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: auto;
	padding: 20px 16px 28px;
	border-top: 1px solid rgba(255, 255, 255, .15);
}
.scb-menu__foot p { margin: 0; }
.scb-menu__info { font: 400 12px/16px var(--scb-mono); opacity: .75; }
.scb-menu__social { display: flex; gap: 20px; font-size: 14px; line-height: 17px; }
.scb-menu__social a { text-decoration: none; }
.scb-menu__social span { opacity: .55; }
.scb-menu__sat { display: flex; gap: 12px; font: 400 11px/14px var(--scb-mono); opacity: .55; }
.scb-menu__sat span:last-child { font-weight: 500; }

.scb-menu__help { margin-bottom: 40px; }

/* ---------- Footer ---------- */
.scb-footer { padding: 0 var(--scb-gutter) 40px; }
.scb-footer__inner { max-width: var(--scb-max); margin: 0 auto; }

.scb-news {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 89px 20px;
	border-bottom: 1px solid var(--scb-line-soft);
	text-align: center;
}
.scb-news__title { margin: 0; font: 400 20px/24px var(--scb-sans); text-transform: uppercase; }
.scb-news__text { max-width: 540px; margin: 20px 0; font: 400 15px/19.95px var(--scb-mono); opacity: .75; }
.scb-news__form {
	display: grid;
	grid-template-columns: 360px 148px;
	column-gap: 32px;
	row-gap: 20px;
	width: 540px;
	max-width: 100%;
}
.scb-news__form input[type=email] {
	height: 42px;
	padding: 0 13px;
	border: 1px solid rgba(44, 44, 44, .5);
	border-radius: 0;
	background: var(--scb-white);
	color: var(--scb-ink);
	font: 400 13px/1 var(--scb-sans);
	letter-spacing: .84px;
}
.scb-news__form input[type=email]::placeholder { color: var(--scb-ink); opacity: .75; }
.scb-news__form button {
	height: 42px;
	padding: 0 24px;
	border: 0;
	border-radius: 0;
	background: var(--scb-yellow);
	color: var(--scb-ink);
	font: 700 13px/16.9px var(--scb-sans);
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 160ms ease-out;
}
.scb-news__form button:active { transform: scale(.97); }
.scb-news__consent {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 12px;
	line-height: 15px;
	cursor: pointer;
}
.scb-news__consent input { width: 14px; height: 14px; margin: 0; accent-color: var(--scb-ink); }
.scb-news__msg { grid-column: 1 / -1; margin: 0; font: 400 12px/16px var(--scb-mono); }

.scb-footer__main {
	display: flex;
	justify-content: space-between;
	padding: 64px 0 40px;
}
.scb-footer__cols { display: flex; flex: 0 1 948px; padding: 0 20px; gap: 1px; }
.scb-col { flex: 1 1 0; min-width: 0; }
.scb-col__title { margin: 0; font: 500 15px/18px var(--scb-sans); text-transform: uppercase; }
.scb-col ul { margin: 0; padding: 12px 15px 0 0; list-style: none; }
.scb-col li { font-size: 14px; line-height: 25.5px; opacity: .72; }
.scb-col a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .scb-col a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.scb-col s { text-decoration: line-through; }

.scb-seal {
	display: flex;
	align-items: center;
	gap: 28px;
	flex: 0 0 372px;
	padding-left: 46px;
	border-left: 1px solid var(--scb-line-soft);
	box-sizing: border-box;
}
.scb-seal img { flex: 0 0 102px; width: 102px; height: auto; }
.scb-seal__text p { margin: 0 0 14px; font-size: 13px; line-height: 17.29px; opacity: .75; }
.scb-seal__text a { font-weight: 500; font-size: 13px; text-underline-offset: 3px; }

.scb-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--scb-line);
}
.scb-footer__id { display: flex; align-items: center; gap: 40px; }
.scb-hq { display: flex; flex-direction: column; gap: 6px; }
.scb-hq p { margin: 0; }
.scb-hq__coords { display: inline-flex; align-items: center; gap: 8px; font: 400 13px/17px var(--scb-mono); text-underline-offset: 3px; }
.scb-hq__coords span { text-decoration: underline; }
.scb-hq__icon { width: 16px; height: 16px; flex: 0 0 16px; }
.scb-hq__fund { font: 600 14px/18px var(--scb-mono); letter-spacing: .04em; }
.scb-hq__copy { font: 400 11px/14px var(--scb-mono); }
.scb-pay { display: flex; align-items: center; gap: 8px; font: 400 11px/14px var(--scb-mono); }
.scb-pay__pills { display: flex; gap: 8px; }
.scb-pay__pills span { padding: 4px 10px; border: 1px solid rgba(44, 44, 44, .35); border-radius: 4px; font-weight: 500; }

@media (max-width: 1100px) {
	.scb-footer__main { flex-direction: column; gap: 40px; }
	.scb-footer__cols { flex-basis: auto; padding: 0; }
	.scb-seal { flex-basis: auto; padding-left: 0; border-left: 0; }
}
@media (max-width: 767px) {
	.scb-footer { padding-bottom: 32px; }
	.scb-news { padding: 56px 0; }
	.scb-news__form { grid-template-columns: 1fr; row-gap: 8px; width: 100%; }
	.scb-news__form input[type=email] { height: 44px; }
	.scb-news__consent { justify-content: flex-start; align-items: flex-start; margin-top: 12px; text-align: left; }
	.scb-news__consent input { margin-top: 1px; flex: 0 0 14px; }
	.scb-footer__main { padding: 56px 0 40px; }
	.scb-footer__cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 32px; }
	.scb-seal { align-items: flex-start; }
	.scb-footer__bar { flex-direction: column; align-items: flex-start; gap: 40px; }
	.scb-footer__id { flex-direction: column; align-items: flex-start; gap: 16px; }
	.scb-footer__id .scb-logo { width: 104px; height: 76px; }
	.scb-pay { flex-direction: column; align-items: flex-start; }
}

/* Segell paròdic */
.scb-badge { display: flex; flex: 0 0 102px; flex-direction: column; align-items: center; gap: 6px; width: 102px; font-family: Helvetica, Arial, sans-serif; font-weight: 700; color: var(--scb-ink); }
.scb-badge__top { font-size: 24px; line-height: 18px; }
.scb-badge img { display: block; width: 99px; height: 68px; }
.scb-badge__reg { align-self: stretch; margin: 0 1px -6px; font-size: 8px; line-height: 8px; text-align: right; }
.scb-badge__bar { display: block; width: 99px; height: 4px; background: var(--scb-ink); }
.scb-badge__bottom { font-size: 19.5px; line-height: 14.7px; letter-spacing: -.01em; }

/* Botons d'icona sempre neutres */
.scb-modal__close, .scb-burger, .scb-menu__close { background: none !important; border: 0 !important; color: inherit !important; border-radius: 0; }
.scb-modal__close:hover, .scb-burger:hover, .scb-menu__close:hover { opacity: .6; }
