/*
Theme Name: Hello Elementor 11ONCE
Theme URI: https://11oncepizza.com
Description: Child theme de Hello Elementor para 11ONCE Pizza
Author: 11ONCE Pizza
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-11once
*/

/* ============================================================
   CURSOR PERSONALIZADO DE PIZZA
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
  #oncepizza-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    font-size: 30px;
    line-height: 1;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%) rotate(60deg);
    transition: transform 0.08s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    will-change: left, top;
  }
  #oncepizza-cursor.is-clicking {
    transform: translate(-50%, -50%) rotate(60deg) scale(0.72);
  }
  #oncepizza-cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 7px; height: 7px;
    background: #D84315;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    will-change: left, top;
  }
}

/* ============================================================
   BOTONES FLOTANTES DE REDES SOCIALES
   ============================================================ */
#oncepizza-social-float {
  position: fixed;
  right: 18px;
  bottom: 80px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.op-social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(0,0,0,0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: none;
}
.op-social-btn:hover {
  transform: scale(1.13);
  box-shadow: 0 6px 18px rgba(0,0,0,0.38);
}
.op-social-btn--ig {
  background: radial-gradient(circle at 30% 110%,
    #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.op-social-btn--fb {
  background: #1877F2;
}

.op-social-btn--wa {
  background: #25D366;
}
.op-social-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ============================================================
   CARRUSEL DE BLOG
   ============================================================ */
#oncepizza-blog-carousel-section {
  background: #F7F1E4;
  padding: 64px 24px;
}
#oncepizza-blog-carousel-section .op-bc-inner {
  max-width: 1180px;
  margin: 0 auto;
}
#oncepizza-blog-carousel-section .op-bc-title {
  color: #fff;
  text-align: center;
  font-size: 30px;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
#oncepizza-blog-carousel-section .op-bc-sub {
  color: #888;
  text-align: center;
  font-size: 15px;
  margin: 0 0 36px;
}
#oncepizza-blog-carousel-section .op-bc-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: #D84315 #2a2a2a;
}
#oncepizza-blog-carousel-section .op-bc-track::-webkit-scrollbar {
  height: 4px;
}
#oncepizza-blog-carousel-section .op-bc-track::-webkit-scrollbar-track {
  background: #2a2a2a;
}
#oncepizza-blog-carousel-section .op-bc-track::-webkit-scrollbar-thumb {
  background: #D84315;
  border-radius: 2px;
}
.op-bc-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  display: block;
  transition: transform 0.2s ease;
  border: 1px solid #2a2a2a;
}
.op-bc-card:hover {
  transform: translateY(-5px);
}
.op-bc-card__img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  background: #2a2a2a;
}
.op-bc-card__body {
  padding: 16px;
}
.op-bc-card__date {
  color: #8A182A;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 7px;
}
.op-bc-card__title {
  color: #1E1D1D;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px;
}
.op-bc-card__excerpt {
  color: #5C3A30;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
#oncepizza-blog-carousel-section .op-bc-cta {
  text-align: center;
  margin-top: 30px;
}
#oncepizza-blog-carousel-section .op-bc-cta a {
  display: inline-block;
  padding: 13px 34px;
  background: #D84315;
  color: #F7F1E4 !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: background 0.2s ease;
  letter-spacing: 0.3px;
}
#oncepizza-blog-carousel-section .op-bc-cta a:hover {
  background: #bf360c;
}


/* ============================================================
   CARRUSEL DE INSTAGRAM
   ============================================================ */
#oncepizza-ig-section {
  background: #0d0d0d;
  padding: 64px 24px;
  border-top: 1px solid #1e1e1e;
}
#oncepizza-ig-section .op-ig-inner {
  max-width: 1180px;
  margin: 0 auto;
}
#oncepizza-ig-section .op-ig-title {
  color: #fff;
  text-align: center;
  font-size: 30px;
  margin: 0 0 6px;
  font-weight: 700;
}
#oncepizza-ig-section .op-ig-sub {
  color: #888;
  text-align: center;
  font-size: 15px;
  margin: 0 0 10px;
}
#oncepizza-ig-section .op-ig-handle {
  text-align: center;
  margin: 0 0 32px;
}
#oncepizza-ig-section .op-ig-handle a {
  color: #D84315;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
#oncepizza-ig-section .op-ig-handle a:hover {
  text-decoration: underline;
}
#oncepizza-ig-section .sb-instagram-feed {
  margin: 0 auto;
}


/* ============================================================
   TESTIMONIOS - ocultar fotos de clientes originales
   IDs especificos de Elementor
   ============================================================ */
/* Ocultar imagenes People-1, People-2, People-3 y sus contenedores */
[data-id="6a598cc0"],
[data-id="7b1f9a23"],
[data-id="31ce545c"],
[data-id="27019b0f"],
[data-id="26597904"],
[data-id="62c81ac2"] {
  display: none !important;
}
/* Ocultar la seccion original de 3 tarjetas de testimonios de Elementor */
[data-id="623447ac"] {
  display: none !important;
}

/* ============================================================
   NUEVO CARRUSEL DE TESTIMONIOS
   ============================================================ */
#op-testimonios-carousel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.op-tc-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #D84315 #eee;
}
.op-tc-track::-webkit-scrollbar { height: 4px; }
.op-tc-track::-webkit-scrollbar-track { background: #f0f0f0; }
.op-tc-track::-webkit-scrollbar-thumb { background: #D84315; border-radius: 2px; }
.op-tc-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #f0ebe6;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
}
.op-tc-quote {
  font-size: 48px;
  line-height: 1;
  color: #D84315;
  margin: 0 0 12px;
  font-family: Georgia, serif;
}
.op-tc-text {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  margin: 0 0 20px;
  font-style: italic;
}
.op-tc-stars {
  color: #f5a623;
  font-size: 16px;
  margin: 0 0 14px;
  letter-spacing: 2px;
}
.op-tc-name {
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
  margin: 0 0 2px;
}
.op-tc-pizza {
  font-size: 12px;
  color: #D84315;
  margin: 0;
}
.op-tc-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.op-tc-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid #D84315;
  background: transparent;
  color: #D84315;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
.op-tc-btn:hover {
  background: #D84315;
  color: #fff;
}


/* Hero de Elementor visible */


/* Sticky via JS */

/* ============================================================
   CARRUSEL BLOG - forzar visibilidad
   ============================================================ */
#oncepizza-blog-carousel-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* ============================================================
   TICKER ANIMADO estilo NASDAQ - tira superior
   ============================================================ */
#op-ticker {
  width: 100%;
  background: #8A182A;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 99991;
  border-bottom: 1px solid rgba(247,241,228,.15);
}
#op-ticker-track {
  display: inline-block;
  white-space: nowrap;
  padding: 11px 0;
  color: #F7F1E4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  will-change: transform;
  animation: op-ticker-scroll 40s linear infinite;
}
#op-ticker:hover #op-ticker-track {
  animation-play-state: paused;
}
@keyframes op-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  #op-ticker-track { font-size: 11px; letter-spacing: 1px; animation-duration: 28s; }
}