/* ==========================================================================
   CUSTOM CART INPUT STYLES - OVERRIDE WOOCOMMERCE
   ========================================================================== */

/* Estilos específicos para inputs de cantidad del carrito - Máxima especificidad posible */
html
  body.woocommerce-cart
  .woocommerce
  .cart-item
  .quantity
  input[type='number'],
html
  body.woocommerce-cart
  .modern-cart-page
  .cart-items-container
  .quantity
  input[type='number'],
html body .woocommerce-cart .cart-item .quantity input[type='number'],
html body .modern-cart-page .cart-items-container input[type='number'],
html body .site-main.modern-cart-page .cart-item .quantity input,
html body .site-main .cart-items-container input[type='number'],
html body.woocommerce .woocommerce-cart-form .cart-item input[type='number'],
html body.woocommerce-page .cart-items-container input[type='number'] {
  border: 2px solid #e9ecef !important;
  border-color: #e9ecef !important;
  border-radius: 8px !important;
  background-color: #fafbfc !important;
  background: #fafbfc !important;
  color: #495057 !important;
  text-align: center !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  min-height: 40px !important;
  width: 70px !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

/* Estados de focus */
html
  body.woocommerce-cart
  .woocommerce
  .cart-item
  .quantity
  input[type='number']:focus,
html
  body.woocommerce-cart
  .modern-cart-page
  .cart-items-container
  .quantity
  input[type='number']:focus,
html body .woocommerce-cart .cart-item .quantity input[type='number']:focus,
html body .modern-cart-page .cart-items-container input[type='number']:focus,
html body .site-main.modern-cart-page .cart-item .quantity input:focus,
html body .site-main .cart-items-container input[type='number']:focus,
html
  body.woocommerce
  .woocommerce-cart-form
  .cart-item
  input[type='number']:focus,
html body.woocommerce-page .cart-items-container input[type='number']:focus {
  border-color: var(--bs-primary) !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1) !important;
  outline: none !important;
}

/* Estados de hover */
html
  body.woocommerce-cart
  .woocommerce
  .cart-item
  .quantity
  input[type='number']:hover,
html
  body.woocommerce-cart
  .modern-cart-page
  .cart-items-container
  .quantity
  input[type='number']:hover,
html body .woocommerce-cart .cart-item .quantity input[type='number']:hover,
html body .modern-cart-page .cart-items-container input[type='number']:hover,
html body .site-main.modern-cart-page .cart-item .quantity input:hover,
html body .site-main .cart-items-container input[type='number']:hover,
html
  body.woocommerce
  .woocommerce-cart-form
  .cart-item
  input[type='number']:hover,
html body.woocommerce-page .cart-items-container input[type='number']:hover {
  background-color: #f8f9fa !important;
  background: #f8f9fa !important;
  border-color: #ced4da !important;
}

/* Selectores adicionales para casos edge */
.woocommerce .cart_totals input[type='number'],
.woocommerce-cart input[type='number'],
input[type='number'][name*='[qty]'] {
  border: 2px solid #e9ecef !important;
  background: #fafbfc !important;
  color: #495057 !important;
}
ul {
  list-style: none;
}

.ppcp-place-order-description {
  display: none !important;
}

.product-rating {
  display: none !important;
}

/* ==========================================================================
   END CUSTOM CART INPUT STYLES
   ========================================================================== */

/*!Theme Name: bebeyou Theme URI: http://underscores.me/
 * Author: efestudio
 * Description: Este tema de WordPress ha sido desarrollado específicamente para Bebeyou.es, una empresa creativa dedicada al diseño, elaboración y distribución de regalos únicos para dar la bienvenida a un bebé. Con un enfoque en la artesanía, la calidad y el detalle, el sitio está pensado para transmitir de forma clara y cercana la belleza y originalidad de cada creación, y facilitar el acceso a ideas y opciones personalizadas para cualquier ocasión especial. Con una interfaz cálida, intuitiva y atractiva, el diseño destaca secciones clave como canastillas, tartas de pañales, opciones de personalización y envíos, ofreciendo una experiencia de usuario accesible y encantadora en cualquier dispositivo.
 * Version: 1.2.0
 * Tested up to: 5.4 Requires PHP: 5.6 License: GNU General Public License v2 or later
 * License URI: LICENSE Text Domain: admit
 * Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 *
 * This theme, like WordPress, is licensed under the GPL.
 * Use it to make something cool, have fun, and share what you've learned.
 *
 * bebeyou is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
 * Underscores is distributed under the terms of the GNU GPL v2 or later.
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
 * */

body {
  --heading-font: 'Nunito', Georgia, sans-serif;
  --heading-font-weight: 400;
  --heading-color: #baebe5;
  --heading-line-height: 1.24;
  --swiper-theme-color: #a58c81;
  --swiper-pagination-color: #a58c81;

  /* bootstrap */
  --bs-body-font-family: 'Nunito', Tahoma, sans-serif;
  --bs-body-font-size: 16px;
  --bs-body-font-weight: 300;
  --bs-body-line-height: 1.5;
  --bs-body-color: #aca7a7;
  --bs-body-color-rgb: 172, 167, 167;
  --bs-body-bg-rgb: 248, 248, 248;
  --bs-body-bg: #f8f8f8;

  --bs-primary: #e6bceb;
  --bs-secondary: #baebe5;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-light: #fff;
  --bs-dark: #1a1a1a;
  --bs-gray: #989898;
  --bs-gray-100: #f2f2f2;
  --bs-gray-200: #e7e7e7;
  --bs-gray-300: #dcdad4;
  --bs-gray-500: #a09c9c;
  --bs-gray-700: #535353;
  --bs-gray-800: #3d3a38;

  --bs-primary-rgb: 230, 188, 235;
  --bs-secondary-rgb: 121, 127, 127;
  --bs-black-rgb: 17, 17, 17;
  --bs-light-rgb: 255, 255, 255;
  --bs-dark-rgb: 23, 29, 32;

  --bs-link-color: #87a9bc;
  --bs-link-color-rgb: 23, 29, 32;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #87a9bc;
  --bs-link-hover-color-rgb: 135, 169, 188;
}

body {
  letter-spacing: 0.03rem;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  line-height: var(--heading-line-height);
  color: var(--heading-color);
}

h1.light,
.h1,
h2.light,
.h2,
h3.light,
.h3,
h4.light,
.h4,
h5.light,
.h5,
h6.light,
.h6 {
  color: var(--bs-light);
}

h1,
h2,
h3 {
  margin: 25px 0;
}

h5,
h6 {
  letter-spacing: 1px;
}

h1,
.h1 {
  font-size: 4.125rem;
}

h2,
.h2 {
  font-size: 3.6rem;
}

h3,
.h3 {
  font-size: 1.375rem;
}

h4,
.h4 {
  font-size: 1.8rem;
}

h5,
.h5 {
  font-size: 1.4rem;
}

h6,
.h6 {
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: var(--bs-gray-500);
}

a:hover {
  color: var(--bs-primary);
}

::selection {
  color: var(--bs-light);
  background: var(--bs-primary);
}

input::placeholder {
  color: var(--bs-secondary);
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.overflow-x-hidden {
  overflow-x: hidden !important;
}

.overflow-y-hidden {
  overflow-y: hidden !important;
}

/* Prevenir scrollbar horizontal global */
body,
html {
  overflow-x: hidden;
}

/* Asegurar que las imágenes no se extiendan */
img {
  max-width: 100%;
  height: auto;
}

p,
.wapf-label-text {
	color: #495057;
}

.wapf-field-row, .wapf-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0 !important;
}

