/* ==========================================================================
   BLANCO Store - stile principale
   Store ufficiale: carta crema, blu MA', Helvetica di sistema.
   ========================================================================== */

/* Variabili ------------------------------------------------------------- */
:root {
	--bl-blu: #2342a6;
	--bl-paper: #f3f0e8;
	--bl-ink: #ffffff;
	--bl-panel: #ffffff;
	--bl-grey: #8f98bf;
	--bl-grey-dark: #b3bad6;
	--bl-white: #1c3283;
	--bl-muted: #5a6798;
	--bl-line: rgba(28, 50, 131, .14);
	--bl-line-strong: rgba(28, 50, 131, .3);
	--f-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--f-label: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--f-cond: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--f-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--wrap: 1320px;
	--gutter: clamp(16px, 3.2vw, 40px);
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .1, 1);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bl-paper) var(--bl-texture) repeat;
	background-size: 900px auto;
	color: var(--bl-white);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body.bl-locked { overflow: hidden; }
body.bl-has-grain::after {
	content: "";
	position: fixed;
	inset: -50%;
	z-index: 9000;
	pointer-events: none;
	opacity: .06;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bl-blu); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.05; font-weight: 700; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bl-blu); outline-offset: 3px; }
::selection { background: var(--bl-blu); color: var(--bl-ink); }
hr { border: 0; border-top: 1px solid var(--bl-line); margin: 2em 0; }

[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.bl-skip { position: absolute; left: 16px; top: -60px; z-index: 10000; background: var(--bl-blu); color: var(--bl-ink); padding: 10px 16px; font-family: var(--f-label); font-weight: 900; text-transform: uppercase; font-size: 12px; text-decoration: none; }
.bl-skip:focus { top: 12px; }

.bl-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.bl-wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.bl-main { min-height: 50vh; }

/* Tipografia di marca */
.bl-display { font-family: var(--f-display); font-weight: 800; font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; line-height: .95; }
.bl-grunge { color: var(--bl-blu); filter: url(#bl-rough); text-shadow: 0 0 22px rgba(35, 66, 166, .2); }
.bl-spaced {
	display: flex; align-items: center; justify-content: center; gap: .9em;
	margin: 0; color: var(--bl-blu);
	font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
	font-size: clamp(14px, 1.6vw, 22px); letter-spacing: .55em; line-height: 1;
}
.bl-spaced span { margin-right: -.55em; }
@media (max-width: 560px) { .bl-spaced { letter-spacing: .3em; gap: .6em; } .bl-spaced span { margin-right: -.3em; } }
.bl-spaced .bl-icon { width: .9em; height: .9em; flex: none; }
.bl-spaced--small { font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .32em; justify-content: flex-start; color: var(--bl-muted); }
.bl-spaced--small span { margin-right: 0; }

.bl-icon { width: 22px; height: 22px; }

/* Pulsanti -------------------------------------------------------------- */
.bl-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce-page a.button, .wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .7em;
	min-height: 50px; padding: 14px 26px;
	border: 0; border-radius: 0;
	background: var(--bl-blu); color: var(--bl-ink);
	font-family: var(--f-display); font-weight: 800; font-weight: 700; font-size: 13px; letter-spacing: .02em; line-height: 1.1;
	text-transform: uppercase; text-decoration: none; text-align: center;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.bl-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wp-element-button:hover, .wp-block-button__link:hover {
	background: var(--bl-white); color: var(--bl-ink);
}
.bl-btn .bl-icon { width: 18px; height: 18px; }
.bl-btn--grey { background: var(--bl-grey); }
.bl-btn--small { min-height: 42px; padding: 10px 18px; font-size: 11px; }
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button.disabled,
.woocommerce button.button.alt.disabled, .woocommerce button.button:disabled[disabled] {
	background: var(--bl-grey-dark); color: var(--bl-ink); opacity: .7; padding: 14px 26px;
}
.woocommerce a.button.loading, .woocommerce button.button.loading { opacity: .6; }
.woocommerce a.button.loading::after, .woocommerce button.button.loading::after { position: static; margin-left: .5em; }

.bl-icon-btn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0;
	border: 0; background: transparent; color: var(--bl-white);
	cursor: pointer; text-decoration: none;
	transition: color .2s;
}
.bl-icon-btn:hover { color: var(--bl-blu); }

.bl-link-arrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.bl-link-arrow .bl-icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.bl-link-arrow:hover .bl-icon { transform: translateX(4px); }

/* Barra avvisi ---------------------------------------------------------- */
.bl-announce { background: var(--bl-blu); color: var(--bl-ink); overflow: hidden; white-space: nowrap; }
.bl-announce__track { display: inline-flex; animation: bl-scroll 38s linear infinite; }
.bl-announce__track span { padding: 9px 2.5em; font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }

@keyframes bl-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Testata --------------------------------------------------------------- */
.bl-header {
	position: sticky; top: 0; z-index: 500;
	background: rgba(18, 18, 18, .88);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--bl-line);
}
.admin-bar .bl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bl-header { top: 0; } }
.bl-header__inner {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
	max-width: calc(var(--wrap) + var(--gutter) * 2); height: var(--header-h); margin: 0 auto; padding: 0 var(--gutter);
}
.bl-header__burger { display: none; margin-left: -10px; }
.bl-logo { display: block; line-height: 0; }
.bl-logo .bl-logo__img, .woocommerce-page .bl-logo .bl-logo__img { height: 28px; width: auto; max-width: none; }
.bl-header__nav { justify-self: center; }
.bl-menu { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bl-menu li { position: relative; }
.bl-menu a {
	display: block; padding: 10px 14px;
	font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
	position: relative;
}
.bl-header__nav .bl-menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--bl-blu); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.bl-header__nav .bl-menu > li > a:hover::after,
.bl-header__nav .bl-menu > .current-menu-item > a::after,
.bl-header__nav .bl-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.bl-header__nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 10px 0; list-style: none;
	background: var(--bl-ink); border: 1px solid var(--bl-line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.bl-header__nav li:hover > .sub-menu, .bl-header__nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bl-header__nav .sub-menu a { padding: 9px 18px; font-weight: 500; }
.bl-header__actions { display: flex; align-items: center; gap: 2px; margin-right: -10px; }
.bl-cart-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--bl-white); text-decoration: none; }
.bl-cart-link:hover { color: var(--bl-blu); }
.bl-cart-count {
	position: absolute; top: 4px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px;
	display: grid; place-items: center; border-radius: 9px;
	background: var(--bl-blu); color: var(--bl-ink);
	font-family: var(--f-label); font-weight: 900; font-size: 10px; line-height: 1;
}
.bl-cart-count.is-empty { display: none; }

/* Ricerca */
.bl-search {
	position: fixed; inset: 0 0 auto 0; z-index: 800;
	background: var(--bl-ink); border-bottom: 1px solid var(--bl-line);
	padding: 28px 0;
	opacity: 0; transform: translateY(-100%); transition: .3s var(--ease);
}
.bl-search.is-open { opacity: 1; transform: none; }
.bl-search__inner { display: flex; align-items: center; gap: 16px; }
.bl-search__form { flex: 1; display: flex; align-items: center; border-bottom: 2px solid var(--bl-blu); }
.bl-search__field {
	flex: 1; min-width: 0; padding: 12px 0; border: 0; background: transparent; color: var(--bl-white);
	font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 4vw, 44px); text-transform: uppercase; outline: none;
}
.bl-search__field::placeholder { color: var(--bl-grey-dark); }

