/* ==================================================
   PRODUCTO DETALLE - ESTILO PROFESIONAL AISLADO
================================================== */
.site-header .logo span{
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.1 !important;
  white-space: nowrap;
}


.page-producto .breadcrumb-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #8a8f98;
  text-transform: uppercase;
}

.page-producto .breadcrumb-inner a {
  color: #8a8f98;
}


.page-producto .detail-grid {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 50px;
  align-items: start;
}

.page-producto .gallery {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
}

.page-producto .thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-producto .thumbs img {
  width: 50px;
  height: 50px;
  border: 1px solid #d5d5d5;
  padding: 2px;
  background: #fff;
  cursor: pointer;
  
}

.page-producto .thumbs img.active,
.page-producto .thumbs img:hover {
  border-color: #f7b500;
  transform: scale(1.05);
}

.page-producto .main-image {
  width: 100%;
  height: 312px;
  border: 1px solid #e5e7eb;
  padding: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  
}

.page-producto .main-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.page-producto .detail-info {
  padding-top: 0;
  position: relative;
}

/* ===== FLECHAS PROFESIONALES ===== */
.page-producto .detail-topnav {
  position: absolute;
  right: 0;
  top: -30px;
  display: flex;
  gap: 8px;
}

/* BOTONES */
.page-producto .detail-topnav::before,
.page-producto .detail-topnav::after {
  width: 38px;       /* tamaño del botón */
  height: 38px;
  background: #f7b500;
  border-radius: 6px;

  display: flex;     /* centra el ícono */
  align-items: center;
  justify-content: center;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;  /* tamaño del ícono */

  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: all .2s ease;
}

/* ICONO IZQUIERDA */
.page-producto .detail-topnav::before {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M15 18l-6-6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}

/* ICONO DERECHA */
.page-producto .detail-topnav::after {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M9 6l6 6-6 6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  opacity: .6;
}

/* HOVER */
.page-producto .detail-topnav::before:hover,
.page-producto .detail-topnav::after:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
  opacity: 1;
}

.page-producto .detail-title {
  position: relative;
  margin: 0 0 12px;
  padding-left: 13px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.page-producto .detail-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 5px;
  height: 18px;
  background: #f7b500;
}

.page-producto .separator {
  display: block;
  height: 1px;
  background: #e5e7eb;
  margin: 0 0 12px;
}

.page-producto .detail-description {
  display: none;
}

.page-producto .spec-box {
  margin: 22px 0 16px;
  padding: 20px 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  border-radius: 4px;
}

.page-producto .spec-box ul {
  margin: 0;
  padding-left: 16px;
}

.page-producto .spec-box li {
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.45;
  color: #374151;
  font-weight: 500;
  text-transform: none;
}

.page-producto .category-row {
  margin: 0 0 26px;
  padding-bottom: 10px;
  margin-top: 10px;
  margin-bottom: 24px;
  font-size: 11px;
  color: #333;
}

.page-producto .category-row strong {
  font-weight: 900;
}

.page-producto .actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-producto .actions .btn {
  min-width: auto;
  height: 42px;
  padding: 0 20px;
  border-radius: 4px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: none;
}

.page-producto .btn-yellow {
  background: #f7b500;
  color: #000;
}

.page-producto .btn-green {
  border-radius: 6px;
  background: #16a34a;
  color: #fff;
}

@media (max-width: 900px) {
  .page-producto .detail-grid {
    grid-template-columns: 1fr;
  }

  .page-producto .gallery {
    grid-template-columns: 60px 1fr;
  }

  .page-producto .main-image {
    height: auto;
  }

  .page-producto .main-image img {
    height: auto;
    object-fit: contain;
  }
}

/* =========================================================
   QUICK VIEW PREMIUM DEFINITIVO
   SOLO MODAL
========================================================= */

.quickview-modal,
.product-modal,
.modal-producto{
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(0,0,0,.50) !important;
    z-index: 999999 !important;
    padding: 40px !important;
}

