:root {
  --ntl-red: #b40000;
  --ntl-dark: #07111f;
  --ntl-ink: #18202f;
  --ntl-soft: #f6f3ee;
  --ntl-soft-2: #fffaf2;
  --ntl-line: rgba(7, 17, 31, .12);
  --ntl-gold: #c08a2c;
  --ntl-green: #2f7d5b;
  --ntl-shadow: 0 20px 60px rgba(7, 17, 31, .12);
  --ntl-radius: 22px;
}

.ntl-hero,
.ntl-panel,
.ntl-dashboard-head,
.ntl-card,
.ntl-tile {
  box-sizing: border-box;
}

.ntl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .6fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  background: radial-gradient(circle at top right, rgba(180,0,0,.12), transparent 34%), linear-gradient(135deg, #fff, var(--ntl-soft));
  border: 1px solid var(--ntl-line);
  box-shadow: var(--ntl-shadow);
  margin: 0 0 28px;
}

.ntl-hero h1,
.ntl-dashboard h1 {
  margin: .15em 0 .35em;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.055em;
  color: var(--ntl-dark);
}

.ntl-hero p,
.ntl-dashboard-head p {
  max-width: 760px;
  color: rgba(7, 17, 31, .72);
  font-size: 1.05rem;
}

.ntl-kicker,
.ntl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(180, 0, 0, .09);
  color: var(--ntl-red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ntl-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.ntl-button,
.ntl-search button,
.ntl-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--ntl-red);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(180,0,0,.22);
}

.ntl-button--light {
  background: #fff;
  color: var(--ntl-dark) !important;
  border: 1px solid var(--ntl-line);
  box-shadow: none;
}

.ntl-hero-card,
.ntl-tile {
  border-radius: var(--ntl-radius);
  border: 1px solid var(--ntl-line);
  background: rgba(255,255,255,.82);
  padding: 22px;
  box-shadow: 0 14px 40px rgba(7, 17, 31, .08);
}

.ntl-hero-card strong,
.ntl-tile strong {
  display: block;
  color: var(--ntl-dark);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.ntl-hero-card span {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--ntl-line);
  color: rgba(7, 17, 31, .75);
}

.ntl-grid {
  display: grid;
  gap: 18px;
  margin: 0 0 28px;
}
.ntl-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ntl-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ntl-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ntl-panel {
  margin: 0 0 28px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 28px;
  border: 1px solid var(--ntl-line);
  background: #fff;
  box-shadow: 0 10px 36px rgba(7, 17, 31, .07);
}

.ntl-panel h2 {
  margin: 0 0 16px;
  color: var(--ntl-dark);
  font-size: clamp(1.45rem, 2.6vw, 2.6rem);
  letter-spacing: -.035em;
}

.ntl-muted,
.ntl-card .ntl-muted {
  color: rgba(7, 17, 31, .62);
}

.ntl-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.ntl-search {
  display: flex;
  gap: 8px;
  min-width: min(100%, 420px);
}

.ntl-search input,
.ntl-form input,
.ntl-form select,
.ntl-form textarea,
.ntl-admin-grid input,
.ntl-admin-grid select,
.ntl-admin-grid textarea {
  width: 100%;
  border: 1px solid var(--ntl-line);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ntl-ink);
}

.ntl-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ntl-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ntl-line);
  box-shadow: 0 10px 30px rgba(7, 17, 31, .08);
}

.ntl-card-img,
.ntl-card-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ntl-soft), var(--ntl-soft-2));
  color: var(--ntl-red);
  font-size: 4rem;
  font-weight: 900;
}

.ntl-card-body {
  padding: 18px;
}

.ntl-card h3 {
  margin: 12px 0 6px;
  color: var(--ntl-dark);
  font-size: 1.25rem;
}

.ntl-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ntl-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ntl-line);
}

.ntl-score {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(47, 125, 91, .1);
  color: var(--ntl-green);
  font-weight: 900;
}

.ntl-map {
  min-height: 430px;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--ntl-line);
  overflow: hidden;
  background: var(--ntl-soft);
}