/* Menu mobile */
.bl-mobile-menu {
	position: fixed; inset: 0; z-index: 900;
	display: flex; flex-direction: column;
	background: var(--bl-ink) var(--bl-texture); background-size: 900px auto;
	padding: 0 var(--gutter) 28px;
	opacity: 0; transform: translateX(-24px); transition: .3s var(--ease);
	overflow-y: auto;
}
.bl-mobile-menu.is-open { opacity: 1; transform: none; }
.bl-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; margin-right: -10px; }
.bl-logo--small .bl-logo__img, .woocommerce-page .bl-logo--small .bl-logo__img { height: 24px; }
.bl-mobile-menu__nav { flex: 1; padding: 24px 0; }
.bl-mobile-menu__nav .bl-menu { flex-direction: column; gap: 0; }
.bl-mobile-menu__nav .bl-menu > li > a {
	padding: 10px 0; font-family: var(--f-display); font-weight: 800; font-weight: 700; font-size: clamp(22px, 6.6vw, 40px); letter-spacing: 0; line-height: 1.05; overflow-wrap: anywhere;
	border-bottom: 1px solid var(--bl-line);
}
.bl-mobile-menu__nav .sub-menu { list-style: none; margin: 0; padding: 8px 0 12px 4px; }
.bl-mobile-menu__nav .sub-menu a { padding: 8px 0; font-size: 13px; }
.bl-mobile-menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 18px; border-top: 1px solid var(--bl-line); font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.bl-mobile-menu__foot a { text-decoration: none; }

@media (max-width: 1023px) {
	.bl-header__inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
	.bl-header__burger { display: inline-grid; justify-self: start; }
	.bl-header__nav { display: none; }
	.bl-header__brand { justify-self: center; }
	.bl-header__actions { justify-self: end; }
	.bl-logo .bl-logo__img, .woocommerce-page .bl-logo .bl-logo__img { height: 22px; }
}
@media (max-width: 480px) {
	.bl-header__account { display: none; }
}

/* Hero ------------------------------------------------------------------ */
.bl-hero {
	position: relative;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	min-height: min(calc(100vh - var(--header-h) - 34px), 880px);
	overflow: hidden;
	isolation: isolate;
}
.bl-hero__media { position: relative; grid-column: 2; grid-row: 1; z-index: -1; }
.bl-hero__media {
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%), linear-gradient(0deg, transparent 0%, #000 20%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%), linear-gradient(0deg, transparent 0%, #000 20%);
	-webkit-mask-composite: source-in; mask-composite: intersect;
}
.bl-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 62%; }
.bl-hero.is-bw .bl-hero__img { filter: grayscale(1) contrast(1.08) brightness(.92); }
.bl-hero__content {
	grid-column: 1; grid-row: 1; align-self: center;
	display: flex; flex-direction: column; align-items: center; text-align: center;
	gap: clamp(14px, 1.8vw, 22px);
	padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 80px) max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	position: relative; z-index: 2;
}
.bl-hero__title { margin: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2vw, 26px); width: 100%; }
.bl-hero__logo { display: block; width: min(100%, 640px); }
.bl-hero__logo img { width: 100%; }
.bl-hero__headline { display: block; color: var(--bl-white); font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4.6vw, 70px); line-height: .92; text-transform: uppercase; }
.bl-hero__tags-label { margin: 6px 0 -8px; font-family: var(--f-display); font-weight: 800; font-size: 12px; letter-spacing: .5em; color: var(--bl-blu); text-transform: uppercase; }
.bl-band {
	display: flex; flex-wrap: wrap; justify-content: space-around; gap: 4px 22px;
	width: min(100%, 640px); margin: 0; padding: 10px 18px; list-style: none;
	background: var(--bl-blu); color: var(--bl-paper);
	font-family: var(--f-cond); font-weight: 800; font-size: clamp(18px, 2.1vw, 30px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase;
	transform: scaleY(1.08);
}
.bl-band a, .bl-band span { color: inherit; text-decoration: none; white-space: nowrap; }
.bl-band a:hover { color: var(--bl-white); }
.bl-band i { font-style: italic; font-size: .62em; margin-left: .2em; }
.bl-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

@media (max-width: 900px) {
	.bl-hero { grid-template-columns: 1fr; min-height: 0; }
	.bl-hero__media { grid-column: 1; height: 62vh; max-height: 560px; }
	.bl-hero__media { -webkit-mask-image: linear-gradient(0deg, transparent 2%, #000 48%); mask-image: linear-gradient(0deg, transparent 2%, #000 48%); }
	.bl-hero__img { object-position: 50% 70%; }
	.bl-hero__content { grid-column: 1; grid-row: 2; padding: 0 var(--gutter) 48px; margin-top: -120px; }
}

/* Nastro scorrevole ----------------------------------------------------- */
.bl-marquee {
	overflow: hidden; white-space: nowrap;
	background: var(--bl-blu); color: var(--bl-ink);
	transform: rotate(-1.4deg); margin: 18px -12px 0;
	border-block: 2px solid var(--bl-ink);
}
.bl-marquee__track { display: inline-flex; align-items: center; animation: bl-scroll 42s linear infinite; padding: 14px 0; }
.bl-marquee__track span { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 3.4vw, 48px); line-height: 1; text-transform: uppercase; padding: 0 .55em; }
.bl-marquee__track .bl-icon { width: clamp(16px, 2vw, 28px); height: clamp(16px, 2vw, 28px); flex: none; }

/* Sezioni --------------------------------------------------------------- */
.bl-section { padding: clamp(56px, 8vw, 110px) 0; }
.bl-section__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
	margin-bottom: clamp(22px, 3vw, 36px); padding-bottom: 16px; border-bottom: 1px solid var(--bl-line);
}
.bl-section__title { margin: 0; color: var(--bl-blu); font-size: clamp(28px, 4.6vw, 64px); }

/* Griglia prodotti ------------------------------------------------------ */
.woocommerce ul.products, .woocommerce-page ul.products {
	--cols: 4;
	display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.6vw, 22px);
	margin: 0 0 2em; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none; }
.woocommerce ul.products.columns-2 { --cols: 2; }
.woocommerce ul.products.columns-3 { --cols: 3; }
.woocommerce ul.products.columns-5 { --cols: 5; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
	float: none; width: auto; margin: 0; padding: 0; clear: none;
	display: flex; flex-direction: column; position: relative;
}
@media (max-width: 1023px) { .woocommerce ul.products, .woocommerce-page ul.products { --cols: 3 !important; } }
@media (max-width: 760px) { .woocommerce ul.products, .woocommerce-page ul.products { --cols: 2 !important; } }

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; flex: 1; }
.bl-card__media {
	position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
	background: #e8e4da; border: 1px solid var(--bl-line);
	margin-bottom: 14px;
}
.woocommerce ul.products li.product .bl-card__media img {
	position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: contain;
	transition: opacity .45s var(--ease), transform .8s var(--ease);
}
.bl-card__media .bl-card__alt { opacity: 0; }
.woocommerce ul.products li.product:hover .bl-card__media.has-alt .bl-card__alt { opacity: 1; }
.woocommerce ul.products li.product:hover .bl-card__media img { transform: scale(1.035); }
.woocommerce ul.products li.product.outofstock .bl-card__media img { filter: grayscale(1) brightness(.6); }

.bl-card__cat { display: block; margin-bottom: 6px; font-family: var(--f-label); font-weight: 900; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--bl-muted); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 8px; padding: 0;
	font-family: var(--f-label); font-weight: 900; font-size: 13px; line-height: 1.3; letter-spacing: .03em; text-transform: uppercase;
	color: var(--bl-white);
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title { color: var(--bl-blu); }
.woocommerce ul.products li.product .price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 14px;
	font-family: var(--f-display); font-weight: 800; font-size: 14px; color: var(--bl-white);
}
.woocommerce ul.products li.product .price del { color: var(--bl-muted); opacity: 1; font-size: 12px; }
.woocommerce ul.products li.product .price ins { color: var(--bl-blu); text-decoration: none; background: none; }
.woocommerce ul.products li.product .star-rating { display: none; }
.woocommerce ul.products li.product .button {
	margin-top: auto; align-self: flex-start;
	min-height: 38px; padding: 9px 14px; font-size: 10px;
	background: transparent; color: var(--bl-white); box-shadow: inset 0 0 0 1px var(--bl-line-strong);
}
.woocommerce ul.products li.product .button:hover { background: var(--bl-blu); color: var(--bl-ink); box-shadow: none; }
.woocommerce ul.products li.product.outofstock .button { color: var(--bl-muted); }
.woocommerce ul.products li.product .added_to_cart { display: none; }

