* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, sans-serif; margin: 0; color: #222; background: #f7f7f9; }
.container { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem; }
.site-header { background: #fff; border-bottom: 1px solid #eee; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: #111; }
.logo span { color: #e63946; }
.site-header nav a { margin-left: 1.5rem; text-decoration: none; color: #444; font-weight: 500; }
.site-header nav a:hover { color: #e63946; }
h1 { margin-top: 1.5rem; font-size: 1.8rem; }
h2 { font-size: 1.4rem; }
.intro { color: #555; margin-bottom: 2rem; }
.hero { text-align: center; padding: 3rem 1rem; background: linear-gradient(135deg,#fff,#f0f0f5); border-radius: 14px; margin-top: 1.5rem; }
.hero h1 { font-size: 2rem; margin: 0 0 1rem; }
.hero p { color: #555; max-width: 600px; margin: 0 auto 1.5rem; }
.btn { display: inline-block; background: #333; color: #fff; padding: .7rem 1.3rem; border-radius: 8px; text-decoration: none; border: none; cursor: pointer; font-size: .95rem; transition: .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #e63946; }
.btn-primary:hover { background: #c92d3b; }
.btn-small { padding: .4rem .8rem; font-size: .85rem; }
.btn.danger { background: #b71c1c; }
.grid-portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1rem; }
.card-portfolio { background: #fff; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: .2s; }
.card-portfolio:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.card-portfolio img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card-body { padding: 1rem; }
.card-body h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.card-body p { margin: 0; color: #666; font-size: .9rem; }
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.grid-features > div { background: #fff; padding: 1.3rem; border-radius: 10px; }
.grid-features h3 { margin: 0 0 .5rem; color: #e63946; font-size: 1rem; }
.grid-features p { margin: 0; color: #555; font-size: .9rem; }
.form-contatti, .form-checkout, .form-login { background: #fff; padding: 1.5rem; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.05); margin-top: 1.5rem; }
.form-contatti .riga, .form-checkout .riga { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.form-contatti label, .form-checkout label, .form-login label { flex: 1; display: flex; flex-direction: column; gap: .3rem; font-weight: 500; font-size: .9rem; }
.form-contatti input, .form-contatti textarea, .form-checkout input, .form-checkout textarea, .form-login input { padding: .6rem; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; font-family: inherit; }
.form-contatti button { margin-top: 1rem; }
.form-login { max-width: 360px; margin: 4rem auto; }
.form-login h1 { margin-top: 0; font-size: 1.3rem; text-align: center; }
.alert { padding: .9rem 1.2rem; border-radius: 8px; margin: 1rem 0; }
.alert-error { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6cb; }
.alert-success { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.alert ul { margin: 0; padding-left: 1.2rem; }
.tabella-admin { width: 100%; background: #fff; border-radius: 10px; border-collapse: collapse; margin-top: 1rem; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.tabella-admin th, .tabella-admin td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid #eee; font-size: .9rem; }
.tabella-admin th { background: #fafafa; font-weight: 600; }
.azioni a { margin-right: .7rem; text-decoration: none; color: #333; font-size: .85rem; }
.azioni a.danger { color: #b71c1c; }
.azioni a:hover { text-decoration: underline; }
code { background: #f0f0f0; padding: 2px 6px; border-radius: 4px; font-size: .85rem; }
.stato { padding: .2rem .6rem; border-radius: 4px; font-size: .8rem; }
.stato-attivo { background: #d4edda; color: #155724; }
.stato-off { background: #f8d7da; color: #721c24; }
.grid-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1rem; margin-top: 1rem; }
.stat-card { background: #fff; padding: 1.5rem; border-radius: 10px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.stat-card .num { display: block; font-size: 2rem; font-weight: 800; color: #e63946; }
.stat-card span:last-child { color: #666; font-size: .9rem; }
.richiesta { background: #fff; padding: 1.2rem; border-radius: 10px; margin-bottom: 1rem; border-left: 4px solid #ddd; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.richiesta.nuova { border-left-color: #e63946; }
.richiesta.letta { opacity: .7; }
.richiesta-head { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.richiesta-head .data { color: #999; font-size: .85rem; }
.richiesta-contatti { color: #555; font-size: .9rem; margin-bottom: .7rem; }
.richiesta-contatti a { color: #e63946; text-decoration: none; }
.site-footer { margin-top: 3rem; padding: 1.5rem 0; text-align: center; color: #888; font-size: .85rem; border-top: 1px solid #eee; }
@media (max-width: 700px) {
  .form-contatti .riga, .form-checkout .riga { flex-direction: column; }
  .site-header nav a { margin-left: .8rem; font-size: .9rem; }
  .hero h1 { font-size: 1.5rem; }
}
/* === PAGINA CONDIVIDI === */
.condividi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.condividi-card { background: #fff; padding: 1.3rem; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.condividi-card h3 { margin: 0 0 .7rem; font-size: 1rem; }
.condividi-card input { font-family: monospace; font-size: .85rem; }

/* === GRAFICO STATS === */
.chart-container { background: #fff; padding: 1.5rem; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.05); margin-top: 1rem; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding: .5rem 0; border-bottom: 1px solid #eee; }
.chart-bar { flex: 1; background: linear-gradient(to top, #e63946, #ff6b7a); border-radius: 4px 4px 0 0; position: relative; min-height: 4px; transition: .2s; }
.chart-bar:hover { opacity: .8; }
.chart-bar:hover::after { content: attr(data-label); position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%); background: #333; color: #fff; padding: 3px 8px; border-radius: 4px; font-size: .75rem; white-space: nowrap; z-index: 10; }
.chart-labels { display: flex; gap: 6px; margin-top: .3rem; }
.chart-labels span { flex: 1; text-align: center; font-size: .7rem; color: #999; }


/* TEMPLATE CARD (nuovo.php) */

.template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 1rem; }
.template-card { cursor: pointer; }
.template-card input { display: none; }
.template-inner { background: #fff; padding: 1rem; border: 2px solid #eee; border-radius: 10px; text-align: center; transition: .2s; }
.template-card:hover .template-inner { border-color: #ccc; transform: translateY(-2px); }
.template-card input:checked + .template-inner { border-color: #e63946; background: #fff5f6; box-shadow: 0 4px 12px rgba(230,57,70,.15); }
.template-emoji { font-size: 2rem; margin-bottom: .3rem; }
.template-nome { font-weight: 700; font-size: .95rem; }
.template-desc { color: #666; font-size: .8rem; margin-top: .2rem; }


/* SIDEBAR EDITOR: template box + chips */

.tpl-box { background: #333; padding: .8rem; border-radius: 8px; margin-bottom: 1rem; }
.tpl-titolo { font-weight: 700; font-size: .9rem; margin-bottom: .3rem; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip { background: #333; padding: .3rem .7rem; border-radius: 20px; font-size: .75rem; cursor: pointer; transition: .2s; }
.chip:hover { background: #e63946; }


/* LANDING PAGE */

.hero-lp { background: linear-gradient(135deg, #fff 0%, #fff5f6 100%); padding: 4rem 1.5rem 3rem; text-align: center; border-radius: 0 0 24px 24px; }
.hero-lp-content { max-width: 780px; margin: 0 auto; }
.badge-nuovo { display: inline-block; background: #fff0f1; color: #e63946; padding: .4rem 1rem; border-radius: 20px; font-size: .85rem; font-weight: 600; margin-bottom: 1.2rem; }
.hero-lp h1 { font-size: 2.8rem; line-height: 1.15; margin: 0 0 1.2rem; }
.hero-lp h1 .highlight { background: linear-gradient(135deg,#e63946,#ff6b7a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-lp-sub { font-size: 1.1rem; color: #555; margin: 0 auto 2rem; max-width: 620px; line-height: 1.5; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1rem; }
.btn-outline { background: #fff; color: #333; border: 2px solid #333; }
.btn-outline:hover { background: #333; color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }
.hero-trust { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; font-size: .85rem; color: #666; }

.section { padding: 3.5rem 1rem; max-width: 1100px; margin: 0 auto; }
.section-alt { background: #f7f7f9; border-radius: 24px; }
.section-title { text-align: center; font-size: 2rem; margin: 0 0 .5rem; }
.section-sub { text-align: center; color: #666; margin-bottom: 2.5rem; font-size: 1rem; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.step { background: #fff; padding: 1.5rem; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); position: relative; }
.step-num { position: absolute; top: -12px; left: 1.5rem; width: 32px; height: 32px; background: #e63946; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; }
.step h3 { margin: 1rem 0 .5rem; font-size: 1.05rem; }
.step p { margin: 0; color: #666; font-size: .9rem; line-height: 1.5; }

.vantaggi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.vantaggio { text-align: center; padding: 1.5rem; }
.vantaggio-icon { font-size: 2.5rem; margin-bottom: .8rem; }
.vantaggio h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.vantaggio p { margin: 0; color: #666; font-size: .9rem; line-height: 1.5; }

/* PREZZI */
.prezzi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; }
.prezzo-card { background: #fff; border: 2px solid #eee; border-radius: 16px; padding: 2rem 1.5rem; display: flex; flex-direction: column; position: relative; transition: .2s; }
.prezzo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.prezzo-card.in-evidenza { border-color: #e63946; box-shadow: 0 12px 30px rgba(230,57,70,.15); transform: scale(1.03); }
.badge-popolare { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #e63946; color: #fff; padding: .3rem 1rem; border-radius: 20px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.prezzo-nome { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.prezzo-valore { font-size: 2.4rem; font-weight: 800; color: #111; margin-bottom: .3rem; }
.prezzo-valore span { font-size: 1rem; color: #888; font-weight: 400; }
.prezzo-desc { color: #666; font-size: .9rem; margin-bottom: 1.5rem; }
.prezzo-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.prezzo-features li { padding: .4rem 0; font-size: .9rem; color: #444; border-bottom: 1px solid #f0f0f0; }
.prezzi-note { text-align: center; margin-top: 2rem; color: #666; font-size: .95rem; }

/* FAQ */
.faq { max-width: 750px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 10px; padding: 1rem 1.3rem; margin-bottom: .7rem; box-shadow: 0 2px 8px rgba(0,0,0,.04); cursor: pointer; }
.faq summary { font-weight: 600; font-size: .95rem; }
.faq summary::marker { color: #e63946; }
.faq details[open] { padding-bottom: 1.2rem; }
.faq p { margin: .8rem 0 0; color: #666; font-size: .9rem; line-height: 1.5; }

/* CTA FINALE */
.cta-finale { background: linear-gradient(135deg,#111,#2a2a2a); color: #fff; text-align: center; padding: 4rem 1.5rem; margin-top: 3rem; border-radius: 24px 24px 0 0; }
.cta-finale h2 { font-size: 2rem; margin: 0 0 1rem; }
.cta-finale p { color: #aaa; margin-bottom: 2rem; font-size: 1rem; }

@media (max-width: 700px) {
  .hero-lp h1 { font-size: 1.9rem; }
  .hero-lp-sub { font-size: 1rem; }
  .prezzo-card.in-evidenza { transform: none; }
  .section-title { font-size: 1.6rem; }
}



















.hotspot-label .prezzo {
  color: var(--primary);
  font-weight: 800;
  margin-left: .35rem;
  font-size: .75rem;
}

/* Mostra solo quando il mouse passa sopra o l'hotspot e' aperto */

}

.hotspot-label .prezzo {
  color: var(--primary);
  font-weight: 800;
  margin-left: .35rem;
}

.hotspot-label .prezzo-vecchio {
  color: #999;
  font-size: .7rem;
  text-decoration: line-through;
  margin-left: .3rem;
  font-weight: 500;
}

/* Freccia della pillola */


/* Variante senza prezzo: pillola piu compatta */
.hotspot-label.solo-nome {
  font-size: .75rem;
  padding: .3rem .6rem;
}

/* Etichetta a sinistra (per hotspot sul bordo destro) */
.hotspot-label.pos-left {
  left: auto;
  right: calc(100% + 6px);
  bottom: 50%;
  transform: translateY(50%);
}
.hotspot-label.pos-left::after {
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #fff;
  border-right: none;
}

/* Etichetta a destra (per hotspot sul bordo sinistro) */
.hotspot-label.pos-right {
  left: calc(100% + 6px);
  right: auto;
  bottom: 50%;
  transform: translateY(50%);
}
.hotspot-label.pos-right::after {
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #fff;
  border-left: none;
}

/* Mobile: pillole piu piccole */
@media (max-width: 600px) {
  
  
  .hotspot-label .prezzo { font-size: .75rem; }
}


/* ============================================================ */
/* HOTSPOT + ETICHETTE - versione definitiva, regola unica */
/* ============================================================ */

@keyframes hotspot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7); }
  70%  { box-shadow: 0 0 0 14px rgba(var(--primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

.hotspot {
  position: absolute;
  width: 36px;
  height: 36px;
  background: rgba(var(--primary-rgb), 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  animation: hotspot-pulse 2s infinite;
  transition: transform .15s, background .2s;
  z-index: 2;
}

.hotspot:hover {
  background: rgba(var(--primary-rgb), 0.85);
  transform: scale(1.15);
}

/* Etichetta: NASCosta di default */
.hotspot-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) scale(0.9);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #111;
  padding: .3rem .7rem;
  border-radius: 16px;
  font-size: .75rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,0.6);
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  line-height: 1.2;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.hotspot-label .prezzo {
  color: var(--primary);
  font-weight: 800;
  margin-left: .35rem;
}

.hotspot-label .prezzo-vecchio {
  color: #999;
  font-size: .7rem;
  text-decoration: line-through;
  margin-left: .3rem;
  font-weight: 500;
}

.hotspot-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.85);
}

/* Visibile al passaggio del mouse (desktop) o quando selezionato (mobile) */
.hotspot:hover .hotspot-label,
.hotspot.aperto .hotspot-label {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Etichetta spostata a sinistra (per hotspot sul bordo destro) */
.hotspot-label.pos-left {
  left: auto;
  right: calc(100% + 8px);
  bottom: 50%;
  transform: translateY(50%) scale(0.9);
}
.hotspot-label.pos-left::after {
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid rgba(255, 255, 255, 0.85);
  border-right: none;
}
.hotspot:hover .hotspot-label.pos-left,
.hotspot.aperto .hotspot-label.pos-left {
  transform: translateY(50%) scale(1);
}

/* Etichetta spostata a destra (per hotspot sul bordo sinistro) */
.hotspot-label.pos-right {
  left: calc(100% + 8px);
  right: auto;
  bottom: 50%;
  transform: translateY(50%) scale(0.9);
}
.hotspot-label.pos-right::after {
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid rgba(255, 255, 255, 0.85);
  border-left: none;
}
.hotspot:hover .hotspot-label.pos-right,
.hotspot.aperto .hotspot-label.pos-right {
  transform: translateY(50%) scale(1);
}

/* Su mobile (no hover), mostra solo al tap */
@media (hover: none) {
  .hotspot:hover .hotspot-label { opacity: 0; }
  .hotspot.aperto .hotspot-label { opacity: 1; transform: translateX(-50%) scale(1); }
}

@media (max-width: 600px) {
  .hotspot { width: 32px; height: 32px; }
  .hotspot-label { font-size: .7rem; padding: .25rem .55rem; }
}

/* ============================================ */
/* CARD DEMO PORTFOLIO - versione migliorata */
/* ============================================ */

.card-demo-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f5f5f7;
  overflow: hidden;
}

.card-demo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.card-demo:hover .card-demo-img-wrap img {
  transform: scale(1.05);
}

.card-demo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d62828, #f77f00);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

.card-demo-badge {
  position: absolute;
  top: .7rem;
  right: .7rem;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: .25rem .55rem;
  border-radius: 12px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================ */
/* FILTRI PORTFOLIO */
/* ============================================ */

.filtri-portfolio {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
  padding: 0 1rem;
}

.filtro-btn {
  background: #fff;
  border: 2px solid #eee;
  padding: .6rem 1.2rem;
  border-radius: 30px;
  font-size: .9rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.filtro-btn:hover {
  border-color: #ccc;
  transform: translateY(-1px);
}

.filtro-btn.attivo {
  background: #d62828;
  border-color: #d62828;
  color: #fff;
  box-shadow: 0 4px 12px rgba(214,40,40,.25);
}

.filtro-count {
  background: rgba(0,0,0,0.08);
  padding: .1rem .5rem;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 700;
}

.filtro-btn.attivo .filtro-count {
  background: rgba(255,255,255,0.25);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  animation: fadeIn .3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-demo {
  transition: opacity .3s ease, transform .3s ease;
}

@media (max-width: 600px) {
  .filtro-btn {
    padding: .5rem .9rem;
    font-size: .82rem;
  }
}

/* ============================================ */
/* FIX DEFINITIVO CARD DEMO - Override totale */
/* ============================================ */

.card-demo .card-demo-img-wrap {
  height: 220px !important;
  max-height: 220px !important;
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
}

.card-demo .card-demo-img-wrap img,
.card-demo .card-demo-img-wrap svg {
  width: 100% !important;
  height: 100% !important;
  max-height: 220px !important;
  object-fit: cover !important;
  display: block !important;
}

.card-demo .card-demo-badge {
  position: absolute !important;
  top: .7rem !important;
  right: .7rem !important;
  bottom: auto !important;
  max-width: 130px !important;
  font-size: .62rem !important;
  padding: .25rem .55rem !important;
}

.demo-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
}
