/* MrStockPlanet su Kadence — stesso aspetto della versione Flatsome.
   Usa le variabili --msp-* definite in msp-skin/skin.css. */

html body { --global-palette1: #ffd60a; --global-palette2: #ff2e93; --global-palette-highlight: #5a21d6; --global-palette-highlight-alt: #ff2e93; }
html body, html body #wrapper, html body #inner-wrap, html body .content-bg, html body.content-style-boxed .site { background: var(--msp-space); }
html body #inner-wrap { color: var(--msp-ink); }
html body .site-container, .msp-k-wrap { max-width: 1360px; margin-inline: auto; padding-inline: 15px; width: 100%; box-sizing: border-box; }
html body .content-area { margin-top: 0; margin-bottom: 0; }
html body a { text-decoration: none; }
.msp-k-header *, .msp-k-footer * { box-sizing: border-box; }
.msp-k-header ul, .msp-k-footer ul { list-style: none; margin: 0; padding: 0; }

/* ------------------------------------------------------------------ barra superiore */
.msp-k-topbar { background: var(--msp-yellow); color: #0b0920; font-weight: 700; font-size: 0.82rem; }
.msp-k-topbar .msp-k-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 36px; gap: 16px; }
.msp-k-topbar a { color: #0b0920; }
.msp-k-topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.msp-k-topbar__promo { margin: 0; text-align: center; }
.msp-k-toplinks { display: flex; }
.msp-k-toplinks li + li { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(11, 9, 32, 0.25); }
.msp-k-topbar__right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.msp-k-lang { display: flex; gap: 10px; }
.msp-k-lang a { opacity: 0.65; }
.msp-k-lang a.is-active { opacity: 1; }

/* ------------------------------------------------------------------ header */
.msp-k-header { position: relative; z-index: 100; }
.msp-k-sticky { position: sticky; top: 0; z-index: 100; background: var(--msp-space); }
.msp-k-header { display: contents; }
.msp-k-main .msp-k-wrap { display: flex; align-items: center; gap: 28px; height: 88px; }
.msp-k-logo { flex: 0 0 236px; display: block; line-height: 0; }
.msp-k-logo img { max-height: 76px; width: auto; filter: drop-shadow(0 0 14px rgba(255, 46, 147, 0.35)); transition: transform 0.2s ease; }
.msp-k-logo:hover img { transform: scale(1.04) rotate(-1deg); }
.msp-k-search { position: relative; flex: 1 1 auto; max-width: 560px; margin: 0; display: flex; }
html body .msp-k-search input[type="search"] {
  width: 100%; height: 46px; padding: 0 52px 0 20px; margin: 0;
  border-radius: 999px; border: 1.5px solid var(--msp-line);
  background: rgba(255, 255, 255, 0.07); color: var(--msp-ink);
  box-shadow: none; font-size: 0.95rem; font-family: var(--msp-body);
}
.msp-k-search input[type="search"]::placeholder { color: #8f89b8; opacity: 1; }
html body .msp-k-search input[type="search"]:focus { border-color: var(--msp-yellow); background: rgba(255, 255, 255, 0.11); outline: 0; }
html body .msp-k-header .msp-k-search button[type="submit"]:not(.icon):not(.is-form):not(.ux-search-submit), html body .msp-k-header .msp-k-search button[type="submit"]:not(.icon):not(.is-form):not(.ux-search-submit):hover {
  position: absolute; right: 0; top: 0; width: 50px; height: 46px; min-height: 0; padding: 0;
  display: grid; place-items: center;
  background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--msp-muted) !important; transform: none; cursor: pointer;
}
html body .msp-k-header .msp-k-search button[type="submit"]:not(.icon):not(.is-form):not(.ux-search-submit):hover { color: var(--msp-yellow) !important; }
.msp-k-search svg { width: 18px; height: 18px; }
.msp-k-tools { display: flex; align-items: center; margin-left: auto !important; gap: 10px; }
.msp-k-tools li { display: flex; align-items: center; }
html body .msp-k-tools .msp-theme-item { margin: 0 14px 0 0; }
.msp-k-cart { display: flex; align-items: center; gap: 10px; color: var(--msp-ink); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.msp-k-cart:hover { color: var(--msp-ink); }
.msp-k-cart__count {
  position: relative; display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; margin-top: 6px;
  border: 2px solid var(--msp-yellow); border-radius: 6px; color: var(--msp-yellow);
  font-family: var(--msp-display); font-size: 0.9rem; transition: background-color 0.15s, color 0.15s;
}
.msp-k-cart__count::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 14px; height: 8px; margin-left: -7px; border: 2px solid var(--msp-yellow); border-bottom: 0; border-radius: 8px 8px 0 0; transition: height 0.15s; }
.msp-k-cart:hover .msp-k-cart__count { background: var(--msp-yellow); color: #0b0920; }
.msp-k-cart:hover .msp-k-cart__count::after { height: 10px; }

.msp-k-navbar { border-top: 1px solid var(--msp-line); border-bottom: 1px solid var(--msp-line); }
.msp-k-navbar .msp-k-wrap { display: flex; align-items: center; gap: 10px; min-height: 54px; }
.msp-k-cats { position: relative; flex: none; }
html body .msp-k-cats__opener, html body .msp-k-cats__opener:hover, html body .msp-k-cats__opener:focus {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; min-height: 0; padding: 0 18px;
  background: var(--msp-yellow) !important; color: #0b0920 !important; border-radius: 999px;
  border: 2px solid #0b0920 !important; box-shadow: 3px 3px 0 var(--msp-pink) !important;
  font-family: var(--msp-display); font-weight: 800; font-size: 0.95rem; cursor: pointer; transform: none; white-space: nowrap;
}
.msp-k-cats__opener svg { width: 13px; height: 13px; }
.msp-k-cats__flyout {
  display: none; position: absolute; left: 0; top: calc(100% + 10px); z-index: 120; width: 290px; padding: 8px;
  background: var(--msp-space-2); border: 1px solid var(--msp-line); border-radius: 18px; box-shadow: 0 30px 60px -20px #000;
}
.msp-k-cats.is-open .msp-k-cats__flyout { display: block; }
.msp-k-cats__list > li { position: relative; }
.msp-k-cats__list > li + li { border-top: 1px solid var(--msp-line); }
.msp-k-cats__list a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--msp-ink); font-weight: 500; font-size: 0.95rem; }
.msp-k-cats__list a:hover, .msp-k-cats__list li:hover > a { color: var(--msp-yellow); background: rgba(255, 255, 255, 0.06); }
.msp-k-cats__list > .menu-item-has-children > a::after { content: "›"; float: right; opacity: 0.7; }
.msp-k-cats__list .sub-menu {
  display: none; position: absolute; left: calc(100% + 4px); top: -8px; width: 260px; padding: 8px;
  background: var(--msp-space-2); border: 1px solid var(--msp-line); border-radius: 18px; box-shadow: 0 30px 60px -20px #000;
}
.msp-k-cats__list > li:hover > .sub-menu, .msp-k-cats__list > li:focus-within > .sub-menu { display: block; }
.msp-k-primary { min-width: 0; overflow: hidden; }
.msp-k-primary__list { display: flex; flex-wrap: nowrap; }
.msp-k-primary__list > li { margin: 0 2px; flex: none; }
.msp-k-primary__list > li > a { display: block; padding: 9px 13px; border-radius: 999px; color: var(--msp-ink); font-weight: 600; font-size: 0.95rem; transition: background-color 0.15s, color 0.15s; white-space: nowrap; }
.msp-k-primary__list > li > a:hover, .msp-k-primary__list > li.current-menu-item > a, .msp-k-primary__list > li.current-product_cat-ancestor > a { background: rgba(255, 255, 255, 0.09); color: var(--msp-yellow); }

/* menu su telefono */
html body .msp-k-burger, html body .msp-k-burger:hover { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; min-height: 0; padding: 0 10px; background: transparent !important; border: 0 !important; box-shadow: none !important; transform: none; cursor: pointer; }
.msp-k-burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--msp-ink); }
.msp-k-drawer { position: fixed; inset: 0; z-index: 9990; background: rgba(4, 3, 14, 0.7); }
.msp-k-drawer[hidden] { display: none; }
.msp-k-drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(340px, 88vw); padding: 56px 20px 28px; overflow-y: auto; background: var(--msp-space-2); color: var(--msp-ink); box-shadow: 0 0 60px #000; }
html body .msp-k-drawer__close, html body .msp-k-drawer__close:hover { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; min-height: 0; padding: 0; background: transparent !important; border: 0 !important; box-shadow: none !important; color: #fff !important; font-size: 30px; line-height: 1; cursor: pointer; transform: none; }
.msp-k-drawer .msp-k-search { max-width: none; margin-bottom: 14px; }
.msp-k-drawer__list > li + li { border-top: 1px solid var(--msp-line); }
.msp-k-drawer__list { border-top: 1px solid var(--msp-line); }
.msp-k-drawer__list a { display: block; padding: 12px 4px; color: var(--msp-ink); font-family: var(--msp-display); font-weight: 700; font-size: 1.05rem; }
.msp-k-drawer__list .sub-menu a { padding: 8px 4px 8px 16px; font-family: var(--msp-body); font-weight: 500; font-size: 0.97rem; color: var(--msp-muted); }
.msp-k-drawer__list--small a { font-family: var(--msp-body); font-weight: 600; font-size: 0.95rem; color: var(--msp-muted); }
.msp-k-drawer__list a:hover { color: var(--msp-yellow); }
.msp-k-drawer .msp-k-lang { margin-top: 18px; }
.msp-k-drawer .msp-k-lang a { color: var(--msp-ink); font-weight: 700; }

@media (max-width: 1024px) {
  .msp-k-navbar, .msp-k-topbar__nav, .msp-k-topbar__right { display: none; }
  .msp-k-topbar .msp-k-wrap { grid-template-columns: 1fr; }
  html body .msp-k-burger { display: flex; }
  .msp-k-main .msp-k-wrap { height: 68px; gap: 10px; }
  .msp-k-main { border-bottom: 1px solid var(--msp-line); }
  .msp-k-main .msp-k-search { display: none; }
  .msp-k-logo { flex: 0 1 190px; margin-inline: auto; }
  .msp-k-logo img { max-height: 56px; }
  .msp-k-cart__label { display: none; }
  html body .msp-k-tools .msp-theme-item { margin-right: 4px; }
}

/* ------------------------------------------------------------------ bottoni (classi di Kadence e WooCommerce) */
html body .button, html body button.button, html body input[type="submit"], html body .wp-element-button, html body .single_add_to_cart_button, html body .checkout-button {
  font-family: var(--msp-display); font-weight: 800; text-transform: none; border-radius: 999px; min-height: 46px; line-height: 1.15; padding: 0.55em 1.5em;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--msp-yellow); color: #0b0920; border: 2.5px solid #0b0920; box-shadow: 4px 4px 0 var(--msp-pink);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
html body .button:hover, html body button.button:hover, html body input[type="submit"]:hover, html body .wp-element-button:hover, html body .single_add_to_cart_button:hover, html body .checkout-button:hover {
  transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--msp-pink); background: #ffe14a; color: #0b0920;
}

