/**
 * Skin FRONTEND (vetrina) — tema "MegaHub".
 * Scope: body.skin-shop. Non condivisa con l'admin.
 */

body.skin-shop {
  --mh-primary: #1c64f2;
  --mh-primary-dark: #1a56db;
  --mh-primary-deep: #1848c7;
  --mh-indigo: #4f46e5;
  --mh-indigo-dark: #4338ca;
  --mh-accent: #ff6a00;
  --mh-accent-dark: #e85d00;
  --mh-navy: #0f172a;
  --mh-navy-2: #1e293b;
  --mh-ink: #1f2933;
  --mh-muted: #6b7280;
  --mh-line: #e5e7eb;
  --mh-bg: #f4f6fb;
  --mh-card: #ffffff;
  --mh-success: #16a34a;
  --mh-lime: #b9c347;
  --mh-lime-dark: #a8b23f;
  --mh-on-dark: #cbd5e1;
  --mh-on-dark-muted: #94a3b8;
  --mh-tld-light: #bfdbfe;
  --mh-radius: 14px;
  --mh-radius-sm: 10px;
  --mh-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --mh-shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
  --mh-gradient-brand: linear-gradient(135deg, var(--mh-primary), var(--mh-indigo));
  --mh-gradient-brand-hover: linear-gradient(135deg, var(--mh-primary-dark), var(--mh-indigo-dark));
  --mh-gradient-brand-active: linear-gradient(135deg, var(--mh-primary-deep), #3730a3);
  --mh-gradient-accent-bar: linear-gradient(90deg, var(--mh-primary), var(--mh-indigo), var(--mh-accent));
  --mh-shadow-brand: 0 6px 16px rgba(28, 100, 242, .35);
  --mh-shadow-brand-sm: 0 4px 12px rgba(28, 100, 242, .3);

  /* Bootstrap: palette primary allineata al logo */
  --bs-primary: var(--mh-primary);
  --bs-primary-rgb: 28, 100, 242;
  --bs-link-color: var(--mh-primary);
  --bs-link-hover-color: var(--mh-primary-dark);

  background-color: var(--mh-bg);
  color: var(--mh-ink);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

body.skin-shop a {
  text-decoration: none;
}

/* Bootstrap .btn-primary — stesso gradiente del marchio (blu → indaco) */
body.skin-shop .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--mh-primary);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--mh-primary-dark);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--mh-primary-deep);
  --bs-btn-active-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 28, 100, 242;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--mh-primary);
  --bs-btn-disabled-border-color: transparent;

  background: var(--mh-gradient-brand);
  border: 0;
  box-shadow: var(--mh-shadow-brand-sm);
  font-weight: 600;
}
body.skin-shop .btn-primary:hover,
body.skin-shop .btn-primary:focus-visible {
  background: var(--mh-gradient-brand-hover);
  box-shadow: var(--mh-shadow-brand);
}
body.skin-shop .btn-primary:active,
body.skin-shop .btn-primary.active,
body.skin-shop .btn-primary.show {
  background: var(--mh-gradient-brand-active);
  box-shadow: 0 2px 8px rgba(28, 100, 242, .25);
}

body.skin-shop .btn-accent {
  background: var(--mh-accent);
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: .65rem 1.5rem;
  border-radius: 999px;
}
body.skin-shop .btn-accent:hover {
  background: var(--mh-accent-dark);
  color: #fff;
}

body.skin-shop .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #25d366;
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: .65rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease;
}
body.skin-shop .btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}
body.skin-shop .btn-whatsapp svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* ---------------- Top bar ---------------- */
.shop-topbar {
  background: var(--mh-navy);
  color: var(--mh-on-dark);
  font-size: .8rem;
  padding: .45rem 0;
}
.shop-topbar .container {
  flex-wrap: wrap;
  gap: .25rem 1rem;
}
.shop-topbar__links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.shop-topbar__links a {
  color: var(--mh-on-dark);
  transition: color .15s ease;
}
.shop-topbar__links a:hover {
  color: #fff;
}

/* ---------------- Header ---------------- */
.shop-header {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
  border-bottom: 1px solid var(--mh-line);
  position: relative;
}
.shop-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mh-gradient-accent-bar);
}
.shop-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}
.shop-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}


