/*!
 * wpoc – tema grafico Web Prato per OpenCart (demo «Il Cacciavite»)
 * Foglio di stile completo, senza framework esterni.
 */

/* ---------- variabili ---------- */
:root {
	--bg: #f4f4f1;
	--surface: #ffffff;
	--ink: #1d2125;
	--muted: #5f666d;
	--line: #dfe2e5;
	--line-strong: #c9ced3;
	--steel: #2b3238;
	--steel-2: #3a434b;
	--red: #c4341e;
	--red-dark: #9c2614;
	--red-soft: #fbeae6;
	--ok: #2f7a3e;
	--ok-soft: #e8f4ea;
	--warn: #8a5a00;
	--warn-soft: #fdf3dc;
	--info: #245a8a;
	--info-soft: #e6f0f9;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(20, 24, 28, .06), 0 4px 14px rgba(20, 24, 28, .06);
	--shadow-lg: 0 10px 40px rgba(20, 24, 28, .18);
	--wrap: 1240px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); }
body.wp-noscroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 2.2vw + 1rem, 2.25rem); font-weight: 800; }
h2 { font-size: 1.45rem; }
.wp-h2 { font-size: 1.45rem; }
.wp-h3 { font-size: 1.2rem; }
.wp-h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
p { margin: 0 0 1em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(196, 52, 30, .45); outline-offset: 2px; }
[hidden] { display: none !important; }
.wp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wp-i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.wp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.wp-skip:focus { top: 12px; color: #fff; }
.wp-muted { color: var(--muted); }
.wp-nowrap { white-space: nowrap; }
.wp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wp-wrap { padding: 0 24px; } }