/* ------------------------------------------------------------------ titolo negozio */
.msp-k-shoptitle { padding-top: 26px; padding-bottom: 10px; }
.msp-k-crumbs { font-family: var(--msp-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; color: var(--msp-ink); line-height: 1.15; }
.msp-k-crumbs a { color: var(--msp-muted); font-weight: 600; }
.msp-k-crumbs a:hover { color: var(--msp-yellow); }
.msp-k-crumbs .divider { color: var(--msp-muted); opacity: 0.5; margin: 0 0.4em; font-weight: 400; }

/* ------------------------------------------------------------------ catalogo */
html body.woocommerce.archive .content-container, html body.post-type-archive-product .content-container, html body.tax-product_cat .content-container { padding-top: 18px; padding-bottom: 30px; }
html body.has-sidebar .content-container { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 30px; align-items: start; }
html body.has-sidebar .content-container > #main { grid-column: 2; grid-row: 1; }
html body.has-sidebar .content-container > .primary-sidebar { grid-column: 1; grid-row: 1; width: auto; margin: 0; }
html body .primary-sidebar .sidebar-inner-wrap { padding: 0; }
html body .primary-sidebar .widget { margin: 0 0 18px; padding: 20px; border-radius: 20px; border: 1px solid var(--msp-line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); color: var(--msp-ink); }
html body .primary-sidebar .widget-title { display: block; margin: 0 0 12px; font-family: var(--msp-display); font-weight: 800; font-size: 1.05rem; color: var(--msp-yellow); text-transform: none; }
html body .primary-sidebar ul { list-style: none; margin: 0; padding: 0; }
html body .primary-sidebar .product-categories > li + li { border-top: 1px solid var(--msp-line); }
html body .primary-sidebar .product-categories li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
html body .primary-sidebar .product-categories ul.children { flex: 0 0 100%; padding-left: 12px; border-top: 1px solid var(--msp-line); display: none; }
html body .primary-sidebar .product-categories .current-cat > ul.children, html body .primary-sidebar .product-categories .current-cat-parent > ul.children { display: block; }
html body .primary-sidebar a { color: var(--msp-ink); font-weight: 500; padding: 7px 0; display: inline-block; font-size: 0.95rem; }
html body .primary-sidebar a:hover, html body .primary-sidebar .current-cat > a, html body .primary-sidebar .current-cat-parent > a { color: var(--msp-yellow); }
html body .primary-sidebar .count { color: var(--msp-muted); font-size: 0.75rem; }
html body .primary-sidebar .woocommerce-product-search { display: flex; gap: 8px; }
html body .primary-sidebar input[type="search"] { flex: 1; min-width: 0; height: 46px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid var(--msp-line); color: var(--msp-ink); border-radius: 999px; padding: 0 18px; }
html body .primary-sidebar input[type="search"]::placeholder { color: #8f89b8; }
html body .primary-sidebar .kadence-search-icon-wrap { display: none; }
html body .primary-sidebar .woocommerce-product-search button[type="submit"]:not(.icon):not(.is-form):not(.ux-search-submit) { flex: none; position: static; color: transparent !important; box-shadow: none !important; border-width: 2px !important; width: 46px; min-width: 46px; height: 46px; min-height: 46px; padding: 0; overflow: hidden; border-radius: 50%; border-width: 2px; box-shadow: none; font-size: 0; }
html body .primary-sidebar .woocommerce-product-search button::before { content: ""; width: 18px; height: 18px; background: #0b0920; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") center / contain no-repeat; }
html body .primary-sidebar .price_slider_wrapper .ui-slider { position: relative; height: 4px; margin: 14px 8px 18px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
html body .primary-sidebar .price_slider_wrapper .ui-slider-range { position: absolute; top: 0; height: 100%; background: var(--msp-pink); }
html body .primary-sidebar .price_slider_wrapper .ui-slider-handle { position: absolute; top: -6px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--msp-yellow); border: 2px solid #0b0920; cursor: ew-resize; }
html body .primary-sidebar .price_slider_amount { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
html body .primary-sidebar .price_slider_amount .button { min-height: 38px; border-width: 2px; box-shadow: 3px 3px 0 var(--msp-pink); font-size: 0.85rem; padding: 0 16px; }
html body .primary-sidebar .price_label { color: var(--msp-muted); font-size: 0.82rem; }
html body .primary-sidebar .price_slider_amount input { display: none; }

html body .kadence-shop-top-row { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin: 0 0 18px; color: var(--msp-muted); }
html body .kadence-shop-top-row .woocommerce-result-count { margin: 0; color: var(--msp-muted); font-size: 0.9rem; }
html body .woocommerce-ordering select {
  appearance: none; -webkit-appearance: none; border-radius: 999px; border: 1.5px solid var(--msp-line); background-color: rgba(255, 255, 255, 0.07); color: var(--msp-ink);
  min-height: 44px; padding: 0 40px 0 18px; box-shadow: none; font-family: var(--msp-body);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd60a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center; background-size: 16px; background-repeat: no-repeat;
}
html body .woocommerce-ordering select option { color: #17142e; }

html body ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
html body ul.products::before, html body ul.products::after { display: none; }
html body ul.products li.product, html body ul.products li.product-category {
  position: relative; width: auto; margin: 0; padding: 0; float: none; display: flex; flex-direction: column;
  background: #fff; border-radius: 20px; border: 2.5px solid #0b0920; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 0 0 0 var(--msp-pink);
}
html body ul.products li.product:hover { transform: translate(-3px, -4px); box-shadow: 7px 8px 0 var(--msp-pink); }
html body ul.products li.product:nth-child(3n + 2):hover { box-shadow: 7px 8px 0 var(--msp-blue); }
html body ul.products li.product:nth-child(3n):hover { box-shadow: 7px 8px 0 var(--msp-yellow); }
html body ul.products li.product > a:first-child { display: block; overflow: hidden; background: #fff; }
html body ul.products li.product img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin: 0; border-radius: 0; transition: transform 0.35s ease; }
html body ul.products li.product:hover img { transform: scale(1.06); }
html body ul.products li.product .product-details { flex: 1; padding: 14px 16px 18px; margin: 0; border-top: 1px solid #ece9f7; border-radius: 0; background: #fff; text-align: left; box-shadow: none; }
html body ul.products li.product .msp-k-card-cat { margin: 0 0 4px; color: #6d55d6; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
html body ul.products li.product .woocommerce-loop-product__title { margin: 0 0 8px; padding: 0; font-family: var(--msp-body); font-weight: 600; font-size: 0.95rem; line-height: 1.3; letter-spacing: 0 !important; }
html body ul.products li.product .woocommerce-loop-product__title a { color: var(--msp-paper-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html body ul.products li.product .woocommerce-loop-product__title a:hover { color: var(--msp-link); }
html body ul.products li.product .price, html body ul.products li.product .price .amount { font-family: var(--msp-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--msp-paper-ink); line-height: 1.1; }
html body ul.products li.product .price del, html body ul.products li.product .price del .amount { font-family: var(--msp-body); font-weight: 500; font-size: 0.9rem; color: #8a86a3; letter-spacing: 0; }
html body ul.products li.product .price ins { text-decoration: none; background: none; }
html body ul.products li.product .woocommerce-price-suffix { display: block; margin-top: 3px; font-family: var(--msp-body); font-weight: 500; font-size: 0.74rem; color: #7a7693; letter-spacing: 0; }
html body ul.products li.product .product-excerpt, html body ul.products li.product .product-action-wrap, html body ul.products li.product .star-rating { display: none; }
html body ul.products li.product .onsale {
  position: absolute; left: 12px; top: 12px; right: auto; z-index: 2; min-height: 0; min-width: 0; margin: 0; padding: 6px 12px; border-radius: 999px;
  background: var(--msp-red); color: #fff; border: 2px solid #0b0920; box-shadow: 2px 2px 0 #0b0920;
  font-family: var(--msp-display); font-weight: 800; font-size: 0.8rem; line-height: 1; transform: rotate(-5deg);
}
/* card categoria */
html body ul.products li.product-category > a { display: flex; flex-direction: column; height: 100%; }
html body ul.products li.product-category .product-details { padding: 14px 12px 16px; text-align: center; }
html body ul.products li.product-category .woocommerce-loop-category__title { margin: 0; padding: 0; font-family: var(--msp-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--msp-paper-ink); line-height: 1.2; }
html body ul.products li.product-category .count { display: block; margin-top: 4px; background: none; color: #6d55d6; font-family: var(--msp-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

html body .woocommerce-pagination { margin: 26px 0 10px; text-align: center; }
html body .woocommerce-pagination ul.page-numbers { display: inline-flex; gap: 8px; border: 0; list-style: none; margin: 0; padding: 0; }
html body .woocommerce-pagination .page-numbers li { border: 0; }
html body .woocommerce-pagination .page-numbers a, html body .woocommerce-pagination .page-numbers span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0; border: 2px solid var(--msp-line); border-radius: 50%; background: transparent; color: var(--msp-ink); font-family: var(--msp-display); font-weight: 800; }
html body .woocommerce-pagination .page-numbers .current, html body .woocommerce-pagination .page-numbers a:hover { background: var(--msp-yellow); border-color: var(--msp-yellow); color: #0b0920; }
html body .term-description, html body .woocommerce-info { color: var(--msp-muted); }

@media (max-width: 1024px) {
  html body.has-sidebar .content-container { display: block; }
  html body.has-sidebar .content-container > .primary-sidebar { margin-top: 30px; }
  html body ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 640px) {
  html body ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html body .site-container, .msp-k-wrap { padding-inline: 14px; }
  html body .kadence-shop-top-row { justify-content: space-between; flex-wrap: wrap; gap: 8px; }
  html body ul.products li.product .product-details { padding: 10px 10px 14px; }
  html body ul.products li.product .price, html body ul.products li.product .price .amount { font-size: 1.15rem; }
}

/* ------------------------------------------------------------------ footer */
.msp-k-footer { position: relative; margin-top: 48px; background: #05040f; color: var(--msp-muted); font-size: 0.95rem; }
.msp-k-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--msp-rainbow); }
.msp-k-footer a { color: var(--msp-muted); transition: color 0.15s; }
.msp-k-footer a:hover { color: #fff; }
.msp-k-footer__intro { padding-top: 100px; text-align: center; }
.msp-k-footer__intro p { margin: 0 0 14px; color: var(--msp-muted); font-size: 1.02rem; }
html body .msp-k-footer .button, html body .msp-k-footer .button:hover { color: #0b0920; }
.msp-k-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; max-width: 1100px; padding-top: 70px; padding-bottom: 40px; margin-top: 60px; border-top: 1px solid var(--msp-line); }
html body .msp-k-footer h4 { margin: 0 0 16px; color: var(--msp-yellow); font-size: 1.05rem; font-weight: 700; }
.msp-k-footer__col li { padding: 6px 0; }
.msp-k-footer__legal { padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--msp-line); text-align: center; font-size: 0.82rem; }
.msp-k-footer__legal p { margin: 0; }
.msp-k-footer__legal a { color: var(--msp-yellow); text-decoration: underline; text-underline-offset: 3px; }
.msp-k-footer__bottom { border-top: 1px solid var(--msp-line); padding: 18px 0 22px; text-align: center; color: #8f89b8; font-size: 0.85rem; }
.msp-k-footer__bottom p { margin: 4px 0 0; }
.msp-k-footer__bottom strong, .msp-k-footer__bottom a { color: #b9b3dc; }
.msp-k-pay { display: flex; justify-content: center; gap: 6px; margin-bottom: 8px !important; }
.msp-k-pay li { display: grid; place-items: center; min-width: 46px; height: 28px; padding: 0 7px; border-radius: 8px; background: #fff; color: #17142e; font-family: var(--msp-display); font-weight: 800; font-size: 0.68rem; letter-spacing: -0.01em; }
.msp-k-dev { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.62rem; }
.msp-k-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--msp-yellow); color: #0b0920 !important; border: 2px solid #0b0920; box-shadow: 3px 3px 0 var(--msp-pink); }
.msp-k-top svg { width: 16px; height: 16px; }
@media (max-width: 800px) {
  .msp-k-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; }
  .msp-k-footer__intro { padding-top: 60px; }
}

/* sfondo chiaro */
html.msp-light body .msp-k-sticky, html.msp-light body, html.msp-light body #wrapper, html.msp-light body #inner-wrap { background: var(--msp-paper); }
html.msp-light body #inner-wrap, html.msp-light .msp-k-cart, html.msp-light .msp-k-crumbs, html.msp-light .msp-k-primary__list > li > a { color: var(--msp-paper-ink); }
html.msp-light .msp-k-burger span { background: var(--msp-paper-ink); }
html.msp-light body .msp-k-search input[type="search"] { background: #fff; border-color: rgba(23, 20, 46, 0.22); color: var(--msp-paper-ink); }
html.msp-light .msp-k-navbar, html.msp-light .msp-k-main { border-color: rgba(23, 20, 46, 0.14); }
html.msp-light .msp-k-cart__count, html.msp-light .msp-k-cart__count::after { border-color: var(--msp-paper-ink); color: var(--msp-paper-ink); }
html.msp-light .msp-k-primary__list > li > a:hover, html.msp-light .msp-k-primary__list > li.current-menu-item > a { background: rgba(23, 20, 46, 0.07); color: var(--msp-link); }
html.msp-light body .primary-sidebar .widget { background: #fff; border-color: rgba(23, 20, 46, 0.14); color: var(--msp-paper-ink); }
html.msp-light body .primary-sidebar a { color: var(--msp-paper-ink); }
html.msp-light body .primary-sidebar .widget-title { color: var(--msp-link); }
html.msp-light body .primary-sidebar input[type="search"], html.msp-light body .woocommerce-ordering select { background-color: #fff; border-color: rgba(23, 20, 46, 0.22); color: var(--msp-paper-ink); }

/* ------------------------------------------------------------------ ritocchi: regole di Kadence da superare */
html body .primary-sidebar .widget .widget-title { color: var(--msp-yellow) !important; font-size: 1.05rem !important; line-height: 1.3; }
html.msp-light body .primary-sidebar .widget .widget-title { color: var(--msp-link) !important; }
html body .primary-sidebar .widget_product_categories li a { border: 0 !important; display: inline-block !important; flex: 1 1 auto; }
html body .primary-sidebar .widget_product_categories li .count { flex: none; order: 3; margin-left: 8px; }
html body .primary-sidebar .widget_product_categories .cat-parent > button, html body .primary-sidebar .widget_product_categories .cat-parent > .kadence-toggle { flex: none; order: 2; min-height: 0; width: 28px; height: 28px; padding: 0; background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--msp-muted) !important; transform: none !important; }
html body .primary-sidebar .widget_product_categories ul.children { order: 4; }
html body .primary-sidebar .woocommerce-product-search button[type="submit"]:not(.icon):not(.is-form):not(.ux-search-submit) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0920' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: center !important; background-size: 18px !important;
}
html body .primary-sidebar .woocommerce-product-search button::before { display: none !important; }
html body .primary-sidebar .price_slider_wrapper .ui-slider .ui-slider-range { background: var(--msp-pink) !important; }
html body .primary-sidebar .price_slider_wrapper .ui-slider .ui-slider-handle { background: var(--msp-yellow) !important; border: 2px solid #0b0920 !important; }
html body .woocommerce-ordering select.orderby { background-color: rgba(255, 255, 255, 0.07) !important; color: var(--msp-ink) !important; border: 1.5px solid var(--msp-line) !important; border-radius: 999px !important; }
html.msp-light body .woocommerce-ordering select.orderby { background-color: #fff !important; color: var(--msp-paper-ink) !important; border-color: rgba(23, 20, 46, 0.22) !important; }
html body .msp-k-footer .msp-k-pay li { color: #17142e; }

/* ------------------------------------------------------------------ scheda prodotto */
html body.single-product .content-container { padding-top: 0; padding-bottom: 0; }
html body.single-product div.product {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px 40px; align-items: start;
  background: var(--msp-paper-2); color: var(--msp-paper-ink);
  border-radius: 28px; border: 2.5px solid #0b0920; box-shadow: 8px 8px 0 var(--msp-violet);
  margin: 28px 0 12px; padding: clamp(18px, 3vw, 44px);
}
html body.single-product div.product::before, html body.single-product div.product::after { display: none; }
html body.single-product div.product > .woocommerce-product-gallery { grid-column: 1; width: auto !important; float: none; margin: 60px 0 0; padding: 30px; position: sticky; top: 150px; background: #fff; border-radius: 20px; border: 1px solid #ddd8f0; box-shadow: 0 10px 30px -20px rgba(23, 20, 46, 0.35); }
html body.single-product div.product > .woocommerce-product-gallery img { border-radius: 8px; }
html body.single-product div.product > .summary { grid-column: 2; width: auto !important; float: none; margin: 0; padding: 0; background: transparent; }
html body.single-product div.product > .msp-k-pinfo, html body.single-product div.product > .related, html body.single-product div.product > .upsells { grid-column: 1 / -1; }
html body.single-product div.product > .onsale { position: absolute; z-index: 3; margin: 76px 0 0 16px; padding: 8px 14px; min-height: 0; min-width: 0; border-radius: 999px; background: var(--msp-red); color: #fff; border: 2px solid #0b0920; box-shadow: 2px 2px 0 #0b0920; font-family: var(--msp-display); font-weight: 800; font-size: 0.95rem; line-height: 1; transform: rotate(-5deg); }
.msp-k-pcrumbs { font-size: 0.86rem; font-weight: 500; margin-bottom: 6px; }
html body.single-product .msp-k-pcrumbs a { color: var(--msp-link); }
.msp-k-pcrumbs .divider { margin: 0 0.5em; color: var(--msp-paper-muted); opacity: 0.6; }
.msp-k-phead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 30px; align-items: start; margin-bottom: 22px; }
html body.single-product .msp-k-phead h1.product_title { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.4rem); color: var(--msp-paper-ink); }
html body.single-product .msp-k-phead .price { margin: 0; text-align: right; font-family: var(--msp-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--msp-paper-ink); letter-spacing: -0.02em; line-height: 1.05; }
html body.single-product .msp-k-phead .price .amount { color: inherit; font: inherit; }
html body.single-product .msp-k-phead .price del, html body.single-product .msp-k-phead .price del .amount { font-family: var(--msp-body); font-size: 1rem; font-weight: 500; color: #8a86a3; letter-spacing: 0; }
html body.single-product .msp-k-phead .price ins { text-decoration: none; background: none; }
html body.single-product .msp-k-phead .price .woocommerce-price-suffix { display: block; margin-top: 2px; font-family: var(--msp-body); font-weight: 500; font-size: 0.74rem; color: #7a7693; letter-spacing: 0; }
.msp-k-pbox { background: #fff; border-radius: 20px; border: 1px solid #ddd8f0; box-shadow: 0 10px 30px -20px rgba(23, 20, 46, 0.35); padding: 22px 24px; margin-bottom: 30px; color: var(--msp-paper-ink); }
.msp-k-pbox:empty { display: none; }
.msp-k-pbox > :last-child, .msp-k-pbox .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }
.msp-k-pbox .woocommerce-product-details__short-description { font-size: 1.03rem; }
html body.single-product .stock { margin: 0 0 16px; font-weight: 700; }
html body.single-product .stock.in-stock { color: #12a150; }
html body.single-product .stock.out-of-stock { color: #c81e1e; }
html body.single-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
html body.single-product form.cart .quantity { margin: 0; }
html body.single-product form.cart .quantity .qty { width: 76px; min-height: 48px; height: 48px; text-align: center; border-radius: 14px; border: 1.5px solid #d9d4ee; background: #fff; color: var(--msp-paper-ink); box-shadow: none; }
html body.single-product .single_add_to_cart_button { min-height: 52px; padding-inline: 2em; font-size: 1.05rem; }
html body.single-product form.cart ~ * { margin-top: 14px; }
html body.single-product .summary .woocommerce-tabs { margin: 0; padding: 0; border: 0; background: transparent; }
html body.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 26px; margin: 0 0 18px; padding: 0; list-style: none; border: 0; border-bottom: 2px solid #d9d4ee; background: transparent; }
html body.single-product .woocommerce-tabs ul.tabs::before, html body.single-product .woocommerce-tabs ul.tabs::after { display: none; }
html body.single-product .woocommerce-tabs ul.tabs li { margin: 0 0 -2px; padding: 0; border: 0; background: transparent; border-radius: 0; }
html body.single-product .woocommerce-tabs ul.tabs li::before, html body.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
html body.single-product .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 0; border: 0; border-bottom: 4px solid transparent; border-radius: 0; background: transparent; font-family: var(--msp-display); font-weight: 800; font-size: 1.02rem; color: var(--msp-paper-muted); text-transform: none; }
html body.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--msp-paper-ink); border-bottom-color: var(--msp-pink); }
html body.single-product .woocommerce-tabs .panel { margin: 0; padding: 0; border: 0; background: transparent; color: var(--msp-paper-ink); }
html body.single-product .woocommerce-tabs .panel a, html body.single-product .msp-k-pinfo a { color: var(--msp-link); }
html body.single-product .woocommerce-Reviews-title, html body.single-product .comment-reply-title { font-size: 1.2rem; color: var(--msp-paper-ink); }
.msp-k-divider { height: 2px; border: 0; margin: 0 0 30px; background: #d9d4ee; }
.msp-k-pinfo__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-bottom: 30px; }
html body.single-product .msp-k-pinfo h2 { margin: 0 0 12px; font-size: clamp(1.3rem, 2.2vw, 1.65rem); color: var(--msp-paper-ink); }
.msp-k-pinfo p { margin: 0; }
html body.single-product .related > h2, html body.single-product .upsells > h2 { margin: 0 0 22px; font-family: var(--msp-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; color: var(--msp-paper-ink); }
html body.single-product .related, html body.single-product .upsells { margin: 0 0 20px; }
@media (max-width: 849px) {
  html body.single-product div.product { grid-template-columns: minmax(0, 1fr); box-shadow: 5px 5px 0 var(--msp-violet); border-radius: 22px; margin-top: 16px; }
  html body.single-product div.product > .woocommerce-product-gallery, html body.single-product div.product > .summary { grid-column: 1; position: static; }
  html body.single-product div.product > .woocommerce-product-gallery { margin-top: 0; padding: 14px; }
  .msp-k-phead { grid-template-columns: minmax(0, 1fr); }
  html body.single-product .msp-k-phead .price { text-align: left; }
  .msp-k-pinfo__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
html body.single-product div.product.entry { background: var(--msp-paper-2) !important; }
html body.single-product .product-title.product-above { display: none; }
html body.single-product .summary .price + *:not(.msp-k-pbox):not(div) { color: var(--msp-paper-ink); }
html body.single-product .summary, html body.single-product .summary p, html body.single-product .msp-k-pinfo { color: var(--msp-paper-ink); }
html body.single-product div.product.entry { padding: clamp(18px, 3vw, 44px) !important; border-radius: 28px !important; margin: 28px 0 12px !important; box-shadow: 8px 8px 0 var(--msp-violet) !important; }
html body.single-product .summary klarna-placement, html body.single-product .summary [class*="klarna"], html body.single-product .summary > div:not(.msp-k-pbox):not(.msp-k-phead):not(.woocommerce-tabs) { color: var(--msp-paper-ink); margin-bottom: 18px; }
html body.single-product .woocommerce-tabs ul.tabs li, html body.single-product .woocommerce-tabs ul.tabs li.active { background: transparent !important; border: 0 !important; box-shadow: none !important; margin: 0 0 -2px !important; }
html body.single-product .woocommerce-tabs ul.tabs li a { padding: 10px 0 !important; background: transparent !important; color: var(--msp-paper-muted) !important; border-bottom: 4px solid transparent !important; }
html body.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--msp-paper-ink) !important; border-bottom-color: var(--msp-pink) !important; }
@media (max-width: 849px) { html body.single-product div.product.entry { border-radius: 22px !important; margin-top: 16px !important; box-shadow: 5px 5px 0 var(--msp-violet) !important; } }

/* ------------------------------------------------------------------ pannelli chiari: pagine, carrello, checkout, account, articoli */
html body.page:not(.home) .content-container, html body.single-post .content-container, html body.search-results:not(.woocommerce) .content-container, html body.error404 .content-container, html body.blog .content-container { padding-top: 0; padding-bottom: 0; }
html body.page:not(.home) article.entry, html body.single-post article.entry, html body.error404 .content-wrap, html body.search-no-results .content-wrap {
  background: var(--msp-paper-2) !important; color: var(--msp-paper-ink);
  border-radius: 28px !important; border: 2.5px solid #0b0920; box-shadow: 8px 8px 0 var(--msp-violet) !important;
  margin: 28px 0 12px !important; padding: clamp(18px, 3vw, 44px) !important;
}
html body.page:not(.home) article.entry .entry-content-wrap, html body.single-post article.entry .entry-content-wrap { padding: 0 !important; background: transparent !important; }
html body.page:not(.home) .entry-content, html body.single-post .entry-content { color: var(--msp-paper-ink); margin: 0; }
html body:not(.home) .entry-content h1, html body:not(.home) .entry-content h2, html body:not(.home) .entry-content h3, html body:not(.home) .entry-content h4, html body:not(.home) .entry-header .entry-title { color: var(--msp-paper-ink); }
html body.page:not(.home) .entry-content > h2, html body.single-post .entry-content > h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-top: 1.8em; }
html body.page:not(.home) .entry-content > h2::before, html body.single-post .entry-content > h2::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--msp-fire); margin-bottom: 14px; }
html body.page:not(.home) .entry-content > h2:first-child { margin-top: 0; }
html body.page:not(.home):not(.woocommerce-page) .entry-content > p, html body.page:not(.home):not(.woocommerce-page) .entry-content > ul, html body.page:not(.home):not(.woocommerce-page) .entry-content > h2, html body.page:not(.home):not(.woocommerce-page) .entry-content > table, html body.page:not(.home):not(.woocommerce-page) .entry-content > blockquote { max-width: 78ch; }
html body.page:not(.home):not(.woocommerce-page) .entry-content > ul { list-style: none; margin-left: 0; padding-left: 0; }
html body.page:not(.home):not(.woocommerce-page) .entry-content > ul > li { position: relative; padding-left: 1.5em; }
html body.page:not(.home):not(.woocommerce-page) .entry-content > ul > li::before { content: ""; position: absolute; left: 0.15em; top: 0.62em; width: 9px; height: 9px; border-radius: 3px; background: var(--msp-pink); transform: rotate(45deg); }
html body:not(.home) .entry-content a:not(.button):not(.wp-element-button) { color: var(--msp-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html body:not(.home) .entry-content a:not(.button):not(.wp-element-button):hover { color: var(--msp-pink); }
html body.page:not(.woocommerce-page) .entry-content table th { background: #17142e; color: #fff; padding: 12px 14px; }
html body .entry-content table td { padding: 12px 14px; border-color: #ddd8f0; }
html body .entry-content input[type="text"], html body .entry-content input[type="email"], html body .entry-content input[type="tel"], html body .entry-content input[type="password"], html body .entry-content input[type="number"], html body .entry-content textarea, html body .entry-content select, html body .entry-content .select2-container .select2-selection {
  border-radius: 14px; border: 1.5px solid #d9d4ee; background: #fff; color: var(--msp-paper-ink); box-shadow: none; min-height: 48px; font-size: 1rem;
}
html body .entry-content input:focus, html body .entry-content textarea:focus, html body .entry-content select:focus { border-color: var(--msp-violet); box-shadow: 0 0 0 3px rgba(139, 61, 255, 0.18); }
html body .entry-content label { font-weight: 600; color: var(--msp-paper-ink); }
html body .entry-content input[type="checkbox"], html body .entry-content input[type="radio"] { accent-color: var(--msp-violet); }

/* carrello vuoto */
html body .wc-empty-cart-message .woocommerce-info, html body .cart-empty.woocommerce-info { background: transparent; border: 0; text-align: center; padding: 20px 0 0; font-family: var(--msp-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--msp-paper-ink); letter-spacing: -0.02em; }
html body .wc-empty-cart-message .woocommerce-info::before, html body .cart-empty.woocommerce-info::before { display: none; }
html body .return-to-shop { text-align: center; margin: 14px 0 20px; }
html body .return-to-shop .button { text-decoration: none; }

/* carrello e checkout */
html body.woocommerce-cart .entry-content h2, html body.woocommerce-checkout .entry-content h3, html body.woocommerce-account .entry-content h2, html body.woocommerce-account .entry-content h3 { font-family: var(--msp-display); font-size: 1.5rem; letter-spacing: -0.02em; color: var(--msp-paper-ink); }
html body .shop_table { border: 0; border-collapse: collapse; background: transparent; border-radius: 0; }
html body .shop_table thead th, html body .shop_table .order-total th, html body .shop_table .cart-subtotal th { text-transform: none; letter-spacing: 0; font-family: var(--msp-display); font-weight: 800; color: var(--msp-paper-ink); border-color: #cfc8ea; font-size: 1rem; background: transparent; }
html body .shop_table td, html body .shop_table th { border-color: #ddd8f0; background: transparent; }
html body .entry-content .shop_table .product-name a { color: var(--msp-paper-ink); font-weight: 600; text-decoration: none; }
html body .entry-content .shop_table .product-name a:hover { color: var(--msp-link); }
html body .shop_table .amount { font-weight: 700; color: var(--msp-paper-ink); }
html body .shop_table .order-total .amount { font-family: var(--msp-display); font-size: 1.4rem; font-weight: 800; }
html body .shop_table img { border-radius: 12px; border: 1px solid #ddd8f0; background: #fff; }
html body .cart_totals, html body #order_review, html body .woocommerce-checkout-review-order, html body .woocommerce form.login, html body .woocommerce form.register, html body .woocommerce-MyAccount-content, html body .woocommerce form.checkout_coupon, html body .woocommerce form.woocommerce-ResetPassword {
  background: #fff; border-radius: 20px; border: 1px solid #ddd8f0; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 10px 30px -20px rgba(23, 20, 46, 0.35); color: var(--msp-paper-ink);
}
html body .checkout-button, html body #place_order { width: 100%; min-height: 54px; font-size: 1.08rem; text-decoration: none; }
html body .woocommerce-cart .coupon .button, html body .checkout_coupon .button, html body button[name="update_cart"] { box-shadow: none; background: #fff; }
html body #payment, html body .woocommerce-checkout-payment { background: transparent; border-radius: 14px; }
html body #payment ul.payment_methods { border-color: #ddd8f0; padding: 0; }
html body #payment ul.payment_methods li { border-color: #ddd8f0; padding: 12px 0; list-style: none; }
html body #payment .payment_box { background: var(--msp-paper-2); border-radius: 12px; color: var(--msp-paper-ink); }
html body #payment .payment_box::before { display: none; }
html body .woocommerce-privacy-policy-text, html body .woocommerce-terms-and-conditions-wrapper { font-size: 0.9rem; color: var(--msp-paper-muted); }
html body .woocommerce-info, html body .woocommerce-message, html body .woocommerce-error { border-radius: 16px; }
html body .entry-content .woocommerce-info, html body .entry-content .woocommerce-message { background: #fff; color: var(--msp-paper-ink); border: 1px solid #ddd8f0; }
html body .woocommerce-error li { color: #c81e1e; }
html body .woocommerce-thankyou-order-received { font-family: var(--msp-display); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; color: #0d7a3d; }
html body ul.woocommerce-order-overview { padding: 0; list-style: none; }
html body ul.woocommerce-order-overview li { border-color: #ddd8f0; color: var(--msp-paper-muted); }
html body ul.woocommerce-order-overview li strong { color: var(--msp-paper-ink); }
html body .woocommerce-customer-details address { font-style: normal; background: #fff; border: 1px solid #ddd8f0; border-radius: 16px; padding: 16px 18px; }
html body mark.order-number, html body mark.order-date, html body mark.order-status { background: var(--msp-yellow); color: #0b0920; padding: 1px 8px; border-radius: 6px; font-weight: 700; }

/* account */
html body .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
html body .entry-content .woocommerce-MyAccount-navigation ul li a { display: block; color: var(--msp-paper-ink); font-weight: 600; font-size: 0.98rem; border-radius: 12px; padding: 10px 14px; text-decoration: none; }
html body .entry-content .woocommerce-MyAccount-navigation ul li.is-active a, html body .entry-content .woocommerce-MyAccount-navigation ul li a:hover { background: var(--msp-yellow); color: #0b0920; }
html body .woocommerce-account .woocommerce:has(form.login) { max-width: 980px; margin-inline: auto; }

@media (max-width: 549px) {
  html body.page:not(.home) article.entry, html body.single-post article.entry { box-shadow: 5px 5px 0 var(--msp-violet) !important; border-radius: 22px !important; margin-top: 16px !important; }
}


/* card prodotto dentro le pagine (offerte, home): niente sottolineature */
html body .entry-content ul.products a, html body .entry-content ul.products a:hover { text-decoration: none !important; font-weight: inherit; }
html body .entry-content ul.products li.product .woocommerce-loop-product__title a { color: var(--msp-paper-ink) !important; font-weight: 600 !important; }
html body .columns-5 > ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) { html body .columns-5 > ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { html body .columns-5 > ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* home: a tutta larghezza, senza pannello */
html body.home .content-container, html body.home .site-container.content-container { max-width: none; padding: 0; }
html body.home article.entry, html body.home .entry-content-wrap { background: transparent !important; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
html body.home .entry-content { margin: 0; }
html body.home .content-area { margin: 0; }

/* blocchi di Flatsome resi in forma essenziale */
.msp-fx-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px; align-items: start; margin-bottom: 24px; }
.msp-fx-col { grid-column: span var(--msp-fx-span, 12); min-width: 0; }
.msp-fx-col > :last-child, .msp-fx-text > :last-child { margin-bottom: 0; }
.msp-fx-banner { margin: 10px 0 24px; }
.msp-fx-image { margin: 0 0 20px; }
.msp-fx-image img { display: block; max-width: 100%; height: auto; border-radius: 20px; }
.msp-fx-feature { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid #ddd8f0; border-radius: 20px; }
.msp-fx-feature img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.msp-fx-feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.msp-fx-section > p:empty, .msp-fx-row > p:empty, .msp-fx-row > br { display: none; }
@media (max-width: 849px) { .msp-fx-col { grid-column: 1 / -1; } }

/* ritocchi carrello */
html body.woocommerce-cart .cart-summary > h2, html body.woocommerce-cart .cart_totals > h2 { font-size: 1.15rem; margin: 0 0 12px; }

.msp-fx-section--bg { padding: clamp(18px, 3vw, 40px); border-radius: 18px; margin-bottom: 24px; }
.msp-fx-banner--bg { display: flex; align-items: flex-end; justify-content: center; min-height: 0; aspect-ratio: 3 / 4; padding: 20px; background-size: cover; background-position: center; border-radius: 6px; overflow: hidden; }
.msp-fx-banner--bg .msp-fx-image { margin: 0; max-width: 60%; }
.msp-fx-banner--bg .msp-fx-image img { border-radius: 0; }
html body ul.products li.product.col { max-width: none; flex-basis: auto; padding: 0; }
html body.single-product div.product > .woocommerce-product-gallery { position: sticky !important; top: 150px; }
@media (max-width: 849px) { html body.single-product div.product > .woocommerce-product-gallery { position: relative !important; top: auto; } }
html body .wc-empty-cart-message .woocommerce-info, html body .cart-empty.woocommerce-info { color: var(--msp-paper-ink) !important; }
