.promopak-builder,
.promopak-builder * {
  box-sizing: border-box;
}

.promopak-builder {
  --ppb-green: #44AD47;
  --ppb-black: #171719;
  --ppb-muted: #85858a;
  --ppb-line: #e2e2e4;
  --ppb-page-bg: #f7f7f8;
  --ppb-gallery-bg: #f0f0f2;

  width: 100%;
  color: var(--ppb-black);
  background: var(--ppb-page-bg);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

.promopak-builder-error {
  padding: 18px;
  border-radius: 14px;
  background: #fff3cd;
  color: #6c5310;
  line-height: 1.5;
}

.ppb-shell {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 24px 22px 70px;
}

.ppb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;

  margin-bottom: 24px;

  color: #747479;
  font-size: 14px;
}

.ppb-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.ppb-alert {
  margin-bottom: 20px;
  padding: 14px 16px;

  border-radius: 12px;

  font-size: 13px;
  line-height: 1.45;
}

.ppb-alert-error {
  background: #ffe9e9;
  color: #9b3131;
}

.ppb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(430px, .9fr);
  gap: 42px;
  align-items: start;
}


/* GALLERY */

.ppb-gallery {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.ppb-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ppb-thumb {
  width: 94px;
  aspect-ratio: 1 / 1.1;

  padding: 0;

  border: 1px solid transparent;
  border-radius: 15px;

  background: var(--ppb-gallery-bg);

  cursor: pointer;
  overflow: hidden;
}

.ppb-thumb.is-active {
  border-color: #111;
}

.ppb-thumb img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: contain;

  padding: 8px;
}

.ppb-main-image-wrap {
  position: relative;

  min-height: 720px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 18px;

  background: var(--ppb-gallery-bg);
}

.ppb-main-image {
  width: 88%;
  height: 88%;

  display: block;
  object-fit: contain;

  transition:
    opacity .18s ease,
    transform .3s ease;
}

.ppb-main-image-wrap:hover .ppb-main-image {
  transform: scale(1.012);
}

.ppb-image-badges {
  position: absolute;
  z-index: 3;

  top: 20px;
  left: 20px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ppb-badge {
  min-height: 34px;

  padding: 0 13px;

  display: inline-flex;
  align-items: center;

  border-radius: 999px;

  background: #fff;

  font-size: 12px;
  font-weight: 650;
}


/* PANEL */

.ppb-panel {
  position: sticky;
  top: 20px;
}

.ppb-kicker {
  margin-bottom: 7px;

  color: #86868b;

  font-size: 16px;
  font-weight: 600;
}

.ppb-title {
  margin: 0 0 24px;

  font-size: clamp(38px, 3vw, 55px);
  line-height: .98;

  letter-spacing: -.045em;

  font-weight: 760;
}

.ppb-minimum-card {
  margin-bottom: 4px;
  padding: 15px 17px;

  display: grid;
  gap: 3px;

  border-radius: 14px;

  background: #fff;
}

.ppb-minimum-card strong {
  font-size: 14px;
}

.ppb-minimum-card span {
  color: #77777c;
  font-size: 12px;
}


/* STEP */

.ppb-step {
  padding: 22px 0;

  border-bottom: 1px solid var(--ppb-line);
}

.ppb-step-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;

  margin-bottom: 15px;
}

.ppb-step-number {
  flex: 0 0 28px;

  width: 28px;
  height: 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #1d1d1f;

  color: #fff;

  font-size: 12px;
  font-weight: 700;
}

.ppb-step-head strong {
  display: block;

  font-size: 15px;
  line-height: 1.25;
}

.ppb-step-head small {
  display: block;

  margin-top: 3px;

  color: #8a8a8f;

  font-size: 12px;
  line-height: 1.35;
}


/* COLORI */

.ppb-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ppb-color {
  appearance: none;

  width: 52px;
  height: 52px;

  padding: 4px;

  border: 1px solid #d7d7da;
  border-radius: 13px;

  background: #fff;

  cursor: pointer;
}

.ppb-color::before {
  content: "";

  width: 100%;
  height: 100%;

  display: block;

  border-radius: 9px;

  background: var(--ppb-color);

  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.ppb-color.is-active {
  border-color: #111;

  box-shadow:
    inset 0 0 0 1px #111;
}

.ppb-selected-color {
  margin-top: 10px;

  color: #69696e;
  font-size: 13px;
}


/* TAGLIE */

.ppb-size-list {
  display: grid;
  gap: 8px;
}

.ppb-size-row {
  min-height: 60px;

  padding: 8px 8px 8px 15px;

  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto;
  gap: 14px;
  align-items: center;

  border: 1px solid #dedee1;
  border-radius: 13px;

  background: #fff;

  transition: opacity .18s ease;
}

.ppb-size-row.is-disabled {
  opacity: .38;
  pointer-events: none;
}

.ppb-size-info strong {
  display: block;

  font-size: 14px;
}

.ppb-size-info small {
  display: block;

  margin-top: 3px;

  color: #919196;
  font-size: 11px;
}

.ppb-stepper {
  height: 42px;

  display: grid;
  grid-template-columns: 40px 52px 40px;

  overflow: hidden;

  border: 1px solid #dddddf;
  border-radius: 10px;
}

.ppb-stepper button {
  appearance: none;

  border: 0;

  background: #fff;

  color: #1c1c1e;

  cursor: pointer;

  font-size: 19px;
}

.ppb-stepper button:hover {
  background: #f3f3f4;
}

.ppb-stepper input {
  width: 52px;

  padding: 0;

  border: 0;
  border-left: 1px solid #ededee;
  border-right: 1px solid #ededee;

  outline: 0;

  background: #fff;

  text-align: center;

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;

  -moz-appearance: textfield;
}

.ppb-stepper input::-webkit-outer-spin-button,
.ppb-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}