.ntl-reputation {
  margin: 18px 0;
  padding: 18px;
  border-radius: 22px;
  background: var(--ntl-soft-2);
  border: 1px solid rgba(192, 138, 44, .25);
}

.ntl-reputation h3 {
  margin-top: 0;
}

.ntl-rep-grid,
.ntl-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ntl-rep-grid span,
.ntl-meta-grid p {
  margin: 0;
  border: 1px solid var(--ntl-line);
  border-radius: 18px;
  padding: 12px;
  background: #fff;
}

.ntl-rep-grid em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: var(--ntl-red);
  font-weight: 900;
}

.ntl-dashboard-head {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 30px;
  background: linear-gradient(135deg, #fff, var(--ntl-soft));
  border: 1px solid var(--ntl-line);
}

.ntl-notice {
  border-radius: 18px;
  padding: 14px 16px;
  margin: 0 0 18px;
  background: rgba(47, 125, 91, .12);
  color: #225f45;
  font-weight: 700;
}
.ntl-notice--error { background: rgba(180,0,0,.1); color: var(--ntl-red); }

.ntl-json {
  max-height: 320px;
  overflow: auto;
  border-radius: 18px;
  padding: 16px;
  background: var(--ntl-dark);
  color: #f7f7f7;
}

.ntl-product-lines {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--ntl-soft-2);
  border: 1px solid var(--ntl-line);
}
.ntl-product-lines p { margin: 4px 0; }

.ntl-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}

@media (max-width: 980px) {
  .ntl-hero,
  .ntl-dashboard-head,
  .ntl-grid--two,
  .ntl-grid--three,
  .ntl-grid--four,
  .ntl-card-grid,
  .ntl-rep-grid,
  .ntl-meta-grid,
  .ntl-admin-grid {
    grid-template-columns: 1fr;
  }
  .ntl-section-head,
  .ntl-search { flex-direction: column; align-items: stretch; }
  .ntl-map { min-height: 340px; }
}

/* =========================================================
   NEETLY MVP CORE 0.2 - AREA LAVORO FRONTEND
   ========================================================= */

.ntl-work-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

.ntl-work-tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 9px 14px;
  text-decoration: none !important;
  border: 1px solid var(--ntl-line);
  color: var(--ntl-dark) !important;
  background: #fff;
  font-weight: 800;
}

.ntl-work-tab.is-active {
  background: var(--ntl-dark);
  color: #fff !important;
  border-color: var(--ntl-dark);
}

.ntl-work-store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ntl-work-card {
  overflow: hidden;
  border: 1px solid var(--ntl-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 17, 31, .08);
}

.ntl-work-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: grid;
  place-items: center;
}

.ntl-work-card-body {
  padding: 18px;
}

.ntl-work-card h3 {
  margin: 12px 0 6px;
  font-size: 1.25rem;
  color: var(--ntl-dark);
}

.ntl-work-stats,
.ntl-work-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.ntl-work-stats {
  margin: 12px 0;
  color: rgba(7, 17, 31, .68);
  font-weight: 800;
}

.ntl-work-store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ntl-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ntl-form-subtitle {
  margin: 18px 0 6px;
  padding-top: 12px;
  border-top: 1px solid var(--ntl-line);
  color: var(--ntl-red);
  font-weight: 900;
}

.ntl-current-image {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--ntl-soft);
}

.ntl-product-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ntl-product-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.ntl-product-table th,
.ntl-product-table td {
  padding: 12px;
  border-bottom: 1px solid var(--ntl-line);
  text-align: left;
  vertical-align: middle;
}

.ntl-product-table th {
  color: var(--ntl-dark);
  background: var(--ntl-soft);
  font-size: .9rem;
}

.ntl-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ntl-product-cell small {
  display: block;
  margin-top: 3px;
  color: rgba(7, 17, 31, .55);
}

.ntl-product-mini {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--ntl-soft);
  display: inline-grid;
  place-items: center;
  flex: 0 0 52px;
}

