/* =========================================================
   PRODUCTO.HTML · estilos exclusivos
   No incluye estilos comunes ya definidos en styles.css:
   root, body, topbar, navbar, footer, etc.
   ========================================================= */

.product-hero {
  position: relative;
  min-height: 225px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,.18) 100%),
    url("/v04/images/productos/hero-producto-generico.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.25) 45%, transparent 46%);
  pointer-events: none;
}

.product-hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 2.8rem 0;
}

.product-hero h1 {
  font-family: var(--arvipo-font-title);
  font-size: clamp(2.45rem, 4.8vw, 4.4rem);
  line-height: .9;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: none;
  margin-bottom: .55rem;
}

.product-hero p {
  max-width: 380px;
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}

.product-benefits {
  background: #fff;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--arvipo-border);
}

.product-benefit {
  display: flex;
  align-items: center;
  gap: .95rem;
  justify-content: center;
  min-height: 72px;
}

.product-benefit-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--arvipo-red);
  border: 1px solid rgba(178,13,27,.32);
  border-radius: 50%;
  font-size: 1.45rem;
}

.product-benefit h2 {
  font-family: var(--arvipo-font-title);
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 .2rem;
}

.product-benefit p {
  color: #565656;
  font-size: .82rem;
  line-height: 1.25;
  margin: 0;
}

.product-listing {
  background: #f7f7f7;
  padding: 1.45rem 0 3.2rem;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #fff;
  border: 1px solid var(--arvipo-border);
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.product-tab {
  border: 0;
  background: #fff;
  color: #333;
  min-width: 112px;
  padding: .82rem 1.05rem;
  font-family: var(--arvipo-font-title);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .045em;
  font-size: .86rem;
  transition: background .2s ease, color .2s ease;
}

.product-tab + .product-tab {
  border-left: 1px solid var(--arvipo-border);
}

.product-tab:hover,
.product-tab.active {
  background: var(--arvipo-red);
  color: #fff;
}

.compare-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #222;
  background: #fff;
  border: 1px solid var(--arvipo-border);
  padding: .82rem 1.05rem;
  font-family: var(--arvipo-font-title);
  text-transform: uppercase;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .045em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.compare-link:hover {
  color: #fff;
  background: var(--arvipo-red);
  border-color: var(--arvipo-red);
}


.product-item.is-hidden {
  display: none !important;
}

.product-no-results {
  margin: 2rem 0 0;
  padding: 1.25rem;
  text-align: center;
  color: #555;
  background: #fff;
  border: 1px solid var(--arvipo-border);
  font-weight: 600;
}

.product-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 26px rgba(0,0,0,.07);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(178,13,27,.26);
  box-shadow: 0 22px 42px rgba(0,0,0,.12);
}

.product-line {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  z-index: 2;
  color: var(--arvipo-red);
  font-family: var(--arvipo-font-title);
  text-transform: uppercase;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .04em;
  font-size: 1.1rem;
}

.product-line-27,
.product-line-37 {
  color: #8c8c8c;
}

.product-img {
  height: 178px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.4rem 1.5rem .4rem;
  background: #fff;
}

.product-img img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  transition: transform .25s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.04);
}

.product-card-body {
  padding: .95rem 1.25rem 1.2rem;
}

.product-card h2 {
  font-family: var(--arvipo-font-title);
  color: #222;
  text-transform: uppercase;
  font-size: 1.55rem;
  line-height: .95;
  font-weight: 700;
  letter-spacing: .035em;
  margin-bottom: .25rem;
}

.product-card p {
  color: #555;
  font-size: .88rem;
  line-height: 1.35;
  min-height: 38px;
  margin-bottom: 1rem;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
  margin-bottom: 1rem;
}

.product-specs small {
  display: block;
  color: var(--arvipo-red);
  font-size: .72rem;
  line-height: 1.15;
  margin-bottom: .18rem;
}

.product-specs strong {
  display: block;
  color: #242424;
  font-size: .78rem;
  line-height: 1.15;
  font-weight: 700;
}

.product-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  padding: .72rem 1rem;
  color: #fff;
  background: var(--arvipo-red);
  font-family: var(--arvipo-font-title);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .045em;
  font-size: .9rem;
  transition: background .2s ease;
}

.product-button:hover {
  color: #fff;
  background: var(--arvipo-red-dark);
}