.shop-brand__mark {
  width: 46px;
  height: 46px;
  border-radius: var(--mh-radius-sm);
  background: var(--mh-gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mh-shadow-brand);
}
.shop-brand__mark-accent {
  color: var(--mh-accent);
}

.shop-brand__text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mh-navy);
  letter-spacing: -.02em;
  line-height: 46px;
}
.shop-brand__care {
  color: var(--mh-accent);
}
.shop-brand__tld {
  color: var(--mh-primary);
}

/* Pill brand: "Tecno" bianco su gradiente marchio */
.shop-brand__text--pill {
  display: inline-flex;
  align-items: baseline;
  padding: .35rem .85rem;
  line-height: 1.2;
  border-radius: var(--mh-radius-sm);
  background: var(--mh-gradient-brand);
  box-shadow: var(--mh-shadow-brand);
  color: #fff;
}
.shop-brand__text--pill .shop-brand__tecno {
  color: #fff;
}
.shop-brand__text--pill .shop-brand__care {
  color: var(--mh-accent);
}
.shop-brand__text--pill .shop-brand__tld {
  color: var(--mh-tld-light);
}

/* Search */
.shop-search {
  flex: 1 1 auto;
  display: flex;
  /*max-width: 640px;*/
  border: 2px solid var(--mh-primary);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.shop-search__input {
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  padding: .65rem 1.1rem;
  font-size: .95rem;
  background: transparent;
}
.shop-search__btn {
  border: 0;
  background: var(--mh-gradient-brand);
  color: #fff;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}
.shop-search__btn:hover {
  background: var(--mh-gradient-brand-hover);
  box-shadow: var(--mh-shadow-brand-sm);
}

/* Header actions */
.shop-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  margin-left: auto;
}
.shop-action {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--mh-ink);
  font-weight: 600;
  font-size: .9rem;
  transition: color .15s ease;
}
.shop-action:hover {
  color: var(--mh-primary);
}
.shop-action__icon-wrap {
  position: relative;
  display: inline-flex;
}
.shop-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--mh-accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(255, 106, 0, .5);
}

