/* ==========================================================================
   OmniCenter – stile del tema
   Colori dal logo: blu #1B73DC, rosso #D32F2D
   ========================================================================== */

:root {
	--oc-blue: #1b73dc;
	--oc-blue-600: #1560b9;
	--oc-blue-50: #eef5fd;
	--oc-red: #d32f2d;
	--oc-red-600: #b52422;
	--oc-navy: #0b1b33;
	--oc-navy-2: #12294a;
	--oc-ink: #0f172a;
	--oc-text: #475569;
	--oc-muted: #94a3b8;
	--oc-line: #e2e8f0;
	--oc-bg: #f5f8fc;
	--oc-radius: 14px;
	--oc-radius-lg: 22px;
	--oc-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--oc-shadow-lg: 0 2px 6px rgba(15, 23, 42, .05), 0 22px 48px rgba(27, 115, 220, .16);
	--oc-ease: cubic-bezier(.22, 1, .36, 1);
	--oc-font-head: "Montserrat", system-ui, sans-serif;
	--oc-font-body: "Inter", system-ui, sans-serif;
	--oc-container: 1280px;
}

html { scroll-behavior: smooth; }

body {
	font-family: var(--oc-font-body);
	color: var(--oc-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--oc-font-head);
	color: var(--oc-ink);
	letter-spacing: -.01em;
}

a { color: var(--oc-blue); transition: color .2s; }
a:hover { color: var(--oc-blue-600); }

.oc-container {
	width: 100%;
	max-width: var(--oc-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.oc-icon { width: 22px; height: 22px; flex: none; }

/* Larghezza contenuti di Hello allineata al container ---------------------- */
body:not([class*=elementor-page-]) .site-main,
.site-main.post-type-archive-product,
.woocommerce .site-main {
	max-width: var(--oc-container);
	padding-inline: 20px;
	margin-inline: auto;
}
.site-main { padding-block: 32px 64px; }
.page-header .entry-title,
.woocommerce-products-header__title {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 800;
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.oc-topbar {
	background: var(--oc-navy);
	color: #cbd5e1;
	font-size: 13px;
}
.oc-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}
.oc-topbar__rotator {
	position: relative;
	flex: 1;
	height: 20px;
	overflow: hidden;
}
.oc-topbar__rotator span {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity .5s var(--oc-ease), transform .5s var(--oc-ease);
	white-space: nowrap;
	font-weight: 500;
	color: #fff;
}
.oc-topbar__rotator span.is-active { opacity: 1; transform: none; }
.oc-topbar__rotator span.is-leaving { opacity: 0; transform: translateY(-100%); }
.oc-topbar__links { display: flex; gap: 20px; }
.oc-topbar__links a { color: #cbd5e1; text-decoration: none; }
.oc-topbar__links a:hover { color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.oc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--oc-line);
	transition: box-shadow .3s;
}
.admin-bar .oc-header { top: 32px; }
.oc-header.is-scrolled { box-shadow: 0 8px 30px rgba(15, 23, 42, .08); }

.oc-header__main {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 84px;
	transition: height .3s var(--oc-ease);
}
.oc-header.is-scrolled .oc-header__main { height: 68px; }

.oc-logo { flex: none; }
.oc-logo img,
.oc-logo .custom-logo {
	display: block;
	width: auto;
	height: 46px;
	max-width: none;
	transition: height .3s var(--oc-ease);
}
.oc-header.is-scrolled .oc-logo img { height: 38px; }
.oc-logo__text { font: 900 italic 28px var(--oc-font-head); color: var(--oc-blue); text-decoration: none; }

.oc-search {
	position: relative;
	flex: 1;
	max-width: 640px;
	display: flex;
}
.oc-search input[type=search] {
	width: 100%;
	height: 48px;
	padding: 0 64px 0 22px;
	border: 2px solid var(--oc-line);
	border-radius: 999px;
	background: var(--oc-bg);
	font: 500 15px var(--oc-font-body);
	color: var(--oc-ink);
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.oc-search input[type=search]:focus {
	outline: none;
	border-color: var(--oc-blue);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(27, 115, 220, .12);
}
.oc-search button {
	position: absolute;
	right: 5px;
	top: 5px;
	width: 38px;
	height: 38px;
	padding: 0;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--oc-blue);
	color: #fff;
	cursor: pointer;
	transition: background .2s, transform .2s var(--oc-ease);
}
.oc-search button:hover { background: var(--oc-blue-600); transform: scale(1.06); }
.oc-search button .oc-icon { width: 18px; height: 18px; }

.oc-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.oc-action {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--oc-ink);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.15;
}
.oc-action:hover { color: var(--oc-blue); }
.oc-action .oc-icon { width: 26px; height: 26px; }
.oc-action__label { display: flex; flex-direction: column; }
.oc-action__label small { font-weight: 500; font-size: 12px; color: var(--oc-muted); }
.oc-cart__icon { position: relative; display: inline-flex; }
.oc-cart__count {
	position: absolute;
	top: -7px;
	right: -9px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--oc-red);
	color: #fff;
	font: 700 11px/20px var(--oc-font-body);
	text-align: center;
	border: 2px solid #fff;
	box-sizing: content-box;
	animation: oc-pop .45s var(--oc-ease);
}
.oc-cart__count.is-empty { background: var(--oc-muted); }
.oc-cart__total .amount { font-weight: 700; }
@keyframes oc-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }

