/* =========================================================================
   VerooMarket Marketplace – stili del tema child
   Identità VerooMarket: indaco notte e oro.
   ========================================================================= */
:root {
	--vma-navy: #15123A;
	--vma-navy-2: #1E1A4D;
	--vma-navy-3: #29245F;
	--vma-indigo: #3730A3;
	--vma-indigo-2: #2E2785;
	--vma-indigo-soft: #ECEAFB;
	--vma-gold: #C9A84C;
	--vma-gold-2: #B8963A;
	--vma-gold-soft: #F6EFD9;
	--vma-bg: #EEEDF5;
	--vma-ink: #14132B;
	--vma-ink-2: #45435E;
	--vma-mute: #6B6984;
	--vma-line: #DCDAE8;
	--vma-red: #B42318;
	--vma-green: #067D3B;
	--vma-shadow: 0 1px 3px rgba(21, 18, 58, .08);
	--vma-shadow-lg: 0 10px 28px rgba(21, 18, 58, .16);
	--vma-ease: cubic-bezier(.2, .8, .2, 1);
}

body.vma { background: var(--vma-bg); color: var(--vma-ink); overflow-x: clip; }
body.vma.vma-lock { overflow: hidden; }

/* Header e piè di pagina precedenti (snippet "Intestazione e piè di pagina"):
   nascosti quando il tema è attivo, per non mostrarli due volte. */
body.vma #vx-header,
body.vma footer.vx-foot { display: none !important; }

.vma-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.vma-ico-sm { width: 16px; height: 16px; }
.vma-ico-xs { width: 12px; height: 12px; display: inline-block; vertical-align: middle; }
.vma-link { color: var(--vma-indigo) !important; transition: color .15s; }
.vma-link:hover { color: var(--vma-gold-2) !important; text-decoration: underline; }
.vma-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: var(--vma-navy); padding: 10px 14px; }
.vma-skip:focus { left: 10px; top: 10px; }
.vma :focus-visible { outline: 2px solid var(--vma-gold); outline-offset: 2px; }