/* ---------------- Category nav ---------------- */
.shop-nav {
  background: var(--mh-navy-2);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.shop-nav__inner {
  padding: .75rem 0;
}
.shop-nav__menu {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}
.shop-nav__btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: .65rem .35rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.shop-nav__icon {
  width: 2rem;
  height: 2rem;
  display: block;
  flex-shrink: 0;
}

/* ---------------- Page heading ---------------- */
.shop-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.shop-page-head h1 {
  font-weight: 800;
  font-size: 1.6rem;
  margin: 0;
  color: var(--mh-navy);
}
.shop-breadcrumb {
  font-size: .85rem;
  color: var(--mh-muted);
  margin-bottom: 1rem;
}
.shop-breadcrumb a {
  color: var(--mh-muted);
}
.shop-breadcrumb a:hover {
  color: var(--mh-primary);
}

/* ---------------- Hero banner ---------------- */
.shop-hero {
  border-radius: var(--mh-radius);
  background: linear-gradient(120deg, var(--mh-navy) 0%, #1d4ed8 60%, #4f46e5 100%);
  color: #fff;
  padding: 2.5rem;
  margin-bottom: 1.75rem;
  overflow: hidden;
  position: relative;
}
.shop-hero h2 {
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: .5rem;
}
.shop-hero p {
  opacity: .9;
  margin-bottom: 1.25rem;
  max-width: 32rem;
}
.shop-hero--split p {
  max-width: none;
}
.shop-hero__image {
  max-width: 420px;
  width: 100%;
  box-shadow: var(--mh-shadow);
}
/* ---------------- Panels (card surfaces) ---------------- */
.shop-filters,
.product-detail,
.cart-panel,
.cart-summary,
.shop-assistenza-band,
.shop-assistenza-plan,
.shop-assistenza-private,
.shop-assistenza-custom,
.shop-assistenza-services {
  background: var(--mh-card);
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  box-shadow: var(--mh-shadow-sm);
}

/* ---------------- Filters sidebar ---------------- */
.shop-filters {
  padding: 1.25rem;
}
.shop-filters__title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--mh-navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-filters-quick {
  background: var(--mh-card);
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  box-shadow: var(--mh-shadow-sm);
  padding: 1.25rem;
}
.shop-filters-quick__lead {
  font-size: .85rem;
  font-weight: 700;
  color: var(--mh-navy);
  margin-bottom: 1rem;
}
.shop-filters-quick__group + .shop-filters-quick__group {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mh-line);
}
.shop-filters-quick__title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mh-muted);
  margin-bottom: .55rem;
}
.shop-filters-quick__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.shop-filters-quick__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--mh-line);
  background: #f8fafc;
  color: var(--mh-navy);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.shop-filters-quick__chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--mh-shadow-sm);
  color: var(--mh-navy);
}
.shop-filters-quick__chip--category:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}
.shop-filters-quick__chip--brand:hover {
  border-color: #c4b5fd;
  background: #f5f3ff;
}
.shop-filters-quick__chip--active {
  border-color: var(--mh-primary);
  background: var(--mh-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(28, 100, 242, .25);
}
.shop-filters-quick__chip--active:hover {
  color: #fff;
  background: var(--mh-primary);
}

/* ---------------- Product card ---------------- */
.shop-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}
.product-card {
  background: var(--mh-card);
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mh-shadow);
  border-color: #c7d2fe;
}
.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  padding: 1rem;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-card__media-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  background: #f8fafc;
}
.product-card__badges {
  position: absolute;
  top: .65rem;
  left: .65rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  z-index: 2;
}
.mh-badge {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .25rem .5rem;
  border-radius: 6px;
  color: #fff;
}
.mh-badge--new { background: var(--mh-primary); }
.mh-badge--stock { background: var(--mh-success); }
.mh-badge--out { background: #9ca3af; }
.mh-badge--brand { background: var(--mh-navy); }

.product-card__body {
  padding: .9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.product-card__cat {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--mh-muted);
  margin-bottom: .25rem;
}
.product-card__title {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 .5rem;
  color: var(--mh-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.product-card__title a {
  color: inherit;
}
.product-card__title a:hover {
  color: var(--mh-primary);
}
.product-card__sku {
  font-size: .73rem;
  color: var(--mh-muted);
  margin-bottom: .5rem;
}
.product-card__price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--mh-navy);
  margin-top: auto;
}
.product-card__price small {
  font-size: .8rem;
  font-weight: 600;
  color: var(--mh-muted);
}
.product-card__actions {
  margin-top: .75rem;
}

/* CTA button */
.btn-cart {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--mh-accent);
  color: #fff;
  font-weight: 700;
  padding: .6rem .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.btn-cart:hover {
  background: var(--mh-accent-dark);
  color: #fff;
}
.btn-cart:active {
  transform: scale(.98);
}
.btn-cart:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}
.btn-cart.is-loading {
  opacity: .7;
  pointer-events: none;
}
.btn-cart--ghost {
  background: #eef2ff;
  color: var(--mh-primary);
}
.btn-cart--ghost:hover {
  background: #e0e7ff;
  color: var(--mh-primary-dark);
}
.btn-cart--inline {
  width: auto;
  min-width: 220px;
  display: inline-flex;
}

/* ---------------- Product detail ---------------- */
.product-detail {
  padding: 1.75rem;
}
.product-detail__gallery {
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  padding: 1.5rem;
  display: grid;
  place-items: center;
  min-height: 340px;
}
.product-detail__gallery img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-detail__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mh-navy);
  line-height: 1.25;
  margin-bottom: .5rem;
}
.product-detail__price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--mh-accent);
  margin: 1rem 0;
}
.product-detail__meta {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  font-size: .9rem;
}
.product-detail__meta li {
  display: flex;
  gap: .5rem;
  padding: .4rem 0;
  border-bottom: 1px dashed var(--mh-line);
}
.product-detail__meta li span:first-child {
  color: var(--mh-muted);
  min-width: 120px;
}
.product-detail__desc {
  color: #374151;
  line-height: 1.65;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mh-line);
  border-radius: 10px;
  overflow: hidden;
}
.qty-control button {
  border: 0;
  background: #f8fafc;
  width: 40px;
  height: 44px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mh-ink);
  cursor: pointer;
}
.qty-control button:hover {
  background: #eef2ff;
  color: var(--mh-primary);
}
.qty-control input {
  width: 56px;
  height: 44px;
  border: 0;
  text-align: center;
  font-weight: 700;
  outline: 0;
}