.product-summary .price {
    margin-bottom: 0 !important;
}
.product-summary .product_title {
	color: var(--bs-primary) !important;
}

/* Asegurar que el contenido de texto no se salga */
.container,
.container-fluid {
  overflow-x: hidden;
}

.outline-none {
  outline: none !important;
}

.box-shadow-none {
  box-shadow: none !important;
}

/* container fluid */
.container-fluid {
  max-width: 1800px;
}

@media (min-width: 1600px) {
  .container,
  .container-lg {
    max-width: 1530px;
  }

  .container,
  .container-md {
    max-width: 1200px;
  }
}

/* list group */
.list-group-item {
  --bs-list-group-item-padding-x: 0;
  --bs-list-group-border-width: 0;
}

/* btn */
.btn {
  --bs-btn-border-radius: 0;
}

.btn-primary {
  --bs-btn-color: var(--bs-light);
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-light);
  --bs-btn-hover-bg: var(--bs-secondary);
  --bs-btn-hover-border-color: var(--bs-secondary);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: var(--bs-light);
  --bs-btn-active-bg: var(--bs-secondary);
  --bs-btn-active-border-color: var(--bs-secondary);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--bs-light);
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  color: var(--bs-light);
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}

.btn-secondary {
  color: var(--bs-light);
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}

.btn-subscribe {
  color: var(--bs-light);
  background-color: var(--bs-primary);
  /*border-color: var(--bs-gray-700);*/
  border-radius: var(--bs-border-radius-lg);
}

.btn-outline-gray {
  color: var(--bs-secondary);
  background-color: transparent;
  border-color: var(--bs-gray-200);
}

.btn-light:hover,
.btn-dark:hover,
.btn-outline-gray:hover,
.btn-subscribe:hover,
.btn-secondary:hover {
  color: var(--bs-white);
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn.btn-shadow {
  box-shadow: 0px 6px 39px 0px rgba(91, 45, 42, 0.2);
}

.btn-group-lg > .btn,
.btn-lg {
  padding: 0.9rem 1rem;
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0);
}

.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff3cd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fff3cd;
  --bs-gradient: none;
}

.pagination {
  --bs-pagination-active-bg: var(--bs-black);
  --bs-pagination-border-width: 0;
  --bs-pagination-border-radius: 0;
}

/* breadcrumb */
.breadcrumb {
  --bs-breadcrumb-item-padding-x: 1em;
}

/* Fix breadcrumb arrow alignment */
.breadcrumb svg {
  vertical-align: middle;
  display: inline-block;
  margin-top: 10px;
  /* Fine adjustment for perfect alignment */
}

/* text white */
.text-white {
  --heading-color: var(--bs-light);
  --bs-breadcrumb-item-active-color: var(--bs-light);
  --bs-breadcrumb-divider-color: var(--bs-light);
  --bs-link-color-rgb: var(--bs-light-rgb);
  --bs-link-hover-color-rgb: var(--bs-light-rgb);
}

.text-white .nav-link {
  --bs-nav-link-color: var(--bs-light);
  --bs-nav-link-hover-color: var(--bs-light);
  --bs-nav-link-active-color: var(--bs-light);
  --bs-navbar-active-color: var(--bs-light);
}

/* accordion */
.accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-btn-color: var(--bs-dark);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-focus-border-color: var(--bs-dark);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0.5rem;
  --bs-accordion-active-color: var(--bs-primary);
  --bs-accordion-active-bg: transparent;
}

/*
.accordion-button {
  --bs-accordion-btn-padding-y: 1.5rem;
  --bs-accordion-active-color: var(--bs-primary);
} */

/* form control */
.form-control:focus {
  border-color: #ccc;
  box-shadow: 0 0 0 0.25rem rgba(200, 200, 200, 0.25);
}

/* dark theme */
[data-bs-theme='dark'] {
  color-scheme: dark;

  --heading-color: #fff;
  --bs-link-color: #cccccc;
  --bs-link-hover-color: var(--bs-primary);
  --bs-link-color-rgb: 204, 204, 204;
  --bs-link-hover-color-rgb: 131, 169, 172;
  --bs-body-color: #d1d1d1;
  --bs-body-bg: #111;
  --bs-body-bg-rgb: 17, 17, 41;
}

[data-bs-theme='dark'] .dropdown-item {
  --bs-dropdown-link-color: var(--bs-light);
  --bs-dropdown-link-hover-color: var(--bs-white);
}

[data-bs-theme='dark'] .bg-white,
[data-bs-theme='dark'] .bg-light {
  --bs-bg-opacity: 0.1;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 2.5rem;
}

.form-control-lg {
  padding: 0.9rem 1rem;
}

.btn.btn-md {
  padding: 15px 60px;
  letter-spacing: 2px;
}

.btn-sm {
  padding: 10px 30px;
}

.term-description {
  display: none !important;
}

/* text white */
.text-white {
  --heading-color: var(--bs-light);
  --bs-breadcrumb-item-active-color: var(--bs-light);
  --bs-breadcrumb-divider-color: var(--bs-light);
  --bs-link-color-rgb: var(--bs-light-rgb);
  --bs-link-hover-color-rgb: var(--bs-light-rgb);
}

.text-white .nav-link {
  --bs-nav-link-color: var(--bs-light);
  --bs-nav-link-hover-color: var(--bs-light);
  --bs-nav-link-active-color: var(--bs-light);
  --bs-navbar-active-color: var(--bs-light);
}

.text-secondary {
  --heading-color: var(--bs-secondary);
  --bs-breadcrumb-item-active-color: var(--bs-secondary);
  --bs-breadcrumb-divider-color: var(--bs-secondary);
  --bs-link-color-rgb: var(--bs-secondary-rgb);
  --bs-link-hover-color-rgb: var(--bs-secondary-rgb);
}