/* CAJA */
.quickview-modal .modal-content,
.product-modal .modal-content,
.modal-producto .modal-content{
    width: 1320px !important;
    max-width: 97vw !important;
    background: #fff !important;
    padding: 30px !important;
    position: relative !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px rgba(0,0,0,.22), 0 8px 25px rgba(0,0,0,.12) !important;
}

/* X */
.quickview-modal .close,
.product-modal .close,
.modal-producto .close{
    position: absolute !important;
    top: 8px !important;
    right: 18px !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 42px !important;
    border: none !important;
    background: transparent !important;
    color: #666 !important;
    cursor: pointer !important;
    z-index: 20 !important;
}

/* GRID */
.quickview-modal .modal-body,
.product-modal .modal-body,
.modal-producto .modal-body{
    display: grid !important;
    grid-template-columns: 58% 42% !important;
    gap: 30px !important;
    align-items: start !important;
}

/* IMAGEN */
.quickview-modal .product-image,
.product-modal .product-image,
.modal-producto .product-image{
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #efefef !important;
    padding: 0 !important;
}

.quickview-modal .product-image img,
.product-modal .product-image img,
.modal-producto .product-image img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}

/* MINI */
.quickview-modal .thumbnails,
.product-modal .thumbnails,
.modal-producto .thumbnails{
    display: flex !important;
    gap: 10px !important;
    margin-top: 12px !important;
}

.quickview-modal .thumbnails img,
.product-modal .thumbnails img,
.modal-producto .thumbnails img{
    width: 82px !important;
    height: 82px !important;
    border: 2px solid #222 !important;
    object-fit: cover !important;
    cursor: pointer !important;
}

/* TITULO */
.quickview-modal h2,
.product-modal h2,
.modal-producto h2{
    font-size: 56px !important;
    line-height: 1.02 !important;
    font-weight: 900 !important;
    color: #07162a !important;
    margin-bottom: 12px !important;
    letter-spacing: -.5px !important;
}

/* ESTRELLAS */
.quickview-modal .rating,
.product-modal .rating,
.modal-producto .rating{
    color: #999 !important;
    font-size: 18px !important;
    margin-bottom: 28px !important;
}

/* PRECIO */
.quickview-modal .price,
.product-modal .price,
.modal-producto .price{
    font-size: 58px !important;
    font-weight: 900 !important;
    color: #111 !important;
    margin-bottom: 25px !important;
}

/* LISTA */
.quickview-modal ul,
.product-modal ul,
.modal-producto ul{
    padding-left: 24px !important;
    margin-bottom: 24px !important;
}

.quickview-modal li,
.product-modal li,
.modal-producto li{
    font-size: 20px !important;
    line-height: 1.8 !important;
    color: #5f6771 !important;
}

/* CATEGORIA */
.quickview-modal .categoria,
.product-modal .categoria,
.modal-producto .categoria{
    border-top: 1px dashed #d0d0d0 !important;
    padding-top: 20px !important;
    margin-top: 25px !important;
    font-size: 18px !important;
    color: #555 !important;
}

/* BOTON */
.quickview-modal .btn,
.product-modal .btn,
.modal-producto .btn{
    margin-top: 24px !important;
    background: linear-gradient(180deg,#16df62,#00ba48) !important;
    color: #fff !important;
    border: none !important;
    height: 72px !important;
    padding: 0 38px !important;
    border-radius: 6px !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(0,186,72,.28) !important;
}

/* REDES */
.quickview-modal .socials{
    display: flex !important;
    gap: 14px !important;
    margin-top: 28px !important;
}

.quickview-modal .socials a{
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 2px solid #ddd !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #444 !important;
}

/* MOBILE */
@media(max-width:991px){
    .quickview-modal .modal-body,
    .product-modal .modal-body,
    .modal-producto .modal-body{
        grid-template-columns: 1fr !important;
    }

    .quickview-modal h2,
    .product-modal h2,
    .modal-producto h2{
        font-size: 38px !important;
    }

    .quickview-modal .price,
    .product-modal .price,
    .modal-producto .price{
        font-size: 38px !important;
    }
}