.oc-burger {
	display: none;
	padding: 8px;
	border: 0;
	background: none;
	color: var(--oc-ink);
	cursor: pointer;
}
.oc-burger:hover, .oc-burger:focus { background: var(--oc-bg); color: var(--oc-ink); }

/* Navigazione ------------------------------------------------------------- */
.oc-nav { border-top: 1px solid var(--oc-line); }
.oc-nav__inner { display: flex; align-items: center; gap: 28px; height: 52px; }
.oc-nav__head { display: none; }

.oc-cats { position: relative; height: 100%; display: flex; align-items: center; }
.oc-cats__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: var(--oc-blue);
	color: #fff;
	font: 700 14px var(--oc-font-body);
	cursor: pointer;
}
.oc-cats__toggle:hover, .oc-cats__toggle:focus { background: var(--oc-blue-600); color: #fff; }
.oc-cats__toggle .oc-icon { width: 18px; height: 18px; }
.oc-cats__toggle .oc-icon--chevron { transition: transform .25s; }
.oc-cats:hover .oc-icon--chevron,
.oc-cats.is-open .oc-icon--chevron { transform: rotate(180deg); }

.oc-cats__menu {
	position: absolute;
	top: calc(100% - 4px);
	left: 0;
	width: 320px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--oc-line);
	border-radius: var(--oc-radius);
	box-shadow: var(--oc-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .25s, transform .25s var(--oc-ease), visibility .25s;
	z-index: 20;
}
.oc-cats:hover .oc-cats__menu,
.oc-cats.is-open .oc-cats__menu { opacity: 1; visibility: visible; transform: none; }
.oc-cats__menu a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--oc-ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background .2s, transform .2s var(--oc-ease);
}
.oc-cats__menu a:hover { background: var(--oc-blue-50); color: var(--oc-blue); transform: translateX(4px); }
.oc-cats__menu span { display: flex; flex-direction: column; }
.oc-cats__menu small { font-weight: 500; color: var(--oc-muted); font-size: 12px; }
.oc-cats__img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }

.oc-menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.oc-menu > li { position: relative; }
.oc-menu a {
	display: block;
	padding: 8px 14px;
	border-radius: 8px;
	color: var(--oc-ink);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: color .2s, background .2s;
}
.oc-menu a:hover,
.oc-menu .current-menu-item > a { color: var(--oc-blue); background: var(--oc-blue-50); }
.oc-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; margin: 0; list-style: none;
	background: #fff; border-radius: var(--oc-radius); box-shadow: var(--oc-shadow-lg);
	opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.oc-menu li:hover > .sub-menu { opacity: 1; visibility: visible; }

