.list-group {
  border-radius: 0;
}

@media screen and (min-width: 768px ){
  #product-datasheet {
    margin-top: 1rem;
  }
}

#product-datasheet > h1 {
  color: white;
  font-weight: 600;
  background-color: var(--themeblack);
  font-size: 1.1rem;
  line-height: 1.1rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0;
}
  #product-datasheet > h1 > small {
    display: block;
    margin-top: 5px;
    color: var(--theme-secondary);
  }

#product-datasheet .list-group-item {
  border-left: none;
  border-right: none;  
  padding: 0.75rem 1rem;
}
  #description {
    max-height: 15rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    line-height: 1.5rem;
    text-align: justify;
    /* transition-duration: var(--theme-transition-dur); */
  }
    #description.open {
      max-height: unset;
      display: block;
    }
    #description-view-toggle { text-decoration: none; color: var(--theme-primary); }
    #description-view-toggle:hover { text-decoration: underline; }
    #description-view-toggle:after {
      content: 'Ver más';
      display: block;
      text-align: right;            
    }
    #description-view-toggle.open:after {
      content: 'Ver menos';
    }

#product-datasheet .list-items > label {
  padding: 0;
}
#product-datasheet .list-items > label > a {
  color: var(--themeblack);
  text-decoration: none;
  padding: .5rem 1rem;
  padding-left: 1.5rem;
  display: block;
  transition-duration: var(--theme-transition-dur);
}
  #product-datasheet .list-items > label > a:hover {
    background-color: var(--theme-primary-alpha);
  }
  #product-datasheet .list-items > label > a:after {
    content: '\f054';
    font-family: 'Font Awesome 6 Pro';
    display: inline-block;
    color: var(--theme-primary);
    position: absolute;
    left: 10px;
    top: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
  }

#product-datasheet .pl_perc_off {
  float: right;
  padding: 0.125rem 0.5rem;
  background-color: var(--theme-primary);
  color: white;
  border-radius: 0.2rem;
  margin-top: 0.3rem;
  font-weight: 600;
}

#price {
  display: flex;
  align-items: center;
  gap: 10px;
}
  #price > span.current { font-size: 1.6rem; font-weight: 600; }
  #price > span.current > small{ font-size: 1.2rem; }
  #price > span.old     { text-decoration: line-through; color: #f44336; position: relative; top: 0.25rem; }
  #price > label {
    text-align: right;
    flex-grow: 1;
  }
  span.in-stock, span.in-stock a { color: green; line-height: 1; display: inline-block; font-size: 1rem; font-weight: 600; }
  span.store-stock, span.store-stock a { color: darkorange; line-height: 1; display: inline-block; font-size: 1rem; font-weight: 600; }
  span.out-stock, span.out-stock a { color: #f44336; line-height: 1; display: inline-block; font-size: 1rem; font-weight: 600; }
  @media screen and (max-width: 480px){
    #price > label > span { font-size: 0.9rem !important; }
  }

table.product-options {
  width: calc( 100% + 20px );
  position: relative;
  left: -10px;
}
table.product-options td {
  padding: 5px 10px;
}
table.product-options td > select,
#shipping-rating select {
  width: 100%;
  padding: 4px 8px;
  border-radius: 2px;
  border: 2px solid var(--themeblack);
}
  table.pro1duct-options td > select:focus-visible,
  #shipping-rating select:focus-visible {
    border-radius: 2px;
    border: 2px solid var(--themeblack);
  }

@media screen and (max-width: 480px) {
  table.product-options tr { display: block; }
  table.product-options td { display: block; }
  table.product-options td > select{ position: relative; top: -5px; }
}

#categories > a { color: var(--theme-primary); }
#categories > i {
  font-size: 0.8rem;
  color: #777;
  margin: 0 5px;
  display: inline-block;
}
@media screen and (max-width: 480px) {
  #categories > a { display: block; }
  #categories > i { display: none;  }
}

#online-availability > form,
#online-availability > span {
  display: block;
  margin-top: 10px;
}
#store-availability > span {
  display: block;
  margin-top: 15px;
  line-height: 1;
}
#online-availability [class*="col-"] {
  margin-bottom: 10px;
}
#online-availability [class*="col-"]:first-child > div {
  display: grid;
  grid-template-columns: minmax(35px, 1fr) minmax(115px, 5fr) minmax(35px, 1fr);
  gap: 0.25rem;
}
#online-availability button,
#shipping-rating button {
  color: white;
  background: var(--themeblack);
  padding: 5px;
  border: 2px solid var(--themeblack);
  border-radius: 3px;
  width: 100%;
  outline: none;
}
#online-availability button:hover,
#shipping-rating button:hover {
  background: var(--theme-primary);
  border: 2px solid var(--theme-primary);
}
#online-availability input,
#shipping-rating input {
  padding: 5px 10px;
  border: 2px solid var(--themeblack);
  border-radius: 3px;
  text-align: center;
  font-size: 1rem;
}
#shipping-rating input { width: 100%; }
#shipping-rating label { margin: 5px auto 0 auto; }
#shipping-rating > a { display: inline-block; margin: 15px auto; color: var(--theme-primary); }
#shipping-rating > div { font-size: 18px; margin-top: 10px; }
#shipping-rating > div > span { font-weight: 600; }
#shipping-rating > div .transit { color: green; display: inline-block; margin-left: 5px; font-weight: 600; }

@keyframes spin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}
.spin { animation: spin 2s linear infinite; }

#header-carousel { display: none; }

.gallery-stage .perc_off {
  position: absolute;
  right: 0;
  top: 0;
  width: 33%;
}
  .gallery-stage .perc_off span {
    z-index: 2;
    color: white;
    font-weight: 600;
    position: relative;
    right: 0;
    top: 0;
    padding: 0.6rem 0.5rem;
    font-size: 1rem;
    width: 100%;
    aspect-ratio: 1 / 1;
    pointer-events: none;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: column;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
  }
    .gallery-stage .perc_off span > i {
      font-style: normal;
      font-size: 0.8rem;
    }
    .gallery-stage .perc_off span:before {
      content: ' ';
      position: absolute;
      top: 0;
      right: 0;
      width: 7rem;
      aspect-ratio: 1 / 1;
      transform: translate(50%, -50%) rotate(45deg);
      background: var(--theme-primary);
      z-index: -4;
    }

#pvp { font-size: 0.9rem; color: #555; }
#offer-info { font-size: 1rem; }