/* Bollini */
.bl-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.bl-badge, .woocommerce span.onsale.bl-badge {
	display: inline-block; position: static; min-width: 0; min-height: 0; margin: 0; padding: 5px 8px 4px;
	border-radius: 0; background: var(--bl-white); color: var(--bl-ink);
	font-family: var(--f-label); font-weight: 900; font-size: 10px; line-height: 1.1; letter-spacing: .12em; text-transform: uppercase;
}
.bl-badge--sale, .woocommerce span.onsale.bl-badge--sale { background: var(--bl-blu); }
.bl-badge--grey { background: var(--bl-grey); }
.bl-badge--black { background: var(--bl-blu); color: #fff; }
.bl-soldout {
	position: absolute; top: 50%; left: 50%; z-index: 3;
	transform: translate(-50%, -50%) rotate(-4deg);
	padding: 7px 14px 6px; background: var(--bl-blu); color: #fff;
	font-family: var(--f-display); font-weight: 800; font-size: clamp(12px, 1.4vw, 17px); line-height: 1; white-space: nowrap; letter-spacing: .02em;
	box-shadow: 0 6px 18px rgba(28, 50, 131, .25);
}

/* Collezioni ------------------------------------------------------------ */
.bl-cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.bl-cats__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bl-cats__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bl-cat a { display: block; position: relative; text-decoration: none; color: var(--bl-ink); }
.bl-cat__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #e8e4da; border: 1px solid var(--bl-line); }
.bl-cat__media img { width: 100%; height: 100%; object-fit: contain; transition: filter .5s var(--ease), transform .8s var(--ease); }
.bl-cat a:hover .bl-cat__media img { filter: none; transform: scale(1.04); }
.bl-cat__label {
	position: absolute; left: 12px; right: 12px; bottom: 12px;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 12px 14px 11px; background: var(--bl-grey);
	transition: background-color .25s;
}
.bl-cat a:hover .bl-cat__label { background: var(--bl-blu); }
.bl-cat__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(14px, 1.6vw, 22px); line-height: 1; text-transform: uppercase; }
.bl-cat__count { font-family: var(--f-label); font-weight: 900; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 900px) { .bl-cats__grid, .bl-cats__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Archivi negozio ------------------------------------------------------- */
.bl-shop { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(56px, 7vw, 100px); }
.bl-crumbs, .woocommerce .woocommerce-breadcrumb {
	margin: 0 0 18px; color: var(--bl-muted);
	font-family: var(--f-label); font-weight: 900; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--bl-muted); text-decoration: none; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--bl-blu); }
.bl-crumb-sep { margin: 0 .7em; opacity: .5; }
.bl-archive-head { margin-bottom: clamp(24px, 3vw, 40px); }
.bl-archive-head__title { margin: 0 0 16px; color: var(--bl-blu); font-size: clamp(40px, 8vw, 120px); overflow-wrap: anywhere; }
.bl-archive-head__desc { max-width: 680px; color: var(--bl-muted); }
.bl-archive-head__desc:empty { display: none; }
.bl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.bl-pill {
	padding: 10px 16px 9px; border: 1px solid var(--bl-line-strong); text-decoration: none;
	font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
	transition: .2s;
}
.bl-pill:hover { border-color: var(--bl-blu); color: var(--bl-blu); }
.bl-pill.is-active { background: var(--bl-blu); border-color: var(--bl-blu); color: var(--bl-ink); }

.bl-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; padding: 12px 0; border-block: 1px solid var(--bl-line); }
.bl-toolbar__filters {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none; cursor: pointer;
	font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.bl-toolbar__filters .bl-icon { width: 18px; height: 18px; }
.bl-toolbar__filters:hover { color: var(--bl-blu); }
.woocommerce .bl-toolbar .woocommerce-result-count { float: none; margin: 0; color: var(--bl-muted); font-size: 13px; }
.woocommerce .bl-toolbar .woocommerce-ordering { float: none; margin: 0 0 0 auto; }
.woocommerce .bl-toolbar .woocommerce-ordering select { min-height: 42px; width: auto; }

.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 44px; padding: 13px 10px; border: 1px solid var(--bl-line-strong); color: var(--bl-white);
	font-family: var(--f-display); font-weight: 800; font-size: 13px;
}
.woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li a:focus { background: var(--bl-blu); color: var(--bl-ink); border-color: var(--bl-blu); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--bl-white); color: var(--bl-ink); border-color: var(--bl-white); }

/* Pagina prodotto ------------------------------------------------------- */
.woocommerce div.product {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 clamp(28px, 4.5vw, 72px);
	align-items: start;
}
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images, .woocommerce-page div.product div.images {
	grid-column: 1; float: none; width: auto; margin: 0 0 2em; position: relative;
}
.woocommerce div.product div.summary, .woocommerce-page div.product div.summary {
	grid-column: 2; float: none; width: auto; margin: 0 0 2em;
	position: sticky; top: calc(var(--header-h) + 24px);
}
.admin-bar.woocommerce div.product div.summary { top: calc(var(--header-h) + 56px); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: #e8e4da; }
.woocommerce div.product div.images .woocommerce-product-gallery__image { border: 1px solid var(--bl-line); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { opacity: .5; border: 1px solid var(--bl-line); transition: opacity .2s; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--bl-blu); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { background: var(--bl-white); top: 14px; right: 14px; }
.woocommerce div.product.outofstock div.images::after {
	content: "SOLD OUT";
	position: absolute; top: 46%; left: 50%; z-index: 9; transform: translate(-50%, -50%) rotate(-4deg);
	padding: 12px 24px 10px; background: var(--bl-blu); color: #fff;
	font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 3vw, 40px); line-height: 1; pointer-events: none;
	box-shadow: 0 10px 30px rgba(28, 50, 131, .25);
}
.woocommerce div.product.outofstock div.images img { filter: grayscale(1) brightness(.75); }

.bl-summary-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bl-summary-top__cat { font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bl-muted); text-decoration: none; }
.woocommerce div.product .product_title { margin: 0 0 14px; font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3.2vw, 44px); line-height: .98; text-transform: uppercase; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
	margin: 0 0 22px; color: var(--bl-blu); font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 2vw, 26px);
}
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--bl-muted); opacity: 1; font-size: .65em; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { text-decoration: none; background: none; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--bl-muted); margin-bottom: 24px; }
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 14px; }
.woocommerce .star-rating, .woocommerce p.stars a { color: var(--bl-blu); }
.woocommerce div.product p.stock { font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.woocommerce div.product .stock.in-stock { color: var(--bl-muted); }
.woocommerce div.product .stock.out-of-stock { color: var(--bl-blu); }

/* Varianti e taglie */
.woocommerce div.product form.cart { margin: 0 0 26px; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 14px; border: 0; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations th.label label, .woocommerce div.product form.cart .variations label {
	display: block; margin-bottom: 10px; font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.woocommerce div.product form.cart .variations select { min-width: 100%; }
.woocommerce div.product form.cart .variations.bl-has-swatches select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bl-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-swatch {
	min-width: 54px; min-height: 48px; padding: 10px 14px; cursor: pointer;
	border: 1px solid var(--bl-line-strong); background: transparent; color: var(--bl-white);
	font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
	transition: .15s;
}
.bl-swatch:hover { border-color: var(--bl-white); }
.bl-swatch.is-selected { background: var(--bl-blu); border-color: var(--bl-blu); color: var(--bl-ink); }
.bl-swatch.is-disabled { color: var(--bl-grey-dark); text-decoration: line-through; border-style: dashed; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 10px; font-family: var(--f-label); font-weight: 900; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bl-muted); }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 14px; }
.woocommerce div.product form.cart div.quantity, .woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; }
.woocommerce div.product form.cart:not(.variations_form), .woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; flex: 1; min-height: 56px; font-size: 14px; }
.woocommerce .quantity .qty {
	width: 76px; min-height: 56px; padding: 0 8px; text-align: center;
	font-family: var(--f-display); font-weight: 800; font-size: 15px;
}

