/*
Theme Name: Astra Child
Template: astra
*/
.top-bar {
  background: #f55588;/* morado elegante */
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.top-bar span {
  margin: 0 4px;
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 12px;
    padding: 6px 0;
  }
}

/*
🔘 2. Botones y CTA
*/



button, .button, .ast-button {
  background: #f55588;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}
button:hover, .button:hover, .ast-button:hover {
  background: #d94472;
}

/*
🧩 3. Menú de navegación
*/
.main-header-menu a {
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.main-header-menu a:hover {
  color: #f55588;
}
/* enlaces estilo premium */

a {
  color: #f55588;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d94472;
  text-decoration: underline; /* opcional */
}

/* Breadcrumbs estilo premium */
.woocommerce-breadcrumb {
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  margin: 10px 0;
}

.woocommerce-breadcrumb a {
  color: #f55588;
  text-decoration: none;
  transition: all 0.3s ease;
}

.woocommerce-breadcrumb a:hover {
  color: #d94472; /* tono más oscuro para hover */
  font-weight: 500;
}

.woocommerce-breadcrumb span,
.woocommerce-breadcrumb::before,
.woocommerce-breadcrumb::after {
  margin: 0 6px;
  color: #aaa;
  font-weight: bold;
}

/* Separador estilizado con flecha */
.woocommerce-breadcrumb a + span::before {
  content: "›";
  margin: 0 6px;
  color: #999;
  font-weight: bold;
}

/* Icono casita para Inicio */
.woocommerce-breadcrumb a:first-child::before {
  content: "🏠 ";
  margin-right: 4px;
  color: #f55588;
}

/* Responsive: centrar en pantallas pequeñas */
@media (max-width: 768px) {
  .woocommerce-breadcrumb {
    font-size: 12px;
    text-align: center;
  }
  .woocommerce-breadcrumb a:first-child::before {
    margin-right: 2px;
  }
}

/* Fix Menu Search Bar */
.ast-menu-search-icon form.woocommerce-product-search {
    display: flex !important;
    align-items: center;
    margin: 0;
    flex-wrap: nowrap;
}
.ast-menu-search-icon form.woocommerce-product-search label {
    display: none;
}
.ast-menu-search-icon form.woocommerce-product-search input[type="search"] {
    width: 220px;
    padding: 8px 15px;
    border-radius: 20px 0 0 20px;
    border: 1px solid #eee;
    border-right: none;
    height: 42px;
    font-size: 14px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.ast-menu-search-icon form.woocommerce-product-search button[type="submit"] {
    padding: 8px 20px;
    border-radius: 0 20px 20px 0;
    height: 42px;
    background: #f55588;
    color: white;
    border: none;
    white-space: nowrap;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}
.ast-menu-search-icon form.woocommerce-product-search button[type="submit"]:hover {
    background: #d94472;
}

/* Fix Category List rendering fallback */
.wp-block-woocommerce-product-categories ul,
ul.product-categories {
    list-style: none !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.wp-block-woocommerce-product-categories ul li,
ul.product-categories li {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}
.wp-block-woocommerce-product-categories ul li:hover,
ul.product-categories li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}
.wp-block-woocommerce-product-categories ul li a,
ul.product-categories li a {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}
.wp-block-woocommerce-product-categories ul li a:hover,
ul.product-categories li a:hover {
    text-decoration: none;
    color: #f55588;
}
.wp-block-woocommerce-product-categories ul ul.children,
ul.product-categories ul.children {
    display: none !important; /* Hide subcategories on top level grid for cleaner look */
}

/* Perfect WooCommerce Brands - Premium Grid */
.pwb-brands-cols-outer {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 30px !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.pwb-brands-cols-outer::before, .pwb-brands-cols-outer::after {
    display: none !important;
}

.pwb-brands-cols-outer > li,
.pwb-brands-cols-outer > div {
    background: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px 15px;
    text-align: center;
    width: 100% !important; /* Override PWB inline widths */
    float: none !important;
}

.pwb-brands-cols-outer > li:hover,
.pwb-brands-cols-outer > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(245, 85, 136, 0.15); /* pink shadow */
    border-color: rgba(245, 85, 136, 0.3);
}

.pwb-brands-cols-outer a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    width: 100%;
}

.pwb-brands-cols-outer a img {
    max-width: 120px !important;
    max-height: 80px !important;
    object-fit: contain;
    margin: 0 auto 15px auto !important;
    transition: transform 0.3s ease;
    order: 1; /* Image at the top */
}

.pwb-brands-cols-outer a:hover img {
    transform: scale(1.08);
}

/* Text label */
.pwb-brands-cols-outer a > *:not(img) {
    order: 2; /* Text at the bottom */
    color: #444 !important;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    display: block;
}
.pwb-brands-cols-outer a:hover > *:not(img) {
    color: #f55588 !important;
}

/* Premium Product Cards & Loop Fixes (Classic + Gutenberg Blocks) */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product,
li.wc-block-grid__product {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #f2f2f2 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    margin-bottom: 30px !important;
    align-items: center !important;
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover,
li.wc-block-grid__product:hover {
    box-shadow: 0 10px 30px rgba(245, 85, 136, 0.15) !important;
    transform: translateY(-5px) !important;
    border-color: rgba(245, 85, 136, 0.3) !important;
}

/* Remover TODO tipo de subrayado */
.woocommerce ul.products li.product a,
ul.products li.product a,
li.wc-block-grid__product a,
.woocommerce ul.products li.product h2,
ul.products li.product h2,
.woocommerce ul.products li.product h3,
ul.products li.product h3,
.wc-block-grid__product-title {
    text-decoration: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    border: none !important;
    background-image: none !important;
    outline: none !important;
}

.woocommerce ul.products li.product a::after,
ul.products li.product a::after,
li.wc-block-grid__product a::after,
.woocommerce ul.products li.product a::before,
ul.products li.product a::before,
li.wc-block-grid__product a::before {
    display: none !important;
}

/* Enlaces principales del producto */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
ul.products li.product .woocommerce-loop-product__link,
.woocommerce ul.products li.product a:not(.button),
ul.products li.product a:not(.button):not(.wp-block-button__link),
li.wc-block-grid__product a.wc-block-grid__product-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex-grow: 1 !important;
    text-decoration: none !important;
    border: none !important;
    width: 100% !important;
}

/* La imagen cubre todo el ancho superior */
.woocommerce ul.products li.product .woocommerce-loop-product__link > img,
.woocommerce ul.products li.product > img,
ul.products li.product .woocommerce-loop-product__link > img,
ul.products li.product > img,
li.wc-block-grid__product .wc-block-grid__product-image img {
    border-radius: 16px 16px 0 0 !important;
    margin: 0 0 15px 0 !important;
    width: 100% !important;
    object-fit: cover !important;
}

/* Contenedor central */
.woocommerce ul.products li.product .astra-shop-summary-wrap,
ul.products li.product .astra-shop-summary-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex-grow: 1 !important;
    width: 100% !important;
    text-align: center !important;
}

/* Espaciado interno general */
.woocommerce ul.products li.product .astra-shop-summary-wrap,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .ast-woo-shop-product-description,
.woocommerce ul.products li.product .woocommerce-product-details__short-description,
.woocommerce ul.products li.product .ast-woo-product-category,
ul.products li.product .woocommerce-loop-product__title,
li.wc-block-grid__product .wc-block-grid__product-title {
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Categoría del producto */
.woocommerce ul.products li.product .ast-woo-product-category,
ul.products li.product .ast-woo-product-category {
    font-size: 11px !important;
    color: #999 !important;
    margin-top: 5px !important;
    margin-bottom: 2px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Fix for Perfect WooCommerce Brands in loop */
.woocommerce ul.products li.product .pwb-brands-in-loop,
ul.products li.product .pwb-brands-in-loop,
.woocommerce ul.products li.product .pwb-brand-logo-loop,
ul.products li.product .pwb-brand-logo-loop {
    text-align: center !important;
    margin: 5px 20px 10px 20px !important;
    width: 100% !important;
}

.woocommerce ul.products li.product .pwb-brands-in-loop img,
ul.products li.product .pwb-brands-in-loop img,
.woocommerce ul.products li.product img.pwb-brand-logo-loop,
ul.products li.product img.pwb-brand-logo-loop,
li.wc-block-grid__product img.pwb-brand-logo-loop {
    max-width: 45px !important;
    max-height: 20px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: inline-block !important;
    margin: 0 auto !important;
    filter: grayscale(100%) !important;
    opacity: 0.6 !important;
    transition: all 0.3s !important;
    border-radius: 0 !important; /* Override the 16px radius */
}

.woocommerce ul.products li.product:hover .pwb-brands-in-loop img,
ul.products li.product:hover .pwb-brands-in-loop img,
.woocommerce ul.products li.product:hover img.pwb-brand-logo-loop,
ul.products li.product:hover img.pwb-brand-logo-loop,
li.wc-block-grid__product:hover img.pwb-brand-logo-loop {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

/* Estilización del título - Forzado a centrar y sin subrayado */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
ul.products li.product h2,
ul.products li.product h3,
li.wc-block-grid__product .wc-block-grid__product-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 5px auto 15px auto !important;
    color: #333 !important;
    text-transform: none !important;
    text-align: center !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    width: 100% !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
}

/* Estilización del precio - Forzado al fondo */
.woocommerce ul.products li.product .price,
ul.products li.product .price,
li.wc-block-grid__product .wc-block-grid__product-price {
    font-size: 17px !important;
    color: #f55588 !important;
    font-weight: 800 !important;
    margin: auto 20px 15px 20px !important; /* El margin top 'auto' lo empuja hacia abajo */
    padding: 10px 0 !important;
    text-align: center !important;
    background: #fff5f8 !important;
    border-radius: 8px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: calc(100% - 40px) !important;
}

/* Texto de descripción inferior */
.woocommerce ul.products li.product .woocommerce-product-details__short-description,
ul.products li.product .ast-woo-shop-product-description {
    font-size: 13px !important;
    color: #777 !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
    padding-bottom: 15px !important;
    text-align: center !important;
}

/* Botón Premium "Seleccionar Opciones" / "Añadir al carrito" */
.woocommerce ul.products li.product .button,
ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
li.wc-block-grid__product .wp-block-button__link {
    background: #f55588 !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 12px 15px !important;
    width: calc(100% - 40px) !important;
    margin: 0 20px 20px 20px !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(245,85,136,0.2) !important;
    border: none !important;
    display: block !important;
    line-height: 1 !important;
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover,
li.wc-block-grid__product .wp-block-button__link:hover {
    background: #d94472 !important;
    box-shadow: 0 6px 20px rgba(245,85,136,0.35) !important;
    transform: translateY(-3px) !important;
}

/* Botón Premium "Seleccionar Opciones" / "Añadir al carrito" */
.woocommerce ul.products li.product .button,
ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
    background: #f55588 !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 12px 15px !important;
    width: calc(100% - 40px) !important;
    margin: 0 20px 20px 20px !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(245,85,136,0.2) !important;
    border: none !important;
    display: block !important;
    line-height: 1 !important;
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover {
    background: #d94472 !important;
    box-shadow: 0 6px 20px rgba(245,85,136,0.35) !important;
    transform: translateY(-3px) !important;
}

/* Premium WooCommerce Login & Register Forms */
#customer_login {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}
#customer_login .u-column1, 
#customer_login .u-column2 {
    flex: 1;
    min-width: 300px;
    background: #fff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06) !important;
    border: 1px solid #f5f5f5 !important;
}
#customer_login h2 {
    font-size: 26px;
    margin-bottom: 30px;
    color: #222;
    font-weight: 800;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
#customer_login h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #f55588;
    border-radius: 3px;
}
#customer_login .woocommerce-form-login,
#customer_login .woocommerce-form-register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#customer_login .form-row input.input-text {
    background: #fdfdfd;
    border: 1px solid #eaeaec;
    border-radius: 8px;
    padding: 14px 18px;
    transition: all 0.3s ease;
}
#customer_login .form-row input.input-text:focus {
    background: #fff;
    border-color: #f55588;
    box-shadow: 0 0 0 4px rgba(245, 85, 136, 0.1);
    outline: none;
}
#customer_login button[type="submit"] {
    width: 100%;
    background: #f55588 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 14px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-top: 20px;
    transition: all 0.3s ease !important;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#customer_login button[type="submit"]:hover {
    background: #d94472 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 85, 136, 0.25) !important;
}

