/**
 * SevillaXXX - WooCommerce Custom Styles
 * Estilos personalizados basados en el diseño de Lovehoney
 * 
 * Paleta de colores:
 * - Rosa/Magenta: #E91E8C (principal)
 * - Rojo: #D32F2F 
 * - Rosa claro: #FF4081
 * - Morado: #7B1FA2
 * - Blanco: #FFFFFF
 * - Gris oscuro: #333333
 * - Gris claro: #F5F5F5
 *
 * @package SevillaXXX
 * @version 1.0.0
 */

/* ============================================
   VARIABLES CSS
   ============================================ */
html {
    scroll-behavior: smooth;
}

:root {
    /* Colores principales */
    --sxxx-primary: #E91E8C;
    --sxxx-primary-dark: #C2185B;
    --sxxx-primary-light: #FF4081;
    --sxxx-secondary: #7B1FA2;
    --sxxx-red: #D32F2F;
    --sxxx-red-dark: #B71C1C;
    
    /* Gradientes */
    --sxxx-gradient-pink: linear-gradient(135deg, #E91E8C 0%, #FF4081 100%);
    --sxxx-gradient-purple: linear-gradient(135deg, #7B1FA2 0%, #E91E8C 100%);
    --sxxx-gradient-hero: linear-gradient(135deg, #E91E8C 0%, #FF4081 50%, #F48FB1 100%);
    
    /* Neutros */
    --sxxx-white: #FFFFFF;
    --sxxx-black: #000000;
    --sxxx-gray-100: #F5F5F5;
    --sxxx-gray-200: #EEEEEE;
    --sxxx-gray-300: #E0E0E0;
    --sxxx-gray-400: #BDBDBD;
    --sxxx-gray-500: #9E9E9E;
    --sxxx-gray-600: #757575;
    --sxxx-gray-700: #616161;
    --sxxx-gray-800: #424242;
    --sxxx-gray-900: #212121;
    --sxxx-text: #333333;
    --sxxx-text-light: #666666;
    
    /* Tipografía */
    --sxxx-font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --sxxx-font-heading: 'Poppins', var(--sxxx-font-primary);
    
    /* Espaciado */
    --sxxx-spacing-xs: 4px;
    --sxxx-spacing-sm: 8px;
    --sxxx-spacing-md: 16px;
    --sxxx-spacing-lg: 24px;
    --sxxx-spacing-xl: 32px;
    --sxxx-spacing-2xl: 48px;
    --sxxx-spacing-3xl: 64px;
    
    /* Bordes */
    --sxxx-radius-sm: 4px;
    --sxxx-radius-md: 8px;
    --sxxx-radius-lg: 12px;
    --sxxx-radius-xl: 16px;
    --sxxx-radius-full: 9999px;
    
    /* Sombras */
    --sxxx-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --sxxx-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --sxxx-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --sxxx-shadow-xl: 0 12px 48px rgba(0,0,0,0.15);
    
    /* Transiciones */
    --sxxx-transition-fast: 150ms ease;
    --sxxx-transition-base: 250ms ease;
    --sxxx-transition-slow: 400ms ease;
    
    /* Container */
    --sxxx-container-max: 1400px;
    --sxxx-container-padding: 20px;
}

/* ============================================
   RESET Y BASE
   ============================================ */
.sxxx-shop-page {
    background-color: var(--sxxx-white);
    color: var(--sxxx-text);
    font-family: var(--sxxx-font-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.sxxx-container {
    max-width: var(--sxxx-container-max);
    margin: 0 auto;
    padding: 0 var(--sxxx-container-padding);
}

/* ============================================
   BARRA PROMOCIONAL
   ============================================ */
.sxxx-promo-bar {
    background: var(--sxxx-secondary);
    color: var(--sxxx-white);
    padding: 8px 0;
    font-size: 13px;
    text-align: center;
}

.sxxx-promo-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sxxx-promo-text svg {
    flex-shrink: 0;
}

/* ============================================
   HEADER PRINCIPAL
   ============================================ */
.sxxx-header {
    background: var(--sxxx-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--sxxx-gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sxxx-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.sxxx-logo {
    flex-shrink: 0;
}

.sxxx-logo a {
    display: block;
    text-decoration: none;
}

.sxxx-logo-img {
    max-height: 48px;
    width: auto;
}

.sxxx-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--sxxx-primary);
    font-family: var(--sxxx-font-heading);
}

/* Barra de búsqueda */
.sxxx-search {
    flex: 1;
    max-width: 600px;
}

.sxxx-search-form {
    display: flex;
    position: relative;
}

.sxxx-search-input {
    flex: 1;
    height: 48px;
    padding: 0 56px 0 20px;
    border: 2px solid var(--sxxx-gray-300);
    border-radius: var(--sxxx-radius-full);
    font-size: 15px;
    outline: none;
    transition: border-color var(--sxxx-transition-fast);
}

.sxxx-search-input:focus {
    border-color: var(--sxxx-primary);
}

.sxxx-search-input::placeholder {
    color: var(--sxxx-gray-500);
}

.sxxx-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--sxxx-transition-fast);
}

.sxxx-search-btn:hover {
    background: var(--sxxx-primary-dark);
}

/* Acciones del header */
.sxxx-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sxxx-header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--sxxx-text);
    position: relative;
    padding: 4px 8px;
    transition: color var(--sxxx-transition-fast);
}

.sxxx-header-action:hover {
    color: var(--sxxx-primary);
}

.sxxx-action-text {
    font-size: 11px;
    font-weight: 500;
}

.sxxx-cart-count,
.sxxx-wishlist-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--sxxx-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   NOTA: Estilos de menú móvil están en header.php
   NO AÑADIR AQUÍ para evitar conflictos
   ============================================ */

/* ============================================
   NAVEGACIÓN PRINCIPAL / MEGA MENU
   ============================================ */
.sxxx-main-nav {
    background: var(--sxxx-white);
    border-bottom: 1px solid var(--sxxx-gray-200);
}

.sxxx-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.sxxx-nav-menu > li {
    position: relative;
}

.sxxx-nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sxxx-text);
    text-decoration: none;
    transition: color var(--sxxx-transition-fast);
}

.sxxx-nav-menu > li > a:hover,
.sxxx-nav-menu > li:hover > a {
    color: var(--sxxx-primary);
}

/* Primer item destacado */
.sxxx-nav-menu > li:first-child > a {
    color: var(--sxxx-primary);
    font-weight: 600;
}

/* Segundo item (Sale) destacado */
.sxxx-nav-menu > li:nth-child(2) > a {
    color: var(--sxxx-red);
    font-weight: 600;
}