.bl-notes { display: grid; gap: 10px; margin: 0 0 24px; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--bl-line); }
.bl-notes li { display: flex; align-items: center; gap: 10px; font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bl-muted); }
.bl-notes .bl-icon { width: 13px; height: 13px; color: var(--bl-blu); flex: none; }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--bl-muted); display: grid; gap: 4px; }
.woocommerce div.product .product_meta a { color: var(--bl-white); }

/* Schede descrizione */
.woocommerce div.product .woocommerce-tabs { margin: clamp(20px, 4vw, 48px) 0 0; padding-top: 0; border-top: 1px solid var(--bl-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0 0 24px; padding: 0; overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block; padding: 18px 0 14px; color: var(--bl-muted);
	font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
	border-top: 3px solid transparent; margin-top: -2px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--bl-white); border-top-color: var(--bl-blu); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 820px; margin: 0 0 2em; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce table.shop_attributes { border-color: var(--bl-line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-color: var(--bl-line); padding: 12px; font-style: normal; background: none !important; }
.woocommerce table.shop_attributes th { font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.woocommerce .related > h2, .woocommerce .upsells > h2, .woocommerce .cross-sells > h2 {
	margin: clamp(30px, 5vw, 60px) 0 26px; padding-bottom: 16px; border-bottom: 1px solid var(--bl-line);
	color: var(--bl-blu); font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 3.4vw, 46px); text-transform: uppercase;
}

@media (max-width: 900px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images, .woocommerce div.product div.summary { grid-column: 1; position: static; }
}

/* Moduli ---------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="date"],
select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1px solid #c3c9e2; border-radius: 0; background: var(--bl-ink); color: var(--bl-white);
	font-family: var(--f-body); font-size: 16px; line-height: 1.3;
	transition: border-color .2s;
}
textarea { min-height: 120px; }
select {
	appearance: none; -webkit-appearance: none; padding-right: 40px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23ece8e2' stroke-width='1.6'/></svg>");
	background-repeat: no-repeat; background-position: right 14px center;
}
input:focus, select:focus, textarea:focus, .select2-container--focus .select2-selection--single { outline: none; border-color: var(--bl-blu); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--bl-blu); width: 18px; height: 18px; vertical-align: -3px; }
label { font-size: 14px; }
.woocommerce form .form-row label { font-family: var(--f-label); font-weight: 900; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; margin-bottom: 6px; }
.woocommerce form .form-row label.checkbox, .woocommerce form .form-row label.woocommerce-form__label-for-checkbox { font-family: var(--f-body); font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; }
.woocommerce form .form-row .required { color: var(--bl-blu); text-decoration: none; }
.select2-container--default .select2-selection--single { display: flex; align-items: center; padding: 0 14px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--bl-white); padding: 0; line-height: 1.3; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
.select2-dropdown { background: var(--bl-ink); color: var(--bl-white); border-color: #c3c9e2; border-radius: 0; }
.select2-container--default .select2-search--dropdown .select2-search__field { background: var(--bl-paper); color: var(--bl-white); border-color: #c3c9e2; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--bl-blu); color: var(--bl-ink); }
.select2-container--default .select2-results__option[aria-selected="true"], .select2-container--default .select2-results__option[data-selected="true"] { background: #ddd8cc; }

/* Avvisi WooCommerce */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice,
.wc-block-components-notice-banner {
	margin: 0 0 24px; padding: 16px 20px 16px 52px; border: 0; border-left: 4px solid var(--bl-blu);
	background: var(--bl-ink); color: var(--bl-white); font-size: 15px; list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: var(--bl-blu); top: 16px; left: 20px; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { float: right; min-height: 38px; padding: 8px 14px; font-size: 10px; }
.woocommerce-error { border-left-color: #c62828; }
.woocommerce-error li { margin: 0; }
.wc-block-components-notice-banner, .wc-block-components-notice-banner.is-error, .wc-block-components-notice-banner.is-info, .wc-block-components-notice-banner.is-success, .wc-block-components-notice-banner.is-warning { padding-left: 20px; border-radius: 0; background: var(--bl-ink) !important; color: var(--bl-white) !important; border-color: var(--bl-blu) !important; }
.wc-block-components-notice-banner > svg { fill: var(--bl-blu); background: none; }

/* Pagine generiche ------------------------------------------------------ */
.bl-page { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 100px); }
.bl-page__head { margin-bottom: clamp(24px, 3vw, 40px); }
.bl-page__title { margin: 0; color: var(--bl-blu); font-size: clamp(32px, 6vw, 84px); overflow-wrap: anywhere; }
.bl-page:not(.bl-page--wc) .bl-entry { max-width: 820px; }
.bl-entry { font-size: 17px; }
.bl-entry > * + * { margin-top: 1em; }
.bl-entry h2, .bl-entry h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; margin-top: 1.6em; }
.bl-entry h2 { font-size: clamp(22px, 2.6vw, 32px); }
.bl-entry h3 { font-size: clamp(18px, 2vw, 22px); }
.bl-entry a { color: var(--bl-blu); }
.bl-entry ul, .bl-entry ol { padding-left: 1.2em; }
.bl-entry blockquote { margin: 1.5em 0; padding: 0 0 0 20px; border-left: 4px solid var(--bl-blu); font-size: 1.15em; }
.bl-entry table { width: 100%; border-collapse: collapse; }
.bl-entry th, .bl-entry td { border: 1px solid var(--bl-line); padding: 10px; text-align: left; }
.bl-entry img { height: auto; }
.bl-entry .alignwide { max-width: none; }
.bl-page--wc .bl-entry { font-size: 16px; }

/* Articoli */
.bl-archive { padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(56px, 7vw, 100px); }
.bl-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
@media (max-width: 900px) { .bl-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bl-posts { grid-template-columns: 1fr; } }
.bl-post-card__link { display: block; text-decoration: none; }
.bl-post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 14px; background: #e8e4da; border: 1px solid var(--bl-line); }
.bl-post-card__media img { width: 100%; height: 100%; object-fit: contain; transition: filter .4s; }
.bl-post-card__link:hover img { filter: none; }
.bl-post-card__meta { display: block; margin-bottom: 8px; font-family: var(--f-label); font-weight: 900; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bl-muted); }
.bl-post-card__title { font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.bl-post-card__link:hover .bl-post-card__title { color: var(--bl-blu); }
.bl-post-card__excerpt { color: var(--bl-muted); font-size: 15px; }
.bl-single { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 100px); }
.bl-single__meta { font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bl-muted); }
.bl-single__media { margin: 0 0 32px; }
.nav-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--bl-line); font-family: var(--f-label); font-weight: 900; font-size: 12px; text-transform: uppercase; }
.nav-links a { text-decoration: none; }
.pagination .nav-links { justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--bl-line-strong); text-decoration: none; }
.pagination .page-numbers.current { background: var(--bl-white); color: var(--bl-ink); }
.bl-empty { padding: 40px 0; }
.bl-searchform { display: flex; gap: 8px; max-width: 520px; }
.bl-comments { margin-top: 56px; }
.bl-comments__list { padding-left: 0; list-style: none; }

/* 404 */
.bl-404 { padding: clamp(60px, 10vw, 140px) 0; text-align: center; }
.bl-404__code { margin: 0; font-size: clamp(110px, 24vw, 320px); line-height: .85; }
.bl-404__title { font-size: clamp(22px, 3.4vw, 44px); margin: 18px 0 14px; }
.bl-404__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Carrello, cassa, account (classici) ---------------------------------- */
.woocommerce table.shop_table { border: 1px solid var(--bl-line); border-radius: 0; border-collapse: collapse; }
.woocommerce table.shop_table th { font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th, .woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th { border-top: 1px solid var(--bl-line); padding: 14px 12px; }
.woocommerce table.shop_table .product-name a { font-family: var(--f-label); font-weight: 900; font-size: 13px; text-transform: uppercase; text-decoration: none; }
.woocommerce table.cart img { width: 80px; }
.woocommerce a.remove { color: var(--bl-white) !important; border: 1px solid var(--bl-line-strong); border-radius: 0; font-weight: 400; }
.woocommerce a.remove:hover { background: var(--bl-blu); color: var(--bl-ink) !important; border-color: var(--bl-blu); }
.woocommerce table.cart td.actions .coupon .input-text { width: 200px; min-height: 50px; border: 1px solid #c3c9e2; padding: 12px 14px; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3, .woocommerce-account h2, .woocommerce-account h3,
#order_review_heading, .woocommerce-order-details__title, .woocommerce-column__title {
	font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 28px); color: var(--bl-blu);
}
.woocommerce-checkout #payment, .woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout-review-order { border-radius: 0; }
.woocommerce-checkout #payment { background: var(--bl-ink); border: 1px solid var(--bl-line); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--bl-line); }
.woocommerce-checkout #payment div.payment_box { background: #e8e4da; color: var(--bl-white); border-radius: 0; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #e8e4da; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 1px solid var(--bl-line); border-radius: 0; padding: 24px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--bl-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block; padding: 14px 0; border-bottom: 1px solid var(--bl-line); text-decoration: none;
	font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--bl-blu); }