.oc-nav__deal {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--oc-red);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.oc-nav__deal:hover { color: var(--oc-red-600); }
.oc-nav__deal .oc-icon { width: 20px; height: 20px; animation: oc-flicker 1.6s ease-in-out infinite; }
@keyframes oc-flicker { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.15) rotate(-6deg); } }

.oc-overlay {
	position: fixed; inset: 0; z-index: 140;
	background: rgba(11, 27, 51, .5);
	backdrop-filter: blur(2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.oc-footer {
	position: relative;
	overflow: hidden;
	background: var(--oc-navy);
	color: #94a3b8;
	font-size: 15px;
	padding-top: 72px;
}
.oc-footer__lines {
	position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background:
		linear-gradient(90deg, transparent, rgba(27, 115, 220, .35), transparent) 0 22% / 60% 1px no-repeat,
		linear-gradient(90deg, transparent, rgba(27, 115, 220, .25), transparent) 30% 48% / 70% 1px no-repeat,
		linear-gradient(90deg, transparent, rgba(211, 47, 45, .3), transparent) 80% 70% / 50% 1px no-repeat;
}
.oc-footer__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 48px;
	padding-bottom: 56px;
}
.oc-footer__logo img { width: 200px; height: auto; }
.oc-footer__logo { display: inline-block; margin-bottom: 18px; color: #fff; font: 900 italic 26px var(--oc-font-head); text-decoration: none; }
.oc-footer__brand p { max-width: 340px; line-height: 1.7; }
.oc-footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 6px 0 20px; }
.oc-footer ul { list-style: none; margin: 0; padding: 0; }
.oc-footer li { margin-bottom: 12px; }
.oc-footer a { color: #cbd5e1; text-decoration: none; transition: color .2s, padding .2s; }
.oc-footer__col a:hover { color: #fff; padding-left: 4px; }
.oc-footer__contact li { display: flex; align-items: center; gap: 10px; }
.oc-footer__contact .oc-icon { color: var(--oc-blue); width: 20px; height: 20px; }

.oc-socials { display: flex; gap: 10px; margin-top: 22px; }
.oc-socials a {
	display: grid; place-items: center; width: 42px; height: 42px;
	border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff;
	transition: background .25s, transform .25s var(--oc-ease);
}
.oc-socials a:hover { background: var(--oc-blue); transform: translateY(-3px); }
.oc-socials .oc-icon { width: 20px; height: 20px; }

.oc-footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.oc-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; }
.oc-footer__bottom p { margin: 0; }
.oc-payments { display: flex; gap: 8px; flex-wrap: wrap; }
.oc-payments li {
	margin: 0; padding: 5px 10px; border-radius: 6px;
	background: rgba(255, 255, 255, .08); color: #e2e8f0; font-weight: 600; font-size: 12px;
}

.oc-totop {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	display: grid; place-items: center; width: 48px; height: 48px;
	border-radius: 50%; background: var(--oc-blue); color: #fff;
	box-shadow: 0 10px 25px rgba(27, 115, 220, .35);
	opacity: 0; visibility: hidden; transform: translateY(16px);
	transition: opacity .3s, transform .3s var(--oc-ease), visibility .3s, background .2s;
}
.oc-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.oc-totop, .oc-totop:hover { color: #fff; }
.oc-totop:hover { background: var(--oc-blue-600); }

/* ==========================================================================
   Pulsanti globali
   ========================================================================== */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.wp-element-button, .wc-block-components-button:not(.is-link) {
	border-radius: 999px !important;
	background: var(--oc-blue) !important;
	color: #fff !important;
	font: 700 14px var(--oc-font-body) !important;
	padding: 13px 24px !important;
	border: 0 !important;
	transition: background .2s, transform .2s var(--oc-ease), box-shadow .2s !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover, .wc-block-components-button:not(.is-link):hover {
	background: var(--oc-blue-600) !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(27, 115, 220, .3);
}
.woocommerce .checkout-button, .woocommerce #place_order,
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--oc-red) !important;
}
.woocommerce .checkout-button:hover, .woocommerce #place_order:hover { background: var(--oc-red-600) !important; }

/* ==========================================================================
   Card prodotto (shop, categorie, shortcode in home)
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 32px !important;
}
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }

.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	padding: 12px 12px 18px !important;
	float: none !important;
	background: #fff;
	border: 1px solid var(--oc-line);
	border-radius: var(--oc-radius-lg);
	transition: transform .35s var(--oc-ease), box-shadow .35s var(--oc-ease), border-color .35s;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--oc-shadow-lg);
}
.woocommerce ul.products li.product a img {
	margin: 0 0 14px !important;
	border-radius: var(--oc-radius);
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform .5s var(--oc-ease);
}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { display: block; overflow: hidden; border-radius: var(--oc-radius); text-decoration: none; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.05); }
.oc-card__cat {
	display: block;
	padding: 0 6px;
	color: var(--oc-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 4px 6px 0 !important;
	color: var(--oc-ink);
	font: 700 16px/1.35 var(--oc-font-head) !important;
	min-height: 2.7em;
}
.woocommerce ul.products li.product .price {
	display: flex !important;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0 6px;
	margin: 6px 0 14px !important;
	color: var(--oc-ink) !important;
	font: 800 20px var(--oc-font-head) !important;
}
.woocommerce ul.products li.product .price del { order: 2; color: var(--oc-muted); font-size: 14px; font-weight: 600; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--oc-red); }
.woocommerce ul.products li.product .button {
	margin-top: auto !important;
	text-align: center;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.woocommerce ul.products li.product .button.loading { opacity: .7; }
.woocommerce ul.products li.product .button.added { background: #16a34a !important; }
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; margin-top: 8px; font-size: 13px; font-weight: 600; }

.woocommerce span.onsale {
	top: 22px !important;
	left: 22px !important;
	right: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 5px 11px !important;
	border-radius: 999px !important;
	background: var(--oc-red) !important;
	font: 800 13px/1.2 var(--oc-font-body) !important;
	box-shadow: 0 6px 16px rgba(211, 47, 45, .35);
	z-index: 2;
}

/* Prezzi e dettagli scheda prodotto --------------------------------------- */
.woocommerce div.product .product_title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--oc-ink) !important; font: 800 30px var(--oc-font-head) !important; }
.woocommerce div.product p.price ins { color: var(--oc-red); text-decoration: none; }
.woocommerce div.product p.price del { color: var(--oc-muted); font-size: 20px; }
.woocommerce div.product div.images img { border-radius: var(--oc-radius-lg); }
.woocommerce div.product form.cart .button { padding: 16px 36px !important; font-size: 16px !important; }
.woocommerce .quantity .qty { height: 52px; border-radius: 999px; border: 2px solid var(--oc-line); width: 80px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 12px 12px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--oc-blue); }
.woocommerce-product-details__short-description { font-size: 17px; line-height: 1.7; }
.woocommerce .product_meta { font-size: 14px; color: var(--oc-muted); }