/* Custom Logged In Account Dropdown & Initials Avatar */
.ast-header-account-wrap.has-custom-dropdown {
    position: relative;
    cursor: pointer;
    padding-bottom: 15px; /* Increase hover area so it doesn't disappear */
    margin-bottom: -15px;
}
.custom-user-initials {
    width: 38px;
    height: 38px;
    background: #f55588;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(245, 85, 136, 0.3);
    transition: transform 0.3s ease;
}
.ast-header-account-wrap:hover .custom-user-initials {
    transform: scale(1.05);
}
.custom-account-dropdown {
    position: absolute;
    top: 100%;
    right: -10px;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* bouncy appearance */
    z-index: 9999;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}
.ast-header-account-wrap.has-custom-dropdown:hover .custom-account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.custom-account-dropdown .dropdown-header {
    background: #fafafa;
    padding: 15px 18px;
    font-weight: 700;
    color: #222;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    text-transform: capitalize;
}
.custom-account-dropdown ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.custom-account-dropdown ul li {
    margin: 0 !important;
    padding: 0 !important;
}
.custom-account-dropdown ul li a {
    display: block;
    padding: 12px 18px;
    color: #555 !important;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
    border-bottom: 1px solid #f9f9f9;
}
.custom-account-dropdown ul li a:hover {
    background: #fff5f8;
    color: #f55588 !important;
    padding-left: 23px; /* subtle slide effect */
}
.custom-account-dropdown ul li.logout-link a {
    color: #e74c3c !important;
    font-weight: 600;
}
.custom-account-dropdown ul li.logout-link a:hover {
    background: #fdf2f2;
}