.woocommerce-account .woocommerce-MyAccount-content { font-size: 16px; }

/* Carrello e cassa a blocchi */
.wc-block-cart, .wc-block-checkout, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: var(--bl-white); }
.wc-block-components-text-input input, .wc-block-components-text-input input[type],
.wc-block-components-textarea, .wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	background: var(--bl-ink) !important; color: var(--bl-white) !important; border: 1px solid #c3c9e2 !important; border-radius: 0 !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-combobox .wc-block-components-combobox-control label { color: var(--bl-muted) !important; }
.wc-block-components-text-input.is-active input:focus, .wc-block-components-text-input input:focus { border-color: var(--bl-blu) !important; box-shadow: none !important; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--bl-blu) !important; color: var(--bl-ink) !important; border-radius: 0 !important; border: 0 !important;
	font-family: var(--f-display) !important; font-weight: 800; text-transform: uppercase; min-height: 56px;
}
.wc-block-components-button:not(.is-link):hover { background: var(--bl-white) !important; }
.wc-block-components-totals-wrapper, .wc-block-components-panel, .wc-block-components-order-summary,
.wc-block-cart-items, .wc-block-cart-items td, .wc-block-cart-items th, .wc-block-components-sidebar-layout .wc-block-components-main { border-color: var(--bl-line) !important; }
.wc-block-components-product-name { font-family: var(--f-label); font-weight: 900; text-transform: uppercase; font-size: 13px; color: var(--bl-white) !important; text-decoration: none; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--bl-line) !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--bl-blu) !important; }
.wc-block-components-radio-control__input:checked { border-color: var(--bl-blu) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--bl-blu) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { background: var(--bl-ink); border-color: #8f98bf; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--bl-blu); }
.wc-block-components-title.wc-block-components-title, .wc-block-cart__totals-title { font-family: var(--f-display) !important; font-weight: 800; text-transform: uppercase; color: var(--bl-blu) !important; }
.wc-block-components-quantity-selector { border-radius: 0 !important; }
.wc-block-components-quantity-selector::after { border-color: var(--bl-line-strong) !important; border-radius: 0 !important; }
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input, .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--bl-white) !important; background: transparent; }
.wc-block-components-formatted-money-amount { font-family: var(--f-display); font-weight: 800; font-size: .95em; }
.wc-block-components-product-badge { border-radius: 0 !important; background: var(--bl-blu); color: var(--bl-ink); border: 0 !important; }

/* Cassetti (carrello, filtri) ------------------------------------------ */
.bl-drawer { position: fixed; inset: 0; z-index: 950; }
.bl-drawer__backdrop { position: absolute; inset: 0; background: rgba(28, 50, 131, .35); opacity: 0; transition: opacity .3s var(--ease); }
.bl-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
	display: flex; flex-direction: column;
	background: var(--bl-paper) var(--bl-texture); background-size: 900px auto;
	border-left: 1px solid var(--bl-line);
	transform: translateX(100%); transition: transform .35s var(--ease);
}
.bl-drawer--left .bl-drawer__panel { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--bl-line); transform: translateX(-100%); }
.bl-drawer.is-open .bl-drawer__backdrop { opacity: 1; }
.bl-drawer.is-open .bl-drawer__panel { transform: none; }
.bl-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--bl-line); }
.bl-drawer__title { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--bl-blu); }
.bl-drawer-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; background: var(--bl-blu); color: var(--bl-ink); font-size: 12px; }
.bl-drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px 24px; display: flex; flex-direction: column; }
.bl-drawer__body .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; }

.woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; flex: 1; }
.woocommerce-mini-cart-item, .woocommerce ul.cart_list li, .woocommerce ul.product_list_widget li {
	position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 4px 14px; align-items: start;
	padding: 0 34px 18px 0 !important; margin: 0 0 18px; border-bottom: 1px solid var(--bl-line); list-style: none;
}
.bl-drawer .woocommerce-mini-cart-item { font-family: var(--f-label); font-weight: 900; font-size: 12px; line-height: 1.3; text-transform: uppercase; }
.bl-drawer .woocommerce ul.cart_list li a:not(.remove), .bl-drawer .woocommerce-mini-cart-item a:not(.remove) { display: contents; font-weight: 900; text-decoration: none; }
.bl-drawer .woocommerce-mini-cart-item img { grid-column: 1; grid-row: 1 / span 2; }
.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img, .woocommerce-mini-cart-item img { width: 76px; height: 76px; object-fit: contain; margin: 0; float: none; background: #e8e4da; }
.woocommerce-mini-cart-item .variation, .woocommerce-mini-cart-item .quantity { grid-column: 2; margin: 0; font-size: 13px; font-family: var(--f-body); font-weight: 400; text-transform: none; color: var(--bl-muted); }
.woocommerce-mini-cart-item .variation dt, .woocommerce-mini-cart-item .variation dd { display: inline; margin: 0; padding: 0; float: none; }
.woocommerce-mini-cart-item .variation dd p { display: inline; margin: 0; }
.woocommerce-mini-cart-item .quantity .amount { color: var(--bl-white); font-family: var(--f-display); font-weight: 800; font-size: 12px; }
.woocommerce-mini-cart-item a.remove { position: absolute; top: 0; right: 0; left: auto; width: 26px; height: 26px; line-height: 24px; text-align: center; font-size: 18px; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 18px 0; border-top: 1px solid var(--bl-line-strong); font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce-mini-cart__total .amount { font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--bl-blu); letter-spacing: 0; }
.woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; margin: 0 !important; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: var(--bl-grey); }
.woocommerce-mini-cart__empty-message { margin: auto 0; padding: 40px 0; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--bl-muted); }
.bl-drawer .blockUI.blockOverlay { background: rgba(243, 240, 232, .6) !important; }

.bl-filters .widget { margin-bottom: 32px; }
.bl-filters .widget-title, .bl-footer .widget-title {
	margin: 0 0 14px; font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bl-muted);
}
.bl-filters ul { margin: 0; padding: 0; list-style: none; }
.bl-filters li { padding: 6px 0; }
.bl-filters a { text-decoration: none; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-range, .woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background: var(--bl-blu); }
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content { background: var(--bl-grey-dark); }

/* Piede di pagina ------------------------------------------------------- */
.bl-footer { margin-top: 0; padding: clamp(56px, 7vw, 96px) 0 28px; background: var(--bl-ink); border-top: 1px solid var(--bl-line); }
.bl-footer__top { margin-bottom: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px clamp(28px, 5vw, 80px); align-items: start; }
.bl-footer__claim-text { margin: 0 0 24px; font-size: clamp(26px, 3.6vw, 52px); color: var(--bl-white); max-width: 12ch; }
.bl-footer__newsletter { max-width: 440px; margin-bottom: 24px; }
.bl-footer__social { display: flex; gap: 4px; margin: 0 0 0 -10px; padding: 0; list-style: none; }
.bl-footer__social a { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--bl-white); }
.bl-footer__social a:hover { color: var(--bl-blu); }