.ntl-product-mini--empty {
  color: var(--ntl-red);
  font-size: 2rem;
  line-height: 1;
}

.ntl-form input[type="file"] {
  padding: 10px;
  border: 1px dashed var(--ntl-line);
  border-radius: 16px;
  background: var(--ntl-soft-2);
}

@media (max-width: 980px) {
  .ntl-work-store-grid,
  .ntl-form-row,
  .ntl-work-store-head {
    grid-template-columns: 1fr;
  }
  .ntl-work-store-head {
    display: grid;
  }
  .ntl-work-actions .ntl-button {
    width: 100%;
  }
}


/* =========================================================
   NEETLY - WooCommerce product provenance
   Mostra chiaramente da quale negozio arriva ogni prodotto.
   ========================================================= */

.ntl-loop-store-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 7px;
  width: 100%;
  margin: 6px 0 8px;
  padding: 8px 9px;
  border-radius: 14px;
  background: rgba(180, 0, 0, .07);
  border: 1px solid rgba(180, 0, 0, .13);
  color: rgba(7, 17, 31, .74);
  font-size: .78rem;
  line-height: 1.2;
  text-align: center;
}

.ntl-loop-store-badge .ntl-loop-store-label {
  color: rgba(7, 17, 31, .55);
  font-weight: 700;
}

.ntl-loop-store-badge a {
  color: var(--ntl-red, #b40000) !important;
  font-weight: 900;
  text-decoration: none !important;
}

.ntl-loop-store-badge a:hover {
  text-decoration: underline !important;
}

.ntl-loop-store-score {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 7px;
  background: #fff;
  border: 1px solid rgba(7, 17, 31, .1);
  color: rgba(7, 17, 31, .7);
  font-size: .7rem;
  font-weight: 800;
}

.ntl-product-lines {
  display: grid;
  gap: 7px;
  margin: 10px 0 12px;
  padding: 12px;
  border-radius: 16px;
  background: #fffaf2;
  border: 1px solid rgba(192, 138, 44, .26);
}

.ntl-product-lines p {
  margin: 0 !important;
  color: rgba(7, 17, 31, .78);
}

.ntl-product-lines a {
  color: var(--ntl-red, #b40000) !important;
  font-weight: 900;
  text-decoration: none !important;
}

.woocommerce ul.products li.product .ntl-loop-store-badge,
.woocommerce-page ul.products li.product .ntl-loop-store-badge {
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .ntl-loop-store-badge {
    gap: 4px;
    margin: 5px 0 7px;
    padding: 7px 6px;
    border-radius: 12px;
    font-size: .68rem;
  }

  .ntl-loop-store-score {
    font-size: .62rem;
    padding: 2px 6px;
  }
}


/* =========================================================
   NEETLY MVP CORE 0.3.3 - MAPPA NEGOZI
   ========================================================= */

.ntl-map-panel .ntl-map {
  min-height: 560px;
}

.leaflet-popup-content strong {
  color: var(--ntl-dark);
  font-size: 1rem;
}

.leaflet-popup-content .ntl-map-popup-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--ntl-red);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}

@media (max-width: 720px) {
  .ntl-map-panel .ntl-map {
    min-height: 420px;
    border-radius: 18px;
  }
}

/* =========================================================
   NEETLY MVP CORE 0.3.8 - ZOOM OUT MAPPA E MARKER RIDOTTO
   ========================================================= */

.ntl-marker-cluster {
  display: grid;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  margin-left: -22px !important;
  margin-top: -22px !important;
  border-radius: 999px;
  background: rgba(180, 0, 0, .18);
  border: 2px solid rgba(255, 255, 255, .98);
  box-shadow: 0 10px 26px rgba(7, 17, 31, .22);
  cursor: pointer;
}

.ntl-marker-cluster span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ntl-red, #b40000);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1;
}

.ntl-marker-cluster:hover {
  transform: scale(1.04);
}


/* =========================================================
   Mappe Neetly: anti blocco scroll pagina
   Non cambia la grafica, cambia solo il comportamento touch/mouse.
   ========================================================= */