/* ORDER BOX */

.ppb-order {
  margin-top: 22px;
  padding: 18px;

  border: 1px solid #dedee1;
  border-radius: 16px;

  background: #fff;
}

.ppb-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.ppb-order-head > strong {
  font-size: 16px;
}

.ppb-order-head > span {
  color: #77777c;
  font-size: 13px;
}

.ppb-progress {
  width: 100%;
  height: 7px;

  margin: 13px 0 15px;

  overflow: hidden;

  border-radius: 999px;

  background: #ededee;
}

.ppb-progress span {
  width: 0;
  height: 100%;

  display: block;

  border-radius: 999px;

  background: var(--ppb-green);

  transition: width .2s ease;
}

.ppb-order-lines {
  max-height: 220px;
  overflow: auto;

  display: grid;
  gap: 0;
}

.ppb-empty {
  padding: 5px 0;

  color: #99999d;
  font-size: 12px;
}

.ppb-order-line {
  padding: 8px 0;

  display: flex;
  justify-content: space-between;
  gap: 12px;

  border-top: 1px solid #efeff0;

  font-size: 12px;
}

.ppb-order-line:first-child {
  border-top: 0;
}

.ppb-order-line strong {
  color: #29292b;
}

.ppb-order-line span {
  color: #77777c;
}

.ppb-order-total {
  margin-top: 15px;
  padding-top: 15px;

  border-top: 1px solid #e8e8ea;

  font-size: 28px;
  font-weight: 760;

  letter-spacing: -.03em;
}

.ppb-order-message {
  margin-top: 7px;

  color: #85858a;
  font-size: 12px;
  line-height: 1.4;
}

.ppb-submit {
  width: 100%;
  min-height: 58px;

  margin-top: 15px;

  border: 0;
  border-radius: 999px;

  background: #1c1c1e;

  color: #fff;

  cursor: pointer;

  font-family: inherit;
  font-size: 16px;
  font-weight: 680;
}

.ppb-submit:hover:not(:disabled) {
  background: #000;
}

.ppb-submit:disabled {
  background: #c7c7ca;

  cursor: not-allowed;
}


/* DESCRIPTION */

.ppb-description {
  margin-top: 27px;
  padding-top: 25px;

  border-top: 1px solid var(--ppb-line);

  color: #707075;

  font-size: 15px;
  line-height: 1.55;
}


/* RESPONSIVE */

@media (max-width: 1180px) {
  .ppb-layout {
    grid-template-columns: 1fr;
  }

  .ppb-panel {
    position: static;
  }

  .ppb-main-image-wrap {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .ppb-shell {
    padding: 18px 14px 45px;
  }

  .ppb-gallery {
    display: block;
  }

  .ppb-thumbs {
    margin-top: 10px;

    flex-direction: row;

    overflow-x: auto;
  }

  .ppb-thumb {
    flex: 0 0 75px;
    width: 75px;
  }

  .ppb-main-image-wrap {
    min-height: 450px;
  }

  .ppb-title {
    font-size: clamp(34px, 11vw, 47px);
  }
}


/* ============================================================
   POPUP CONFERMA AGGIUNTA AL CARRELLO
============================================================ */

.ppb-toast-overlay {
  position: fixed;
  z-index: 999999;

  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(17, 17, 19, .18);
  backdrop-filter: blur(4px);

  opacity: 0;
  animation: ppbOverlayIn .28s ease forwards;
}

.ppb-toast {
  position: relative;

  width: min(460px, 100%);

  padding: 30px 28px 24px;

  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 24px;

  background: rgba(255, 255, 255, .98);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, .16),
    0 8px 24px rgba(0, 0, 0, .08);

  text-align: center;

  transform: translateY(18px) scale(.96);
  opacity: 0;

  animation:
    ppbToastIn .42s cubic-bezier(.2, .9, .25, 1.15) .05s forwards;
}

.ppb-toast-close {
  position: absolute;

  top: 12px;
  right: 14px;

  width: 36px;
  height: 36px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #f4f4f5;

  color: #646469;

  cursor: pointer;

  font-size: 22px;
  line-height: 1;
}

.ppb-toast-icon {
  width: 72px;
  height: 72px;

  margin: 0 auto 18px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #eef9ef;

  box-shadow:
    inset 0 0 0 1px rgba(68, 173, 71, .15);

  animation: ppbIconPop .5s cubic-bezier(.2, .9, .25, 1.2) .18s both;
}

.ppb-toast-icon span {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #44AD47;

  color: #fff;

  font-size: 24px;
  font-weight: 800;
}

.ppb-toast-copy strong {
  display: block;

  color: #171719;

  font-size: 25px;
  line-height: 1.05;

  letter-spacing: -.03em;
}

.ppb-toast-copy p {
  margin: 9px 0 0;

  color: #77777c;

  font-size: 14px;
  line-height: 1.45;
}

