/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

:root {
  --ao-header-h: 100px;
  --ao-bg-dark: #050810;
  --ao-orange: #ff4b2a;
  --ao-header-bg: #050810;
  --ao-header-text: #ffffff;
  --ao-header-text-muted: #e5e7eb;
}

@media (max-width: 768px) {
  :root {
    --ao-header-h: 120px;
  }
}

body {
  padding-top: var(--ao-header-h);
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--ao-bg-dark);
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin: 0;
}

p {
  line-height: 1.5;
  margin: 0;
}

/* =========================
   HEADER / NAVBAR
========================= */
.ao-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--ao-header-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 105px;
  height: var(--ao-header-h);
}

.ao-header-left,
.ao-header-center,
.ao-header-right {
  display: flex;
  align-items: center;
}

.ao-header-left {
  flex: 0 0 auto;
}

.ao-header-center {
  flex: 1 1 auto;
  justify-content: center;
  padding: 0 20px;
}

.ao-header-right {
  flex: 0 0 auto;
  gap: 22px;
}

.ao-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.ao-logo-img {
  height: 40px;
  display: block;
}

.ao-logo .a {
  color: var(--ao-orange);
}

.ao-logo span.o {
  font-weight: 400;
}

/* NAV DESKTOP */
.ao-nav {
  display: flex;
  gap: 20px;
}

.ao-nav a {
  color: var(--ao-header-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.ao-nav a:hover,
.ao-nav a:focus {
  color: var(--ao-orange);
}

.ao-nav a.ao-nav-active {
  color: var(--ao-header-text);
}

.ao-nav a + a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #ffffff66;
}

/* ICONOS HEADER */
.ao-shop-icon,
.ao-user-icon {
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ao-shop-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ao-user-icon {
  background: var(--ao-orange);
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.ao-user-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* BUSCADOR */
.ao-search-box {
  width: 100%;
  max-width: 520px;
  background: #111111;
  border-radius: 999px;
  border: 1px solid #ffffff44;
  display: flex;
  align-items: center;
  padding: 6px 16px;
  height: 40px;
}

.ao-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
}

.ao-search-box input::placeholder {
  color: #bdbdbd;
}

.ao-search-icon,
.ao-mic-icon {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* HEADER RESPONSIVE */
@media (max-width: 1024px) {
  .ao-nav {
    gap: 16px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .ao-nav {
    display: none !important;
  }

  .ao-header {
    padding: 10px 14px !important;
  }

  .ao-header-center {
    padding: 0 8px;
  }
}

@media (max-width: 768px) {
  .ao-header {
    padding: 8px 10px !important;
    flex-wrap: wrap;
    row-gap: 6px;
    align-items: center;
  }

  .ao-header-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }

  .ao-header-right {
    flex: 1 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }

  .ao-header-center {
    order: 3;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .ao-search-box {
    max-width: 100%;
    padding: 5px 12px;
  }

  .ao-search-box input {
    font-size: 13px;
  }

  .ao-logo-img {
    height: 40px !important;
  }
}

/* BURGER / MENÚ MOBILE */
.ao-burger {
  display: none;
}

@media (max-width: 900px) {
  .ao-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
  }

  .ao-burger span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
  }
}

.ao-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.96);
  backdrop-filter: blur(6px);
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 2000;
}

.ao-mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.ao-mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* =========================
   HERO SLIDER
========================= */
.ao-hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--ao-header-h));
  max-height: 700px;
  min-height: 520px;
  overflow: hidden;
}

.aoSwiper,
.aoSwiper .swiper-wrapper,
.aoSwiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.ao-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ao-slide-video,
.ao-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* IMPORTANTE: el overlay NO bloquea clics */
.ao-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.25));
  pointer-events: none !important;
}

/* LAYOUT TEXTO SLIDE */
.ao-slide-layout {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 80px 70px;
  pointer-events: auto !important;
}

.ao-slide-left {
  max-width: 720px;
  text-align: left;
}

.ao-slide-count {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}

.ao-slide-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  width: 100%;
  max-width: 860px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.ao-slide-subtitle {
  font-size: 14px;
  margin-bottom: 14px;
  opacity: 0.9;
  text-align: left;
}