.sxxx-dropdown-icon {
    transition: transform var(--sxxx-transition-fast);
}

.sxxx-nav-menu > li:hover .sxxx-dropdown-icon {
    transform: rotate(180deg);
}

/* MEGA MENU */
.sxxx-megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 800px;
    background: transparent;
    border: 1px solid var(--sxxx-gray-200);
    border-top: 3px solid var(--sxxx-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--sxxx-transition-base);
    z-index: 1000;
    border-radius: var(--sxxx-radius-lg);
}

/* CLAVE: Este CSS hace que aparezca el mega menú */
.sxxx-has-megamenu:hover .sxxx-megamenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* También funciona con focus para accesibilidad */
.sxxx-has-megamenu:focus-within .sxxx-megamenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.sxxx-megamenu-inner {
    padding: 24px;
}

/* ESTRUCTURA DE 3 COLUMNAS SIEMPRE */
.sxxx-megamenu-columns {
    display: grid;
    grid-template-columns: 200px 200px 250px;
    gap: 32px;
    min-height: 200px;
}

.sxxx-megamenu-col {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* PRIMERA COLUMNA - Enlaces principales */
.sxxx-megamenu-col-main > li > a {
    display: block;
    padding: 12px 0;
    color: var(--sxxx-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color var(--sxxx-transition-fast);
    border-bottom: 1px solid var(--sxxx-gray-100);
}

.sxxx-megamenu-col-main > li:last-child > a {
    border-bottom: none;
}

.sxxx-megamenu-col-main > li > a:hover {
    color: var(--sxxx-primary);
    padding-left: 10px;
}

/* SEGUNDA COLUMNA - Submenú */
.sxxx-megamenu-col-sub > li > a {
    display: block;
    padding: 8px 0;
    color: var(--sxxx-text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--sxxx-transition-fast);
}

.sxxx-megamenu-col-sub > li > a:hover {
    color: var(--sxxx-primary);
}

/* TERCERA COLUMNA - Imagen promocional */
.sxxx-megamenu-col-image {
    position: relative;
    min-height: 200px;
}

.sxxx-megamenu-promo {
    display: block;
    position: relative;
    height: 100%;
    min-height: 200px;
    background: var(--sxxx-gradient-pink);
    border-radius: var(--sxxx-radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--sxxx-transition-base);
}

.sxxx-megamenu-promo:hover {
    transform: scale(1.02);
}

.sxxx-megamenu-promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.sxxx-megamenu-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.8) 0%, rgba(255, 64, 129, 0.6) 100%);
}

.sxxx-megamenu-promo-text {
    position: absolute;
    bottom: 60px;
    left: 16px;
    right: 16px;
    color: var(--sxxx-white);
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 2;
}

.sxxx-megamenu-promo-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--sxxx-white);
    color: var(--sxxx-primary);
    padding: 6px 12px;
    border-radius: var(--sxxx-radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.sxxx-megamenu-promo-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--sxxx-white);
    color: var(--sxxx-primary);
    padding: 10px 20px;
    border-radius: var(--sxxx-radius-full);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all var(--sxxx-transition-fast);
    z-index: 2;
}

.sxxx-megamenu-promo:hover .sxxx-megamenu-promo-btn {
    background: transparent;
    color: var(--sxxx-white);
    border-color: var(--sxxx-white);
}

/* Placeholder para imagen */
.sxxx-megamenu-promo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* Imagen promocional del mega menu */
.sxxx-megamenu-col-image {
    position: relative;
}

.sxxx-megamenu-promo {
    display: block;
    position: relative;
    height: 100%;
    min-height: 200px;
    background: var(--sxxx-gradient-pink);
    border-radius: var(--sxxx-radius-lg);
    overflow: hidden;
    text-decoration: none;
}

.sxxx-megamenu-promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.sxxx-megamenu-promo-text {
    position: absolute;
    bottom: 60px;
    left: 16px;
    right: 16px;
    color: var(--sxxx-white);
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.sxxx-megamenu-promo-badge {
    position: absolute;
    bottom: 90px;
    left: 16px;
    background: var(--sxxx-white);
    color: var(--sxxx-primary);
    padding: 4px 12px;
    border-radius: var(--sxxx-radius-full);
    font-size: 12px;
    font-weight: 600;
}

.sxxx-megamenu-promo-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--sxxx-white);
    color: var(--sxxx-text);
    padding: 10px 20px;
    border-radius: var(--sxxx-radius-full);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--sxxx-transition-fast);
}

.sxxx-megamenu-promo:hover .sxxx-megamenu-promo-btn {
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.sxxx-breadcrumb-wrapper {
    background: var(--sxxx-gray-100);
    padding: 12px 0;
}

.sxxx-breadcrumb {
    font-size: 13px;
    color: var(--sxxx-text-light);
}

.sxxx-breadcrumb a {
    color: var(--sxxx-text-light);
    text-decoration: none;
}

.sxxx-breadcrumb a:hover {
    color: var(--sxxx-primary);
    text-decoration: underline;
}

.sxxx-breadcrumb-sep {
    margin: 0 8px;
    color: var(--sxxx-gray-400);
}
@media (max-width: 768px){
	.sxxx-breadcrumb {
    font-size: 13px;
    color: var(--sxxx-text-light);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
		padding-bottom:10px;
}
}
/* ============================================
   HERO SECTION
   ============================================ */
.sxxx-hero-section {
    padding: 0;
}

.sxxx-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.sxxx-hero-main {
    position: relative;
}

.sxxx-hero-main .sxxx-hero-link {
    display: block;
    height: 100%;
    min-height: 500px;
    position: relative;
    text-decoration: none;
}

.sxxx-hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--sxxx-primary);
    background-size: cover;
    background-position: center;
}

.sxxx-hero-overlay {
    position: absolute;
    inset: 0;
}

.sxxx-gradient-pink {
    background: linear-gradient(135deg, rgba(233,30,140,0.85) 0%, rgba(255,64,129,0.7) 100%);
}

.sxxx-hero-content {
    position: relative;
    z-index: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    color: var(--sxxx-white);
}

.sxxx-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 16px;
    font-family: var(--sxxx-font-heading);
}

.sxxx-hero-desc {
    font-size: 18px;
    margin: 0 0 24px;
    opacity: 0.95;
    max-width: 400px;
}

.sxxx-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--sxxx-white);
    color: var(--sxxx-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--sxxx-radius-full);
    transition: all var(--sxxx-transition-fast);
    width: fit-content;
}

.sxxx-hero-btn:hover {
    background: var(--sxxx-primary-dark);
    color: var(--sxxx-white);
    transform: translateY(-2px);
}

/* Hero categorías grid */
.sxxx-hero-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.sxxx-hero-cat {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
}