/* ---------- barra demo e barra servizi ---------- */
.wp-demo-bar { background: var(--steel); color: #e8ebee; text-align: center; font-size: .82rem; padding: 7px 16px; }
.wp-top { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .85rem; }
.wp-top__in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.wp-top__left, .wp-top__right { display: flex; align-items: center; gap: 18px; }
.wp-top__item, .wp-top__btn { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; }
.wp-top__item:hover, .wp-top__btn:hover { color: var(--red); }
@media (max-width: 640px) { .wp-top__right { display: none; } }

/* ---------- testata ---------- */
.wp-head { background: var(--surface); border-bottom: 3px solid var(--red); position: relative; z-index: 20; }
.wp-head__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 24px; padding-top: 16px; padding-bottom: 16px; }
.wp-head__burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; font-size: 1.5rem; color: var(--ink); }
.wp-logo img { max-height: 56px; width: auto; }
.wp-logo__text { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.wp-logo a { text-decoration: none; display: inline-block; }
.wp-head__search { max-width: 560px; width: 100%; justify-self: center; }
.wp-search { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.wp-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196, 52, 30, .15); background: #fff; }
.wp-search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 18px; outline: none; }
.wp-search__btn { border: 0; background: var(--red); color: #fff; padding: 0 18px; cursor: pointer; font-size: 1.1rem; }
.wp-search__btn:hover { background: var(--red-dark); }
.wp-head__actions { display: flex; align-items: center; gap: 6px; }
.wp-head__btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; border-radius: 999px; padding: 9px 12px; color: var(--ink); text-decoration: none; cursor: pointer; font-weight: 600; font-size: .92rem; }
.wp-head__btn .wp-i { font-size: 1.25rem; }
.wp-head__btn:hover { background: var(--bg); color: var(--ink); }
.wp-head__btn--cart { background: var(--steel); color: #fff; padding: 10px 16px; }
.wp-head__btn--cart:hover { background: var(--steel-2); color: #fff; }
.wp-head__btn--cart.is-bump { animation: wp-bump .5s ease; }
@keyframes wp-bump { 30% { transform: scale(1.08); } 60% { transform: scale(.97); } }
@media (max-width: 1100px) { .wp-head__lbl { display: none; } .wp-head__btn--cart .wp-head__lbl { display: inline; } }
@media (max-width: 860px) {
	.wp-head__in { grid-template-columns: auto 1fr auto; }
	.wp-head__burger { display: inline-flex; }
	.wp-head__search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
	.wp-logo img { max-height: 44px; }
	.wp-head__btn--cart .wp-head__lbl { display: none; }
	.wp-head__btn--cart { padding: 10px 12px; }
}

/* tendine */
.wp-drop { position: relative; }
.wp-drop__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; margin: 0; list-style: none; z-index: 40; display: none; }
.wp-drop__menu.is-open { display: block; }
.wp-drop__menu a, .wp-drop__menu button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.wp-drop__menu a:hover, .wp-drop__menu button:hover { background: var(--bg); color: var(--red); }
.wp-top .wp-drop__menu { left: 0; right: auto; }

/* mini carrello */
.wp-minicart__panel { width: min(380px, calc(100vw - 32px)); padding: 14px; }
.wp-minicart__list { list-style: none; margin: 0 0 10px; padding: 0; max-height: 340px; overflow: auto; }
.wp-minicart__row { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.wp-minicart__img img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.wp-minicart__info { display: flex; flex-direction: column; min-width: 0; }
.wp-minicart__info a { color: var(--ink); font-weight: 600; text-decoration: none; font-size: .92rem; }
.wp-minicart__info small { color: var(--muted); }
.wp-minicart__go { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.wp-minicart__empty { text-align: center; color: var(--muted); padding: 18px 8px; margin: 0; }

/* menu categorie */
.wp-nav { background: var(--steel); }
.wp-nav__head { display: none; }
.wp-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.wp-nav__item { position: relative; }
.wp-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 13px 16px; color: #eef1f3; font-weight: 600; font-size: .95rem; text-decoration: none; background: none; border: 0; cursor: pointer; }
.wp-nav__link:hover, .wp-nav__item.has-sub:hover > .wp-nav__link { background: var(--red); color: #fff; }
.wp-nav__sub { position: absolute; left: 0; top: 100%; min-width: 260px; background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 10px; display: none; z-index: 30; }
.wp-nav__sub.is-open { display: block; }
@media (hover: hover) and (min-width: 861px) { .wp-nav__item.has-sub:hover > .wp-nav__sub { display: block; } }
.wp-nav__sub ul { list-style: none; margin: 0; padding: 0; }
.wp-nav__sub a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.wp-nav__sub a:hover { background: var(--bg); color: var(--red); }
.wp-nav__all { border-top: 1px solid var(--line); margin-top: 6px; font-weight: 600; }
.wp-nav__veil { display: none; }
@media (max-width: 860px) {
	.wp-nav { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); z-index: 60; transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; }
	.wp-nav.is-open { transform: none; box-shadow: var(--shadow-lg); }
	.wp-nav .wp-wrap { padding: 0; }
	.wp-nav__head { display: flex; justify-content: space-between; align-items: center; padding: 16px; color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.wp-nav__close { background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; }
	.wp-nav__list { flex-direction: column; }
	.wp-nav__link { width: 100%; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.wp-nav__sub { position: static; box-shadow: none; border-radius: 0; background: var(--steel-2); }
	.wp-nav__sub a { color: #eef1f3; }
	.wp-nav__sub a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
	.wp-nav__veil { display: block; position: fixed; inset: 0; background: rgba(20, 24, 28, .5); z-index: 55; }
}

/* ---------- avvisi ---------- */
.wp-toasts { position: fixed; top: 16px; right: 16px; z-index: 90; display: flex; flex-direction: column; gap: 10px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.wp-toast { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border-left: 5px solid var(--info); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 14px 14px 16px; animation: wp-in .25s ease; transition: opacity .4s, transform .4s; }
.wp-toast--ok { border-color: var(--ok); }
.wp-toast--err { border-color: var(--red); }
.wp-toast.is-out { opacity: 0; transform: translateX(20px); }
.wp-toast__txt { flex: 1; font-size: .93rem; }
.wp-toast__x { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 2px; }
@keyframes wp-in { from { opacity: 0; transform: translateY(-8px); } }
.wp-note { border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 16px; background: var(--info-soft); color: var(--info); font-size: .94rem; }
.wp-note--ok { background: var(--ok-soft); color: var(--ok); }
.wp-note--err { background: var(--red-soft); color: var(--red-dark); }
.wp-note--warn { background: var(--warn-soft); color: var(--warn); }
.wp-note--info { background: var(--info-soft); color: var(--info); }
.wp-note ul { margin: 6px 0 0; padding-left: 20px; }

/* ---------- impaginazione ---------- */
#wp-main { min-height: 50vh; }
.wp-page { padding: 24px 0 56px; }
.wp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .85rem; color: var(--muted); }
.wp-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.wp-crumbs a { color: var(--muted); text-decoration: none; }
.wp-crumbs a:hover { color: var(--red); }
.wp-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) {
	.wp-layout.has-left { grid-template-columns: 250px minmax(0, 1fr); }
	.wp-layout.has-right { grid-template-columns: minmax(0, 1fr) 260px; }
	.wp-layout.has-left.has-right { grid-template-columns: 230px minmax(0, 1fr) 240px; }
}
@media (max-width: 991px) { .wp-aside--left { order: 2; } }
.wp-content > *:last-child { margin-bottom: 0; }
.wp-module + .wp-module { margin-top: 36px; }
.wp-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
@media (max-width: 600px) { .wp-box { padding: 16px; } }
.wp-row2 { display: grid; gap: 0 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.wp-row3 { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.wp-cards2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.wp-section { margin: 40px 0 0; }
.wp-section__title { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.wp-section__title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--line), transparent); }
.wp-empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 36px 20px; text-align: center; color: var(--muted); }
.wp-prose { line-height: 1.7; }
.wp-prose img { border-radius: var(--radius-sm); }
.wp-prose ul, .wp-prose ol { padding-left: 22px; }
.wp-prose h2, .wp-prose h3 { margin-top: 1.4em; }
.wp-prose table { border-collapse: collapse; width: 100%; }
.wp-prose td, .wp-prose th { border: 1px solid var(--line); padding: 8px; }
.wp-article { max-width: 860px; }
.wp-article__img { border-radius: var(--radius); margin: 0 0 20px; }

/* ---------- pulsanti ---------- */
.wp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.wp-btn:active { transform: translateY(1px); }
.wp-btn--primary { background: var(--red); color: #fff; }
.wp-btn--primary:hover { background: var(--red-dark); color: #fff; }
.wp-btn--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.wp-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.wp-btn--light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }
.wp-btn--light:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.wp-btn--danger { background: var(--surface); border-color: var(--red); color: var(--red); }
.wp-btn--danger:hover { background: var(--red); color: #fff; }
.wp-btn--sm { min-height: 36px; padding: 7px 14px; font-size: .88rem; }
.wp-btn--lg { min-height: 52px; padding: 13px 26px; font-size: 1.02rem; }
.wp-btn--block { width: 100%; }
.wp-btn[disabled], .wp-btn.is-busy { opacity: .6; cursor: not-allowed; }
.is-busy { position: relative; color: transparent !important; }
.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; left: 50%; top: 50%; margin: -9px 0 0 -9px; border: 2px solid currentColor; border-color: #fff #fff transparent transparent; border-radius: 50%; animation: wp-spin .7s linear infinite; }
.wp-btn--ghost.is-busy::after, .wp-iconbtn.is-busy::after, .wp-linkbtn.is-busy::after { border-color: var(--red) var(--red) transparent transparent; }
@keyframes wp-spin { to { transform: rotate(360deg); } }
.wp-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; text-decoration: none; font-size: 1.05rem; flex: none; }
.wp-iconbtn:hover, .wp-iconbtn.is-on { border-color: var(--ink); color: var(--ink); }
.wp-iconbtn--danger:hover { border-color: var(--red); color: var(--red); }
.wp-linkbtn { background: none; border: 0; padding: 4px 0; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: .92rem; }
.wp-linkbtn:hover { color: var(--red); }
.wp-linkbtn--danger { color: var(--red); }
.wp-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; }
.wp-actions > :only-child { margin-left: auto; }

/* ---------- moduli ---------- */
.wp-form--narrow { max-width: 520px; }
.wp-fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.wp-fieldset legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.wp-field { margin-bottom: 16px; min-width: 0; }
.wp-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.wp-field.is-req > .wp-label::after { content: " *"; color: var(--red); }
.wp-input { display: block; width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
textarea.wp-input { min-height: 110px; resize: vertical; }
select.wp-input { appearance: none; padding-right: 38px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235f666d' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.wp-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(196, 52, 30, .15); }
.wp-input[readonly] { background: var(--bg); }
.wp-input--sm { min-height: 38px; padding: 6px 10px; font-size: .9rem; width: auto; }
select.wp-input--sm { padding-right: 32px; background-position: right 10px center; }
.wp-input.is-bad, .is-bad .wp-input, .is-bad input { border-color: var(--red); }
.wp-err { color: var(--red-dark); font-size: .85rem; margin-top: 5px; }
.wp-err:empty { display: none; }
.wp-hint { color: var(--muted); font-size: .85rem; margin: 5px 0 0; }
.wp-check, .wp-switch { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; cursor: pointer; font-size: .95rem; }
.wp-check input, .wp-switch input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.wp-checks { margin: 8px 0; }
.wp-choices { display: flex; flex-direction: column; gap: 2px; }
.wp-choices--pills { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.wp-pill { position: relative; cursor: pointer; }
.wp-pill input { position: absolute; opacity: 0; inset: 0; }
.wp-pill span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; background: var(--surface); }
.wp-pill input:checked + span { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); font-weight: 600; }
.wp-pill input:focus-visible + span { outline: 3px solid rgba(196, 52, 30, .45); }
.wp-segment { display: inline-flex; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 4px 0 18px; }
.wp-segment label { position: relative; cursor: pointer; }
.wp-segment input { position: absolute; opacity: 0; inset: 0; }
.wp-segment span { display: block; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.wp-segment input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.wp-segment input:focus-visible + span { outline: 3px solid rgba(196, 52, 30, .45); }
.wp-inline-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wp-inline-form .wp-input { flex: 1 1 200px; width: auto; }
.wp-upload { display: flex; align-items: center; gap: 10px; }
.wp-captcha__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wp-captcha__row img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.wp-captcha__row .wp-input { flex: 1 1 160px; width: auto; }
.wp-rate { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wp-rate__opt { position: relative; cursor: pointer; }
.wp-rate__opt input { position: absolute; opacity: 0; inset: 0; }
.wp-rate__opt span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; font-weight: 700; }
.wp-rate__opt input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.wp-details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; }
.wp-details > summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.wp-details > summary::-webkit-details-marker { display: none; }
.wp-details > summary::after { content: "+"; font-size: 1.2rem; color: var(--muted); }
.wp-details[open] > summary::after { content: "−"; }
.wp-details > :not(summary) { padding: 0 16px 16px; }

/* ---------- prezzi, stelle, badge ---------- */
.wp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0; }
.wp-price__now { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.wp-price__now.is-sale, .is-sale { color: var(--red); }
.wp-price__old, s { color: var(--muted); font-size: .9rem; }
.wp-price__tax { width: 100%; font-size: .78rem; color: var(--muted); }
.wp-price--lg .wp-price__now { font-size: 2rem; }
.wp-stars { color: var(--line-strong); letter-spacing: 1px; font-size: .95rem; }
.wp-star.is-on { color: #e2a400; }
.wp-badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; }
.wp-badge--dark { position: static; display: inline-block; background: var(--steel); margin-bottom: 8px; }
.wp-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--red); margin: 0 0 8px; }
.wp-kicker a { text-decoration: none; }
.wp-chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: .88rem; }
.wp-chip:hover { border-color: var(--red); color: var(--red); }
.wp-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 20px; }
.wp-chips__lbl { font-weight: 600; margin-right: 4px; }
.wp-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 18px; }
.wp-status { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.wp-flag { color: var(--red); font-weight: 700; }

/* ---------- home ---------- */
.wp-home { padding-top: 0; }
.wp-hero { background: linear-gradient(120deg, var(--steel) 0%, #232a2f 60%, #3b2622 100%); color: #fff; position: relative; overflow: hidden; margin-bottom: 36px; }
.wp-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border: 40px solid rgba(196, 52, 30, .35); border-radius: 50%; }
.wp-hero__in { position: relative; z-index: 1; display: grid; gap: 28px; padding-top: 56px; padding-bottom: 56px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
.wp-hero h1 { color: #fff; font-size: clamp(2rem, 3.2vw + 1rem, 3.1rem); margin-bottom: 14px; }
.wp-hero p { color: #d7dde2; font-size: 1.08rem; max-width: 560px; }
.wp-hero .wp-kicker { color: #ff9d8c; }
.wp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.wp-hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wp-hero__points li { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 14px 16px; }
.wp-hero__points .wp-i { font-size: 1.6rem; color: #ff9d8c; }
.wp-hero__points span { display: flex; flex-direction: column; color: #cfd6db; font-size: .9rem; }
.wp-hero__points strong { color: #fff; font-size: 1rem; }
@media (max-width: 860px) { .wp-hero__in { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; } }

/* ---------- schede prodotto in elenco ---------- */
.wp-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.wp-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.wp-grid--col { grid-template-columns: 1fr; }
.wp-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.wp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent; }
.wp-card__img { position: relative; display: block; background: #fff; aspect-ratio: 1 / 1; padding: 14px; }
.wp-card__img img { width: 100%; height: 100%; object-fit: contain; }
.wp-card__body { padding: 4px 16px 0; flex: 1; display: flex; flex-direction: column; }
.wp-card__title { font-size: 1rem; font-weight: 700; margin: 6px 0; line-height: 1.3; }
.wp-card__title a { color: var(--ink); text-decoration: none; }
.wp-card__title a:hover { color: var(--red); }
.wp-card__desc { color: var(--muted); font-size: .86rem; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wp-card__body .wp-price { margin-top: auto; padding-bottom: 4px; }
.wp-card__actions { display: flex; gap: 6px; padding: 12px 16px 16px; }
.wp-card__buy { flex: 1; min-height: 40px; padding: 8px 12px; font-size: .9rem; }
.wp-card--post .wp-card__img { aspect-ratio: 16 / 10; padding: 0; }
.wp-card--post .wp-card__img img { object-fit: cover; }
.wp-card--post .wp-card__body { padding-bottom: 16px; }
.wp-grid--list { grid-template-columns: 1fr; }
.wp-grid--list .wp-card { flex-direction: row; align-items: stretch; }
.wp-grid--list .wp-card__img { width: 180px; flex: none; }
.wp-grid--list .wp-card__body { padding: 16px; }
.wp-grid--list .wp-card__desc { -webkit-line-clamp: 3; }
.wp-grid--list .wp-card__actions { flex-direction: column; justify-content: center; width: 220px; border-left: 1px solid var(--line); padding: 16px; }
.wp-grid--list .wp-card__actions .wp-iconbtn { width: 100%; }
@media (max-width: 700px) {
	.wp-grid--list .wp-card { flex-direction: column; }
	.wp-grid--list .wp-card__img { width: 100%; }
	.wp-grid--list .wp-card__actions { width: auto; flex-direction: row; border-left: 0; padding-top: 0; }
	.wp-grid--list .wp-card__actions .wp-iconbtn { width: 40px; }
}
@media (max-width: 480px) { .wp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .wp-grid--wide, .wp-grid--list { grid-template-columns: 1fr; } .wp-card__actions { flex-wrap: wrap; } .wp-card__buy { flex-basis: 100%; } .wp-card__body { padding: 4px 12px 0; } .wp-card__actions { padding: 10px 12px 12px; } }

/* barra elenco e intestazione categoria */
.wp-pagehead { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.wp-pagehead__img { width: 96px; height: 96px; object-fit: contain; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.wp-pagehead__desc { color: var(--muted); max-width: 760px; }
.wp-pagehead h1 { margin-bottom: 6px; }
.wp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 18px; }
.wp-toolbar__view { display: flex; gap: 6px; }
.wp-toolbar__sel { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-left: auto; }
.wp-toolbar__sel + .wp-toolbar__sel { margin-left: 0; }
@media (max-width: 600px) { .wp-toolbar__view { display: none; } .wp-toolbar__sel { margin-left: 0; flex: 1 1 140px; } .wp-toolbar__sel .wp-input--sm { width: 100%; } }
.wp-listfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.wp-listfoot p { margin: 0; font-size: .88rem; }
.wp-pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.wp-pager a, .wp-pager span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; padding: 0 10px; }
.wp-pager a:hover { border-color: var(--ink); }
.wp-pager [aria-current] { background: var(--steel); border-color: var(--steel); color: #fff; }

/* colonne laterali */
.wp-sidenav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; margin-bottom: 20px; }
.wp-sidenav__title { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 10px 8px; }
.wp-sidenav ul { list-style: none; margin: 0; padding: 0; }
.wp-sidenav ul ul { padding-left: 12px; }
.wp-sidenav a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: .94rem; }
.wp-sidenav a:hover { background: var(--bg); color: var(--red); }
.wp-sidenav a.is-on { background: var(--red-soft); color: var(--red-dark); font-weight: 600; }
.wp-sidenav__out { color: var(--red) !important; }
.wp-filter__group { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 10px; }
.wp-filter__group legend { font-weight: 600; padding: 0; }
.wp-filter .wp-btn { margin-top: 8px; }

/* ---------- scheda prodotto ---------- */
.wp-pdp { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; margin-bottom: 36px; }
@media (max-width: 860px) { .wp-pdp { grid-template-columns: 1fr; gap: 22px; } }
.wp-gallery { position: sticky; top: 16px; }
@media (max-width: 860px) { .wp-gallery { position: static; } }
.wp-gallery__main { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; cursor: zoom-in; aspect-ratio: 1 / 1; }
.wp-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.wp-gallery__thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; }
.wp-gallery__thumbs button { width: 76px; height: 76px; padding: 4px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.wp-gallery__thumbs button.is-on, .wp-gallery__thumbs button:hover { border-color: var(--red); }
.wp-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.wp-pdp__info h1 { margin-bottom: 10px; }
.wp-pdp__rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; }
.wp-pdp__rating a { color: var(--muted); }
.wp-pdp__price { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 16px 0; }
.wp-pdp__price .wp-price { margin: 0; }
.wp-pdp__discounts { list-style: none; margin: 10px 0 0; padding: 0; font-size: .9rem; color: var(--ok); }
.wp-specs { display: grid; gap: 0; margin: 0 0 18px; }
.wp-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.wp-specs dt { color: var(--muted); }
.wp-specs dd { margin: 0; font-weight: 600; text-align: right; }
.wp-specs--table > div:nth-child(odd) { background: var(--bg); }
.wp-specs--table > div { padding: 9px 12px; border: 0; }
.wp-stock { color: var(--ok); }
.wp-buybox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.wp-options { border: 0; padding: 0; margin: 0 0 6px; }
.wp-options legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.wp-buybox__row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.wp-buybox__add { flex: 1 1 220px; }
.wp-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.wp-qty button { width: 44px; border: 0; background: var(--bg); cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.wp-qty button:hover { background: var(--line); }
.wp-qty input { width: 56px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.wp-qty input::-webkit-outer-spin-button, .wp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wp-qty input:focus { outline: none; }
.wp-qty--sm button { width: 34px; }
.wp-qty--sm input { width: 44px; height: 38px; }
.wp-pdp__more { display: flex; gap: 20px; margin-top: 12px; flex-wrap: wrap; }

/* schede descrizione/specifiche/recensioni */
.wp-tabs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
.wp-tabs__bar { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 12px; overflow-x: auto; }
.wp-tabs__bar [role="tab"] { background: none; border: 0; border-bottom: 3px solid transparent; padding: 15px 14px 12px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.wp-tabs__bar [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.wp-tabs__panel { padding: 22px 24px; }
@media (max-width: 600px) { .wp-tabs__panel { padding: 16px; } }
.wp-reviews { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .wp-reviews { grid-template-columns: 1fr; } }
.wp-reviews__form { margin: 0; background: var(--bg); }
.wp-review { border-bottom: 1px solid var(--line); padding: 0 0 14px; margin-bottom: 14px; }
.wp-review header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }

/* finestre */
.wp-modal { position: fixed; inset: 0; z-index: 80; background: rgba(20, 24, 28, .6); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.wp-modal.is-open { opacity: 1; }
.wp-modal__box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.wp-modal--text .wp-modal__box { width: min(820px, 100%); }
.wp-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.wp-modal__title { margin: 0; font-size: 1.15rem; }
.wp-modal__x { background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--muted); }
.wp-modal__body { padding: 20px; overflow: auto; }
.wp-modal--img .wp-modal__box { width: min(980px, 100%); background: #fff; }
.wp-zoom { position: relative; }
.wp-zoom__img { max-height: calc(100vh - 140px); margin: 0 auto; object-fit: contain; }
.wp-zoom__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(43, 50, 56, .85); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.wp-zoom__nav--prev { left: 4px; }
.wp-zoom__nav--next { right: 4px; }

/* ---------- carrello ---------- */
.wp-cartpage { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 960px) { .wp-cartpage { grid-template-columns: 1fr; } }
.wp-cartlines { display: flex; flex-direction: column; gap: 12px; }
.wp-cartline { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.wp-cartline__img img { border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.wp-cartline__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.wp-cartline__name:hover { color: var(--red); }
.wp-cartline__meta { list-style: none; margin: 4px 0 0; padding: 0; font-size: .82rem; color: var(--muted); }
.wp-cartline__unit { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.wp-cartline__qty { display: flex; align-items: center; gap: 6px; }
.wp-cartline__total { font-weight: 800; font-size: 1.05rem; margin: 0; min-width: 90px; text-align: right; }
@media (max-width: 680px) {
	.wp-cartline { grid-template-columns: 64px minmax(0, 1fr); }
	.wp-cartline__qty { grid-column: 1 / -1; }
	.wp-cartline__total { grid-column: 1 / -1; text-align: left; }
}
.wp-cartsum { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; }
.wp-totals { margin: 0 0 8px; }
.wp-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.wp-totals dt { color: var(--muted); }
.wp-totals dd { margin: 0; font-weight: 600; text-align: right; }
.wp-totals > div.is-grand { border-bottom: 0; padding-top: 12px; }
.wp-totals > div.is-grand dt { color: var(--ink); font-weight: 700; }
.wp-totals > div.is-grand dd { font-size: 1.3rem; font-weight: 800; }
.wp-totals--sm > div { padding: 5px 0; font-size: .92rem; }
.wp-totals--right { max-width: 380px; margin-left: auto; }
.wp-cartextra { max-width: 760px; }
.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }

/* ---------- checkout ---------- */
.wp-checkout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 960px) { .wp-checkout { grid-template-columns: 1fr; } }
.wp-checkout__side { position: sticky; top: 16px; }
@media (max-width: 960px) { .wp-checkout__side { position: static; } }
.wp-step__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 14px; }
.wp-step__n { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--red); color: #fff; font-size: .95rem; }
.wp-step__title .wp-i { color: var(--red); }
.wp-method__current { display: flex; gap: 8px; }
.wp-method__value { flex: 1; min-width: 0; }
.wp-method__options { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.wp-method__group + .wp-method__group { margin-top: 10px; }
.wp-method__name { font-weight: 700; font-size: .9rem; margin: 0 0 6px; }
.wp-radio { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 8px; cursor: pointer; background: var(--surface); }
.wp-radio:hover { border-color: var(--ink); }
.wp-radio input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; flex: none; }
.wp-radio__t { flex: 1; }
.wp-radio__p { font-weight: 700; }
.wp-radio:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.wp-comment { margin-top: 16px; }
.wp-agree { font-size: .9rem; }
.wp-summary { list-style: none; margin: 0 0 12px; padding: 0; }
.wp-summary li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.wp-summary__q { color: var(--muted); font-weight: 700; }
.wp-summary__n a { color: var(--ink); font-weight: 600; text-decoration: none; }
.wp-summary__n small { display: block; color: var(--muted); }
.wp-summary__t { font-weight: 700; }
.wp-pay { margin-top: 14px; }
.wp-payinfo { margin-bottom: 14px; }
.wp-payinfo__title { font-weight: 700; margin-bottom: 6px; }
.wp-payinfo__box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 8px; white-space: pre-line; }

/* esito */
.wp-done { text-align: center; max-width: 680px; margin: 10px auto; padding: 40px 24px; }
.wp-done__ico { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 16px; }
.wp-done--err .wp-done__ico { background: var(--red-soft); color: var(--red); font-size: 1.4rem; font-weight: 800; }
.wp-done .wp-actions { justify-content: center; }

/* ---------- area clienti ---------- */
.wp-login { align-items: stretch; gap: 20px; }
.wp-login .wp-box { margin: 0; }
.wp-login__new { background: var(--steel); color: #dfe4e8; border-color: var(--steel); }
.wp-login__new h2 { color: #fff; }
.wp-login__new .wp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.wp-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin-bottom: 28px; }
.wp-tile { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.wp-tile .wp-i { font-size: 1.35rem; color: var(--red); }
.wp-tile:hover { border-color: var(--red); box-shadow: var(--shadow); color: var(--ink); }
.wp-addrcard { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.wp-addrcard.is-default { border-color: var(--steel); }
.wp-addrcard__act { display: flex; gap: 14px; align-items: center; margin-top: auto; }
.wp-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin-bottom: 20px; }
.wp-fact { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 0; }
.wp-fact span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.wp-fact--big { display: inline-flex; margin-bottom: 18px; }
.wp-fact--big strong { font-size: 1.4rem; }
.wp-timeline ol { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.wp-timeline li { position: relative; padding: 0 0 16px 10px; }
.wp-timeline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); border: 2px solid var(--surface); }
.wp-timeline time { display: block; font-size: .82rem; color: var(--muted); }
.wp-timeline p { margin: 4px 0 0; }
.wp-auth .wp-form--narrow { margin: 20px auto; }
.wp-auto { position: relative; }
.wp-auto__list { list-style: none; margin: 4px 0 0; padding: 6px; position: absolute; left: 0; right: 0; z-index: 10; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.wp-auto__list button { width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; }
.wp-auto__list button:hover { background: var(--bg); }

/* tabelle */
.wp-tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }
.wp-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.wp-table th, .wp-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wp-table thead th { background: var(--bg); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.wp-table tbody tr:last-child td { border-bottom: 0; }
.wp-table .is-num { text-align: right; }
@media (max-width: 680px) {
	.wp-table:not(.wp-compare) thead { display: none; }
	.wp-table:not(.wp-compare) tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
	.wp-table:not(.wp-compare) td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 14px; text-align: right; }
	.wp-table:not(.wp-compare) td[data-l]::before { content: attr(data-l); color: var(--muted); font-size: .82rem; text-align: left; }
	.wp-table:not(.wp-compare) td:not([data-l]) { justify-content: flex-end; }
}
.wp-compare th[scope="col"] { text-align: center; text-transform: none; letter-spacing: 0; font-size: .92rem; color: var(--ink); min-width: 180px; }
.wp-compare th[scope="col"] img { margin: 0 auto 8px; }
.wp-compare th[scope="row"] { color: var(--muted); font-weight: 600; white-space: nowrap; }
.wp-compare__group th { background: var(--bg); text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; }
.wp-compare__desc { font-size: .85rem; color: var(--muted); }
.wp-compare tfoot td { text-align: center; }
.wp-compare tfoot .wp-linkbtn { margin-top: 6px; }

/* marche, mappa, blog, contatti */
.wp-brands { margin-bottom: 20px; }
.wp-brands__letter { font-size: 1.4rem; color: var(--red); border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.wp-brands__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.wp-sitemap ul { margin: 0; padding-left: 18px; }
.wp-sitemap li { margin: 4px 0; }
.wp-posts { display: flex; flex-direction: column; gap: 16px; }
.wp-post { display: grid; grid-template-columns: 220px 1fr; gap: 20px; margin: 0; }
.wp-post__img img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 680px) { .wp-post { grid-template-columns: 1fr; } }
.wp-comments__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.wp-comments__act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wp-commentitem { margin-bottom: 12px; }
.wp-commentitem__act { display: flex; gap: 14px; }
.wp-replies { margin-top: 10px; border-top: 1px solid var(--line); }
.wp-reply { padding: 10px 0 0 18px; border-left: 3px solid var(--line); margin-top: 10px; }
.wp-contact { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
@media (max-width: 860px) { .wp-contact { grid-template-columns: 1fr; } }
.wp-contact__info p, .wp-contact__info address { display: flex; gap: 10px; align-items: flex-start; }
.wp-contact__info .wp-i { color: var(--red); margin-top: 3px; }
.wp-contact__img { border-radius: var(--radius-sm); margin-bottom: 12px; }

/* banner */
.wp-slider { position: relative; margin-bottom: 24px; }
.wp-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.wp-slider__track::-webkit-scrollbar { display: none; }
.wp-slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.wp-slider__slide img { width: 100%; }
.wp-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.wp-slider__nav--prev { left: 10px; }
.wp-slider__nav--next { right: 10px; }

/* ---------- cookie ---------- */
.wp-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; background: var(--steel); color: #e9edf0; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 0; }
.wp-cookie__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.wp-cookie p { margin: 0; flex: 1 1 320px; font-size: .92rem; }
.wp-cookie a { color: #ffb3a6; }
.wp-cookie__btns { display: flex; gap: 8px; }
.wp-cookie .wp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }

/* ---------- piè di pagina ---------- */
.wp-foot { background: var(--steel); color: #c7ced4; margin-top: 20px; font-size: .93rem; }
.wp-foot__cols { display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(3, 1fr); padding: 48px 0 36px; }
@media (max-width: 900px) { .wp-foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .wp-foot__cols { grid-template-columns: 1fr; } }
.wp-foot__name { font-size: 1.25rem; font-weight: 800; color: #fff; }
.wp-foot__shop p { display: flex; gap: 10px; align-items: flex-start; }
.wp-foot__shop .wp-i { color: #ff9d8c; margin-top: 3px; }
.wp-foot__title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.wp-foot ul { list-style: none; margin: 0; padding: 0; }
.wp-foot li { margin: 7px 0; }
.wp-foot a { color: #c7ced4; text-decoration: none; }
.wp-foot a:hover { color: #fff; text-decoration: underline; }
.wp-credits { background: #1f2529; color: #9aa4ac; font-size: .8rem; }
.wp-credits__in { display: flex; align-items: center; gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.wp-credits p { margin: 0; line-height: 1.6; }
.wp-credits__logo { flex: none; opacity: .9; }
.wp-credits__logo:hover { opacity: 1; }
.wp-credits__logo img { width: 130px; height: auto; }
@media (max-width: 640px) { .wp-credits__in { flex-direction: column; align-items: flex-start; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* blocco contatti DEMO condiviso */
.wpdemo { --wpdemo-accent: var(--red); --wpdemo-ink: var(--ink); --wpdemo-muted: var(--muted); --wpdemo-line: var(--line); --wpdemo-soft: var(--bg); --wpdemo-radius: var(--radius); }

/* prenotazioni Web Prato */
.wpbook { --wpbook-accent: var(--red); --wpbook-accent2: var(--red-dark); --wpbook-ink: var(--ink); --wpbook-muted: var(--muted); --wpbook-line: var(--line); --wpbook-soft: var(--bg); --wpbook-radius: var(--radius); }
