
/* Vetrineshop Promo Core
 * Data creazione: 2026-06-18
 * Aggiornamento: 2026-06-21
 * Stili frontend archivio promozioni SEO a fascioni
 */

.vspromo-archive-header {
  margin-bottom: 28px;
}

.vspromo-archive-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 18px 0 14px;
}

.vspromo-archive-intro {
  max-width: 860px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: #444;
}

.vspromo-archive-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  color: #666;
  font-size: .95rem;
}

.vspromo-fascioni-list {
  display: grid;
  gap: 22px;
}

.vspromo-fascione {
  display: grid;
  grid-template-columns: 210px 330px minmax(0, 1fr);
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.06);
}

.vspromo-fascione__deal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  color: #fff;
  background: #475569;
}

.vspromo-fascione--saldi .vspromo-fascione__deal {
  background: #a3e635;
  color: #111827;
}

.vspromo-fascione--svendita .vspromo-fascione__deal {
  background: #ec4899;
  color: #ffffff;
}

.vspromo-fascione--outlet .vspromo-fascione__deal {
  background: #7c3aed;
  color: #ffffff;
}

.vspromo-fascione--open_day .vspromo-fascione__deal {
  background: #2563eb;
  color: #ffffff;
}

.vspromo-fascione--nuova_collezione .vspromo-fascione__deal {
  background: #059669;
  color: #ffffff;
}

.vspromo-fascione--black_friday .vspromo-fascione__deal {
  background: #111827;
  color: #ffffff;
}

.vspromo-fascione--trunk_show .vspromo-fascione__deal {
  background: #db2777;
  color: #ffffff;
}

.vspromo-fascione--flash_sale .vspromo-fascione__deal {
  background: #f97316;
  color: #ffffff;
}

.vspromo-fascione--seasonal .vspromo-fascione__deal,
.vspromo-fascione--promo .vspromo-fascione__deal {
  background: #475569;
  color: #ffffff;
}

.vspromo-fascione__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 10px 18px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 2px solid currentColor;
  background: transparent;
  font-weight: 900;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.vspromo-fascione__label {
  font-weight: 700;
  text-transform: uppercase;
  opacity: .9;
}

.vspromo-fascione__deal strong {
  display: block;
  margin: 6px 0 16px;
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  line-height: .9;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.vspromo-fascione__date {
  font-size: .92rem;
  font-weight: 700;
}

.vspromo-fascione__media {
  position: relative;
  display: block;
  min-height: 260px;
  background: #f4f4f4;
}

.vspromo-fascione__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.vspromo-fascione__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.34));
  pointer-events: none;
}

.vspromo-fascione__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.vspromo-fascione__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.vspromo-fascione__meta span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f7f7f7;
  color: #555;
  font-size: .82rem;
  font-weight: 700;
}

.vspromo-fascione h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.14;
}

.vspromo-fascione h2 a {
  color: inherit;
  text-decoration: none;
}

.vspromo-fascione__content p {
  margin: 0 0 16px;
  color: #444;
  line-height: 1.55;
}

.vspromo-fascione__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 20px;
}

.vspromo-fascione__chips span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(229,23,82,.18);
  border-radius: 10px;
  background: rgba(229,23,82,.05);
  color: #c41446;
  font-size: .88rem;
  font-weight: 600;
}

.vspromo-fascione__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.vspromo-fascione__cta,
.vspromo-fascione__shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.vspromo-fascione__cta {
  background: #111827;
  color: #fff;
}

.vspromo-fascione__shop {
  background: #f6f6f6;
  color: #222;
}

.vspromo-archive-pagination {
  margin: 28px 0;
  text-align: center;
}

.vspromo-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  margin: 0 3px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #222;
  text-decoration: none;
  font-weight: 700;
}

.vspromo-archive-pagination .current {
  background: #e51752;
  color: #fff;
}

.vspromo-seo-box,
.vspromo-empty {
  margin: 34px 0 0;
  padding: 26px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: #fff;
}

.vspromo-seo-box h2,
.vspromo-empty h2 {
  margin-top: 0;
}

.vspromo-seo-box p,
.vspromo-empty p {
  color: #444;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .vspromo-fascione {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .vspromo-fascione__media {
    grid-column: 1 / -1;
    order: -1;
  }

  .vspromo-fascione__deal {
    min-height: 190px;
  }
}

@media (max-width: 680px) {
  .vspromo-archive-toolbar {
    flex-direction: column;
  }

  .vspromo-fascione {
    grid-template-columns: 1fr;
  }

  .vspromo-fascione__deal {
    min-height: auto;
    padding: 22px;
  }

  .vspromo-fascione__media,
  .vspromo-fascione__media img {
    min-height: 220px;
  }

  .vspromo-fascione__content {
    padding: 22px;
  }
}


/* Nome negozio nel fascione promozione */
.vspromo-fascione .vspromo-fascione__deal .vspromo-fascione__deal-shop {
  display: -webkit-box;
  margin: -2px 0 22px;
  font-size: clamp(1.22rem, 1.9vw, 1.5rem);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.12;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* CTA archivio promozioni: testo sempre bianco */
.vspromo-fascione__cta,
.vspromo-fascione__cta:visited,
.vspromo-fascione__cta:hover,
.vspromo-fascione__cta:focus,
.vspromo-fascione__cta:active {
  color: #ffffff !important;
  text-decoration: none;
}


/* Badge promozione terminata — 2026-06-23 */
.vspromo-expired-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 8px;
  padding: 12px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(220, 38, 38, .22);
}



