.video {
  border: 2px solid #000 !important;
  background-color: #000;
}

.product .brand {
  font-size: 1.2rem;
  color: var(--orange);
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}

.product .title h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: black;
}

.product .description h2 {
  font-size: 0.9rem;
  line-height: 1.3rem;
}

.product .thumbnail {
  overflow: hidden;
  width: 100%;
  height: 92px;
  max-height: 100px;
  border: 3px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 2px;
  object-fit: contain;
}

.product .thumbnail img {
  position: relative;
  height: 100%;
  width: auto;
}

.product .video-container {
  position: relative;
  width: 100%;
  height: 85px;
  max-height: 100px;

  overflow: hidden;
  border: 3px solid var(--border-color);
  border-radius: var(--border-radius);

  display: flex; /* Agregamos flexbox para centrar verticalmente */
  align-items: center; /* Centramos verticalmente */
  justify-content: center; /* Centramos horizontalmente */
  background-color: black;

  cursor: pointer;
}

.product .product-gallery {
  position: relative;
  margin-top: 18px;
  padding: 0 34px;
}

.product .product-gallery > .row {
  flex-wrap: nowrap;
  gap: 18px;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product .product-gallery > .row::-webkit-scrollbar {
  display: none;
}

.product .gallery-item {
  flex: 0 0 92px;
  width: 92px;
  padding: 0;
}

.product .gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  color: #111;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.product .gallery-nav:hover {
  background: #e8e8e8;
}

.product .gallery-nav-prev {
  left: 0;
  padding-bottom: 7px;
}

.product .gallery-nav-next {
  right: 0;
  padding-bottom: 7px;
}

.product .video-container .video-thumbnail {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product .video-container .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35px;
  height: 25px;
  background-color: rgba(255, 0, 0, 1);
  border-radius: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product .video-container .play-icon::before {
  content: "\25B6"; /* Código Unicode del ícono de reproducción */
  color: white;
  font-size: 14px;
}

.product .video-container-g {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border: 3px solid black;
  display: flex; /* Agregamos flexbox para centrar verticalmente */
  align-items: center; /* Centramos verticalmente */
  justify-content: center; /* Centramos horizontalmente */
  background-color: black;
  cursor: pointer;
}

.product .video-container-g .video-thumbnail {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product .video-container-g .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 50px;
  background-color: rgba(255, 0, 0, 1);
  border-radius: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product .video-container-g .play-icon::before {
  content: "\25B6"; /* Código Unicode del ícono de reproducción */
  color: white;
  font-size: 24px;
}

.product .vpg {
  cursor: pointer;
}

.product #lightbox {
  position: fixed; /* keeps the lightbox window in the current viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7) url(../_IMG/loading_w.svg) center no-repeat;
  text-align: center;
  z-index: 40000;
  display: none;
  opacity: 0;
}
.product #lightbox #content {
  opacity: 0;
  width: 100%;
  height: 100%;
}
.product #lightbox #content img {
  height: 90vh;
  padding: 10px;
}

.product .attributes .row {
  padding: 1rem;
  margin-bottom: 0px !important;
}

.product .attributes .row:nth-child(even) {
  background-color: #f2f2f2;
  border: 1px solid #dee2e6 !important;
}
.product .attributes .row:nth-child(odd) {
  background-color: #fff;
}

.product .attributes .line {
  font-size: 1rem !important;
}

.product .attributes .atribute {
  font-size: 1rem !important;
  font-weight: bold;
  text-transform: uppercase;
  color: black;
}

.product .attributes .value {
  font-size: 1rem !important;
}

.product .product-info-tabs {
  font-family: "Poppins", sans-serif;
}

.product .product-tabs-nav {
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d9d9d9;
}

.product .product-tabs-nav .nav-link {
  min-width: 120px;
  padding: 8px 18px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #888;
  font-weight: 600;
  font-size: 0.95rem;
}

.product .product-tabs-nav .nav-link:hover {
  color: #111;
}

.product .product-tabs-nav .nav-link.active {
  background: var(--principal-color);
  color: #fff;
}

.product .product-tabs-content {
  padding: 28px 20px 0;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.65;
}

.product .product-tabs-content p {
  margin: 0;
}

.product .product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.product .product-feature-grid div {
  display: grid;
  gap: 4px;
}

.product .product-feature-grid b {
  color: #111;
}

.product .product-feature-grid span {
  color: #555;
}

.product .product-buy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 22px;
  color: #111;
  font-family: "Poppins", sans-serif;
}

.product .product-buy-meta {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.65;
}

.product .product-quantity-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.product .product-quantity-row label,
.product .m-select label {
  display: block;
  margin: 0;
  color: #111;
  font-size: 1rem;
  font-weight: 700;
}

.product .product-quantity-row label {
  text-transform: uppercase;
}

.product .cantidad {
  display: inline-grid;
  grid-template-columns: 48px 28px;
  width: 76px;
  height: 45px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.product .cantidad input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: #555;
  font-size: 1rem;
  text-align: center;
  outline: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.product .cantidad input::-webkit-outer-spin-button,
.product .cantidad input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.product .quantity-controls {
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-left: 1px solid #ddd;
}

.product .qty-btn {
  width: 100%;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 1.1rem;
  line-height: 1;
}

.product .qty-btn:first-child {
  border-bottom: 1px solid #ddd;
}

.product .product-buy-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.product .btn-add-cart {
  background: var(--principal-color);
  color: #fff;
}

.product .btn-add-cart:hover {
  background: #46a4b4;
  color: #fff;
}

.product .btn-buy-now {
  background: #000;
  color: #fff;
}

.product .btn-buy-now:hover {
  background: #222;
  color: #fff;
}

.product .wishlist-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  font: inherit;
}

.product .wishlist-button span {
  font-size: 1.25rem;
  line-height: 1;
}

.product .shipping-note {
  display: grid;
  gap: 2px;
  padding: 12px 20px;
  border: 1px solid #777;
  color: #111;
  font-size: 0.92rem;
  line-height: 1.35;
}

.product .product-options {
  display: grid;
  align-content: start;
  gap: 14px;
}

.product .m-select {
  display: grid;
  gap: 4px;
}

.product .m-select select {
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  padding: 2px 26px 2px 8px;
  border: 1px solid #999;
  border-radius: 3px;
  background-color: #fff;
  color: #222;
  font-size: 0.98rem;
  line-height: 1.2;
}

@media (max-width: 575.98px) {
  .product .product-buy-box {
    grid-template-columns: 1fr;
  }

  .product .product-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .product .m-select select {
    width: 100%;
  }

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

  .product .product-tabs-nav {
    gap: 6px;
  }

  .product .product-tabs-nav .nav-link {
    min-width: auto;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .product .product-tabs-content {
    padding: 20px 0 0;
  }

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