/* Ordinamento e conteggio ------------------------------------------------- */
.woocommerce .woocommerce-ordering select {
	height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--oc-line); background: #fff;
}
.woocommerce .woocommerce-result-count { line-height: 44px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	width: 42px; height: 42px; line-height: 42px; padding: 0; border-radius: 50%;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--oc-blue); color: #fff; }

.woocommerce-message, .woocommerce-info { border-top-color: var(--oc-blue); border-radius: var(--oc-radius); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--oc-blue); }
.woocommerce-error { border-top-color: var(--oc-red); border-radius: var(--oc-radius); }

/* Barra spedizione gratuita ------------------------------------------------ */
.oc-shipbar {
	margin-bottom: 28px;
	padding: 18px 22px;
	border-radius: var(--oc-radius);
	background: var(--oc-blue-50);
	color: var(--oc-ink);
}
.oc-shipbar p { margin: 0 0 10px; }
.oc-shipbar__track { height: 8px; border-radius: 999px; background: #d6e6fa; overflow: hidden; }
.oc-shipbar__track span {
	display: block; height: 100%; border-radius: inherit;
	background: linear-gradient(90deg, var(--oc-blue), #4f9bf0);
	transition: width .6s var(--oc-ease);
}

/* ==========================================================================
   Classi di supporto per la home Elementor
   (assegnabili da Elementor > Avanzate > Classi CSS)
   ========================================================================== */

/* Linee di velocità animate, come nel logo */
.oc-speedlines { position: relative; overflow: hidden; isolation: isolate; }
.oc-speedlines::before,
.oc-speedlines::after {
	content: "";
	position: absolute;
	inset: -10% -50%;
	z-index: -1;
	pointer-events: none;
	background-repeat: no-repeat;
	animation: oc-speed 9s linear infinite;
}
.oc-speedlines::before {
	background-image:
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent),
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent),
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent),
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
	background-size: 38% 2px, 26% 2px, 44% 2px, 30% 2px;
	background-position: 0 18%, 30% 34%, 10% 62%, 60% 84%;
}
.oc-speedlines::after {
	background-image:
		linear-gradient(90deg, transparent, rgba(211, 47, 45, .45), transparent),
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
	background-size: 22% 2px, 34% 1px;
	background-position: 40% 26%, 80% 72%;
	animation-duration: 6s;
}
@keyframes oc-speed {
	from { transform: translateX(-25%); }
	to { transform: translateX(25%); }
}

