/* ==============================
   HERO PRODUCTOS
============================== */

.products-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 55px 0 55px;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.98) 0%, rgba(5, 8, 12, 0.92) 36%, rgba(5, 8, 12, 0.35) 68%, rgba(5, 8, 12, 0.15) 100%),
    url("../img/productos/inicio-productos.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

.products-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

.products-hero::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  content: "";
}

.products-hero .container {
  position: relative;
  z-index: 2;
}

.products-hero-content {
  max-width: 650px;
}

.products-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.products-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.products-hero h1 span {
  display: block;
  color: var(--red);
}


.breadcrumb-products {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb-products a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: 0.25s ease;
}

.breadcrumb-products a:hover {
  color: var(--red);
}

.breadcrumb-products i {
  color: var(--red);
  font-size: 16px;
}


.products-hero p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

/* ==============================
   BUSCADOR Y FILTROS
============================== */
.catalog-search-section {
  position: relative;
  z-index: 4;
  margin-top: -42px;
  padding-bottom: 34px;
}

.catalog-search-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, rgba(215, 38, 30, 0.16), transparent 36%),
    rgba(10, 15, 21, 0.96);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field label {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.search-field input,
.search-field select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #0a0f15;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: 0.25s ease;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.search-field input:focus,
.search-field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 38, 30, 0.18);
}

.catalog-search-btn {
  width: 58px;
  height: 52px;
  align-self: end;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 12px 28px rgba(215, 38, 30, 0.34);
}

.catalog-search-btn:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

/* Filtros rápidos */