.ppb-toast-actions {
  margin-top: 22px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ppb-toast-cart,
.ppb-toast-continue {
  min-height: 50px;

  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  cursor: pointer;
}

.ppb-toast-cart {
  border: 1px solid #1c1c1e;

  background: #1c1c1e;

  color: #fff;
}

.ppb-toast-cart:hover {
  background: #000;
  color: #fff;
}

.ppb-toast-continue {
  border: 1px solid #d8d8da;

  background: #fff;

  color: #1c1c1e;
}

.ppb-toast.is-closing {
  animation: ppbToastOut .2s ease forwards;
}

.ppb-toast-overlay.is-closing {
  animation: ppbOverlayOut .22s ease forwards;
}

@keyframes ppbOverlayIn {
  to {
    opacity: 1;
  }
}

@keyframes ppbOverlayOut {
  to {
    opacity: 0;
  }
}

@keyframes ppbToastIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ppbToastOut {
  to {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
}

@keyframes ppbIconPop {
  0% {
    opacity: 0;
    transform: scale(.5) rotate(-10deg);
  }

  70% {
    transform: scale(1.08) rotate(2deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@media (max-width: 560px) {
  .ppb-toast {
    padding: 28px 20px 20px;
    border-radius: 20px;
  }

  .ppb-toast-actions {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   DETTAGLI DEL PRODOTTO - TESTO BREVE WOOCOMMERCE
============================================================ */

.ppb-product-details {
  margin-top: 26px;

  border-top: 1px solid var(--ppb-line);
  border-bottom: 1px solid var(--ppb-line);
}

.ppb-product-details > summary {
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  cursor: pointer;

  list-style: none;

  color: #1b1b1d;

  font-size: 20px;
  font-weight: 760;

  letter-spacing: -.02em;
}

.ppb-product-details > summary::-webkit-details-marker {
  display: none;
}

.ppb-details-chevron {
  width: 10px;
  height: 10px;

  flex: 0 0 10px;

  border-right: 2px solid #252527;
  border-bottom: 2px solid #252527;

  transform: rotate(45deg);

  transition: transform .2s ease;
}

.ppb-product-details[open] .ppb-details-chevron {
  transform: rotate(225deg);
}

.ppb-product-details-content {
  padding: 0 0 26px;

  color: #6f6f74;

  font-size: 16px;
  line-height: 1.6;
}

.ppb-product-details-content p {
  margin: 0 0 12px;
}

.ppb-product-details-content p:last-of-type {
  margin-bottom: 0;
}

.ppb-product-details-content ul,
.ppb-product-details-content ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.ppb-size-guide {
  min-height: 48px;

  margin-top: 22px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #d5d5d8;
  border-radius: 999px;

  background: #fff;

  color: #202022;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;
}

.ppb-size-guide:hover {
  border-color: #111;
  color: #111;
}

@media (max-width: 760px) {
  .ppb-product-details > summary {
    min-height: 64px;
    font-size: 18px;
  }

  .ppb-product-details-content {
    font-size: 15px;
  }
}


/* ============================================================
   V1.3 - GALLERY PIÙ COMPATTA + DESCRIZIONE LUNGA SOTTO IMMAGINE
============================================================ */

.ppb-visual-column {
  min-width: 0;
}

.ppb-main-image-wrap {
  min-height: 650px;
}

.ppb-main-image {
  width: 78%;
  height: 78%;
}

.ppb-gallery-description {
  margin-top: 34px;
  padding: 0 10px 10px 112px;
}

.ppb-gallery-description-kicker {
  margin-bottom: 12px;

  color: #88888d;

  font-size: 14px;
  font-weight: 650;

  text-transform: uppercase;
  letter-spacing: .05em;
}

.ppb-gallery-description-content {
  max-width: 980px;

  color: #202022;

  font-size: clamp(25px, 2.1vw, 38px);
  line-height: 1.18;

  letter-spacing: -.03em;

  font-weight: 400;
}

.ppb-gallery-description-content p {
  margin: 0 0 18px;
}

.ppb-gallery-description-content p:last-child {
  margin-bottom: 0;
}

.ppb-gallery-description-content ul,
.ppb-gallery-description-content ol {
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.ppb-gallery-description-content a {
  color: inherit;
}

@media (max-width: 1180px) {
  .ppb-main-image-wrap {
    min-height: 560px;
  }

  .ppb-gallery-description {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .ppb-main-image-wrap {
    min-height: 410px;
  }

  .ppb-main-image {
    width: 82%;
    height: 82%;
  }

  .ppb-gallery-description {
    margin-top: 26px;
    padding: 0;
  }

  .ppb-gallery-description-content {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.22;
  }
}


/* ============================================================
   V1.4 - FORMATTAZIONE DESCRIZIONE GESTITA DA WOOCOMMERCE
============================================================ */

.ppb-gallery-description-content p,
.ppb-gallery-description-content li {
  font-weight: 400;
}

.ppb-gallery-description-content strong,
.ppb-gallery-description-content b {
  font-weight: 700;
}

.ppb-gallery-description-content em,
.ppb-gallery-description-content i {
  font-style: italic;
}

.ppb-gallery-description-content h1,
.ppb-gallery-description-content h2,
.ppb-gallery-description-content h3,
.ppb-gallery-description-content h4,
.ppb-gallery-description-content h5,
.ppb-gallery-description-content h6 {
  margin: 28px 0 12px;
  color: inherit;
  line-height: 1.1;
  font-weight: 700;
}

.ppb-gallery-description-content h2 {
  font-size: 1.25em;
}

.ppb-gallery-description-content h3 {
  font-size: 1.08em;
}


/* ============================================================
   V1.5 - TYPOGRAPHY SYSTEM RESPONSIVE + IMMAGINE PIÙ PICCOLA
============================================================ */

.promopak-builder {
  --ppb-fs-xs: clamp(11px, .18vw + 10px, 12px);
  --ppb-fs-sm: clamp(12px, .22vw + 11px, 13px);
  --ppb-fs-md: clamp(13px, .26vw + 12px, 15px);
  --ppb-fs-lg: clamp(15px, .35vw + 13px, 18px);
  --ppb-fs-xl: clamp(20px, .7vw + 16px, 28px);
  --ppb-fs-title: clamp(34px, 2.2vw, 50px);
}

/* Titolo principale */
.ppb-title {
  font-size: var(--ppb-fs-title);
  line-height: 1.02;
  letter-spacing: -.04em;
}

/* Kicker e testi secondari */
.ppb-kicker,
.ppb-selected-color,
.ppb-order-head > span,
.ppb-order-message,
.ppb-breadcrumb,
.ppb-minimum-card span,
.ppb-step-head small,
.ppb-size-info small {
  font-size: var(--ppb-fs-sm);
}

/* Etichette e testi normali */
.ppb-step-head strong,
.ppb-size-info strong,
.ppb-minimum-card strong,
.ppb-submit,
.ppb-order-head > strong,
.ppb-order-line,
.ppb-product-details-content {
  font-size: var(--ppb-fs-md);
}

/* Totale */
.ppb-order-total {
  font-size: clamp(26px, 1.35vw, 34px);
}

/* Dettagli prodotto */
.ppb-product-details > summary {
  min-height: 66px;
  font-size: clamp(17px, .5vw + 15px, 21px);
}

/* Descrizione lunga sotto immagine: più equilibrata */
.ppb-gallery-description-kicker {
  font-size: var(--ppb-fs-sm);
  letter-spacing: .045em;
}

.ppb-gallery-description-content {
  max-width: 900px;

  font-size: clamp(20px, 1.25vw, 30px);
  line-height: 1.28;
  letter-spacing: -.022em;
  font-weight: 400;
}

/* Immagine principale più piccola e più ariosa */
.ppb-main-image-wrap {
  min-height: 610px;
}

.ppb-main-image {
  width: 68%;
  height: 68%;
  max-width: 760px;
  max-height: 760px;
}

/* Sidebar leggermente più compatta */
.ppb-panel {
  font-size: 14px;
}

.ppb-step {
  padding: 19px 0;
}

.ppb-size-row {
  min-height: 56px;
}

.ppb-stepper {
  height: 40px;
  grid-template-columns: 38px 50px 38px;
}

.ppb-stepper input {
  width: 50px;
}

.ppb-order {
  padding: 16px;
}

.ppb-submit {
  min-height: 54px;
}

/* Desktop molto largo */
@media (min-width: 1600px) {
  .ppb-main-image-wrap {
    min-height: 640px;
  }

  .ppb-main-image {
    width: 66%;
    height: 66%;
  }

  .ppb-gallery-description-content {
    font-size: clamp(22px, 1.15vw, 30px);
  }
}

/* Laptop / tablet landscape */
@media (max-width: 1180px) {
  .ppb-title {
    font-size: clamp(34px, 5vw, 46px);
  }

  .ppb-main-image-wrap {
    min-height: 520px;
  }

  .ppb-main-image {
    width: 70%;
    height: 70%;
  }

  .ppb-gallery-description-content {
    font-size: clamp(20px, 2.3vw, 27px);
  }
}

/* Tablet */
@media (max-width: 900px) {
  .ppb-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ppb-title {
    font-size: clamp(32px, 6vw, 42px);
  }

  .ppb-main-image-wrap {
    min-height: 470px;
  }

  .ppb-main-image {
    width: 72%;
    height: 72%;
  }

  .ppb-gallery-description {
    margin-top: 24px;
  }

  .ppb-gallery-description-content {
    font-size: clamp(19px, 2.8vw, 25px);
    line-height: 1.3;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .ppb-title {
    font-size: clamp(30px, 9vw, 39px);
    line-height: 1.02;
  }

  .ppb-main-image-wrap {
    min-height: 380px;
  }

  .ppb-main-image {
    width: 72%;
    height: 72%;
    max-width: 520px;
    max-height: 520px;
  }

  .ppb-gallery-description {
    margin-top: 22px;
  }

  .ppb-gallery-description-kicker {
    font-size: 11px;
  }

  .ppb-gallery-description-content {
    font-size: clamp(18px, 5.6vw, 23px);
    line-height: 1.32;
  }

  .ppb-product-details > summary {
    min-height: 60px;
    font-size: 17px;
  }

  .ppb-product-details-content {
    font-size: 14px;
    line-height: 1.55;
  }

  .ppb-step-head strong {
    font-size: 14px;
  }

  .ppb-step-head small {
    font-size: 11px;
  }

  .ppb-size-info strong {
    font-size: 13px;
  }

  .ppb-size-info small {
    font-size: 11px;
  }

  .ppb-order-head > strong {
    font-size: 15px;
  }

  .ppb-order-total {
    font-size: 27px;
  }

  .ppb-submit {
    min-height: 52px;
    font-size: 14px;
  }
}

/* Mobile stretto */
@media (max-width: 480px) {
  .ppb-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ppb-main-image-wrap {
    min-height: 340px;
  }

  .ppb-main-image {
    width: 74%;
    height: 74%;
  }

  .ppb-title {
    font-size: clamp(28px, 9vw, 36px);
  }

  .ppb-gallery-description-content {
    font-size: clamp(17px, 5.2vw, 21px);
  }

  .ppb-size-row {
    padding-left: 12px;
  }
}


/* ============================================================
   V1.6 - MOBILE FIRST HERO / PRIMA PARTE PAGINA PRODOTTO
   Ispirazione: e-commerce merch moderno, senza alterare desktop
============================================================ */

@media (max-width: 760px) {

  /* pagina più pulita */
  .ppb-shell {
    padding: 10px 12px 42px;
  }

  .ppb-breadcrumb {
    margin: 2px 0 12px;
    gap: 6px;

    font-size: 11px;
    line-height: 1.35;
  }

  /* gallery: immagine prima, indicatori sotto */
  .ppb-gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ppb-main-image-wrap {
    order: 1;

    width: 100%;
    min-height: 335px;

    border-radius: 14px;
  }

  .ppb-main-image {
    width: 62%;
    height: 62%;
    max-width: 340px;
    max-height: 340px;
  }

  /* miniature trasformate in indicatori compatti */
  .ppb-thumbs {
    order: 2;

    width: 100%;

    margin: 10px 0 0;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6px;

    overflow: visible;
  }

  .ppb-thumb {
    flex: 0 0 auto;

    width: 7px;
    height: 7px;
    aspect-ratio: auto;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: #cfcfd3;

    overflow: hidden;

    transition:
      width .18s ease,
      background .18s ease;
  }

  .ppb-thumb img {
    display: none;
  }

  .ppb-thumb.is-active {
    width: 18px;

    border: 0;

    background: #1d1d1f;
  }

  /* badge più piccoli per non coprire il prodotto */
  .ppb-image-badges {
    top: 10px;
    left: 10px;
    gap: 5px;
  }

  .ppb-badge {
    min-height: 26px;

    padding: 0 9px;

    font-size: 10px;
  }

  /* pannello prodotto subito sotto la gallery */
  .ppb-panel {
    margin-top: 18px;
  }

  .ppb-kicker {
    margin-bottom: 4px;

    font-size: 12px;
  }

  .ppb-title {
    max-width: 92%;

    margin-bottom: 13px;

    font-size: clamp(29px, 8.2vw, 35px);
    line-height: 1.01;
    letter-spacing: -.042em;
  }

  /* minimo ordine compatto */
  .ppb-minimum-card {
    margin-bottom: 0;
    padding: 11px 12px;

    border-radius: 11px;
  }

  .ppb-minimum-card strong {
    font-size: 12px;
  }

  .ppb-minimum-card span {
    margin-top: 1px;

    font-size: 10.5px;
  }

  /* step più compatti */
  .ppb-step {
    padding: 15px 0;
  }

  .ppb-step-head {
    gap: 8px;

    margin-bottom: 11px;
  }

  .ppb-step-number {
    flex-basis: 23px;

    width: 23px;
    height: 23px;

    font-size: 10px;
  }

  .ppb-step-head strong {
    font-size: 13px;
  }

  .ppb-step-head small {
    margin-top: 1px;

    font-size: 10px;
  }

  /* colori più piccoli */
  .ppb-colors {
    gap: 8px;
  }

  .ppb-color {
    width: 43px;
    height: 43px;

    padding: 3px;

    border-radius: 10px;
  }

  .ppb-color::before {
    border-radius: 7px;
  }

  .ppb-selected-color {
    margin-top: 7px;

    font-size: 11px;
  }

  /* righe taglie più dense: si vedono più opzioni nello schermo */
  .ppb-size-list {
    gap: 6px;
  }

  .ppb-size-row {
    min-height: 49px;

    padding: 6px 6px 6px 11px;

    border-radius: 10px;
  }

  .ppb-size-info strong {
    font-size: 12px;
  }

  .ppb-size-info small {
    margin-top: 1px;

    font-size: 9.5px;
  }

  .ppb-stepper {
    height: 35px;

    grid-template-columns: 34px 42px 34px;

    border-radius: 9px;
  }

  .ppb-stepper button {
    font-size: 16px;
  }

  .ppb-stepper input {
    width: 42px;

    font-size: 12px;
  }

  /* ordine compatto */
  .ppb-order {
    margin-top: 16px;
    padding: 14px;

    border-radius: 13px;
  }

  .ppb-order-head > strong {
    font-size: 14px;
  }

  .ppb-order-head > span {
    font-size: 10.5px;
  }

  .ppb-progress {
    height: 6px;

    margin: 10px 0 12px;
  }

  .ppb-order-line {
    padding: 6px 0;

    font-size: 10.5px;
  }

  .ppb-order-total {
    margin-top: 12px;
    padding-top: 12px;

    font-size: 25px;
  }

  .ppb-order-message {
    margin-top: 5px;

    font-size: 10.5px;
  }

  .ppb-submit {
    min-height: 48px;

    margin-top: 12px;

    font-size: 13px;
  }

  /* descrizione lunga sotto gallery più discreta su mobile */
  .ppb-gallery-description {
    margin-top: 18px;
  }

  .ppb-gallery-description-kicker {
    margin-bottom: 8px;

    font-size: 10px;
  }

  .ppb-gallery-description-content {
    font-size: clamp(17px, 4.8vw, 20px);
    line-height: 1.34;
  }

  /* dettagli prodotto */
  .ppb-product-details {
    margin-top: 18px;
  }

  .ppb-product-details > summary {
    min-height: 56px;

    font-size: 16px;
  }

  .ppb-product-details-content {
    padding-bottom: 20px;

    font-size: 13px;
    line-height: 1.55;
  }
}

/* telefoni piccoli */
@media (max-width: 420px) {

  .ppb-main-image-wrap {
    min-height: 310px;
  }

  .ppb-main-image {
    width: 60%;
    height: 60%;
  }

  .ppb-title {
    font-size: clamp(27px, 8.5vw, 33px);
  }

  .ppb-size-row {
    grid-template-columns: minmax(70px, 1fr) auto;
  }
}


/* ============================================================
   V1.7 - ORDINE CONTENUTI MOBILE
   "Scopri il prodotto" sopra "Dettagli del prodotto"
============================================================ */

.ppb-gallery-description-mobile {
  display: none;
}

@media (max-width: 760px) {

  .ppb-gallery-description-desktop {
    display: none;
  }

  .ppb-gallery-description-mobile {
    display: block;

    margin-top: 20px;
    padding: 0;
  }

  .ppb-gallery-description-mobile + .ppb-product-details {
    margin-top: 18px;
  }
}


/* ============================================================
   V1.8 - "SCOPRI IL PRODOTTO" STESSA TIPOGRAFIA DEI DETTAGLI
============================================================ */

@media (max-width: 760px) {

  .ppb-gallery-description-mobile .ppb-gallery-description-kicker {
    margin-bottom: 8px;

    color: #1b1b1d;

    font-size: 16px;
    font-weight: 760;

    text-transform: none;
    letter-spacing: -.02em;
  }

  .ppb-gallery-description-mobile .ppb-gallery-description-content {
    max-width: none;

    color: #6f6f74;

    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0;
    font-weight: 400;
  }

  .ppb-gallery-description-mobile .ppb-gallery-description-content p,
  .ppb-gallery-description-mobile .ppb-gallery-description-content li {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
  }

  .ppb-gallery-description-mobile .ppb-gallery-description-content strong,
  .ppb-gallery-description-mobile .ppb-gallery-description-content b {
    font-weight: 700;
  }
}


/* ============================================================
   V1.9 - "SCOPRI IL PRODOTTO" STESSA TIPOGRAFIA DEI DETTAGLI
   SU TUTTI I DISPOSITIVI
============================================================ */

.ppb-gallery-description-kicker {
  margin-bottom: 8px;

  color: #1b1b1d;

  font-size: clamp(17px, .5vw + 15px, 21px);
  font-weight: 760;

  text-transform: none;
  letter-spacing: -.02em;
}

.ppb-gallery-description-content {
  max-width: none;

  color: #6f6f74;

  font-size: clamp(14px, .26vw + 12px, 16px);
  line-height: 1.55;
  letter-spacing: 0;
  font-weight: 400;
}

.ppb-gallery-description-content p,
.ppb-gallery-description-content li {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.ppb-gallery-description-content strong,
.ppb-gallery-description-content b {
  font-weight: 700;
}

.ppb-gallery-description-content em,
.ppb-gallery-description-content i {
  font-style: italic;
}

@media (max-width: 760px) {

  .ppb-gallery-description-kicker {
    font-size: 16px;
  }

  .ppb-gallery-description-content {
    font-size: 13px;
  }
}


/* ============================================================
   V2.0 - PERSONALIZZAZIONE ABBIGLIAMENTO
============================================================ */

.ppb-personalization-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ppb-personalization-option {
  appearance: none;

  min-height: 58px;
  padding: 10px 12px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;

  border: 1px solid #dcdcdf;
  border-radius: 12px;

  background: #fff;
  color: #1d1d1f;

  cursor: pointer;

  font-family: inherit;
  text-align: left;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.ppb-personalization-option:hover {
  border-color: #aaa;
  transform: translateY(-1px);
}

.ppb-personalization-option.is-active {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.ppb-personalization-option span {
  font-size: 13px;
  font-weight: 650;
}

.ppb-personalization-option strong {
  color: #77777c;
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .ppb-personalization-options {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .ppb-personalization-option {
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .ppb-personalization-option span {
    font-size: 12px;
  }

  .ppb-personalization-option strong {
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .ppb-personalization-options {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   V2.1 - STOCK MAGAZZINO PER COLORE / TAGLIA
============================================================ */

.ppb-stock-qty,
.ppb-stock-ok {
  color: #4f8b52;
  font-weight: 700;
}

.ppb-size-row.is-stock-warning {
  border-color: #e0a13a;
  box-shadow: 0 0 0 3px rgba(224, 161, 58, .12);
  animation: ppbStockWarning .35s ease;
}

@keyframes ppbStockWarning {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-3px); }
  70% { transform: translateX(3px); }
}


/* ============================================================
   V2.2 - PRODOTTI CORRELATI
============================================================ */

.ppb-related-section {
  margin-top: 72px;
  padding-top: 8px;
}

.ppb-related-title {
  margin: 0 0 28px;

  color: #171719;

  font-size: clamp(28px, 2.3vw, 46px);
  line-height: 1.04;

  letter-spacing: -.04em;

  font-weight: 760;
}

.ppb-related-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 18px;
}

.ppb-related-card {
  min-width: 0;
}

.ppb-related-image {
  position: relative;

  aspect-ratio: .8;

  display: block;

  overflow: hidden;

  border-radius: 20px;

  background: var(--ppb-gallery-bg);

  text-decoration: none;
}

.ppb-related-image img {
  width: 100%;
  height: 100%;

  padding: 28px 24px 58px;

  display: block;

  object-fit: contain;

  transition: transform .25s ease;
}

.ppb-related-card:hover .ppb-related-image img {
  transform: scale(1.025);
}

.ppb-related-image-bottom {
  position: absolute;

  left: 16px;
  right: 16px;
  bottom: 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ppb-related-meta {
  display: flex;
  align-items: center;
  gap: 6px;

  color: #8d8d92;

  font-size: 12px;
  white-space: nowrap;
}

.ppb-related-colors {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ppb-related-color {
  width: 17px;
  height: 17px;

  display: inline-block;

  border: 2px solid #fff;
  border-radius: 50%;

  background: var(--related-color);

  box-shadow:
    0 0 0 1px rgba(0,0,0,.12);
}

.ppb-related-extra {
  margin-left: 2px;

  color: #8d8d92;

  font-size: 11px;
}

.ppb-related-name {
  margin-top: 13px;

  display: block;

  color: #202022;

  text-decoration: none;

  font-size: 16px;
  line-height: 1.25;

  font-weight: 700;
}

.ppb-related-price {
  margin-top: 6px;

  color: #8d8d92;

  font-size: 14px;
}


/* Mobile swipe gallery */
@media (max-width: 760px) {

  .ppb-main-image-wrap {
    touch-action: pan-y;
  }

  .ppb-related-section {
    margin-top: 46px;
  }

  .ppb-related-title {
    margin-bottom: 18px;

    font-size: clamp(23px, 7vw, 31px);
    line-height: 1.05;
  }

  .ppb-related-grid {
    display: flex;

    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 6px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  .ppb-related-grid::-webkit-scrollbar {
    display: none;
  }

  .ppb-related-card {
    flex: 0 0 82%;

    scroll-snap-align: start;
  }

  .ppb-related-image {
    border-radius: 16px;
  }

  .ppb-related-name {
    font-size: 14px;
  }

  .ppb-related-price {
    font-size: 12px;
  }

  .ppb-related-meta {
    font-size: 10px;
  }
}


/* ============================================================
   V2.3 — TAGLIE IN 2 COLONNE SOLO DESKTOP
   Accorcia la sidebar senza modificare tablet/mobile.
============================================================ */

@media (min-width: 1280px) {

  .ppb-size-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .ppb-size-row {
    min-width: 0;
    min-height: 54px;
    padding: 6px 6px 6px 11px;
    grid-template-columns: minmax(54px, 1fr) auto;
    gap: 7px;
    border-radius: 11px;
  }

  .ppb-size-info {
    min-width: 0;
  }

  .ppb-size-info strong {
    font-size: 12px;
    line-height: 1.05;
  }

  .ppb-size-info small {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ppb-stepper {
    height: 34px;
    grid-template-columns: 31px 39px 31px;
    border-radius: 9px;
  }

  .ppb-stepper button {
    width: 31px;
    min-width: 31px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 16px;
  }

  .ppb-stepper input {
    width: 39px;
    min-width: 39px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    text-align: center;
    line-height: 34px;
    font-size: 11px;
  }
}

/* Desktop meno largo: manteniamo la colonna singola per non comprimere troppo. */
@media (min-width: 901px) and (max-width: 1279px) {
  .ppb-size-list {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   V2.4 — PERSONALIZZAZIONE PIÙ COMPATTA SU DESKTOP
   Tablet e mobile restano invariati.
============================================================ */

@media (min-width: 901px) {

  .ppb-personalization-options {
    gap: 7px !important;
  }

  .ppb-personalization-option {
    min-height: 66px !important;
    padding: 10px 13px !important;
    border-radius: 11px !important;
  }

  .ppb-personalization-option strong {
    font-size: 13px !important;
    line-height: 1.1 !important;
  }

  .ppb-personalization-option small {
    margin-top: 5px !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
  }

  .ppb-personalization-option.is-active,
  .ppb-personalization-option[aria-pressed="true"] {
    border-width: 2px !important;
  }
}

/* Desktop molto largo: leggermente ancora più compatto */
@media (min-width: 1280px) {

  .ppb-personalization-option {
    min-height: 60px !important;
    padding: 9px 12px !important;
  }

  .ppb-personalization-option strong {
    font-size: 12.5px !important;
  }

  .ppb-personalization-option small {
    font-size: 9.5px !important;
  }
}


/* ============================================================
   V2.5 — TAGLIE + PERSONALIZZAZIONE COMPATTE ANCHE MOBILE
============================================================ */

@media (max-width: 900px) {

  /* TAGLIE: 2 colonne anche su mobile/tablet */
  .ppb-size-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .ppb-size-row {
    min-width: 0 !important;
    min-height: 52px !important;
    padding: 6px 6px 6px 9px !important;
    grid-template-columns: minmax(46px, 1fr) auto !important;
    gap: 6px !important;
    border-radius: 10px !important;
  }

  .ppb-size-info strong {
    font-size: 12px !important;
    line-height: 1.05 !important;
  }

  .ppb-size-info small {
    margin-top: 2px !important;
    font-size: 8.8px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .ppb-stepper {
    height: 32px !important;
    grid-template-columns: 29px 36px 29px !important;
    border-radius: 8px !important;
  }

  .ppb-stepper button {
    width: 29px !important;
    min-width: 29px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-size: 16px !important;
  }

  .ppb-stepper input {
    width: 36px !important;
    min-width: 36px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 32px !important;
    font-size: 11px !important;
  }

  /* PERSONALIZZAZIONE: più compatta anche mobile */
  .ppb-personalization-options {
    gap: 6px !important;
  }

  .ppb-personalization-option {
    min-height: 58px !important;
    padding: 9px 10px !important;
    border-radius: 10px !important;
  }

  .ppb-personalization-option strong {
    font-size: 12.5px !important;
    line-height: 1.08 !important;
  }

  .ppb-personalization-option small {
    margin-top: 4px !important;
    font-size: 9.5px !important;
    line-height: 1.05 !important;
  }
}

/* Telefoni molto stretti: evita compressione eccessiva */
@media (max-width: 420px) {

  .ppb-size-list {
    grid-template-columns: 1fr !important;
  }

  .ppb-size-row {
    min-height: 50px !important;
  }

  .ppb-personalization-option {
    min-height: 56px !important;
  }
}


/* ============================================================
   V2.6 — FIX MOBILE REALE
   Forza 2 colonne anche sotto 420px.
============================================================ */

@media (max-width: 760px) {

  /* TAGLIE: sempre 2 colonne */
  .ppb-size-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .ppb-size-row {
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 5px 5px 5px 8px !important;
    grid-template-columns: minmax(34px, 1fr) auto !important;
    gap: 4px !important;
    border-radius: 9px !important;
  }

  .ppb-size-info {
    min-width: 0 !important;
  }

  .ppb-size-info strong {
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .ppb-size-info small {
    margin-top: 2px !important;
    font-size: 7.8px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .ppb-stepper {
    height: 30px !important;
    grid-template-columns: 27px 31px 27px !important;
    border-radius: 8px !important;
  }

  .ppb-stepper button {
    width: 27px !important;
    min-width: 27px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-size: 15px !important;
  }

  .ppb-stepper input {
    width: 31px !important;
    min-width: 31px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    text-align: center !important;
    line-height: 30px !important;
    font-size: 10px !important;
  }

  /* PERSONALIZZAZIONE: sempre 2 colonne */
  .ppb-personalization-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .ppb-personalization-option {
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 8px 9px !important;
    border-radius: 9px !important;
  }

  .ppb-personalization-option span {
    font-size: 11.5px !important;
    line-height: 1.05 !important;
  }

  .ppb-personalization-option strong {
    margin-top: 2px !important;
    font-size: 9px !important;
    line-height: 1 !important;
  }
}

/* Anche su iPhone stretti NON torniamo a una colonna */
@media (max-width: 420px) {

  .ppb-size-list,
  .ppb-personalization-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ppb-size-row {
    min-height: 46px !important;
  }

  .ppb-personalization-option {
    min-height: 52px !important;
    padding: 7px 8px !important;
  }
}


/* ============================================================
   V2.7 — DISPONIBILITÀ PIÙ LEGGIBILE DESKTOP + MOBILE
============================================================ */

/* Riga info prezzo/stock */
.ppb-size-info small{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  min-width:0 !important;
  overflow:visible !important;
  text-overflow:clip !important;
}

.ppb-unit-price{
  color:#8b8b90 !important;
  font-weight:500 !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}

.ppb-stock-qty,
.ppb-stock-ok{
  display:inline-flex !important;
  align-items:center !important;
  min-width:0 !important;
  padding:2px 6px !important;
  border-radius:999px !important;
  background:rgba(68,173,71,.09) !important;
  color:#3f8242 !important;
  font-weight:750 !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
}

/* Desktop: testo più chiaro senza ingrandire troppo le card */
@media (min-width:901px){

  .ppb-size-info small{
    font-size:9.5px !important;
    line-height:1.15 !important;
  }

  .ppb-stock-qty,
  .ppb-stock-ok{
    font-size:9px !important;
    padding:2px 5px !important;
  }

  .ppb-unit-price{
    font-size:9px !important;
  }
}

/* Mobile/tablet: prezzo sopra, disponibilità sotto.
   In questo modo nelle 2 colonne non viene troncata. */
@media (max-width:900px){

  .ppb-size-info small{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:3px !important;
    margin-top:3px !important;
    white-space:normal !important;
  }

  .ppb-unit-price{
    display:block !important;
    font-size:8.5px !important;
    line-height:1 !important;
  }

  .ppb-stock-qty,
  .ppb-stock-ok{
    width:max-content !important;
    max-width:100% !important;
    font-size:8.5px !important;
    padding:2px 5px !important;
  }

  /* un filo più alta la card per far respirare la disponibilità */
  .ppb-size-row{
    min-height:56px !important;
  }
}

/* iPhone stretti: stock ancora leggibile senza rompere le due colonne */
@media (max-width:420px){

  .ppb-size-row{
    min-height:58px !important;
    padding-top:6px !important;
    padding-bottom:6px !important;
  }

  .ppb-size-info strong{
    font-size:11px !important;
  }

  .ppb-unit-price{
    font-size:8px !important;
  }

  .ppb-stock-qty,
  .ppb-stock-ok{
    font-size:8px !important;
    padding:2px 4px !important;
  }
}


/* ============================================================
   V2.8 — COLLEGAMENTO AL PROMOPAK VISUAL CONFIGURATOR
============================================================ */

.ppb-visual-configurator{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:14px 0 2px;
  padding:13px 14px;
  border:1px solid #e5e5e7;
  border-radius:13px;
  background:linear-gradient(180deg,#fff 0%,#fafafa 100%);
}

.ppb-visual-configurator-copy{
  min-width:0;
  display:grid;
  gap:3px;
}

.ppb-visual-configurator-copy strong{
  color:#1d1d1f;
  font-size:12px;
  line-height:1.15;
  font-weight:800;
}

.ppb-visual-configurator-copy span{
  color:#8a8a90;
  font-size:9.5px;
  line-height:1.3;
}

.ppb-visual-configurator-action{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.ppb-visual-configurator-action .ppvc2__launch{
  min-height:38px !important;
  padding:0 14px !important;
  font-size:10.5px !important;
  white-space:nowrap !important;
  box-shadow:0 5px 14px rgba(0,0,0,.08);
  transition:
    transform .16s cubic-bezier(.2,.8,.2,1),
    box-shadow .16s ease,
    background .16s ease !important;
}

@media(hover:hover){
  .ppb-visual-configurator-action .ppvc2__launch:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(0,0,0,.11);
  }
}

@media(max-width:900px){
  .ppb-visual-configurator{
    grid-template-columns:1fr;
    gap:9px;
    padding:12px;
  }

  .ppb-visual-configurator-action{
    justify-content:stretch;
  }

  .ppb-visual-configurator-action .ppvc2__launch{
    width:100% !important;
    min-height:42px !important;
  }

  .ppb-visual-configurator-copy strong{
    font-size:12.5px;
  }

  .ppb-visual-configurator-copy span{
    font-size:10px;
  }
}