.product-help {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  margin-top: 1.8rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--arvipo-border);
  box-shadow: 0 12px 26px rgba(0,0,0,.05);
}

.product-help-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--arvipo-red);
  border: 2px solid rgba(178,13,27,.32);
  border-radius: 50%;
  font-size: 1.8rem;
}

.product-help h2 {
  font-family: var(--arvipo-font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .15rem;
}

.product-help p {
  color: #555;
  font-size: .9rem;
  line-height: 1.35;
  margin: 0;
}

.product-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 235px;
  padding: .72rem 1.3rem;
  color: var(--arvipo-red);
  background: #fff;
  border: 1px solid var(--arvipo-red);
  font-family: var(--arvipo-font-title);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .045em;
  font-size: .9rem;
}

.product-help-button:hover {
  color: #fff;
  background: var(--arvipo-red);
}
.product-line-logo {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 2;
  width: 96px;
  max-width: 34%;
}

.product-line-logo img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 991.98px) {
  .product-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .product-tabs {
    width: 100%;
  }

  .product-tab {
    flex: 1 1 50%;
  }

  .compare-link {
    justify-content: center;
  }

  .product-help {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-help-icon,
  .product-help-button {
    justify-self: center;
  }
}

@media (max-width: 575.98px) {
  .product-hero {
    min-height: 260px;
    background:
      linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.62) 100%),
      url("/v04/images/productos/tijeras-electricas-hero.jpg") center center / cover no-repeat;
  }

  .product-benefit {
    justify-content: flex-start;
  }

  .product-tab {
    flex-basis: 100%;
  }

  .product-tab + .product-tab {
    border-left: 0;
    border-top: 1px solid var(--arvipo-border);
  }

  .product-img {
    height: 155px;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .product-help {
    padding: 1.35rem;
  }

  .product-help-button {
    width: 100%;
    min-width: 0;
  }
}
/* =========================================================
   BOTÓN PDF DE PRODUCTO
========================================================= */

.range-product-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 42px;
    padding: 10px 16px;

    color: #c91c24;
    background: #fff;
    border: 1px solid #c91c24;
    border-radius: 4px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.range-product-pdf i {
    flex-shrink: 0;
    font-size: 19px;
    line-height: 1;
}

.range-product-pdf:hover {
    color: #fff;
    background: #c91c24;
    text-decoration: none;
}

.range-product-pdf:focus-visible {
    outline: 2px solid #c91c24;
    outline-offset: 3px;
}
/*
.arv-variants-table {
    margin-top: 30px;
    margin-bottom: 30px;
}

.arv-variants-table h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #171717;
    margin: 0 0 22px;
    padding-bottom: 14px;
    position: relative;
    letter-spacing: 0.3px;
}

.arv-variants-table h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55px;
    height: 3px;
    background: #d71920;
}
*/

/* ==========================================
   ARVIPO - TABLA DE VARIANTES
========================================== */

.arv-variants-table {
    margin: 40px 0;
}

.arv-variants-table h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.arv-variants-table .table-responsive {
    border-radius: 14px;
    overflow-x: auto;
    border: 1px solid #ddd;
}

.arv-variants-table table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    font-size: 17px;
}

.arv-variants-table thead th {
    background: #e30613;
    color: #fff;
    padding: 20px 18px;
    font-size: 19px;
    font-weight: 700;
    border-right: 1px solid rgba(255,255,255,.5);
    white-space: nowrap;
}

.arv-variants-table thead th:first-child {
    background: #252a2b;
    text-align: left;
    width: 30%;
}

.arv-variants-table tbody td {
    padding: 19px 18px;
    border-right: 1px solid #ddd;
    border-bottom: 0;
    color: #252525;
    background: #fff;
}

.arv-variants-table tbody tr:nth-child(even) td {
    background: #f1f1f1;
}

.arv-variants-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    text-transform: capitalize;
}

.arv-variants-table th:last-child,
.arv-variants-table td:last-child {
    border-right: none;
}

@media (max-width: 767px) {
    .arv-variants-table table {
        font-size: 14px;
    }

    .arv-variants-table thead th {
        font-size: 15px;
        padding: 14px 12px;
    }

    .arv-variants-table tbody td {
        padding: 14px 12px;
    }
}