/* Premium Breadcrumb Pill Bar - Fixed for Nested Containers */
/* 1. Reset everything to prevent Russian doll effect */
div.ast-breadcrumbs-wrapper,
div.ast-breadcrumbs-wrapper nav,
div.ast-breadcrumbs-wrapper div,
nav.woocommerce-breadcrumb,
nav.woocommerce-breadcrumb div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline !important;
}

/* 2. Apply the pill design strictly to the outermost container ONLY */
body div.ast-breadcrumbs-wrapper,
body nav.woocommerce-breadcrumb {
    display: inline-flex !important;
    align-items: center;
    background-color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    margin: 20px 0 35px 0 !important;
    border: 1px solid #f2f2f2 !important;
    transition: all 0.3s ease !important;
    line-height: 1 !important;
    
    /* Mobile Fix: Allow horizontal swipe if too long */
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
/* Hide scrollbar for clean look */
body div.ast-breadcrumbs-wrapper::-webkit-scrollbar,
body nav.woocommerce-breadcrumb::-webkit-scrollbar {
    display: none;
}

body div.ast-breadcrumbs-wrapper:hover,
body nav.woocommerce-breadcrumb:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
    transform: translateY(-2px) !important;
}

/* 3. Style text and links globally within breadcrumbs */
div.ast-breadcrumbs-wrapper *,
nav.woocommerce-breadcrumb * {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #999 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

div.ast-breadcrumbs-wrapper a,
nav.woocommerce-breadcrumb a {
    color: #f55588 !important;
    transition: all 0.2s ease !important;
    margin: 0 4px !important;
}

div.ast-breadcrumbs-wrapper a:hover,
nav.woocommerce-breadcrumb a:hover {
    color: #222 !important;
}

/* Fix separator spacing */
div.ast-breadcrumbs-wrapper span,
nav.woocommerce-breadcrumb span {
    margin: 0 4px !important;
    color: #bbb !important;
}

/* Fix Huge Brand Logos in Single Product View */
.woocommerce div.product .summary .pwb-single-product-brands {
    margin-top: 25px !important;
    padding-top: 20px !important;
    border-top: 1px solid #f2f2f2;
    display: flex;
    align-items: center;
    gap: 15px;
}
.woocommerce div.product .summary .pwb-single-product-brands img,
.woocommerce div.product .summary [class*="pwb-"] img {
    max-width: 90px !important;
    max-height: 45px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0 !important;
}
.woocommerce div.product .summary [class*="pwb-"] a:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
.woocommerce div.product .summary .pwb-single-product-brands span {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Styling for YITH Wishlist */
.yith-wcwl-add-to-wishlist {
    margin-top: 15px !important;
}
.yith-wcwl-add-to-wishlist a {
    color: #888 !important;
    display: inline-flex !important;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none !important;
}
.yith-wcwl-add-to-wishlist a i {
    margin-right: 8px;
    font-size: 16px;
    color: #ccc;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.yith-wcwl-add-to-wishlist a:hover {
    color: #f55588 !important;
}
.yith-wcwl-add-to-wishlist a:hover i {
    color: #f55588;
    transform: scale(1.2);
}
/* Already added to wishlist state */
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a i,
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a i {
    color: #f55588;
}
/* Remove default underline on wishlist page */
.wishlist_table a {
    text-decoration: none !important;
}
.wishlist_table .add_to_cart {
    background: #f55588 !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 10px 20px !important;
    font-weight: bold;
    border: none;
    transition: all 0.3s ease;
}
.wishlist_table .add_to_cart:hover {
    background: #d94472 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 85, 136, 0.3);
}

/* Premium Grid for YITH Wishlist */
.wishlist_table {
    border: none !important;
    background: transparent !important;
}
.wishlist_table thead, 
.wishlist_table tfoot {
    display: none !important; /* Hide ugly table headers */
}
.wishlist_table tbody {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    padding: 20px 0;
}
.wishlist_table tbody tr {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #f2f2f2;
    position: relative;
    transition: all 0.3s ease;
    align-items: center;
}
.wishlist_table tbody tr:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.wishlist_table tbody tr td {
    border: none !important;
    padding: 5px !important;
    text-align: center !important;
    background: transparent !important;
}
.wishlist_table .product-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}
.wishlist_table .product-remove a {
    background: #fff;
    color: #e74c3c !important;
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 18px;
    text-decoration: none !important;
    line-height: 1;
}
.wishlist_table .product-remove a:hover {
    background: #e74c3c;
    color: #fff !important;
}
.wishlist_table .product-thumbnail img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}
.wishlist_table .product-name a {
    font-size: 16px;
    font-weight: 700;
    color: #333 !important;
    margin-top: 10px;
    display: block;
}
.wishlist_table .product-price {
    font-size: 15px;
    color: #f55588;
    font-weight: 600;
}
.wishlist_table .product-add-to-cart {
    margin-top: 15px;
    width: 100%;
}
.wishlist_table .product-add-to-cart a {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Ocultar botón de inicio de sesión con Google */
div.nsl-container, 
.nsl-button-google,
.nsl-button {
    display: none !important;
}

/*
================================================================================
💎 EFECTOS PREMIUM Y GLASSMORPHISM (LA GATITA COLORADA)
================================================================================
*/

/* 1. Header con Glassmorphism (Efecto cristal translúcido) */
.ast-main-header-bar-alignment-center, 
.ast-primary-header-bar,
#masthead .ast-primary-header-bar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Si tienes un submenú o dropdowns, aplicamos glassmorphism ahí también */
.ast-builder-menu .sub-menu, 
.ast-desktop .main-header-menu .sub-menu {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 2. Micro-interacción: Zoom-in muy suave en imágenes de productos */
ul.products li.product .woocommerce-loop-product__link {
    overflow: hidden; /* Necesario para que el zoom no se salga del borde curvo */
    display: block;
    border-radius: 12px;
    margin-bottom: 15px;
}
ul.products li.product .woocommerce-loop-product__link img {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
}
ul.products li.product:hover .woocommerce-loop-product__link img {
    transform: scale(1.05); /* Efecto zoom ligero */
}

/* 3. Etiquetas de Descuento (Sales Badges) modernas con degradado */
span.onsale {
    background: linear-gradient(135deg, #f55588 0%, #d94472 100%) !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 12px rgba(245, 85, 136, 0.3) !important;
    text-transform: uppercase;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
    border: none !important;
}

/* 4. Inputs del Checkout y Contacto estilo Premium */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
    border-radius: 8px !important;
    border: 1px solid #eaeaea !important;
    background: #fafafa !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
}
.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row textarea:focus,
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
    background: #fff !important;
    border-color: #f55588 !important;
    box-shadow: 0 0 0 4px rgba(245, 85, 136, 0.15) !important;
    outline: none !important;
}

/*
================================================================================
⭐ ESTILOS PREMIUM PARA "CUSTOMER REVIEWS FOR WOOCOMMERCE"
================================================================================
*/

/* 1. Contenedor principal de resumen (Summary Box) */
.cr-summary-box-wrap,
.cr-reviews-summary {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04) !important;
    padding: 30px !important;
    border: 1px solid #f2f2f2 !important;
    margin-bottom: 40px !important;
}

