body {
  font-size: 20px;
}
.condicionanteselected {
  @apply border-blue-500 bg-blue-500 text-white shadow-lg shadow-blue-200 ring-2 ring-blue-300;
}

/* Versión alternativa sin @apply */
.condicionanteselected {
  border-color: rgb(59 130 246) !important;
  background-color: rgb(59 130 246) !important;
  color: rgb(255 255 255) !important;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2), 0 4px 6px -2px rgba(59, 130, 246, 0.05) !important;
  ring-width: 2px;
  ring-color: rgb(147 197 253);
}

.hero-swiper .swiper-pagination {
  bottom: 20px;
}

.hero-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  margin: 0 3px;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: white;
  transform: scale(1.3);
}
/* Prevenir selección en sliders */
.hero-swiper {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-swiper * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
} /* Prevenir drag de imágenes */
.hero-swiper img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Lightbox CSS mejorado */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox.opacity-100 {
  opacity: 1;
  pointer-events: auto;
}

#lightbox.opacity-0 {
  opacity: 0;
  pointer-events: none;
}

#lightboxImage {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

#lightbox button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

#lightbox button:hover {
  background: rgba(0, 0, 0, 0.8);
}

#closeBtn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#prevBtn,
#nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#prevBtn {
  left: 20px;
}

#nextBtn {
  right: 20px;
}

/* Mantener cursor normal */
.hero-swiper {
  cursor: grab;
}
.hero-swiper:active {
  cursor: grabbing;
} /* Mobile Bottom Navigation - FORZADO */
.mobile-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  
  
  z-index: 1000 !important;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom)) !important;
  box-sizing: border-box !important;
}
.grecaptcha-logo {
  display:none;
}
/* Mostrar solo en móviles - FORZADO */
@media (min-width: 1000px) {
    .side-panel {
        display:none !important;
    }
}
@media (max-width: 1000px) {
  .mobile-bottom-nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body {
    font-family: "Barlow", sans-serif;
    padding-bottom: 80px !important;
  }
}

/* Ocultar en desktop - FORZADO */
@media (min-width: 1000px) {
  .mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  
} /* Side Panel Menu - PANTALLA COMPLETA */
.side-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.side-panel.open {
  transform: translateX(0);
}

.side-panel-overlay {
  display: none; /* No necesario con pantalla completa */
}



/* Mejorar renderizado de imágenes */
img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Para asegurar que scale-90 funcione con transición */
[data-shrinked-logo].scale-90,
[data-shrinked-logo-img].scale-90 {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.invisible-scroll::-webkit-scrollbar {
  width: 3px;
}

.invisible-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.invisible-scroll::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 2px;
  transition: background 0.2s;
}

.invisible-scroll:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
}

.invisible-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}




.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: inherit;
  background-attachment: inherit;
  background-position: inherit;
  background-repeat: inherit;
  background-size: inherit;
  filter: grayscale(3);
  pointer-events: none;
}

.parallax > * {
  position: relative;
  z-index: 1;
}

@media only screen and (max-device-width: 1366px) {
  .parallax {
    background-attachment: scroll;
  }
}

small {
  line-height: 1.2em;
  display:block;
}

/* ====================================
   ESTILOS AUTOCOMPLETADO DE BÚSQUEDA
   ==================================== */

/* Contenedor principal del autocompletado */
.autocomplete-items {
  position: absolute;
  border: 1px solid #e5e7eb;
  border-top: none;
  z-index: 50;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 300px;
  overflow-y: auto;
}