.sxxx-hero-cat:nth-child(1) { background: linear-gradient(135deg, #E91E8C 0%, #FF4081 100%); }
.sxxx-hero-cat:nth-child(2) { background: linear-gradient(135deg, #7B1FA2 0%, #E91E8C 100%); }
.sxxx-hero-cat:nth-child(3) { background: linear-gradient(135deg, #FF4081 0%, #F48FB1 100%); }
.sxxx-hero-cat:nth-child(4) { background: linear-gradient(135deg, #E91E8C 0%, #7B1FA2 100%); }

.sxxx-hero-cat-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--sxxx-transition-slow);
}

.sxxx-hero-cat:hover .sxxx-hero-cat-bg {
    transform: scale(1.05);
}

.sxxx-hero-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
}

.sxxx-hero-cat-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    text-align: center;
    width: 100%;
}

.sxxx-hero-cat-title {
    color: var(--sxxx-white);
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Decoración corazones */
.sxxx-hearts-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sxxx-heart {
    position: absolute;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D32F2F' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

.sxxx-heart-1 { top: 10%; left: 10%; animation-delay: 0s; }
.sxxx-heart-2 { top: 20%; right: 15%; animation-delay: 0.5s; }
.sxxx-heart-3 { bottom: 30%; left: 20%; animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

/* ============================================
   CATEGORÍAS DESTACADAS EN CORAZÓN
   ============================================ */
.sxxx-featured-cats-section {
    padding: var(--sxxx-spacing-3xl) 0;
}

.sxxx-featured-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sxxx-spacing-xl);
}

.sxxx-heart-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform var(--sxxx-transition-base);
}

.sxxx-heart-cat:hover {
    transform: translateY(-8px);
}

.sxxx-heart-shape {
    width: 180px;
    height: 180px;
    position: relative;
    margin-bottom: var(--sxxx-spacing-md);
}

/* Forma de corazón con clip-path */
.sxxx-heart-inner {
    width: 100%;
    height: 100%;
    background: var(--sxxx-gradient-pink);
    clip-path: path('M90 30 C90 10, 130 0, 140 25 C160 -5, 200 20, 180 60 C175 70, 160 90, 90 150 C20 90, 5 70, 0 60 C-20 20, 20 -5, 40 25 C50 0, 90 10, 90 30');
    position: relative;
    overflow: hidden;
}

.sxxx-heart-bg {
    position: absolute;
    inset: 10%;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.sxxx-heart-cat-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--sxxx-text);
    text-align: center;
}

/* ============================================
   PRODUCTOS SECTION
   ============================================ */
.sxxx-products-section {
    padding: var(--sxxx-spacing-2xl) 0 var(--sxxx-spacing-3xl);
}

.sxxx-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sxxx-spacing-xl);
}

.sxxx-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--sxxx-text);
    margin: 0;
}

.sxxx-view-all {
    color: var(--sxxx-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sxxx-view-all:hover {
    text-decoration: underline;
}

/* Archive header */
.sxxx-archive-header {
    margin-bottom: var(--sxxx-spacing-xl);
    padding-bottom: var(--sxxx-spacing-lg);
    border-bottom: 1px solid var(--sxxx-gray-200);
}

.sxxx-archive-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sxxx-archive-desc {
    color: var(--sxxx-text-light);
    font-size: 15px;
}

/* === SUBCATEGORÍAS GRID === */
.sxxx-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.sxxx-subcategory-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--sxxx-gray-100);
    color: var(--sxxx-text);
    text-decoration: none;
    border-radius: var(--sxxx-radius-md);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all var(--sxxx-transition-fast);
    border: 1px solid var(--sxxx-gray-200);
    line-height: 1.3;
}

.sxxx-subcategory-btn:hover {
    background: var(--sxxx-gray-200);
    color: var(--sxxx-primary);
    border-color: var(--sxxx-primary);
    transform: translateY(-2px);
    box-shadow: var(--sxxx-shadow-sm);
}

.sxxx-subcategory-count {
    font-size: 11px;
    color: var(--sxxx-gray-500);
    font-weight: 400;
}

.sxxx-subcategory-btn:hover .sxxx-subcategory-count {
    color: var(--sxxx-primary);
    opacity: 0.7;
}

@media (max-width: 992px) {
    .sxxx-subcategories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .sxxx-subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .sxxx-subcategory-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* Toolbar (ordenar, contar) */
.sxxx-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: var(--sxxx-spacing-lg);
    padding-bottom: var(--sxxx-spacing-md);
    border-bottom: 1px solid var(--sxxx-gray-200);
}

.sxxx-shop-toolbar .woocommerce-result-count {
    margin: 0;
    color: var(--sxxx-text-light);
    font-size: 14px;
}

.sxxx-shop-toolbar .woocommerce-ordering select {
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--sxxx-gray-300);
    border-radius: var(--sxxx-radius-md);
    font-size: 14px;
    background: var(--sxxx-white);
    cursor: pointer;
}

/* ============================================
   PRODUCT CARD (Loop)
   ============================================ */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sxxx-spacing-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.sxxx-product-card {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
}

.sxxx-product-card-inner {
    background: var(--sxxx-white);
    border-radius: var(--sxxx-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--sxxx-transition-base);
}

.sxxx-product-card-inner:hover {
    box-shadow: var(--sxxx-shadow-lg);
}

/* Imagen del producto */
.sxxx-product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--sxxx-gray-100);
}

.sxxx-product-link {
    display: block;
    width: 100%;
    height: 100%;
}

.sxxx-product-image,
.sxxx-product-image-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--sxxx-transition-base);
}

.sxxx-product-image-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.sxxx-product-card:hover .sxxx-product-image-hover {
    opacity: 1;
}

/* Badges */
.sxxx-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.sxxx-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--sxxx-radius-sm);
}

.sxxx-badge-offer {
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
}

.sxxx-badge-new {
    background: var(--sxxx-secondary);
    color: var(--sxxx-white);
}

.sxxx-badge-low-stock {
    background: var(--sxxx-red);
    color: var(--sxxx-white);
}

/* Wishlist button */
.sxxx-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--sxxx-white);
    color: var(--sxxx-gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--sxxx-transition-fast);
    box-shadow: var(--sxxx-shadow-sm);
}

.sxxx-wishlist-btn svg {
    width: 24px;
    height: 24px;
}

.sxxx-wishlist-btn:hover {
    color: var(--sxxx-primary);
    transform: scale(1.1);
}

.sxxx-wishlist-btn.sxxx-in-wishlist {
    color: var(--sxxx-primary);
    background: var(--sxxx-primary);
}