.bl-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px 28px; }
.bl-footer__widgets .widget { font-size: 14px; color: var(--bl-muted); }
.bl-footer__widgets .widget ul { margin: 0; padding: 0; list-style: none; }
.bl-footer__widgets .widget li { padding: 5px 0; }
.bl-footer__widgets .widget a { color: var(--bl-white); text-decoration: none; }
.bl-footer__widgets .widget a:hover { color: var(--bl-blu); }
.bl-footer__widgets h1, .bl-footer__widgets h2, .bl-footer__widgets h3, .bl-footer__widgets h4, .bl-footer__widgets .wp-block-heading {
	margin: 0 0 14px; font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bl-muted);
}
.bl-footer__widgets img { height: auto; }

.bl-footer__menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.bl-footer__menu a { display: block; padding: 8px 0; font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }

.bl-footer__logo { margin: 0 0 clamp(40px, 6vw, 80px); }
.bl-footer__logo img { width: 100%; opacity: .95; }
.bl-footer__partners { margin: 0 0 18px; text-align: center; font-family: var(--f-label); font-weight: 900; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bl-muted); }
.bl-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--bl-line); font-size: 13px; color: var(--bl-muted); }
.bl-footer__bottom p { margin: 0; }
.bl-footer__copyright { flex: 1; }
.bl-footer__copyright .widget { margin: 0; }
.bl-footer__copyright a { color: var(--bl-white); }
.bl-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.bl-footer__legal a { text-decoration: none; }
@media (max-width: 900px) {
	.bl-footer__top { grid-template-columns: 1fr; }
}

/* Movimento ridotto ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.bl-announce__track, .bl-marquee__track { animation: none; }
}

/* 1.0.1 - home-negozio, negozio vuoto, immagini nel piede ---------------- */
.bl-shop-home .bl-shop { padding-top: clamp(40px, 6vw, 80px); }
.bl-shop-home .bl-shop > .woocommerce-breadcrumb { display: none; }
.bl-shop-home .bl-archive-head__title { font-size: clamp(28px, 4.6vw, 64px); padding-bottom: 16px; border-bottom: 1px solid var(--bl-line); }
.bl-empty-shop { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(48px, 8vw, 110px) 0; text-align: center; }
.bl-empty-shop__title { margin: 0; font-size: clamp(30px, 6vw, 84px); max-width: 14ch; }
.bl-empty-shop__text { margin: 0; max-width: 46ch; color: var(--bl-muted); font-size: 17px; }
.bl-empty-shop__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.bl-empty-shop__social .bl-icon { width: 18px; height: 18px; }
.bl-footer__widgets .widget_media_image img, .bl-footer__widgets .wp-block-image img, .bl-footer__widgets img { width: auto; max-width: min(100%, 200px); max-height: 110px; object-fit: contain; }
.bl-footer__widgets .widget_media_image a { display: inline-block; opacity: .85; transition: opacity .2s; }
.bl-footer__widgets .widget_media_image a:hover { opacity: 1; }
.bl-footer__widgets .widget a { font-family: var(--f-label); font-weight: 900; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) { .bl-footer__claim-text { max-width: none; } }
.bl-main { overflow-x: clip; }
.bl-powered { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-label); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bl-muted); text-decoration: none; white-space: nowrap; }
.bl-powered img { height: 16px; width: auto; opacity: .9; transition: opacity .2s; }
.bl-powered:hover img { opacity: 1; }
.bl-powered:hover { color: var(--bl-white); }
.bl-contact a { font-family: var(--f-body) !important; font-weight: 500 !important; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; }

/* ==========================================================================
   BLANCO 1.0.0 - stile MA': blu royal, carta crema, logo ufficiale bianco.
   ========================================================================== */