a.text-dark:hover {
  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

/* margin */
.my-lg-6 {
  margin-top: 4.5rem !important;
  margin-bottom: 4.5rem !important;
}

.my-lg-7 {
  margin-top: 6.5rem !important;
  margin-bottom: 6.5rem !important;
}

.my-lg-8 {
  margin-top: 8.5rem !important;
  margin-bottom: 8rem !important;
}

.my-lg-9 {
  margin-top: 10.5rem !important;
  margin-bottom: 10rem !important;
}

.my-lg-10 {
  margin-top: 12.5rem !important;
  margin-bottom: 12.5rem !important;
}

.my-lg-11 {
  margin-top: 14.5rem !important;
  margin-bottom: 14.5rem !important;
}

.my-lg-12 {
  margin-top: 16.5rem !important;
  margin-bottom: 16.5rem !important;
}

.mt-lg-0 {
  margin-top: 0rem !important;
}

.mb-lg-0 {
  margin-bottom: 0rem !important;
}

@media only screen and (max-width: 991px) {
  .mb-md-1 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .mb-md-2 {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }

  .mb-md-3 {
    margin-top: 3.5rem !important;
    margin-bottom: 3.5rem !important;
  }
}

/* padding top and bottom */
.py-lg-6 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.py-lg-7 {
  padding-top: 6.5rem !important;
  padding-bottom: 6.5rem !important;
}

.py-lg-8 {
  padding-top: 8.5rem !important;
  padding-bottom: 8.5rem !important;
}

.py-lg-9 {
  padding-top: 10.5rem !important;
  padding-bottom: 10.5rem !important;
}

.py-lg-10 {
  padding-top: 12.5rem !important;
  padding-bottom: 12.5rem !important;
}

.py-lg-11 {
  padding-top: 14.5rem !important;
  padding-bottom: 14.5rem !important;
}

.py-lg-12 {
  padding-top: 16.5rem !important;
  padding-bottom: 16.5rem !important;
}

/* padding left and right */
.px-lg-6 {
  padding-left: 4.5rem !important;
  padding-right: 4.5rem !important;
}

.px-lg-7 {
  padding-left: 6.5rem !important;
  padding-right: 6.5rem !important;
}

.px-lg-8 {
  padding-left: 8.5rem !important;
  padding-right: 8.5rem !important;
}

.px-lg-9 {
  padding-left: 10.5rem !important;
  padding-right: 10.5rem !important;
}

.px-lg-10 {
  padding-left: 12.5rem !important;
  padding-right: 12.5rem !important;
}

.px-lg-11 {
  padding-left: 14.5rem !important;
  padding-right: 14.5rem !important;
}

.px-lg-12 {
  padding-left: 16.5rem !important;
  padding-right: 16.5rem !important;
}

/* padding none */
.pt-lg-0 {
  padding-top: 0rem !important;
}

.pb-lg-0 {
  padding-bottom: 0rem !important;
}

/* - Border Radius
------------------------------------------------------------- */
.rounded-4 {
  border-radius: 1rem;
}

.rounded-5 {
  border-radius: 2rem;
}

.rounded-6 {
  border-radius: 3rem;
}

.rounded-7 {
  border-radius: 4rem;
}

.rounded-8 {
  border-radius: 5rem;
}

/* - Background Color
------------------------------------------------------------- */
.bg-gray-1 {
  background-color: var(--bs-gray-100);
}

.bg-light-gray {
  background-color: var(--bs-body-bg);
}

.bg-linear {
  background: linear-gradient(180deg, rgb(255, 255, 255) 0%, #f8f8f8 62.5%);
}

.bg-primary {
  background: var(--bs-primary) !important;
}

/* - Display Header
------------------------------------------------------------- */
@media (min-width: 1200px) {
  .display-4 {
    font-size: 3.25rem;
  }
}

/* - Pattern Overlay
------------------------------------------------------------- */
.icon-overlay {
  top: -75px;
  left: 0;
  right: 0;
}

/* Ajustar posición en móvil */
@media (max-width: 991.98px) {
  .icon-overlay {
    top: -55px;
  }
}

.cloud-overlay {
  top: -185px;
}

/* Ajustes específicos para tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .cloud-overlay {
    top: -40px;
    min-height: 60px !important;
  }
}

/* - Svg Color
------------------------------------------------------------- */
.svg-primary {
  fill: var(--bs-primary);
  color: var(--bs-primary);
}

.svg-white {
  fill: var(--bs-white);
  color: var(--bs-white);
}

/* - Preloader
------------------------------------------------------------- */
*.preloader {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 20;
  background: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader .loader {
  text-align: center;
}

.preloader .logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  animation: logoScale 2s infinite ease-in-out;
}

.loading-text {
  color: #6c757d;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.5rem;
}

.loading-dot {
  display: inline-block;
  animation: dotBounce 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes logoScale {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes dotBounce {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* - Scroll Button
------------------------------------------------------------- */
#scroll-top-btn {
  width: 50px;
  height: 50px;
  bottom: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--bs-primary);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  z-index: 1000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#scroll-top-btn:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  box-shadow: 0 6px 25px rgba(var(--bs-primary-rgb), 0.4);
  transform: translateY(-2px) scale(1.05);
}

#scroll-top-btn:hover svg {
  color: white !important;
  transform: translateY(-1px);
}

#scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#scroll-top-btn svg {
  width: 20px;
  height: 20px;
  color: var(--bs-primary);
  transition: all 0.3s ease;
}

/* Animación de entrada suave */
@keyframes scrollBtnAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#scroll-top-btn.show {
  animation: scrollBtnAppear 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive */
@media (max-width: 768px) {
  #scroll-top-btn {
    width: 45px;
    height: 45px;
    bottom: 80px;
    right: 17px;
  }

  #scroll-top-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* - Mobile Promotional Text Section
------------------------------------------------------------- */
.mobile-promo-text {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.mobile-promo-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.mobile-promo-text .promo-title {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Efecto de respaldo para navegadores que no soportan background-clip */
@supports not (-webkit-background-clip: text) {
  .mobile-promo-text .promo-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--bs-secondary);
  }
}

/* Solo mostrar en móvil */
@media (min-width: 992px) {
  .mobile-promo-text {
    display: none !important;
  }
}

/* Ajustes para móvil */
@media (max-width: 991.98px) {
  /* Ajustar comillas de testimonios en móvil */
  #testimonials .quotation-mark {
    text-align: center;
    margin-bottom: 2rem;
  }

  #testimonials .quotation-mark svg {
    width: 80px !important;
    height: auto;
  }

  /* Centrar columna de testimonios en móvil */
  #testimonials .row {
    text-align: center;
  }

  #testimonials .col-lg-8 {
    margin-top: 0 !important;
  }

  #testimonials .review-swiper {
    margin-top: 1rem !important;
  }
}

/* - Header
------------------------------------------------------------- */
.dropdown-item:focus,
.dropdown-item:hover {
  color: var(--bs-light);
  background-color: var(--bs-primary);
}