/* 2. Estrellas con el color de tu marca (Rosado) */
/* 2. Estrellas con el color de tu marca (Rosado) - Forzando todas las variantes de CusRev e íconos SVG */
.crstar-rating span:before, 
.cr-star-rating span:before,
.cr-summary-box-wrap .crstar-rating span:before,
.ivole-summaryBox .ivole-summaryBox-stars span:before,
.ivole-summaryBox .crstar-rating span:before,
.ivole-summaryBox .cr-star-rating span:before,
.ivole-summaryBox-table .ivole-summaryBox-stars span:before {
    color: #f55588 !important;
}
/* Si CusRev está usando SVGs para las estrellas */
.cr-summary-box-wrap svg path,
.ivole-summaryBox svg path,
.cr-reviews-summary svg path,
.cr-star-rating svg path {
    fill: #f55588 !important;
}

/* 3. Barras de progreso del filtro de estrellas */
.cr-summary-box-wrap .cr-progress-bar-fill,
.cr-reviews-summary .cr-progress-bar-fill,
.ivole-summaryBox .ivole-meter .ivole-meter-bar,
.cr-progress-bar .cr-progress-bar-fill,
.ivole-meter-bar {
    background-color: #f55588 !important;
    border-radius: 10px !important;
}
.cr-summary-box-wrap .cr-progress-bar,
.cr-reviews-summary .cr-progress-bar,
.ivole-summaryBox .ivole-meter,
.cr-progress-bar {
    border-radius: 10px !important;
    background-color: #f5f5f5 !important;
}