/* ---------------- Cart page ---------------- */
.cart-panel {
  overflow: hidden;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--mh-line);
  align-items: center;
}
.cart-item:last-child {
  border-bottom: 0;
}
.cart-item__media {
  width: 90px;
  height: 90px;
  border: 1px solid var(--mh-line);
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: .35rem;
}
.cart-item__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.cart-item__title {
  font-weight: 600;
  color: var(--mh-ink);
}
.cart-item__title a:hover {
  color: var(--mh-primary);
}
.cart-item__meta {
  font-size: .8rem;
  color: var(--mh-muted);
}
.cart-item__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.cart-item__price {
  font-weight: 800;
  color: var(--mh-navy);
  font-size: 1.05rem;
}
.price-vat-hint,
.cart-item__price-vat {
  font-size: .8rem;
  font-weight: 600;
  color: var(--mh-muted);
}
.cart-item__price-vat {
  text-align: right;
}
.cart-summary {
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  font-size: .95rem;
}
.cart-summary__total {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mh-navy);
  border-top: 2px solid var(--mh-line);
  margin-top: .5rem;
  padding-top: .9rem;
}
.btn-checkout {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--mh-gradient-brand);
  color: #fff;
  font-weight: 700;
  padding: .85rem;
  margin-top: 1rem;
  text-decoration: none;
  box-shadow: var(--mh-shadow-brand-sm);
  transition: background .15s ease, box-shadow .15s ease;
}
.btn-checkout:hover {
  background: var(--mh-gradient-brand-hover);
  box-shadow: var(--mh-shadow-brand);
  color: #fff;
}
.btn-checkout--inline {
  width: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: 0;
}
.btn-order-whatsapp {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: .85rem;
  margin-top: .75rem;
  text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease;
}
.btn-order-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}
.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.cart-empty__icon {
  font-size: 3.5rem;
  color: #cbd5e1;
}

/* ---------------- Pagination ---------------- */
body.skin-shop .pagination .page-link {
  color: var(--mh-primary);
  border-radius: 8px;
  margin: 0 .1rem;
  border: 1px solid var(--mh-line);
  background: var(--mh-card);
  font-weight: 600;
  min-width: 2.25rem;
  text-align: center;
  transition: color .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
body.skin-shop .pagination .page-link:hover {
  color: var(--mh-primary-dark);
  border-color: rgba(28, 100, 242, .35);
  background: rgba(28, 100, 242, .06);
}
body.skin-shop .pagination .page-item.active .page-link {
  background: var(--mh-gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--mh-shadow-brand-sm);
}
body.skin-shop .pagination .page-item.active .page-link:hover {
  background: var(--mh-gradient-brand-hover);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--mh-shadow-brand);
}
body.skin-shop .pagination .page-item.disabled .page-link {
  color: var(--mh-muted);
  border-color: var(--mh-line);
  background: var(--mh-bg);
  box-shadow: none;
}

/* ---------------- Toast ---------------- */
.shop-toast-stack {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  z-index: 1080;
}
.shop-toast {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--mh-navy);
  color: #fff;
  padding: .8rem 1.1rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .3);
  font-weight: 600;
  font-size: .9rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.shop-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.shop-toast__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--mh-success);
  color: #fff;
  font-size: .8rem;
}
.shop-toast--error .shop-toast__icon {
  background: #dc2626;
}

/* ---------------- Scroll up ---------------- */
.shop-scroll-up {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1070;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--mh-gradient-brand);
  color: #fff;
  box-shadow: var(--mh-shadow-brand);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease,
    background .2s ease, box-shadow .2s ease;
}
.shop-scroll-up svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
.shop-scroll-up:hover,
.shop-scroll-up:focus-visible {
  background: var(--mh-gradient-brand-hover);
  box-shadow: var(--mh-shadow-brand);
}
.shop-scroll-up:active {
  background: var(--mh-gradient-brand-active);
}
.shop-scroll-up.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------------- Reso form ---------------- */
.shop-reso-form {
  border-radius: var(--mh-radius);
  background: var(--mh-card);
}