/* Elemento fluttuante */
.oc-float img, .oc-float.elementor-widget-image img { animation: oc-float 6s ease-in-out infinite; }
@keyframes oc-float {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-18px) rotate(1deg); }
}

/* Badge con pallino pulsante */
.oc-badge .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.oc-badge .elementor-heading-title::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--oc-red);
	box-shadow: 0 0 0 0 rgba(211, 47, 45, .6);
	animation: oc-pulse 1.8s infinite;
}
@keyframes oc-pulse {
	0% { box-shadow: 0 0 0 0 rgba(211, 47, 45, .6); }
	70% { box-shadow: 0 0 0 10px rgba(211, 47, 45, 0); }
	100% { box-shadow: 0 0 0 0 rgba(211, 47, 45, 0); }
}

/* Card con hover (contenitori Elementor) */
.oc-hover-card { transition: transform .4s var(--oc-ease), box-shadow .4s var(--oc-ease) !important; }
.oc-hover-card:hover { transform: translateY(-6px); box-shadow: var(--oc-shadow-lg) !important; }
.oc-hover-card img { transition: transform .6s var(--oc-ease); }
.oc-hover-card:hover img { transform: scale(1.08) rotate(-2deg); }

/* Card categoria (widget Image Box) */
.oc-cat-card .elementor-image-box-wrapper { overflow: hidden; }
.oc-cat-card .elementor-image-box-img { overflow: hidden; border-radius: 18px; }
.oc-cat-card .elementor-image-box-img img { transition: transform .6s var(--oc-ease); }
.oc-cat-card:hover .elementor-image-box-img img { transform: scale(1.1); }
.oc-cat-card .elementor-image-box-title a { color: inherit; text-decoration: none; }

/* Testo scorrevole infinito */
.oc-marquee {
	display: flex;
	overflow: hidden;
	user-select: none;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.oc-marquee__track {
	display: flex;
	flex: none;
	gap: 48px;
	padding-right: 48px;
	animation: oc-marquee 32s linear infinite;
}
.oc-marquee:hover .oc-marquee__track { animation-play-state: paused; }
.oc-marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 48px;
	white-space: nowrap;
	font: 900 italic clamp(1.6rem, 3.4vw, 2.8rem)/1 var(--oc-font-head);
	color: var(--oc-ink);
	text-transform: uppercase;
	letter-spacing: -.01em;
}
.oc-marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--oc-blue); }
.oc-marquee__item::after { content: "✦"; color: var(--oc-red); font-style: normal; font-size: .6em; -webkit-text-stroke: 0; }
@keyframes oc-marquee { to { transform: translateX(-100%); } }

