/* ============================================
   MAIN THEME STYLES
   ============================================ */

/* Base styles and utilities */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 999999;
}

.skip-to-content:focus {
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem;
  background: #2563eb;
  color: white;
  text-decoration: none;
}

/* ============================================
   BREADCRUMBS STYLES
   ============================================ */

/* Breadcrumb wrapper - only visible on desktop */
.breadcrumb-wrapper {
  display: none;
}

@media (min-width: 1024px) {
  .breadcrumb-wrapper {
    display: block;
  }
}

/* Breadcrumb navigation */
.breadcrumbs {
  font-size: 0.875rem;
  line-height: 1.5;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.breadcrumbs li:last-child {
  color: white;
  font-weight: 500;
}

/* WooCommerce breadcrumb links */
.breadcrumb-wrapper .breadcrumbs a {
  color: white;
}

.breadcrumb-wrapper .breadcrumbs a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-wrapper .breadcrumbs li:last-child {
  color: white;
}

/* ============================================
   WOOCOMMERCE BUTTON STYLES OVERRIDE
   ============================================ */

/* Reset WooCommerce default button styles */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #content input.button {
  background: var(--button-bg, var(--color-primary, #2563eb)) !important;
  color: var(--button-text, #ffffff) !important;
  border: none !important;
  padding: 0.625rem 1rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  display: inline-block !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #content input.button:hover {
  background: var(
    --button-hover-bg,
    var(--color-secondary, #1e40af)
  ) !important;
  color: var(--button-hover-text, #ffffff) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--button-bg, var(--color-primary, #2563eb)) !important;
}

/* Fix for loop add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  background: var(--button-bg, var(--color-primary, #2563eb)) !important;
  color: var(--button-text, #ffffff) !important;
  border: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: auto !important;
  line-height: 1.5 !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
  background: var(
    --button-hover-bg,
    var(--color-secondary, #1e40af)
  ) !important;
  color: var(--button-hover-text, #ffffff) !important;
}

/* Fix for price display - remove any blue background */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.woocommerce .price,
.woocommerce-page .price {
  background: transparent !important;
  color: var(--primary-color, #000000) !important;
  display: inline-block !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;
}

.woocommerce ul.products li.product .price span,
.woocommerce-page ul.products li.product .price span,
.woocommerce .price span,
.woocommerce-page .price span {
  background: transparent !important;
  color: inherit !important;
}

/* ============================================
   SHOP PAGE - RESULT COUNT & ORDERING
   ============================================ */

/* Container for result count and ordering */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  line-height: 1.5 !important;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  padding: 0.5rem 2.5rem 0.5rem 1rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  color: #374151 !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  appearance: none !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  min-width: 200px !important;
}

.woocommerce .woocommerce-ordering select:focus,
.woocommerce-page .woocommerce-ordering select:focus {
  outline: none !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* Shop loop controls container */
.shop-loop-controls {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
  flex-wrap: wrap !important;
}

/* Layout for before shop loop - result count and ordering */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

/* Desktop: Side by side layout */
@media (min-width: 769px) {
  .shop-loop-controls {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce-page .woocommerce-result-count {
    margin-right: auto !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    margin-left: auto !important;
  }
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
  .shop-loop-controls {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce-page .woocommerce-result-count {
    width: 100% !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .woocommerce .woocommerce-ordering select,
  .woocommerce-page .woocommerce-ordering select {
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* Fix for search button in header - must be protected from WooCommerce styles */
header button[type="submit"]:not(.search-submit-btn),
header form button[type="submit"]:not(.search-submit-btn),
.site-header button[type="submit"]:not(.search-submit-btn),
.site-header form button[type="submit"]:not(.search-submit-btn),
.main-header button[type="submit"]:not(.search-submit-btn),
.main-header form button[type="submit"]:not(.search-submit-btn),
.woocommerce header button[type="submit"],
.woocommerce header form button[type="submit"],
.woocommerce-page header button[type="submit"],
.woocommerce-page header form button[type="submit"],
body.single-product header button[type="submit"],
body.single-product header form button[type="submit"],
body.woocommerce header button[type="submit"],
body.woocommerce header form button[type="submit"],
body.woocommerce-page header button[type="submit"],
body.woocommerce-page header form button[type="submit"] {
  background: var(--button-bg, var(--color-primary, #2563eb)) !important;
  color: var(--button-text, #ffffff) !important;
  border: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
  position: absolute !important;
  right: 0.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  min-width: auto !important;
  flex: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
}

header button[type="submit"]:not(.search-submit-btn):hover,
header form button[type="submit"]:not(.search-submit-btn):hover,
.site-header button[type="submit"]:not(.search-submit-btn):hover,
.site-header form button[type="submit"]:not(.search-submit-btn):hover,
.main-header button[type="submit"]:not(.search-submit-btn):hover,
.main-header form button[type="submit"]:not(.search-submit-btn):hover,
.woocommerce header button[type="submit"]:hover,
.woocommerce header form button[type="submit"]:hover,
.woocommerce-page header button[type="submit"]:hover,
.woocommerce-page header form button[type="submit"]:hover,
body.single-product header button[type="submit"]:hover,
body.single-product header form button[type="submit"]:hover,
body.woocommerce header button[type="submit"]:hover,
body.woocommerce header form button[type="submit"]:hover,
body.woocommerce-page header button[type="submit"]:hover,
body.woocommerce-page header form button[type="submit"]:hover {
  background: var(
    --button-hover-bg,
    var(--color-secondary, #1e40af)
  ) !important;
  color: var(--button-hover-text, #ffffff) !important;
  transform: translateY(-50%) !important;
}

/* Botón de búsqueda: solo ícono de lupa, sin fondo */
.main-header form button[type="submit"]:not(.cart-toggle),
header form button[type="submit"]:not(.cart-toggle) {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  padding: 0.5rem !important;
}

.main-header form button[type="submit"]:not(.cart-toggle):hover,
header form button[type="submit"]:not(.cart-toggle):hover {
  background-color: transparent !important;
  background: transparent !important;
  opacity: 0.8;
}

/* Color específico para otros botones submit (excepto cart-toggle y búsqueda) */
button[type="submit"]:not(.cart-toggle):not(.main-header form button):not(
    header form button
  ) {
  background-color: #b94eb5 !important;
  background: #b94eb5 !important;
}

button[type="submit"]:not(.cart-toggle):not(.main-header form button):not(
    header form button
  ):hover {
  background-color: #b94eb5 !important;
  background: #b94eb5 !important;
  opacity: 0.9;
}

/* Ensure all WooCommerce buttons have proper text color */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button[type="submit"]:not(.cart-toggle),
button[type="submit"].button:not(.cart-toggle),
button.add_to_cart_button,
.woocommerce ul.products li.product .button {
  color: var(--button-text, #ffffff) !important;
  text-shadow: none !important;
}

/* Color específico para botones submit (excepto cart-toggle) */
button[type="submit"]:not(.cart-toggle),
button[type="submit"].button:not(.cart-toggle) {
  background-color: #b94eb5 !important;
}

button[type="submit"]:not(.cart-toggle):hover,
button[type="submit"].button:not(.cart-toggle):hover {
  background-color: #b94eb5 !important;
  opacity: 0.9;
}

/* Remove any blue background from price wrapper */
.woocommerce ul.products li.product .price-wrapper,
.woocommerce-page ul.products li.product .price-wrapper {
  background: transparent !important;
}

/* Force text visibility in buttons */
.woocommerce a.button *,
.woocommerce button.button *,
.woocommerce input.button *,
button[type="submit"]:not(.cart-toggle) *,
button[type="submit"].button:not(.cart-toggle) *,
button.add_to_cart_button *,
.button:not(.cart-toggle) * {
  color: var(--button-text, #ffffff) !important;
}

/* Ensure button text is visible and properly displayed */
.woocommerce ul.products li.product .button::before,
.woocommerce-page ul.products li.product .button::before {
  display: none !important;
}

.woocommerce ul.products li.product .button::after,
.woocommerce-page ul.products li.product .button::after {
  display: none !important;
}

/* Additional fix for WooCommerce price display */
.woocommerce .product .price,
.woocommerce-page .product .price,
article.product .price,
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  background-color: transparent !important;
  background: transparent !important;
  padding: 0 !important;
  display: inline-block !important;
}

.woocommerce .product .price ins,
.woocommerce-page .product .price ins,
article.product .price ins {
  background: transparent !important;
  text-decoration: none !important;
}

/* Fix for WooCommerce loop buttons specifically */
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button,
.woocommerce ul.products li.product button.button,
.woocommerce-page ul.products li.product button.button {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  min-width: auto !important;
  width: auto !important;
}

/* Ensure all text in buttons is visible */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  position: relative !important;
  z-index: 1 !important;
}

/* General button styles (non-WooCommerce) */
a.button,
button.button:not(.cart-toggle),
input.button,
.button:not(.cart-toggle) {
  background: var(--button-bg, var(--color-primary, #2563eb)) !important;
  color: var(--button-text, #ffffff) !important;
  border: none !important;
  padding: 0.625rem 1rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  display: inline-block !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

a.button:hover,
button.button:not(.cart-toggle):hover,
input.button:hover,
.button:not(.cart-toggle):hover {
  background: var(
    --button-hover-bg,
    var(--color-secondary, #1e40af)
  ) !important;
  color: var(--button-hover-text, #ffffff) !important;
}

/* Cart checkout button */
.cart-checkout,
a.cart-checkout {
  background: var(--button-bg, var(--color-primary, #2563eb)) !important;
  color: var(--button-text, #ffffff) !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  display: inline-block !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
  width: 100% !important;
  text-align: center !important;
}

.cart-checkout:hover,
a.cart-checkout:hover {
  background: var(
    --button-hover-bg,
    var(--color-secondary, #1e40af)
  ) !important;
  color: var(--button-hover-text, #ffffff) !important;
}

.cart-checkout:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* Cart toggle button - should not use button styles */
.cart-toggle,
.account-link {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: inherit !important;
}

.cart-toggle:hover,
.account-link:hover {
  background: transparent !important;
  color: var(--button-bg, var(--color-primary, #2563eb)) !important;
}

.cart-toggle *,
.account-link * {
  color: inherit !important;
}

/* Header action icons - enforce white color on dark background */
.main-header .account-link,
.main-header .account-link *,
.main-header .cart-toggle,
.main-header .cart-toggle * {
  color: #b94eb5 !important;
}

.main-header .account-link svg,
.main-header .cart-toggle svg {
  stroke: #b94eb5 !important;
}

/* Main navigation menu in header - white text */
.main-nav-menu,
.main-nav-menu .menu,
.main-nav-menu .menu li,
.main-nav-menu .menu a,
.main-nav-menu .nav-menu,
.main-nav-menu .nav-menu li,
.main-nav-menu .nav-menu a {
  color: #ffffff !important;
  text-transform: uppercase !important;
  font-size: 13px;
}

/* Remove any ::before pseudo-elements from menu links */
.main-nav-menu .nav-link::before,
.main-nav-menu .menu a::before,
.main-nav-menu .nav-menu a::before {
  display: none !important;
  content: none !important;
}

.main-nav-menu .menu a:hover,
.main-nav-menu .menu a:focus,
.main-nav-menu .nav-menu a:hover,
.main-nav-menu .nav-menu a:focus,
.main-nav-menu .menu li.current-menu-item > a,
.main-nav-menu .menu li.current-menu-ancestor > a,
.main-nav-menu .nav-menu li.current-menu-item > a,
.main-nav-menu .nav-menu li.current-menu-ancestor > a {
  color: #ffffff !important;
}

/* Main Navigation Fixed - Single Row with Scroll */
.main-nav-fixed {
  background-color: #f5f5f5;
  border-top: 1px solid #d9d9d9 !important;
  /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.main-nav-fixed #mainNavScrollable {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.main-nav-fixed #mainNavScrollable:active {
  cursor: grabbing;
}

.main-nav-fixed .main-nav-link,
.main-nav-fixed .category-link {
  color: #fff !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.main-nav-fixed .main-nav-link:hover,
.main-nav-fixed .category-link:hover {
  color: #b94eb5 !important;
  opacity: 1;
}

/* Legacy styles for backward compatibility */
.categories-menu {
  border-top: 1px solid #d9d9d9;
}

.categories-menu .category-link,
.categories-menu .main-nav-link {
  color: #594949 !important;
  transition: all 0.2s ease;
}

.categories-menu .category-link:hover,
.categories-menu .main-nav-link:hover {
  color: #594949 !important;
  opacity: 0.8;
}

/* Hide scrollbar but allow scrolling */
.scrollbar-hide {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* ============================================
   SINGLE PRODUCT GALLERY STYLES
   ============================================ */

/* Product gallery container */

.woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* Main gallery image */
.woocommerce-product-gallery__wrapper {
  position: relative;
  margin: 0;
  padding: 0;
}

.woocommerce-product-gallery__image {
  display: flex;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  max-height: 600px;
  height: 500px;
}

.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image--placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 500px;
  max-height: 600px;
}

@media (max-width: 768px) {
  .woocommerce-product-gallery__image {
    min-height: 400px;
    max-height: 500px;
    height: 400px;
  }

  .woocommerce-product-gallery__image img,
  .woocommerce-product-gallery__image--placeholder img {
    min-height: 400px;
    max-height: 500px;
  }
}

/* Gallery thumbnails navigation */
.woocommerce-product-gallery__thumbnails {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 transparent;
  justify-content: center;
  align-items: center;
}

.woocommerce-product-gallery__thumbnails::-webkit-scrollbar {
  height: 6px;
}

.woocommerce-product-gallery__thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.woocommerce-product-gallery__thumbnails::-webkit-scrollbar-thumb {
  background-color: #cbd5e0;
  border-radius: 3px;
}

.woocommerce-product-gallery__thumbnails::-webkit-scrollbar-thumb:hover {
  background-color: #a0aec0;
}

.woocommerce-product-gallery__thumbnail-item {
  width: 80px;
  height: 80px;
}

.woocommerce-product-gallery__thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.woocommerce-product-gallery__thumbnail-item.active
  .woocommerce-product-gallery__thumbnail-image,
.woocommerce-product-gallery__thumbnail-item:hover
  .woocommerce-product-gallery__thumbnail-image {
  border-color: #2563eb !important;
  transform: scale(1.05);
}

/* Gallery navigation arrows (for flex slider) */
.woocommerce-product-gallery .flex-viewport {
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  min-height: 500px;
  max-height: 600px;
}

@media (max-width: 768px) {
  .woocommerce-product-gallery .flex-viewport {
    min-height: 400px;
    max-height: 500px;
  }
}

/* Ensure FlexSlider container is visible */
.woocommerce-product-gallery .flexslider {
  margin: 0;
  border: none;
  background: transparent;
}

.woocommerce-product-gallery .flexslider .slides {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-product-gallery .flexslider .slides > li {
  margin: 0;
  display: block;
  position: relative;
  min-height: 500px;
  max-height: 600px;
  height: 500px;
}

@media (max-width: 768px) {
  .woocommerce-product-gallery .flexslider .slides > li {
    min-height: 400px;
    max-height: 500px;
    height: 400px;
  }
}

/* Gallery opacity fix - ensure it's visible after WooCommerce loads */
.woocommerce-product-gallery.woocommerce-product-gallery--with-images {
  opacity: 1 !important;
}

.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 0 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: center;
  align-items: center;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
  opacity: 1;
  border-color: #2563eb;
}

.woocommerce-product-gallery .flex-direction-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-product-gallery .flex-direction-nav a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #374151;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.woocommerce-product-gallery .flex-direction-nav a:hover {
  background: rgba(255, 255, 255, 1);
  color: #2563eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.woocommerce-product-gallery .flex-direction-nav .flex-prev {
  left: 10px;
}

.woocommerce-product-gallery .flex-direction-nav .flex-next {
  right: 10px;
}

.woocommerce-product-gallery .flex-direction-nav .flex-prev:before {
  content: "←";
}

.woocommerce-product-gallery .flex-direction-nav .flex-next:before {
  content: "→";
}

/* Gallery zoom and lightbox */
.woocommerce-product-gallery__trigger {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  z-index: 10;
  transition: all 0.3s ease;
}

.woocommerce-product-gallery__trigger:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.woocommerce-product-gallery__trigger:before {
  content: "🔍";
  font-size: 18px;
}

/* Single product page improvements */
body.single-product .product-images-wrapper {
  position: sticky !important;
  top: 2rem !important;
  align-self: start !important;
}

body.single-product .woocommerce-product-gallery {
  margin-bottom: 0 !important;
  position: relative !important;
}

body.single-product .product-images-wrapper .product-badges {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  z-index: 20 !important;
}

@media (max-width: 1023px) {
  body.single-product .product-images-wrapper {
    position: relative !important;
    top: 0 !important;
  }
}

body.single-product {
  padding: 0 !important;
}

body.single-product .product-summary-wrapper .bg-white {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Product title - multiple selectors */
body.single-product .product_title,
body.single-product h1.product_title,
.single-product .product_title,
.single-product h1.product_title,
.woocommerce .single-product .product_title,
.woocommerce .single-product h1.product_title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #16193b !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.single-product h1.product_title,
.single-product h1.product_title,
.woocommerce .single-product h1.product_title {
  display: block !important;
}

@media (max-width: 1023px) {
  body.single-product .product_title,
  body.single-product h1.product_title {
    font-size: 1.5rem !important;
  }
  
  /* Título mobile arriba - mostrar */
  .product-title-mobile {
    display: block !important;
    padding: 1rem 1rem 0.5rem 1rem !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .product-title-mobile-only {
    margin-bottom: 0 !important;
  }
  
  /* Ocultar completamente título en summary en mobile */
  .product-title-desktop,
  body.single-product .product-summary-wrapper .product-title-desktop,
  .product-info-container .product-title-desktop {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

@media (min-width: 1024px) {
  /* Ocultar completamente título mobile en desktop */
  .product-title-mobile,
  .product-title-mobile-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  
  /* Mostrar título en summary en desktop */
  .product-title-desktop {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Product price - overridden by enhanced styles below */

body.single-product .stock-status {
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  margin: 0.75rem 0 !important;
}

body.single-product .stock-status.out-of-stock {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

body.single-product .product-sku {
  color: #6b7280 !important;
  font-size: 0.875rem !important;
  margin: 1rem 0 !important;
}

body.single-product .woocommerce-product-details__short-description {
  margin: 1.5rem 0 !important;
  color: #4b5563 !important;
  line-height: 1.7 !important;
}

body.single-product form.cart {
  margin: 2rem 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}

body.single-product .quantity {
  margin-right: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

body.single-product .quantity label {
  font-weight: 600 !important;
  color: #374151 !important;
  font-size: 0.875rem !important;
}

body.single-product .quantity input[type="number"] {
  width: 80px !important;
  padding: 0.75rem !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 0.5rem !important;
  text-align: center !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  transition: border-color 0.3s ease !important;
}

body.single-product .quantity input[type="number"]:focus {
  outline: none !important;
  border-color: #15158b !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* Add to cart button - Compact and Modern */
body.single-product .single_add_to_cart_button,
body.single-product button[type="submit"][name="add-to-cart"],
body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart button[type="submit"][name="add-to-cart"],
.single-product .single_add_to_cart_button,
.single-product button[type="submit"][name="add-to-cart"],
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart button[type="submit"][name="add-to-cart"],
.woocommerce .single-product .single_add_to_cart_button,
.woocommerce .single-product button[type="submit"][name="add-to-cart"],
.woocommerce-page .single_add_to_cart_button,
.woocommerce-page button[type="submit"][name="add-to-cart"],
.woocommerce-page form.cart .single_add_to_cart_button,
.woocommerce-page form.cart button[type="submit"][name="add-to-cart"] {
  padding: 0.75rem 1.5rem !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  background: #15158b !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0.375rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2) !important;
  flex: 1 !important;
  min-width: 160px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.single-product .single_add_to_cart_button:hover,
body.single-product button[type="submit"][name="add-to-cart"]:hover,
body.single-product form.cart .single_add_to_cart_button:hover,
body.single-product form.cart button[type="submit"][name="add-to-cart"]:hover,
.single-product .single_add_to_cart_button:hover,
.single-product button[type="submit"][name="add-to-cart"]:hover,
.single-product form.cart .single_add_to_cart_button:hover,
.single-product form.cart button[type="submit"][name="add-to-cart"]:hover,
.woocommerce .single-product .single_add_to_cart_button:hover,
.woocommerce .single-product button[type="submit"][name="add-to-cart"]:hover,
.woocommerce-page .single_add_to_cart_button:hover,
.woocommerce-page button[type="submit"][name="add-to-cart"]:hover,
.woocommerce-page form.cart .single_add_to_cart_button:hover,
.woocommerce-page form.cart button[type="submit"][name="add-to-cart"]:hover {
  background: #15158b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3) !important;
}

body.single-product .single_add_to_cart_button:active,
body.single-product button[type="submit"][name="add-to-cart"]:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2) !important;
}

body.single-product .single_add_to_cart_button:disabled,
body.single-product button[type="submit"][name="add-to-cart"]:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Enhanced Product Info Container - Compact Design */
body.single-product .product-info-container {
  transition: box-shadow 0.3s ease !important;
  padding: 1.5rem !important;
}

@media (min-width: 1024px) {
  body.single-product .product-info-container {
    padding: 2rem !important;
  }
}

/* Enhanced Product Title - Compact */
body.single-product .product_title,
body.single-product h1.product_title {
  color: #1f2937 !important;
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid #e5e7eb !important;
  position: relative !important;
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
}

@media (min-width: 768px) {
  body.single-product .product_title,
  body.single-product h1.product_title {
    font-size: 1.75rem !important;
  }
}

/* Price Section - Compact with better layout */
body.single-product .price {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0.5rem !important;
  margin: 0.75rem 0 !important;
  flex-wrap: wrap !important;
}

body.single-product .price .woocommerce-Price-amount {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0.25rem !important;
}

body.single-product .price .woocommerce-Price-amount.amount {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #16193b !important;
  letter-spacing: -0.5px !important;
}

@media (min-width: 768px) {
  body.single-product .price .woocommerce-Price-amount.amount {
    font-size: 2rem !important;
  }
}

body.single-product .price .woocommerce-Price-currencySymbol {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #16193b !important;
}

@media (min-width: 768px) {
  body.single-product .price .woocommerce-Price-currencySymbol {
    font-size: 1.5rem !important;
  }
}

/* Regular price when on sale */
body.single-product .price del {
  font-size: 1rem !important;
  color: #9ca3af !important;
  margin-right: 0.5rem !important;
}

body.single-product .price del .woocommerce-Price-amount {
  text-decoration: line-through !important;
  color: #9ca3af !important;
}

/* Short Description - Compact */
body.single-product .woocommerce-product-details__short-description {
  margin: 0.75rem 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  color: #4b5563 !important;
  line-height: 1.6 !important;
  font-size: 0.9375rem !important;
}

body.single-product .woocommerce-product-details__short-description p {
  margin: 0 !important;
  color: #4b5563 !important;
}

/* Cart Form - Compact and Clean */
body.single-product form.cart {
  margin: 1rem 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

/* Quantity Input - Compact */
body.single-product .quantity {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: #ffffff !important;
  padding: 0 !important;
  border: none !important;
}

body.single-product .quantity label {
  display: none !important;
}

body.single-product .quantity input[type="number"] {
  width: 70px !important;
  padding: 0.625rem 0.75rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  text-align: center !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
}

body.single-product .quantity input[type="number"]:hover {
  border-color: #2563eb !important;
}

body.single-product .quantity input[type="number"]:focus {
  outline: none !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* Product Meta - Compact */
body.single-product .product_meta {
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #e5e7eb !important;
}

body.single-product .product_meta .sku_wrapper,
body.single-product .product_meta .posted_in {
  display: block !important;
  margin-bottom: 0.5rem !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 0.8125rem !important;
  color: #6b7280 !important;
}

body.single-product .product_meta .sku_wrapper .sku,
body.single-product .product_meta .sku_value {
  font-weight: 600 !important;
  color: #374151 !important;
  font-size: 0.8125rem !important;
}

body.single-product .product_meta .posted_in a {
  color: #2563eb !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

body.single-product .product_meta .posted_in a:hover {
  color: #1e40af !important;
  text-decoration: underline !important;
}

/* Custom SKU Display */
body.single-product .product-sku-custom {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1rem !important;
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
}

body.single-product .product-sku-custom .sku-label {
  font-weight: 600 !important;
  color: #0369a1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body.single-product .product-sku-custom .sku-value {
  font-weight: 700 !important;
  color: #0c4a6e !important;
  font-size: 0.9375rem !important;
  font-family: "Courier New", monospace !important;
}

/* Remove duplicate SKU if both are showing */
body.single-product .product-sku {
  display: none !important;
}

body.single-product .product-meta-wrapper .product-sku {
  display: none !important;
}

/* Product Carousel Styles */
.product-carousel-section {
  margin: 2rem 0;
}

.product-carousel-container {
  position: relative;
  padding: 0 2rem;
}

@media (max-width: 1023px) {
  .product-carousel-container {
    padding: 0 1rem;
  }
}

.product-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.product-carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.product-carousel-item {
  flex-shrink: 0;
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .product-carousel-item {
    width: calc(100% - 0.5rem) !important;
    min-width: 180px !important;
  }
}

/* Desktop: 4 columns */
@media (min-width: 768px) {
  .product-carousel-item {
    width: calc((100% - 3rem) / 4) !important;
    min-width: 200px !important;
  }
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-btn:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1023px) {
  .carousel-btn {
    display: none !important;
  }
}

/* Product card styles in carousel */
.product-carousel-item .product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-carousel-item .product-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
}

.product-carousel-item .line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   FEATURED PRODUCTS CAROUSEL
   ============================================ */
.featured-products-section {
  background-color: #ffffff !important;
}

.featured-carousel-container {
  position: relative;
}

.featured-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.featured-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.featured-carousel-item {
  flex-shrink: 0;
}

/* Desktop: 4 columns */
@media (min-width: 768px) {
  .featured-carousel-item {
    width: calc((100% - 4.5rem) / 4) !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .featured-carousel-item {
    width: 100% !important;
  }

  .featured-carousel-track {
    gap: 0;
  }
}

/* Dots de navegación */
.featured-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(185, 78, 181, 0.3);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.bg-secondary {
  background-color: #b94eb5 !important;
  border-color: #b94eb5 !important;
}

.carousel-dot.bg-gray-300 {
  background-color: transparent !important;
  border-color: rgba(185, 78, 181, 0.3) !important;
}

.carousel-dot:hover {
  transform: scale(1.2);
}

/* ============================================
   CATEGORY CARDS STYLES
   ============================================ */
/* Categorías de Productos */
.categorias-productos-section {
  padding: 30px 0;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .categorias-productos-section {
    padding: 15px 0;
  }
}

.categorias-productos-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  margin-bottom: 40px;
  color: #594949 !important;
}

.categorias-productos-carousel {
  padding: 20px 0 20px;
  overflow: hidden;
}

.categorias-productos-carousel .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.categorias-productos-carousel .swiper-slide {
  height: auto;
  display: flex;
}

.categoria-card {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.categoria-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.categoria-card-link {
  display: flex;
  text-decoration: none;
  height: 100%;
  min-height: 200px;
}

.categoria-card-left {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border-radius: 15px 0 0 15px;
  overflow: hidden;
}

.categoria-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-position: center;
}

.categoria-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  border-radius: 15px 0 0 15px;
}

.categoria-card-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.categoria-card-title {
  color: #ffffff;
  font-size: 18px !important;
  font-weight: 700;
  margin-bottom: 60px;
}

.categoria-card-btn {
  background-color: #ffffff;
  color: #ba51b6;
  border: none;
  border-radius: 10px;
  padding: 8px 25px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.categoria-card-btn:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

.categoria-card-right {
  flex: 0 0 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 0 15px 15px 0;
}

.categoria-card-icon {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Paginación del carrusel */
.categorias-productos-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px;
  z-index: 1 !important;
  width: 100% !important;
  margin-top: 30px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  text-align: center;
}

.categorias-productos-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(185, 78, 181, 0.3) !important;
  background-color: transparent !important;
  opacity: 1;
  margin: 0 !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0;
}

.categorias-productos-pagination .swiper-pagination-bullet:hover {
  transform: scale(1.2);
}

.categorias-productos-pagination .swiper-pagination-bullet-active {
  background-color: #b94eb5 !important;
  border-color: #b94eb5 !important;
  width: 12px;
  border-radius: 50%;
}

/* ============================================
   BANNER PROMO STYLES
   ============================================ */
.banner-promo-section {
  padding: 30px 0;
}

.banner-promo-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 150px;
}

.banner-promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(89, 73, 73, 0.7);
}

.banner-promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  gap: 30px;
}

.banner-promo-image-left {
  flex-shrink: 0;
}

.banner-promo-image-left img {
  max-width: 100%;
  height: auto;
  display: block;
}

.banner-promo-text {
  text-align: right;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.banner-promo-text h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: right;
}

.banner-promo-logo {
  margin-top: 10px;
  text-align: right;
}

.banner-promo-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
}

@media (max-width: 768px) {
  .banner-promo-content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .banner-promo-text {
    text-align: center;
  }
}

/* ============================================
   MEDIOS DE PAGO STYLES
   ============================================ */
.medios-pago-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.medios-pago-section .container {
  position: relative;
}

.medios-pago-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #ba51b6;
  background-size: cover;
  background-position: center;
}

.medios-pago-overlay {
  position: absolute;
  inset: 0;
  background: rgba(185, 79, 181, 0.7);
}

.medios-pago-content {
  position: relative;
  z-index: 2;
}

.medios-pago-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  padding: 30px 15px;
  align-items: stretch;
}

.medio-pago-item {
  text-align: center;
  color: #fff;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  word-wrap: normal !important;
  white-space: normal !important;
  line-break: auto !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  text-rendering: optimizeLegibility !important;
}

.medio-pago-icon {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.medio-pago-icon img {
  display: block;
  max-width: 100%;
  height: auto;
}

.medio-pago-item h3 {
  font-size: 15px !important;
  font-weight: 600;
  margin-bottom: 2px;
  color: #fff !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  word-wrap: normal !important;
  white-space: normal !important;
  line-break: auto !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  text-rendering: optimizeLegibility !important;
}

.medio-pago-item p {
  font-size: 12px !important;
  margin: 0;
  opacity: 0.9;
  color: #fff !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  word-wrap: normal !important;
  white-space: normal !important;
  line-break: auto !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  text-rendering: optimizeLegibility !important;
}

@media (max-width: 767px) {
  .medios-pago-wrapper {
    border-radius: 25px;
  }

  .medios-pago-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 991px) {
  .categoria-card-left {
    flex: 0 0 50%;
  }

  .categoria-card-right {
    flex: 0 0 50%;
  }

  .categoria-card-title {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .categorias-productos-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .categoria-card-link {
    min-height: 180px;
  }

  .categoria-card-left {
    flex: 0 0 50%;
    padding: 20px 15px;
  }

  .categoria-card-right {
    flex: 0 0 50%;
    padding: 15px;
  }
}

/* ============================================
   PRODUCT CARD STYLES
   ============================================ */
.product-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image-container {
  position: relative;
  overflow: hidden;
}

/* Badges izquierda */
.product-badges-left .product-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
}

.product-badge.featured-badge {
  background-color: white;
  color: #15158b;
  border-color: #15158b;
}

.product-badge.sale-badge {
  background-color: #ffffff;
  color: #b94eb5;
  border: 2px solid #b94eb5;
  border-radius: 9999px;
}

/* Carrito hover - aparece al hacer hover en la tarjeta */
.product-cart-hover {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card:hover .product-cart-hover {
  opacity: 1;
  transform: translateY(0);
}

.product-cart-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-cart-btn svg {
  color: #b94eb5 !important;
  stroke: #b94eb5 !important;
}

.product-cart-btn:hover {
  background-color: #b94eb5 !important;
}

.product-cart-btn:hover svg {
  color: white !important;
  stroke: white !important;
}

/* Contenido de la tarjeta */
.product-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-category {
  text-transform: capitalize;
}

.product-title {
  min-height: 2.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.875rem !important; /* 14px aprox - más pequeño que text-base (16px) */
}

.product-price .woocommerce-Price-amount {
  color: #1a1a1a !important;
  background: transparent !important;
}

.product-price del {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-right: 0.5rem;
}

.product-price ins {
  text-decoration: none;
  color: #1a1a1a;
}

.product-view-btn {
  text-transform: capitalize;
  background-color: #b94eb5 !important;
  color: #ffffff !important;
}

.product-view-btn:hover {
  background-color: #a03da0 !important;
  color: #ffffff !important;
}

/* ============================================
   MAS ELEGIDOS SECTION STYLES
   ============================================ */
.mas-elegidos-section {
  padding: 60px 0;
  background-color: #ffffff !important;
}

/* Asegurar que el body también sea blanco cuando contiene mas-elegidos */
body:has(.mas-elegidos-section) {
  background-color: #ffffff !important;
}

/* Fallback para navegadores que no soportan :has() - aplicar al main también */
.site-main:has(.mas-elegidos-section),
main:has(.mas-elegidos-section) {
  background-color: #ffffff !important;
}

/* ============================================
   FEATURED PRODUCTS SECTION STYLES
   ============================================ */
.featured-products-section {
  background-color: #ffffff !important;
}

/* Asegurar que el body también sea blanco cuando contiene featured-products */
body:has(.featured-products-section) {
  background-color: #ffffff !important;
}

/* Fallback para navegadores que no soportan :has() - aplicar al main también */
.site-main:has(.featured-products-section),
main:has(.featured-products-section) {
  background-color: #ffffff !important;
}

/* Product tabs */
.woocommerce-tabs {
  margin-top: 3rem;
  border-radius: 0.5rem;
  padding: 1.5rem 0;
  width: 100%;
}

.woocommerce-tabs .tabs {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.woocommerce-tabs .tabs li {
  margin: 0;
}

.woocommerce-tabs .tabs li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #6b7280;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

/* Panels en dos columnas */
.woocommerce-tabs .wc-tabs-wrapper {
  display: block;
}

.woocommerce-tabs .panel {
  padding: 1.5rem 0;
  color: #4b5563;
  line-height: 1.7;
}

.woocommerce-tabs .panel h2 {
  font-size: 14px !important;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
  text-transform: uppercase;
}

/* Two columns layout for Description and Attributes */
.product-tabs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 1rem 0;
}

/* Single column when only description or characteristics exists */
.product-tabs-grid.single-column {
  grid-template-columns: 1fr;
}

@media (max-width: 767px) {
  .product-tabs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.product-tab-column {
  /* Estilo plano, sin fondo ni sombra */
}

.product-tab-title {
  font-size: 1rem;
  font-weight: 600;
  color: #15158b;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-transform: uppercase;
}

.product-tab-content {
  color: #4b5563;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.product-tab-content p {
  margin-bottom: 1rem;
}

.product-tab-content p:last-child {
  margin-bottom: 0;
}

/* Hide the h2 inside tab content since we have our own title */
.product-tab-content .woocommerce-product-details__short-description h2,
.product-tab-content > h2:first-child {
  display: none;
}

/* Attributes table styling */
.product-tab-content .shop_attributes {
  width: 100%;
  border-collapse: collapse;
}

.product-tab-content .shop_attributes th,
.product-tab-content .shop_attributes td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 0.875rem;
}

.product-tab-content .shop_attributes th {
  font-weight: 600;
  color: #374151;
  width: 40%;
}

.product-tab-content .shop_attributes td {
  color: #6b7280;
}

.product-tab-content .shop_attributes tr:last-child th,
.product-tab-content .shop_attributes tr:last-child td {
  border-bottom: none;
}

.woocommerce-tabs .panel table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-tabs .panel table th,
.woocommerce-tabs .panel table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.woocommerce-tabs .panel table th {
  font-weight: 600;
  color: #1f2937;
  background: #f9fafb;
}

/* Related products */
.woocommerce .related,
.woocommerce .upsells {
  margin-top: 4rem;
}

.woocommerce .related h2,
.woocommerce .upsells h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

/* ============================================
   PRODUCT FILTERS - CATEGORIES & ATTRIBUTES
   ============================================ */

/* Custom scrollbar for filter sections */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 transparent;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #cbd5e0;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #a0aec0;
}

/* Category hierarchy styles */
.category-item {
  position: relative;
}

.category-children {
  margin-top: 0.25rem;
  border-left: 2px solid #e5e7eb;
  padding-left: 0.5rem;
  margin-left: 0.5rem;
}

.category-item label {
  user-select: none;
}

.category-item input[type="checkbox"] {
  flex-shrink: 0;
}

.category-item:hover .category-children {
  border-left-color: #d1d5db;
}

/* Filter section spacing */
#product-filters-form > div:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* ============================================
   WOOCOMMERCE PAGINATION STYLES
   ============================================ */

.woocommerce-pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.woocommerce nav.woocommerce-pagination,
.woocommerce-page nav.woocommerce-pagination {
  text-align: center;
  margin: 0;
  padding: 0;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce-page nav.woocommerce-pagination ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-page nav.woocommerce-pagination ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce-page nav.woocommerce-pagination ul li a,
.woocommerce-page nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  margin: 0;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: #374151;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  line-height: 1;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce-page nav.woocommerce-pagination ul li a:hover {
  background-color: var(--color-primary, #2563eb);
  color: #ffffff;
  border-color: var(--color-primary, #2563eb);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-page nav.woocommerce-pagination ul li span.current {
  background-color: var(--color-primary, #2563eb);
  color: #ffffff;
  border-color: var(--color-primary, #2563eb);
  font-weight: 600;
  cursor: default;
}

.woocommerce nav.woocommerce-pagination ul li span.dots,
.woocommerce-page nav.woocommerce-pagination ul li span.dots {
  background-color: transparent;
  border: none;
  color: #6b7280;
  cursor: default;
  padding: 0.5rem 0.25rem;
}

.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce-page nav.woocommerce-pagination ul li a.prev,
.woocommerce-page nav.woocommerce-pagination ul li a.next {
  padding: 0.5rem 1rem;
  min-width: auto;
}

.woocommerce nav.woocommerce-pagination ul li a.prev:hover,
.woocommerce nav.woocommerce-pagination ul li a.next:hover,
.woocommerce-page nav.woocommerce-pagination ul li a.prev:hover,
.woocommerce-page nav.woocommerce-pagination ul li a.next:hover {
  background-color: var(--color-primary, #2563eb);
  color: #ffffff;
  border-color: var(--color-primary, #2563eb);
}

/* Mobile responsive pagination */
@media (max-width: 640px) {
  .woocommerce nav.woocommerce-pagination ul,
  .woocommerce-page nav.woocommerce-pagination ul {
    gap: 0.25rem;
  }

  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span,
  .woocommerce-page nav.woocommerce-pagination ul li a,
  .woocommerce-page nav.woocommerce-pagination ul li span {
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
  }

  .woocommerce nav.woocommerce-pagination ul li a.prev,
  .woocommerce nav.woocommerce-pagination ul li a.next,
  .woocommerce-page nav.woocommerce-pagination ul li a.prev,
  .woocommerce-page nav.woocommerce-pagination ul li a.next {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }

  /* Hide page numbers on very small screens, show only prev/next */
  .woocommerce
    nav.woocommerce-pagination
    ul
    li:not(.prev):not(.next):not(.dots) {
    display: none;
  }

  .woocommerce nav.woocommerce-pagination ul li.prev,
  .woocommerce nav.woocommerce-pagination ul li.next,
  .woocommerce-page nav.woocommerce-pagination ul li.prev,
  .woocommerce-page nav.woocommerce-pagination ul li.next {
    display: inline-block;
  }
}

/* ============================================
   MOBILE FILTER DRAWER
   ============================================ */

/* Mobile filter toggle button */
#mobile-filter-toggle {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#mobile-filter-toggle:active {
  transform: scale(0.95);
}

/* Filter drawer container */
.filter-drawer {
  will-change: transform;
}

/* Smooth overlay transition */
#mobile-filter-overlay {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Prevent body scroll when drawer is open */
body.filter-drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Ensure drawer content is scrollable */
#mobile-filter-drawer form {
  min-height: 100%;
}

/* Better spacing for mobile drawer */
@media (max-width: 1023px) {
  #mobile-filter-drawer {
    padding-top: env(safe-area-inset-top);
  }

  #mobile-filter-drawer .filter-progressive-container {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }

  #mobile-filter-drawer .filter-content {
    max-height: calc(100vh - 300px);
  }
}

/* Sidebar filtros - tamaños de títulos más chicos */
#desktop-filter-sidebar h2,
#desktop-filter-sidebar h3,
#mobile-filter-drawer h2,
#mobile-filter-drawer h3 {
  font-size: 0.875rem !important; /* ~14px */
}

/* Desktop: ensure drawer behaves as sidebar */
@media (min-width: 1024px) {
  .filter-drawer {
    position: static !important;
    transform: none !important;
    max-width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
  }

  #mobile-filter-toggle {
    display: none !important;
  }

  #mobile-filter-overlay {
    display: none !important;
  }
}

.color-texto-titulos {
  color: #594949 !important;
}

/* Trust Badges - Prevent word breaking with accents */
section.bg-gray-100 .trust-badge-title,
section.bg-gray-100 .trust-badge-description {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  word-wrap: normal !important;
  white-space: normal !important;
  line-break: auto !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  unicode-bidi: normal !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-feature-settings: "liga" 1, "kern" 1 !important;
  font-feature-settings: "liga" 1, "kern" 1 !important;
}

/* Specific fix for words with accents - prevent breaking */
section.bg-gray-100 .trust-badge-title *,
section.bg-gray-100 .trust-badge-description * {
  word-break: normal !important;
  overflow-wrap: normal !important;
}

section.bg-gray-100 .trust-badge-title {
  line-height: 1.3 !important;
}

section.bg-gray-100 .trust-badge-description {
  line-height: 1.5 !important;
}

/* ============================================
   OFFERS & PRODUCTS GRID SECTION
   ============================================ */

/* Section container */
.offers-products-section {
  background-color: #ffffff !important;
}

/* Left Card - Offer */
.offer-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.offer-card-header h2 {
  letter-spacing: -0.5px;
}

/* Product card inside offer wrapper */
.offer-product-wrapper {
  display: flex;
  flex-direction: column;
}

.offer-product-wrapper article {
  box-shadow: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-product-wrapper article > a {
  flex: 1;
}

.offer-product-wrapper .w-full.h-64 {
  height: auto;
  min-height: 250px;
}

/* Right Card - Explore Products */
.explore-products-card {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

/* Pattern background - globe/world pattern */
.explore-products-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23d1d5db' stroke-width='0.5'/%3E%3Cellipse cx='50' cy='50' rx='40' ry='20' fill='none' stroke='%23d1d5db' stroke-width='0.5'/%3E%3Cellipse cx='50' cy='50' rx='20' ry='40' fill='none' stroke='%23d1d5db' stroke-width='0.5'/%3E%3Cline x1='10' y1='50' x2='90' y2='50' stroke='%23d1d5db' stroke-width='0.5'/%3E%3Cline x1='50' y1='10' x2='50' y2='90' stroke='%23d1d5db' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.explore-products-inner {
  position: relative;
  z-index: 1;
}

.explore-header h2 {
  letter-spacing: -0.5px;
}

/* Product cards in explore section - using content-product template */
.explore-products-grid article {
  height: 100%;
}

.explore-products-grid article .w-full.h-64 {
  height: 180px;
}

/* Line clamp for product titles */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .explore-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .explore-products-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    padding: 1rem;
  }

  .explore-products-card {
    padding: 1rem;
  }

  .explore-header h2 {
    font-size: 1.5rem;
  }

  .explore-header h2 br {
    display: none;
  }
}

/* ============================================
   LOCATION MAP SECTION
   ============================================ */

.location-map-section {
  position: relative;
  padding-bottom: 0;
  margin-bottom: -1px; /* Elimina gap entre secciones */
}

.contact-map {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.contact-map iframe.contacto-section {
  width: 100%;
  height: 386px; /* Altura aumentada para que se vea detrás de la onda */
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .contact-map iframe.contacto-section {
    height: 386px;
  }
}

@media (min-width: 1024px) {
  .contact-map iframe.contacto-section {
    height: 386px;
  }
}

/* Wave Divider between map and footer */
/* Location map section adjustments */
.location-map-section {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0;
  overflow: hidden; /* Corta el mapa donde termina la sección */
}

/* Wave divider overlay on map */
.wave-divider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  line-height: 0;
  pointer-events: none; /* Permite interactuar con el mapa a través de la parte transparente */
}

.wave-divider-overlay img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
}

@media (min-width: 768px) {
  .wave-divider-overlay img {
    min-height: 150px;
  }
}

@media (min-width: 1024px) {
  .wave-divider-overlay img {
    min-height: 180px;
  }
}

/* Footer adjustments */
footer[role="contentinfo"] {
  margin-top: 0 !important;
  position: relative;
  z-index: 1;
}

/* Fallback background color if no image */
footer.bg-secondary {
  background-color: #fcdbef;
}

/* Footer Area Styles - Replicando theme/custom.css */
.footer-area {
  position: relative;
  color: #594949 !important;
}

footer[role="contentinfo"],
footer[role="contentinfo"] *,
footer[role="contentinfo"] p,
footer[role="contentinfo"] a,
footer[role="contentinfo"] li,
footer[role="contentinfo"] span,
footer[role="contentinfo"] div,
footer[role="contentinfo"] h1,
footer[role="contentinfo"] h2,
footer[role="contentinfo"] h3,
footer[role="contentinfo"] h4,
footer[role="contentinfo"] h5,
footer[role="contentinfo"] h6 {
  color: #594949 !important;
}

footer[role="contentinfo"] a:hover {
  color: #b94eb5 !important;
}

.footer-bottom-text,
.footer-bottom-text p,
.footer-bottom-text a {
  color: #594949 !important;
  font-ize: 14px !important;
}

.footer-bottom-text a:hover {
  color: #b94eb5 !important;
}

.footer-area .widget {
  margin-bottom: 0;
}

.footer-area .widget-title,
.footer-area h4.widget-title {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #594949;
  font-weight: 600;
}

.footer-area ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-area ul li {
  margin-bottom: 6px;
}

.footer-area ul li a {
  font-size: 13px;
  color: #594949;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-area ul li a:hover {
  color: #b94eb5;
}

.footer-area p {
  font-size: 13px;
  color: #594949;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-area p:last-child {
  margin-bottom: 0;
}

.bg-footer-personalizado {
  background-color: #fcdbef !important;
}

.main-footer {
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.footer-cta {
  padding-bottom: 20px;
}

.footer-cta p {
  font-size: 13px;
  color: #594949 !important;
  margin: 0;
}

.footer-cta a {
  color: #594949 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-cta a:hover {
  color: #b94eb5 !important;
}

/* Footer Bottom - Copyright section */
.border-t {
  border-top: 1px solid #b94eb5 !important;
}

.border-t p,
.border-t a {
  color: #594949 !important;
}

.border-t a:hover {
  color: #b94eb5 !important;
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer-area .widget-title,
  .footer-area h4.widget-title {
    font-size: 12px;
  }

  .footer-area ul li a,
  .footer-area p {
    font-size: 12px;
  }
}

/* Footer Widgets Styles */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo-column {
  align-items: flex-start;
}

.footer-shop-column {
  align-items: flex-start;
}

.footer-contact-column {
  align-items: flex-end;
}

/* Footer Widget Titles */
.footer-column .widget-title,
.footer-column h4.widget-title {
  font-size: 13px !important;
  font-weight: 700;
  color: #594949;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer Widget Text */
.footer-column .widget,
.footer-column .widget p,
.footer-column .widget li,
.footer-column .widget a {
  color: #594949;
  font-size: 13px !important;
  line-height: 1.6;
}

.footer-column .widget a:hover {
  color: #b94eb5;
  transition: color 0.3s ease;
}

/* Footer Logo Column - Logo styling */
.footer-logo-column .widget img {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

/* Footer Shop Column - Menu items */
.footer-shop-column .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-shop-column .widget ul li {
  margin-bottom: 0.5rem;
}

.footer-shop-column .widget ul li a {
  text-decoration: none;
  display: block;
}

/* Footer Contact Column - Contact info */
.footer-contact-column .widget p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-column .widget p:last-child {
  margin-bottom: 0;
}

/* Footer Social Icons */
.footer-social-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social-wrapper a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b94eb5;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-wrapper a:hover {
  color: #594949;
  transform: scale(1.1);
}

.footer-social-wrapper i,
.footer-social-wrapper .fas,
.footer-social-wrapper .fab {
  font-size: 24px;
  color: #b94eb5;
}

.footer-social-wrapper a:hover i,
.footer-social-wrapper a:hover .fas,
.footer-social-wrapper a:hover .fab {
  color: #594949;
}

.footer-social-wrapper svg {
  width: 24px;
  height: 24px;
}

/* Estilos para iconos de contacto */
.footer-area .widget i.fas,
.footer-area .widget i.far,
.footer-area .widget i.fab,
.footer-area .widget .fas,
.footer-area .widget .far,
.footer-area .widget .fab {
  color: #b94eb5 !important;
  margin-right: 10px;
  font-size: 16px;
  display: inline-block;
}

.footer-area .widget p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  color: #594949;
}

.footer-area .widget p:last-child {
  margin-bottom: 0;
}

.footer-area .widget a {
  color: #594949;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-area .widget a:hover {
  color: #b94eb5;
}

/* Estilos para redes sociales */
.social-widget-container {
  text-align: right;
  margin-top: 15px;
}

.social-widget-container a {
  margin: 0 10px;
  text-decoration: none;
  display: inline-block;
}

.social-widget-container i.fab,
.social-widget-container .fab {
  color: #b94eb5 !important;
  font-size: 24px !important;
  transition: all 0.3s ease;
}

.social-widget-container a:hover i.fab,
.social-widget-container a:hover .fab {
  color: #594949 !important;
  transform: scale(1.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-contact-column {
    align-items: flex-start;
  }

  .footer-column .widget-title,
  .footer-column h4.widget-title {
    font-size: 1.125rem;
  }
}

/* ============================================
   NOSOTROS PAGE STYLES
   ============================================ */

.nosotros-hero {
  position: relative;
}

.nosotros-image-wrapper {
  display: flex;
  justify-content: center;
}

.nosotros-content {
  position: relative;
  z-index: 1;
}

.nosotros-content h1 {
  line-height: 1.1;
}

.nosotros-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nosotros-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.nosotros-card-content p {
  margin: 0;
}

/* Responsive adjustments for Nosotros */
@media (max-width: 1023px) {
  .nosotros-image-wrapper img {
    max-height: 300px;
  }
}

@media (max-width: 767px) {
  .nosotros-hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .nosotros-image-wrapper {
    margin-bottom: 1.5rem;
  }

  .nosotros-image-wrapper img {
    max-height: 250px;
  }

  .nosotros-card {
    padding: 1.25rem;
  }

  /* Ajustar margin-top del contenedor de tarjetas en mobile */
  .nosotros-hero + .container {
    margin-top: -26rem !important;
  }
}

/* ============================================
   SERVICIOS PAGE STYLES
   ============================================ */

.servicios-section {
  position: relative;
  overflow: hidden;
}

.servicios-content {
  position: relative;
  z-index: 1;
}

.servicios-content h2 {
  line-height: 1.1;
}

.servicios-image-wrapper {
  position: relative;
}

.servicios-main-image {
  position: relative;
  z-index: 1;
}

.servicios-cards-overlay {
  z-index: 2;
}

.servicio-card {
  transition: box-shadow 0.3s ease;
}

.servicio-card:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for Servicios */
@media (max-width: 1023px) {
  .servicios-cards-overlay {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    margin-top: 1.5rem;
    align-items: stretch !important;
  }

  .servicio-card {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .servicios-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .servicios-content {
    margin-bottom: 2rem;
  }

  .servicios-content h2 {
    font-size: 1.75rem;
  }

  .servicio-card h3 {
    font-size: 0.875rem;
  }

  .servicio-card p {
    font-size: 0.75rem;
  }
}

/* ============================================
   CONTACTO PAGE STYLES
   ============================================ */

.contacto-info h2 {
  line-height: 1.2;
}

.contacto-item {
  transition: transform 0.2s ease;
}

.contacto-item:hover {
  transform: translateX(4px);
}

.contacto-item-text {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contacto-item-label {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #594949;
  white-space: nowrap;
}

.contacto-item-content,
.contacto-item-content a {
  font-size: 15px;
  color: #594949;
}

.contacto-form {
  height: fit-content;
}

.contacto-form input,
.contacto-form textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  border-color: #16193b;
  box-shadow: 0 0 0 3px rgba(22, 25, 59, 0.1);
}

.contacto-form button[type="submit"] {
  transition: all 0.3s ease;
}

.contacto-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 25, 59, 0.3);
}

/* Responsive adjustments for Contacto */
@media (max-width: 1023px) {
  .contacto-info {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .contacto-info h2,
  .contacto-form h2 {
    font-size: 1.5rem;
  }

  .contacto-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .contacto-form {
    padding: 1.5rem;
  }
}

/* ============================================
   TOP BAR HEADER STYLES
   ============================================ */

.bg-primary .grid {
  min-height: 2.5rem;
}

.bg-primary svg {
  flex-shrink: 0;
}

.bg-primary .text-white {
  line-height: 1.4;
}

/* Responsive adjustments for Top Bar */
@media (max-width: 1023px) {
  /* Ocultar top-bar completamente en mobile */
  .top-bar-header {
    display: none !important;
  }
  
  .bg-primary .grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bg-primary .grid > div {
    justify-content: center !important;
  }
}

@media (min-width: 1024px) {
  .bg-primary .grid {
    grid-template-columns: 1fr 2fr 1fr;
  }
}

/* Mobile Menu - Ocultar completamente por defecto */
.mobile-nav-menu {
  display: none !important;
}

/* Search submit button: solo ícono, sin fondo ni borde */
.search-submit-btn,
header .search-submit-btn,
header form .search-submit-btn,
.main-header .search-submit-btn,
.main-header form .search-submit-btn,
.site-header .search-submit-btn,
.site-header form .search-submit-btn {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
}

.search-submit-btn:hover,
header .search-submit-btn:hover,
header form .search-submit-btn:hover,
.main-header .search-submit-btn:hover,
.main-header form .search-submit-btn:hover,
.site-header .search-submit-btn:hover,
.site-header form .search-submit-btn:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
}

.search-submit-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

@media (max-width: 1023px) {
  .mobile-nav-menu {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 80% !important;
    max-width: 320px !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background-color: #16193b !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease-in-out !important;
    overflow-y: auto !important;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3) !important;
  }

  .mobile-nav-menu.active {
    display: block !important;
    transform: translateX(0) !important;
  }

  .mobile-nav-menu li {
    list-style: none !important;
  }
  
  /* Contenido del menú mobile */
  .mobile-menu-content {
    padding: 5rem 2rem 2rem 2rem;
    height: 100%;
    overflow-y: auto;
  }
  
  .mobile-menu-section {
    margin-bottom: 2rem;
  }
  
  .mobile-menu-section:last-child {
    margin-bottom: 0;
  }
  
  .mobile-menu-section-title {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 1rem !important;
  }
  
  .mobile-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .mobile-menu-item {
    list-style: none !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .mobile-menu-item:last-child {
    border-bottom: none !important;
  }
  
  .mobile-menu-link {
    display: block !important;
    padding: 16px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: background-color 0.2s !important;
  }
  
  .mobile-menu-link:hover,
  .mobile-menu-link:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
  }
  
  .mobile-menu-empty {
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 2rem !important;
    text-align: center !important;
    margin: 0 !important;
  }
  
  /* Logo mobile */
  .site-logo-mobile {
    flex: 0 0 auto !important;
    max-width: 120px !important;
    height: auto !important;
  }
  
  .site-logo-img {
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  .site-logo-text {
    font-size: 1.25rem !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  
  /* Carrito mobile */
  .cart-toggle-mobile {
    position: relative !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .cart-toggle-mobile .cart-icon {
    width: 24px !important;
    height: 24px !important;
    color: #ffffff !important;
    stroke: currentColor !important;
  }
  
  .cart-badge-mobile {
    top: -2px !important;
    right: -2px !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 0 4px !important;
    line-height: 18px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  }
  
  /* Ajustes del header principal en mobile */
  .main-header {
    padding: 1rem !important;
  }
  
  .main-header-inner {
    gap: 0.75rem !important;
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
  }
  
  /* Logo mobile - centrado usando grid */
  .main-header .site-logo-mobile {
    grid-column: 2 !important;
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 120px !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
  }
  
  .main-header .site-logo-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 50px !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Botón menú a la izquierda */
  .main-header .mobile-menu-toggle {
    grid-column: 1 !important;
    justify-self: start !important;
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 20 !important;
  }
  
  /* Carrito y acciones a la derecha */
  .main-header .flex.items-center.gap-3 {
    grid-column: 3 !important;
    justify-self: end !important;
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }
  
  /* Mostrar búsqueda mobile toggle */
  #mobile-search-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #B94EB5 !important;
    min-width: 40px !important;
    min-height: 40px !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10000 !important;
    flex-shrink: 0 !important;
  }
  
  #mobile-search-toggle svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #B94EB5 !important;
    fill: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #mobile-search-toggle:hover svg {
    stroke: #a03da0 !important;
  }
  
  #mobile-search-toggle:focus {
    outline: 2px solid #B94EB5 !important;
    outline-offset: 2px !important;
  }
}

.color-titulo {
  color: #16193b;
}

/* Cart badge - asegurar color blanco en texto */
.cart-badge {
  background-color: #b94eb5 !important;
  color: #ffffff !important;
}

.cart-badge,
.cart-badge * {
  color: #ffffff !important;
}

.border-footer {
  border-top: 1px solid #b94eb5 !important;
}


.single-product-image-wrapper img {
  height: 500px;
  object-fit: contain;  
  object-position: center center;
}



@media (max-width: 768px) {
  .single-product-image-wrapper img {
    height: 300px;
    object-fit: contain;  
    object-position: center center;
  }
}

/* Notificaciones de WooCommerce en página de producto - Estilo Alert */
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 1rem 1.25rem !important;
  margin: 1rem 0 !important;
  border-radius: 0.5rem !important;
  border-left: 4px solid !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  font-size: 0.9375rem !important;
  line-height: 1.5 !important;
  animation: slideInDown 0.3s ease-out !important;
}

/* Mensaje de éxito (añadido al carrito) */
body.single-product .woocommerce-message {
  background-color: #d1fae5 !important;
  border-left-color: #10b981 !important;
  color: #065f46 !important;
}

body.single-product .woocommerce-message::before {
  content: "✓" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  background-color: #10b981 !important;
  color: white !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  font-weight: bold !important;
  flex-shrink: 0 !important;
}

body.single-product .woocommerce-message a.button {
  margin-left: auto !important;
  padding: 0.5rem 1rem !important;
  background-color: #10b981 !important;
  color: white !important;
  border-radius: 0.375rem !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background-color 0.2s ease !important;
  border: none !important;
}

body.single-product .woocommerce-message a.button:hover {
  background-color: #059669 !important;
}

/* Mensaje de información */
body.single-product .woocommerce-info {
  background-color: #dbeafe !important;
  border-left-color: #3b82f6 !important;
  color: #1e40af !important;
}

body.single-product .woocommerce-info::before {
  content: "ℹ" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  background-color: #3b82f6 !important;
  color: white !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  font-weight: bold !important;
  flex-shrink: 0 !important;
}

/* Mensaje de error */
body.single-product .woocommerce-error {
  background-color: #fee2e2 !important;
  border-left-color: #ef4444 !important;
  color: #991b1b !important;
}

body.single-product .woocommerce-error::before {
  content: "✕" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  background-color: #ef4444 !important;
  color: white !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  font-weight: bold !important;
  flex-shrink: 0 !important;
}

/* Animación de entrada */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  body.single-product .woocommerce-message,
  body.single-product .woocommerce-info,
  body.single-product .woocommerce-error {
    padding: 0.875rem 1rem !important;
    font-size: 0.875rem !important;
  }
  
  body.single-product .woocommerce-message a.button {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.8125rem !important;
  }
}

.products .product-image-wrapper img {
  object-fit: contain;  
  height: 200px;
  object-position: center center;
}

/* ============================================
   SEARCH AUTOCOMPLETE STYLES
   ============================================ */

/* Autocomplete dropdown container */
.search-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: -1px;
}

.search-autocomplete-dropdown.hidden {
  display: none;
}

/* Autocomplete list */
.autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Autocomplete item */
.autocomplete-item {
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s ease;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
  background-color: #f9fafb;
}

.autocomplete-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: inherit;
  gap: 1rem;
}

.autocomplete-link:hover {
  text-decoration: none;
}

/* Autocomplete image */
.autocomplete-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #f3f4f6;
}

.autocomplete-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Autocomplete content */
.autocomplete-content {
  flex: 1;
  min-width: 0;
}

.autocomplete-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1f2937;
  margin-bottom: 0.25rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.autocomplete-sku {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.autocomplete-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2563eb;
}

/* Loading and error states */
.autocomplete-loading,
.autocomplete-error,
.autocomplete-empty {
  padding: 1rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.autocomplete-error {
  color: #dc2626;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
  .search-autocomplete-dropdown {
    max-height: 300px;
    border-radius: 0 0 0.5rem 0.5rem;
  }
  
  .autocomplete-link {
    padding: 0.625rem 0.875rem;
    gap: 0.75rem;
  }
  
  .autocomplete-image {
    width: 50px;
    height: 50px;
  }
  
  .autocomplete-name {
    font-size: 0.8125rem;
  }
  
  .autocomplete-price {
    font-size: 0.8125rem;
  }
}

/* Ensure form is positioned relative for dropdown */
.main-header form[role="search"],
#mobile-search-bar form[role="search"] {
  position: relative;
}