/* ---------------- Pulsanti ---------------- */
.vma-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background-color .15s, box-shadow .15s, transform .12s; }
.vma-btn:active { transform: scale(.97); }
.vma-btn-gold { background: var(--vma-gold); color: var(--vma-navy) !important; }
.vma-btn-gold:hover { background: var(--vma-gold-2); box-shadow: 0 2px 8px rgba(184, 150, 58, .35); }
.vma-btn-ind { background: var(--vma-indigo); color: #fff !important; }
.vma-btn-ind:hover { background: var(--vma-indigo-2); }
.vma-btn-line { background: #fff; border-color: var(--vma-line); color: var(--vma-ink) !important; }
.vma-btn-line:hover { background: #F6F5FB; border-color: #C5C3D8; }
.vma-btn-sm { min-height: 34px; font-size: 13px; padding: 0 14px; }
.vma-btn-block { width: 100%; }
.vma-btn.loading { opacity: .7; pointer-events: none; }
.vma-btn.added::after { content: none; }
a.added_to_cart.wc-forward { display: none !important; }

/* ---------------- Header ---------------- */
.vma-hdr { position: sticky; top: 0; z-index: 400; color: #fff; font-family: inherit; }
.admin-bar .vma-hdr { top: 32px; }
.vma-hdr a { color: #fff; text-decoration: none; }
.vma-belt { background: var(--vma-navy); display: flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 62px; }
.vma-hbox { display: flex; flex-direction: column; justify-content: center; padding: 6px 8px; border: 1px solid transparent; border-radius: 4px; white-space: nowrap; background: none; color: #fff; font: inherit; cursor: pointer; text-align: left; transition: border-color .15s; }
.vma-hbox:hover, .vma-hbox:focus-visible { border-color: #fff; }
.vma-l1 { display: block; font-size: 12px; line-height: 14px; color: #C9C7DE; }
.vma-l2 { display: block; font-size: 14px; line-height: 17px; font-weight: 700; color: #fff; }
.vma-logo { flex-direction: row; align-items: center; }
.vma-word { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.vma-word b { font-weight: 400; color: var(--vma-gold); }
.vma-burger { display: none; }
.vma-addr { flex-direction: row; align-items: center; gap: 4px; }
.vma-addr > span { display: flex; flex-direction: column; }

.vma-search { flex: 1; display: flex; height: 42px; min-width: 0; margin: 0 6px; border-radius: 8px; background: #fff; overflow: hidden; transition: box-shadow .15s; }
.vma-search:focus-within { box-shadow: 0 0 0 3px var(--vma-gold); }
.vma-search select { flex: 0 0 auto; width: auto; max-width: 170px; height: 100%; margin: 0; padding: 0 22px 0 10px; border: 0; border-right: 1px solid var(--vma-line); border-radius: 0; background-color: #F1F0F7; color: var(--vma-ink-2); font-size: 12px; cursor: pointer; transition: background-color .15s; }
.vma-search select:hover { background-color: #E3E1EF; color: var(--vma-ink); }
.vma-search input[type="search"] { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 12px; border: 0; border-radius: 0; background: #fff; color: var(--vma-ink); font-size: 15px; box-shadow: none; }
.vma-go { flex: 0 0 50px; height: 100%; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 0; background: var(--vma-gold); color: var(--vma-navy); cursor: pointer; transition: background-color .15s; }
.vma-go:hover { background: var(--vma-gold-2); }
.vma-go .vma-ico { width: 22px; height: 22px; stroke-width: 2.4; }
.vma-lang { flex-direction: row; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; cursor: default; }

.vma-acct { position: relative; }
.vma-acct-dd { position: absolute; right: 0; top: calc(100% + 6px); width: 440px; padding: 18px; border-radius: 10px; background: #fff; color: var(--vma-ink); box-shadow: var(--vma-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--vma-ease), visibility .18s; z-index: 10; }
.vma-acct-dd::before { content: ""; position: absolute; right: 30px; top: -7px; border: 7px solid transparent; border-top: 0; border-bottom-color: #fff; }
.vma-acct:hover .vma-acct-dd, .vma-acct:focus-within .vma-acct-dd { opacity: 1; visibility: visible; transform: none; }
.vma-acct-login { display: flex; width: 220px; margin: 0 auto 6px; }
.vma-acct-new { margin: 0 0 12px; text-align: center; font-size: 12px; color: var(--vma-ink-2); }
.vma-acct-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vma-acct-dd .vma-acct-login + .vma-acct-new + .vma-acct-cols { padding-top: 14px; border-top: 1px solid var(--vma-line); }
.vma-acct-cols h4 { margin: 0 0 6px; font-size: 15px; color: var(--vma-ink); }
.vma-acct-cols a { display: block; padding: 3px 0; font-size: 13px; color: var(--vma-ink-2) !important; }
.vma-acct-cols a:hover { color: var(--vma-gold-2) !important; text-decoration: underline; }

.vma-cart { flex-direction: row; align-items: flex-end; gap: 2px; font-weight: 700; font-size: 14px; }
.vma-bag { position: relative; display: inline-flex; }
.vma-bag .vma-ico { width: 34px; height: 34px; stroke-width: 1.7; }
.vma-cart-count { position: absolute; top: -4px; left: 50%; transform: translateX(-30%); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--vma-gold); color: var(--vma-navy); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }
.vma-bump { animation: vma-bump .5s var(--vma-ease); }
.vma-cart-count.vma-bump { animation: vma-bump-b .5s var(--vma-ease); }
@keyframes vma-bump { 0% { transform: scale(1); } 30% { transform: scale(1.25); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }
@keyframes vma-bump-b { 0% { transform: translateX(-30%) scale(1); } 30% { transform: translateX(-30%) scale(1.45); } 60% { transform: translateX(-30%) scale(.9); } 100% { transform: translateX(-30%) scale(1); } }

.vma-sub { display: flex; align-items: center; gap: 2px; height: 40px; padding: 0 10px; background: var(--vma-navy-2); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.vma-sub::-webkit-scrollbar { display: none; }
.vma-sub a, .vma-sub button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid transparent; border-radius: 4px; background: none; color: #fff; font: inherit; font-size: 14px; cursor: pointer; transition: border-color .15s; }
.vma-sub a:hover, .vma-sub button:hover { border-color: #fff; }
.vma-sub .vma-all { font-weight: 700; }
.vma-sub .vma-gold { color: var(--vma-gold); font-weight: 700; }
.vma-sub .vma-ship { margin-left: auto; font-weight: 700; }

/* ---------------- Menu laterale ---------------- */
.vma-ovl { position: fixed; inset: 0; z-index: 500; background: rgba(10, 8, 30, .72); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.vma-ovl.is-on { opacity: 1; visibility: visible; }
.vma-drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 501; display: flex; flex-direction: column; width: 365px; max-width: 86vw; background: #fff; color: var(--vma-ink); box-shadow: var(--vma-shadow-lg); transform: translateX(-100%); transition: transform .32s var(--vma-ease); outline: none; }
.vma-drawer.is-on { transform: none; }
.admin-bar .vma-drawer { top: 32px; }
.vma-dr-x { position: fixed; top: 12px; left: min(375px, calc(86vw + 10px)); z-index: 502; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: none; color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s; }
.vma-dr-x .vma-ico { width: 30px; height: 30px; }
.vma-dr-x.is-on { opacity: 1; visibility: visible; }
.vma-dr-head { display: flex; align-items: center; gap: 12px; padding: 15px 24px; background: var(--vma-navy-2); color: #fff; font-size: 19px; font-weight: 700; }
.vma-av { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--vma-gold); color: var(--vma-navy); }
.vma-av .vma-ico { width: 18px; height: 18px; }
.vma-dr-view { flex: 1; position: relative; overflow: hidden; }
.vma-dr-track { display: flex; width: 200%; height: 100%; transition: transform .32s var(--vma-ease); }
.vma-dr-track.is-sub { transform: translateX(-50%); }
.vma-dr-panel { width: 50%; height: 100%; overflow-y: auto; padding-bottom: 24px; overscroll-behavior: contain; }
.vma-dr-sec { padding: 10px 0; border-bottom: 1px solid var(--vma-line); }
.vma-dr-sec:last-child { border-bottom: 0; }
.vma-dr-t { padding: 10px 24px 6px; font-size: 18px; font-weight: 700; color: var(--vma-ink); }
.vma-dr-l { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 12px 24px; border: 0; background: none; color: var(--vma-ink) !important; font: inherit; font-size: 14px; text-align: left; text-decoration: none !important; cursor: pointer; transition: background-color .15s; }
.vma-dr-l:hover { background: #F1F0F7; }
.vma-dr-l .vma-ico { width: 18px; height: 18px; color: var(--vma-mute); }
.vma-dr-static { justify-content: flex-start; cursor: default; }
.vma-dr-static:hover { background: none; }
.vma-dr-extra { display: none; }
.vma-dr-sec.is-open .vma-dr-extra { display: flex; }
.vma-dr-more { justify-content: flex-start; font-weight: 600; }
.vma-dr-more .vma-ico { transition: transform .2s; }
.vma-dr-more[aria-expanded="true"] .vma-ico { transform: rotate(180deg); }
.vma-dr-back { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 24px; border: 0; border-bottom: 1px solid var(--vma-line); background: none; color: var(--vma-ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color .15s; }
.vma-dr-back:hover { background: #F1F0F7; }

/* ---------------- Finestra CAP ---------------- */
.vma-modal-bg { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 8, 30, .6); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.vma-modal-bg[hidden] { display: flex; }
.vma-modal-bg.is-on { opacity: 1; visibility: visible; }
.vma-modal { width: 100%; max-width: 400px; overflow: hidden; border-radius: 14px; background: #fff; color: var(--vma-ink); box-shadow: var(--vma-shadow-lg); transform: scale(.94) translateY(10px); transition: transform .25s var(--vma-ease); }
.vma-modal-bg.is-on .vma-modal { transform: none; }
.vma-modal-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #F1F0F7; font-weight: 700; font-size: 16px; }
.vma-modal-h button { border: 0; background: none; color: var(--vma-ink); cursor: pointer; padding: 4px; }
.vma-modal-b { padding: 20px; }
.vma-modal-b p { margin: 0 0 12px; font-size: 13px; color: var(--vma-ink-2); }
.vma-lbl { display: block; margin: 10px 0 6px; font-size: 13px; font-weight: 600; }
.vma-inp { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #A9A7BD; border-radius: 8px; background: #fff; color: var(--vma-ink); }
.vma-inp:focus { border-color: var(--vma-indigo); box-shadow: 0 0 0 3px rgba(55, 48, 163, .18); outline: none; }
.vma-err { min-height: 18px; margin: 8px 0 !important; color: var(--vma-red) !important; }

/* ---------------- Toast ---------------- */
.vma-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 700; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.vma-toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 340px; max-width: calc(100vw - 40px); padding: 12px 14px; border-left: 4px solid var(--vma-green); border-radius: 12px; background: #fff; color: var(--vma-ink); box-shadow: var(--vma-shadow-lg); animation: vma-toast-in .35s var(--vma-ease) both; }
.vma-toast.is-out { animation: vma-toast-out .3s ease forwards; }
@keyframes vma-toast-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes vma-toast-out { to { opacity: 0; transform: translateY(12px); } }
.vma-toast img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 8px; object-fit: contain; background: #fff; }
.vma-toast-tx { flex: 1; min-width: 0; font-size: 13px; }
.vma-toast-tx b { display: flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--vma-green); font-size: 14px; }
.vma-toast-tx b .vma-ico { width: 16px; height: 16px; }
.vma-toast-tx span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--vma-ink-2); }
.vma-toast-go { font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--vma-indigo) !important; }

/* ---------------- Home ---------------- */
.vma-home .wd-page-title, .vma-home .page-title-default { display: none !important; }
.vma-home .main-page-wrapper, .vma-home .wd-content-layout { padding-top: 0 !important; margin-top: 0 !important; }
.vma-home-wrap { width: 100vw; position: relative; left: 50%; margin-left: -50vw; padding-bottom: 40px; background: var(--vma-bg); }

.vma-hero { position: relative; height: 600px; overflow: hidden; }
.vma-hero-track { display: flex; height: 100%; transition: transform .6s var(--vma-ease); }
.vma-slide { position: relative; display: flex; justify-content: center; min-width: 100%; height: 100%; padding-top: 48px; text-align: center; color: #fff; }
.vma-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.vma-s1 { background: radial-gradient(circle at 50% 25%, #4B44C4 0%, #1E1A4D 60%, #15123A 100%); }
.vma-s2 { background: radial-gradient(circle at 50% 25%, #7A3F70 0%, #3A1D3F 60%, #1F1024 100%); }
.vma-s3 { background: radial-gradient(circle at 50% 25%, #1F6F6A 0%, #103B42 60%, #0B2328 100%); }
.vma-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21, 18, 58, .78) 0%, rgba(21, 18, 58, .45) 45%, rgba(21, 18, 58, 0) 70%); }
.vma-slide::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 320px; background: linear-gradient(to bottom, rgba(238, 237, 245, 0), var(--vma-bg)); pointer-events: none; }
.vma-slide-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 780px; padding: 0 90px; }
.vma-pill-h { margin-bottom: 12px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; }
.vma-slide h1, .vma-slide h2 { margin: 0 0 10px; color: #fff !important; font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.vma-slide p { margin: 0 0 16px; font-size: 17px; color: rgba(255, 255, 255, .92); }
.vma-h-arrow { position: absolute; top: 0; z-index: 5; display: flex; align-items: center; justify-content: center; width: 80px; height: 260px; border: 2px solid transparent; border-radius: 6px; background: none; color: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.vma-h-arrow:hover, .vma-h-arrow:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .06); }
.vma-h-arrow .vma-ico { width: 44px; height: 44px; stroke-width: 1.5; }
.vma-h-prev { left: 0; }
.vma-h-next { right: 0; }
.vma-dots { position: absolute; top: 18px; right: 96px; z-index: 5; display: flex; gap: 8px; }
.vma-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .25s, background-color .25s; }
.vma-dots button.is-on { width: 22px; background: #fff; }

.vma-cards { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1500px; margin: -320px auto 0; padding: 0 20px; }
.vma-card { display: flex; flex-direction: column; padding: 20px; border-radius: 4px; background: #fff; box-shadow: var(--vma-shadow); transition: transform .2s var(--vma-ease), box-shadow .2s; }
.vma-card:hover { transform: translateY(-3px); box-shadow: var(--vma-shadow-lg); }
.vma-card h2 { margin: 0 0 14px; font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--vma-ink); }
.vma-quad { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.vma-quad a { color: var(--vma-ink-2) !important; font-size: 12px; text-decoration: none !important; }
.vma-quad-im { display: block; aspect-ratio: 1 / 1; margin-bottom: 5px; overflow: hidden; border-radius: 6px; background: #fff; }
.vma-quad-im img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--vma-ease); }
.vma-quad a:hover .vma-quad-im img { transform: scale(1.06); }
.vma-quad-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vma-more { margin-top: auto; font-size: 13px; align-self: flex-start; }
.vma-solo { flex: 1; display: block; min-height: 220px; margin-bottom: 12px; overflow: hidden; border-radius: 6px; }
.vma-solo img { width: 100%; height: 100%; max-height: 300px; object-fit: contain; transition: transform .35s var(--vma-ease); }
.vma-solo:hover img { transform: scale(1.05); }
.vma-solo-t { display: block; margin-bottom: 8px; font-size: 13px; color: var(--vma-ink) !important; }
.vma-promo { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 22px; border-radius: 6px; background: linear-gradient(145deg, var(--vma-indigo-soft), #fff); font-size: 14px; color: var(--vma-ink-2); }
.vma-promo-ico { width: 42px; height: 42px; color: var(--vma-gold-2); stroke-width: 1.6; }
.vma-promo-big { font-size: 34px; font-weight: 800; line-height: 1; color: var(--vma-indigo); }
.vma-promo-list a { color: var(--vma-ink) !important; font-size: 15px; }
.vma-promo-list a:hover { color: var(--vma-gold-2) !important; }
.vma-card .vma-btn-block { margin: 6px 0 12px; }

.vma-deal { display: flex; align-items: center; gap: 6px; margin: 2px 0; }
.vma-off { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 3px; background: var(--vma-red); color: #fff; font-size: 12px; font-weight: 700; }
.vma-off-lbl { font-size: 12px; font-weight: 700; color: var(--vma-red); }

.vma-rail-sec { max-width: 1460px; margin: 20px auto 0; padding: 20px; border-radius: 4px; background: #fff; box-shadow: var(--vma-shadow); }
.vma-rail-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.vma-rail-h h2 { margin: 0; font-size: 21px; font-weight: 700; color: var(--vma-ink); }
.vma-rail-h .vma-link { font-size: 14px; }
.vma-rail-wrap { position: relative; }
.vma-rail { display: flex; gap: 16px; padding: 4px 2px 8px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vma-rail::-webkit-scrollbar { display: none; }
.vma-r-arrow { position: absolute; top: 40%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 46px; height: 96px; transform: translateY(-50%); border: 0; border-radius: 6px; background: rgba(255, 255, 255, .96); color: var(--vma-ink); box-shadow: 0 2px 10px rgba(21, 18, 58, .18); cursor: pointer; opacity: 0; transition: opacity .2s, background-color .15s; }
.vma-rail-wrap:hover .vma-r-arrow, .vma-r-arrow:focus-visible { opacity: 1; }
.vma-r-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
.vma-r-arrow .vma-ico { width: 28px; height: 28px; }
.vma-r-prev { left: -6px; }
.vma-r-next { right: -6px; }

.vma-mini { flex: 0 0 210px; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; }
.vma-mini-im { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #fff; }
.vma-mini-im img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--vma-ease); }
.vma-mini:hover .vma-mini-im img { transform: scale(1.08); }
.vma-mini-price { font-size: 18px; font-weight: 600; color: var(--vma-ink); }
.vma-mini-price del { font-size: 12px; font-weight: 400; color: var(--vma-mute); }
.vma-mini-price ins { text-decoration: none; }
.vma-mini-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; font-size: 13px; line-height: 1.4; color: var(--vma-ink) !important; text-decoration: none !important; }
.vma-mini-t:hover { color: var(--vma-gold-2) !important; }
.vma-rv { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--vma-indigo); }
.vma-rv .star-rating { margin: 0; font-size: 13px; }
.vma-mini .vma-btn { margin-top: auto; }

/* ---------------- Footer ---------------- */
.vma-foot { color: #fff; }
.vma-foot a { color: #DDDBEE; text-decoration: none; }
.vma-top { display: block; padding: 15px; background: var(--vma-navy-3); color: #fff !important; font-size: 13px; text-align: center; transition: background-color .15s; }
.vma-top:hover { background: #353077; }
.vma-f1 { padding: 40px 20px; background: var(--vma-navy-2); }
.vma-f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.vma-f-cols h2 { margin: 0 0 10px; color: #fff; font-size: 16px; font-weight: 700; }
.vma-f-cols a { display: block; padding: 3px 0; font-size: 14px; }
.vma-f-cols a:hover { color: #fff; text-decoration: underline; }
.vma-f2 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; padding: 28px 20px; border-top: 1px solid rgba(255, 255, 255, .12); background: var(--vma-navy-2); }
.vma-logo-foot .vma-word { font-size: 21px; }
.vma-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #8A87A8; border-radius: 4px; font-size: 13px; color: #DDDBEE; }
.vma-f3 { padding: 26px 20px; background: var(--vma-navy); color: #DDDBEE; font-size: 12px; text-align: center; }
.vma-f3 nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 8px; }
.vma-f3 a:hover { text-decoration: underline; }
.vma-f3 p { margin: 0; }

/* ---------------- WooCommerce: catalogo, prodotto, carrello ---------------- */
.vma .woocommerce-loop-product__title, .vma .wd-entities-title a { color: var(--vma-ink); }
.vma .wd-product, .vma .woocommerce ul.products li.product { transition: transform .2s var(--vma-ease), box-shadow .2s; }
.vma .wd-product .product-wrapper, .vma .woocommerce ul.products li.product { background: #fff; border-radius: 10px; }
.vma .wd-product:hover .product-wrapper { box-shadow: var(--vma-shadow-lg); }
.vma .wd-product .product-element-top img, .vma .woocommerce ul.products li.product a img { transition: transform .35s var(--vma-ease); }
.vma .wd-product:hover .product-element-top img, .vma .woocommerce ul.products li.product:hover a img { transform: scale(1.05); }
.vma .product-labels .onsale, .vma span.onsale { background: var(--vma-red) !important; color: #fff !important; border-radius: 3px !important; }
.vma .star-rating span::before, .vma .star-rating::before { color: var(--vma-gold-2); }
.vma .woocommerce-Price-amount { color: var(--vma-ink); }
.vma del .woocommerce-Price-amount { color: var(--vma-mute); }

.vma .single_add_to_cart_button, .vma .add_to_cart_button, .vma .checkout-button, .vma #place_order, .vma .wc-proceed-to-checkout .button {
	background: var(--vma-gold) !important; color: var(--vma-navy) !important; border-radius: 999px !important; border: 0 !important; transition: background-color .15s, box-shadow .15s !important;
}
.vma .single_add_to_cart_button:hover, .vma .add_to_cart_button:hover, .vma .checkout-button:hover, .vma #place_order:hover, .vma .wc-proceed-to-checkout .button:hover {
	background: var(--vma-gold-2) !important; box-shadow: 0 2px 8px rgba(184, 150, 58, .35);
}
.vma .wd-buy-now-btn { background: var(--vma-indigo) !important; color: #fff !important; border-radius: 999px !important; }
.vma .wd-buy-now-btn:hover { background: var(--vma-indigo-2) !important; }
.vma.woocommerce-cart .cart_totals, .vma.woocommerce-checkout #order_review { background: #fff; border-radius: 10px; padding: 20px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1200px) {
	.vma-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.vma-addr, .vma-lang, .vma-hide-md { display: none !important; }
	.vma-hero { height: 460px; }
	.vma-h-arrow { width: 56px; height: 200px; }
	.vma-cards { margin-top: -230px; }
	.vma-f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.admin-bar .vma-hdr { top: 46px; }
	.admin-bar .vma-drawer { top: 46px; }
}
@media (max-width: 760px) {
	.vma-belt { flex-wrap: wrap; gap: 4px; padding: 8px 10px; }
	.vma-burger { display: flex; }
	.vma-logo { margin-right: auto; }
	.vma-acct .vma-l1 { display: none; }
	.vma-acct-dd { display: none; }
	.vma-search { order: 9; flex-basis: 100%; margin: 4px 0 0; }
	.vma-search select { max-width: 110px; }
	.vma-sub .vma-ship { display: none; }
	.vma-hero { height: 400px; }
	.vma-slide { padding-top: 36px; }
	.vma-slide-in { padding: 0 54px; }
	.vma-slide h1, .vma-slide h2 { font-size: 25px; }
	.vma-slide p { font-size: 15px; }
	.vma-h-arrow { width: 44px; height: 170px; }
	.vma-h-arrow .vma-ico { width: 32px; height: 32px; }
	.vma-dots { right: 50%; transform: translateX(50%); top: 10px; }
	.vma-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: -70px; padding: 0 10px; }
	.vma-card h2 { font-size: 19px; }
	.vma-rail-sec { margin: 12px 10px 0; padding: 16px; }
	.vma-mini { flex-basis: 160px; }
	.vma-r-arrow { display: none; }
	.vma-f-cols { gap: 20px; }
	.vma-toasts { left: 10px; right: 10px; bottom: 10px; align-items: stretch; }
	.vma-toast { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.vma *, .vma *::before, .vma *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   App: barra di navigazione in basso, invito all'installazione
   ========================================================================= */
.vma-tabbar, .vma-install { display: none; }
@media (max-width: 760px) {
	body.vma-has-tabbar { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	body.vma .wd-toolbar, body.vma .scrollToTop { display: none !important; }
	.vma-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 640; display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--vma-line); box-shadow: 0 -4px 18px rgba(21, 18, 58, .08); }
	.vma-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 4px 2px; border: 0; border-radius: 12px; background: none; color: var(--vma-ink-2) !important; font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.2; text-decoration: none !important; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .15s, background-color .15s; }
	.vma-tab .vma-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
	.vma-tab:active { background: var(--vma-indigo-soft); }
	.vma-tab.is-on { color: var(--vma-indigo) !important; }
	.vma-tab.is-on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--vma-gold); }
	.vma-tab { position: relative; }
	.vma-tab-ic { position: relative; display: inline-flex; }
	.vma-tab-ic .vma-cart-count { position: absolute; top: -6px; right: -10px; left: auto; transform: none; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--vma-gold); color: var(--vma-navy); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
	.vma-tab-ic .vma-cart-count[data-count="0"] { display: none; }
	.vma-has-tabbar .vma-toasts { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; left: 12px; align-items: stretch; }
	.vma-has-tabbar .vma-toast { width: auto; max-width: none; }

	.vma-install:not([hidden]) { position: fixed; left: 10px; right: 10px; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 650; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 16px; background: var(--vma-navy); color: #fff; box-shadow: var(--vma-shadow-lg); animation: vma-toast-in .35s var(--vma-ease) both; }
	body:not(.vma-has-tabbar) .vma-install:not([hidden]) { bottom: calc(12px + env(safe-area-inset-bottom)); }
	.vma-install img { flex-shrink: 0; border-radius: 11px; }
	.vma-install-tx { flex: 1; min-width: 0; font-size: 12px; line-height: 1.35; color: #D9D7EC; }
	.vma-install-tx b { display: block; color: #fff; font-size: 14px; }
	.vma-install .vma-btn { min-height: 36px; padding: 0 14px; flex-shrink: 0; }
	.vma-install-x { display: inline-flex; padding: 6px; border: 0; background: none; color: #B9B6D3; cursor: pointer; }
	.vma-install-x .vma-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
}
/* Aperta come app installata: niente "Torna su", spazio per la barra di stato. */
.vma-standalone .vma-top { display: none; }
@media (max-width: 760px) {
	.vma-standalone .vma-hdr { padding-top: env(safe-area-inset-top); }
}
