/* Layout Pa.Na. (anteprima) + WordPress / Astra / WooCommerce */
:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --accent: #42a5f5;
  --sale: #d32f2f;
  --bg: #ffffff;
  --bg-soft: #f4f6f7;
  --text: #1a1d21;
  --muted: #5c6570;
  --border: #dde3e8;
  --radius: 8px;
  --shadow: 0 8px 30px rgba(13, 71, 161, 0.08);
  --footer-link: #90caf9;
  --footer-link-hover: #bbdefb;
  --max: 1200px;
  --text-sm: 13px;
  --mobile-bottom-nav-h: 64px;
  --xp-header-h: 118px;
  --xp-shop-sticky: calc(var(--xp-header-h) + 8px);
  /* C.12: --radius 8px desktop; --xp-radius 16px solo su body.pana-mobile-xp */
}
* { box-sizing: border-box; }
body.pana-theme {
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  /* Astra usa body { display:flex; flex-direction:row } — topbar/header/nav sono figli diretti del body */
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
}
body.pana-theme > .topbar,
body.pana-theme > .header,
body.pana-theme > .nav,
body.pana-theme > #page,
body.pana-theme > .site.hfeed {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
}
body.pana-theme > #page,
body.pana-theme > .site.hfeed {
  /* Non flex-grow: altrimenti altezza = viewport + overflow hidden taglia i prodotti */
  flex: 0 0 auto !important;
  overflow: visible !important;
}
html {
  overflow-x: clip;
}
body.pana-theme {
  overflow-x: visible;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100%;
}
body.pana-theme #content,
body.pana-theme .site-content,
body.pana-theme #primary,
body.pana-theme .site-main,
body.pana-theme .pana-shop-page,
body.pana-theme .shop-layout,
body.pana-theme .shop-main,
body.pana-theme .entry-content {
  overflow: visible !important;
  max-height: none !important;
}
.topbar { background: var(--primary-dark); color: #fff; font-size: 12px; padding: 8px 16px; }
.topbar-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.topbar strong { color: #90caf9; }
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.logo { text-decoration: none; color: var(--text); font-weight: 800; font-size: 18px; line-height: 1.15; min-width: 0; }
.logo .logo-name { display: block; white-space: nowrap; }
.logo .logo-tagline,
.logo small { display: block; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.search { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.search input { flex: 1; border: 0; padding: 10px 12px; font-size: 14px; min-width: 0; }
.search button { border: 0; background: var(--primary); color: #fff; padding: 0 16px; font-weight: 600; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions a { text-decoration: none; color: var(--text); font-size: 13px; font-weight: 600; }
.header-actions .tel { color: var(--primary); white-space: nowrap; }
.cart-btn { background: var(--primary); color: #fff !important; padding: 8px 14px; border-radius: var(--radius); }
.cart-count { display: inline-block; background: #fff; color: var(--primary); font-size: 11px; min-width: 18px; text-align: center; border-radius: 99px; margin-left: 4px; }
.nav { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 16px; display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { text-decoration: none; color: var(--text); font-size: 13px; font-weight: 600; padding: 12px 14px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.container { max-width: var(--max); margin: 0 auto; padding: 24px 16px 48px; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; border: 1px solid var(--border); }
.hero-copy { padding: 40px 32px; }
.hero-copy .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--primary); text-transform: uppercase; margin-bottom: 12px; }
.hero-copy h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin-bottom: 16px; }
.hero-copy p { color: var(--muted); margin-bottom: 24px; max-width: 420px; }
.hero-visual { background: linear-gradient(145deg, #bbdefb 0%, #e3f2fd 60%); min-height: 280px; display: flex; align-items: flex-end; padding: 20px; font-size: 12px; color: var(--muted); background-size: cover; background-position: center; }
.hero-visual.has-image { padding: 0; font-size: 0; color: transparent; min-height: 320px; overflow: hidden; }
.hero-visual.has-image .pana-hero-lcp { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center; }
.campaign.has-image { background-size: cover; background-position: center; color: #fff; min-height: 160px; }
.campaign.has-image .label { opacity: .9; }
.product-card .body .cat { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px; }
.product-card .body .cat a { color: inherit; text-decoration: none; pointer-events: none; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: var(--radius); cursor: pointer; border: 0; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); margin-left: 8px; }
.footer { background: var(--primary-dark); color: #fff; padding: 40px 16px 24px; margin-top: 48px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 24px; }
.footer a { color: var(--footer-link); text-decoration: none; font-size: 13px; display: block; margin-bottom: 6px; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; color: #fff; }
.footer-bottom { max-width: var(--max); margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 12px; color: #90caf9; }
.page-hero-simple { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 32px 16px; margin-bottom: 24px; }
.page-hero-simple h1 { max-width: var(--max); margin: 0 auto; font-size: 32px; }
.cat-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-hub-card { text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cat-hub-card .visual { height: 120px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.cat-hub-card .body { padding: 16px; }
.cat-hub-banner { background: var(--primary-dark); color: #fff; border-radius: var(--radius); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.mobile-toggle, .mobile-search-toggle { display: none; }
@media (min-width: 768px) and (max-width: 900px) {
  body.pana-theme .footer.pana-footer .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 24px;
  }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .search:not(.search-mobile) { display: none; }
  .header-inner > .pana-search-wrap:not(.pana-search-wrap--mobile) { display: none !important; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .mobile-search-toggle { display: flex; align-items: center; justify-content: center; background: transparent !important; border: 1px solid var(--border) !important; border-radius: var(--radius); font-size: 18px; cursor: pointer; min-width: 44px; min-height: 44px; padding: 0; color: var(--primary) !important; box-shadow: none !important; }
  .mobile-toggle { display: none !important; }
  .nav { display: block; }
  .nav .nav-inner { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0; }
  .nav .nav-inner::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; white-space: nowrap; padding: 10px 11px; font-size: 12px; }
  .cat-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Integrazione WordPress / Astra / WooCommerce */
body.pana-theme {
  padding-top: 0 !important;
}

body.pana-theme {
  padding-top: 0 !important;
  font-family: "DM Sans", system-ui, sans-serif;
}

.preview-ribbon {
  display: none !important;
}

body.pana-theme .header {
  top: 0;
}

body.pana-theme.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  body.pana-theme.admin-bar .header {
    top: 46px;
  }
}

body.pana-theme #masthead,
body.pana-theme .site-header,
body.pana-theme header.site-header,
body.pana-theme .ast-primary-header-bar,
body.pana-theme #ast-hf-header-wrap,
body.pana-theme #ast-desktop-header,
body.pana-theme #ast-mobile-header,
body.pana-theme #primary-site-navigation-desktop,
body.pana-theme #ast-mobile-site-navigation,
body.pana-theme .main-header-bar-navigation,
body.pana-theme .ast-builder-menu,
body.pana-theme .ast-mobile-header-wrap,
body.pana-theme .ast-above-header,
body.pana-theme .ast-below-header,
body.pana-theme .ast-above-header-bar,
body.pana-theme .ast-below-header-bar,
body.pana-theme .ast-header-sticked,
body.pana-theme .ast-custom-header,
body.pana-theme .header-widget-area,
body.pana-theme .ast-mobile-header-content,
body.pana-theme .ast-builder-layout-element,
body.pana-theme .site-header-section,
body.pana-theme .ast-main-header-bar-alignment,
body.pana-theme [data-section="section-header"],
body.pana-theme .ast-hfb-header,
body.pana-theme #ast-hf-header,
body.pana-theme .ast-single-entry-banner,
body.pana-theme .ast-archive-entry-banner {
  display: none !important;
}

/* Banner Spectra / countdown promozionale */
body.pana-theme .uagb-countdown-wrapper,
body.pana-theme .uagb-countdown,
body.pana-theme .wp-block-uagb-countdown,
body.pana-theme .spectra-countdown,
body.pana-theme .ast-custom-banner,
body.pana-theme .entry-content > .wp-block-group:has(.uagb-countdown),
body.pana-theme .entry-content > .wp-block-uagb-info-box {
  display: none !important;
}

body.pana-theme .uagb-popup-builder,
body.pana-theme .wp-block-uagb-popup-builder,
body.pana-theme .uagb-popup-builder__wrapper,
body.pana-theme .uagb-popup-builder__container,
body.pana-theme .spectra-popup {
  display: none !important;
}

body.pana-theme .site-footer:not(.pana-footer),
body.pana-theme footer.site-footer:not(.pana-footer),
body.pana-theme #colophon,
body.pana-theme #colophon *,
body.pana-theme .site-primary-footer-wrap,
body.pana-theme .site-below-footer-wrap,
body.pana-theme .ast-small-footer,
body.pana-theme .site-footer-primary-section-1,
body.pana-theme .site-footer-focus-item,
body.pana-theme .ast-builder-footer-grid-columns,
body.pana-theme #colophon .ast-builder-html-element,
body.pana-theme .site-primary-footer-wrap .ast-builder-html-element,
body.pana-theme .site-footer .ast-header-html {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

body.pana-theme #content.site-content {
  padding-top: 0;
}

body.pana-theme .ast-container {
  max-width: 1200px;
}

body.pana-theme .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

body.pana-theme .woocommerce ul.products::before,
body.pana-theme .woocommerce ul.products::after {
  display: none;
}

body.pana-theme .woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

body.pana-theme .woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

body.pana-theme .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0 14px;
  min-height: 2.7em;
}

body.pana-theme .woocommerce ul.products li.product .price {
  padding: 0 14px 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
}

body.pana-theme .woocommerce ul.products li.product img {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  height: auto;
  background: var(--bg-soft, #f4f6f7);
  box-sizing: border-box;
  padding: 10px;
}
body.pana-theme .astra-shop-thumbnail-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-soft, #f4f6f7);
  overflow: hidden;
}
body.pana-theme .woocommerce div.product div.images .woocommerce-product-gallery__image {
  aspect-ratio: 1;
  background: var(--bg-soft, #f4f6f7);
}
body.pana-theme .woocommerce div.product div.images .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.pana-theme .woocommerce .woocommerce-breadcrumb {
  max-width: var(--max);
  margin: 12px auto;
  padding: 0 16px;
  font-size: var(--text-sm);
}

body.pana-theme .woocommerce-page .site-main,
body.pana-theme .woocommerce .site-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

body.pana-theme .single-product .product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  body.pana-theme .single-product .product {
    grid-template-columns: 1fr;
  }
}

body.pana-theme .pana-cat-hub .cat-group {
  margin-bottom: 40px;
}

body.pana-theme .pana-cat-hub .cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

body.pana-theme .pana-cat-hub .cat-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  background: #fff;
}

body.pana-theme .pana-cat-hub .cat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

body.pana-theme .pana-cat-hub .cat-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

body.pana-theme .pana-cat-hub .cat-card p {
  font-size: var(--text-sm);
  color: var(--muted);
}

body.pana-theme .pana-hero-home {
  margin-bottom: 32px;
}

/* Layout home (da pana-preview/style.css) */
body.pana-theme .hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--bg-soft, #f4f6f7);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--border, #dde3e8);
}
body.pana-theme .hero-copy { padding: 40px 32px; }
body.pana-theme .hero-copy .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary, #1565c0);
  text-transform: uppercase;
  margin-bottom: 12px;
}
body.pana-theme .hero-copy h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin-bottom: 16px; }
body.pana-theme .hero-visual { 
 background: linear-gradient(145deg, #bbdefb 0%, #e3f2fd 60%); 
 min-height: 280px; 
 background-size: cover; 
 background-position: center; 
}
body.pana-theme .hero-visual.has-image { 
 min-height: 320px; 
 padding: 0; 
}
body.pana-theme .trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
body.pana-theme .trust-item {
  background: #fff;
  border: 1px solid var(--border, #dde3e8);
  border-radius: var(--radius, 8px);
  padding: 16px;
  text-align: center;
}
body.pana-theme .trust-item strong { display: block; font-size: 14px; margin-bottom: 4px; }
body.pana-theme .trust-item span { font-size: 12px; color: var(--muted, #5c6570); }
body.pana-theme .section-title {
  font-size: 22px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body.pana-theme .section-title a {
  font-size: 13px;
  color: var(--primary, #1565c0);
  text-decoration: none;
  font-weight: 600;
}
body.pana-theme .campaigns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
body.pana-theme .campaign {
  position: relative;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  min-height: 140px;
  background: var(--primary-dark, #0d47a1);
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}
body.pana-theme .campaign.has-image { background-color: var(--primary-dark); }
body.pana-theme .campaign:not(.has-image):nth-child(2) { background: #1976d2; }
body.pana-theme .campaign:not(.has-image):nth-child(3) { background: #1e88e5; }
body.pana-theme .campaign span { font-size: 11px; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }
body.pana-theme .campaign strong { font-size: 16px; margin-top: 4px; }
body.pana-theme .categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}
body.pana-theme .cat-tile {
  text-align: center;
  text-decoration: none;
  color: var(--text, #1a1d21);
  background: var(--bg-soft, #f4f6f7);
  border-radius: var(--radius, 8px);
  padding: 16px 8px;
  border: 1px solid var(--border, #dde3e8);
  font-size: 12px;
  font-weight: 600;
}
body.pana-theme .pana-home-products.product-grid,
body.pana-theme .product-grid.pana-home-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
body.pana-theme .pana-home-products .product-card {
  border: 1px solid var(--border, #dde3e8);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  background: #fff;
  margin: 0;
  padding: 0;
  display: block !important;
  height: 100%;
}
body.pana-theme .pana-home-products a.product-card-link,
body.pana-theme a.product-card.product-card-link {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
body.pana-theme a.product-card > p:empty {
  display: none !important;
}
body.pana-theme .product-card .img { aspect-ratio: 1; background: var(--bg-soft, #f4f6f7); position: relative; }
body.pana-theme .product-card .img img { width: 100%; height: 100%; object-fit: cover; }
body.pana-theme .astra-shop-thumbnail-wrap .pana-sale-badge,
body.pana-theme .product-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(183, 28, 28, 0.35);
  line-height: 1;
  pointer-events: none;
}
body.pana-theme .pana-sale-badge__value {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.pana-theme .product-card .body { padding: 12px; }
body.pana-theme .product-card h3 { font-size: 13px; font-weight: 600; line-height: 1.35; margin: 6px 0; }
body.pana-theme .services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
body.pana-theme .service {
  padding: 24px;
  border-radius: var(--radius, 8px);
  border: 1px solid var(--border, #dde3e8);
  background: #fff;
}
body.pana-theme .service h3 { font-size: 16px; margin-bottom: 8px; color: var(--primary, #1565c0); }
body.pana-theme .entry-content > .wp-block-group,
body.pana-theme .entry-content > .uagb-block,
body.pana-theme .entry-content > .spectra,
body.pana-theme .entry-content > [class*="uagb"] {
  display: none !important;
}
@media (max-width: 900px) {
  body.pana-theme .hero { grid-template-columns: 1fr; }
  body.pana-theme .trust-row,
  body.pana-theme .services { grid-template-columns: repeat(2, 1fr); }
  body.pana-theme .pana-home-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  body.pana-theme .trust-row { grid-template-columns: 1fr; }
}

body.pana-theme.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  body.pana-theme.admin-bar .header {
    top: 46px;
  }
}

/* Nascondi elementi vecchi Astra / Spectra */
body.pana-theme .uagb-info-banner,
body.pana-theme .ast-top-header,
body.pana-theme .footer-widget-area,
body.pana-theme .site-below-footer-wrap,
body.pana-theme .ast-small-footer,
body.pana-theme .ast-builder-grid-row-container.ast-footer-row,
body.pana-theme #colophon:not(.pana-footer) {
  display: none !important;
}

body.pana-theme .nav a.active,
body.pana-theme .nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

body.pana-theme .pana-cat-hub .cat-group { margin-bottom: 40px; }
body.pana-theme .pana-cat-hub .cat-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

body.pana-theme.woocommerce-shop .entry-title,
body.pana-theme .woocommerce-page .page-title {
  display: none !important;
}

/* Foto categorie (in CSS per Autoptimize — non dipende da wp_head) */
body.pana-theme .cat-tile--rubinetteria-bagno,
body.pana-theme .cat-tile--rubinetteria {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1620626011761-996317b8d584?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-tile--rubinetteria-cucina {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1556912173-46c7e0769fb0?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-tile--box-doccia,
body.pana-theme .cat-tile--doccia {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1584622650111-993a426fbf0a?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-tile--sanitari {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1507652313519-d4e9174996aa?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-tile--piatti-doccia {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-tile--arredo-bagno {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1616135565081-66aef8e7ed6e?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-tile--stufe-a-pellet,
body.pana-theme .cat-tile--stufe-pellet {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-hub-card--rubinetteria-bagno .visual,
body.pana-theme .cat-hub-card--rubinetteria .visual {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1620626011761-996317b8d584?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-hub-card--box-doccia .visual {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1584622650111-993a426fbf0a?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-hub-card--sanitari .visual {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1507652313519-d4e9174996aa?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-hub-card--piatti-doccia .visual {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-hub-card--arredo-bagno .visual {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1616135565081-66aef8e7ed6e?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-hub-card--stufe-a-pellet .visual {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .campaign--1,
body.pana-theme .campaign.has-image.campaign--1 {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.25), rgba(13, 71, 161, 0.82)),
    url("https://images.unsplash.com/photo-1620626011761-996317b8d584?w=1200&h=800&fit=crop&q=85");
}
body.pana-theme .campaign--2,
body.pana-theme .campaign.has-image.campaign--2 {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.5), rgba(13, 47, 129, 0.94)),
    url("https://images.unsplash.com/photo-1584622650111-993a426fbf0a?w=1200&h=800&fit=crop&q=85");
}
body.pana-theme .campaign--3,
body.pana-theme .campaign.has-image.campaign--3 {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.25), rgba(13, 71, 161, 0.82)),
    url("https://images.unsplash.com/photo-1507652313519-d4e9174996aa?w=1200&h=800&fit=crop&q=85");
}
body.pana-theme .campaign.has-image {
  background-size: cover !important;
  background-position: center !important;
  min-height: 160px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
body.pana-theme .campaign.has-image span,
body.pana-theme .campaign.has-image strong {
  display: block;
}

/* Tile categorie home con foto */
body.pana-theme .cat-tile.has-image {
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 8px;
  background-size: cover;
  background-position: center;
  color: #fff;
  border: 0;
  overflow: hidden;
}
body.pana-theme .cat-tile.has-image .cat-tile-label {
  font-weight: 700;
  font-size: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Hub categorie — card con foto */
body.pana-theme .cat-hub-card .visual.has-image {
  min-height: 140px;
  background-size: cover;
  background-position: center;
  font-size: 0;
  color: transparent;
}

/* Negozio WooCommerce — griglia uniforme (titoli, prezzi, pulsanti) */
body.pana-theme .pana-shop-grid,
body.pana-theme ul.products.pana-shop-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 16px !important;
}
body.pana-theme ul.products.pana-shop-grid li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  font-family: "DM Sans", system-ui, sans-serif !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: #fff !important;
}
body.pana-theme ul.products.pana-shop-grid li.product a img {
  width: 100% !important;
  aspect-ratio: 1;
  object-fit: contain !important;
  object-position: center;
  background: var(--bg-soft, #f4f6f7);
  padding: 10px;
  box-sizing: border-box;
}
body.pana-theme ul.products.pana-shop-grid .pana-loop-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 10px 14px 0;
  line-height: 1.2;
}
body.pana-theme ul.products.pana-shop-grid .woocommerce-loop-product__title,
body.pana-theme ul.products.pana-shop-grid h2.woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  min-height: 2.7em !important;
  padding: 6px 14px 0 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.pana-theme ul.products.pana-shop-grid .price {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  padding: 4px 14px 0 !important;
  margin: 0 !important;
}
body.pana-theme ul.products.pana-shop-grid .price del {
  font-size: 13px !important;
  font-weight: 500 !important;
  opacity: 0.65;
}
body.pana-theme ul.products.pana-shop-grid .price ins {
  text-decoration: none;
  font-weight: 800;
}
body.pana-theme ul.products.pana-shop-grid a.button,
body.pana-theme ul.products.pana-shop-grid .pana-loop-btn {
  margin: 12px 14px 14px !important;
  width: calc(100% - 28px) !important;
  text-align: center !important;
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  padding: 12px 10px !important;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
body.pana-theme ul.products.pana-shop-grid span.onsale,
body.pana-theme ul.products.pana-shop-grid .pana-sale-badge,
body.pana-theme ul.products.pana-shop-grid .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-height: auto;
}
body.pana-theme ul.products.pana-shop-grid span.onsale:empty {
  display: none !important;
}
body.pana-theme ul.products.pana-shop-grid li.product > a:first-child {
  position: relative;
  display: block;
}

/* Ricerca mobile (come anteprima: hidden + toggle) */
body.pana-theme form.search.search-mobile {
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--border, #dde3e8);
  margin: 0;
  box-sizing: border-box;
}
body.pana-theme form.search.search-mobile[hidden] {
  display: none !important;
}
body.pana-theme form.search.search-mobile:not([hidden]) {
  display: flex !important;
  width: 100%;
  max-width: none;
  position: sticky;
  top: var(--xp-shop-sticky);
  z-index: 110;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
body.pana-theme form.search.search-mobile:not([hidden]) input[type="search"] {
  font-size: 16px;
}
body.pana-theme .entry-content .search-form,
body.pana-theme .entry-content form[role="search"],
body.pana-theme .widget_search,
body.pana-theme .ast-search-menu-icon-wrap,
body.pana-theme main .search-form:not(.search):not(.search-mobile) {
  display: none !important;
}
body.pana-theme a.skip-link + a.skip-link {
  display: none !important;
}

body.pana-theme .mobile-search-toggle,
body.pana-theme .mobile-toggle {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}
body.pana-theme a.button,
body.pana-theme button.button,
body.pana-theme .button,
body.pana-theme .woocommerce a.button,
body.pana-theme .woocommerce button.button,
body.pana-theme .woocommerce input.button,
body.pana-theme .woocommerce #respond input#submit,
body.pana-theme .woocommerce a.button.alt,
body.pana-theme .add_to_cart_button,
body.pana-theme .single_add_to_cart_button,
body.pana-theme .checkout-button,
body.pana-theme .wc-forward,
body.pana-theme .wp-block-button__link {
  background-color: var(--primary) !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
body.pana-theme a.button.alt:hover,
body.pana-theme .woocommerce a.button:hover,
body.pana-theme .add_to_cart_button:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

body.pana-theme .pana-shop-page { padding-top: 0; }
body.pana-theme .pana-shop-page.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px 48px;
  width: 100%;
}
body.pana-theme .pana-shop-page .page-hero-simple {
  margin-left: -16px;
  margin-right: -16px;
  margin-bottom: 0;
}
body.pana-theme .shop-layout {
  display: grid;
  grid-template-columns: minmax(260px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
body.pana-theme .pana-shop-sidebar-wrap {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
body.pana-theme .shop-main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
body.pana-theme .pana-shop-sidebar-wrap .pana-filter-overlay {
  display: none;
}
body.pana-theme .pana-shop-sidebar-wrap .pana-filter-overlay:not([hidden]) {
  display: block;
}
body.pana-theme .filters-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-self: start;
}
body.pana-theme .shop-layout {
  overflow: visible;
}
body.pana-theme .filters-panel-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
body.pana-theme .filters-panel-body {
  overflow-y: auto;
  padding: 14px 16px;
  flex: 1;
  min-height: 0;
}
body.pana-theme .filter-section {
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  padding-bottom: 12px;
}
body.pana-theme .filter-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
body.pana-theme .filter-section-title {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}
body.pana-theme .filter-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin: 0;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  color: var(--text);
}
body.pana-theme .filter-check input[type="radio"],
body.pana-theme .filter-check input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  margin: 0;
  justify-self: center;
}
body.pana-theme .filter-cat-list,
body.pana-theme .filter-price-list,
body.pana-theme .filter-option-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.pana-theme .filter-cat-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.pana-theme .filter-cat-link:hover {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--primary);
}
body.pana-theme .filter-cat-link.is-active {
  background: #e3f2fd;
  border-color: var(--primary);
  color: var(--primary-dark);
}
body.pana-theme .price-range-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
body.pana-theme .price-range-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
body.pana-theme .price-range-field span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
body.pana-theme .price-range-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  min-height: 42px;
  box-sizing: border-box;
  background: #fff;
  color: var(--text);
}
body.pana-theme .price-range-field input:focus {
  outline: 2px solid rgba(21, 101, 192, 0.25);
  border-color: var(--primary);
}
body.pana-theme .filter-check-highlight {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 8px 10px;
  margin-top: 4px;
}
body.pana-theme .filters-panel-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
body.pana-theme .shop-mobile-bar { display: none; }
body.pana-theme .pana-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
}
body.pana-theme.tax-product_cat .woocommerce-sidebar,
body.pana-theme.woocommerce-shop .woocommerce-sidebar {
  display: none !important;
}

body.pana-theme .mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: #fff;
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
body.pana-theme.has-mobile-nav .mobile-bottom-nav {
  display: grid;
}
body.pana-theme.has-mobile-nav {
  padding-bottom: calc(var(--mobile-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}
body.pana-theme.has-mobile-nav .mobile-bottom-nav {
  min-height: var(--mobile-bottom-nav-h);
}
body.pana-theme .mobile-bottom-nav a {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 2px;
}
body.pana-theme .mobile-bottom-nav a:hover {
  color: var(--primary);
}

@media (min-width: 901px) {
  body.pana-theme .filters-panel-head {
    display: none !important;
  }
  body.pana-theme .pana-shop-sidebar-wrap .shop-mobile-bar {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body.pana-theme .shop-layout {
    grid-template-columns: 1fr;
  }
  body.pana-theme .pana-shop-sidebar-wrap,
  body.pana-theme .shop-main {
    grid-column: 1;
    grid-row: auto;
  }
  body.pana-theme:not(.pana-mobile-xp) .pana-shop-sidebar-wrap .shop-mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: sticky;
    top: var(--xp-shop-sticky);
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--border);
    margin: 0 -16px 12px;
    padding: 8px 10px;
    gap: 6px;
  }
  body.pana-theme.pana-mobile-xp .pana-shop-sidebar-wrap .shop-mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: sticky;
    top: var(--xp-shop-sticky);
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--border);
    margin: 0 0 12px;
    padding: 8px 10px;
    gap: 6px;
  }
  body.pana-theme .shop-mobile-bar .shop-bar-btn {
    font-size: 11px;
    padding: 9px 4px;
    line-height: 1.15;
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body.pana-theme .filters-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    max-height: 85vh;
    z-index: 210;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  body.pana-theme .filters-panel.is-open,
  body.pana-theme .pana-shop-page.filters-open .filters-panel {
    transform: translateY(0);
  }
  body.pana-theme .filters-panel-head {
    display: flex;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
  }
  body.pana-theme .filters-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--bg-soft);
    border-radius: var(--radius);
    font-size: 24px;
    cursor: pointer;
    color: var(--primary) !important;
  }
}

/* ========== v3.3 — Parità anteprima + mobile + zero verde ========== */
body.pana-theme.home .site-main .entry-content > *:not(.pana-home-wrap):not(.container) {
  display: none !important;
}
body.pana-theme.home .uagb-info-banner,
body.pana-theme.home .wp-block-uagb-info-box,
body.pana-theme.home .ast-oembed-container,
body.pana-theme.home .woocommerce:not(.pana-home-products) {
  display: none !important;
}

body.pana-theme .product-card .cat,
body.pana-theme .product-card .cat a,
body.pana-theme .pana-loop-cat,
body.pana-theme .woocommerce-loop-product__title + .pana-loop-cat,
body.pana-theme a[rel="tag"],
body.pana-theme .posted_in a {
  color: var(--primary) !important;
  text-decoration: none !important;
  pointer-events: none;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.pana-theme nav.woocommerce-pagination {
  margin: 28px 0 16px;
  text-align: center;
}
body.pana-theme nav.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  min-width: 0 !important;
  min-height: 0 !important;
  line-height: normal !important;
}
body.pana-theme nav.woocommerce-pagination ul.page-numbers li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
body.pana-theme nav.woocommerce-pagination a.page-numbers,
body.pana-theme nav.woocommerce-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border) !important;
  color: var(--primary) !important;
  background: #fff !important;
  border-radius: var(--radius) !important;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}
body.pana-theme nav.woocommerce-pagination span.page-numbers.current,
body.pana-theme nav.woocommerce-pagination a.page-numbers:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
body.pana-theme .woocommerce ul.products li.product .screen-reader-text,
body.pana-theme .woocommerce ul.products li.product [id^="woocommerce_loop_add_to_cart_link_describedby"] {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.pana-theme .astra-shop-thumbnail-wrap > .onsale:not(.pana-sale-badge) {
  display: none !important;
}

body.pana-theme .filters-back a,
body.pana-theme .filters-panel-head h2 {
  color: var(--text) !important;
}
body.pana-theme .filters-back a {
  color: var(--primary) !important;
  font-weight: 700;
}
body.pana-theme .filters-close {
  background: var(--bg-soft) !important;
  color: var(--primary) !important;
}
body.pana-theme .filters-panel-foot .btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  width: 100%;
  text-align: center;
}
body.pana-theme .filters-panel-foot .btn-outline,
body.pana-theme .filters-panel-foot .pana-filters-reset {
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  background: #fff !important;
  text-align: center;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
}
body.pana-theme .filters-panel-foot .pana-filters-reset:hover {
  background: var(--bg-soft) !important;
}

body.pana-theme .cat-tile--altro {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0f?w=800&h=600&fit=crop&q=80");
}
body.pana-theme .cat-hub-card--altro .visual {
  background-image: linear-gradient(180deg, rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.88)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0f?w=800&h=600&fit=crop&q=80");
}

body.pana-theme .pana-home-products .product-card,
body.pana-theme .pana-home-products a.product-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  grid-column: auto !important;
}
body.pana-theme .pana-home-products.product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
}
body.pana-theme .pana-home-products .product-card .img {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
}
body.pana-theme .pana-home-products .product-card .price {
  color: var(--primary) !important;
  font-weight: 800;
}
body.pana-theme .pana-home-products .product-card .price del {
  font-size: 12px;
  opacity: 0.65;
}
body.pana-theme .pana-home-products .product-card .price ins {
  text-decoration: none;
}

/* Mobile — come anteprima */
@media (max-width: 900px) {
  body.pana-theme .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 10px 12px;
  }
  body.pana-theme .header-actions .tel {
    display: none;
  }
  body.pana-theme .hero-copy {
    padding: 28px 20px;
    text-align: left;
  }
  body.pana-theme .hero-copy .btn {
    display: block;
    width: 100%;
    margin: 0 0 10px 0 !important;
    text-align: center;
  }
  body.pana-theme .hero-copy .btn-outline {
    margin-left: 0 !important;
  }
  body.pana-theme .hero-visual.has-image {
    min-height: 220px;
  }
  body.pana-theme .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 20px;
  }
  body.pana-theme .cat-tile.has-image {
    min-height: 100px;
  }
  body.pana-theme .campaign.has-image {
    min-height: 140px;
  }
  body.pana-theme .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
  body.pana-theme .pana-home-products.product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  body.pana-theme:not(.pana-mobile-xp) #pana-nav.nav {
    display: block !important;
  }
  body.pana-theme:not(.pana-mobile-xp) #pana-nav .nav-inner {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.pana-theme:not(.pana-mobile-xp) #pana-nav .nav-inner::-webkit-scrollbar {
    display: none;
  }
  body.pana-theme:not(.pana-mobile-xp) #pana-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 11px;
    font-size: 12px;
    border-bottom: 2px solid transparent;
  }
  body.pana-theme .header-inner > .pana-search-wrap:not(.pana-search-wrap--mobile) {
    display: none !important;
  }
  body.pana-theme .logo .logo-name {
    font-size: clamp(15px, 4.1vw, 18px);
  }
  body.pana-theme .mobile-search-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    border: 1px solid var(--border) !important;
    color: var(--primary) !important;
    box-shadow: none !important;
    min-width: 44px;
    min-height: 44px;
  }
  body.pana-theme .mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 500px) {
  body.pana-theme .pana-home-products.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.pana-theme .trust-row,
  body.pana-theme .services {
    grid-template-columns: 1fr;
  }
  body.pana-theme .topbar-inner {
    font-size: 10px;
    gap: 4px 10px;
  }
  body.pana-theme .mobile-bottom-nav a {
    font-size: 10px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

body.pana-theme a:not(.btn),
body.pana-theme .ast-single-post-order a:not(.btn),
body.pana-theme .entry-content a:not(.btn):not(.product-card):not(.cat-tile):not(.campaign):not(.cat-hub-card) {
  color: var(--primary);
}
body.pana-theme a.btn.btn-primary,
body.pana-theme .woocommerce-Tabs-panel--pana_datasheet a.btn-primary {
  color: #fff !important;
}
body.pana-theme .ast-global-color-0,
body.pana-theme .ast-global-color-1,
body.pana-theme [class*="ast-global-color"] {
  color: inherit !important;
}

body.pana-theme.home .entry-header,
body.pana-theme.home .ast-archive-description,
body.pana-theme.home h1.entry-title {
  display: none !important;
}

body.pana-theme .shop-bar-btn {
  border: 2px solid var(--primary) !important;
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}
body.pana-theme .shop-bar-btn-secondary {
  background: #fff !important;
  color: var(--primary) !important;
}

/* Override verde residuo (Astra / Woo / plugin) — esclusa paginazione Woo (stili dedicati sopra) */
body.pana-theme nav.pagination a,
body.pana-theme nav.pagination span,
body.pana-theme input[type="submit"],
body.pana-theme .search button,
body.pana-theme .wc-block-components-button,
body.pana-theme [style*="background-color: rgb(13, 92, 99)"],
body.pana-theme [style*="background:#0d5c63"],
body.pana-theme [style*="background-color:#0d5c63"] {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}
body.pana-theme a[style*="color: rgb(13, 92, 99)"],
body.pana-theme a[style*="color:#0d5c63"],
body.pana-theme .woocommerce-loop-category__title a,
body.pana-theme .woocommerce .widget a {
  color: var(--primary) !important;
}

/* v3.3.2 — Tipografia unificata (anteprima) + shop come product-card */
body.pana-theme,
body.pana-theme .woocommerce,
body.pana-theme .entry-content {
  font-family: "DM Sans", system-ui, sans-serif !important;
  font-size: 15px;
}

body.pana-theme ul.products.pana-shop-grid li.product .woocommerce-loop-category__title,
body.pana-theme ul.products.pana-shop-grid li.product > a[href*="product_cat"],
body.pana-theme ul.products li.product .posted_in {
  display: none !important;
}

body.pana-theme ul.products.pana-shop-grid li.product {
  display: flex !important;
  flex-direction: column !important;
}

body.pana-theme ul.products.pana-shop-grid li.product .pana-loop-cat {
  display: block !important;
  order: 2;
  padding: 12px 12px 0;
  margin: 0;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary) !important;
}

body.pana-theme ul.products.pana-shop-grid .woocommerce-loop-product__title,
body.pana-theme ul.products.pana-shop-grid h2.woocommerce-loop-product__title {
  order: 3;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  min-height: 36px;
  padding: 6px 12px 0 !important;
  margin: 0 !important;
}

body.pana-theme ul.products.pana-shop-grid .price {
  order: 4;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  padding: 4px 12px 8px !important;
}

body.pana-theme ul.products.pana-shop-grid a.button,
body.pana-theme ul.products.pana-shop-grid .pana-loop-btn {
  order: 5;
  margin: 0 12px 12px !important;
  width: calc(100% - 24px) !important;
  text-align: center;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: var(--radius) !important;
}

body.pana-theme ul.products.pana-shop-grid li.product > a:first-child {
  order: 1;
}

body.pana-theme .pana-home-products.product-grid {
  display: grid !important;
}
body.pana-theme .pana-home-products .product-card h3 {
  font-size: 13px !important;
  font-weight: 600 !important;
  min-height: 36px;
}
body.pana-theme .pana-home-products .product-card .cat {
  font-size: 10px !important;
  color: var(--primary) !important;
}
body.pana-theme .pana-home-products .product-card .price,
body.pana-theme .pana-home-products .product-card .price .amount {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
}
body.pana-theme .pana-home-products .product-card .price del {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
}

/* v3.3.4 — Desktop: 3 campagne + 6 categorie su una riga (anteprima) */
@media (min-width: 901px) {
  body.pana-theme .pana-home-wrap .campaigns,
  body.pana-theme .container.pana-home-wrap > .campaigns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 40px !important;
  }
  body.pana-theme .pana-home-wrap .campaigns > a.campaign,
  body.pana-theme .pana-home-wrap .campaigns > .campaign {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: 140px !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    grid-column: span 1 !important;
  }
  body.pana-theme .pana-home-wrap .categories,
  body.pana-theme .container.pana-home-wrap > .categories {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 40px !important;
  }
  body.pana-theme .pana-home-wrap .categories > a.cat-tile {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
  }
}


/* v3.3.5 — bottone hero, skip-link, griglie home desktop */
body.pana-theme a.skip-link {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}
body.pana-theme .hero-copy a.btn-primary,
body.pana-theme .hero.pana-hero-home a.btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  border: 2px solid var(--primary) !important;
}
@media (min-width: 901px) {
  body.pana-theme.home .pana-home-wrap .campaigns,
  body.pana-theme.home .container .campaigns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
  }
  body.pana-theme.home .pana-home-wrap .campaigns > a.campaign,
  body.pana-theme.home .container .campaigns > a.campaign {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    grid-column: span 1 !important;
  }
  body.pana-theme.home .pana-home-wrap .categories,
  body.pana-theme.home .container .categories {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }
  body.pana-theme.home .pana-home-wrap .categories > a.cat-tile,
  body.pana-theme.home .container .categories > a.cat-tile {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
  }
}

/* v3.3.5 step2 — <br> da wpautop rompevano la griglia; verde via; filtri desktop */
body.pana-theme .campaigns > br,
body.pana-theme .categories > br {
  display: none !important;
}
@media (min-width: 901px) {
  body.pana-theme.home .pana-home-wrap > .campaigns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    align-items: stretch !important;
  }
  body.pana-theme.home .pana-home-wrap > .categories {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
  }
  body.pana-theme .filters-close {
    display: none !important;
  }
}
body.pana-theme .woocommerce-pagination ul.page-numbers a.page-numbers,
body.pana-theme .woocommerce-pagination ul.page-numbers span.page-numbers,
body.pana-theme nav.woocommerce-pagination a.page-numbers,
body.pana-theme nav.woocommerce-pagination span.page-numbers {
  border: 1px solid var(--border, #dde3e8) !important;
  outline: none !important;
  box-shadow: none !important;
  background: #fff !important;
  color: var(--primary, #1565c0) !important;
}
body.pana-theme .woocommerce-pagination ul.page-numbers span.current.page-numbers,
body.pana-theme nav.woocommerce-pagination span.current.page-numbers {
  background: var(--primary, #1565c0) !important;
  border-color: var(--primary, #1565c0) !important;
  color: #fff !important;
}
body.pana-theme .woocommerce-pagination a.page-numbers:hover {
  border-color: var(--primary, #1565c0) !important;
  color: var(--primary, #1565c0) !important;
}
body.pana-theme nav.woocommerce-pagination ul.page-numbers li {
  border: none !important;
  outline: none !important;
}
body.pana-theme [class*="page-numbers"][style*="border"],
body.pana-theme .woocommerce-pagination * {
  outline-color: transparent !important;
}
body.pana-theme .filters-panel-head h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

/* v3.3.6 — Chi siamo / Contatti (anteprima) */
body.pana-theme .page-hero-simple p {
  max-width: var(--max);
  margin: 8px auto 0;
  color: var(--muted, #5c6570);
}
body.pana-theme.pana-static-page .entry-header,
body.pana-theme.pana-static-page h1.entry-title,
body.pana-theme.pana-legal-page .entry-header,
body.pana-theme.pana-legal-page h1.entry-title {
  display: none !important;
}
body.pana-theme .pana-showroom-gallery {
  display: grid;
  gap: 12px;
}
body.pana-theme .pana-showroom-gallery__item {
  margin: 0;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  border: 1px solid var(--border, #dde3e8);
  background: #fff;
}
body.pana-theme .pana-showroom-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body.pana-theme .pana-legal-wrap {
  padding-bottom: 48px;
}
body.pana-theme .pana-legal-body {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text, #1a1a1a);
}
body.pana-theme .pana-legal-body h2,
body.pana-theme .pana-legal-body h3,
body.pana-theme .pana-legal-body h4 {
  margin: 1.4em 0 0.6em;
  line-height: 1.35;
  color: var(--primary-dark, #0d47a1);
}
body.pana-theme .pana-legal-body p,
body.pana-theme .pana-legal-body li {
  margin-bottom: 0.85em;
}
body.pana-theme .pana-legal-body a {
  color: var(--primary, #1565c0);
  font-weight: 600;
}
body.pana-theme .pana-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
body.pana-theme .pana-info-card {
  background: var(--bg-soft, #f4f6f7);
  border: 1px solid var(--border, #dde3e8);
  border-radius: var(--radius, 8px);
  padding: 20px;
}
body.pana-theme .pana-info-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}
body.pana-theme .pana-static-note {
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  body.pana-theme .pana-info-grid {
    grid-template-columns: 1fr;
  }
}
body.pana-theme .breadcrumb {
  font-size: 13px;
  color: var(--muted, #5c6570);
  margin-bottom: 20px;
}
body.pana-theme .breadcrumb a {
  color: var(--primary, #1565c0);
  font-weight: 600;
  text-decoration: none;
}
body.pana-theme .breadcrumb a:hover {
  text-decoration: underline;
}
body.pana-theme .pana-two-col,
body.pana-theme .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
body.pana-theme .pana-static-wrap {
  padding-bottom: 48px;
}
body.pana-theme .pana-static-copy h2 {
  margin-bottom: 12px;
  font-size: 22px;
}
body.pana-theme .pana-muted {
  color: var(--muted, #5c6570);
  margin-bottom: 16px;
  line-height: 1.7;
}
body.pana-theme .pdp-bullets {
  margin: 0 0 16px;
  padding-left: 20px;
  line-height: 1.6;
}
body.pana-theme .pdp-bullets li {
  font-size: 14px;
  margin-bottom: 6px;
}
body.pana-theme .pana-static-cta {
  margin-top: 16px;
  display: inline-block;
}
body.pana-theme .form-group {
  margin-bottom: 14px;
}
body.pana-theme .form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
body.pana-theme .form-group input,
body.pana-theme .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border, #dde3e8);
  border-radius: var(--radius, 8px);
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
body.pana-theme .map-placeholder {
  background: var(--bg-soft, #f4f6f7);
  border: 1px solid var(--border, #dde3e8);
  border-radius: var(--radius, 8px);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted, #5c6570);
  text-align: center;
  padding: 16px;
}
body.pana-theme .pana-map-embed {
  padding: 0;
  overflow: hidden;
}
body.pana-theme .pana-map-embed iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}
body.pana-theme.page-contatti .pana-contact-details {
  display: none !important;
}
body.pana-theme .footer.pana-footer {
  padding-top: 28px;
  padding-bottom: 18px;
  margin-top: 40px;
}
body.pana-theme .footer.pana-footer .pana-footer-brand strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}
body.pana-theme .footer.pana-footer .pana-footer-brand p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--footer-link);
}
@media (max-width: 900px) {
  body.pana-theme .pana-two-col,
  body.pana-theme .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* v3.3.7 — form contatti + footer Astra */
body.pana-theme .pana-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
body.pana-theme .pana-form-notice {
  padding: 12px 14px;
  border-radius: var(--radius, 8px);
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}
body.pana-theme .pana-form-notice--ok {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  color: #0d47a1;
}
body.pana-theme .pana-form-notice--err {
  background: #ffebee;
  border: 1px solid #ef9a9a;
  color: #b71c1c;
}

/* v3.4.0 — footer link, ricerca shop, layout catalogo, Astra via */
body.pana-theme .footer.pana-footer .footer-inner a {
  color: var(--footer-link) !important;
}
body.pana-theme .footer.pana-footer .footer-inner a:hover {
  color: var(--footer-link-hover) !important;
  text-decoration: underline;
}
body.pana-theme .footer.pana-footer .footer-inner h4 {
  color: #fff;
}
body.pana-theme .footer.pana-footer .footer-inner > div {
  min-width: 0;
}
body.pana-theme .footer.pana-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 12px;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
body.pana-theme .footer.pana-footer .pana-footer-nap a {
  display: inline !important;
  margin-bottom: 0 !important;
}
body.pana-theme .footer.pana-footer .pana-footer-nap__compact {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  align-items: center;
}
body.pana-theme .footer.pana-footer .pana-footer-social__btn {
  display: inline-flex !important;
  margin-bottom: 0 !important;
}
body.pana-theme .footer.pana-footer .pana-footer-newsletter-row {
  max-width: var(--max, 1200px);
  margin: 14px auto 0;
  padding: 12px 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}
body.pana-theme .footer.pana-footer .pana-footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
body.pana-theme .footer.pana-footer .pana-footer-newsletter__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  min-width: min(100%, 280px);
}
body.pana-theme .footer.pana-footer .pana-footer-newsletter__intro .footer-col-title {
  margin: 0;
}
body.pana-theme .footer.pana-footer .pana-nl-lead {
  font-size: 13px;
  color: var(--footer-link) !important;
  margin: 0;
}
body.pana-theme .footer.pana-footer .pana-footer-newsletter__form-wrap {
  flex: 1;
  min-width: min(100%, 320px);
}
body.pana-theme .footer.pana-footer .pana-nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  width: 100%;
}
body.pana-theme .footer.pana-footer .pana-nl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
body.pana-theme .footer.pana-footer .pana-nl-interests {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
body.pana-theme .footer.pana-footer .pana-nl-interests legend {
  font-size: 12px;
  font-weight: 600;
  color: var(--footer-link) !important;
  margin: 0 8px 0 0;
  padding: 0;
  width: auto;
}
body.pana-theme .footer.pana-footer .pana-nl-interest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--footer-link) !important;
  cursor: pointer;
  margin: 0;
}
body.pana-theme .footer.pana-footer .pana-nl-interest input {
  margin: 0;
  accent-color: var(--primary, #1565c0);
}
body.pana-theme .footer.pana-footer .pana-nl-email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
body.pana-theme .footer.pana-footer .pana-nl-form input[type="email"] {
  flex: 1;
  min-width: 180px;
  max-width: 100%;
  margin-bottom: 0;
}
body.pana-theme .footer.pana-footer .pana-nl-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.45;
  color: var(--footer-link) !important;
  margin: 0;
  cursor: pointer;
}
body.pana-theme .footer.pana-footer .pana-nl-consent input {
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--primary, #1565c0);
}
body.pana-theme .footer.pana-footer .pana-nl-consent a {
  color: #fff !important;
  text-decoration: underline;
}
body.pana-theme .footer.pana-footer .pana-nl-frequency {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75) !important;
  margin: 0;
}
body.pana-theme .footer.pana-footer .pana-nl-lead--freq {
  font-size: 11px;
  opacity: 0.85;
}
body.pana-theme .footer.pana-footer .pana-nl-feedback {
  font-size: var(--text-sm);
  margin: 0;
  padding: 6px 10px;
  border-radius: 6px;
}
body.pana-theme .footer.pana-footer .pana-nl-feedback--ok {
  background: rgba(255, 255, 255, 0.15);
  color: #e8f5e9 !important;
}
body.pana-theme .footer.pana-footer .pana-nl-feedback--err {
  background: rgba(198, 40, 40, 0.35);
  color: #ffebee !important;
}
body.pana-theme .pana-nl-confirmed {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  max-width: min(96vw, 520px);
  padding: 14px 18px;
  background: #0d47a1;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font-size: 14px;
}
body.pana-theme .pana-nl-confirmed p {
  margin: 0 0 6px;
}
body.pana-theme .pana-nl-confirmed p:last-child {
  margin-bottom: 0;
}
body.pana-theme .pana-nl-confirmed__link {
  color: #90caf9 !important;
  font-weight: 600;
}
body.pana-theme .footer.pana-footer .pana-nl-form .btn-outline {
  margin: 0;
  border-color: #fff;
  color: var(--primary, #1565c0);
  background: #fff;
}
body.pana-theme .footer.pana-footer .pana-nl-form input[type="email"] {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
}
body.pana-theme .footer.pana-footer .pana-nl-notice {
  font-size: var(--text-sm);
  color: var(--footer-link);
  margin: 0 0 8px;
}

/* Conversion strip (home) */
body.pana-theme .pana-conv-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
}
body.pana-theme .pana-conv-strip--has-wa {
  grid-template-columns: repeat(3, 1fr);
}
body.pana-theme .pana-conv-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.2;
}
body.pana-theme .pana-conv-strip__phone {
  background: var(--primary-dark);
  color: #fff;
}
body.pana-theme .pana-conv-strip__wa .pana-wa-icon {
  flex-shrink: 0;
  color: #fff;
}
body.pana-theme .pana-conv-strip__wa {
  background: #25d366;
  color: #fff;
}
body.pana-theme .pana-conv-strip__help {
  background: #fff;
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
}
@media (max-width: 768px) {
  body.pana-theme .pana-conv-strip,
  body.pana-theme .pana-conv-strip--has-wa {
    grid-template-columns: 1fr;
  }
}

/* Showroom */
body.pana-theme .pana-showroom {
  margin: 24px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
}
body.pana-theme .pana-showroom h2 {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 1.25rem;
}
body.pana-theme .pana-showroom__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
body.pana-theme .pana-showroom__map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: var(--radius);
}
body.pana-theme .pana-showroom__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
body.pana-theme .pana-showroom-strip {
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 16px;
  font-size: var(--text-sm);
}
body.pana-theme .pana-showroom-strip__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  align-items: center;
}
body.pana-theme .pana-showroom-strip a {
  color: #fff;
  font-weight: 700;
}
@media (max-width: 768px) {
  body.pana-theme .pana-showroom__body {
    grid-template-columns: 1fr;
  }
  body.pana-theme .pana-showroom-strip__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Perché Pa.Na. */
body.pana-theme .pana-why-us {
  margin: 28px 0 8px;
}
body.pana-theme .pana-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.pana-theme .pana-why-grid li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #f7f9fb;
  border-radius: var(--radius);
  border: 1px solid #e8ecf0;
}
body.pana-theme .pana-why-grid strong {
  font-size: 15px;
  color: var(--primary-dark);
  line-height: 1.3;
}
body.pana-theme .pana-why-grid span {
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 640px) {
  body.pana-theme .pana-why-grid {
    grid-template-columns: 1fr;
  }
}
body.pana-theme .pana-why-compact {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #f7f9fb;
  border: 1px solid #e8ecf0;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  line-height: 1.45;
}
body.pana-theme .pana-why-compact__title {
  display: block;
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 14px;
}
body.pana-theme .pana-why-compact__list {
  margin: 0;
  padding-left: 18px;
}
body.pana-theme .pana-why-compact__list li {
  margin-bottom: 6px;
}

/* Garanzia / resi (PDP + carrello) */
body.pana-theme .pana-purchase-trust {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #f7f9fb;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
}
body.pana-theme .pana-purchase-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.pana-theme .pana-purchase-trust__grid li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--text-sm);
  line-height: 1.45;
}
body.pana-theme .pana-purchase-trust__grid strong {
  font-size: 14px;
  color: var(--primary-dark);
}
body.pana-theme .pana-purchase-trust__fine {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 768px) {
  body.pana-theme .pana-purchase-trust__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  body.pana-theme .footer.pana-footer .footer-inner {
    grid-template-columns: 1.25fr repeat(3, minmax(140px, 1fr));
    gap: 28px 40px;
  }
  body.pana-theme .footer.pana-footer .pana-footer-brand {
    padding-right: 16px;
  }
}
body.pana-theme .filter-search-inline {
  padding: 12px 16px 0;
  border-bottom: 1px solid var(--border, #dde3e8);
}
body.pana-theme .filter-search-inline input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border, #dde3e8);
  border-radius: var(--radius, 8px);
  font-size: 14px;
  min-height: 40px;
  box-sizing: border-box;
}
body.pana-theme .pana-instant-search-hint {
  font-size: 13px;
  color: var(--muted, #5c6570);
  margin: 0 0 12px;
}
body.pana-theme .pana-search-result-hint {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted, #5c6570);
  margin: 0 0 16px;
}

/* v3.5.0 — ricerca live header */
body.pana-theme .pana-search-wrap {
  position: relative;
  min-width: 0;
}
body.pana-theme .pana-search-wrap.pana-search-loading .search input {
  background-image: linear-gradient(90deg, #f4f6f7 0%, #e8eef3 50%, #f4f6f7 100%);
  background-size: 200% 100%;
  animation: pana-search-shimmer 0.9s ease-in-out infinite;
}
@keyframes pana-search-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
body.pana-theme .header-inner .pana-search-wrap {
  width: 100%;
}
body.pana-theme .pana-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 200;
  background: #fff;
  border: 1px solid var(--border, #dde3e8);
  border-radius: var(--radius, 8px);
  box-shadow: var(--shadow, 0 8px 30px rgba(13, 92, 99, 0.12));
  max-height: min(70vh, 420px);
  overflow: auto;
}
body.pana-theme .pana-search-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--text, #1a1d21);
  border-bottom: 1px solid var(--border, #eef1f3);
}
body.pana-theme .pana-search-item:hover,
body.pana-theme .pana-search-item.is-active {
  background: #e3f2fd;
}
body.pana-theme .pana-search-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-soft, #f4f6f7);
}
body.pana-theme .pana-search-noimg {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--bg-soft, #f4f6f7);
}
body.pana-theme .pana-search-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
body.pana-theme .pana-search-meta strong {
  font-size: 14px;
  line-height: 1.3;
}
body.pana-theme .pana-search-meta small {
  font-size: 11px;
  color: var(--muted, #5c6570);
}
body.pana-theme .pana-search-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary, #1565c0);
}
body.pana-theme .pana-search-all {
  display: block;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary, #1565c0);
  text-decoration: none;
  background: var(--bg-soft, #f4f6f7);
}
body.pana-theme .pana-search-all:hover {
  background: #e3f2fd;
}
body.pana-theme .pana-search-empty {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  color: var(--muted, #5c6570);
}
body.pana-theme .pana-search-wrap--mobile .pana-search-dropdown {
  position: static;
  max-height: none;
  margin-top: 8px;
}
body.pana-theme .woocommerce-products-header,
body.pana-theme .woocommerce-products-header h1,
body.pana-theme .page-title,
body.pana-theme main h1.page-title,
body.pana-theme .ast-archive-description,
body.pana-theme .woocommerce-result-count + h1,
body.pana-theme #primary > h1,
body.pana-theme .site-content > h1,
body.pana-theme .ast-archive-entry-header,
body.pana-theme .ast-archive-entry-banner {
  display: none !important;
}
body.pana-theme .page-hero-simple h1,
body.pana-theme .pana-shop-page .page-hero-simple h1 {
  display: block !important;
}
body.pana-theme .ast-mobile-popup-drawer,
body.pana-theme .ast-mobile-header-wrap,
body.pana-theme #ast-mobile-header,
body.pana-theme #ast-desktop-header,
body.pana-theme .main-header-menu-toggle,
body.pana-theme ul.main-header-menu,
body.pana-theme .ast-builder-menu-mobile,
body.pana-theme .ast-header-break-point .main-header-bar,
body.pana-theme #content .menu-main-container,
body.pana-theme #content .ast-mobile-menu-buttons {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}
body.pana-theme #secondary,
body.pana-theme aside#secondary,
body.pana-theme .widget-area,
body.pana-theme .ast-sidebar,
body.pana-theme .site-sidebar {
  display: none !important;
}
body.pana-theme #primary,
body.pana-theme .site-content #primary {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  float: none !important;
}
body.pana-theme .site-content .ast-container,
body.pana-theme #content .ast-container {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.pana-theme .woocommerce-page .site-main,
body.pana-theme .woocommerce .site-main,
body.pana-theme #primary .site-main {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.pana-theme #content nav#pana-nav,
body.pana-theme #primary nav#pana-nav,
body.pana-theme .entry-content nav#pana-nav,
body.pana-theme #content .nav:not(header ~ .nav),
body.pana-theme #primary .main-navigation,
body.pana-theme #primary .ast-nav-menu,
body.pana-theme #primary ul.menu:not(.products):not(.woocommerce-error) {
  display: none !important;
}
body.pana-theme header ~ nav#pana-nav {
  display: block;
  visibility: visible;
  height: auto;
  overflow: visible;
  pointer-events: auto;
}
@media (max-width: 900px) {
  body.pana-theme.pana-mobile-xp header ~ nav#pana-nav,
  body.pana-theme.pana-mobile-xp > .nav,
  body.pana-theme.pana-mobile-xp #pana-nav {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}
body.pana-theme .ast-container > h1,
body.pana-theme #content > .ast-container > h1,
body.pana-theme .site-content .ast-container > h1.page-title {
  display: none !important;
}
body.pana-theme footer.site-footer#colophon,
body.pana-theme .site-footer:not(.pana-footer),
body.pana-theme #colophon.site-footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.pana-theme .ast-footer-overlay,
body.pana-theme .ast-footer-wrap,
body.pana-theme footer.ast-footer,
body.pana-theme .site-footer.ast-footer,
body.pana-theme .ast-builder-footer-wrap,
body.pana-theme [data-section-type="section-above-footer"],
body.pana-theme [data-section-type="section-below-footer"],
body.pana-theme [data-section-type="section-primary-footer"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.pana-theme.page-contatti .entry-content > *:not(.page-hero-simple):not(.container):not(.pana-static-wrap),
body.pana-theme.page-chi-siamo .entry-content > *:not(.page-hero-simple):not(.container):not(.pana-static-wrap) {
  display: none !important;
}
body.pana-theme .pana-shop-page .woocommerce-info,
body.pana-theme .pana-shop-page .woocommerce-no-products-found {
  border: 1px solid var(--border, #dde3e8);
  border-radius: var(--radius, 8px);
  padding: 20px;
  background: var(--bg-soft, #f4f6f7);
  font-size: 15px;
}
body.pana-theme.pana-instant-filtering ul.products li.product.pana-instant-hidden {
  display: none !important;
}
@media (max-width: 900px) {
  body.pana-theme .shop-mobile-bar .shop-bar-btn-search {
    grid-column: 1 / -1;
  }
  body.pana-theme .filters-panel .filter-search-inline {
    display: none;
  }
}

/* v3.3.8 — mobile: scroll orizzontale home + negozio 2 colonne */
body.pana-theme .pana-static-copy .btn-primary,
body.pana-theme a.pana-static-cta.btn-primary {
  background: var(--primary, #1565c0) !important;
  color: #fff !important;
  border: 2px solid var(--primary, #1565c0) !important;
  font-weight: 700;
  padding: 12px 20px;
  text-decoration: none;
}
@media (max-width: 900px) {
  body.pana-theme.home .pana-home-wrap > .campaigns,
  body.pana-theme.home .container .campaigns,
  body.pana-theme .pana-home-wrap > .campaigns,
  body.pana-theme .campaigns {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    grid-template-columns: unset !important;
    gap: 12px !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    padding-bottom: 10px;
    margin-bottom: 28px;
  }
  body.pana-theme.home .pana-home-wrap > .categories,
  body.pana-theme.home .container .categories,
  body.pana-theme .pana-home-wrap > .categories,
  body.pana-theme .categories {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    grid-template-columns: unset !important;
    gap: 10px !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    padding-bottom: 10px;
    margin-bottom: 28px;
  }
  body.pana-theme .campaigns > a.campaign,
  body.pana-theme .pana-home-wrap .campaigns > a.campaign {
    flex: 0 0 min(82vw, 280px) !important;
    width: min(82vw, 280px) !important;
    max-width: none !important;
    scroll-snap-align: start;
    grid-column: auto !important;
  }
  body.pana-theme .categories > a.cat-tile,
  body.pana-theme .pana-home-wrap .categories > a.cat-tile {
    flex: 0 0 128px !important;
    width: 128px !important;
    max-width: none !important;
    scroll-snap-align: start;
    grid-column: auto !important;
  }
  body.pana-theme.pana-mobile-xp {
    overflow-x: hidden !important;
    max-width: 100%;
  }
  body.pana-theme .woocommerce ul.products,
  body.pana-theme .woocommerce ul.products.pana-shop-grid,
  body.pana-theme ul.products.pana-shop-grid,
  body.pana-theme .pana-shop-page .woocommerce ul.products,
  body.pana-theme .pana-shop-page .shop-main ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    max-width: 100%;
    overflow-x: clip;
  }
  body.pana-theme .woocommerce ul.products li.product,
  body.pana-theme ul.products.pana-shop-grid li.product {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
  }
  body.pana-theme .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    line-height: 1.25;
  }
  body.pana-theme .woocommerce ul.products li.product .price {
    font-size: 14px;
  }
  body.pana-theme .shop-mobile-bar {
    top: var(--xp-shop-sticky);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  body.pana-theme .campaigns,
  body.pana-theme .categories {
    position: relative;
  }
  body.pana-theme .campaigns::after,
  body.pana-theme .categories::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 10px;
    width: 36px;
    pointer-events: none;
    background: linear-gradient(to left, var(--bg) 15%, transparent);
    z-index: 1;
  }
}
@media (max-width: 900px) {
  body.pana-theme:not(.pana-mobile-xp) .campaigns,
  body.pana-theme:not(.pana-mobile-xp) .categories {
    margin-left: max(-16px, calc(-1 * ((100vw - 100%) / 2)));
    margin-right: max(-16px, calc(-1 * ((100vw - 100%) / 2)));
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* v3.5.2 — pagina risultati ricerca + fix layout body Astra */
body.pana-theme .page-hero-search h1::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}
body.pana-theme .page-hero-simple.page-hero-compact p {
  max-width: var(--max);
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 15px;
}
body.pana-theme .pana-search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
body.pana-theme .pana-search-clear {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
body.pana-theme .pana-search-clear:hover {
  text-decoration: underline;
}
body.pana-theme.pana-shop-search .shop-main .woocommerce-result-count,
body.pana-theme.pana-shop-search .pana-instant-search-hint {
  display: none !important;
}
body.pana-theme .pana-search-hero-actions {
  margin: 10px 0 0;
  font-size: 14px;
}
body.pana-theme .pana-search-hero-actions .pana-search-clear {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
body.pana-theme .pana-search-hero-actions .pana-search-clear:hover {
  text-decoration: underline;
}
body.pana-theme .pana-contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin: 0 0 24px;
  padding: 16px 20px;
  background: var(--bg-soft, #f4f6f7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
body.pana-theme .pana-contact-quick__tel {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
body.pana-theme .pana-contact-quick__wa {
  font-weight: 700;
  color: #128c7e;
  text-decoration: none;
}
body.pana-theme .pana-contact-quick__hours,
body.pana-theme .pana-contact-quick__showroom {
  color: var(--muted);
  font-size: 14px;
}
body.pana-theme .pana-contact-quick__showroom {
  flex-basis: 100%;
}
@media (max-width: 900px) {
  body.pana-theme.pana-single-product table.variations {
    display: block;
    width: 100%;
  }
  body.pana-theme.pana-single-product table.variations tbody,
  body.pana-theme.pana-single-product table.variations tr,
  body.pana-theme.pana-single-product table.variations td {
    display: block;
    width: 100%;
  }
  body.pana-theme.pana-single-product table.variations tr {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }
  body.pana-theme.pana-single-product table.variations .label {
    font-weight: 700;
    margin-bottom: 6px;
  }
}
body.pana-theme.pana-shop-search .shop-main ul.products,
body.pana-theme.pana-shop-search .pana-shop-page .shop-main ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 16px !important;
}
body.pana-theme .filter-search-inline,
body.pana-theme.pana-shop-search .filter-search-inline {
  display: none !important;
}
body.pana-theme .pana-search-result-hint {
  display: none !important;
}

/* v3.5.12 — recensioni Google (Trustindex) */
body.pana-theme .pana-reviews-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
body.pana-theme .pana-reviews-head {
  margin-bottom: 8px;
}
body.pana-theme .pana-reviews-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 20px;
  max-width: 640px;
}
body.pana-theme .pana-reviews-widget {
  max-width: 100%;
  overflow: hidden;
}
body.pana-theme .pana-reviews-fallback {
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}
body.pana-theme .pana-reviews-fallback .btn {
  margin-top: 12px;
}

/* v3.9.14 — Fase B: intro catalogo collassabile, card lead-only, carrello mobile */
@media (max-width: 900px) {
  body.pana-theme .pana-catalog-intro.is-collapsible > summary {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    padding: 8px 0;
  }
  body.pana-theme .pana-catalog-intro.is-collapsible > summary::-webkit-details-marker {
    display: none;
  }
  body.pana-theme .pana-catalog-intro.is-collapsible > summary::after {
    content: " · Leggi di più";
    font-weight: 600;
  }
  body.pana-theme .pana-catalog-intro.is-collapsible[open] > summary::after {
    content: " · Chiudi";
  }
  body.pana-theme .pana-catalog-intro.is-collapsible .pana-catalog-intro__body {
    padding-top: 4px;
  }
}
@media (min-width: 901px) {
  body.pana-theme .pana-catalog-intro.is-collapsible > summary {
    display: none;
  }
  body.pana-theme .pana-catalog-intro.is-collapsible .pana-catalog-intro__body {
    display: block !important;
  }
}

body.pana-theme li.product.pana-lead-only .pana-sale-badge {
  display: none !important;
}
body.pana-theme li.product.pana-lead-only .stock {
  display: none;
}
body.pana-theme li.product.pana-lead-only .pana-delivery-badge {
  display: none;
}

@media (max-width: 900px) {
  body.pana-theme.woocommerce-cart .woocommerce {
    max-width: 100%;
  }
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table {
    display: block;
    width: 100%;
    border: 0;
  }
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table thead {
    display: none;
  }
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table tbody,
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table tr,
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table td {
    display: block;
    width: 100%;
  }
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table tr {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 12px;
    background: #fff;
  }
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table td {
    border: 0;
    padding: 6px 0;
    text-align: left !important;
  }
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table td::before {
    content: attr(data-title);
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 4px;
  }
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table td.product-remove {
    text-align: right !important;
    padding-top: 0;
  }
  body.pana-theme.woocommerce-cart .woocommerce table.shop_table td.product-remove::before {
    display: none;
  }
  body.pana-theme.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
    margin-top: 16px;
  }
  body.pana-theme.woocommerce-cart .cart-collaterals .cart_totals table {
    width: 100%;
  }
  body.pana-theme.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
  body.pana-theme.woocommerce-cart .woocommerce .button {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }
  body.pana-theme.woocommerce-cart .woocommerce-cart-form {
    margin-bottom: 8px;
  }
}

/* Carrello mobile XP: riga prodotto a card (thumb sinistra) */
@media (max-width: 900px) {
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table tr.cart_item {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas:
      "thumb remove"
      "thumb name"
      "thumb price"
      "thumb qty";
    gap: 6px 12px;
    padding: 14px;
    align-items: start;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table tr.cart_item td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table tr.cart_item td::before {
    display: none !important;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
    text-align: right !important;
    padding: 0 !important;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-thumbnail {
    grid-area: thumb;
    align-self: stretch;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-thumbnail a,
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-thumbnail img {
    display: block;
    width: 84px;
    height: 84px;
    object-fit: contain;
    object-position: center;
    background: var(--bg-soft, #f4f6f7);
    border-radius: 10px;
    padding: 6px;
    box-sizing: border-box;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-name {
    grid-area: name;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    padding-right: 4px !important;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-name .variation {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted, #5c6570);
    margin-top: 4px;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-price {
    grid-area: price;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-quantity {
    grid-area: qty;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-quantity .quantity {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table td.product-subtotal {
    display: none !important;
  }
  body.pana-theme.pana-mobile-xp.woocommerce-cart .woocommerce table.shop_table tr:not(.cart_item) td {
    display: block;
    width: 100%;
  }
}