.quick-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.quick-filter {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(10, 15, 21, 0.92);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.quick-filter i {
  color: var(--red);
  font-size: 19px;
}

.quick-filter:hover,
.quick-filter.active {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.quick-filter:hover i,
.quick-filter.active i {
  color: #ffffff;
}

/* ==============================
   CATÁLOGO PRINCIPAL
============================== */

.catalog-section {
  padding: 36px 0 70px;
  background:
    linear-gradient(180deg, #05080c 0%, #080d13 100%);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: start;
}

/* ==============================
   SIDEBAR
============================== */

.catalog-sidebar {
  position: sticky;
  top: 110px;
}

.sidebar-card,
.sidebar-help-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(15, 21, 28, 0.98), rgba(7, 11, 16, 0.98));
  overflow: hidden;
}

.sidebar-card {
  padding: 20px;
}

.sidebar-card h3,
.sidebar-help-card h3 {
  position: relative;
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.sidebar-card h3::after,
.sidebar-help-card h3::after {
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 10px;
  background: var(--red);
  content: "";
}

.sidebar-category {
  width: 100%;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: 0.25s ease;
}

.sidebar-category:last-child {
  border-bottom: 0;
}

.sidebar-category span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sidebar-category i {
  color: var(--red);
  font-size: 18px;
}

.sidebar-category small {
  min-width: 28px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  text-align: center;
}

.sidebar-category:hover,
.sidebar-category.active {
  background: var(--red);
  color: #ffffff;
}

.sidebar-category:hover i,
.sidebar-category.active i {
  color: #ffffff;
}

.sidebar-category:hover small,
.sidebar-category.active small {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.sidebar-help-card {
  margin-top: 18px;
  padding: 24px;
}

.sidebar-help-card p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.55;
}

.sidebar-help-card a {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.25s ease;
}

.sidebar-help-card a:hover {
  background: var(--red-dark);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ==============================
   RESULTADOS
============================== */

.catalog-products-area {
  min-width: 0;
}

.catalog-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.catalog-results-header p {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.catalog-results-header strong {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-box label {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.sort-box select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #0a0f15;
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

/* ==============================
   TARJETAS DE PRODUCTO
============================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.catalog-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(9, 16, 28, 0.98), rgba(5, 10, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
}

.catalog-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 38, 30, 0.45);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.38);
}

.catalog-product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 4px;
  background: var(--red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(215, 38, 30, 0.3);
}

.catalog-product-image {
  width: 100%;
  height: 210px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
  flex-shrink: 0;
}


.catalog-product-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

.catalog-product-placeholder,
.premium-photo-placeholder {
  color: #252a31;
  text-align: center;
}

.catalog-product-placeholder {
  width: calc(100% - 36px);
  min-height: 182px;
  padding: 24px;
  border: 1px dashed rgba(215, 38, 30, 0.34);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #f3f4f6);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
}

.catalog-product-placeholder i,
.premium-photo-placeholder i {
  color: var(--red);
  font-size: 38px;
}

.catalog-product-placeholder strong,
.premium-photo-placeholder strong {
  color: #111418;
  font-size: 18px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.catalog-product-placeholder span,
.premium-photo-placeholder span {
  color: #5f6670;
  font-size: 13px;
  font-weight: 800;
}

.premium-main-image.pending-product-photo {
  background: #ffffff !important;
}

.premium-photo-placeholder {
  position: relative;
  z-index: 3;
  width: min(100%, 430px);
  min-height: 280px;
  padding: 38px;
  border: 1px dashed rgba(215, 38, 30, 0.38);
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff, #f3f4f6);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
}

.premium-photo-placeholder small {
  max-width: 280px;
  color: #737a84;
  font-size: 12px;
  line-height: 1.5;
}

.specs-layout-catalog {
  grid-template-columns: minmax(0, 1fr);
}

.specs-catalog-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  background: rgba(215, 38, 30, 0.06);
  color: #4d5560;
  line-height: 1.65;
}

/* S30T y S32T usan el mismo fondo neutro aunque sus fotos tengan tonos distintos. */
.catalog-product-card[data-product-code="S30T"] .catalog-product-image,
.catalog-product-card[data-product-code="S32T"] .catalog-product-image {
  background: #ffffff !important;
}

.catalog-product-card[data-product-code="S30T"] .catalog-product-image img,
.catalog-product-card[data-product-code="S32T"] .catalog-product-image img {
  filter: grayscale(1) brightness(1.35) contrast(1.35);
}

.catalog-product-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-product-info h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
  color: #fff;
}

.catalog-product-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.catalog-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 10px;
}

.catalog-product-meta span {
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.catalog-product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalog-btn-detail,
.catalog-btn-quote {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.25s ease;
}

.catalog-btn-detail {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: transparent;
}

.catalog-btn-detail:hover {
  border-color: var(--red);
  color: #ffffff;
  background: rgba(215, 38, 30, 0.12);
}

.catalog-btn-quote {
  border: 1px solid var(--red);
  background: var(--red);
  color: #ffffff;
}

.catalog-btn-quote:hover {
  background: var(--red-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==============================
   MENSAJE VACÍO
============================== */

.empty-products-message {
  display: none;
  min-height: 300px;
  place-items: center;
  text-align: center;
  padding: 40px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.empty-products-message.show {
  display: grid;
}

.empty-products-message i {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 48px;
}

.empty-products-message h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.empty-products-message p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

/* ==============================
   RESPONSIVE PRODUCTOS
============================== */

@media (max-width: 1180px) {
  .catalog-search-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-search-btn {
    width: 100%;
    grid-column: span 2;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .products-hero {
    min-height: 360px;
    padding: 130px 0 70px;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .catalog-results-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .products-hero {
    padding: 120px 0 58px;
  }



  .catalog-search-section {
    margin-top: -34px;
  }

  .catalog-search-box {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .catalog-search-btn {
    grid-column: auto;
  }

  .quick-category-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .quick-filter {
    flex: 0 0 auto;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .catalog-product-card {
    min-height: auto;
  }

  .catalog-product-image {
    height: 200px;
  }

  .sort-box {
    width: 100%;
    justify-content: space-between;
  }

  .sort-box select {
    flex: 1;
  }
}

/* ==============================
   FOOTER PRODUCTOS
============================== */

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #ffffff;
  font-size: 19px;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
  transform: translateY(-3px);
}



.footer-form {
  display: flex;
  margin-top: 18px;
}

.footer-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px 0 0 5px;
  background: #111821;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.footer-form input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.footer-form button {
  width: 54px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: var(--red);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  transition: 0.25s ease;
}

.footer-form button:hover {
  background: var(--red-dark);
}


/* Responsive footer */



@media (max-width: 780px) {
  .site-footer {
    padding: 42px 0 22px;
  }
}




/* ==============================
   TARJETAS UNIFORMES
============================== */

.catalog-product-card {
  min-height: 0;
  height: auto;
}

.catalog-product-image {
  height: 210px;
  flex-shrink: 0;
}

.catalog-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.catalog-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.catalog-product-info h3 {
  min-height: 0;
  display: flex;
  align-items: flex-start;
}

.catalog-product-info p {
  min-height: 0;
}

.catalog-product-meta {
  min-height: 0;
  align-content: flex-start;
}

.catalog-product-actions {
  margin-top: auto;
}


/* =========================================================
   PRODUCTO DETALLE PREMIUM - NUEVA PROPUESTA
========================================================= */

.product-detail-page {
  background: #05080c;
  color: #ffffff;
}

/* Sección principal */
.product-detail-premium {
  padding: 24px 0 42px !important;
  background:
    radial-gradient(circle at top right, rgba(229, 37, 32, 0.16), transparent 35%),
    linear-gradient(180deg, #070b10 0%, #05080c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Breadcrumb */
.product-detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.product-detail-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.product-detail-breadcrumb a:hover {
  color: var(--red);
}

.product-detail-breadcrumb i {
  color: var(--red);
  font-size: 15px;
}

/* Layout principal */
.premium-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 34px;
  align-items: start;
}

/* =========================================================
   GALERÍA IZQUIERDA
========================================================= */

.premium-gallery-panel {
  min-width: 0;
}

.premium-main-image {
  position: relative;
  min-height: 430px;
  padding: 34px;
  border-radius: 6px;
  background: #f6f6f6;
  border: 1px solid rgba(5, 8, 12, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* textura técnica */
.premium-main-image::before {
  display: none;
}

/* línea roja diagonal */
.premium-main-image::after {
  display: none;
}

.premium-main-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 450px;
  max-height: 365px;
  object-fit: contain;
  display: block;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-composite: intersect;
}

/* Badge NUEVO */
.premium-main-image .catalog-product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
}

/* Flechas */
.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 8, 12, 0.74);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: 0.25s ease;
}

.gallery-arrow:hover {
  background: var(--red);
  border-color: var(--red);
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

/* Miniaturas */
.premium-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.premium-thumb {
  height: 82px;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid rgba(5, 8, 12, 0.16);
  background: #f6f6f6;
  cursor: pointer;
  overflow: hidden;
  transition: 0.25s ease;
}

.premium-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

.premium-thumb:hover,
.premium-thumb.active {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
  background: #f6f6f6;
}

.premium-main-image.neutral-product-background,
.premium-thumb.neutral-product-background,
.premium-thumb.neutral-product-background:hover,
.premium-thumb.neutral-product-background.active {
  background: #ffffff !important;
}

.premium-main-image.neutral-product-background img,
.premium-thumb.neutral-product-background img {
  filter: grayscale(1) brightness(1.35) contrast(1.35);
}

/* =========================================================
   PANEL DERECHO
========================================================= */

.premium-info-panel {
  padding: 10px 0 0;
}

.product-detail-category {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.premium-info-panel h1 {
  max-width: 560px;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -1px;
}

.premium-info-panel h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 16px;
  background: var(--red);
}

.premium-code-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.5;
}

.premium-code-line span {
  position: relative;
}

.premium-code-line span:not(:last-child)::after {
  content: "|";
  margin-left: 14px;
  color: rgba(255, 255, 255, 0.26);
}

.premium-code-line strong {
  color: #ffffff;
  font-weight: 900;
}

.premium-info-panel p {
  max-width: 570px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.7;
}

/* Beneficios circulares */
.premium-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.premium-benefits div {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
}

.premium-benefits i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #ffffff;
  font-size: 26px;
}

.premium-benefits span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

/* Etiquetas */
.premium-info-panel .product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.premium-info-panel .product-detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(229, 37, 32, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.premium-info-panel .product-detail-tags span.product-stock-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(47, 191, 113, 0.42);
  background: rgba(47, 191, 113, 0.15);
  color: #61d995;
}

.premium-info-panel .product-detail-tags .product-stock-tag i {
  font-size: 14px;
}

/* Datos técnicos individuales */
.premium-info-panel .product-detail-technical {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-info-panel .product-detail-technical.show {
  display: block;
}

.premium-info-panel .product-detail-technical h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.premium-info-panel .product-detail-technical h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 10px;
  background: var(--red);
}

.premium-info-panel .detail-technical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.premium-info-panel .detail-technical-grid div {
  min-height: 62px;
  padding: 10px;
  border-radius: 6px;
  background: rgba(5, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-info-panel .detail-technical-grid strong {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.premium-info-panel .detail-technical-grid span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

/* Botones */
.premium-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.premium-detail-actions a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: 0.25s ease;
}

.premium-detail-actions #detailWhatsappBtn {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(215, 38, 30, 0.3);
}

.premium-detail-actions .detail-back-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: transparent;
}

.premium-detail-actions a:hover {
  transform: translateY(-2px);
}

/* Ocultar acciones antiguas si quedaron */
.product-detail-actions {
  display: none !important;
}

/* =========================================================
   TABS INFORMATIVOS
========================================================= */

.premium-tabs-section {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.premium-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.premium-tab {
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.25s ease;
}

.premium-tab i {
  font-size: 22px;
}

.premium-tab:hover,
.premium-tab.active {
  color: #ffffff;
  border-color: var(--red);
}

.premium-tabs-content {
  padding: 24px 0 8px;
}

.premium-tab-panel {
  display: none;
}

.premium-tab-panel.active {
  display: block;
}

.premium-tab-panel h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.premium-tab-panel p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.7;
}

/* Aplicaciones */
.premium-applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.premium-applications-grid div {
  min-height: 88px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.premium-applications-grid i {
  color: var(--red);
  font-size: 24px;
}

/* Especificaciones en tabs */
.premium-specs-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 980px;
}

.premium-specs-table div {
  min-height: 74px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-specs-table strong {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.premium-specs-table span {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

/* =========================================================
   RESPONSIVE PREMIUM
========================================================= */

@media (max-width: 1200px) {
  .premium-detail-grid {
    grid-template-columns: 1fr;
  }

  .premium-info-panel {
    padding-top: 0;
  }

  .premium-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-applications-grid,
  .premium-specs-table {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .premium-main-image {
    min-height: 330px;
    padding: 24px;
  }

  .premium-main-image img {
    max-height: 280px;
  }

  .premium-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }

  .premium-info-panel h1 {
    font-size: 34px;
  }

  .premium-detail-actions {
    grid-template-columns: 1fr;
  }

  .premium-tabs-nav {
    flex-direction: column;
  }

  .premium-tab {
    width: 100%;
    justify-content: flex-start;
  }

  .premium-benefits,
  .premium-applications-grid,
  .premium-specs-table,
  .premium-info-panel .detail-technical-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   BENEFICIOS DINÁMICOS PREMIUM
========================================================= */

.premium-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.premium-benefits div {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
}

.premium-benefits i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #ffffff;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.035);
}

.premium-benefits span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

@media (max-width: 720px) {
  .premium-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================================================
   FICHA TÉCNICA GENERAL PREMIUM
========================================================= */

.technical-section {
  padding: 70px 0;
  background:
    radial-gradient(circle at top left, rgba(229, 37, 32, 0.08), transparent 35%),
    #05080c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.technical-sheet-premium {
  color: #ffffff;
}

.technical-sheet-header-premium {
  max-width: 900px;
  margin-bottom: 34px;
}

.technical-sheet-header-premium span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.technical-sheet-header-premium h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
}

.technical-sheet-header-premium h2::after {
  content: "";
  display: block;
  width: 66px;
  height: 4px;
  margin-top: 16px;
  background: var(--red);
}

.technical-sheet-header-premium p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

/* Intro */
.technical-sheet-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  margin-bottom: 34px;
}

.technical-sheet-intro>div,
.technical-advantages-card {
  padding: 26px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.technical-sheet-intro h3,
.technical-advantages-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.technical-sheet-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.technical-advantages-list {
  display: grid;
  gap: 12px;
}

.technical-advantages-list div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.technical-advantages-list i {
  color: var(--red);
  font-size: 19px;
  margin-top: 1px;
}

/* Tabs de secciones */
.technical-section-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.technical-section-tab {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.technical-section-tab:hover,
.technical-section-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

/* Secciones */
.technical-product-section {
  display: none;
  padding: 26px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.technical-product-section.active {
  display: block;
}

.technical-section-heading {
  margin-bottom: 22px;
}

.technical-section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.technical-section-heading h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
}

.technical-section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

/* Tabla */
.technical-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.technical-premium-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.technical-premium-table thead {
  background: var(--red);
}

.technical-premium-table th {
  padding: 14px 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.technical-premium-table td {
  padding: 13px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 12, 0.76);
  white-space: nowrap;
}

.technical-premium-table tr:hover td {
  background: rgba(229, 37, 32, 0.08);
}

.technical-premium-table td strong {
  color: #ffffff;
  font-weight: 900;
}

/* Diagramas y notas */
.technical-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 24px;
  margin-top: 28px;
}

.technical-diagrams-premium,
.technical-notes-premium {
  padding: 26px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.technical-card-title span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.technical-card-title h3 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.technical-diagrams-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.technical-diagram-item {
  padding: 16px;
  border-radius: 10px;
  background: rgba(5, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.technical-diagram-item img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.88;
}

.technical-diagram-item span {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.technical-notes-list {
  display: grid;
  gap: 14px;
}

.technical-notes-list div {
  padding: 14px;
  border-radius: 8px;
  background: rgba(5, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.technical-notes-list strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.technical-notes-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 1000px) {

  .technical-sheet-intro,
  .technical-bottom-grid {
    grid-template-columns: 1fr;
  }

  .technical-diagrams-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .technical-section {
    padding: 46px 0;
  }

  .technical-product-section,
  .technical-sheet-intro>div,
  .technical-advantages-card,
  .technical-diagrams-premium,
  .technical-notes-premium {
    padding: 18px;
  }
}


/* Ocultar tabla repetida de datos técnicos del modelo */
#detailTechnicalBox {
  display: none !important;
}

.specs-notes-card,
.technical-notes,
.premium-notes,
.notes-card {
  display: none !important;
}

/* ================================
   ESPECIFICACIONES + DIAGRAMAS COMPACTOS
================================ */

.specs-layout-new {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, 0.85fr);
  gap: 26px;
  align-items: start;
  margin-top: 18px;
}

/* Tarjetas principales */
.specs-main-card,
.specs-interpretation-card,
.specs-diagrams-card {
  background: linear-gradient(135deg, rgba(24, 33, 45, 0.96), rgba(15, 20, 28, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.specs-main-card {
  padding: 26px;
}

.specs-interpretation-card {
  padding: 20px 22px;
  background: rgba(74, 10, 16, 0.28);
  border: 1px solid rgba(255, 59, 48, 0.35);
}

.specs-diagrams-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-main-card h3,
.specs-interpretation-card h3,
.specs-diagrams-card h3 {
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 16px;
}

.specs-main-card h3 {
  font-size: 24px;
}

.specs-interpretation-card h3 {
  font-size: 21px;
}

.specs-diagrams-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.specs-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

/* Tabla de especificaciones */
.specs-table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.specs-table-grid>div {
  min-height: 96px;
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 17, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.specs-table-grid>div:nth-child(3n) {
  border-right: none;
}

.specs-table-grid>div strong {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.specs-table-grid>div span {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .specs-table-grid {
    grid-template-columns: 1fr;
  }

  .specs-table-grid>div,
  .specs-table-grid>div:nth-child(3n) {
    border-right: none;
  }
}

/* Tabla para juegos formados por varios componentes, como EJ1 */
.specs-layout-set {
  grid-template-columns: minmax(0, 1fr);
}

.set-components-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d9dde3;
  border-radius: 14px;
}

.set-components-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
}

.set-components-table th,
.set-components-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #e7e9ed;
}

.set-components-table th {
  color: #ffffff;
  background: var(--red, #e32620);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.set-components-table tbody tr:last-child td {
  border-bottom: 0;
}

.set-components-table tbody tr:nth-child(even) {
  background: #f7f8fa;
}

.set-components-summary {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

/* Tabla individual: cada ficha muestra únicamente el modelo abierto. */
.specs-layout-product-table {
  grid-template-columns: minmax(0, 1fr);
}

.product-technical-intro {
  margin: -4px 0 20px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.product-technical-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  scrollbar-color: rgba(255, 255, 255, 0.42) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.product-technical-table {
  width: 100%;
  min-width: var(--technical-table-min-width, 680px);
  border-collapse: collapse;
  table-layout: auto;
}

.product-technical-table th,
.product-technical-table td {
  min-width: 132px;
  padding: 15px 16px;
  text-align: left;
  vertical-align: middle;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.product-technical-table th:last-child,
.product-technical-table td:last-child {
  border-right: 0;
}

.product-technical-table th {
  color: #ffffff;
  background: var(--red, #e32620);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: normal;
}

.product-technical-table td {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(4, 8, 13, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.specs-diagrams-inline {
  width: 100%;
}

@media (max-width: 640px) {
  .specs-main-card {
    padding: 20px 16px;
  }

  .product-technical-table {
    min-width: var(--technical-table-min-width, 680px);
  }

  .product-technical-table th,
  .product-technical-table td {
    min-width: 122px;
    padding: 13px 14px;
  }
}

/* Columna derecha */
.specs-side-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.specs-interpretation-card ul {
  margin: 0;
  padding-left: 18px;
}

.specs-interpretation-card li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.specs-interpretation-card li:last-child {
  margin-bottom: 0;
}

.specs-interpretation-card strong {
  color: #ffffff;
}

/* ================================
   DIAGRAMAS MEJORADOS
================================ */

.specs-diagrams-card {
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, rgba(24, 33, 45, 0.96), rgba(15, 20, 28, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.specs-diagrams-card .specs-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: #ff3b30;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.specs-diagrams-card h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.specs-diagrams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.specs-diagram-item {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.95), rgba(7, 10, 16, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.specs-diagram-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 59, 48, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.specs-diagram-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 28px;
  background: #ff3b30;
  border-radius: 0 10px 10px 0;
}

.specs-diagram-image {
  width: 100%;
  height: 104px;
  background: linear-gradient(180deg, #f4f4f4 0%, #e8e8e8 100%);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.specs-diagram-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.specs-diagram-item h4 {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

/* ================================
   DIAGRAMAS COMPACTOS - ESTILO FICHA GENERAL
================================ */

.specs-diagrams-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-diagrams-card .specs-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.specs-diagrams-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.specs-diagrams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.specs-diagram-item {
  padding: 10px;
  border-radius: 12px;
  background: rgba(5, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  overflow: hidden;
}

.specs-diagram-image {
  width: 100%;
  height: 92px;
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 58%),
    #080c12;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.specs-diagram-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: invert(1) grayscale(1) contrast(1.15);
  opacity: 0.9;
}

.specs-diagram-item h4 {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 768px) {
  .specs-diagrams-grid {
    grid-template-columns: 1fr;
  }

  .specs-diagram-image {
    height: 120px;
  }
}

@media (max-width: 980px) {
  .specs-layout-new {
    grid-template-columns: minmax(0, 1fr);
  }

  .specs-main-card,
  .specs-side-column,
  .specs-interpretation-card,
  .specs-diagrams-card {
    width: 100%;
    min-width: 0;
  }
}

/* Eliminar notas técnicas de la ficha general */
.technical-notes-premium,
.technical-notes-list,
.technical-notes-card {
  display: none !important;
}

/* Cuando ya no hay notas, los diagramas ocupan mejor el espacio */
.technical-bottom-grid {
  grid-template-columns: 1fr !important;
}

/* ================================
   ZOOM DE DIAGRAMAS
================================ */

.specs-diagram-item {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
}

.specs-diagram-item:hover {
  border-color: rgba(229, 37, 32, 0.45);
}

.diagram-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.diagram-zoom-modal.active {
  display: flex;
}

.diagram-zoom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.diagram-zoom-content {
  position: relative;
  z-index: 2;
  width: min(700px, 94vw);
  padding: 24px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(229, 37, 32, 0.16), transparent 36%),
    #0b1118;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.diagram-zoom-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(5, 8, 12, 0.88);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  transition: 0.25s ease;
}

.diagram-zoom-close:hover {
  background: var(--red);
  border-color: var(--red);
}

.diagram-zoom-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.diagram-zoom-label::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 10px;
  background: var(--red);
}

.diagram-zoom-image-box {
  min-height: 220px;
  padding: 18px;
  border-radius: 14px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 58%),
    #05080c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.diagram-zoom-image-box img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
  filter: invert(1) grayscale(1) contrast(1.15);
  opacity: 0.95;
}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 700px) {
  .diagram-zoom-content {
    padding: 18px;
  }

  .diagram-zoom-image-box {
    min-height: 300px;
  }

  .diagram-zoom-label {
    font-size: 18px;
  }
}

/* =========================================================
   AJUSTE SUPERIOR FICHA GENERAL
========================================================= */

.technical-sheet-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  gap: 22px;
  margin-bottom: 26px;
}

.technical-sheet-intro > div,
.technical-advantages-card {
  min-height: 210px;
  padding: 24px 26px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.1);
}

.technical-sheet-intro h3,
.technical-advantages-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.technical-sheet-intro p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.65;
}

.technical-advantages-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}

.technical-advantages-list div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.technical-advantages-list i {
  color: var(--red);
  font-size: 18px;
}

.technical-advantages-list span {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 800;
}

/* Respaldo: ocultar diagramas y notas de ficha general */
.technical-bottom-grid,
.technical-diagrams-premium,
.technical-notes-premium,
.technical-notes-list,
.technical-notes-card {
  display: none !important;
}

@media (max-width: 1000px) {
  .technical-sheet-intro {
    grid-template-columns: 1fr;
  }

  .technical-advantages-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   DESCRIPCIÓN + VENTAJAS EN PESTAÑA
========================================================= */

.description-tab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 26px;
  align-items: stretch;
}

.description-tab-text,
.description-tab-advantages {
  padding: 26px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(24, 33, 45, 0.96), rgba(15, 20, 28, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
}

.description-tab-text h3,
.description-tab-advantages h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.description-tab-text h3::after,
.description-tab-advantages h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 10px;
  background: var(--red);
}

.description-tab-text p {
  max-width: 820px;
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 15px;
  line-height: 1.75;
}

.description-advantages-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.description-advantages-list div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.description-advantages-list i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--red);
  font-size: 18px;
}

.description-empty {
  margin: 0;
  color: rgba(255,255,255,0.66);
  font-size: 14px;
  line-height: 1.6;
}

/* Ficha general: cuando solo queda descripción */
.technical-sheet-intro-single {
  grid-template-columns: 1fr !important;
}

.technical-sheet-intro-single .technical-description-card {
  min-height: auto;
}

/* Ocultar cualquier ventaja anterior si quedó duplicada fuera de lugar */
.technical-sheet-premium > .technical-advantages-card {
  display: none !important;
}

@media (max-width: 1000px) {
  .description-tab-layout {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TÍTULO PRINCIPAL DE TABLAS TÉCNICAS
========================================================= */

.technical-tables-main-title {
  max-width: 980px;
  margin-bottom: 28px;
}

.technical-tables-main-title span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.technical-tables-main-title h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1px;
}

.technical-tables-main-title h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 16px;
  background: var(--red);
}

.technical-tables-main-title p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.65;
}

/* =========================================================
   PRODUCTOS MÁS VENDIDOS
========================================================= */

.best-sellers-section {
  padding: 58px 0 64px;
  background:
    radial-gradient(circle at top right, rgba(229, 37, 32, 0.1), transparent 34%),
    linear-gradient(180deg, #05080c 0%, #070b10 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.best-sellers-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.best-sellers-header span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.best-sellers-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.best-sellers-header h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 12px;
  background: var(--red);
}

.best-sellers-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.best-sellers-link:hover {
  color: #ffffff;
}

.best-sellers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.best-seller-card {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(229, 37, 32, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(17,24,34,0.98), rgba(7,11,16,0.98));
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.25s ease;
}

.best-seller-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 37, 32, 0.42);
  box-shadow: 0 20px 46px rgba(0,0,0,0.34);
}

.best-seller-image {
  height: 150px;
  padding: 18px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.best-seller-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.best-seller-info {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.best-seller-info span {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.best-seller-info h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.best-seller-info p {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 800;
}

.best-seller-info a {
  margin-top: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.22);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: 0.25s ease;
}

.best-seller-info a:hover {
  background: var(--red);
  border-color: var(--red);
}

.catalog-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 0 8px;
}

.catalog-load-more {
  min-height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(229, 37, 32, 0.24);
  transition: transform 0.2s ease, background 0.2s ease;
}

.catalog-load-more:hover {
  transform: translateY(-2px);
  background: var(--red-dark);
}

.catalog-load-more[hidden] {
  display: none;
}

/* ==============================
   HERRAMIENTAS EN ACCIÓN
============================== */
.tools-action-section {
  position: relative;
  scroll-margin-top: 110px;
  padding: 62px 0 68px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(229, 37, 32, 0.2), transparent 30%),
    linear-gradient(145deg, #080c12 0%, #0c121a 62%, #15090c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(229, 37, 32, 0.25);
}

.tools-action-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  content: "";
}

.tools-action-section .container {
  position: relative;
  z-index: 1;
}

.tools-action-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 28px;
}

.tools-action-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tools-action-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -1.2px;
}

.tools-action-heading h2 strong {
  display: block;
  color: var(--red);
  font-weight: inherit;
}

.tools-action-heading p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.tools-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(7, 11, 16, 0.93);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tool-video-card:hover,
.tool-video-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(229, 37, 32, 0.58);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.38);
}

.tool-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 25%, rgba(229, 37, 32, 0.24), transparent 35%),
    linear-gradient(145deg, #141a22, #070a0f);
}

.tool-video-trigger {
  width: 100%;
  display: flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.tool-video-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.3s ease, transform 0.35s ease;
  pointer-events: none;
}

.tool-video-card.has-preview .tool-video-preview {
  opacity: 0.82;
}

.tool-video-card:hover .tool-video-preview,
.tool-video-card:focus-within .tool-video-preview {
  transform: scale(1.06);
}

.tool-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 5, 8, 0.04), rgba(2, 5, 8, 0.72));
  pointer-events: none;
}

.tool-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(229, 37, 32, 0.42);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.tool-video-play i {
  margin-left: 3px;
  font-size: 25px;
}

.tool-video-trigger:hover .tool-video-play,
.tool-video-trigger:focus-visible .tool-video-play {
  background: #ffffff;
  color: var(--red);
  transform: translate(-50%, -50%) scale(1.08);
}

.tool-video-status {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(6, 9, 13, 0.78);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.tool-video-content {
  padding: 18px 18px 20px;
}

.tool-video-content > span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.tool-video-content h3 {
  min-height: 48px;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.12;
}

.tool-video-text-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tool-video-text-trigger:hover,
.tool-video-text-trigger:focus-visible {
  color: var(--red);
}

body.tool-video-modal-open {
  overflow: hidden;
}

.tool-video-modal[hidden] {
  display: none;
}

.tool-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.tool-video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.tool-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 3, 6, 0.9);
  backdrop-filter: blur(12px);
}

.tool-video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 94vw);
  max-height: 92vh;
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(229, 37, 32, 0.38);
  border-radius: 22px;
  outline: 0;
  background: #080c12;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
}

.tool-video-modal-heading {
  padding: 0 54px 17px 2px;
}

.tool-video-modal-heading span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.tool-video-modal-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
}

.tool-video-modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 23px;
  cursor: pointer;
}