/* Items individuales del autocompletado */
.autocomplete__item {
  padding: 12px 16px;
  cursor: pointer;
  background-color: white;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

/* Estados hover y activo */
.autocomplete__item:hover,
.autocomplete__item.autocomplete-active {
  background-color: #f9fafb;
  border-left: 3px solid #1c1d20;
}

/* Último elemento sin borde inferior */
.autocomplete__item:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

/* Imágenes de producto en autocompletado */
.autocomplete__image {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

/* Texto del autocompletado */
.autocomplete__item span {
  flex: 1;
  font-size: 14px;
  color: #374151;
  font-family: "Inter", sans-serif;
  line-height: 1.4;
}

/* Texto destacado (coincidencias) */
.autocomplete__item span b {
  color: #1c1d20;
  font-weight: 600;
}

/* Scrollbar personalizado para el autocompletado */
.autocomplete-items::-webkit-scrollbar {
  width: 6px;
}

.autocomplete-items::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.autocomplete-items::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.autocomplete-items::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ====================================
   RESPONSIVE AUTOCOMPLETADO
   ==================================== */

@media (max-width: 768px) {
  .autocomplete-items {
    max-height: 250px;
  }
  
  .autocomplete__item {
    padding: 10px 12px;
    gap: 10px;
  }
  
  .autocomplete__image {
    width: 40px;
    height: 40px;
  }
  
  .autocomplete__item span {
    font-size: 13px;
  }
}

/* ====================================
   SEARCH DROPDOWN STYLES
   ==================================== */

/* Dropdown container */
#search-dropdown {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dropdown shadow and styling */
#search-dropdown .bg-white {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 
              0 10px 10px -5px rgba(0, 0, 0, 0.04),
              0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Input focus states */
#search-dropdown input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(28, 29, 32, 0.1);
}

/* Button hover states */
#search-dropdown button:hover svg {
  color: #1c1d20 !important;
}

/* Animation for autocomplete within dropdown */
#search-dropdown .autocomplete-items {
  border-radius: 8px;
  border-top: 1px solid #e5e7eb;
  margin-top: 4px;
  max-height: 200px;
  position: relative;
}

/* Responsive dropdown */
@media (max-width: 480px) {
  #search-dropdown {
    left: 0 !important;
    right: 0 !important;
    margin: 10px;
    width: auto;
  }
  
  #search-dropdown .w-80 {
    width: 100%;
  }
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  background-position: center center;
  background-size: cover;
  outline-color: tomato;
}
body {
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}

::-webkit-scrollbar {
  width: 0.5rem;
}
::-webkit-scrollbar-thumb {
  background-color: #222A29;
  border-radius: 1rem;
}
::-webkit-scrollbar-track {
  background-color: #e5e5e5;
}
* {
  scrollbar-color: #222A29 #e5e5e5;
}