.navbar-users span {
  top: -7px;
  left: 9px;
  width: 20px;
  height: 20px;
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Menú móvil moderno */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  /* Para dispositivos con dynamic viewport height */
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu.show {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  padding: 5rem 1.5rem 0.5rem;
  /* Añadir espacio superior para el header sticky */
  position: relative;
}

.mobile-menu-body {
  padding: 0.5rem 0 1rem;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu .nav-item {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateX(50px);
  opacity: 0;
  animation: slideInMobile 0.6s ease forwards;
}

.mobile-nav-menu .nav-item:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-nav-menu .nav-item:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-nav-menu .nav-item:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-nav-menu .nav-item:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-nav-menu .nav-item:nth-child(5) {
  animation-delay: 0.5s;
}

.mobile-nav-menu .nav-item:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes slideInMobile {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.mobile-nav-menu .nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: #2c3e50 !important;
  font-size: 1.1rem !important;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-menu .nav-link:hover,
.mobile-nav-menu .nav-link:focus {
  color: var(--bs-primary) !important;
  background: rgba(var(--bs-primary-rgb), 0.05);
  transform: translateX(5px);
}

.mobile-nav-menu .nav-link.active {
  color: var(--bs-primary) !important;
  background: rgba(var(--bs-primary-rgb), 0.1);
}

.mobile-nav-menu .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0px;
  background: var(--bs-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.mobile-nav-menu .nav-link:hover::after,
.mobile-nav-menu .nav-link.active::after {
  transform: scaleY(0);
}

/* Dropdown en móvil */
.mobile-nav-menu .dropdown {
  position: relative;
}

.mobile-nav-menu .dropdown-toggle {
  position: relative;
}

.mobile-nav-menu .dropdown-toggle::after {
  content: '+';
  border: none;
  position: absolute;
  right: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 500;
  color: #999;
  transition: all 0.3s ease;
}

.mobile-nav-menu .dropdown-toggle:hover::after {
  color: var(--bs-primary);
}

.mobile-nav-menu .dropdown-toggle.open::after {
  color: var(--bs-primary);
  content: '−';
  transform: translateY(-50%);
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  background: rgba(var(--bs-primary-rgb), 0.02);
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
}

.mobile-dropdown-menu.show {
  max-height: 300px;
  padding: 0.5rem 0;
}

.mobile-dropdown-menu .dropdown-item {
  display: block;
  padding: 0.75rem 3rem;
  color: #666 !important;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-dropdown-menu .dropdown-item:hover,
.mobile-dropdown-menu .dropdown-item:focus {
  color: var(--bs-primary) !important;
  background: rgba(var(--bs-primary-rgb), 0.05);
  border-left-color: var(--bs-primary);
  transform: translateX(3px);
}

/* Mobile Cart Icon Styles */
.mobile-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-cart a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-gray-700);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.mobile-cart a:hover {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.1);
  transform: scale(1.05);
}

.mobile-cart .cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  z-index: 2;
}

/* Hamburger icon moderno */
.navbar-toggler {
  border: none !important;
  padding: 0.25rem 0.5rem;
  background: transparent;
  position: relative;
  z-index: 10000;
}

.hamburger {
  display: flex;
  flex-direction: column;
  width: 26px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  opacity: 1;
  transform-origin: center;
  transition: all 0.3s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.hamburger span:nth-child(1) {
  margin-bottom: 5px;
}

.hamburger span:nth-child(2) {
  margin-bottom: 5px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile user actions */
.mobile-user-actions {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

.mobile-user-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
}

.mobile-user-items a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  padding: 0.75rem;
  border-radius: 12px;
  min-width: 60px;
}

.mobile-user-items a:hover {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.05);
  transform: translateY(-2px);
}

.mobile-user-items svg {
  width: 20px;
  height: 20px;
  margin-bottom: 0.25rem;
}

.mobile-user-items span {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Ocultar el menú offcanvas original en móvil (excepto login y carrito) */
@media (max-width: 991.98px) {
  .offcanvas:not(#offcanvasLogin):not(#offcanvasCart) {
    display: none !important;
  }

  /* Ocultar botones de Bootstrap que puedan interferir */
  .btn-close {
    display: none !important;
  }

  .mobile-menu {
    display: block;
  }

  /* Buscador móvil mejorado */
  .mobile-search-enhanced {
    margin: 0 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  .mobile-search-header {
    text-align: center;
    margin-bottom: 1rem;
  }

  .mobile-search-header .search-title {
    color: #495057;
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
  }

  .mobile-search-container {
    padding: 0 1rem;
  }

  .mobile-search-form {
    margin-bottom: 1rem;
  }

  .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    overflow: hidden;
  }

  .search-input-wrapper:focus-within {
    border-color: var(--bs-primary);
  }

  .search-input-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    color: #6c757d;
    pointer-events: none;
    z-index: 2;
  }

  .search-input-wrapper:focus-within .search-icon {
    color: var(--bs-primary);
  }

  .mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 1rem 12px 3rem;
    font-size: 1rem;
    background: transparent;
    color: #495057;
  }

  .mobile-search-input::placeholder {
    color: #adb5bd;
  }

  .search-submit-btn {
    display: none;
    /* Oculto en móvil - los usuarios usan Enter */
  }

  .search-clear-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2;
  }

  .search-clear-btn:hover {
    color: #495057;
  }

  /* Sugerencias de búsqueda */
  .quick-suggestions {
    margin-top: 1rem;
  }

  .suggestions-header {
    margin-bottom: 0.75rem;
  }

  .suggestions-title {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
  }

  .suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .suggestion-tag {
    background: white;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .suggestion-tag:hover {
    background: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
  }
}

/* ===== CUSTOM NAVBAR BREAKPOINT 1600px ===== */
/* Sobrescribir Bootstrap para cambiar el breakpoint del menú */

/* De 1400px a 1599px - forzar modo móvil */
@media (min-width: 1400px) and (max-width: 1599px) {
  /* Mostrar elementos móviles */
  .d-xxl-none {
    display: flex !important;
  }

  /* Ocultar elementos desktop */
  .d-xxl-flex {
    display: none !important;
  }

  /* Mostrar botón hamburguesa */
  .navbar-expand-xxl .navbar-toggler {
    display: block !important;
  }

  /* Asegurar que el menú móvil esté visible */
  .mobile-menu,
  .mobile-menu-overlay {
    display: block !important;
  }
}

/* A partir de 1600px - modo desktop */
@media (min-width: 1600px) {
  /* Ocultar elementos móviles */
  .d-xxl-none {
    display: none !important;
  }

  /* Mostrar elementos desktop */
  .d-xxl-flex {
    display: flex !important;
  }

  /* Ocultar botón hamburguesa */
  .navbar-expand-xxl .navbar-toggler {
    display: none !important;
  }

  /* Ocultar menú móvil */
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* Desktop - mantener el menu original oculto (para compatibilidad) */
@media (min-width: 1400px) {
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* ===== PRODUCT IMAGES RESPONSIVE BEHAVIOR ===== */
/* En móvil, mostrar imágenes completas sin recortar */
@media (max-width: 768px) {
  .product-image[data-mobile-fit='contain'] {
    object-fit: contain !important;
    background-color: #f8f9fa;
  }

  /* Ajustar altura del contenedor en móvil para imágenes más altas */
  .product-image-wrapper {
    min-height: 220px;
  }
}

/* ===== OFFCANVAS LOGIN STYLES ===== */
/* Offcanvas General */
.offcanvas {
  --bs-offcanvas-width: 380px;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
}

/* Hacer visible el offcanvas en desktop */
@media (min-width: 1600px) {
  .offcanvas {
    display: block !important;
  }

  .btn-close {
    display: block !important;
  }
}

/* Fix z-index para offcanvas - debe estar por encima del header */
.offcanvas {
  z-index: 1080 !important;
}

.offcanvas-backdrop {
  z-index: 1075 !important;
}

/* Estilo para botón de cerrar personalizado del offcanvas */
.offcanvas-close-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: #666;
  transition: all 0.2s ease;
}

.offcanvas-close-custom:hover {
  color: #000;
  transform: scale(1.1);
}

/* Estilos para iconos HugeIcons en la barra superior */
.top-bar-text i[class*='hgi-'] {
  margin-right: 0.4rem;
  vertical-align: middle;
  font-size: 1em;
}

/* Los estilos del product-swiper han sido movidos a novedades-section.css
 * para evitar conflictos y mejorar la organización del código */

/* Login Offcanvas Specific Styles */
#offcanvasLogin .offcanvas-header {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  color: white;
  padding: 1.5rem;
}

#offcanvasLogin .offcanvas-header .offcanvas-title {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

#offcanvasLogin .offcanvas-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

#offcanvasLogin .offcanvas-header .btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Login Detail Container */
.login-detail {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.login-form-wrapper {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Login Header */
.login-header {
  margin-bottom: 2rem;
}

.login-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.3);
  position: relative;
  overflow: hidden;
}

.login-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }

  100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
}

.login-icon svg {
  color: white;
  z-index: 1;
  position: relative;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--bs-secondary);
}

.login-subtitle {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Login Form Container */
.login-form-container {
  margin-bottom: 1.5rem;
}

/* WordPress Login Form Styling */
#bebeyou-login-form {
  width: 100%;
}

#bebeyou-login-form p {
  margin-bottom: 1.5rem;
}

