:root {
  --jhp-ink: #171721;
  --jhp-muted: #686879;
  --jhp-paper: #fff;
  --jhp-soft: #f6f5fb;
  --jhp-soft-warm: #fbf8f5;
  --jhp-brand: #35349b;
  --jhp-brand-dark: #26236f;
  --jhp-accent: #ef3c70;
  --jhp-gold: #f2b94b;
  --jhp-line: #e7e5ef;
  --jhp-radius: 18px;
  --jhp-shadow: 0 14px 40px rgba(27, 24, 73, 0.1);
  --jhp-max: 1220px;
}

html {
  scroll-behavior: smooth;
}
body.jhp-page {
  margin: 0;
  color: var(--jhp-ink);
  background: var(--jhp-paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.jhp-page *,
.jhp-page *::before,
.jhp-page *::after {
  box-sizing: border-box;
}
.jhp-page img {
  display: block;
  max-width: 100%;
}
.jhp-page a {
  color: inherit;
  text-decoration: none;
}
.jhp-page button,
.jhp-page input {
  font: inherit;
}
.jhp-page button {
  cursor: pointer;
}
.jhp-page .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.jhp-site {
  overflow: clip;
  background: var(--jhp-paper);
}
.jhp-wrap {
  width: min(calc(100% - 40px), var(--jhp-max));
  margin-inline: auto;
}

.jhp-preview-bar {
  min-height: 34px;
  padding: 6px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 100000;
  color: #fff;
  background: #171721;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}
.jhp-preview-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Il plugin Joker Messaggi usa wp_body_open: sulla nuova home resta in alto senza spostamenti tardivi. */
.jhp-page .jms-site-notices {
  position: relative;
  z-index: 100001;
}
.jhp-page .jms-site-notice {
  min-height: 44px;
  padding-block: 9px;
  box-shadow: none;
}

.jhp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--jhp-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}
.admin-bar .jhp-header {
  top: 32px;
}
.jhp-header-main {
  min-height: 94px;
  display: grid;
  grid-template-columns: 150px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 34px;
}
.jhp-logo {
  width: 100px;
  display: inline-flex;
  align-items: center;
}
.jhp-logo img {
  width: 86px;
  height: 90px;
  object-fit: contain;
}
.jhp-search {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 2px solid var(--jhp-ink);
  border-radius: 999px;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.jhp-search:focus-within {
  border-color: var(--jhp-brand);
  box-shadow: 0 0 0 4px rgba(53, 52, 155, 0.12);
}
.jhp-search input {
  min-width: 0;
  height: 50px;
  padding: 0 20px;
  border: 0;
  outline: 0;
  color: var(--jhp-ink);
  background: transparent;
}
.jhp-search button {
  width: 58px;
  border: 0;
  color: #fff;
  background: var(--jhp-ink);
  font-size: 22px;
}
.jhp-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.jhp-icon-action {
  min-width: 46px;
  height: 46px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--jhp-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 750;
}
.jhp-icon-action:hover,
.jhp-icon-action:focus {
  border-color: var(--jhp-brand);
  color: var(--jhp-brand);
}
.jhp-cart-action {
  min-width: 154px;
  padding: 6px 13px;
  justify-content: flex-start;
}
.jhp-cart-icon {
  font-size: 21px;
  line-height: 1;
}
.jhp-cart-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.jhp-cart-copy strong {
  font-size: 13px;
}
.jhp-cart-copy > span {
  margin-top: 3px;
  color: var(--jhp-muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.jhp-cart-count {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--jhp-accent);
  font-size: 11px;
}
.jhp-cart-copy .jhp-cart-count,
.jhp-cart-feedback-copy .jhp-cart-count {
  min-width: 0;
  height: auto;
  display: inline;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
}
.jhp-cart-total .woocommerce-Price-amount {
  white-space: nowrap;
}

.jhp-floating-cart {
  min-height: 54px;
  padding: 8px 12px 8px 15px;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100005;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: var(--jhp-ink);
  box-shadow: 0 14px 38px rgba(17, 15, 47, 0.28);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.jhp-floating-cart:hover,
.jhp-floating-cart:focus {
  color: #fff;
  background: var(--jhp-brand);
  box-shadow: 0 17px 44px rgba(53, 52, 155, 0.34);
  transform: translateY(-2px);
}
.jhp-floating-cart-icon {
  font-size: 20px;
  line-height: 1;
}
.jhp-floating-cart .jhp-cart-count {
  flex: 0 0 auto;
  background: var(--jhp-accent);
}

.jhp-cart-feedback {
  width: min(calc(100% - 32px), 760px);
  min-height: 78px;
  padding: 13px 48px 13px 16px;
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 100010;
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  color: #fff;
  background: #171721;
  box-shadow: 0 20px 58px rgba(17, 15, 47, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.jhp-cart-feedback.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.jhp-cart-feedback-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #18794e;
  font-size: 20px;
  font-weight: 900;
}
.jhp-cart-feedback-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.jhp-cart-feedback-copy strong {
  font-size: 14px;
}
.jhp-cart-feedback-copy > span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}
.jhp-cart-feedback-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.jhp-cart-feedback-actions a {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.jhp-cart-feedback-actions .jhp-cart-checkout {
  border-color: var(--jhp-accent);
  background: var(--jhp-accent);
}
.jhp-cart-feedback-close {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 7px;
  right: 7px;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 23px;
  line-height: 1;
}
.jhp-mobile-toggle {
  display: none;
}
.jhp-mobile-toggle-label {
  font-size: 12px;
  font-weight: 850;
}
.jhp-main-nav {
  border-top: 1px solid var(--jhp-line);
}
.jhp-main-nav .jhp-wrap {
  min-height: 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 22px;
  font-size: 14px;
  font-weight: 780;
}
.jhp-main-nav a {
  padding: 16px 0 14px;
  position: relative;
}
.jhp-main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 2px;
  background: var(--jhp-accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.jhp-main-nav a:hover::after,
.jhp-main-nav a:focus::after {
  transform: scaleX(1);
}
.jhp-main-nav .jhp-sale-link {
  color: var(--jhp-accent);
}
.jhp-main-nav .jhp-request-link {
  color: var(--jhp-brand);
}

.jhp-mobile-dock {
  display: none;
}

.jhp-hero {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 12%,
      rgba(239, 60, 112, 0.15),
      transparent 26%
    ),
    radial-gradient(
      circle at 89% 80%,
      rgba(53, 52, 155, 0.17),
      transparent 31%
    ),
    linear-gradient(135deg, #fbfaf7, #f2f0fb);
}
.jhp-hero-grid {
  min-height: 570px;
  padding-block: 58px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 54px;
}
.jhp-eyebrow {
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(53, 52, 155, 0.18);
  border-radius: 999px;
  color: var(--jhp-brand);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.jhp-hero h1 {
  max-width: 700px;
  margin: 20px 0 18px;
  font-size: clamp(42px, 5.3vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.jhp-hero h1 span {
  color: var(--jhp-brand);
}
.jhp-hero-copy {
  max-width: 620px;
  margin: 0;
  color: var(--jhp-muted);
  font-size: clamp(17px, 1.65vw, 21px);
}
.jhp-hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.jhp-btn {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--jhp-brand);
  border-radius: 999px;
  font-weight: 850;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.jhp-btn:hover,
.jhp-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(38, 35, 111, 0.16);
}
.jhp-btn-primary {
  color: #fff;
  background: var(--jhp-brand);
}
.jhp-btn-primary:visited,
.jhp-btn-primary:hover,
.jhp-btn-primary:focus,
.jhp-btn-primary *,
.jhp-search button,
.jhp-search button *,
.jhp-quick-field button,
.jhp-quick-field button * {
  color: #fff !important;
}
.jhp-btn-primary svg,
.jhp-btn-primary svg *,
.jhp-search button svg,
.jhp-search button svg *,
.jhp-quick-field button svg,
.jhp-quick-field button svg * {
  color: #fff !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}
.jhp-btn-secondary {
  color: var(--jhp-brand);
  background: transparent;
}
.jhp-hero-points {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  color: #4a485b;
  font-size: 13px;
  font-weight: 740;
}
.jhp-hero-points span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--jhp-accent);
  font-weight: 950;
}
.jhp-product-collage {
  min-height: 460px;
  position: relative;
  isolation: isolate;
}
.jhp-product-collage::before {
  content: "";
  width: 420px;
  height: 420px;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.jhp-hero-product {
  width: 235px;
  aspect-ratio: 1;
  padding: 14px;
  position: absolute;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--jhp-shadow);
}
.jhp-hero-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.jhp-hero-product-1 {
  left: 28px;
  top: 88px;
  transform: rotate(-6deg);
}
.jhp-hero-product-2 {
  right: 22px;
  top: 30px;
  transform: rotate(6deg);
}
.jhp-hero-product-3 {
  width: 205px;
  right: 90px;
  bottom: 4px;
  transform: rotate(-2deg);
}
.jhp-floating-note {
  padding: 12px 16px;
  position: absolute;
  left: 3px;
  bottom: 24px;
  border-radius: 14px;
  color: #fff;
  background: var(--jhp-ink);
  box-shadow: var(--jhp-shadow);
  font-size: 13px;
  font-weight: 800;
}
.jhp-floating-note strong {
  color: #ff8cad;
}

.jhp-section {
  padding-block: 76px;
}
.jhp-section-head {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.jhp-section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -0.035em;
}
.jhp-section-head p {
  margin: 0;
  color: var(--jhp-muted);
}
.jhp-text-link {
  color: var(--jhp-brand);
  font-weight: 850;
  white-space: nowrap;
}
.jhp-text-link:hover,
.jhp-text-link:focus {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.jhp-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.jhp-category-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--jhp-line);
  border-radius: var(--jhp-radius);
  background: #fff;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.jhp-category-card:hover,
.jhp-category-card:focus {
  transform: translateY(-5px);
  border-color: #cbc7df;
  box-shadow: var(--jhp-shadow);
}
.jhp-category-image {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--jhp-soft-warm);
}
.jhp-category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.jhp-category-placeholder {
  width: 70%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--jhp-brand), var(--jhp-accent));
  font-size: 56px;
  font-weight: 900;
}
.jhp-category-copy {
  padding: 15px 13px 16px;
}
.jhp-category-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}
.jhp-category-copy span {
  margin-top: 4px;
  display: block;
  color: var(--jhp-muted);
  font-size: 12px;
}
.jhp-brands {
  padding-block: 36px;
  border-block: 1px solid var(--jhp-line);
  background: var(--jhp-soft);
}
.jhp-brand-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.jhp-brand-pill {
  min-height: 62px;
  padding: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--jhp-line);
  border-radius: 13px;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}
.jhp-brand-pill:hover,
.jhp-brand-pill:focus {
  border-color: var(--jhp-brand);
  color: var(--jhp-brand);
}

.jhp-products {
  background: #fff;
}
.jhp-products-soft {
  background: var(--jhp-soft);
}
.jhp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.jhp-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--jhp-line);
  border-radius: var(--jhp-radius);
  background: #fff;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.jhp-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--jhp-shadow);
}
.jhp-product-media {
  display: block;
  position: relative;
  background: #faf9fc;
}
.jhp-product-media img {
  width: 100%;
  aspect-ratio: 1;
  padding: 14px;
  object-fit: contain;
}
.jhp-badge {
  padding: 6px 9px;
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  background: var(--jhp-accent);
  font-size: 11px;
  font-weight: 900;
}
.jhp-product-info {
  padding: 17px;
}
.jhp-product-brand {
  color: var(--jhp-brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.jhp-product-card h3 {
  min-height: 48px;
  margin: 7px 0 12px;
  font-size: 16px;
  line-height: 1.35;
}
.jhp-price {
  min-height: 30px;
  font-size: 19px;
  font-weight: 900;
}
.jhp-price del {
  margin-right: 6px;
  color: var(--jhp-muted);
  font-size: 13px;
  font-weight: 650;
  opacity: 0.8;
}
.jhp-price ins {
  text-decoration: none;
}
.jhp-price small,
.jhp-price .woocommerce-Price-taxLabel {
  color: var(--jhp-muted);
  font-size: 11px;
  font-weight: 650;
}
.jhp-buy-row {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.jhp-buy {
  min-height: 42px;
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--jhp-brand);
  border-radius: 10px;
  color: var(--jhp-brand);
  background: #fff;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}
.jhp-buy:hover,
.jhp-buy:focus {
  color: #fff;
  background: var(--jhp-brand);
}
.jhp-buy-multiple {
  color: #fff !important;
  background: var(--jhp-brand) !important;
}
.jhp-buy-multiple:visited,
.jhp-buy-multiple:hover,
.jhp-buy-multiple:focus,
.jhp-buy-multiple span,
.jhp-buy-multiple .icon,
.jhp-buy-multiple .icon::before {
  color: #fff !important;
}
.jhp-buy-multiple svg,
.jhp-buy-multiple svg * {
  color: #fff !important;
  fill: #fff !important;
  stroke: #fff !important;
}
.jhp-buy.added {
  background: #18794e;
  border-color: #18794e;
  color: #fff;
}
.jhp-buy.added::after {
  content: " ✓";
  margin: 0;
}
.jhp-buy-options {
  width: 100%;
  margin-top: 15px;
}
.jhp-empty-state {
  padding: 28px;
  border: 1px dashed var(--jhp-line);
  border-radius: var(--jhp-radius);
  color: var(--jhp-muted);
  text-align: center;
}

.jhp-pro-section {
  padding-block: 74px;
  background: var(--jhp-soft);
}
.jhp-pro-card {
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 40px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(239, 60, 112, 0.35),
      transparent 28%
    ),
    linear-gradient(125deg, var(--jhp-brand-dark), var(--jhp-brand));
  box-shadow: var(--jhp-shadow);
}
.jhp-pro-card h2 {
  margin: 10px 0 15px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.jhp-pro-card p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}
.jhp-pro-card .jhp-eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}
.jhp-pro-search {
  padding: 22px;
  border-radius: 20px;
  color: var(--jhp-ink);
  background: #fff;
  box-shadow: 0 20px 55px rgba(11, 9, 48, 0.25);
}
.jhp-pro-search label strong {
  display: block;
  margin-bottom: 10px;
}
.jhp-quick-field {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--jhp-line);
  border-radius: 12px;
  background: #faf9fc;
}
.jhp-quick-field input {
  min-width: 0;
  min-height: 52px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}
.jhp-quick-field button {
  padding: 0 16px;
  border: 0;
  color: #fff;
  background: var(--jhp-brand);
  font-weight: 800;
}
.jhp-quick-choices {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.jhp-quick-choices span {
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--jhp-brand);
  background: var(--jhp-soft);
  font-size: 11px;
  font-weight: 800;
}
.jhp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.jhp-trust-card {
  padding: 24px;
  border: 1px solid var(--jhp-line);
  border-radius: var(--jhp-radius);
  background: #fff;
}
.jhp-trust-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--jhp-soft);
  font-size: 21px;
}
.jhp-trust-card h3 {
  margin: 14px 0 5px;
  font-size: 17px;
}
.jhp-trust-card p {
  margin: 0;
  color: var(--jhp-muted);
  font-size: 13px;
}
.jhp-review-panel {
  margin-top: 24px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: var(--jhp-radius);
  background: var(--jhp-soft-warm);
}
.jhp-stars {
  color: var(--jhp-gold);
  font-size: 24px;
  letter-spacing: 3px;
}
.jhp-review-panel h3 {
  margin: 6px 0 3px;
  font-size: 24px;
}
.jhp-review-panel p {
  margin: 0;
  color: var(--jhp-muted);
}
.jhp-seo-copy {
  background: var(--jhp-soft);
}
.jhp-seo-copy .jhp-wrap {
  max-width: 900px;
}
.jhp-seo-copy h2 {
  margin: 0 0 15px;
  font-size: 32px;
}
.jhp-seo-copy p {
  color: #575665;
}