.ntl-map.ntl-map-interaction-locked {
  pointer-events: none !important;
  touch-action: pan-y !important;
}

.ntl-map.ntl-map-interaction-locked * {
  pointer-events: none !important;
  touch-action: pan-y !important;
}

.ntl-map.ntl-map-interaction-ready,
.ntl-map.ntl-map-interaction-ready * {
  pointer-events: auto !important;
  touch-action: auto;
}

/* =========================================================
   NEETLY MVP CORE 0.3.16 - POPUP MARKER CON FOTO + AUTO-PAN
   Il popup resta leggibile anche vicino ai bordi della mappa.
   ========================================================= */

.leaflet-popup.ntl-map-popup-shell .leaflet-popup-content {
  margin: 12px;
  min-width: 220px;
  max-width: 280px;
}

.leaflet-popup-content .ntl-map-popup {
  min-width: 220px;
  max-width: 280px;
  color: var(--ntl-dark, #07111f);
  font-family: inherit;
}

.leaflet-popup-content .ntl-map-popup-image {
  width: 100%;
  height: 118px;
  margin: 0 0 9px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eeeeee;
  border: 1px solid rgba(7, 17, 31, .08);
}

.leaflet-popup-content .ntl-map-popup-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center center;
}

.leaflet-popup-content .ntl-map-popup small {
  color: #555555;
  line-height: 1.35;
}

.leaflet-popup-content .ntl-map-popup em {
  display: inline-block;
  margin-top: 3px;
  color: var(--ntl-red, #b40000);
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 600px) {
  .leaflet-popup.ntl-map-popup-shell .leaflet-popup-content,
  .leaflet-popup-content .ntl-map-popup {
    min-width: 200px;
    max-width: 240px;
  }

  .leaflet-popup-content .ntl-map-popup-image {
    height: 104px;
  }
}


/* =========================================================
   NEETLY MVP CORE 0.3.18 - INTRO MINISITO NEGOZIO
   Cover responsive, avatar negoziante e reputazione compatta.
   ========================================================= */

.ntl-store-intro {
  width: 100%;
  max-width: 100%;
  margin: 0 0 28px 0;
  padding: clamp(14px, 2.2vw, 22px);
  box-sizing: border-box;
  border: 1px solid var(--ntl-line, rgba(7, 17, 31, .12));
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(7, 17, 31, .07);
  font-family: Poppins, Arial, Helvetica, sans-serif;
}

.ntl-store-intro-cover {
  position: relative;
  width: 100%;
  height: clamp(230px, 28vw, 380px);
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #f6f3ee, #fffaf2);
  border: 1px solid rgba(7, 17, 31, .08);
}

.ntl-store-intro-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0) 48%, rgba(7, 17, 31, .20) 100%);
}

.ntl-store-intro-cover-img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center center;
}

.ntl-store-intro-cover--empty {
  display: grid;
  place-items: center;
}