#bebeyou-login-form label {
  font-weight: 600;
  color: var(--bs-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: block;
}

#bebeyou-login-form input[type='text'],
#bebeyou-login-form input[type='password'],
#bebeyou-login-form input[type='email'] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: none;
  margin-bottom: 0.5rem;
}

#bebeyou-login-form input[type='text']:focus,
#bebeyou-login-form input[type='password']:focus,
#bebeyou-login-form input[type='email']:focus {
  outline: none;
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
  transform: translateY(-2px);
}

/* Remember Me Checkbox */
#bebeyou-login-form .login-remember {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#bebeyou-login-form .login-remember input[type='checkbox'] {
  width: auto;
  margin: 0;
  transform: scale(1.2);
}

#bebeyou-login-form .login-remember label {
  margin: 0;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--bs-gray-700);
}

/* Login Submit Button */
#bebeyou-login-form input[type='submit'] {
  width: 100%;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  border: none;
  padding: 14px 20px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

#bebeyou-login-form input[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.4);
  filter: brightness(1.05);
}

#bebeyou-login-form input[type='submit']:active {
  transform: translateY(0);
}

/* Login Links */
.login-links {
  border-top: 1px solid #e9ecef;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.forgot-password a,
.register-link a {
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.forgot-password a:hover,
.register-link a:hover {
  color: var(--bs-secondary) !important;
  transform: translateX(2px);
}

.register-link {
  padding: 1rem;
  background: rgba(var(--bs-primary-rgb), 0.05);
  border-radius: 10px;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}

/* Login Benefits Section */
.login-benefits {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 2px solid rgba(var(--bs-primary-rgb), 0.1);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.login-benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
}

.login-benefits h6 {
  font-weight: 600;
  position: relative;
}

.login-benefits ul li {
  padding: 4px 0;
  position: relative;
  padding-left: 12px;
}

/* Estilos para lista de beneficios con íconos SVG */
.login-benefits-list li {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.login-benefits-list li svg {
  flex-shrink: 0;
  margin-right: 0.5rem;
}

/* Eliminar cualquier padding left o ::before de la lista original */
.login-benefits ul li {
  padding-left: 0 !important;
}

.login-benefits ul li::before {
  display: none !important;
}

/* Estilos para botón colapsable de filtros en móvil */
#mobile-filters-toggle {
  border-radius: 12px;
  padding: 1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.1);
  border: 2px solid rgba(var(--bs-primary-rgb), 0.2);
}

#mobile-filters-toggle:hover {
  background: rgba(var(--bs-primary-rgb), 0.05);
  border-color: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--bs-primary-rgb), 0.2);
}

#mobile-filters-toggle[aria-expanded='true'] {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

#mobile-filters-toggle[aria-expanded='true'] .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Transición del chevron */
#filter-chevron {
  transition: transform 0.3s ease;
}

#mobile-filters-toggle[aria-expanded='true'] #filter-chevron {
  transform: rotate(180deg);
}

/* Animación de entrada del collapse */
#mobile-filters {
  transition: all 0.35s ease;
}

#mobile-filters.collapsing {
  position: relative;
  overflow: hidden;
  transition: height 0.35s ease;
}

#mobile-filters.show {
  animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mostrar un indicador visual cuando hay filtros activos */
#mobile-filters-toggle.has-active-filters {
  background: rgba(var(--bs-primary-rgb), 0.1);
  border-color: var(--bs-primary);
}

#mobile-filters-toggle.has-active-filters::after {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  background: #dc3545;
  border-radius: 50%;
  border: 2px solid white;
}

/* Mobile Responsiveness for Login */
@media (max-width: 991.98px) {
  /* En móvil, mostrar el offcanvas de login y carrito pero ocultar el resto */
  .offcanvas:not(#offcanvasLogin):not(#offcanvasCart) {
    display: none !important;
  }

  #offcanvasLogin {
    display: block !important;
    --bs-offcanvas-width: 90vw;
  }

  #offcanvasLogin .btn-close,
  #offcanvasCart .btn-close {
    display: block !important;
  }

  #offcanvasCart {
    display: block !important;
    --bs-offcanvas-width: 90vw;
  }

  .login-form-wrapper {
    padding: 1.5rem;
  }

  .login-icon {
    width: 60px;
    height: 60px;
  }

  .login-icon svg {
    width: 32px;
    height: 32px;
  }

  .login-title {
    font-size: 1.3rem;
  }

  .login-subtitle {
    font-size: 0.85rem;
  }

  #bebeyou-login-form input[type='text'],
  #bebeyou-login-form input[type='password'],
  #bebeyou-login-form input[type='email'] {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  #bebeyou-login-form input[type='submit'] {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

/* Focus states for accessibility */
.login-form-wrapper *:focus {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

#bebeyou-login-form input:focus {
  outline: none;
  /* We handle this with box-shadow instead */
}

/* Loading states */
.login-loading #bebeyou-login-form input[type='submit'] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.login-loading #bebeyou-login-form input[type='submit']::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* - Billboard
------------------------------------------------------------- */
#intro .swiper-arrow-wrap {
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 58%;
}

/* Reducir margen superior en móvil */
@media (max-width: 768px) {
  #intro {
    padding-top: 1rem !important;
  }

  #intro .main-swiper {
    padding-top: 1rem !important;
  }
}

#intro .swiper-arrow.swiper-arrow-prev {
  left: 25px;
}

#intro .swiper-arrow.swiper-arrow-next {
  right: 25px;
}

.swiper-arrow:hover svg,
.swiper-arrow:focus svg {
  fill: var(--bs-primary);
}

#intro .banner-content {
  z-index: 0;
}

.banner-content .bg-pattern-overlay {
  top: 0;
  z-index: -1;
}

@media only screen and (max-width: 991px) {
  #intro .swiper-arrow-wrap {
    width: 100%;
  }

  .swiper-arrow-wrap .swiper-arrow {
    top: 27%;
  }
}

/* - Category
------------------------------------------------------------- */
#category .btn-wrap {
  top: 60%;
  right: 0;
  bottom: 0;
  left: 0;
}

/* - Featured Products
------------------------------------------------------------- */
.swiper-arrow {
  top: 50%;
  z-index: 3;
}

.swiper-arrow.chevron-arrow-left {
  left: 4%;
}

.swiper-arrow.chevron-arrow-right {
  right: 4%;
}

/* - Newsletter
------------------------------------------------------------- */
#newsletter p {
  width: 72%;
}

.form-control::placeholder {
  color: var(--bs-gray-500);
}

/* - Collection
------------------------------------------------------------- */
#collection {
  border-radius: 15px;
  overflow: hidden;
  /* Para evitar que el contenido se salga de los bordes redondeados */
}

#collection p {
  width: 100%;
}

/* - Testimonials
------------------------------------------------------------- */
#testimonials .swiper-pagination {
  bottom: -60px;
}

.swiper-pagination span.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  transition: 0.2s ease-in-out;
  background: transparent;
  border: 2px solid var(--bs-gray);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 1);
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 8px) !important;
}

.swiper-pagination span.swiper-pagination-bullet-active {
  background-color: var(--bs-primary);
  border: 2px solid var(--bs-primary);
}

/* - Tags
------------------------------------------------------------- */
.tag-item a {
  transition: 0.3s ease-in-out;
}

.tag-item a:hover {
  background-color: var(--bs-primary);
  color: var(--bs-light) !important;
}