.ao-slide-text {
  font-size: 13px;
  margin-bottom: 16px;
  opacity: 0.9;
  text-align: left;
}

/* BOTONES SLIDER COMO ENLACES */
.ao-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  pointer-events: auto !important;
}

button.ao-btn,
a.ao-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.ao-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.ao-btn:link,
.ao-btn:visited {
  text-decoration: none;
}

.ao-btn-primary {
  background: #ff4b2a;
  color: #ffffff;
}

.ao-btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* Paginación Swiper */
.ao-hero-slider .swiper-pagination {
  position: absolute !important;
  left: 26px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  z-index: 30 !important;
}

.swiper-pagination-bullet {
  width: 7px !important;
  height: 7px !important;
  background: rgba(255, 255, 255, 0.6) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: #fff !important;
}

/* SOCIAL HERO */
.ao-hero-social {
  position: absolute;
  right: 24px;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}

.ao-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ff4328;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.ao-social-btn svg {
  width: 20px;
  height: 20px;
}

/* Swiper: permitir clics en slides */
.swiper-slide {
  pointer-events: auto !important;
}

/* HERO RESPONSIVE */
@media (max-width: 768px) {
  .ao-hero-slider {
    position: relative;
    height: 86vh;
    min-height: 500px;
    max-height: 700px;
    padding-bottom: 0 !important;
    overflow: hidden;
  }

  .ao-slide-layout {
    padding: 0 16px 80px !important;
    align-items: flex-end !important;
  }

  .ao-slide-left {
    max-width: 100% !important;
    text-align: center !important;
  }

  .ao-slide-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .ao-slide-subtitle,
  .ao-slide-text {
    font-size: 13px;
    text-align: center !important;
  }

  .ao-slide-actions {
    justify-content: center !important;
    margin-top: 14px;
    gap: 12px;
  }

  .ao-btn {
    min-width: 160px;
    padding: 10px 20px;
  }

  .ao-hero-slider .swiper-pagination {
    left: 16px !important;
    top: 60% !important;
  }

  .ao-slide-bg video,
  .ao-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.15);
  }

  .ao-hero-social {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #ff4328;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  }

  .ao-social-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
  }

  .ao-social-btn svg {
    width: 18px;
    height: 18px;
  }

  .ao-social-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.25);
  }
}

@media (max-height: 800px) {
  .ao-hero-slider {
    height: calc(100vh - var(--ao-header-h) - 90px);
    max-height: 620px;
    min-height: 460px;
  }

  .ao-slide-layout {
    padding: 90px 24px 40px;
  }
}

@media (min-width: 769px) {
  .ao-hero-slider {
    height: 60vh !important;
    max-height: 620px !important;
    min-height: 420px !important;
  }

  .ao-slide-layout {
    align-items: center !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .ao-slide-left {
    max-width: 720px !important;
    text-align: left !important;
  }
}

/* =========================
   SECCIÓN PRODUCTOS / MARCAS
========================= */
#productsWrapper {
  background: #f2f3f5;
  padding: 40px 0 60px;
}

.ao-marcas {
  max-width: 1100px;
  margin: 0 auto 40px;
  text-align: center;
}

.ao-title-center {
  font-size: 26px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 24px;
}

.ao-marcas-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.marca-box {
  width: 320px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.marca-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* por si usas clase directa en el img */
.marca-logo {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
}

.marca-logo-ct {
  transform: scale(1.13);
  transform-origin: center center;
  margin-right: 20px;
}

/* BANNERS */
#productsSection {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.ao-banners-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 46px;
}

.ao-banner-card {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #000;
}

.ao-banner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ao-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ao-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 30px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.35) 100%
  );
}

.ao-banner-label {
  background: var(--ao-orange);
  color: #fff;
  padding: 12px 32px;
  font-size: 22px;
  font-weight: 700;
  border-radius: 10px;
  text-transform: capitalize;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
  transition: transform 0.2s ease;
}

.ao-banner-card:hover .ao-banner-label {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .ao-banners-row {
    grid-template-columns: 1fr;
  }

  .ao-banner-label {
    font-size: 20px;
    padding: 10px 24px;
  }
}