::selection { background: var(--bl-blu); color: #fff; }

/* Barra avvisi: azzurro della copertina di MA'. */
.bl-announce { background: #9cc6d9; color: #1c3283; }

/* Testata e menu blu con il logo bianco. */
.bl-header { background: var(--bl-blu); color: #fff; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bl-header a, .bl-header .bl-icon-btn, .bl-header .bl-cart-link { color: #fff; }
.bl-header a:hover, .bl-header .bl-icon-btn:hover, .bl-header .bl-cart-link:hover { color: #9cc6d9; }
.bl-header__nav .bl-menu > li > a::after { background: #fff; }
.bl-header__nav .sub-menu { background: #fff; border-color: var(--bl-line); }
.bl-header__nav .sub-menu a { color: #1c3283; }
.bl-header__nav .sub-menu a:hover { color: var(--bl-blu); }
.bl-cart-count { background: #fff; color: var(--bl-blu); }
.bl-logo .bl-logo__img, .woocommerce-page .bl-logo .bl-logo__img { height: 44px; }
@media (max-width: 1023px) { .bl-logo .bl-logo__img, .woocommerce-page .bl-logo .bl-logo__img { height: 36px; } }
.bl-mobile-menu { background: var(--bl-blu); color: #fff; }
.bl-mobile-menu a, .bl-mobile-menu .bl-icon-btn { color: #fff; }
.bl-mobile-menu__nav .bl-menu > li > a, .bl-mobile-menu__foot { border-color: rgba(255, 255, 255, .22); }
.bl-logo--small .bl-logo__img, .woocommerce-page .bl-logo--small .bl-logo__img { height: 36px; }

/* Pulsanti chiari sul blu. */
.bl-btn--light { background: #fff; color: var(--bl-blu); }
.bl-btn--light:hover { background: #1c3283; color: #fff; }
.bl-btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.bl-btn--outline:hover { background: #fff; color: var(--bl-blu); }

/* Apertura: blu MA' a tutta larghezza, logo ufficiale al centro. */
.bl-hero {
	display: block; min-height: 0;
	background: var(--bl-blu); color: #fff;
	padding: clamp(56px, 9vw, 128px) var(--gutter);
	overflow: hidden; isolation: isolate;
}
.bl-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: screen;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.55'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.bl-hero__content { padding: 0; align-items: center; text-align: center; gap: clamp(20px, 2.4vw, 32px); max-width: var(--wrap); margin: 0 auto; }
.bl-hero__logo { width: min(100%, 820px); }
.bl-hero__headline { color: #fff; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: .04em; }
.bl-hero__kicker { margin: 0; font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.bl-hero__tags-label { color: #9cc6d9; }
.bl-band { background: #fff; color: var(--bl-blu); transform: none; font-size: clamp(15px, 1.6vw, 20px); }
.bl-band a:hover { color: #1c3283; }
.bl-hero.has-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.bl-hero.has-media .bl-hero__content { margin: 0; }
.bl-hero__media, .bl-hero.has-media .bl-hero__media { position: static; z-index: auto; -webkit-mask-image: none; mask-image: none; display: flex; justify-content: center; }
.bl-hero .bl-hero__img, .woocommerce-page .bl-hero .bl-hero__img { position: static; width: auto; height: auto; max-width: 100%; max-height: min(72vh, 760px); object-fit: contain; }
@media (max-width: 900px) {
	.bl-hero.has-media { grid-template-columns: 1fr; }
	.bl-hero.has-media .bl-hero__media { order: -1; }
	.bl-hero__content { margin-top: 0; }
}

/* Nastro: riga dritta, blu su carta. */
.bl-marquee { transform: none; margin: 0; background: var(--bl-paper); color: var(--bl-blu); border-block: 1px solid var(--bl-blu); }
.bl-marquee__track { padding: 12px 0; }
.bl-marquee__track span { font-size: clamp(16px, 2vw, 26px); letter-spacing: .02em; }

/* Titoli di sezione. */
.bl-section__title { font-size: clamp(24px, 3.4vw, 46px); letter-spacing: -.01em; }

/* Schede prodotto: tutte uguali, foto intera su bianco. */
.bl-card__media { background: #fff; border-color: var(--bl-line); }
.woocommerce ul.products li.product.outofstock .bl-card__media img { filter: none; opacity: .45; }
.bl-soldout { box-shadow: none; transform: translate(-50%, -50%); letter-spacing: .08em; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: #fff; }

/* Piede chiaro: logo blu, solo Instagram, nessun blocco scuro. */
.bl-footer { background: var(--bl-paper); border-top: 2px solid var(--bl-blu); }
.bl-footer__logo { display: flex; justify-content: center; }
.bl-footer__logo img { width: min(100%, 680px); opacity: 1; }
.bl-footer__claim-text { color: var(--bl-blu); font-size: clamp(22px, 2.6vw, 36px); }
.bl-footer__social a { color: var(--bl-blu); }
.bl-footer__social a:hover { color: #1c3283; }
.bl-powered img { filter: brightness(0); opacity: .75; }
.bl-powered:hover img { opacity: 1; }


/* ==========================================================================
   Versione elegante: serif di sistema come il logo, crema e blu, niente effetti.
   ========================================================================== */
:root {
	--f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--f-display: var(--f-serif);
	--f-label: var(--f-serif);
	--f-cond: var(--f-serif);
}
body.bl-has-grain::after { display: none; }
body { background: var(--bl-paper); }

/* Titoli e etichette: maiuscolo spaziato, peso normale. */
.bl-display, .bl-section__title, .bl-hero__headline, .bl-footer__claim-text, .bl-empty-shop__title, .bl-archive-head__title,
.woocommerce div.product .product_title, h1, h2, h3 { font-family: var(--f-serif); font-weight: 400; letter-spacing: .06em; }
.bl-menu a, .bl-link-arrow, .bl-card__cat, .bl-announce__track span, .bl-marquee__track span, .bl-footer__menu a, .bl-mobile-menu__foot,
.bl-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-element-button {
	font-family: var(--f-serif); font-weight: 400; letter-spacing: .16em;
}

/* Barra avvisi: filo blu sottile. */
.bl-announce { background: #9cc6d9; color: #1c3283; }
.bl-announce__track span { font-size: 11px; padding-block: 7px; }

/* Testata crema, logo blu, filo blu. */
.bl-header { background: var(--bl-paper); color: var(--bl-blu); border-bottom: 1px solid var(--bl-blu); }
.bl-header a, .bl-header .bl-icon-btn, .bl-header .bl-cart-link { color: var(--bl-blu); }
.bl-header a:hover, .bl-header .bl-icon-btn:hover, .bl-header .bl-cart-link:hover { color: #1c3283; }
.bl-header__nav .bl-menu > li > a::after { background: var(--bl-blu); height: 1px; }
.bl-cart-count { background: var(--bl-blu); color: #fff; }
.bl-logo .bl-logo__img, .woocommerce-page .bl-logo .bl-logo__img { height: 46px; }
.bl-mobile-menu { background: var(--bl-paper); color: var(--bl-blu); }
.bl-mobile-menu a, .bl-mobile-menu .bl-icon-btn { color: var(--bl-blu); }
.bl-mobile-menu__nav .bl-menu > li > a { font-family: var(--f-serif); font-weight: 400; letter-spacing: .06em; border-color: rgba(35, 66, 166, .25); }
.bl-mobile-menu__foot { border-color: rgba(35, 66, 166, .25); }

/* Apertura: blu pieno e silenzioso, logo bianco, un pulsante sottile. */
.bl-hero { padding: clamp(72px, 11vw, 150px) var(--gutter); }
.bl-hero::before { display: none; }
.bl-hero__logo { width: min(100%, 680px); }
.bl-hero__kicker { font-family: var(--f-serif); font-weight: 400; letter-spacing: .3em; font-size: 12px; }
.bl-btn--light, .bl-btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); min-height: 48px; padding: 14px 34px; font-size: 12px; }
.bl-btn--light:hover, .bl-btn--outline:hover { background: #fff; color: var(--bl-blu); }
.bl-hero__logo img { animation: bl-rise 1.1s var(--ease) .1s both; }
.bl-hero__ctas { animation: bl-rise 1.1s var(--ease) .3s both; }
@keyframes bl-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Pulsanti del negozio: blu pieno, sottili. */
.bl-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button.alt, .woocommerce button.button.alt, .wp-element-button { font-size: 12px; }

/* Nastro: una riga di testo tra due fili, niente blocco colorato. */
.bl-marquee { background: transparent; color: var(--bl-blu); border-block: 1px solid var(--bl-blu); }
.bl-marquee__track { padding: 14px 0; animation-duration: 70s; }
.bl-marquee__track span { font-size: clamp(13px, 1.3vw, 16px); letter-spacing: .3em; padding: 0 1.6em; }
.bl-marquee__track .bl-icon { width: 10px; height: 10px; }

/* Sezioni. */
.bl-section__head { border-bottom: 1px solid var(--bl-blu); align-items: baseline; }
.bl-section__title { font-size: clamp(22px, 2.6vw, 34px); color: var(--bl-blu); }
.bl-link-arrow { color: var(--bl-blu); font-size: 11px; }

/* Schede: foto intera in un passe-partout bianco, tutte uguali. */
.woocommerce ul.products { gap: clamp(32px, 3.4vw, 52px) clamp(16px, 2vw, 28px); }
.bl-card__media { background: #fff; border: 1px solid rgba(35, 66, 166, .14); padding: 14px; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.woocommerce ul.products li.product .bl-card__media img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.woocommerce ul.products li.product:hover .bl-card__media { border-color: var(--bl-blu); transform: translateY(-2px); }
.woocommerce ul.products li.product:hover .bl-card__media img { transform: none; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--f-serif); font-weight: 400; font-size: 15px; letter-spacing: .04em; text-transform: none; }
.woocommerce ul.products li.product .price { font-family: var(--f-body); font-weight: 400; font-size: 14px; color: #1c3283; }
.bl-card__cat { font-size: 10px; color: var(--bl-muted); }
.bl-badge, .woocommerce span.onsale.bl-badge { background: var(--bl-paper); color: var(--bl-blu); border: 1px solid var(--bl-blu); font-family: var(--f-serif); font-weight: 400; letter-spacing: .14em; }
.bl-soldout { background: rgba(255, 255, 255, .9); color: var(--bl-blu); border: 1px solid var(--bl-blu); font-family: var(--f-serif); font-weight: 400; letter-spacing: .2em; font-size: 12px; padding: 8px 14px; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: #fff; border: 1px solid rgba(35, 66, 166, .14); padding: 18px; }

/* Piede. */
.bl-footer { border-top: 1px solid var(--bl-blu); }
.bl-footer__logo img { width: min(100%, 520px); }
.bl-footer__claim-text { font-size: clamp(18px, 2vw, 26px); letter-spacing: .06em; }

@media (prefers-reduced-motion: reduce) { .bl-hero__logo img, .bl-hero__ctas { animation: none; } }

/* Azzurro della copertina di MA' come accento (niente nero). */
:root { --bl-azzurro: #9cc6d9; }
.bl-marquee__track .bl-icon { color: var(--bl-azzurro); }
.woocommerce ul.products li.product:hover .bl-card__media { border-color: var(--bl-azzurro); }
.bl-btn--light:hover, .bl-btn--outline:hover { background: var(--bl-azzurro); color: #1c3283; box-shadow: inset 0 0 0 1px var(--bl-azzurro); }
.woocommerce div.product div.images .woocommerce-product-gallery__image { border: 0; }
/* Pulsanti a blocchi (carrello vuoto, cassa): testo sempre leggibile. */
a.wp-block-button__link, a.wp-element-button, .wp-block-button__link, .wc-block-components-button:not(.is-link) { color: #fff !important; }
a.wp-block-button__link:hover, a.wp-element-button:hover, .wc-block-components-button:not(.is-link):hover { color: #1c3283 !important; background: var(--bl-azzurro) !important; }
/* Carrello laterale: «Vedi carrello» bordato blu, leggibile. */
.woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout), .bl-btn--grey { background: transparent !important; color: var(--bl-blu) !important; box-shadow: inset 0 0 0 1px var(--bl-blu); }
.woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout):hover, .bl-btn--grey:hover { background: var(--bl-azzurro) !important; color: #1c3283 !important; box-shadow: inset 0 0 0 1px var(--bl-azzurro); }
/* Punto d'arrivo dei link al negozio sulla home-negozio. */
.bl-anchor { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
/* Piede: nessuna immagine dei vecchi widget può allargare la pagina. */
.bl-footer img { max-width: 100%; height: auto; }
.bl-footer__newsletter img, .bl-footer__newsletter .wp-block-image img { max-width: min(100%, 200px); max-height: 110px; width: auto; object-fit: contain; }
.bl-footer { overflow-x: clip; }

/* Scheda prodotto: foto e descrizione a sinistra, acquisto a destra (fermo),
   «Potrebbe piacerti» sotto a tutta larghezza. */
.woocommerce div.product div.images, .woocommerce-page div.product div.images { grid-row: 1; }
.woocommerce div.product div.summary, .woocommerce-page div.product div.summary { position: static; grid-row: 1 / span 2; align-self: start; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1; grid-row: 2; }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: .05em; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--f-body); font-weight: 400; }
.woocommerce .related > h2, .woocommerce .upsells > h2, .woocommerce .cross-sells > h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .06em; color: var(--bl-blu); }
@media (max-width: 900px) {
	.woocommerce div.product div.summary, .woocommerce div.product .woocommerce-tabs, .woocommerce div.product div.images { grid-column: 1 / -1; grid-row: auto; }
}

/* Apertura con foto: logo a sinistra, foto intera a destra con un filo bianco a cornice. */
.bl-hero.has-media { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding-block: clamp(40px, 5vw, 72px); }
.bl-hero__frame { position: relative; margin: 0; line-height: 0; }
.bl-hero__frame::after { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(calc(100vh - 300px), 640px); object-fit: contain; }
.bl-hero__media { animation: bl-rise 1.1s var(--ease) .2s both; }
@media (max-width: 900px) {
	.bl-hero.has-media .bl-hero__media { order: 2; padding: 12px; }
	.bl-hero.has-media .bl-hero__img { max-height: 60vh; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .bl-hero__media { animation: none; } }

/* Apertura con foto, integrata: foto intera a tutta altezza sul bordo destro,
   il nero della foto diventa blu (screen) e il lato sinistro sfuma nel fondo. */
.bl-hero.has-media { display: block; position: relative; min-height: min(calc(100vh - 150px), 760px); padding: clamp(56px, 8vw, 110px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.bl-hero.has-media .bl-hero__content { position: relative; z-index: 2; width: min(100%, 560px); min-height: inherit; justify-content: center; margin: 0; }
.bl-hero.has-media .bl-hero__media { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; display: block; padding: 0; animation: bl-fade 1.4s var(--ease) .1s both;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.bl-hero__frame::after { display: none; }
.bl-hero__frame { height: 100%; }
.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img { height: 100%; width: auto; max-width: none; max-height: none; mix-blend-mode: screen; filter: contrast(1.05) saturate(.95); }
@keyframes bl-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) {
	.bl-hero.has-media { min-height: 0; padding-bottom: 0; }
	.bl-hero.has-media .bl-hero__content { width: 100%; min-height: 0; }
	.bl-hero.has-media .bl-hero__media { position: relative; margin: 28px calc(-1 * var(--gutter)) 0; display: flex; justify-content: center;
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); }
	.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img { width: 100%; height: auto; max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .bl-hero.has-media .bl-hero__media { animation: none; } }
/* La sfumatura sta sull'immagine (sul contenitore impedirebbe la fusione col blu). */
.bl-hero.has-media .bl-hero__media, .bl-hero.has-media .bl-hero__frame { -webkit-mask-image: none; mask-image: none; animation: none; }
.bl-hero.has-media .bl-hero__img { animation: bl-fade 1.4s var(--ease) .1s both;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
@media (max-width: 900px) {
	.bl-hero.has-media .bl-hero__img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); }
}
@media (prefers-reduced-motion: reduce) { .bl-hero.has-media .bl-hero__img { animation: none; } }
/* Più fusa: sfumature lunghe a sinistra e in basso, velo blu leggero. */
.bl-hero.has-media .bl-hero__img {
	opacity: .9;
	-webkit-mask-image: linear-gradient(90deg, transparent 0 5%, rgba(0, 0, 0, .35) 32%, #000 72%), linear-gradient(0deg, transparent 0, #000 30%);
	mask-image: linear-gradient(90deg, transparent 0 5%, rgba(0, 0, 0, .35) 32%, #000 72%), linear-gradient(0deg, transparent 0, #000 30%);
	-webkit-mask-composite: source-in; mask-composite: intersect;
}
@keyframes bl-fade { from { opacity: 0; } to { opacity: .9; } }
@media (max-width: 900px) {
	.bl-hero.has-media .bl-hero__img {
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%), linear-gradient(0deg, transparent 0, #000 22%);
		mask-image: linear-gradient(180deg, transparent 0, #000 45%), linear-gradient(0deg, transparent 0, #000 22%);
	}
}
/* Niente filo sul bordo della foto: nessun filtro, nessun livello separato. Apertura alta quanto lo schermo. */
.bl-hero.has-media { display: flex; align-items: center; min-height: min(calc(100vh - 140px), 760px); padding-block: clamp(40px, 6vw, 80px); }
.bl-hero.has-media .bl-hero__content { min-height: 0; }
.bl-hero.has-media .bl-hero__media { z-index: auto; }
.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img { filter: none; }
@media (max-width: 900px) { .bl-hero.has-media { display: block; } }
/* Cantante scontornato dentro il blu: colori pieni, nessuna fusione; sfuma solo in basso dove la foto finisce. */
.bl-hero.has-media .bl-hero__media { top: auto; bottom: 0; height: 100%; display: flex; align-items: flex-end; }
.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img {
	mix-blend-mode: normal; opacity: 1; height: 100%; width: auto;
	-webkit-mask-image: linear-gradient(0deg, transparent 0, #000 18%); mask-image: linear-gradient(0deg, transparent 0, #000 18%);
	-webkit-mask-composite: source-over; mask-composite: add;
}
@keyframes bl-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) {
	.bl-hero.has-media .bl-hero__media { height: auto; }
	.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img { width: 100%; height: auto; }
}
/* Nessun bordo visibile: la camicia sfuma nel blu a sinistra e in basso. */
.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 30%), linear-gradient(0deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 32%);
	mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 30%), linear-gradient(0deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 32%);
	-webkit-mask-composite: source-in; mask-composite: intersect;
}
@media (max-width: 900px) {
	.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img {
		-webkit-mask-image: linear-gradient(0deg, transparent 0, rgba(0, 0, 0, .5) 12%, #000 28%); mask-image: linear-gradient(0deg, transparent 0, rgba(0, 0, 0, .5) 12%, #000 28%);
		-webkit-mask-composite: source-over; mask-composite: add;
	}
}
/* Anche i capelli sfumano: dissolvenza in alto, il cantante un po' più basso. */
.bl-hero.has-media .bl-hero__media { height: 94%; }
.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 30%), linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .6) 7%, #000 16%, #000 68%, rgba(0, 0, 0, .5) 86%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 30%), linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .6) 7%, #000 16%, #000 68%, rgba(0, 0, 0, .5) 86%, transparent 100%);
	-webkit-mask-composite: source-in; mask-composite: intersect;
}
@media (max-width: 900px) {
	.bl-hero.has-media .bl-hero__media { height: auto; }
	.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img {
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 72%, transparent 100%);
		-webkit-mask-composite: source-over; mask-composite: add;
	}
}
@media (max-width: 900px) {
	.bl-hero.has-media .bl-hero__img, .woocommerce-page .bl-hero.has-media .bl-hero__img {
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 72%, transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 72%, transparent 100%);
		-webkit-mask-composite: source-in; mask-composite: intersect;
	}
}

/* Testo che scorre senza fine: 20 ripetizioni nella barra, 8 nel nastro (sempre due metà uguali). */
.bl-announce__track { animation-duration: 140s; }
.bl-marquee__track { animation-duration: 150s; }

/* powered by INTSYDE: piccolo e blu come il logo BLANCO. */
.bl-footer .bl-powered img { height: 13px !important; width: auto !important; max-width: none; filter: none; opacity: 1; }
.bl-footer .bl-powered { color: var(--bl-blu); }