/* - Latest Blogs
------------------------------------------------------------- */
#latest-blog .meta-date {
  border: 6px solid #fff;
  margin-top: -60px;
}

/* - About Us Page
------------------------------------------------------------- */
#icon-box-wrap .icon-box,
#icon-box-wrap .icon-box svg {
  transition: 0.5s ease-in-out;
}

#icon-box-wrap .icon-box:hover {
  box-shadow: -2px 8px 10px -6px rgba(0, 0, 0, 0.12);
}

#icon-box-wrap .icon-box:hover svg {
  color: var(--bs-primary);
}

/* - Blog Page
------------------------------------------------------------- */
.sidebar .search-bar a.search-button {
  top: 4px;
  right: 13px;
}

.pagination .page-numbers.current {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 500;
  color: var(--bs-light);
  background: var(--bs-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* - Sidebar
------------------------------------------------------------- */
.sidebar li {
  border-bottom: 1px dotted;
}

/* - Single Product
------------------------------------------------------------- */
.product-quantity .input-group .btn,
.product-quantity .input-group .input-number {
  height: 55px;
}

/* - Header Navigation Menu
------------------------------------------------------------- */
.navbar-nav,
.navbar-nav .nav-link,
.navbar-nav .dropdown-item {
  font-family: var(--heading-font) !important;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
  color: #797f7f !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--bs-primary) !important;
}

.navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
}

.navbar-nav .nav-item.dropdown {
  position: relative;
}

.navbar-nav .dropdown-menu {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 180px;
}

.navbar-nav .dropdown-item {
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--bs-dark);
  transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: var(--bs-light);
  background-color: var(--bs-primary);
  transform: translateX(2px);
}

.navbar-nav .dropdown-item.active {
  color: var(--bs-light);
  background-color: var(--bs-primary);
}

.navbar-nav .nav-link.dropdown-toggle::after {
  margin-left: 0.5rem;
  vertical-align: 0.125em;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-toggle::after,
.navbar-nav .nav-item.dropdown .dropdown-toggle[aria-expanded='true']::after {
  transform: rotate(180deg);
}

/* Show dropdown on hover */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.navbar-nav .dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 0.3s ease;
  display: block !important;
}

/* Ensure dropdown stays open when hovering over the menu itself */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu,
.navbar-nav .dropdown-menu:hover {
  display: block;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* - Header Search Form
------------------------------------------------------------- */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-container .search-form {
  margin: 0;
}

.search-container .search-form input {
  border: 1px solid #e7e7e7 !important;
  border-radius: 20px !important;
  padding: 10px 50px;
  transition: all 0.3s ease;
}

.search-container .search-form input:focus {
  border-color: var(--bs-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25) !important;
  outline: none !important;
}

.search-container .search-form input::placeholder {
  color: #aca7a7 !important;
  font-family: 'Nunito', Tahoma, sans-serif !important;
  font-weight: 300 !important;
  opacity: 0.8;
}

.search-container svg.search {
  color: var(--bs-gray-500);
  transition: color 0.3s ease;
}

.search-container:hover svg.search,
.search-container input:focus ~ svg.search {
  color: var(--bs-primary);
}

@media (max-width: 991.98px) {
  .search-container {
    width: 100%;
    margin-bottom: 1rem;
  }

  .search-container .search-form input {
    width: 100%;
    min-width: auto;
  }
}

/* - Related Products Section
------------------------------------------------------------- */
/* Limit product titles in "También te podría gustar" section to single line */
.related-products-section .product-title.mb-2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  max-width: 100%;
}

/* Display WooCommerce prices inline when there are multiple amounts */
.woocommerce-Price-amount {
  display: inline-block;
  margin-right: 0.5rem;
}

.woocommerce-Price-amount:last-child {
  margin-right: 0;
}

/* Ensure price wrapper displays prices horizontally */
.price,
ins,
del {
  display: inline;
}

/* Style for sale prices (crossed out) */
del .woocommerce-Price-amount {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9em;
}

/* Style for current prices */
ins .woocommerce-Price-amount {
  text-decoration: none;
  font-weight: bold;
}

/* ===== GLOBAL BUTTON BORDER-RADIUS OVERRIDE ===== */
/* Aplicar border-radius de 5px a todos los botones de la web */
.btn {
  border-radius: 5px !important;
}

/* Asegurar que se aplique también a botones con clases específicas */
.btn[class*='btn-'],
button[class*='btn-'],
input[type='submit'][class*='btn-'],
input[type='button'][class*='btn-'] {
  border-radius: 5px !important;
}

/* Excepciones para botones que necesitan ser circulares */
.btn.rounded-circle,
.btn-whatsapp.rounded-circle,
#scroll-top-btn {
  border-radius: 50% !important;
  /* Mantener circular */
}

/* ===== HERO SECTION HEIGHT ADJUSTMENTS ===== */
/* Reducir altura del Hero Section solo en desktop (992px+) */
@media (min-width: 992px) {
  /* Reducir padding superior del main-swiper en el Hero */
  #intro .main-swiper {
    padding-top: 2rem !important;
    /* Reducido de 5rem (pt-5) */
  }

  /* Reducir padding interno del contenido del banner */
  #intro .banner-content .py-lg-6 {
    padding-top: 2.5rem !important;
    /* Reducido de 4.5rem */
    padding-bottom: 2.5rem !important;
    /* Reducido de 4.5rem */
  }

  /* Ajustar altura mínima del banner-item para que sea más compacto */
  #intro .banner-item {
    height: 400px;
    /* Altura fija más pequeña en desktop */
    min-height: auto;
  }

  /* Opcional: Reducir tamaño del texto principal si es necesario */
  #intro .banner-content .display-2 {
    font-size: 3rem;
    /* Ligeramente más pequeño que el original */
    line-height: 1.1;
  }

  #intro .banner-content .display-4 {
    font-size: 2.2rem;
    /* Ligeramente más pequeño que el original */
  }
}

/* ===== SHOP PAGE FILTERS ALIGNMENT ===== */
/* Alinear altura del badge de productos con el botón de filtro */
.shop-header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

/* Badge de productos - ajustar altura para coincidir con btn-sm */
.shop-header-controls .badge.bg-primary {
  height: 31px !important;
  /* Altura igual al btn-sm */
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.875rem !important;
  /* Tamaño fs-6 estándar */
  padding: 0 12px !important;
  /* Padding horizontal optimizado */
  line-height: 1 !important;
  white-space: nowrap;
}

/* Asegurar que el botón de filtro mantenga su altura estándar btn-sm */
.shop-header-controls .btn-sm {
  height: 31px;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  line-height: 1;
}

/* ========================================
 * PERSONALIZACIÓN DE ETIQUETAS DE OFERTA WOOCOMMERCE
 * Usando colores del tema bebeyou - MÁXIMA PRIORIDAD
 * ======================================== */

/* Etiquetas de oferta - estilos base con alta especificidad */
.woocommerce .onsale,
.woocommerce span.onsale,
.woocommerce-product-gallery .onsale,
body.woocommerce .onsale,
body.woocommerce span.onsale,
span.onsale {
  background: linear-gradient(
    135deg,
    var(--bs-primary) 0%,
    var(--bs-secondary) 100%
  ) !important;
  color: white !important;
  font-weight: 700 !important;
  border-radius: 0.375rem !important;
  padding: 0.5rem 0.75rem !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 8px rgba(230, 188, 235, 0.4) !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 10 !important;
  line-height: 1 !important;
}

