/* ===========================
   Shoppi Pay page polish (BS4)
   Scoped: #shoppipay (consigliato)
   =========================== */

#shoppipay .lead {
  line-height: 1.5;
  color: #2b2b2b;
}

/* HERO: leggera enfasi e max width al testo */
#shoppipay section:first-of-type {
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
#shoppipay .display-4 {
  letter-spacing: -.02em;
}
#shoppipay .hero-copy-max {
  max-width: 720px;
}

/* Liste con check “puliti” */
#shoppipay .list-unstyled li {
  position: relative;
  padding-left: 1.35rem;
}
#shoppipay .list-unstyled li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05rem;
  font-weight: 700;
  color: #2db15b; /* verde check */
}

/* Cards più “solide” e uniformi */
#shoppipay .card {
  border-radius: .5rem;
  border-color: #e9eef5;
}
#shoppipay .card-body { padding: 1rem 1.1rem; }
#shoppipay .card:hover {
  box-shadow: 0 10px 24px rgba(26, 33, 52, .08), 0 1px 2px rgba(26,33,52,.05);
  transform: translateY(-1px);
  transition: all .18s ease;
}

/* POS & Buyer protection boxes (a destra) */
#shoppipay .card .h6 {
  font-weight: 600;
  color: #24324a;
}

/* Tabelle tariffe più leggibili */
#shoppipay .table thead th {
  background: #f4f7fb;
  border-bottom: 0;
  color: #415268;
  font-weight: 600;
}
#shoppipay .table td, 
#shoppipay .table th {
  border-top-color: #eef2f6;
}
#shoppipay .table tbody tr:hover {
  background: #fbfdff;
}

/* Collapse stile “accordion” BS4 con chevron */
#shoppipay [data-toggle="collapse"] {
  position: relative;
  text-decoration: none !important;
}
#shoppipay [data-toggle="collapse"]::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-52%) rotate(90deg);
  font-size: 20px;
  color: #7a8aa0;
  transition: transform .2s ease;
}
#shoppipay .collapsed::after {
  transform: translateY(-52%) rotate(0deg);
}
#shoppipay .card-header {
  background: #fff;
  border-bottom-color: #eef2f6;
}
#shoppipay .card-header a.d-block {
  color: #24324a;
}
#shoppipay .card-header a.d-block:hover {
  background: #f7fafd;
}

/* FAQ cards compatte */
#shoppipay #faq .card { border-radius: .5rem; }
#shoppipay #faq .card + .card { margin-top: .5rem; }

/* CTA (barra blu in fondo) più “app” */
#shoppipay .cta-app {
  background: linear-gradient(90deg, #177cff 0%, #0f66d8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* Bottoni: micro-tweak per spacing e focus */
#shoppipay .btn { border-radius: .5rem; }
#shoppipay .btn-lg { padding: .7rem 1.25rem; }
#shoppipay .btn:focus { box-shadow: 0 0 0 .2rem rgba(23,124,255,.18); }

/* Note e small text più leggibili */
#shoppipay .text-muted,
#shoppipay small.text-muted {
  color: #6b7a90 !important;
}

/* Immagini mockup/logo dimensioni comode */
#shoppipay .brand-mark { max-width: 160px; }
#shoppipay .mockup-img { border-radius: .5rem; box-shadow: 0 10px 24px rgba(0,0,0,.06); }

/* Spaziatura verticale tra sezioni su mobile */
@media (max-width: 767.98px) {
  #shoppipay section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

/* Finiture */
#shoppipay .section-divider {
  height: 1px; background: linear-gradient(90deg, rgba(0,0,0,.06), rgba(0,0,0,0));
  margin: 2rem 0;
}

/* CTA finale - miglioria */
#shoppipay .cta-app {
  background: linear-gradient(90deg, #177cff 0%, #0f66d8 100%);
  color: #fff;
  border-radius: .75rem;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

#shoppipay .cta-app h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: #fff;
}

#shoppipay .cta-app p {
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.9);
  font-size: 1rem;
}

#shoppipay .cta-app .btn {
  min-width: 180px;
  font-weight: 600;
  border-radius: .5rem;
}

#shoppipay .cta-app .btn-light {
  background: #fff;
  color: #177cff;
  border: none;
}
#shoppipay .cta-app .btn-light:hover {
  background: #f7f9ff;
}

#shoppipay .cta-app .btn-outline-light {
  border: 2px solid #fff;
}
#shoppipay .cta-app .btn-outline-light:hover {
  background: rgba(255,255,255,.15);
}

/* FAQ area - Shoppi Pay */
#shoppipay #faq .card {
  border: 1px solid #e5e9f0;
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

#shoppipay #faq .card + .card {
  margin-top: .75rem;
}

#shoppipay #faq .card-header {
  background: #f9fbfd;
  border-bottom: 1px solid #e5e9f0;
  padding: 0;
}

#shoppipay #faq .card-header a {
  display: block;
  padding: .85rem 1.25rem;
  font-weight: 600;
  color: #24324a;
  text-decoration: none;
  position: relative;
  transition: background .2s ease;
}

#shoppipay #faq .card-header a:hover {
  background: #f1f6fd;
}

/* caret */
#shoppipay #faq .card-header a::after {
  content: "›";
  font-size: 1.25rem;
  color: #7a8aa0;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transition: transform .2s ease;
}

#shoppipay #faq .card-header a.collapsed::after {
  transform: translateY(-50%) rotate(0deg);
}

#shoppipay #faq .card-body {
  padding: 1rem 1.25rem;
  background: #fff;
  font-size: .9rem;
  color: #4a566e;
  line-height: 1.45;
}