.sxxx-wishlist-btn.sxxx-in-wishlist svg {
    fill: var(--sxxx-white);
    color: var(--sxxx-white);
}

/* Quick actions */
.sxxx-quick-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--sxxx-transition-base);
    z-index: 2;
}

.sxxx-product-card:hover .sxxx-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.sxxx-quick-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
    border: none;
    border-radius: var(--sxxx-radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--sxxx-transition-fast);
}

.sxxx-quick-add:hover {
    background: var(--sxxx-primary-dark);
    color: var(--sxxx-white);
}

.sxxx-quick-add.sxxx-loading {
    background: var(--sxxx-gray-400);
    cursor: not-allowed;
}

.sxxx-quick-add.sxxx-loading:hover {
    background: var(--sxxx-gray-400);
}

/* Información del producto */
.sxxx-product-info {
    padding: 16px;
}

/* Rating */
.sxxx-product-rating,
.sxxx-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.sxxx-stars {
    display: flex;
    gap: 1px;
}

.sxxx-star {
    font-size: 14px;
    line-height: 1;
}

.sxxx-star-full {
    color: #FFC107;
}

.sxxx-star-half {
    color: #FFC107;
    opacity: 0.7;
}

.sxxx-star-empty {
    color: var(--sxxx-gray-300);
}

.sxxx-rating-count {
    font-size: 12px;
    color: var(--sxxx-text-light);
}

/* Título */
.sxxx-product-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.4;
}

.sxxx-product-title a {
    color: var(--sxxx-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sxxx-product-title a:hover {
    color: var(--sxxx-primary);
}

/* Precio */
.sxxx-product-price,
.sxxx-price-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.sxxx-price-sale,
.sxxx-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--sxxx-primary);
}

.sxxx-price-regular {
    font-size: 14px;
    color: var(--sxxx-text-light);
    text-decoration: line-through;
}

.sxxx-price-savings {
    display: block;
    width: 100%;
    font-size: 12px;
    color: var(--sxxx-text-light);
    margin-top: 4px;
}

.sxxx-discount-badge {
    background: var(--sxxx-red);
    color: var(--sxxx-white);
    padding: 2px 6px;
    border-radius: var(--sxxx-radius-sm);
    font-size: 11px;
    font-weight: 600;
}

/* Color swatches */
.sxxx-color-swatches {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.sxxx-color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--sxxx-white);
    box-shadow: 0 0 0 1px var(--sxxx-gray-300);
}

.sxxx-color-more {
    font-size: 11px;
    color: var(--sxxx-text-light);
    display: flex;
    align-items: center;
}

/* ============================================
   SLIDER DE PRODUCTOS
   ============================================ */
.sxxx-slider-section {
    padding: var(--sxxx-spacing-2xl) 0;
    background: var(--sxxx-gray-100);
}

.sxxx-products-slider {
    position: relative;
}

.sxxx-slider-track {
    overflow: hidden;
}

.sxxx-slider-slides {
    display: flex;
    transition: transform var(--sxxx-transition-slow);
}

.sxxx-slider-slides .sxxx-product-card {
    flex: 0 0 calc(20% - 16px);
    margin: 0 8px;
}

.sxxx-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--sxxx-white);
    color: var(--sxxx-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--sxxx-shadow-md);
    transition: all var(--sxxx-transition-fast);
}

.sxxx-slider-nav:hover {
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
}

.sxxx-slider-prev {
    left: -22px;
	width:60px!important;
	height:60px!important;
}

.sxxx-slider-next {
    right: -22px;
	width:60px!important;
	height:60px!important;
}

/* ============================================
   SINGLE PRODUCT
   ============================================ */
.sxxx-single-product {
    padding: var(--sxxx-spacing-2xl) 0;
}

.sxxx-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sxxx-spacing-2xl);
    margin-bottom: var(--sxxx-spacing-3xl);
}

/* Galería */
.sxxx-product-gallery-col {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sxxx-product-gallery {
    width: 100%;
}

.sxxx-gallery-wrapper {
    display: flex;
    gap: var(--sxxx-spacing-md);
}

/* Miniaturas laterales */
.sxxx-gallery-thumbs {
    width: 80px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sxxx-thumbs-nav {
    width: 100%;
    height: 32px;
    border: none;
    background: var(--sxxx-gray-100);
    border-radius: var(--sxxx-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sxxx-text-light);
    transition: all var(--sxxx-transition-fast);
}

.sxxx-thumbs-nav:hover {
    background: var(--sxxx-gray-200);
    color: var(--sxxx-text);
}

.sxxx-thumbs-track {
    flex: 1;
    overflow: hidden;
}

.sxxx-thumbs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sxxx-thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--sxxx-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--sxxx-transition-fast);
}

.sxxx-thumb:hover,
.sxxx-thumb-active {
    border-color: var(--sxxx-primary);
}

.sxxx-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Imagen principal */
.sxxx-gallery-main {
    flex: 1;
    position: relative;
    background: var(--sxxx-gray-100);
    border-radius: var(--sxxx-radius-lg);
    overflow: hidden;
}

.sxxx-gallery-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

.sxxx-gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--sxxx-radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--sxxx-primary);
    box-shadow: var(--sxxx-shadow-md);
}

.sxxx-gallery-slides {
    position: relative;
}

.sxxx-gallery-slide {
    display: none;
}

.sxxx-gallery-slide.sxxx-slide-active {
    display: block;
}

.sxxx-gallery-link {
    display: block;
}

.sxxx-main-img {
    width: 100%;
    height: auto;
    display: block;
}

.sxxx-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--sxxx-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: all var(--sxxx-transition-fast);
}

.sxxx-gallery-main:hover .sxxx-gallery-nav {
    opacity: 1;
}

.sxxx-gallery-nav:hover {
    background: var(--sxxx-white);
}

.sxxx-gallery-prev { left: 16px; }
.sxxx-gallery-next { right: 16px; }

.sxxx-gallery-zoom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--sxxx-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: all var(--sxxx-transition-fast);
}

.sxxx-gallery-main:hover .sxxx-gallery-zoom {
    opacity: 1;
}

/* Información del producto single */
.sxxx-product-info-col {
    padding-top: var(--sxxx-spacing-md);
}

.sxxx-product-single-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--sxxx-text);
    margin: 0 0 16px;
    line-height: 1.3;
}

.sxxx-product-single-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sxxx-reviews-link {
    color: var(--sxxx-text-light);
    text-decoration: underline;
    font-size: 14px;
}

.sxxx-reviews-link:hover {
    color: var(--sxxx-primary);
}

/* Precio single */
.sxxx-product-single-price {
    margin-bottom: 20px;
}