.ntl-store-intro-cover--empty span {
  color: var(--ntl-red, #b40000);
  font-size: clamp(74px, 10vw, 128px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
}

.ntl-store-intro-name {
  margin: 18px auto 18px auto !important;
  padding: 0 10px !important;
  color: var(--ntl-dark, #07111f) !important;
  font-family: Poppins, Arial, Helvetica, sans-serif !important;
  font-size: clamp(34px, 5vw, 62px) !important;
  font-weight: 800 !important;
  line-height: .96 !important;
  letter-spacing: -1px !important;
  text-align: center !important;
}

.ntl-store-intro-body {
  width: min(100%, 780px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(280px, 420px);
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.ntl-store-intro-owner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.ntl-store-intro-owner-avatar {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff;
  border: 4px solid var(--ntl-red, #b40000);
  box-shadow: 0 14px 34px rgba(7, 17, 31, .14);
}

.ntl-store-intro-owner-img,
.ntl-store-intro-owner-avatar .avatar {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.ntl-store-intro-owner-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--ntl-red, #b40000);
  background: #fff7f7;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.ntl-store-intro-reputation {
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 22px;
  background: #fffaf2;
  border: 1px solid rgba(192, 138, 44, .25);
}

.ntl-store-intro-reputation-head {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin-bottom: 10px;
  text-align: center;
}

.ntl-store-intro-reputation-kicker {
  color: var(--ntl-red, #b40000);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.ntl-store-intro-reputation-score {
  color: var(--ntl-dark, #07111f);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}

.ntl-store-intro-reputation-city {
  color: rgba(7, 17, 31, .60);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.ntl-store-intro-stars,
.ntl-store-intro-reputation-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.ntl-store-intro-stars--main {
  width: 100%;
  margin: 0 0 12px 0;
}

.ntl-store-intro-star {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.ntl-store-intro-stars--main .ntl-store-intro-star {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
}

.ntl-store-intro-reputation-list {
  display: grid;
  gap: 8px;
}

.ntl-store-intro-reputation-row {
  display: grid;
  grid-template-columns: minmax(86px, 1fr) auto 42px;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 9px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(7, 17, 31, .08);
}

.ntl-store-intro-reputation-label {
  color: var(--ntl-dark, #07111f);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
}

.ntl-store-intro-reputation-value {
  color: var(--ntl-red, #b40000);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.ntl-store-intro-reputation-row .ntl-store-intro-star {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

@media (max-width: 600px) {
  .ntl-store-intro {
    margin: 0 0 18px 0;
    padding: 10px;
    border-radius: 20px;
  }

  .ntl-store-intro-cover {
    height: 178px;
    border-radius: 16px;
  }

  .ntl-store-intro-name {
    margin: 13px auto 13px auto !important;
    padding: 0 4px !important;
    font-size: clamp(28px, 9vw, 40px) !important;
    line-height: .95 !important;
  }

  .ntl-store-intro-body {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }

  .ntl-store-intro-owner-avatar {
    width: 96px;
    height: 96px;
    border-width: 3px;
  }

  .ntl-store-intro-reputation {
    width: 100%;
    max-width: 100%;
    padding: 11px;
    border-radius: 18px;
  }

  .ntl-store-intro-reputation-score {
    font-size: 25px;
  }

  .ntl-store-intro-stars--main {
    margin-bottom: 9px;
  }

  .ntl-store-intro-stars--main .ntl-store-intro-star {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .ntl-store-intro-reputation-list {
    gap: 7px;
  }

  .ntl-store-intro-reputation-row {
    grid-template-columns: minmax(76px, 1fr) auto 38px;
    gap: 6px;
    min-height: 34px;
    padding: 7px;
    border-radius: 12px;
  }

  .ntl-store-intro-reputation-label,
  .ntl-store-intro-reputation-value {
    font-size: 12px;
  }

  .ntl-store-intro-reputation-row .ntl-store-intro-star {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }
}

/* =========================================================
   NEETLY MVP CORE 0.3.19 - MINISITO NEGOZIO MAPPA + CONTATTI
   - stelle intro a 10 icone
   - mappa spostata subito sotto intro/reputazione
   - box contatti e profili social responsive
   ========================================================= */

.ntl-store-intro-stars--main {
  max-width: 100%;
  flex-wrap: wrap;
  row-gap: 5px;
}

.ntl-store-intro-stars--main .ntl-store-intro-star {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
}

.ntl-store-intro-reputation-stars {
  flex-wrap: nowrap;
  gap: 2px;
}

.ntl-store-intro-reputation-row {
  grid-template-columns: minmax(74px, 1fr) minmax(128px, auto) 44px;
}

.ntl-store-intro-reputation-row .ntl-store-intro-star {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
}

.ntl-store-intro-map-panel,
.ntl-store-intro-contact {
  width: min(100%, 980px);
  margin: 22px auto 0 auto;
  box-sizing: border-box;
  font-family: Poppins, Arial, Helvetica, sans-serif;
}

.ntl-store-intro-map-panel {
  padding: clamp(12px, 2vw, 18px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(7, 17, 31, .10);
  box-shadow: 0 10px 30px rgba(7, 17, 31, .06);
}

.ntl-store-intro-map-head,
.ntl-store-intro-contact-head {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0 0 14px 0;
  text-align: center;
}

.ntl-store-intro-map-kicker,
.ntl-store-intro-contact-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ntl-red, #b40000);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.ntl-store-intro-map-title,
.ntl-store-intro-contact-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ntl-dark, #07111f) !important;
  font-size: clamp(24px, 3.2vw, 38px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
  text-align: center !important;
}

.ntl-store-intro-map-panel .ntl-map {
  min-height: 360px;
  height: 42vh;
  max-height: 520px;
  border-radius: 20px;
}

.ntl-store-intro-contact {
  padding: clamp(14px, 2.4vw, 22px);
  border-radius: 24px;
  background: #fffaf2;
  border: 1px solid rgba(192, 138, 44, .25);
}

.ntl-store-intro-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.ntl-store-intro-contact-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 96px;
  padding: 15px 13px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(7, 17, 31, .08);
  box-shadow: 0 8px 20px rgba(7, 17, 31, .045);
  text-align: center;
  overflow-wrap: anywhere;
}

.ntl-store-intro-contact-label {
  display: block;
  color: rgba(7, 17, 31, .58);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ntl-store-intro-contact-value {
  display: block;
  color: var(--ntl-dark, #07111f) !important;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.22;
  text-decoration: none !important;
}

.ntl-store-intro-contact-card a.ntl-store-intro-contact-value {
  color: var(--ntl-red, #b40000) !important;
}

.ntl-store-intro-contact-card a.ntl-store-intro-contact-value:hover {
  text-decoration: underline !important;
}

@media (max-width: 900px) {
  .ntl-store-intro-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ntl-store-intro-map-panel .ntl-map {
    min-height: 320px;
    height: 44vh;
  }
}

@media (max-width: 600px) {
  .ntl-store-intro-stars--main .ntl-store-intro-star {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .ntl-store-intro-reputation-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    padding: 9px 7px;
  }

  .ntl-store-intro-reputation-stars {
    flex-wrap: wrap;
    max-width: 155px;
    row-gap: 3px;
  }

  .ntl-store-intro-reputation-row .ntl-store-intro-star {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .ntl-store-intro-reputation-value {
    text-align: center;
  }

  .ntl-store-intro-map-panel,
  .ntl-store-intro-contact {
    width: 100%;
    margin-top: 14px;
    border-radius: 18px;
  }

  .ntl-store-intro-map-panel {
    padding: 9px;
  }

  .ntl-store-intro-map-panel .ntl-map {
    min-height: 250px;
    height: 52vh;
    max-height: 360px;
    border-radius: 15px;
  }

  .ntl-store-intro-contact {
    padding: 11px;
  }

  .ntl-store-intro-contact-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .ntl-store-intro-contact-card {
    min-height: 78px;
    padding: 12px 10px;
    border-radius: 15px;
  }

  .ntl-store-intro-contact-value {
    font-size: 14px;
  }
}

/* =========================================================
   NEETLY MVP CORE 0.3.20 - MINISITO NEGOZIO RIFINITURA
   - tabella reputazione senza valore testuale 3/5
   - popup marker con indirizzo breve
   - pulsante modifica sito per admin/venditore
   Regole nuove senza !important.
   ========================================================= */

.ntl-store-intro-reputation-row {
  grid-template-columns: minmax(90px, 1fr) minmax(150px, auto);
}

.ntl-store-intro-reputation-value {
  display: none;
}

.ntl-store-intro-reputation-stars {
  min-width: 150px;
}

.ntl-store-intro-reputation-stars .ntl-store-intro-star {
  width: 13px;
  height: 13px;
  flex-basis: 13px;
}

.leaflet-popup-content .ntl-map-popup {
  display: grid;
  gap: 5px;
}

.leaflet-popup-content .ntl-map-popup-title {
  display: block;
  color: var(--ntl-dark, #07111f);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
}

.leaflet-popup-content .ntl-map-popup-address {
  display: block;
  color: #555555;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.leaflet-popup-content .ntl-map-popup-reputation {
  display: block;
  color: var(--ntl-red, #b40000);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.leaflet-popup-content .ntl-map-popup-geo-warning {
  display: block;
  color: #777777;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.ntl-store-intro-edit-site {
  width: min(100%, 980px);
  margin: 22px auto 0 auto;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  font-family: Poppins, Arial, Helvetica, sans-serif;
}

.ntl-store-intro-edit-site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ntl-red, #b40000);
  color: #ffffff;
  border: 0;
  box-shadow: 0 12px 30px rgba(180, 0, 0, .18);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.ntl-store-intro-edit-site-button:hover,
.ntl-store-intro-edit-site-button:focus {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(180, 0, 0, .24);
}

@media (max-width: 600px) {
  .ntl-store-intro-reputation-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .ntl-store-intro-reputation-stars {
    min-width: 0;
    max-width: 170px;
    justify-content: center;
  }

  .ntl-store-intro-edit-site {
    width: 100%;
    margin-top: 16px;
    padding: 0 4px;
  }

  .ntl-store-intro-edit-site-button {
    width: 100%;
    max-width: 280px;
    min-height: 44px;
    padding: 11px 18px;
  }
}

/* =========================================================
   NEETLY 0.3.24 - SLIDER NEGOZI HOME UNA RIGA
   Shortcode: [neetly_store_slider_safe limit="-1" orderby="date" loop="on"]
   Obiettivo:
   - slider negozi aggiuntivo per home
   - una sola riga a qualsiasi risoluzione
   - nessuno sfondo decorativo e nessun bordo decorativo
   - classi CSS dedicate per ogni elemento
   - regole senza !important per permettere modifiche dal CSS personalizzato
   ========================================================= */

.ntl-store-slider-real,
html body .ntl-store-slider-real,
html body.home .ntl-store-slider-real {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto 28px auto;
  padding: clamp(10px, 2vw, 18px);
  box-sizing: border-box;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  color: var(--ntl-dark, #07111f);
  overflow: visible;
  --ntl-store-slider-gap: 14px;
  --ntl-store-slider-card-width: 220px;
}

.ntl-store-slider-real__shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
}

.ntl-store-slider-real__header {
  width: min(100%, 980px);
  margin: 0 auto 16px auto;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}

.ntl-store-slider-real__heading {
  margin: 0 0 6px 0;
  padding: 0;
  color: var(--ntl-dark, #07111f);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.05em;
  text-align: center;
}

.ntl-store-slider-real__subtitle {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  color: rgba(7, 17, 31, .66);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.ntl-store-slider-real__empty {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 18px;
  box-sizing: border-box;
  text-align: center;
}

.ntl-store-slider-real__empty-text {
  margin: 0;
  padding: 0;
  color: rgba(7, 17, 31, .70);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.ntl-store-slider-real__stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 52px;
  box-sizing: border-box;
  overflow: visible;
}

.ntl-store-slider-real__viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.ntl-store-slider-real__track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(1, auto);
  grid-auto-columns: var(--ntl-store-slider-card-width);
  gap: var(--ntl-store-slider-gap);
  width: max-content;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
  float: none;
  clear: none;
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.ntl-store-slider-real__card {
  width: var(--ntl-store-slider-card-width);
  max-width: var(--ntl-store-slider-card-width);
  min-width: var(--ntl-store-slider-card-width);
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  float: none;
  clear: none;
}

.ntl-store-slider-real__image-link {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.ntl-store-slider-real__image-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.ntl-store-slider-real__image,
.ntl-store-slider-real__image-wrap img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
}

.ntl-store-slider-real__image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  color: var(--ntl-red, #b40000);
}

.ntl-store-slider-real__image-placeholder-letter {
  display: block;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}

.ntl-store-slider-real__card-body {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 13px 12px 14px 12px;
  box-sizing: border-box;
  text-align: center;
}

.ntl-store-slider-real__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--ntl-red, #b40000);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}

.ntl-store-slider-real__title {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ntl-dark, #07111f);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  text-align: center;
}

.ntl-store-slider-real__title-link {
  color: inherit;
  text-decoration: none;
}

.ntl-store-slider-real__title-link:hover,
.ntl-store-slider-real__title-link:focus {
  color: var(--ntl-red, #b40000);
}

.ntl-store-slider-real__address {
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 0;
  color: rgba(7, 17, 31, .60);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.ntl-store-slider-real__meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ntl-store-slider-real__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0;
  padding: 0;
  color: var(--ntl-red, #b40000);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.ntl-store-slider-real__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 160px);
  min-height: 38px;
  margin: auto 0 0 0;
  padding: 9px 13px;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: var(--ntl-red, #b40000);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.ntl-store-slider-real__button:hover,
.ntl-store-slider-real__button:focus {
  color: var(--ntl-dark, #07111f);
}

.ntl-store-slider-real__arrow {
  position: absolute;
  top: 50%;
  z-index: 40;
  width: 58px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  box-shadow: none;
  opacity: .62;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .18s ease, transform .18s ease;
}

.ntl-store-slider-real__arrow:hover,
.ntl-store-slider-real__arrow:focus {
  opacity: .96;
  transform: translateY(-50%) scale(1.06);
  outline: none;
}

.ntl-store-slider-real__arrow:disabled {
  opacity: .22;
  cursor: default;
  pointer-events: none;
}

.ntl-store-slider-real__arrow--prev {
  left: -4px;
}

.ntl-store-slider-real__arrow--next {
  right: -4px;
}

.ntl-store-slider-real__arrow-icon {
  display: block;
  margin: -3px 0 0 0;
  padding: 0;
  color: inherit;
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
}

.ntl-store-slider-real--static .ntl-store-slider-real__arrow {
  display: none;
}

.ntl-store-slider-real--static .ntl-store-slider-real__stage {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 720px) {
  .ntl-store-slider-real,
  html body .ntl-store-slider-real {
    margin-bottom: 22px;
    padding: 12px;
  }

  .ntl-store-slider-real__stage {
    padding-left: 40px;
    padding-right: 40px;
  }

  .ntl-store-slider-real__arrow {
    width: 36px;
    height: 62px;
  }

  .ntl-store-slider-real__arrow-icon {
    font-size: 40px;
  }

  .ntl-store-slider-real__title {
    font-size: 16px;
  }

  .ntl-store-slider-real__card-body {
    padding: 11px 9px 12px 9px;
  }
}

@media (max-width: 600px) {
  .ntl-store-slider-real,
  html body .ntl-store-slider-real {
    margin-bottom: 20px;
    padding: 10px;
    --ntl-store-slider-gap: 10px;
  }

  .ntl-store-slider-real__header {
    margin-bottom: 12px;
  }

  .ntl-store-slider-real__stage {
    padding-left: 30px;
    padding-right: 30px;
  }

  .ntl-store-slider-real__image-wrap {
    aspect-ratio: 1 / 1;
  }

  .ntl-store-slider-real__kicker {
    font-size: 8px;
  }

  .ntl-store-slider-real__title {
    font-size: 14px;
    line-height: 1.05;
  }

  .ntl-store-slider-real__address {
    min-height: 28px;
    font-size: 10px;
    line-height: 1.22;
  }

  .ntl-store-slider-real__score {
    font-size: 10px;
  }

  .ntl-store-slider-real__button {
    width: 100%;
    min-height: 34px;
    padding: 8px 9px;
    font-size: 10px;
  }

  .ntl-store-slider-real__arrow {
    width: 28px;
    height: 54px;
  }

  .ntl-store-slider-real__arrow--prev {
    left: 0;
  }

  .ntl-store-slider-real__arrow--next {
    right: 0;
  }

  .ntl-store-slider-real__arrow-icon {
    font-size: 32px;
  }
}