/* TARJETAS PRODUCTOS */
.ao-products-block {
  margin-bottom: 40px;
  text-align: center;
}

.ao-products-title {
  font-size: 32px;
  font-weight: 600;
  color: #20252f;
  letter-spacing: 0.02em;
}

.ao-products-underline {
  display: block;
  width: 80px;
  height: 3px;
  border-radius: 999px;
  background: var(--ao-orange);
  margin: 14px auto 30px;
}

.ao-cards-bg {
  position: relative;
  padding: 40px 26px 50px;
  border-radius: 26px;
  background: #f7f8fb;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.ao-cards-bg::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 170px;
  background: #05333d;
  border-radius: 26px 0 0 26px;
}

.ao-cards-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .ao-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ao-cards-bg {
    padding: 32px 20px 40px;
  }

  .ao-cards-bg::before {
    width: 120px;
  }

  .ao-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ao-cards-grid {
    grid-template-columns: 1fr;
  }

  .ao-cards-bg::before {
    width: 90px;
  }
}

/* CARD 3D */
.prod-card {
  width: 100%;
  height: 280px;
  perspective: 1100px;
  cursor: pointer;
}

.prod-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.prod-card-front,
.prod-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.prod-card-media {
  width: 100%;
  height: 170px;
  padding: 10px 10px 0;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.prod-card-front-body {
  padding: 12px 14px 16px;
  text-align: left;
}

.prod-card-front-title {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: #111827;
  margin-bottom: 4px;
}

.prod-card-front-brand {
  font-size: 12px;
  color: #6b7280;
}

.prod-card-back {
  padding: 16px 16px 18px;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prod-card-back-title {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
  margin-bottom: 8px;
}

.prod-card-back-text {
  font-size: 13px;
  color: #4b5563;
}

.prod-card-back-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.ao-card-btn {
  padding: 10px 32px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6a3b, #ff3a2b);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 75, 42, 0.45);
  border: none;
  cursor: pointer;
}

.prod-card-flipped .prod-card-inner {
  transform: rotateY(180deg);
}

@media (min-width: 901px) {
  .prod-card:hover .prod-card-front,
  .prod-card:hover .prod-card-back {
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
  }
}

/* =========================
   FOOTER
========================= */
.ao-footer {
  position: relative;
  color: #fff;
  padding: 60px 40px 20px;
  background-color: #000;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ao-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.ao-footer-content {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  z-index: 1;
}

.ao-footer-section h3 {
  color: #ff5555;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.ao-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ao-footer-section ul li {
  margin-bottom: 12px;
}

.ao-footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.ao-footer-section ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}

/* Contacto */
.ao-footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ao-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b0b0b0;
  font-size: 15px;
  transition: all 0.3s ease;
}

.ao-footer-contact-item:hover {
  color: #fff;
}

.ao-footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Libro de reclamaciones */
.ao-footer-libro {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 200px;
}

.ao-footer-libro:hover {
  border-color: #ff5555;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 85, 85, 0.3);
}

.ao-footer-libro svg {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  fill: currentColor;
}

.ao-footer-libro p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b0b0b0;
}

/* Redes footer */
.ao-footer-social {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  z-index: 1;
}

.ao-footer-social a {
  color: #b0b0b0;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ao-footer-social a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.ao-footer-social a:hover {
  color: #fff;
  transform: translateY(-3px);
}

/* Bottom footer */
.ao-footer-bottom {
  position: relative;
  text-align: center;
  color: #777;
  font-size: 13px;
  z-index: 1;
}

.ao-footer-bottom a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ao-footer-bottom a:hover {
  color: #fff;
}

/* FOOTER RESPONSIVE */
@media (max-width: 1024px) {
  .ao-footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .ao-footer {
    padding: 40px 20px 20px;
  }

  .ao-footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ao-footer-libro {
    max-width: 100%;
  }
}

/* =========================
   CAMPOS ADMIN INLINE
========================= */
.admin-field-inline {
  display: flex;
  gap: 8px;
}

.admin-field-inline .admin-field {
  flex: 1;
}
/* Forzar íconos de la barra social en blanco */
.ao-social-btn svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}
/* === FIX: que nada bloquee el clic en los botones del slider === */
.aoSwiper .ao-slide-bg,
.aoSwiper .ao-slide-overlay {
  pointer-events: none;
}