.jhp-footer {
  padding: 60px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background: #191843;
}
.jhp-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
}
.jhp-footer-about img {
  width: 74px;
  height: 78px;
  object-fit: contain;
  filter: invert(1) grayscale(1) brightness(2.5);
}
.jhp-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
}
.jhp-footer p,
.jhp-footer a {
  font-size: 13px;
}
.jhp-footer .jhp-footer-about p {
  color: #fff !important;
}

/* Nei blocchi blu scuro testo e icone restano sempre leggibili anche quando
   il vecchio tema applica colori propri a titoli e pseudo-icone. */
body.jhp-page .jhp-pro-card > div,
body.jhp-page .jhp-pro-card > div h2,
body.jhp-page .jhp-pro-card > div p,
body.jhp-page .jhp-floating-cart,
body.jhp-page .jhp-floating-cart *,
body.jhp-page .jhp-cart-feedback,
body.jhp-page .jhp-cart-feedback strong,
body.jhp-page .jhp-cart-feedback-actions a,
body.jhp-page .jhp-footer h3,
body.jhp-page .jhp-footer p,
body.jhp-page .jhp-footer a {
  color: #fff !important;
}
.jhp-footer-links {
  display: grid;
  gap: 8px;
}
.jhp-footer a:hover,
.jhp-footer a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.jhp-copyright {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

@media (max-width: 1040px) {
  .jhp-header-main {
    grid-template-columns: 100px 1fr auto;
    gap: 18px;
  }
  .jhp-icon-action .jhp-action-label {
    display: none;
  }
  .jhp-main-nav .jhp-wrap {
    gap: 0 15px;
    font-size: 13px;
  }
  .jhp-hero-grid {
    gap: 24px;
  }
  .jhp-product-collage {
    transform: scale(0.9);
    transform-origin: center;
  }
  .jhp-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .jhp-brand-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .jhp-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .jhp-footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

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

@media (max-width: 760px) {
  .jhp-wrap {
    width: min(calc(100% - 26px), var(--jhp-max));
  }
  .jhp-preview-bar {
    font-size: 10px;
  }
  .jhp-header {
    position: relative;
    top: auto !important;
  }
  .jhp-header-main {
    min-height: auto;
    padding-block: 10px 12px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }
  .jhp-logo {
    width: 58px;
  }
  .jhp-logo img {
    width: 52px;
    height: 55px;
  }
  .jhp-mobile-toggle {
    width: 72px;
    height: 43px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--jhp-line);
    border-radius: 999px;
    background: #fff;
  }
  .jhp-header-actions .jhp-account,
  .jhp-header-actions .jhp-whatsapp {
    display: none;
  }
  .jhp-icon-action {
    min-width: 43px;
    width: 43px;
    height: 43px;
    padding: 0;
  }
  .jhp-cart-action {
    width: auto;
    min-width: 96px;
    padding: 0 11px;
  }
  .jhp-cart-copy > span {
    display: none;
  }
  .jhp-cart-copy strong {
    font-size: 12px;
  }
  .jhp-floating-cart {
    display: none;
  }
  .jhp-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .jhp-search input {
    height: 46px;
  }
  .jhp-main-nav {
    display: none;
  }
  .jhp-main-nav.is-open {
    display: block;
  }
  .jhp-main-nav .jhp-wrap {
    padding: 8px 4px 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    align-items: stretch;
  }
  .jhp-main-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid var(--jhp-line);
  }
  body.jhp-page {
    padding-bottom: 68px;
  }
  .jhp-mobile-dock {
    min-height: 62px;
    padding: 5px max(5px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(5px, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100002;
    border-top: 1px solid var(--jhp-line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 30px rgba(17, 15, 47, 0.12);
    backdrop-filter: blur(14px);
  }
  .jhp-mobile-dock a {
    min-width: 0;
    min-height: 49px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    border-radius: 9px;
    color: var(--jhp-muted);
    font-size: 18px;
    line-height: 1;
  }
  .jhp-mobile-dock a:hover,
  .jhp-mobile-dock a:focus {
    color: var(--jhp-brand);
    background: var(--jhp-soft);
  }
  .jhp-mobile-dock strong {
    overflow: hidden;
    max-width: 100%;
    font-size: 9px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .jhp-mobile-dock .jhp-cart-count {
    width: 17px;
    min-width: 17px;
    height: 17px;
    position: absolute;
    top: 0;
    right: max(5px, calc(50% - 25px));
    color: #fff;
    font-size: 9px;
  }
  .jhp-hero-grid {
    min-height: auto;
    padding-block: 42px 48px;
    grid-template-columns: 1fr;
  }
  .jhp-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }
  .jhp-hero-copy {
    font-size: 17px;
  }
  .jhp-hero-cta .jhp-btn {
    width: 100%;
  }
  .jhp-product-collage {
    min-height: 355px;
    transform: none;
  }
  .jhp-product-collage::before {
    width: 310px;
    height: 310px;
    right: -20px;
  }
  .jhp-hero-product {
    width: 165px;
    border-radius: 19px;
  }
  .jhp-hero-product-1 {
    left: 3px;
    top: 80px;
  }
  .jhp-hero-product-2 {
    right: 2px;
    top: 24px;
  }
  .jhp-hero-product-3 {
    width: 145px;
    right: 58px;
    bottom: 0;
  }
  .jhp-floating-note {
    bottom: 10px;
    font-size: 11px;
  }
  .jhp-section {
    padding-block: 55px;
  }
  .jhp-section-head {
    margin-bottom: 23px;
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .jhp-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .jhp-category-copy {
    padding: 12px 10px 13px;
  }
  .jhp-brand-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .jhp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .jhp-product-card h3 {
    min-height: 61px;
    font-size: 14px;
  }
  .jhp-product-info {
    padding: 12px;
  }
  .jhp-price {
    font-size: 16px;
  }
  .jhp-buy-row {
    grid-template-columns: 1fr;
  }
  .jhp-pro-card {
    padding: 28px 20px;
    grid-template-columns: 1fr;
  }
  .jhp-pro-card p {
    font-size: 16px;
  }
  .jhp-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .jhp-trust-card {
    padding: 18px;
  }
  .jhp-review-panel {
    align-items: start;
    flex-direction: column;
  }
  .jhp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
  }
  .jhp-footer-about,
  .jhp-footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .jhp-cart-feedback {
    width: calc(100% - 20px);
    min-height: 0;
    padding: 13px 42px 13px 13px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: auto 1fr;
    gap: 10px;
    border-radius: 15px;
  }
  .jhp-cart-feedback-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .jhp-cart-feedback-actions a {
    min-height: 43px;
    padding-inline: 9px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .jhp-product-grid {
    grid-template-columns: 1fr;
  }
  .jhp-product-card h3 {
    min-height: 0;
  }
  .jhp-buy-row {
    grid-template-columns: 1fr;
  }
}

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