/* ---- Link nella pagina prodotto ---- */
.bollicine-sizeguide {
  margin: .5rem 0 1rem;
}
.bollicine-sizeguide-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
  text-decoration: underline;
}
.bollicine-sizeguide-link .material-icons {
  font-size: 1.1rem;
}

/* ---- Cornice del modale ---- */
#bollicine-size-guide .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}
#bollicine-size-guide .modal-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 1rem 1.25rem;
}
#bollicine-size-guide .modal-title {
  font-weight: 600;
  font-size: 1.05rem;
}
#bollicine-size-guide .modal-body {
  padding: 1.25rem;
}

.bollicine-sizeguide-body {
  font-size: .95rem;
  color: #333;
}

/* ---- Immagine guida ---- */
.bollicine-sizeguide-body .sg-figure {
  text-align: center;
  margin-bottom: 1rem;
}
.bollicine-sizeguide-body .sg-figure img {
  max-width: 100%;
  max-height: 280px;
  height: auto;
  border-radius: 12px;
}

.bollicine-sizeguide-body .sg-intro {
  color: #666;
  margin-bottom: 1rem;
}

/* ---- Lista taglie espandibile ---- */
.bollicine-sizeguide-body .sg-acc {
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
}
.bollicine-sizeguide-body .sg-acc-item + .sg-acc-item {
  border-top: 1px solid #f0f0f0;
}
.bollicine-sizeguide-body .sg-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 0;
  padding: .85rem 1rem;
  font-size: .95rem;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  text-align: left;
}
.bollicine-sizeguide-body .sg-acc-head:hover {
  background: #f7f9fb;
}
.bollicine-sizeguide-body .sg-acc-head .material-icons {
  transition: transform .2s ease;
  color: #9aa0a6;
}
.bollicine-sizeguide-body .sg-acc-item.open .sg-acc-head .material-icons {
  transform: rotate(180deg);
}
.bollicine-sizeguide-body .sg-acc-body {
  display: none;
  padding: .25rem 1rem 1rem;
  background: #fbfbfb;
}
.bollicine-sizeguide-body .sg-acc-item.open .sg-acc-body {
  display: block;
}
.bollicine-sizeguide-body .sg-meas {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px dashed #ececec;
}
.bollicine-sizeguide-body .sg-meas:last-child {
  border-bottom: 0;
}
.bollicine-sizeguide-body .sg-meas span {
  color: #666;
}
.bollicine-sizeguide-body .sg-meas strong {
  color: #111;
}

/* Sezione "come misurare" */
.bollicine-sizeguide-body .sg-howto {
  margin-top: 1.25rem;
}
.bollicine-sizeguide-body .sg-howto h6 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.bollicine-sizeguide-body .sg-steps {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.bollicine-sizeguide-body .sg-steps li {
  flex: 1 1 140px;
  background: #f7f7f7;
  border-radius: 10px;
  padding: .85rem;
  font-size: .9rem;
}
.bollicine-sizeguide-body .sg-steps li strong {
  display: block;
  margin-bottom: .25rem;
  color: #111;
}

/* Fallback: se il JS non gira, la tabella resta leggibile */
.bollicine-sizeguide-body table {
  width: 100%;
  border-collapse: collapse;
}
.bollicine-sizeguide-body th,
.bollicine-sizeguide-body td {
  border: 1px solid #eee;
  padding: .5rem .75rem;
  text-align: center;
}