/* ---------------- Spedizioni ---------------- */
.shop-spedizioni-free {
  border-radius: var(--mh-radius);
  background: linear-gradient(135deg, rgba(28, 100, 242, .08), rgba(79, 70, 229, .12));
  border: 1px solid rgba(28, 100, 242, .15);
}
.shop-spedizioni-free__eyebrow {
  color: var(--mh-primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.shop-spedizioni-free__title {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--mh-navy);
}
.shop-spedizioni-free__text {
  color: var(--mh-ink);
  line-height: 1.6;
}
.shop-spedizioni-free__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 180px;
  padding: 1.25rem;
  border-radius: var(--mh-radius);
  background: var(--mh-gradient-brand);
  color: #fff;
  box-shadow: var(--mh-shadow-brand);
}
.shop-spedizioni-free__badge-label {
  font-size: .85rem;
  opacity: .9;
}
.shop-spedizioni-free__badge-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
}
.shop-spedizioni-free__badge-note {
  font-size: .78rem;
  opacity: .9;
  margin-top: .2rem;
}
.shop-spedizioni-free__badge-free {
  margin-top: .75rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.shop-spedizioni-courier {
  background: var(--mh-card);
  border-radius: var(--mh-radius);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: var(--mh-shadow-sm);
  border: 1px solid var(--mh-line);
}
.shop-spedizioni-courier__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 2rem;
  padding: 0 .65rem;
  margin-bottom: .85rem;
  border-radius: 8px;
  background: var(--mh-navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

/* ---------------- Impegno sociale / Gestionali hero ---------------- */
.shop-impegnosociale-hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
}
.shop-brand--hero {
  transform: scale(1.15);
  transform-origin: center;
}
.shop-brand--hero .shop-brand__mark {
  width: 58px;
  height: 58px;
  font-size: 1.35rem;
}
.shop-brand--hero .shop-brand__text {
  font-size: 1.85rem;
}
.shop-impegnosociale-hero__tagline {
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  font-weight: 600;
}
.shop-gestionali-hero__icon {
  width: min(220px, 70%);
  height: auto;
  margin: 0 auto;
  stroke: #fff;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .92;
}

/* ---------------- Ordine email ---------------- */
.shop-order-code {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--mh-radius-sm);
  background: var(--mh-bg);
  border: 1px dashed var(--mh-line);
}
.shop-order-code__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--mh-muted);
}
.shop-order-code__value {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: .35em;
  color: var(--mh-primary-deep);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.shop-order-code__hint {
  font-size: .88rem;
  color: var(--mh-muted);
}
.shop-order-code__input {
  font-size: 1.25rem;
  letter-spacing: .2em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ---------------- Footer ---------------- */
.shop-footer {
  background: var(--mh-navy);
  color: var(--mh-on-dark);
}
.shop-footer__about {
  font-size: .85rem;
  line-height: 1.6;
  margin-top: .75rem;
  color: var(--mh-on-dark-muted);
}
.shop-footer__title {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .9rem;
}
.shop-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.shop-footer__links a {
  color: var(--mh-on-dark);
  font-size: .88rem;
}
.shop-footer__links a:hover {
  color: #fff;
}
.shop-footer__newsletter {
  display: flex;
  gap: .5rem;
}
.shop-footer__newsletter input {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: .55rem .8rem;
  outline: 0;
}
.shop-footer__newsletter button {
  border: 0;
  border-radius: 8px;
  background: var(--mh-accent);
  color: #fff;
  font-weight: 700;
  padding: 0 1.1rem;
  cursor: pointer;
}
.shop-footer__newsletter button:hover {
  background: var(--mh-accent-dark);
}
.shop-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--mh-on-dark-muted);
}

