/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 29 2025 | 14:39:29 */
/**
 * =============================================
 * AREALITY3D VIEWER - ESTILOS COMPLETOS
 * =============================================
 * 
 * Estructura:
 * 1. Variables globales
 * 2. Componentes principales
 * 3. Modal 3D
 * 4. Panel QR y controles
 * 5. Media queries responsive
 * 
 * Prefijo: are- (para evitar colisiones)
 * MetodologÃ­a: BEM (Bloque__Elemento--Modificador)
 */

/* === 1. VARIABLES GLOBALES === */
:root {
  /* Colores */
  --are-color-primary: #940000;
  --are-color-secondary: #ffffff;
  --are-color-accent: #bebcbe;
  --are-color-text: #000000;
  --are-color-bg: #f4f4f4;
  
  /* Sombras */
  --are-shadow-default: 0px 0px 5px rgba(10, 10, 10, 0.196);
  --are-shadow-hover: 3px 5px 5px rgba(10, 10, 10, 0.196);
  
  /* Espaciados */
  --are-space-sm: 6px;
  --are-space-md: 12px;
  --are-space-lg: 18px;
  
  /* Bordes */
  --are-radius-sm: 3px;
  --are-radius-md: 10px;
  
  /* TipografÃ­a */
  --are-text-sm: 13px;
  --are-text-base: 14px;
  --are-text-lg: 16px;
  
  /* Transiciones */
  --are-transition: all 0.2s ease-in-out;
}

/* === 2. COMPONENTES PRINCIPALES === */

/* Visor principal */
.are-viewer {
  position: absolute;
  width: 36%;
  z-index: 10;
}

/* Contenedor de controles */
.are-controls {
  position: absolute;
  width: max-content;
  height: max-content;
  right: 1%;
  top: 0%;
  z-index: 10;
}

/* BotÃ³n 3D */
.are-btn--3d {
  width: 90px;
  height: 100px;
  position: relative;
  cursor: pointer;
  transition: var(--are-transition);
  filter: drop-shadow(var(--are-shadow-default));
}
.are-btn--3d:hover {
  transform: scale(0.9);
}

/* BotÃ³n AR */
.are-btn--ar {
  width: 180px;
  height: 60px;
  cursor: pointer;
  filter: drop-shadow(var(--are-shadow-hover));
}

.areality-tooltip {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.tooltip-content {
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.tooltip-content b {
  color: var(--primary-color);
}

.tooltip-arrow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(0,0,0,0.85);
}

/* Animaciones */
@keyframes tooltip-fade-in {
  from { opacity: 0; transform: translate(-50%, -90%); }
  to { opacity: 1; transform: translate(-50%, -100%); }
}

@keyframes tooltip-fade-out {
  from { opacity: 1; transform: translate(-50%, -100%); }
  to { opacity: 0; transform: translate(-50%, -90%); }
}

/* === 3. MODAL 3D === */
.are-modal {
  position: fixed;
  inset: 0;
  z-index: 10000000;
  background: rgba(0, 0, 0, 0.416);
  backdrop-filter: blur(5px);
  display: grid;
  place-content: center;
}

/* Contenedor del modelo */
.are-modal__frame {
  background: var(--are-color-secondary);
  position: relative;
  width: 80vw;
  height: 85vh;
  border-radius: var(--are-radius-md);
  overflow: hidden;
  filter: drop-shadow(3px 5px 10px rgba(10, 10, 10, 0.532));
}

/* Modelo 3D */
.are-modal__model {
  width: 100%;
  height: 100%;
  border: none;
}

/* BotÃ³n cerrar */
.are-modal__close {
  position: absolute;
  inset: 1% 1% auto auto;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  transition: var(--are-transition);
  font-weight: 600;
}
.are-modal__close:hover {
  font-size: 20px;
}

/* Contenedor de acciones */
.are-actions {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 5%;
  right: 1%;
  z-index: 10;
}

/* === 4. PANEL QR === */
.are-qrpanel {
  position: absolute;
  top: 110%;
  right: -150%;
  width: 200px;
  padding: var(--are-space-lg);
  background: var(--are-color-primary);
  color: var(--are-color-secondary);
  border-radius: var(--are-radius-md);
  transition: var(--are-transition);
  z-index: 20;
}

.are-qrpanel__code {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: var(--are-space-sm);
  background: var(--are-color-secondary);
  border-radius: var(--are-radius-md);
}

/* Contenido QR */
.are-qrpanel__content {
  display: flex;
  flex-direction: column;
  gap: var(--are-space-md);
  margin-top: var(--are-space-md);
}

/* Encabezado */
.are-qrpanel__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.are-qrpanel__title {
  margin: 0;
  font-size: var(--are-text-lg);
  text-align: center;
  line-height: 1.2;
}

.are-qrpanel__title b {
  font-weight: 700;
}

.are-qrpanel__divider {
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
  margin: var(--are-space-sm) 0;
}

/* Pasos AR */
.are-step {
  display: flex;
  align-items: flex-start;
  gap: var(--are-space-md);
}

.are-step__icon {
  width: 25px;
  flex-shrink: 0;
}

.are-step__icon--small {
  width: 20px;
}

.are-step__description {
  margin: 0;
  font-size: var(--are-text-sm);
  line-height: 1;
}

/* === 5. MEDIA QUERIES === */

/* Mobile (hasta 500px) */
@media (max-width: 500px) {
  .are-btn--3d {
    width: 60px;
    height: 70px;
  }
  
  .are-btn--ar {
    width: 150px;
  }
  
  .are-tooltip {
    width: 310px;
    top: 4%;
    right: 40%;
    scale: 0.75;
  }
  
  .are-tooltip::after {
    display: none;
  }
  
  .are-modal__frame {
    width: 90vw;
  }
  
  .are-modal__close {
    inset: 1% 4% auto auto;
  }
  
  .are-actions {
    top: 4%;
    right: 2%;
  }
  
  .are-qrpanel {
    width: 180px;
    padding: var(--are-space-md);
  }
  
  .are-step {
    gap: var(--are-space-sm);
  }
}

/* Desktop (1100px-1700px) */
@media (min-width: 1100px) and (max-width: 1700px) {
  .are-qrpanel {
    top: 70%;
    transform: scale(var(--scale, 0.8));
    --scale: 0.9; /* Para 1400-1700px */
  }
}

/* Ajuste para WooCommerce */
.woocommerce-product-gallery__trigger {
  left: 0 !important;
}