.article-wrapper {
  display: grid;
  gap: 1rem;
}
.article-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.article-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.article-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.article-grid-list {
  grid-template-columns: repeat(1, 1fr);
  .article {
    .article-header {
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
}
.article {
  transition: all 0.2s ease-in-out;
  position: relative;
  border: 1px solid transparent;
  border-left: 1px solid #0001;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;

  .article-header {
    align-self: start;
    position: relative;
    overflow: hidden;
    width: 100%;

    .article-badge {
      position: absolute;
      left: 0.5rem;
      top: 0.5rem;
      padding: 0.25rem;
      border-radius: 0.5rem;
      font-weight: bold;
    }
    /* VARIANTES */
    .article-badge-warning {
      background-color: var(--bs-warning);
      color: var(--text-color-dark);
    }

    img {
      border-radius: 0.25rem;
      width: 100% !important;
      height: 100%;
      object-fit: cover;
      object-position: center center;
    }

    .article-header-menu {
      transition: all 0.3s ease-in-out;
      position: absolute;
      top: 0.5rem;
      right: -3rem;
    }

    .btn-add {
      position: absolute;
      bottom: -3rem;
      width: 100%;
      transition: all 0.3s ease-in-out;
    }
  }

  .article-body {
    padding: 0.5rem;

    .article-category {
      a {
        color: #999;
      }
    }
  }

  .article-header:hover {
    .article-header-menu {
      right: 0.5rem;
    }

    .btn-add {
      bottom: 0;
    }
  }

  .article-footer {
    align-self: bottom;
    padding: 0.25rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;

    .article-actions {
      display: flex;
      gap: 0.25rem;
    }
    .article-price {
      text-size-adjust: auto;
      font-weight: bold;
      color: #900;

      sup {
        font-weight: 300;
        color: #999;
        margin: 0;
        padding: 0;
      }
    }
  }
}

.article:hover {
  box-shadow: 0px 0px 10px #0001;
  background: #fff;
  border: 1px solid #0001;

  .article-name {
    color: var(--text-color-danger);
  }
}

.article-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  line-height: 1rem;
  transition: all 0.2s ease-in-out;
  margin: 0.25rem 0 0.25rem 0;
}
.articulo-data {
  margin-top: 0.5rem;

  .nav-tabs {
    /* background: linear-gradient(#f0f0f0 75%, #e9e9e9 100%); */
    padding: 1rem 0.5rem 0 0.5rem;
    border: none;

    .nav-link {
      color: #333;
      transition: all 0.5s ease;
      border: none;
      border-bottom: 3px solid #0360;
      border-radius: none;
    }
    .nav-link:hover {
      border: none;
    }

    .nav-link.active {
      font-weight: bold;
      /* background: linear-gradient(#efefef 0%, #ffffff 50%); */
      /* box-shadow: 0px -2px 4px #0001; */
      /* text-shadow: 0px 1px 2px #0003; */
      border: none;
      border-bottom: 3px solid #036f;
    }
  }

  .tab-content {
    border: none;
    border-top: 1px solid #036f;
    padding: 0.5rem;
    min-height: 50vh;
  }
}