/* ---------------- Assistenza page ---------------- */
.shop-assistenza-banner {
  text-align: center;
}
.shop-assistenza-banner img {
  max-width: 512px;
  width: 100%;
  box-shadow: var(--mh-shadow-sm);
  border-radius: var(--mh-radius);
}
.shop-assistenza-band {
  padding: 1.75rem 1.5rem;
}
.shop-assistenza-intro__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mh-primary);
  margin-bottom: .35rem;
}
.shop-assistenza-intro__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mh-navy);
  margin-bottom: .75rem;
}
.shop-assistenza-intro__text {
  color: var(--mh-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.shop-assistenza-plan {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.shop-assistenza-plan--horizontal {
  text-align: left;
}
.shop-assistenza-plan--horizontal > .row {
  flex: 1;
  width: 100%;
}
.shop-assistenza-plan--horizontal .shop-assistenza-banner {
  text-align: center;
}
.shop-assistenza-plan__icon {
  width: 128px;
  height: 128px;
  object-fit: contain;
  margin-bottom: .75rem;
}
.shop-assistenza-plan__title {
  font-size: 1rem;
  font-weight: 800;
  font-style: italic;
  color: var(--mh-navy);
  margin-bottom: .75rem;
}
.shop-assistenza-plan__svg-icon,
.shop-assistenza-private__icon,
.shop-assistenza-services__icon {
  stroke: var(--mh-primary);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shop-assistenza-plan__svg-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto .75rem;
}
.shop-assistenza-plan__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mh-primary);
  margin-bottom: .35rem;
}
.shop-assistenza-plan__price small {
  font-size: .75rem;
  font-weight: 600;
  color: var(--mh-muted);
}
.shop-assistenza-plan__hours {
  font-size: .95rem;
  font-weight: 700;
  color: var(--mh-navy);
  margin-bottom: .85rem;
}
.shop-assistenza-plan__cta {
  margin-top: auto;
}
.shop-assistenza-plan__details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  color: var(--mh-muted);
  line-height: 1.6;
  text-align: left;
}
.shop-assistenza-plan__details--checks li {
  position: relative;
  padding-left: 1.35rem;
}
.shop-assistenza-plan__details--checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--mh-success);
  font-weight: 800;
}
.shop-assistenza-plan__details li + li {
  margin-top: .45rem;
}
.shop-assistenza-private {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--mh-ink);
}
.shop-assistenza-private__icon {
  width: 56px;
  height: 56px;
  margin-bottom: .75rem;
}
.shop-assistenza-private__note {
  max-width: 40rem;
  color: var(--mh-muted);
  line-height: 1.65;
  margin: .75rem 0 1.25rem;
}
.shop-assistenza-private .shop-assistenza-plan__title {
  margin-bottom: .5rem;
}
.shop-assistenza-private .shop-assistenza-plan__hours {
  margin-bottom: 0;
}
.shop-assistenza-custom {
  padding: 2rem 1.5rem;
}
.shop-assistenza-custom .shop-assistenza-intro__title {
  margin-bottom: .5rem;
}
.shop-assistenza-custom__icon {
  width: 230px;
  max-width: 100%;
  height: auto;
}
.shop-assistenza-cta {
  display: inline-block;
  background: var(--mh-lime);
  color: var(--mh-ink);
  font-weight: 800;
  padding: .9rem 1.75rem;
  border-radius: var(--mh-radius);
  border: 3px solid var(--mh-lime);
  line-height: 1.5;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.shop-assistenza-cta:hover {
  background: var(--mh-lime-dark);
  border-color: var(--mh-lime-dark);
  color: var(--mh-navy);
}
.shop-assistenza-services {
  padding: 2rem;
}
.shop-assistenza-services h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mh-navy);
  margin-bottom: 1.25rem;
}
.shop-assistenza-services__list {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.7;
}
.shop-assistenza-services__list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.shop-assistenza-services__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: .15rem;
}
.shop-assistenza-services__list li + li {
  margin-top: 1rem;
}

/* ---------------- Chi siamo page ---------------- */
.shop-chisiamo-hero__icon {
  width: min(220px, 70%);
  height: auto;
  margin: 0 auto;
  stroke: #fff;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .92;
}
.shop-chisiamo-map {
  border-radius: var(--mh-radius);
  overflow: hidden;
  border: 1px solid var(--mh-line);
  background: var(--mh-bg);
  box-shadow: var(--mh-shadow-sm);
}
.shop-chisiamo-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}
.shop-chisiamo-map--preview iframe {
  min-height: 240px;
}

@media (max-width: 575.98px) {
  .shop-header__inner { flex-wrap: wrap; }
  .shop-search { order: 3; flex-basis: 100%; max-width: none; }
  .shop-nav__menu { flex-wrap: wrap; }
  .shop-nav__btn { flex: 1 1 calc(50% - .25rem); }
  .shop-nav__label { font-size: .7rem; }
}