.tool-video-modal-close:hover,
.tool-video-modal-close:focus-visible {
  border-color: var(--red);
  background: var(--red);
}

.tool-video-modal video {
  width: 100%;
  max-height: calc(92vh - 125px);
  display: block;
  border-radius: 14px;
  background: #000000;
}

@media (max-width: 900px) {
  .tools-action-section {
    padding: 58px 0 62px;
  }

  .tools-action-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tools-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .tools-action-grid {
    grid-template-columns: 1fr;
  }

  .tool-video-card:hover,
  .tool-video-card:focus-within {
    transform: none;
  }

  .tool-video-content {
    padding: 18px 18px 21px;
  }

  .tool-video-content h3 {
    font-size: 21px;
  }

  .tool-video-modal {
    padding: 12px;
  }

  .tool-video-modal-dialog {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
  }
}

@media (max-width: 460px) {
  .tools-action-section {
    padding: 48px 0 52px;
  }

  .tools-action-heading h2 {
    font-size: 38px;
  }

  .tools-action-heading p {
    font-size: 14px;
  }

  .tools-action-grid {
    grid-template-columns: 1fr;
  }

  .tool-video-status {
    top: 10px;
    left: 10px;
  }

  .tool-video-content h3 {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-video-card,
  .tool-video-preview,
  .tool-video-play,
  .tool-video-modal {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1300px) {
  .best-sellers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .best-sellers-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .best-sellers-grid {
    grid-template-columns: 1fr;
  }

  .best-seller-card {
    min-height: auto;
  }
}