/* Efectos hover para todas las etiquetas de oferta */
.woocommerce .onsale:hover,
.woocommerce span.onsale:hover,
.woocommerce-product-gallery .onsale:hover,
body.woocommerce .onsale:hover,
body.woocommerce span.onsale:hover,
span.onsale:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(230, 188, 235, 0.6) !important;
  background: linear-gradient(
    135deg,
    var(--bs-secondary) 0%,
    var(--bs-primary) 100%
  ) !important;
}

/* Etiquetas en productos del catálogo/tienda - versión circular */
.woocommerce ul.products li.product .onsale,
body.woocommerce ul.products li.product .onsale,
.woocommerce .products .product .onsale {
  position: absolute !important;
  top: 0.75rem !important;
  right: 0.75rem !important;
  left: auto !important;
  margin: 0 !important;
  background: linear-gradient(
    135deg,
    var(--bs-primary) 0%,
    var(--bs-secondary) 100%
  ) !important;
  color: white !important;
  border-radius: 50% !important;
  width: 3rem !important;
  height: 3rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 8px rgba(230, 188, 235, 0.5) !important;
  border: 2px solid white !important;
  z-index: 20 !important;
  line-height: 1 !important;
  padding: 0 !important;
}

/* Etiquetas en página de producto individual */
body.single-product .woocommerce-product-gallery .onsale,
.single-product .woocommerce-product-gallery .onsale,
body.woocommerce.single-product div.product .onsale {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  right: auto !important;
  margin: 0 !important;
  background: linear-gradient(
    135deg,
    var(--bs-primary) 0%,
    var(--bs-secondary) 100%
  ) !important;
  color: white !important;
  border-radius: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 3px 10px rgba(230, 188, 235, 0.5) !important;
  border: 2px solid white !important;
  z-index: 30 !important;
  transform: rotate(-5deg) !important;
  line-height: 1 !important;
}

/* Animación especial para etiquetas en página de producto */
body.single-product .woocommerce-product-gallery .onsale:hover,
.single-product .woocommerce-product-gallery .onsale:hover {
  transform: rotate(-2deg) scale(1.05) !important;
  box-shadow: 0 5px 15px rgba(230, 188, 235, 0.7) !important;
}

/* Etiquetas en productos relacionados y upsells */
.woocommerce .related.products .onsale,
.woocommerce .upsells.products .onsale,
.woocommerce .cross-sells .onsale,
body.woocommerce .related.products .onsale,
body.woocommerce .upsells.products .onsale,
body.woocommerce .cross-sells .onsale {
  position: absolute !important;
  top: 0.5rem !important;
  right: 0.5rem !important;
  background: linear-gradient(
    135deg,
    var(--bs-primary) 0%,
    var(--bs-secondary) 100%
  ) !important;
  color: white !important;
  border-radius: 50% !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(230, 188, 235, 0.4) !important;
  border: 1px solid white !important;
  z-index: 15 !important;
  line-height: 1 !important;
  padding: 0 !important;
}

/* Etiquetas en widgets y áreas específicas de WooCommerce */
.widget_products .onsale,
.widget_top_rated_products .onsale,
.widget_recent_products .onsale,
.widget_featured_products .onsale {
  background: linear-gradient(
    135deg,
    var(--bs-primary) 0%,
    var(--bs-secondary) 100%
  ) !important;
  color: white !important;
  font-size: 0.65rem !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 0.25rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  border: none !important;
  line-height: 1 !important;
}

/* Responsive adjustments - Mobile */
@media (max-width: 768px) {
  .woocommerce ul.products li.product .onsale,
  body.woocommerce ul.products li.product .onsale {
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 0.6rem !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
  }

  body.single-product .woocommerce-product-gallery .onsale,
  .single-product .woocommerce-product-gallery .onsale {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.8rem !important;
    top: 0.5rem !important;
    left: 0.5rem !important;
  }

  .woocommerce .related.products .onsale,
  .woocommerce .upsells.products .onsale,
  body.woocommerce .related.products .onsale,
  body.woocommerce .upsells.products .onsale {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 0.6rem !important;
  }
}

/* Forzar estilos para cualquier caso específico que pueda faltar */
[class*='onsale'],
*[class*='onsale'] {
  background: linear-gradient(
    135deg,
    var(--bs-primary) 0%,
    var(--bs-secondary) 100%
  ) !important;
  color: white !important;
}

/* Sobrescribir cualquier estilo inline que pueda tener WooCommerce */
.onsale[style] {
  background: linear-gradient(
    135deg,
    var(--bs-primary) 0%,
    var(--bs-secondary) 100%
  ) !important;
  color: white !important;
}

/* ========================================
 * ESTILOS PARA PÁGINA DE CONTRASEÑA PERDIDA
 * Diseño coherente con el tema bebeyou
 * ======================================== */

/* Lost Password Page Container */
.lost-password-page {
  min-height: 100vh;
  background: var(--bs-body-bg);
}

/* Hero Section */
.lost-password-hero {
  background: linear-gradient(135deg, var(--bs-light) 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.lost-password-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(186,235,229,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>')
    repeat;
  opacity: 0.3;
  z-index: 0;
}

.lost-password-hero .container {
  position: relative;
  z-index: 1;
}

.lost-password-hero .hero-icon .icon-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(var(--bs-primary-rgb), 0.1) 0%,
    rgba(var(--bs-secondary-rgb), 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(var(--bs-primary-rgb), 0.15);
  position: relative;
  overflow: hidden;
}

.lost-password-hero .hero-icon .icon-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

/* Form Section */
.lost-password-form-section {
  background: var(--bs-body-bg);
}

/* Form Container */
.lost-password-form-container {
  border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.lost-password-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
}

.lost-password-form-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Form Header */
.lost-password-form-container .form-header .form-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(var(--bs-primary-rgb), 0.1) 0%,
    rgba(var(--bs-secondary-rgb), 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(var(--bs-primary-rgb), 0.2);
  position: relative;
  overflow: hidden;
}

.lost-password-form-container .form-header .form-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 2s infinite;
}

.lost-password-form-container .form-header h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--bs-secondary);
}

/* WordPress Lost Password Form Styling */
.bebeyou-lost-password-form {
  width: 100%;
}

.bebeyou-lost-password-form .form-group {
  position: relative;
}

.bebeyou-lost-password-form .form-label {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--bs-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.bebeyou-lost-password-form .form-control {
  border: 2px solid rgba(var(--bs-primary-rgb), 0.2);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bebeyou-lost-password-form .form-control:focus {
  border-color: var(--bs-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1),
    0 4px 12px rgba(var(--bs-primary-rgb), 0.15);
  transform: translateY(-2px);
  background: #ffffff;
}

.bebeyou-lost-password-form .form-control:hover {
  border-color: rgba(var(--bs-primary-rgb), 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bebeyou-lost-password-form .form-control::placeholder {
  color: var(--bs-gray-500);
  opacity: 0.8;
}

/* Submit Button */
.bebeyou-lost-password-form .btn-primary {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  color: white;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.3);
}

.bebeyou-lost-password-form .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.bebeyou-lost-password-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.4);
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
}

.bebeyou-lost-password-form .btn-primary:hover::before {
  left: 100%;
}

.bebeyou-lost-password-form .btn-primary:active {
  transform: translateY(0);
}

/* Help Section */
.lost-password-help .help-section {
  border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    rgba(var(--bs-light-rgb), 0.5) 100%
  );
  transition: all 0.3s ease;
}