.sxxx-product-single-price .sxxx-price-current {
    font-size: 32px;
    font-weight: 700;
    color: var(--sxxx-primary);
}

.sxxx-product-single-price .sxxx-price-was {
    font-size: 18px;
    color: var(--sxxx-text-light);
    text-decoration: line-through;
    margin-left: 12px;
}

.sxxx-price-savings-info {
    font-size: 14px;
    color: var(--sxxx-text-light);
    margin-top: 8px;
}

/* Urgency notice */
.sxxx-urgency-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #FFF3E0;
    border-left: 4px solid #FF9800;
    border-radius: var(--sxxx-radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    color: #E65100;
}

/* Add to cart wrapper */
.sxxx-add-to-cart-wrapper {
    margin-bottom: 20px;
}

.sxxx-add-to-cart-wrapper .single_add_to_cart_button {
    width: 100%;
    padding: 16px 32px;
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
    border: none;
    border-radius: var(--sxxx-radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--sxxx-transition-fast);
}

.sxxx-add-to-cart-wrapper .single_add_to_cart_button:hover {
    background: var(--sxxx-primary-dark);
}

.sxxx-add-to-cart-wrapper .quantity {
    margin-right: 16px;
}

.sxxx-add-to-cart-wrapper .quantity input {
    width: 80px;
    padding: 14px;
    border: 1px solid var(--sxxx-gray-300);
    border-radius: var(--sxxx-radius-md);
    text-align: center;
    font-size: 16px;
}

/* Save item button */
.sxxx-save-item-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--sxxx-gray-300);
    border-radius: var(--sxxx-radius-md);
    color: var(--sxxx-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--sxxx-transition-fast);
    margin-bottom: 24px;
}

.sxxx-save-item-btn:hover {
    border-color: var(--sxxx-primary);
    color: var(--sxxx-primary);
}

.sxxx-save-item-btn.sxxx-saved {
    background: var(--sxxx-primary);
    border-color: var(--sxxx-primary);
    color: var(--sxxx-white);
}

/* Related categories */
.sxxx-related-categories {
    border-top: 1px solid var(--sxxx-gray-200);
    padding-top: 24px;
}

.sxxx-related-categories-label {
    display: block;
    font-size: 14px;
    color: var(--sxxx-text-light);
    margin-bottom: 12px;
}

.sxxx-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sxxx-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--sxxx-gray-100);
    border: 1px solid var(--sxxx-gray-200);
    border-radius: var(--sxxx-radius-full);
    color: var(--sxxx-text);
    text-decoration: none;
    font-size: 13px;
    transition: all var(--sxxx-transition-fast);
}

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

/* Product tabs */
.sxxx-product-tabs {
    margin-bottom: var(--sxxx-spacing-3xl);
}

.woocommerce-tabs .tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--sxxx-gray-200);
}

.woocommerce-tabs .tabs li {
    margin: 0;
}

.woocommerce-tabs .tabs li a {
    display: block;
    padding: 16px 24px;
    color: var(--sxxx-text-light);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--sxxx-transition-fast);
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
    color: var(--sxxx-primary);
    border-bottom-color: var(--sxxx-primary);
}

.woocommerce-tabs .panel {
    padding: 32px 0;
}

/* Related products */
.sxxx-related-products,
.sxxx-related-section {
    border-top: 1px solid var(--sxxx-gray-200);
    padding-top: var(--sxxx-spacing-2xl);
}

.sxxx-related-section .sxxx-section-header {
    margin-bottom: var(--sxxx-spacing-lg);
}

.sxxx-slider-controls {
    display: flex;
    gap: 8px;
}

.sxxx-slider-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--sxxx-gray-300);
    border-radius: 50%;
    background: var(--sxxx-white);
    color: var(--sxxx-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--sxxx-transition-fast);
}

.sxxx-slider-btn:hover {
    border-color: var(--sxxx-primary);
    color: var(--sxxx-primary);
}

.sxxx-related-slider {
    overflow: hidden;
}

.sxxx-related-track {
    display: flex;
    gap: var(--sxxx-spacing-md);
    transition: transform var(--sxxx-transition-slow);
}

.sxxx-related-track .sxxx-product-card {
    flex: 0 0 calc(16.666% - 14px);
}
0;
}

.sxxx-footer-menu li {
    margin-bottom: 12px;
}

.sxxx-footer-menu a {
    color: var(--sxxx-gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--sxxx-transition-fast);
}

.sxxx-footer-menu a:hover {
    color: var(--sxxx-white);
}

/* Newsletter */
.sxxx-footer-newsletter p {
    font-size: 14px;
    color: var(--sxxx-gray-400);
    margin-bottom: 16px;
}

.sxxx-newsletter-form {
    display: flex;
    gap: 8px;
}

.sxxx-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--sxxx-gray-700);
    border-radius: var(--sxxx-radius-md);
    background: var(--sxxx-gray-800);
    color: var(--sxxx-white);
    font-size: 14px;
}

.sxxx-newsletter-form input::placeholder {
    color: var(--sxxx-gray-500);
}

.sxxx-newsletter-form button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: var(--sxxx-radius-md);
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--sxxx-transition-fast);
}

.sxxx-newsletter-form button:hover {
    background: var(--sxxx-primary-dark);
}

/* Footer bottom */
.sxxx-footer-bottom {
    border-top: 1px solid var(--sxxx-gray-800);
    padding: 24px 0;
}

.sxxx-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sxxx-copyright {
    font-size: 13px;
    color: var(--sxxx-gray-500);
    margin: 0;
}

.sxxx-payment-methods {
    display: flex;
    gap: 12px;
}

.sxxx-payment-methods img {
    height: 24px;
    width: auto;
}

/* ============================================
   PAGINACIÓN
   ============================================ */
.sxxx-pagination-wrapper {
    margin-top: var(--sxxx-spacing-2xl);
}

.woocommerce-pagination {
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--sxxx-gray-300);
    border-radius: var(--sxxx-radius-md);
    color: var(--sxxx-text);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--sxxx-transition-fast);
}

.woocommerce-pagination ul li a:hover {
    border-color: var(--sxxx-primary);
    color: var(--sxxx-primary);
}

.woocommerce-pagination ul li span.current {
    background: var(--sxxx-primary);
    border-color: var(--sxxx-primary);
    color: var(--sxxx-white);
}
.sxxx-benefits-grid {
	gap:var(--sxxx-spacing-md)!important;
}
/* ============================================
   RESPONSIVE
   ============================================ */