.aoSwiper .swiper-slide,
.aoSwiper .ao-slide-layout,
.aoSwiper .ao-slide-actions,
.aoSwiper .ao-slide-actions .ao-btn {
  pointer-events: auto;
}
/* === PRIORIDAD CAPAS Y CLICS EN SLIDER === */
.aoSwiper,
.aoSwiper .swiper-wrapper,
.aoSwiper .swiper-slide {
  position: relative;
}

/* Fondo (video/imagen + overlay) atrás y sin clics */
.ao-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ao-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Contenido (título, texto, botones) arriba y clickeable */
.ao-slide-layout {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.ao-slide-actions,
.ao-slide-actions .ao-btn,
.ao-hero-social,
.ao-hero-social a {
  pointer-events: auto;
}
/* === FIX: Swiper pagination no debe bloquear los clics === */

.ao-hero-slider .swiper-pagination {
    z-index: 1 !important;          /* Lo mandamos atrás */
    pointer-events: none !important; /* No bloquea clics */
}

.ao-slide-layout, 
.ao-slide-actions,
.ao-slide-actions a {
    position: relative;
    z-index: 10 !important;          /* Los botones quedan arriba */
    pointer-events: auto !important; /* Asegura clics activos */
}
/* === Letras blancas sobre el video === */
.ao-slide-title,
.ao-slide-subtitle,
.ao-slide-text {
  color: #ffffff !important;
}

/* === Fix: que la paginación de Swiper no tape los botones === */
.ao-hero-slider .swiper-pagination {
  width: auto !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  pointer-events: none !important;
}

.ao-hero-slider .swiper-pagination-bullet {
  pointer-events: auto !important;
}

/* Aseguramos que el contenido del slide quede encima de todo */
.ao-slide-layout {
  position: relative;
  z-index: 30 !important;
}

/* === Barra de redes a la derecha del hero === */
.ao-hero-slider {
  position: relative;
}

.ao-hero-social {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.ao-hero-social a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #ff4b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ao-hero-social a:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* Iconos (usa Font Awesome que ya trae el tema) */
.ao-hero-social i {
  font-size: 18px;
  color: #ffffff;
}
/* === Barra de redes a la derecha del hero === */
.ao-hero-slider {
  position: relative;
}

.ao-hero-social {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.ao-hero-social a {
  width: 44px;
  height: 44px;
  border-radius: 10px;          /* ⬅️ cuadrado con esquinas suaves */
  background: #ff4b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ao-hero-social a:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.ao-hero-social svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;                /* íconos blancos */
}
.ao-hero-slider {
  position: relative;
}

/* Barra social */
.ao-hero-social {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 50;
}

.ao-hero-social a {
  width: 48px;
  height: 48px;
  background: #ff4b2a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ao-hero-social a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}

/* Asegura que se vean los SVG, no icon-fonts raros */
.ao-hero-social svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

/* IMPORTANTE: desactivar estilos viejos basados en <i> */
.ao-hero-social i {
  display: none !important;
}
.ao-hero-slider {
  position: relative;
}

/* Barra social */
.ao-hero-social {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 50;
}

.ao-hero-social a {
  width: 48px;
  height: 48px;
  background: #ff4b2a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* =========================
   AJUSTE HERO EN LAPTOP (13")
   - Mover texto un poco a la derecha
   - Mantener todo igual en otras pantallas
========================= */

@media (min-width: 769px) and (max-width: 1440px) {
  .ao-slide-layout {
    padding-left: 130px;   /* antes era 80px, ahora se corre a la derecha */
  }

  .ao-slide-left {
    max-width: 640px;      /* un ancho cómodo para que no se pegue a los botones */
  }
}
@media (min-width: 769px) and (max-width: 1440px) {
  .ao-slide-layout {
    padding-left: 120px;   /* súbelo a 130–150 si lo quieres más a la derecha */
  }
}
/* === LIBRO DE RECLAMACIONES === */
.ao-footer-libro {
  margin-top: 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 220px;
  background: rgba(0, 0, 0, 0.3);
}

.ao-footer-libro:hover {
  border-color: #ff5555;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 85, 85, 0.4);
  background: rgba(255, 85, 85, 0.1);
}

.ao-footer-libro a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.ao-footer-libro svg {
  width: 64px;
  height: 64px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.ao-footer-libro p {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .ao-footer-libro {
    max-width: 100%;
    margin-top: 20px;
  }
  
  .ao-footer-libro svg {
    width: 56px;
    height: 56px;
  }
}
/* =========================
   BARRA DE REDES HERO (DESKTOP + MOBILE)
========================= */

.ao-hero-slider {
  position: relative;
}

/* --- Desktop / tablet --- */
.ao-hero-social {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 60;
}

.ao-hero-social a {
  width: 48px;
  height: 48px;
  background: #ff4b2a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ao-hero-social a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}

.ao-hero-social svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

/* --- Mobile (<= 768px) --- */
@media (max-width: 768px) {
  .ao-hero-social {
    bottom: 18px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ff4b2a;
    gap: 10px;
  }

  .ao-hero-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
  }

  .ao-hero-social svg {
    width: 18px;
    height: 18px;
  }

  .ao-hero-social a:active {
    transform: scale(0.92);
  }
}
/* ===== TOOLTIP BASE (visibles sobre fondo oscuro) ===== */
.ao-shop-icon,
.ao-user-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Caja del tooltip */
.ao-shop-icon::after,
.ao-user-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  
  /* NUEVOS COLORES */
  background: #FF5A3C; /* Naranja Andes */
  color: #fff;

  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 1000;
}

/* Flechita */
.ao-shop-icon::before,
.ao-user-icon::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  
  border-width: 6px;
  border-style: solid;
  border-color: #FF5A3C transparent transparent transparent; /* Flecha naranja */
  
  opacity: 0;
  transition: opacity .25s ease;
}

/* Hover */
.ao-shop-icon:hover::after,
.ao-shop-icon:hover::before,
.ao-user-icon:hover::after,
.ao-user-icon:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ===== TOOLTIP ICONOS HEADER (forzado) ===== */
.ao-header-right .ao-shop-icon,
.ao-header-right .ao-user-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Caja del tooltip */
.ao-header-right .ao-shop-icon::after,
.ao-header-right .ao-user-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 120%;                 /* DEBAJO del ícono */
  left: 50%;
  transform: translateX(-50%);
  background: #FF5A3C;       /* naranja Andes */
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 2000;             /* por encima del hero */
}

/* Flechita */
.ao-header-right .ao-shop-icon::before,
.ao-header-right .ao-user-icon::before {
  content: '';
  position: absolute;
  top: calc(120% - 6px);
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #FF5A3C transparent;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1999;
}

/* Hover */
.ao-header-right .ao-shop-icon:hover::after,
.ao-header-right .ao-shop-icon:hover::before,
.ao-header-right .ao-user-icon:hover::after,
.ao-header-right .ao-user-icon:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

/* =========================
   ALINEAR LOGO + TEXTO DEL SLIDE EN PC
========================= */

/* Padding horizontal único para escritorio */
:root {
  --ao-desktop-pad-x: 120px;   /* ajusta 110 / 115 / 130 si quieres afinar */
}

/* Solo PC (no tablet chica / móvil) */
@media (min-width: 1025px) {
  /* Header usa la misma separación que el slide */
  .ao-header {
    padding: 16px var(--ao-desktop-pad-x) !important;
  }

  /* Bloque de texto del slide alineado al logo */
  .ao-slide-layout {
    padding-left: var(--ao-desktop-pad-x) !important;
    padding-right: var(--ao-desktop-pad-x);
  }
}
/* Botón ghost con borde blanco */
.ao-btn-ghost {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  font-weight: 600;
}

/* Hover */
.ao-btn-ghost:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: #ffffff !important;
} 
/* Tamaño de botones de redes en el FOOTER */
.ao-footer-social a {
  width: 44px;   /* cambia aquí */
  height: 44px;  /* cambia aquí */
}

.ao-footer-social a svg {
  width: 22px;   /* cambia aquí */
  height: 22px;  /* cambia aquí */
}