.lost-password-help .help-section:hover {
  border-color: rgba(var(--bs-primary-rgb), 0.2);
  box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.1);
}

.lost-password-help h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--bs-secondary);
}

.lost-password-help ul li {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

/* Back to Login Link */
.back-to-login a {
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.back-to-login a:hover {
  background: rgba(var(--bs-primary-rgb), 0.05);
  transform: translateX(-3px);
  color: var(--bs-secondary) !important;
}

/* Features Section */
.lost-password-features {
  background: var(--bs-light);
  border-top: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}

.lost-password-features .feature-item {
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.lost-password-features .feature-item:hover {
  transform: translateY(-5px);
}

.lost-password-features .feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(var(--bs-primary-rgb), 0.1) 0%,
    rgba(var(--bs-secondary-rgb), 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(var(--bs-primary-rgb), 0.1);
}

.lost-password-features .feature-item:hover .feature-icon {
  background: linear-gradient(
    135deg,
    rgba(var(--bs-primary-rgb), 0.2) 0%,
    rgba(var(--bs-secondary-rgb), 0.2) 100%
  );
  box-shadow: 0 8px 24px rgba(var(--bs-primary-rgb), 0.2);
  transform: scale(1.05);
}

.lost-password-features h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--bs-secondary);
  margin-bottom: 0.75rem;
}

/* Support Section */
.lost-password-support {
  background: var(--bs-body-bg);
}

.lost-password-support .support-card {
  border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.lost-password-support .support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--bs-primary-rgb), 0.2);
}

.lost-password-support h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--bs-secondary);
}

.lost-password-support .btn-outline-primary {
  border: 2px solid var(--bs-primary);
  color: var(--bs-primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.lost-password-support .btn-outline-primary:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .lost-password-hero {
    padding: 3rem 0 !important;
  }

  .lost-password-hero .hero-icon .icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .lost-password-hero .hero-icon svg {
    width: 50px;
    height: 50px;
  }

  .lost-password-hero h1 {
    font-size: 1.75rem;
  }

  .lost-password-form-section {
    padding: 3rem 0 !important;
  }

  .lost-password-form-container {
    padding: 2rem 1.5rem !important;
    margin: 0 1rem;
  }

  .lost-password-form-container .form-header .form-icon {
    width: 60px;
    height: 60px;
  }

  .lost-password-form-container .form-header .form-icon svg {
    width: 32px;
    height: 32px;
  }

  .lost-password-form-container .form-header h2 {
    font-size: 1.3rem;
  }

  .bebeyou-lost-password-form .form-control {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .bebeyou-lost-password-form .btn-primary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .lost-password-features .feature-icon {
    width: 60px;
    height: 60px;
  }

  .lost-password-features .feature-icon svg {
    width: 32px;
    height: 32px;
  }

  .lost-password-support .support-card {
    padding: 1.5rem !important;
    text-align: center;
  }

  .lost-password-support .support-card .row {
    flex-direction: column;
    gap: 1rem;
  }

  .lost-password-support .btn-outline-primary {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Loading States */
.bebeyou-lost-password-form.loading .btn-primary {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.bebeyou-lost-password-form.loading .btn-primary::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Success/Error Messages */
.woocommerce-message,
.woocommerce-error {
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.woocommerce-message {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border-left: 4px solid #28a745;
}

.woocommerce-error {
  background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
  color: #721c24;
  border-left: 4px solid #dc3545;
}

/* Focus states for accessibility */
.lost-password-form-container *:focus {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

.bebeyou-lost-password-form .form-control:focus,
.bebeyou-lost-password-form .btn:focus {
  outline: none;
  /* We handle this with box-shadow instead */
}

/* Estilos específicos para elementos WooCommerce */
.bebeyou-lost-password-form .woocommerce-Input {
  border: 2px solid rgba(var(--bs-primary-rgb), 0.2) !important;
  border-radius: 0.75rem !important;
  padding: 1rem 1.25rem !important;
  font-size: 1rem !important;
  background: #ffffff !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.bebeyou-lost-password-form .woocommerce-Input:focus {
  border-color: var(--bs-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1),
    0 4px 12px rgba(var(--bs-primary-rgb), 0.15) !important;
  transform: translateY(-2px) !important;
  background: #ffffff !important;
}

.bebeyou-lost-password-form .woocommerce-Input:hover {
  border-color: rgba(var(--bs-primary-rgb), 0.4) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.bebeyou-lost-password-form .woocommerce-Button {
  background: linear-gradient(
    135deg,
    var(--bs-primary),
    var(--bs-secondary)
  ) !important;
  border: none !important;
  padding: 1rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 0.75rem !important;
  color: white !important;
  transition: all 0.3s ease !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.3) !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.bebeyou-lost-password-form .woocommerce-Button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.4) !important;
  background: linear-gradient(
    135deg,
    var(--bs-secondary),
    var(--bs-primary)
  ) !important;
  color: white !important;
}

.bebeyou-lost-password-form .woocommerce-Button:active {
  transform: translateY(0) !important;
}

/* Estilos para form-row de WooCommerce */
.bebeyou-lost-password-form .form-row {
  margin-bottom: 1.5rem !important;
}

.bebeyou-lost-password-form .form-row label {
  font-family: var(--heading-font) !important;
  font-weight: 600 !important;
  color: var(--bs-secondary) !important;
  margin-bottom: 0.75rem !important;
  font-size: 0.95rem !important;
  display: flex !important;
  align-items: center !important;
}

.bebeyou-lost-password-form .form-row .required {
  color: #e74c3c !important;
  margin-left: 0.25rem !important;
}

/* Ocultar elementos que no necesitamos */
.bebeyou-lost-password-form .clear {
  clear: both;
}

/* Lost Password Page - Full Width Layout */
.woocommerce-lost-password .col-12 .lost-password-page {
  max-width: 1200px;
  margin: 0 auto;
}

.woocommerce-lost-password .col-12 .lost-password-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.woocommerce-lost-password .col-12 .lost-password-features .col-lg-10 {
  max-width: 1000px;
  margin: 0 auto;
}

.woocommerce-lost-password .col-12 .lost-password-support .col-lg-8 {
  max-width: 800px;
  margin: 0 auto;
}

/* Asegurar que el mensaje de WooCommerce se vea bien */
.lost-password-form-container .woocommerce-ResetPassword > p:first-of-type {
  background: linear-gradient(
    135deg,
    rgba(var(--bs-primary-rgb), 0.05) 0%,
    rgba(var(--bs-secondary-rgb), 0.05) 100%
  ) !important;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.1) !important;
  padding: 1rem !important;
  border-radius: 0.5rem !important;
  font-style: italic !important;
  color: var(--bs-gray-700) !important;
}

/* Alinear títulos H1 del contenido a la izquierda */
.entry-content h1 {
  text-align: left;
}

/* ========================================
 * HIDE PHOTOSWIPE BUTTONS
 * Remove unwanted PhotoSwipe lightbox buttons
 * ======================================== */

/* Hide PhotoSwipe close button */
.pswp__button.pswp__button--close {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Hide PhotoSwipe fit/zoom button */
.pswp__button.pswp__button--fit,
.pswp__button.pswp__button--zoom-in,
.pswp__button.pswp__button--zoom-out {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Hide all PhotoSwipe UI buttons if needed */
.pswp__ui--hidden .pswp__button {
  display: none !important;
}

/* Alternative: Hide the entire PhotoSwipe UI top bar */
.pswp__top-bar {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