/* Breakpoint 1380px - Solución para espacio en blanco lateral */
@media (max-width: 1380px) {
    .sxxx-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .sxxx-hero-grid {
        max-width: 100%;
        margin: 0;
    }
    
    .sxxx-promo-grid {
        max-width: 100%;
        margin: 0;
        padding:0;
    }
    
    .sxxx-promo-grid-wrapper {
        max-width: 100%;
        padding: 0;
    }
    
    .woocommerce ul.products {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .sxxx-featured-cats-grid {
        max-width: 100%;
        margin: 0;
    }
    
    /* Elementos con max-width 1700px */
    .sxxx-hero-banner-wrapper,
    .sxxx-promo-grid-wrapper,
    .sxxx-testimonials-wrapper,
    .sxxx-blog-posts-wrapper,
    .sxxx-related-wrapper {
        max-width: 100% !important;
        margin: 0;
        padding: 0;
    }
    
    /* Prevenir overflow horizontal */
    body, html {
        overflow-x: hidden;
    }
    
    .sxxx-shop-page {
        overflow-x: hidden;
    }
}

@media (max-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .sxxx-slider-slides .sxxx-product-card {
        flex: 0 0 calc(25% - 16px);
    }
    
    .sxxx-related-track .sxxx-product-card {
        flex: 0 0 calc(25% - 12px);
    }
    
    .sxxx-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sxxx-footer-about {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    .sxxx-hero-grid {
        grid-template-columns: 1fr;
    }
    
    .sxxx-hero-main .sxxx-hero-link {
        min-height: 350px;
    }
    
    .sxxx-hero-categories {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .sxxx-hero-cat {
        min-height: 150px;
    }
    
    .sxxx-featured-cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sxxx-product-main {
        grid-template-columns: 1fr;
        gap: var(--sxxx-spacing-xl);
    }
    
    .sxxx-product-gallery-col {
        position: static;
    }
    
    .sxxx-megamenu {
        display: none !important;
    }
    
    /* mobile-menu-toggle estilos van en header.php */
    
    .sxxx-main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .sxxx-header-inner {
        flex-wrap: wrap;
    }
    
    .sxxx-search {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
        margin-top: 12px;
    }
    
    /* Grid promocional 2x2 en móvil */
    .sxxx-promo-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 500px);
        gap: var(--sxxx-spacing-sm);
        height: auto;
    }
    
    .sxxx-hero-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sxxx-spacing-md);
    }
    
    .sxxx-slider-slides .sxxx-product-card,
    .sxxx-related-track .sxxx-product-card {
        flex: 0 0 calc(50% - 8px);
    }
    
    .sxxx-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .sxxx-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .sxxx-footer-about,
    .sxxx-footer-newsletter {
        grid-column: span 2;
    }
    
    .sxxx-gallery-wrapper {
        flex-direction: column-reverse;
    }
    
    .sxxx-gallery-thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    
    .sxxx-thumbs-list {
        flex-direction: row;
    }
    
    .sxxx-thumbs-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --sxxx-container-padding: 16px;
    }
    
    .sxxx-hero-title {
        font-size: 32px;
    }
    
    .sxxx-hero-content {
        padding: 24px;
    }
    
    .sxxx-section-title {
        font-size: 22px;
    }
    
    .sxxx-product-single-title {
        font-size: 22px;
    }
    
    .sxxx-product-single-price .sxxx-price-current {
        font-size: 26px;
    }
    
    .sxxx-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .sxxx-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .sxxx-footer-about,
    .sxxx-footer-newsletter {
        grid-column: span 1;
    }
    
    .sxxx-footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    border-top-color: var(--sxxx-primary);
}

.woocommerce .woocommerce-message::before {
    color: var(--sxxx-primary);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
    border-radius: var(--sxxx-radius-md);
    font-weight: 600;
    transition: background var(--sxxx-transition-fast);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--sxxx-primary-dark);
    color: var(--sxxx-white);
}

.woocommerce-page .woocommerce-notices-wrapper {
    margin-bottom: var(--sxxx-spacing-lg);
}

/* ============================================
   NUEVAS SECCIONES - LOVEHONEY STYLE
   ============================================ */

/* ============================================
   BANNER PRINCIPAL SAN VALENTÍN
   ============================================ */
.sxxx-hero-banner-section {
    margin-bottom: 20px;
}

.sxxx-hero-banner-wrapper {
    max-width: 1700px;
    margin: 0 auto;
    position: relative;
    height: 600px;
    overflow: hidden;
    
}

.sxxx-hero-banner {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sxxx-hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.sxxx-hero-banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 60px;
    color: var(--sxxx-white);
}

.sxxx-hero-banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--sxxx-spacing-lg);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.sxxx-hero-banner-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: var(--sxxx-spacing-xl);
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.sxxx-hero-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sxxx-spacing-md);
}

.sxxx-hero-banner-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--sxxx-white);
    color: var(--sxxx-text);
    text-decoration: none;
    border-radius: var(--sxxx-radius-full);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--sxxx-transition-fast);
    white-space: nowrap;
    border: 2px solid var(--sxxx-white);
}

.sxxx-hero-banner-btn:hover {
    background: var(--sxxx-primary);
    color: var(--sxxx-white);
    border-color: var(--sxxx-primary);
    transform: translateY(-2px);
}

.sxxx-hero-banner-btn.sxxx-btn-secondary {
    background: transparent;
    color: var(--sxxx-white);
    border-color: var(--sxxx-white);
}

.sxxx-hero-banner-btn.sxxx-btn-secondary:hover {
    background: var(--sxxx-white);
    color: var(--sxxx-text);
    border-color: var(--sxxx-white);
}

/* Responsive para banner */
@media (max-width: 992px) {
    .sxxx-hero-banner-wrapper {
        height: 500px;
    }
    
    .sxxx-hero-banner-content {
        padding: 0 40px;
        max-width: 500px;
    }
    
    .sxxx-hero-banner-title {
        font-size: 2.5rem;
    }
    
    .sxxx-hero-banner-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .sxxx-hero-banner-wrapper {
        height: 400px;
    }
    
    .sxxx-hero-banner-content {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .sxxx-hero-banner-title {
        font-size: 2rem;
    }
    
    .sxxx-hero-banner-subtitle {
        font-size: 1rem;
        margin-bottom: var(--sxxx-spacing-lg);
    }
    
    .sxxx-hero-banner-buttons {
        gap: var(--sxxx-spacing-sm);
    }
    
    .sxxx-hero-banner-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* GRID 4 COLUMNAS PROMOCIONES */
.sxxx-promo-grid-section {
    margin-bottom: 20px;
}

.sxxx-promo-grid-wrapper {
    max-width: 1700px;
    margin: 0 auto;
}

.sxxx-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sxxx-spacing-md);
    height: 690px;
}