/* Badge ultimo giorno promozione — 2026-06-23 */
.vspromo-last-day-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 8px;
  padding: 12px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(234, 88, 12, .22);
}


/* Breadcrumb promo — allineamento standard Vetrineshop — 2026-06-23 */
.pagina-promozioni-archive .vspromo-breadcrumb,
.vspromo-public .vspromo-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  line-height: 1.45;
}

.pagina-promozioni-archive .vspromo-archive-header,
.pagina-promozioni-archive .vspromo-shop-promos-header {
  padding-top: 0;
}

.single-vs_promo_campaign .vspromo-public {
  padding-top: 0;
}


/* Promo Core — ritmo verticale header pagine pubbliche — 2026-06-23 */
.pagina-promozioni-archive .vspromo-archive-header,
.pagina-promozioni-archive .vspromo-shop-promos-header {
  max-width: 920px;
  margin: 0 0 34px;
}

.pagina-promozioni-archive .vspromo-archive-header h1,
.pagina-promozioni-archive .vspromo-shop-promos-header h1 {
  margin: 0 0 14px;
  line-height: 1.08;
}

.pagina-promozioni-archive .vspromo-archive-intro {
  max-width: 860px;
  margin: 0;
  line-height: 1.65;
}

.pagina-promozioni-archive .vspromo-archive-toolbar {
  margin: 0 0 28px;
}

.pagina-promozioni-archive .vspromo-shop-promos-section {
  margin-top: 38px;
}

.pagina-promozioni-archive .vspromo-shop-promos-section:first-of-type {
  margin-top: 0;
}

.pagina-promozioni-archive .vspromo-shop-promos-section h2 {
  margin: 0 0 18px;
  line-height: 1.15;
}


/* Promo Core — spazio sezione promozioni terminate — 2026-06-23 */
.pagina-promozioni-archive .vspromo-shop-promos-section--expired {
  margin-top: 56px;
}

.pagina-promozioni-archive .vspromo-shop-promos-section--expired h2 {
  margin-bottom: 12px;
}


/* Promo Core — fix definitivo spazio sezione terminate archivio negozio — 2026-06-23 */
.vspromo-shop-promos-section.vspromo-shop-promos-section--expired {
  margin-top: 64px !important;
  padding-top: 4px;
}

.vspromo-shop-promos-section.vspromo-shop-promos-section--expired h2 {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}


/* Promo Core — badge ultimo giorno compatto globale — 2026-06-23 */
.vspromo-last-day-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  border-radius: 999px;
  background: #f97316;
  color: #ffffff;
  padding: 7px 12px;
  margin-top: 10px;
  font-size: 0.82rem !important;
  line-height: 1 !important;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.vspromo-hero .vspromo-last-day-badge,
.vspromo-hero-content .vspromo-last-day-badge {
  margin: 14px 0 0;
  font-size: 0.82rem !important;
}


/* Promo Core — discovery/linking panel hub promozioni — 2026-06-23 */
.vspromo-discovery-panel {
  margin: 0 0 34px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.vspromo-discovery-panel__intro {
  margin: 0 0 20px;
}

.vspromo-discovery-panel__intro h2,
.vspromo-internal-links h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.vspromo-discovery-panel__intro p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.vspromo-internal-links {
  margin-top: 22px;
}

.vspromo-internal-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vspromo-internal-links__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 9px 14px;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
  font-size: .94rem;
  line-height: 1;
}

.vspromo-internal-links__pill:hover {
  background: #eef6ff;
  border-color: #bfdbfe;
  text-decoration: none;
}

.vspromo-internal-links__pill small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  font-size: .78rem;
  font-weight: 900;
}

@media (max-width: 640px) {
  .vspromo-discovery-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .vspromo-internal-links__grid {
    gap: 8px;
  }

  .vspromo-internal-links__pill {
    padding: 8px 12px;
    font-size: .88rem;
  }
}


/* Promo Core — discovery panel compatto hub promozioni — 2026-06-23 */
.vspromo-discovery-panel--compact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  padding: 16px 18px;
  margin-bottom: 34px;
}

.vspromo-discovery-panel--compact .vspromo-internal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.vspromo-discovery-panel--compact .vspromo-internal-links h2 {
  margin: 0;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
}

.vspromo-discovery-panel--compact .vspromo-internal-links__grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.vspromo-discovery-panel--compact .vspromo-internal-links__pill {
  padding: 8px 12px;
  font-size: .9rem;
}

@media (max-width: 760px) {
  .vspromo-discovery-panel--compact {
    align-items: flex-start;
    gap: 14px;
  }

  .vspromo-discovery-panel--compact .vspromo-internal-links {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}


/* Promo Core — distanza standard tra fascioni — 2026-06-23 */
.vspromo-fascioni-list {
  gap: 25px !important;
}


/* Promo Core — distanza fascioni anche senza wrapper lista — 2026-06-23 */
.pagina-promozioni-archive .vspromo-fascione + .vspromo-fascione {
  margin-top: 25px !important;
}