/* Countdown offerte */
.oc-countdown { display: flex; gap: 12px; flex-wrap: wrap; }
.oc-countdown__box {
	min-width: 84px;
	padding: 14px 10px 10px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .25);
	backdrop-filter: blur(6px);
	text-align: center;
	color: #fff;
}
.oc-countdown__num {
	display: block;
	font: 800 38px/1 var(--oc-font-head);
	font-variant-numeric: tabular-nums;
}
.oc-countdown__num.is-tick { animation: oc-tick .4s var(--oc-ease); }
@keyframes oc-tick { from { transform: translateY(-6px); opacity: .4; } to { transform: none; opacity: 1; } }
.oc-countdown__label { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* Prodotti dentro sezioni Elementor */
.elementor-widget-shortcode .woocommerce ul.products { margin-bottom: 0 !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.oc-header__main { gap: 20px; }
	.oc-action__label { display: none; }
	.oc-footer__grid { grid-template-columns: 1fr 1fr; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.oc-topbar__links { display: none; }
	.oc-topbar__rotator { text-align: center; }

	.oc-burger { display: inline-flex; }
	.oc-header__main { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 12px; }
	.oc-header.is-scrolled .oc-header__main { height: auto; }
	.oc-logo img, .oc-logo .custom-logo { height: 34px; }
	.oc-header.is-scrolled .oc-logo img { height: 30px; }
	.oc-search { order: 5; flex-basis: 100%; max-width: none; }
	.oc-search input[type=search] { height: 44px; }
	.oc-search button { width: 34px; height: 34px; }

	/* Drawer laterale: niente backdrop-filter, altrimenti il drawer "fixed" resta confinato nell'header */
	.oc-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
	body.oc-nav-open .oc-header { z-index: 160; }
	.oc-nav {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 150;
		width: min(86vw, 360px);
		overflow-y: auto;
		background: #fff;
		border: 0;
		transform: translateX(-102%);
		transition: transform .4s var(--oc-ease);
	}
	.oc-nav.is-open { transform: none; box-shadow: 20px 0 60px rgba(15, 23, 42, .25); }
	.oc-nav__inner { flex-direction: column; align-items: stretch; height: auto; gap: 16px; padding: 0 16px 32px; }
	.oc-nav__head {
		display: flex; align-items: center; justify-content: space-between;
		padding: 18px 0; border-bottom: 1px solid var(--oc-line);
		font: 800 18px var(--oc-font-head); color: var(--oc-ink);
	}
	.oc-nav__close { border: 0; background: var(--oc-bg); color: var(--oc-ink); width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; padding: 0; }
	.oc-cats { flex-direction: column; align-items: stretch; height: auto; }
	.oc-cats__toggle { justify-content: space-between; }
	.oc-cats__menu {
		position: static; width: auto; margin-top: 8px; box-shadow: none; border: 0; padding: 0;
		opacity: 1; visibility: visible; transform: none; display: none;
	}
	.oc-cats.is-open .oc-cats__menu { display: block; }
	.oc-cats:hover .oc-icon--chevron { transform: none; }
	.oc-cats.is-open .oc-icon--chevron { transform: rotate(180deg); }
	.oc-menu { flex-direction: column; }
	.oc-menu a { padding: 12px; font-size: 16px; }
	.oc-menu .sub-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; padding-left: 12px; }
	.oc-nav__deal { margin-left: 0; padding: 12px; }

	.woocommerce ul.products, .woocommerce-page ul.products,
	.woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.woocommerce ul.products li.product { padding: 8px 8px 14px !important; border-radius: var(--oc-radius); }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
	.woocommerce ul.products li.product .price { font-size: 17px !important; }
	.woocommerce ul.products li.product .button { padding: 11px 12px !important; font-size: 13px !important; }
	.woocommerce span.onsale { top: 14px !important; left: 14px !important; }
}

@media (max-width: 782px) {
	.admin-bar .oc-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .oc-header { top: 0; }
	.oc-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.oc-countdown__box { min-width: 68px; }
	.oc-countdown__num { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Carrello e checkout a blocchi dentro il container */
.site-main .wp-block-woocommerce-cart,
.site-main .wp-block-woocommerce-checkout {
	max-width: 100%;
	margin-inline: 0;
}
.wc-block-components-product-name { color: var(--oc-ink); font-weight: 700; text-decoration: none; }
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--oc-red-600) !important; }

/* ==========================================================================
   Descrizioni prodotto generate da OmniCenter Sync (struttura .omni-desc)
   ========================================================================== */
.omni-desc { max-width: 860px; font-size: 16px; line-height: 1.75; color: var(--oc-text); }
.omni-desc h3 { margin: 40px 0 14px; font: 800 22px/1.3 var(--oc-font-head); color: var(--oc-ink); scroll-margin-top: 160px; }
.omni-desc .omni-lead { font-size: 18px; color: var(--oc-ink); }
.omni-desc .omni-lead strong { color: var(--oc-blue); }
.omni-desc .omni-toc {
	display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; padding: 0; list-style: none;
}
.omni-desc .omni-toc a {
	display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--oc-blue-50);
	color: var(--oc-blue); font-weight: 600; font-size: 14px; text-decoration: none; transition: background .2s, color .2s;
}
.omni-desc .omni-toc a:hover { background: var(--oc-blue); color: #fff; }
.omni-desc ul:not(.omni-toc) { padding: 0; list-style: none; }
.omni-desc ul:not(.omni-toc) li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.omni-desc ul:not(.omni-toc) li::before {
	content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--oc-blue); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.omni-desc table.omni-specs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--oc-line); border-radius: var(--oc-radius); overflow: hidden; margin: 0; }