.sxxx-promo-card {
    position: relative;
    
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sxxx-white);
    text-align: center;
    transition: var(--sxxx-transition-base);
}

.sxxx-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sxxx-shadow-xl);
}

.sxxx-promo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.sxxx-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
}

.sxxx-promo-content {
    position: relative;
    z-index: 2;
    padding: var(--sxxx-spacing-lg);
}

.sxxx-promo-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--sxxx-spacing-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.sxxx-promo-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--sxxx-spacing-lg);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.sxxx-promo-btn {
    display: inline-block;
    background: transparent;
    color: var(--sxxx-white);
    padding: var(--sxxx-spacing-sm) var(--sxxx-spacing-lg);
    border: 2px solid var(--sxxx-white);
    border-radius: var(--sxxx-radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: var(--sxxx-transition-base);
}

.sxxx-promo-btn:hover {
    background: var(--sxxx-white);
    color: var(--sxxx-primary);
}

.sxxx-promo-badge {
    position: absolute;
    top: var(--sxxx-spacing-md);
    right: var(--sxxx-spacing-md);
    background: #FFD700;
    color: var(--sxxx-red);
    padding: var(--sxxx-spacing-xs) var(--sxxx-spacing-sm);
    border-radius: var(--sxxx-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Colores de las promociones */
.sxxx-promo-pink {
    background: linear-gradient(135deg, #E91E8C 0%, #FF4081 100%);
}

.sxxx-promo-gradient {
    background: linear-gradient(135deg, #7B1FA2 0%, #E91E8C 100%);
}

.sxxx-promo-red {
    background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%);
}

.sxxx-promo-purple {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

/* 3 COLUMNAS BENEFICIOS */
.sxxx-benefits-section {
    margin-bottom: 20px;
}

.sxxx-benefits-wrapper {
    max-width: 1700px;
    margin: 0 auto;
}

.sxxx-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sxxx-spacing-md);
}

.sxxx-benefit-card {
    padding: var(--sxxx-spacing-2xl);
    
    text-align: center;
    color: var(--sxxx-white);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sxxx-benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--sxxx-spacing-xs);
}

.sxxx-benefit-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}
.sxxx-benefit-content p {
	color:#fff!important;
}
.sxxx-benefit-orange {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.sxxx-benefit-blue {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.sxxx-benefit-green {
    background: linear-gradient(135deg, #8BC34A 0%, #689F38 100%);
}

/* CATEGORÍAS - 2 FILAS DE 4 COLUMNAS */
.sxxx-categories-section {
    margin-bottom: 20px;
}

.sxxx-categories-wrapper {
    max-width: 1700px;
    margin: 0 auto;
}

.sxxx-categories-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sxxx-spacing-md);
    margin-bottom: var(--sxxx-spacing-lg);
}

.sxxx-categories-row:last-child {
    margin-bottom: 0;
}

.sxxx-category-card {
    height: 200px;
    
    overflow: hidden;
    position: relative;
    transition: var(--sxxx-transition-base);
}

.sxxx-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sxxx-shadow-lg);
}

.sxxx-category-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: var(--sxxx-white);
}

.sxxx-category-image {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.sxxx-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sxxx-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sxxx-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    margin-bottom: 4px;
}

/* Colores de categorías - Color neutro oscuro */
.sxxx-category-dark {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
}

/* Placeholder para categorías sin imagen */
.sxxx-category-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border: 2px dashed rgba(255,255,255,0.5);
}

.sxxx-category-icon {
    color: rgba(255,255,255,0.8);
    opacity: 0.7;
}

/* Imagen de categoría */
.sxxx-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform var(--sxxx-transition-base);
}

.sxxx-category-card:hover .sxxx-category-img {
    transform: scale(1.1);
}

/* Contenido de categoría */
.sxxx-category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--sxxx-spacing-md);
    text-align: center;
}

.sxxx-category-count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    margin-top: 4px;
}

/* SECCIONES DE PRODUCTOS */
.sxxx-featured-products-section,
.sxxx-bestseller-products-section {
    margin-bottom: var(--sxxx-spacing-3xl);
}

.sxxx-featured-products-wrapper,
.sxxx-bestseller-products-wrapper {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 var(--sxxx-container-padding);
}

.sxxx-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sxxx-spacing-xl);
}

.sxxx-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sxxx-text);
    margin: 0;
}

.sxxx-view-all {
    color: var(--sxxx-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--sxxx-transition-base);
}

.sxxx-view-all:hover {
    color: var(--sxxx-primary-dark);
    text-decoration: underline;
}