/* 4. Tarjetas individuales de reseñas (Estilo Mosaico / Grid) */
.cr-reviews-grid .cr-review-card,
.cr-reviews-ajax-reviews .cr-review-card,
.cr-review-card {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border: 1px solid #f5f5f5 !important;
    padding: 25px !important;
    transition: all 0.3s ease !important;
    margin-bottom: 20px !important;
}

.cr-reviews-grid .cr-review-card:hover,
.cr-review-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    transform: translateY(-5px);
}

/* 5. Imágenes adjuntas en las reseñas */
.cr-review-image {
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-top: 15px !important;
}
.cr-review-image img {
    border-radius: 8px !important;
    transition: transform 0.3s ease !important;
}
.cr-review-image img:hover {
    transform: scale(1.05);
}

/* 6. Textos y tipografía dentro de las reseñas */
.cr-review-name {
    font-weight: 700 !important;
    color: #222 !important;
    font-size: 15px !important;
    margin-bottom: 5px !important;
}
.cr-review-date {
    color: #999 !important;
    font-size: 12px !important;
    margin-bottom: 10px !important;
}
.cr-review-text {
    font-size: 14px !important;
    color: #555 !important;
    line-height: 1.6 !important;
}

/*
================================================================================
💎 MODAL Y BOTÓN FLOTANTE DE RESEÑAS
================================================================================
*/
/* Botón Flotante */
.gatita-floating-btn {
    position: fixed;
    top: 50%;
    right: -5px; /* Ligeramente pegado a la derecha */
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    padding: 12px 18px 12px 24px; /* Más padding a la izquierda para que el icono se vea bien */
    border-radius: 50px 0 0 50px; /* Redondeado solo a la izquierda */
    font-weight: 700;
    font-size: 15px;
    box-shadow: -5px 10px 25px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border: 1px solid #f2f2f2;
    border-right: none;
}
.gatita-floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(245, 85, 136, 0.2);
    color: #f55588;
}
.gatita-floating-btn .star-icon {
    margin-right: 8px;
    font-size: 18px;
}