.omni-desc table.omni-specs td { padding: 12px 18px; border: 0; border-bottom: 1px solid var(--oc-line); background: #fff; font-size: 15px; }
.omni-desc table.omni-specs tr:last-child td { border-bottom: 0; }
.omni-desc table.omni-specs tr:nth-child(odd) td { background: var(--oc-bg); }
.omni-desc table.omni-specs td:first-child { width: 38%; font-weight: 600; color: var(--oc-ink); }
.omni-desc .omni-callout {
	margin: 32px 0 20px; padding: 18px 22px; border-left: 4px solid var(--oc-blue); border-radius: 0 var(--oc-radius) var(--oc-radius) 0;
	background: var(--oc-blue-50); color: var(--oc-ink); font-weight: 500;
}
.omni-desc .omni-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.omni-desc .omni-trust span {
	padding: 8px 14px; border: 1px solid var(--oc-line); border-radius: 999px; background: #fff;
	color: var(--oc-ink); font-size: 14px; font-weight: 600;
}
.woocommerce div.product .woocommerce-tabs .panel { padding-top: 8px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.oc-cats__menu { max-height: 70vh; overflow-y: auto; }
.oc-cats__all a { justify-content: center; color: var(--oc-blue); border-top: 1px solid var(--oc-line); border-radius: 0; margin-top: 6px; }

/* Descrizione delle categorie (scritta da OmniCenter Sync) */
.term-description {
	max-width: 900px; margin: 0 0 32px; padding: 22px 26px; border-radius: var(--oc-radius-lg);
	background: var(--oc-bg); font-size: 15px; line-height: 1.7; color: var(--oc-text);
}
.term-description p { margin: 0 0 12px; }
.term-description p:last-child { margin-bottom: 0; }
.term-description strong { color: var(--oc-ink); }
.term-description ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 20px; margin: 4px 0 14px; padding: 0; list-style: none; }
.term-description li { position: relative; padding-left: 22px; }
.term-description li::before { content: "✓"; position: absolute; left: 0; color: var(--oc-blue); font-weight: 800; }

/* Ancora della sezione "Consigliati da noi" sotto l'header fisso */
#consigliati { scroll-margin-top: 150px; }
.oc-nav__deal .oc-icon--star { animation: none; fill: currentColor; }

/* Prodotti esauriti: pulsante "Non disponibile" grigio e non cliccabile */
.woocommerce ul.products li.product .button.oc-out-of-stock,
.woocommerce ul.products li.product .button.oc-out-of-stock:hover {
	background: #e2e8f0 !important;
	color: #64748b !important;
	box-shadow: none !important;
	transform: none !important;
	cursor: default;
	pointer-events: none;
}