/*? navbar */
.nav_items {
  padding-bottom: 1rem;
}
.nav_items:hover > span {
  width: 100%;
}
.category_nav_item:hover .categoriesItem {
  display: grid;
}
.men_nav_item:hover .hoveredItems,
.women_nav_item:hover .hoveredItems,
.jewelry_nav_item:hover .hoveredItems,
.perfume_nav_item:hover .hoveredItems {
  display: flex;
}
.categoriesItem {
  width: 70rem;
  left: -13.5rem;
  animation: hoverAnimation 0.3s ease-in-out forwards;
}
.hoveredItems {
  z-index: 10;
  animation: hoverAnimation 0.3s ease-in-out forwards;
}
.desktopNavbar a:hover {
  color: tomato;
}
@keyframes hoverAnimation {
  from {
    transform: translateY(2rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media screen and (max-width: 1150px) {
  .desktopNavbarUl {
    gap: 2rem !important;
  }
  .categoriesItem {
    width: 60rem !important;
    left: -10.5rem;
  }
}
details {
  display: flex;
  align-items: flex-start;
}
details a {
  margin: 0.3rem;
  margin-top: 1rem;
  color: #899098;
}
details a:hover {
  color: tomato;
}
details > summary {
  direction: rtl;
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  outline: none;
  cursor: pointer;
  border-radius: 5px;
}

details > summary::-webkit-details-marker {
  display: none;
}

details > summary::before {
  content: "+ ";
}

details[open] > summary::before {
  content: "- ";
}

details[open] > summary {
  margin-bottom: 0.5rem;
}

#sidebarNavbar,
#sidebarCategories {
  animation: mobileNavbar 0.5s ease-in-out forwards;
}
@keyframes mobileNavbar {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  from {
    opacity: 1;
    transform: translateX(-100%);
  }
}
#newspaperBox {
  animation: newspaper 0.4s ease-in-out forwards;
}
@keyframes newspaper {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
#sidebarNavbar.show,
#sidebarCategories.show,
#overlayNavbar.show,
#newspaper.show {
  display: flex;
}
/* main  Banner */
.swiper {
  width: 80%;
  height: 60vh;
}
.categories_swiper {
  width: 80%;
  height: 5rem !important;
  display: flex;
}
.blog_swiper {
  width: 85%;
  height: 20rem !important;
}
.swiper-scrollbar-drag,
.swiper-scrollbar {
  background-color: transparent !important;
}
.swiper:hover .swiper-scrollbar {
  background-color: #f776569c !important;
}
.swiper:hover .swiper-scrollbar-drag {
  background-color: tomato !important;
}
@media screen and (max-width: 1100px) {
  .swiper {
    height: 40vh;
  }
}
/* product */
.aside_section::-webkit-scrollbar {
  width: 0.3rem !important;
  display: block;
}
.aside_section::-webkit-scrollbar-button {
  height: 5rem !important;
  background-color: transparent;
}
.aside_section::-webkit-scrollbar-track {
  border-radius: 0.5rem;
  background-color: transparent;
}

.aside_section::-webkit-scrollbar-thumb {
  background-color: transparent;
}
.aside_section:hover::-webkit-scrollbar-track {
  background-color: #616161 !important;
}
.aside_section:hover::-webkit-scrollbar-thumb {
  background-color: tomato !important;
}

.product_hover_pic {
  opacity: 0;
  transition: 0.2s;
}
.product_pic:hover .product_hover_pic {
  opacity: 1;
  transform: scale(1.2);
}
.productOptions {
  animation: productopt 0.2s ease-out forwards;
}

.product_pic:hover .productOptions {
  display: flex !important;
}
@keyframes productopt {
  from {
    transform: translateX(2rem);
  }
  to {
    transform: translateX(0);
  }
}
/*! footer */
hr {
  border-color: rgba(116, 116, 116, 0.733) !important;
}
hr.title {
  border-color: tomato !important;
}
footer a:hover {
  color: tomato;
}

/* Swiper destacados: las diapositivas dictan la altura (aspect-square) */
.destacados-swiper .swiper-wrapper {
  align-items: flex-start;
  height: auto;
}


.table td, .table th {
  padding: 0.5rem;
  vertical-align: top;
  border-bottom: 1px solid #dee2e6;
}

/* Insignia de reCAPTCHA v3 oculta. Google lo permite siempre que el texto
   "Este sitio esta protegido por reCAPTCHA y se aplican la Politica de
   privacidad y los Terminos del servicio de Google" aparezca en el flujo
   del usuario (p. ej. junto al boton de enviar del formulario). */
.grecaptcha-badge {
  visibility: hidden;
}

/* Enlaces dentro de texto corrido: etiquetas de formulario (aceptar la politica
   de privacidad, las condiciones de compra) y textos legales en <small>, incluido
   el contenido editorial de privacidadHtml. La regla global "a { text-decoration:
   none }" los dejaba iguales que el texto. Acotado a proposito: el resto de
   enlaces del sitio no cambia. */
label a,
small a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
label a:hover,
small a:hover {
  text-decoration: none;
}

/* Listas dentro de contenido editorial (paginas legales, FAQ). El reset global
   "li { list-style: none }" y el de Tailwind sobre ul/ol las dejaban sin bolitos
   ni numeros y sin sangria. Acotado a los contenedores de texto: el resto de
   listas del sitio (menus, listados de producto) no cambia. */
.info ul,
.info ol,
.accordion-content ul,
.accordion-content ol {
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}
.info ul li,
.accordion-content ul li {
  list-style: disc;
}
.info ul ul li,
.accordion-content ul ul li {
  list-style: circle;
}
.info ol li,
.accordion-content ol li {
  list-style: decimal;
}