/* Fondo oscuro del modal (Overlay) */
.gatita-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.gatita-modal-overlay.show-modal {
    opacity: 1;
    visibility: visible;
}

/* Contenido central del modal */
.gatita-modal-content {
    background: #fdfdfd;
    width: 90%;
    max-width: 1000px;
    height: 85vh; /* Ocupa el 85% de la pantalla */
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transform: translateY(50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.gatita-modal-overlay.show-modal .gatita-modal-content {
    transform: translateY(0) scale(1);
}

/* Botón de cerrar (X) */
.gatita-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    z-index: 10;
}
.gatita-modal-close:hover {
    color: #f55588;
}

/* Cuerpo con scroll (Donde van las reseñas) */
.gatita-modal-body {
    padding: 40px;
    overflow-y: auto;
    height: 100%;
}

/* Scrollbar estilizado para el modal */
.gatita-modal-body::-webkit-scrollbar {
    width: 8px;
}
.gatita-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}
.gatita-modal-body::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 10px;
}
.gatita-modal-body::-webkit-scrollbar-thumb:hover {
    background: #f55588; 
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .gatita-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    .gatita-modal-body {
        padding: 20px;
        padding-top: 50px;
    }
    .gatita-floating-btn {
        /* Evitamos que el botón se estire restableciendo left y bottom */
        bottom: auto;
        left: auto;
        top: 50%;
        right: -5px;
        padding: 10px 14px 10px 18px;
        font-size: 13px;
        border-radius: 30px 0 0 30px;
    }
    .gatita-floating-btn .star-icon {
        font-size: 16px;
        margin-right: 5px;
    }
}