.sxxx-no-products {
    text-align: center;
    color: var(--sxxx-text-light);
    font-size: 1.1rem;
    padding: var(--sxxx-spacing-2xl) 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .sxxx-hero-slider-wrapper {
        height: 400px;
        margin: 0 var(--sxxx-spacing-md);
    }
    
    .sxxx-hero-slide-title {
        font-size: 2.5rem;
    }
    
    .sxxx-hero-slide-subtitle {
        font-size: 1.2rem;
    }
    
    .sxxx-promo-grid {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: var(--sxxx-spacing-sm);
    }
    
    .sxxx-promo-card {
        height: 300px;
    }
    
    .sxxx-benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--sxxx-spacing-sm);
    }
    
    .sxxx-categories-row {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sxxx-spacing-sm);
    }
    
    .sxxx-section-title {
        font-size: 2rem;
    }
    
    .sxxx-section-header {
        flex-direction: column;
        gap: var(--sxxx-spacing-md);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .sxxx-hero-slider-wrapper {
        height: 300px;
    }
    
    .sxxx-hero-slide-title {
        font-size: 2rem;
    }
    
    .sxxx-hero-slide-subtitle {
        font-size: 1rem;
    }
    
    .sxxx-promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sxxx-promo-card {
        height: 500px;
    }
    
    .sxxx-promo-title {
        font-size: 1.5rem;
    }
    
    .sxxx-benefit-title {
        font-size: 1.2rem;
    }
    
    .sxxx-category-card {
        height: 150px;
    }
    
    .sxxx-category-image {
        width: 60px;
        height: 60px;
    }
    
    .sxxx-section-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   ESTILOS ADICIONALES MEGA MENÚ
   ============================================ */

/* Menú fallback */
.sxxx-fallback-menu {
    display: flex !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sxxx-fallback-menu > li > a {
    display: block;
    padding: 16px 20px;
    color: var(--sxxx-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--sxxx-transition-base);
}

.sxxx-fallback-menu > li > a:hover {
    color: var(--sxxx-primary);
}

.sxxx-no-menu-notice {
    margin: 10px 0 !important;
    padding: 15px !important;
    background: #ffeb3b !important;
    color: #333 !important;
    border-radius: 5px !important;
    text-align: center !important;
}

.sxxx-no-menu-notice a {
    color: #d32f2f !important;
    font-weight: bold !important;
    text-decoration: underline;
}

/* Mega menu promocional placeholder */
.sxxx-megamenu-promo-placeholder {
    background: var(--sxxx-gradient-pink) !important;
    height: 200px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    text-align: center !important;
    font-size: 14px;
}

.sxxx-megamenu-promo-placeholder small {
    font-size: 12px;
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE MEGA MENÚ
   ============================================ */
@media (max-width: 1200px) {
    .sxxx-megamenu {
        min-width: 700px;
    }
    
    .sxxx-megamenu-columns {
        grid-template-columns: 180px 180px 220px;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .sxxx-megamenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: auto;
        width: 100%;
        background: var(--sxxx-white);
        border: none;
        box-shadow: none;
        border-radius: 0;
    }
    
    .sxxx-megamenu-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sxxx-megamenu-col-image {
        order: -1;
        min-height: 150px;
    }
    
    .sxxx-has-megamenu:hover .sxxx-megamenu {
        display: block;
    }
    
    .sxxx-main-nav {
        display: none;
    }
    
    /* mobile-menu-toggle estilos van en header.php */
}

@media (max-width: 768px) {
    .sxxx-megamenu-inner {
        padding: 15px;
    }
    
    .sxxx-megamenu-promo {
        min-height: 120px;
    }
    
    .sxxx-megamenu-promo-text {
        font-size: 16px;
        bottom: 40px;
    }
    
    .sxxx-megamenu-promo-badge {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .sxxx-megamenu-promo-btn {
        bottom: 10px;
        left: 10px;
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ============================================
   ESTILOS PERSONALIZADOS MI CUENTA - SEVILLAXXX
   ============================================ */

/* Página Mi Cuenta - Contenedor principal */
.woocommerce-account {
    background: #f8f9fa;
    min-height: 60vh;
    padding: 20px 0;
}

.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    margin-top: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header personalizado mejorado */
.woocommerce-account .entry-header {
    display: none; /* Ocultar el header original */
}

/* Header personalizado con ::before */
.woocommerce-account .woocommerce::before {
    content: 'Mi cuenta\AManeja tu información y pedidos';
    display: block;
    text-align: center;
    margin: 0 0 40px 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--sxxx-primary) 0%, var(--sxxx-primary-light) 100%);
    color: white;
    border-radius: 12px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    white-space: pre-line;
    grid-column: 1 / -1; /* Que ocupe toda la fila del grid */
}

/* Navegación de Mi Cuenta */
.woocommerce-MyAccount-navigation {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 20px;
	width:100%!important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.15s ease;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap; /* Evitar que el texto se corte */
    min-height: 50px; /* Altura mínima para consistencia */
}

.woocommerce-MyAccount-navigation ul li a:before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--sxxx-gray-400);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

/* Iconos específicos para cada sección */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z' fill='black'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z' fill='black'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads a:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z' fill='black'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z' fill='black'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z' fill='black'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z' fill='black'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z' fill='black'/%3E%3C/svg%3E");
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--devoluciones a:before {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z' fill='black'/%3E%3C/svg%3E");
}
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f8f9fa;
    color: var(--sxxx-primary);
    padding-left: 24px;
}

.woocommerce-MyAccount-navigation ul li a:hover:before {
    background: var(--sxxx-primary);
}

/* Item activo */
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--sxxx-primary);
    color: white;
    font-weight: 600;
}

.woocommerce-MyAccount-navigation ul li.is-active a:before {
    background: white;
}

.woocommerce-MyAccount-navigation ul li.is-active a:hover {
    background: var(--sxxx-primary-dark);
    color: white;
    padding-left: 20px;
}

/* Contenido principal de Mi Cuenta */
.woocommerce-MyAccount-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    min-height: 400px;
}

/* Títulos de sección */
.woocommerce-MyAccount-content h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Formularios de Mi Cuenta */
.woocommerce-MyAccount-content form .form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.woocommerce-MyAccount-content form input[type="text"],
.woocommerce-MyAccount-content form input[type="email"],
.woocommerce-MyAccount-content form input[type="password"],
.woocommerce-MyAccount-content form textarea,
.woocommerce-MyAccount-content form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.15s ease;
    background: white;
}

.woocommerce-MyAccount-content form input:focus,
.woocommerce-MyAccount-content form textarea:focus,
.woocommerce-MyAccount-content form select:focus {
    outline: none;
    border-color: var(--sxxx-primary);
}

.woocommerce-MyAccount-content form button,
.woocommerce-MyAccount-content form input[type="submit"] {
    background: var(--sxxx-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    font-size: 14px;
}

.woocommerce-MyAccount-content form button:hover,
.woocommerce-MyAccount-content form input[type="submit"]:hover {
    background: var(--sxxx-primary-dark);
}

/* Tabla de pedidos */
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.woocommerce-MyAccount-content .woocommerce-orders-table th,
.woocommerce-MyAccount-content .woocommerce-orders-table td {
    padding: 15px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.woocommerce-MyAccount-content .woocommerce-orders-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:hover {
    background: #f8f9fa;
}

/* Botones de acciones */
.woocommerce-MyAccount-content .woocommerce-button {
    background: var(--sxxx-primary);
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    transition: background 0.15s ease;
}

.woocommerce-MyAccount-content .woocommerce-button:hover {
    background: var(--sxxx-primary-dark);
}

/* Dashboard - mensajes informativos */
.woocommerce-MyAccount-content p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

/* Responsive Mi Cuenta */
@media (max-width: 1024px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 280px 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .woocommerce-account .woocommerce::before {
        font-size: 24px;
        padding: 30px 15px;
    }
    
    .woocommerce-MyAccount-content {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .woocommerce-account .woocommerce::before {
        font-size: 20px;
        padding: 25px 15px;
        margin-bottom: 25px;
    }
    
    .woocommerce-MyAccount-navigation {
        order: 2;
        position: static;
    }
    
    .woocommerce-MyAccount-content {
        order: 1;
        padding: 20px;
    }
    
    .woocommerce-MyAccount-content h2 {
        font-size: 20px;
    }
    
    /* En móvil permitir wrap del texto */
    .woocommerce-MyAccount-navigation ul li a {
        white-space: normal;
        min-height: auto;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .woocommerce-account .woocommerce::before {
        font-size: 18px;
        padding: 20px 10px;
    }
    
    .woocommerce-MyAccount-content {
        padding: 15px;
    }
    
    .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 16px;
        font-size: 13px;
    }
}

.woocommerce div.product div.images.woocommerce-product-gallery {
	width:100%;
}