/* Visibilidad Exclusiva para Móviles */
@media (min-width: 922px) {
    .show-on-mobile-only {
        display: none !important;
    }
}

/* Premium WooCommerce My Account Page */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    border: none !important;
}

@media (min-width: 768px) {
    .woocommerce-MyAccount-navigation ul {
        flex-direction: column !important;
    }
}

.woocommerce-MyAccount-navigation ul li {
    flex: 1 1 calc(50% - 12px) !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    .woocommerce-MyAccount-navigation ul li {
        flex: 1 1 100% !important;
    }
}

.woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 15px 20px !important;
    background: #fff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    color: #444 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    border: 1px solid #f0f0f0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

@media (min-width: 768px) {
    .woocommerce-MyAccount-navigation ul li a {
        text-align: left !important;
    }
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #f55588, #d94472) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(245, 85, 136, 0.25) !important;
    transform: translateY(-2px) !important;
    border-color: transparent !important;
}

.woocommerce-MyAccount-content {
    background: #fff !important;
    padding: 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important;
    border: 1px solid #f9f9f9 !important;
    margin-bottom: 40px !important;
}

.woocommerce-MyAccount-content mark {
    background: #fdfdfd !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    color: #333 !important;
    font-weight: 600 !important;
}

.woocommerce-MyAccount-content p {
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.7 !important;
}

.woocommerce-MyAccount-content a:not(.button) {
    color: #f55588 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.woocommerce-MyAccount-content a:not(.button):hover {
    color: #d94472 !important;
    text-decoration: underline !important;
}
