/*!
Theme Name: Sabor y Aroma Mayorista
Theme URI: https://saboryaroma.com
Author: Sabor y Aroma
Description: Tema personalizado para tienda mayorista WooCommerce
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: flavor-starter
*/

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-primary: #086633;
    --color-primary-dark: #065528;
    --color-primary-light: #0a8a45;
    --color-secondary: #3ed1a1;
    --color-secondary-dark: #2ebd8e;
    --color-tertiary: #c0e67d;
    --color-accent: #ff8f00;
    --color-accent-dark: #f97316;
    --color-success: #10b981;
    --color-success-dark: #059669;
    --color-error: #dc2626;
    --color-error-light: #fef2f2;

    /* Neutrals */
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-150: #f3f4f6;
    --color-gray-200: #e5e5e5;
    --color-gray-250: #e5e7eb;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-550: #6b7280;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-750: #374151;
    --color-gray-800: #262626;
    --color-gray-900: #171717;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);

    /* Header */
    --header-height: 100px;
    --top-bar-height: 36px;

    /* Breakpoints (for reference) */
    --breakpoint-sm: 480px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1200px;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-primary-hover: linear-gradient(135deg, var(--color-primary-dark) 0%, #087a3d 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    --gradient-success: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-800);
    background-color: var(--color-gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-content {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* ==========================================================================
   ANIMATIONS (Centralizadas)
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmark {
    0% {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes cartFlyUp {
    0% {
        transform: scale(0.5) translateY(20px);
        opacity: 0;
    }

    30% {
        transform: scale(1.2) translateY(0);
        opacity: 1;
    }

    50% {
        transform: scale(1) translateY(0);
    }

    70% {
        transform: scale(1.1) translateY(-10px);
    }

    100% {
        transform: scale(0.3) translateY(-80px) translateX(40px);
        opacity: 0;
    }
}

@keyframes sa-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
}

.top-bar__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-5);
    text-align: center;
}

.top-bar__text {
    margin: 0;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.main-header {
    height: var(--header-height);
    border-bottom: 2px solid #f18c0e;
}

.main-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-5);
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-logo__text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
}

/* ==========================================================================
   MAIN NAVIGATION
   ========================================================================== */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-gray-700);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    position: relative;
}

.main-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 2px;
    transition: width 0.2s ease;
}

.main-nav__link:hover {
    color: var(--color-accent);
    background-color: rgba(255, 143, 0, 0.08);
}

.main-nav__link:hover::after {
    width: 60%;
}

.main-nav__link--active {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.main-nav__link--active::after {
    display: none;
}

.main-nav__link--active:hover {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.main-nav__arrow {
    transition: all 0.2s ease;
    color: var(--color-gray-400);
}

.main-nav__link:hover .main-nav__arrow {
    color: var(--color-accent);
}

.main-nav__item:hover .main-nav__arrow {
    transform: rotate(180deg);
    color: var(--color-accent);
}

/* ==========================================================================
   MEGA MENU - Optimizado para muchos elementos
   ========================================================================== */
.mega-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 580px;
    max-width: 90vw;
    max-height: 420px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    border-top: 3px solid var(--color-accent);
    overflow: hidden;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.main-nav__item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

/* Grid scrolleable */
.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Scrollbar personalizado */
.mega-menu__grid::-webkit-scrollbar {
    width: 5px;
}

.mega-menu__grid::-webkit-scrollbar-track {
    background: var(--color-gray-100);
    border-radius: 3px;
}

.mega-menu__grid::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

.mega-menu__grid::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-dark);
}

/* Items compactos */
.mega-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 6px;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
    text-align: center;
    background: var(--color-gray-50);
    border: 1px solid transparent;
    min-width: 0;
}

.mega-menu__item:hover {
    background-color: rgba(255, 143, 0, 0.08);
    border-color: rgba(255, 143, 0, 0.2);
}

/* Imagen más pequeña */
.mega-menu__image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    border: 1px solid var(--color-gray-200);
    transition: border-color 0.15s ease;
}

.mega-menu__item:hover .mega-menu__image {
    border-color: var(--color-accent);
}

/* Nombre compacto */
.mega-menu__name {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-gray-700);
    line-height: 1.2;
    transition: color 0.15s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
    word-break: break-word;
}

.mega-menu__item:hover .mega-menu__name {
    color: var(--color-accent);
}

/* Contador más pequeño */
.mega-menu__count {
    font-size: 10px;
    color: var(--color-gray-400);
    margin-top: 2px;
}

.mega-menu__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-6);
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
}

/* ==========================================================================
   HEADER ACTIONS
   ========================================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Search Form */
.header-search {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: all 0.2s ease;
}

.search-form:focus-within {
    background-color: var(--color-white);
    box-shadow: 0 0 0 2px var(--color-primary);
}

.search-form__input {
    width: 200px;
    padding: var(--space-2) var(--space-4);
    border: none;
    background: transparent;
    font-size: var(--font-size-sm);
    outline: none;
}

.search-form__input::placeholder {
    color: var(--color-gray-500);
}

.search-form__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--color-gray-600);
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-form__btn:hover {
    color: var(--color-primary);
}

/* Cart */
.header-cart {
    position: relative;
}

.header-cart__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-gray-700);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.header-cart__link:hover {
    color: var(--color-primary);
    background-color: var(--color-gray-100);
}

.header-cart__count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cart__count[data-count="0"] {
    display: none;
}

/* Account Dropdown */
.header-account {
    position: relative;
}

.header-account__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--color-gray-700);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-account__toggle:hover {
    color: var(--color-primary);
    background-color: var(--color-gray-100);
}

.header-account__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.header-account.is-open .header-account__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-account__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    color: var(--color-gray-700);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.header-account__item:hover {
    background-color: var(--color-gray-100);
    color: var(--color-primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle__line {
    width: 100%;
    height: 2px;
    background-color: var(--color-gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.is-active {
    right: 0;
}

.mobile-menu__inner {
    padding: 0;
}

/* Mobile Menu Header */
.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-bottom: 3px solid var(--color-accent);
}

.mobile-menu__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

.mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu__close:hover {
    background: var(--color-accent);
    transform: rotate(90deg);
}

.mobile-menu__search {
    margin: var(--space-4) var(--space-5) var(--space-5);
}

.mobile-menu__search .search-form {
    width: 100%;
}

.mobile-menu__search .search-form__input {
    width: 100%;
}

/* Mobile Navigation */
.mobile-nav {
    padding: 0 var(--space-5);
}

.mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__item {
    border-bottom: 1px solid var(--color-gray-200);
}

.mobile-nav__item:first-child {
    border-top: none;
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-gray-800);
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav__link::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mobile-nav__link:hover {
    color: var(--color-accent);
    padding-left: var(--space-5);
}

.mobile-nav__link:hover::before {
    opacity: 1;
}

/* Mobile Accordion */
.mobile-accordion__toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--space-4);
    background: transparent;
    border: none;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-gray-800);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-accordion__toggle:hover {
    color: var(--color-accent);
}

.mobile-accordion__arrow {
    transition: all 0.3s ease;
    color: var(--color-gray-400);
}

.mobile-accordion__toggle:hover .mobile-accordion__arrow {
    color: var(--color-accent);
}

.mobile-accordion.is-active .mobile-accordion__arrow {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.mobile-accordion.is-active .mobile-accordion__toggle {
    color: var(--color-primary);
}

.mobile-accordion__content {
    display: none;
    padding: 0 var(--space-4) var(--space-4);
    background: linear-gradient(to bottom, rgba(255, 143, 0, 0.03) 0%, transparent 100%);
    border-left: 3px solid var(--color-accent);
    margin-left: var(--space-4);
}

.mobile-accordion.is-active .mobile-accordion__content {
    display: block;
}

.mobile-accordion__link {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.mobile-accordion__link:hover {
    background-color: rgba(255, 143, 0, 0.1);
    color: var(--color-accent);
    padding-left: var(--space-5);
}

/* Mobile Account */
.mobile-account {
    margin: var(--space-6) var(--space-5);
    padding: var(--space-4);
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 143, 0, 0.2);
}

.mobile-account__link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-gray-700);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.mobile-account__link::before {
    content: '→';
    color: var(--color-accent);
    font-weight: 700;
}

.mobile-account__link:hover {
    background: rgba(255, 143, 0, 0.15);
    color: var(--color-accent);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
}

.mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Header Spacer */
.header-spacer {
    height: 20px;
}

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */
.product-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-card);
}

.product-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

/* Image Wrapper */
.product-card__image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-gray-50);
}

.product-card__image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.03);
}

/* Tags - Left Side */
.product-card__tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.product-card__tag {
    display: inline-block;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.product-card__tag:hover {
    filter: brightness(0.95);
    transform: translateX(2px);
}

.product-card__tag-more {
    display: inline-block;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    border-radius: var(--radius-sm);
}

/* Badges - Right Side */
.product-card__badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.product-card__badge {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    color: var(--color-white);
}

.product-card__badge--new {
    background: var(--gradient-primary);
}

.product-card__badge--sale {
    background: var(--gradient-accent);
}

/* Cart Animation */
.product-card__cart-animation {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
    animation: fadeIn 0.2s ease;
}

.cart-fly {
    animation: cartFlyUp 1s ease forwards;
}

.cart-fly svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-primary);
    stroke-width: 1.5;
}

/* Content */
.product-card__content {
    padding: 14px;
}

/* Brand */
.product-card__brand {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.15s ease;
}

.product-card__brand:hover {
    color: var(--color-accent);
}

/* Name */
.product-card__name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: auto;
}

.product-card__name a {
    color: var(--color-gray-800);
    text-decoration: none;
    transition: color 0.15s ease;
}

.product-card__name a:hover {
    color: var(--color-primary);
}

/* Price */
.product-card__price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-card__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gray-800);
}

.product-card__price--old {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.product-card__price--sale {
    color: var(--color-accent);
}

/* Variations (250g, 500g, 1kg buttons) */
.product-card__variations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.product-card__variations.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.product-card__variation-btn {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gray-750);
    background-color: var(--color-gray-150);
    border: 2px solid var(--color-gray-250);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card__variation-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.product-card__variation-btn.is-selected {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Error message for variations */
.product-card__variation-error {
    color: var(--color-error);
    font-size: 11px;
    font-weight: 500;
    margin-top: -4px;
    margin-bottom: 10px;
    padding: 6px 10px;
    background-color: var(--color-error-light);
    border-radius: 6px;
    text-align: center;
}

.product-card__variation-error.shake {
    animation: shake 0.5s ease;
}

/* Actions */
.product-card__actions {
    display: flex;
    gap: 8px;
}

/* Quantity Selector */
.product-card__quantity {
    display: flex;
    align-items: center;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.product-card__quantity.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.product-card__qty-btn {
    width: 32px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gray-600);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.product-card__qty-btn:hover:not(:disabled) {
    background-color: var(--color-gray-200);
    color: var(--color-primary);
}

.product-card__qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-card__qty-value {
    width: 28px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-800);
}

/* Add Button */
.product-card__add-btn {
    flex: 1;
    height: 36px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-card__add-btn:hover:not(:disabled):not(.is-added) {
    background: var(--gradient-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 102, 51, 0.3);
}

.product-card__add-btn:active:not(.is-added) {
    transform: translateY(0);
}

.product-card__add-btn:disabled {
    cursor: not-allowed;
}

/* Disabled/Out of Stock State */
.product-card__add-btn--disabled {
    background: var(--color-gray-300);
    cursor: not-allowed;
    opacity: 0.7;
}

.product-card__add-btn--disabled:hover {
    background: var(--color-gray-300);
    transform: none;
    box-shadow: none;
}

/* Text visibility */
.btn-text-mobile {
    display: none;
}

.btn-text-desktop {
    display: inline;
}

/* Loading State */
.product-card__add-btn.is-loading {
    background: var(--gradient-primary);
    pointer-events: none;
}

.product-card__add-btn.is-loading .btn-text,
.product-card__add-btn.is-loading .btn-text-desktop {
    display: none;
}

.product-card__add-btn.is-loading .btn-loading {
    display: flex;
}

.btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Added State */
.product-card__add-btn.is-added {
    background: var(--gradient-success);
    cursor: default;
}

.product-card__add-btn.is-added .btn-text,
.product-card__add-btn.is-added .btn-text-desktop {
    display: none;
}

.product-card__add-btn.is-added .btn-added {
    display: flex;
}

.btn-added {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    animation: popIn 0.3s ease;
}

.btn-added svg {
    width: 14px;
    height: 14px;
    animation: checkmark 0.4s ease 0.1s both;
}

/* Badges limit */
.product-card__badges .product-card__badge:nth-child(n+3),
.product-card__tags .product-card__tag:nth-child(n+3) {
    display: none;
}

.product-card__badges-more,
.product-card__tags-more {
    font-size: 9px;
    padding: 3px 6px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   SHOP PAGE - LAYOUT
   ========================================================================== */

/* Hide default WooCommerce sidebar */
.woocommerce-page #secondary,
.woocommerce-page .widget-area:not(.shop-sidebar),
.woocommerce-page aside:not(.shop-sidebar),
.woocommerce-page .sidebar:not(.shop-sidebar),
.archive.woocommerce #secondary,
.archive.woocommerce .widget-area:not(.shop-sidebar),
body.post-type-archive-product #secondary,
body.tax-product_cat #secondary,
body.tax-product_tag #secondary,
.woocommerce-page .site-main aside:not(.shop-sidebar),
.woocommerce aside#secondary,
aside.widget-area:not(.shop-sidebar) {
    display: none;
}

/* Full width content */
.woocommerce-page #primary,
.woocommerce-page .content-area,
body.post-type-archive-product #primary,
body.post-type-archive-product .content-area {
    width: 100%;
    max-width: 100%;
    float: none;
    margin: 0;
}

/* Shop container */
.woocommerce-page .site-main {
    padding: 30px 0;
}

/* Products Grid */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
    content: none;
}

.woocommerce ul.products li.product {
    margin: 0;
    padding: 0;
    float: none;
    width: 100%;
}

/* Shop title */
.woocommerce-products-header {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.woocommerce-products-header__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

/* Results and ordering */
.woocommerce .woocommerce-result-count {
    margin: 0 0 20px;
    color: var(--color-gray-550);
    font-size: 14px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.woocommerce .woocommerce-ordering {
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.woocommerce .woocommerce-ordering select {
    padding: 10px 14px;
    border: 1px solid var(--color-gray-250);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--color-gray-750);
    background: var(--color-white);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 20px;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--color-white);
    color: var(--color-gray-750);
    border: 1px solid var(--color-gray-250);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Breadcrumb */
.woocommerce-breadcrumb {
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 20px;
    font-size: 13px;
    color: var(--color-gray-550);
}

.woocommerce-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* WooCommerce messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 15px 20px;
    border-radius: var(--radius-md);
}

/* No products found */
.woocommerce-info.woocommerce-no-products-found {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   SHOP PAGE - NUEVA ESTRUCTURA CON SIDEBAR
   ========================================================================== */

/* Page container */
.shop-page {
    background: #f8fafc;
    padding-bottom: 60px;
}

/* Breadcrumb */
.shop-breadcrumb {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-250);
}

.shop-breadcrumb__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--color-gray-550);
}

.shop-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s;
}

.shop-breadcrumb a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.shop-breadcrumb .sep {
    margin: 0 8px;
    color: var(--color-gray-400);
}

.shop-breadcrumb .current {
    color: var(--color-gray-750);
}

/* Mobile: Simplify breadcrumb to just "← Volver" */
@media (max-width: 768px) {
    .shop-breadcrumb__container {
        padding: 10px 15px;
    }

    /* Hide all breadcrumb content except first link */
    .shop-breadcrumb .sep,
    .shop-breadcrumb .current {
        display: none;
    }

    /* Style first link as back button */
    .shop-breadcrumb a:first-of-type {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        background: var(--color-gray-100);
        border-radius: var(--radius-md);
        font-size: 13px;
    }

    .shop-breadcrumb a:first-of-type::before {
        content: '←';
        font-size: 14px;
    }

    /* Hide other links */
    .shop-breadcrumb a:not(:first-of-type) {
        display: none;
    }
}

/* Header */
.shop-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-250);
    padding: 20px 0;
}

.shop-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.shop-header__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.shop-header__count {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--color-gray-150);
    border-radius: var(--radius-2xl);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-550);
}

/* Main Layout */
.shop-layout {
    padding-top: 25px;
}

.shop-layout__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* Layout without sidebar */
.shop-layout--no-sidebar .shop-layout__container {
    grid-template-columns: 1fr;
}

.shop-layout--no-sidebar .shop-products ul.products {
    grid-template-columns: repeat(4, 1fr);
}

/* Sidebar */
.shop-sidebar {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    padding: 20px;
    position: sticky;
    top: 100px;
}

/* Active filters */
.shop-filters__active {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-gray-250);
}

.shop-filters__active-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.shop-filters__active-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-gray-550);
}

.shop-filters__clear {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    cursor: pointer;
    transition: color 0.15s;
}

.shop-filters__clear:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.shop-filters__active-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-2xl);
}

.pill-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
}

.pill-remove:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Filter Groups */
.shop-filters__group {
    margin-bottom: 24px;
}

.shop-filters__group:last-child {
    margin-bottom: 0;
}

.shop-filters__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 14px 0;
}

/* Mobile: Make filter title clickable accordion toggle */
@media (max-width: 991px) {
    .shop-filters__title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 0;
        margin: 0;
        cursor: pointer;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .shop-filters__title::after {
        content: '';
        width: 10px;
        height: 10px;
        border-right: 2px solid var(--color-gray-500);
        border-bottom: 2px solid var(--color-gray-500);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-top: -4px;
    }

    .shop-filters__group.is-active .shop-filters__title::after {
        transform: rotate(-135deg);
        margin-top: 4px;
    }
}

.shop-filters__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Mobile: Collapse filter list by default */
@media (max-width: 991px) {
    .shop-filters__list {
        display: none;
        padding: 10px 0;
    }

    .shop-filters__group.is-active .shop-filters__list {
        display: flex;
    }
}

/* Filter Item / Checkbox */
.shop-filters__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.15s;
}

.shop-filters__item:hover {
    background: var(--color-gray-50);
}

.shop-filters__item input[type="checkbox"] {
    display: none;
}

.shop-filters__checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    position: relative;
    transition: all 0.15s;
    flex-shrink: 0;
}

.shop-filters__item input:checked+.shop-filters__checkbox {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.shop-filters__item input:checked+.shop-filters__checkbox::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.shop-filters__label {
    flex: 1;
    font-size: 14px;
    color: var(--color-gray-750);
}

.shop-filters__count {
    font-size: 13px;
    color: var(--color-gray-400);
}

/* Products Grid */
.shop-products {
    min-height: 400px;
}

.shop-products ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-products ul.products::before,
.shop-products ul.products::after {
    display: none;
    content: none;
}

.shop-products li.product {
    margin: 0;
    padding: 0;
    float: none;
    width: 100%;
}

/* No products */
.shop-no-products {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    color: var(--color-gray-550);
}

.shop-no-products p {
    margin: 0 0 20px;
    font-size: 15px;
}

.shop-btn-reset {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.shop-btn-reset:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
}

/* Pagination inside products */
.shop-products nav.woocommerce-pagination {
    margin-top: 30px;
    grid-column: 1 / -1;
}

/* Loading state */
.shop-products.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   SHORTCODE: CATEGORIAS
   ========================================================================== */
.sa-categorias {
    padding: 50px 0;
    background: #f8fafc;
}

.sa-categorias__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.sa-categorias__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.sa-categorias__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.sa-categorias__link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.sa-categorias__link:hover {
    color: var(--color-primary-dark);
}

.sa-categorias__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.sa-categoria-card {
    display: block;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sa-categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.sa-categoria-card__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-gray-100);
}

.sa-categoria-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sa-categoria-card:hover .sa-categoria-card__img img {
    transform: scale(1.08);
}

.sa-categoria-card__info {
    padding: 14px;
    text-align: center;
}

.sa-categoria-card__info h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 4px;
}

.sa-categoria-card__info span {
    font-size: 12px;
    color: var(--color-gray-500);
}

/* ==========================================================================
   SHORTCODE: MARCAS (Slider infinito)
   ========================================================================== */
.sa-marcas {
    padding: 50px 0;
    background: var(--gradient-primary);
    overflow: hidden;
}

.sa-marcas__header {
    text-align: center;
    margin-bottom: 35px;
}

.sa-marcas__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 8px;
}

.sa-marcas__subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.sa-marcas__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sa-marcas__slider::before,
.sa-marcas__slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.sa-marcas__slider::before {
    left: 0;
    background: linear-gradient(to right, var(--color-primary) 0%, transparent 100%);
}

.sa-marcas__slider::after {
    right: 0;
    background: linear-gradient(to left, var(--color-primary-light) 0%, transparent 100%);
}

.sa-marcas__track {
    display: flex;
    gap: 40px;
    animation: sa-marquee 30s linear infinite;
    width: max-content;
}

.sa-marcas__slider:hover .sa-marcas__track {
    animation-play-state: paused;
}

.sa-marca-card {
    flex: 0 0 180px;
    height: 100px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.sa-marca-card:hover {
    transform: scale(1.08);
}

.sa-marca-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sa-marca-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.sa-marcas__hint {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Hide mouse hint on touch devices */
@media (max-width: 768px), (hover: none) {
    .sa-marcas__hint {
        display: none;
    }
}

/* ==========================================================================
   SHORTCODE: OFERTAS (Slider horizontal)
   ========================================================================== */
.sa-ofertas-slider {
    padding: 25px;
    background: #fef7ed;
    border-radius: var(--radius-lg);
    margin: 30px 0;
}

.sa-ofertas-slider__header {
    margin-bottom: 15px;
}

.sa-ofertas-slider__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.sa-ofertas-slider__container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sa-ofertas-slider__track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 5px 0;
    flex: 1;
}

.sa-ofertas-slider__track::-webkit-scrollbar {
    display: none;
}

.sa-ofertas-slider__arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: var(--color-black);
    transition: all 0.2s;
}

.sa-ofertas-slider__arrow:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.sa-oferta-card {
    flex: 0 0 170px;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.sa-oferta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.sa-oferta-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}

.sa-oferta-card__img {
    position: relative;
    aspect-ratio: 1;
    background: var(--color-gray-100);
    overflow: hidden;
}

.sa-oferta-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-oferta-card__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--gradient-accent);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-2xl);
}

.sa-oferta-card__info {
    padding: 12px;
}

.sa-oferta-card__info h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black);
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sa-oferta-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sa-oferta-card__price-old {
    font-size: 12px;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.sa-oferta-card__price-new {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Add button */
.sa-oferta-card__add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: calc(100% - 16px);
    margin: 0 8px 10px;
    padding: 10px 12px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.sa-oferta-card__add:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-1px);
}

.sa-oferta-card__add.is-loading {
    pointer-events: none;
    background: var(--color-primary);
}

.sa-oferta-card__add.is-added {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
    pointer-events: none;
}

.sa-oferta-card__add--link {
    background: var(--color-gray-150);
    color: var(--color-gray-750);
}

.sa-oferta-card__add--link:hover {
    background: var(--color-gray-200);
}

.sa-spinner {
    animation: spin 0.8s linear infinite;
}

/* ==========================================================================
   CART PAGE
   ========================================================================== */

/* Layout principal */
body.woocommerce-cart .entry-title {
    display: none;
}

.woocommerce-cart .woocommerce {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

.woocommerce-cart .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}

/* Product table */
.woocommerce-cart .woocommerce-cart-form {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.woocommerce-cart table.shop_table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin: 0;
}

.woocommerce-cart table.shop_table thead th {
    background: #f8f9fa;
    padding: 14px 18px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-gray-550);
    border: none;
    text-align: left;
}

.woocommerce-cart table.shop_table tbody td {
    padding: 18px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    background: var(--color-white);
}

.woocommerce-cart table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

/* Image */
.woocommerce-cart td.product-thumbnail {
    width: 80px;
}

.woocommerce-cart td.product-thumbnail img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
}

/* Name */
.woocommerce-cart td.product-name {
    font-weight: 500;
    color: var(--color-black);
}

.woocommerce-cart td.product-name a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce-cart td.product-name a:hover {
    color: var(--color-primary);
}

/* Price and Subtotal */
.woocommerce-cart td.product-price {
    font-weight: 500;
    color: var(--color-gray-750);
}

.woocommerce-cart td.product-subtotal {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-primary);
}

/* Remove */
.woocommerce-cart td.product-remove {
    width: 50px;
}

.woocommerce-cart td.product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--color-error-light);
    color: var(--color-error);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce-cart td.product-remove a.remove:hover {
    background: var(--color-error);
    color: var(--color-white);
}

/* Quantity with +/- buttons */
.woocommerce-cart td.product-quantity .quantity {
    display: inline-flex;
    align-items: center;
    background: var(--color-gray-150);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.woocommerce-cart .quantity .sa-qty-btn {
    width: 34px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.woocommerce-cart .quantity .sa-qty-btn:hover {
    background: var(--color-gray-200);
    color: var(--color-primary);
}

.woocommerce-cart .quantity input.qty {
    width: 50px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    -moz-appearance: textfield;
}

.woocommerce-cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Actions (Coupon + Update) */
.woocommerce-cart td.actions {
    padding: 18px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.woocommerce-cart .coupon label {
    display: none;
}

.woocommerce-cart #coupon_code {
    padding: 11px 14px;
    border: 2px solid var(--color-gray-250);
    border-radius: var(--radius-md);
    font-size: 14px;
    width: 170px;
    transition: border-color 0.2s;
}

.woocommerce-cart #coupon_code:focus {
    border-color: var(--color-primary);
    outline: none;
}

.woocommerce-cart .coupon button,
.woocommerce-cart button[name="update_cart"] {
    padding: 11px 20px;
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.woocommerce-cart .coupon button:hover,
.woocommerce-cart button[name="update_cart"]:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.woocommerce-cart button[name="update_cart"] {
    float: right;
}

.woocommerce-cart button[name="update_cart"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Cart totals (Sidebar) */
.woocommerce-cart .cart-collaterals {
    position: sticky;
    top: 20px;
}

.woocommerce-cart .cart_totals {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.woocommerce-cart .cart_totals>h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.woocommerce-cart .cart_totals .shop_table {
    width: 100%;
    border: none;
    margin: 0;
    padding: 16px 20px;
}

.woocommerce-cart .cart_totals .shop_table th,
.woocommerce-cart .cart_totals .shop_table td {
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    vertical-align: middle;
}

.woocommerce-cart .cart_totals .shop_table th {
    text-align: left;
    font-weight: 500;
    color: var(--color-gray-550);
    width: 40%;
}

.woocommerce-cart .cart_totals .shop_table td {
    text-align: right;
    font-weight: 600;
    color: var(--color-black);
}

/* Total final */
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid var(--color-gray-250);
    font-size: 18px;
    font-weight: 700;
}

.woocommerce-cart .cart_totals .order-total td {
    color: var(--color-primary);
    font-size: 20px;
}

/* Checkout button */
.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0 20px 20px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(8, 102, 51, 0.2);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 102, 51, 0.3);
}

/* Continue shopping button */
.sa-btn-seguir {
    display: block;
    width: 100%;
    padding: 13px 20px;
    margin-top: 10px;
    background: transparent;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    transition: all 0.2s;
}

.sa-btn-seguir:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Empty cart */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.woocommerce-cart .cart-empty::before {
    content: '';
    display: block;
    font-size: 50px;
    margin-bottom: 15px;
}

.woocommerce-cart .return-to-shop a {
    display: inline-block;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
}

/* Loading state */
.woocommerce-cart.sa-loading .woocommerce-cart-form {
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   CART PAGE - MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {

    /* Stack layout */
    .woocommerce-cart .woocommerce {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }

    /* Hide table header on mobile */
    .woocommerce-cart table.shop_table thead {
        display: none;
    }

    /* Reset table display */
    .woocommerce-cart table.shop_table {
        display: block;
        border: none;
    }

    .woocommerce-cart table.shop_table tbody {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Each cart item row becomes a card */
    .woocommerce-cart table.shop_table tbody tr.cart_item,
    .woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        padding: 16px;
        background: var(--color-white);
        border-radius: var(--radius-lg);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        border: 1px solid var(--color-gray-200);
        position: relative;
    }

    /* Reset all table cells */
    .woocommerce-cart table.shop_table tbody tr.cart_item td,
    .woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item td {
        display: flex !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        text-align: left !important;
    }

    /* Header row: thumbnail + name + remove */
    .woocommerce-cart table.shop_table td.product-thumbnail {
        position: absolute;
        top: 16px;
        left: 16px;
        width: 60px !important;
        padding: 0 !important;
    }

    .woocommerce-cart table.shop_table td.product-thumbnail a {
        display: block;
    }

    .woocommerce-cart table.shop_table td.product-thumbnail img {
        width: 60px !important;
        height: 60px !important;
        border-radius: var(--radius-md);
        object-fit: cover;
    }

    /* Product name */
    .woocommerce-cart table.shop_table td.product-name {
        order: 1;
        margin-left: 76px;
        margin-right: 30px;
        min-height: 60px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
    }

    .woocommerce-cart table.shop_table td.product-name a {
        color: var(--color-black);
        text-decoration: none;
    }

    /* Variation styles */
    .woocommerce-cart table.shop_table td.product-name dl.variation {
        margin: 4px 0 0 0;
        font-size: 12px;
        font-weight: normal;
        color: var(--color-gray-550);
    }

    .woocommerce-cart table.shop_table td.product-name dl.variation dt {
        display: none;
    }

    .woocommerce-cart table.shop_table td.product-name dl.variation dd {
        display: inline;
        margin: 0;
        padding: 0;
    }

    .woocommerce-cart table.shop_table td.product-name dl.variation dd p {
        display: inline;
        margin: 0;
    }

    /* Remove button - top right corner */
    .woocommerce-cart table.shop_table td.product-remove {
        position: absolute;
        top: 16px;
        right: 16px;
        width: auto !important;
    }

    .woocommerce-cart table.shop_table td.product-remove a.remove {
        width: 24px;
        height: 24px;
        font-size: 18px;
        line-height: 22px;
        color: #ef4444 !important;
        background: #fef2f2;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Price row */
    .woocommerce-cart table.shop_table td.product-price {
        order: 2;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0 !important;
        margin-top: 12px;
        border-top: 1px solid var(--color-gray-200) !important;
    }

    .woocommerce-cart table.shop_table td.product-price::before {
        content: 'Precio:';
        font-size: 14px;
        font-weight: 500;
        color: var(--color-gray-600);
    }

    .woocommerce-cart table.shop_table td.product-price .woocommerce-Price-amount {
        font-weight: 600;
        color: var(--color-black);
    }

    /* Quantity row */
    .woocommerce-cart table.shop_table td.product-quantity {
        order: 3;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0 !important;
        border-top: 1px solid var(--color-gray-200) !important;
    }

    .woocommerce-cart table.shop_table td.product-quantity::before {
        content: 'Cantidad:';
        font-size: 14px;
        font-weight: 500;
        color: var(--color-gray-600);
    }

    /* Subtotal row */
    .woocommerce-cart table.shop_table td.product-subtotal {
        order: 4;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0 0 !important;
        border-top: 1px dashed var(--color-gray-300) !important;
    }

    .woocommerce-cart table.shop_table td.product-subtotal::before {
        content: 'Subtotal:';
        font-size: 14px;
        font-weight: 600;
        color: var(--color-gray-700);
    }

    /* Actions row - Reset grid from cart items */
    .woocommerce-cart table.shop_table tbody tr:has(td.actions) {
        display: block !important;
        grid-template-columns: none !important;
        grid-template-areas: none !important;
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    .woocommerce-cart table.shop_table td.actions {
        display: block !important;
        padding: 15px !important;
        background: var(--color-white);
        border-radius: var(--radius-lg);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        border: 1px solid var(--color-gray-200);
    }

    .woocommerce-cart .coupon {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .woocommerce-cart #coupon_code {
        width: 100%;
        margin: 0;
    }

    .woocommerce-cart .coupon button {
        width: 100%;
    }

    .woocommerce-cart button[name="update_cart"] {
        width: 100%;
        margin-top: 12px;
    }

    /* Cart totals */
    .woocommerce-cart .cart-collaterals {
        width: 100%;
    }

    .woocommerce-cart .cart_totals {
        max-width: 100%;
        width: 100%;
    }

    .woocommerce-cart .cart_totals>h2 {
        font-size: 16px;
        padding: 15px;
    }

    .woocommerce-cart .cart_totals .shop_table {
        display: table;
        width: 100%;
    }

    .woocommerce-cart .cart_totals .shop_table th,
    .woocommerce-cart .cart_totals .shop_table td {
        padding: 12px 15px;
        font-size: 14px;
    }

    .woocommerce-cart .wc-proceed-to-checkout {
        padding: 15px;
    }

    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        padding: 14px 20px;
        font-size: 14px;
    }

    .woocommerce-cart .sa-btn-seguir {
        margin-top: 10px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .woocommerce-cart .woocommerce {
        padding: 15px 10px;
    }

    .woocommerce-cart table.shop_table tbody tr.cart_item,
    .woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item {
        padding: 12px;
    }

    .woocommerce-cart table.shop_table td.product-thumbnail {
        top: 12px;
        left: 12px;
        width: 50px !important;
    }

    .woocommerce-cart table.shop_table td.product-thumbnail img {
        width: 50px !important;
        height: 50px !important;
    }

    .woocommerce-cart table.shop_table td.product-name {
        font-size: 13px;
        margin-left: 62px;
        min-height: 50px;
    }

    .woocommerce-cart table.shop_table td.product-remove {
        top: 12px;
        right: 12px;
    }

    /* Improved tap targets for cart quantity buttons */
    .woocommerce-cart .quantity .sa-qty-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .woocommerce-cart .quantity input.qty {
        width: 38px;
        height: 32px;
        font-size: 13px;
    }

    .woocommerce-cart table.shop_table td.product-price::before,
    .woocommerce-cart table.shop_table td.product-quantity::before,
    .woocommerce-cart table.shop_table td.product-subtotal::before {
        font-size: 12px;
    }
}

/* ==========================================================================
   LIVE SEARCH - DROPDOWN
   ========================================================================== */
.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 380px;
    max-height: 450px;
    overflow-y: auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Mostrar dropdown solo cuando está activo */
.search-results.is-active,
.search-results.is-visible,
.search-results:not(:empty).show,
.header-search.is-searching .search-results {
    display: block;
}

.search-results__loading,
.search-results__empty,
.search-results__error {
    padding: 20px;
    text-align: center;
    color: var(--color-gray-550);
    font-size: 14px;
}

.search-results__loading .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-gray-250);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.search-results__list {
    padding: 8px;
}

/* Result item */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: background 0.15s ease;
}

.search-result-item:hover {
    background: var(--color-gray-50);
}

.search-result-item__image {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-gray-150);
}

.search-result-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-item__info {
    flex: 1;
    min-width: 0;
}

.search-result-item__name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.search-result-item__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

.search-result-item__price del {
    color: var(--color-gray-400);
    font-weight: 400;
    font-size: 12px;
    margin-right: 6px;
}

.search-result-item__price ins {
    text-decoration: none;
}

/* Action */
.search-result-item__action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

/* Mini variations in search */
.search-result-item__variations {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
    max-width: 120px;
}

.search-result-item__var-btn {
    padding: 4px 8px;
    background: var(--color-gray-150);
    border: 1px solid var(--color-gray-250);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-gray-750);
    cursor: pointer;
    transition: all 0.15s ease;
}

.search-result-item__var-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.search-result-item__var-btn.is-selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Add button in search */
.search-result-item__add-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-result-item__add-btn:hover:not(:disabled) {
    background: var(--gradient-primary-hover);
    transform: scale(1.05);
}

.search-result-item__add-btn:disabled {
    background: var(--color-gray-300);
    cursor: not-allowed;
}

.search-result-item__add-btn.is-loading {
    background: var(--color-primary);
}

.search-result-item__add-btn.is-added {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
}

.search-result-item__add-btn .spinner-small {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.search-result-item__no-stock {
    font-size: 11px;
    color: var(--color-gray-400);
    font-style: italic;
}

/* View all */
.search-results__view-all {
    display: block;
    padding: 14px 20px;
    background: #f8f9fa;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-top: 1px solid var(--color-gray-250);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transition: background 0.15s ease;
}

.search-results__view-all:hover {
    background: #f0f0f0;
}

/* Mobile Search Results */
.search-results--mobile {
    position: relative;
    top: 0;
    width: 100%;
    max-height: 60vh;
    margin-top: 12px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-results--mobile .search-results__list {
    padding: 8px;
}

.search-results--mobile .search-result-item {
    padding: 10px;
    gap: 10px;
}

.search-results--mobile .search-result-item__image {
    width: 50px;
    height: 50px;
}

.search-results--mobile .search-result-item__name {
    font-size: 13px;
    -webkit-line-clamp: 2;
}

.search-results--mobile .search-result-item__price {
    font-size: 12px;
}

.search-results--mobile .search-result-item__variations {
    flex-wrap: wrap;
    gap: 4px;
}

.search-results--mobile .search-result-item__var-btn {
    padding: 3px 8px;
    font-size: 10px;
}

.search-results--mobile .search-result-item__add-btn {
    width: 32px;
    height: 32px;
}

.search-results--mobile .search-results__view-all {
    padding: 12px;
    font-size: 13px;
}

/* Ensure mobile search container is relative for positioning */
.mobile-menu__search {
    position: relative;
}

/* ==========================================================================
   CTA BUTTONS - Consistent color
   ========================================================================== */
.single_add_to_cart_button,
.woocommerce .single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.wc-block-components-button {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* ==========================================================================
   FIX: Hide redundant "Home" title
   ========================================================================== */
.home .page-title,
.home .entry-title,
.home .woocommerce-products-header__title,
body.home h1.entry-title,
body.home h1.page-title {
    display: none;
}

/* ==========================================================================
   FIX: Unified quantity selectors
   ========================================================================== */
.woocommerce .quantity,
.quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-white);
}

.woocommerce .quantity .qty,
.quantity .qty {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
    appearance: textfield;
    background: transparent;
}

.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* +/- buttons */
.woocommerce .quantity .plus,
.woocommerce .quantity .minus,
.quantity .plus,
.quantity .minus {
    width: 36px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woocommerce .quantity .plus:hover,
.woocommerce .quantity .minus:hover,
.quantity .plus:hover,
.quantity .minus:hover {
    background: var(--color-primary-dark);
}

/* ==========================================================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {

    /* Header */
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-search {
        display: none;
    }

    /* Search results hidden on mobile */
    .header-search .search-results {
        display: none;
    }

    /* Shop layout */
    .shop-layout__container {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }

    .shop-sidebar {
        top: 80px;
    }

    /* Products grid */
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* ==========================================================================
   RESPONSIVE - TABLET SMALL (max-width: 900px)
   ========================================================================== */
@media (max-width: 900px) {
    .woocommerce-cart .woocommerce {
        grid-template-columns: 1fr;
        padding: 20px 15px;
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {

    /* Logo - truncate long text */
    .site-logo {
        max-width: 150px;
    }

    .site-logo__text {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-logo img {
        max-height: 40px;
    }

    /* Products grid */
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }

    /* Product card */
    .product-card {
        border-radius: 10px;
    }

    .product-card__content {
        padding: 10px;
    }

    .product-card__tags {
        top: 6px;
        left: 6px;
        gap: 3px;
    }

    /* Tags - minimum legible size (was 7px, now 9px) */
    .product-card__tag {
        padding: 4px 8px;
        font-size: 9px;
    }

    .product-card__tag-more {
        padding: 4px 8px;
        font-size: 9px;
    }

    /* Brand - minimum legible size (was 9px, now 10px) */
    .product-card__brand {
        font-size: 10px;
    }

    .product-card__badges {
        top: 6px;
        right: 6px;
        gap: 3px;
    }

    .product-card__badge {
        padding: 3px 6px;
        font-size: 8px;
    }

    .product-card__brand {
        font-size: 9px;
        margin-bottom: 3px;
    }

    .product-card__name {
        font-size: 12px;
        min-height: auto;
        margin-bottom: 6px;
    }

    .product-card__price-wrapper {
        margin-bottom: 10px;
        gap: 6px;
    }

    .product-card__price {
        font-size: 14px;
    }

    .product-card__price--old {
        font-size: 11px;
    }

    .product-card__variations {
        gap: 4px;
        margin-bottom: 10px;
    }

    .product-card__variation-btn {
        padding: 5px 8px;
        font-size: 10px;
        border-radius: 5px;
    }

    .product-card__variation-error {
        font-size: 10px;
        padding: 5px 8px;
    }

    .product-card__actions {
        gap: 6px;
    }

    /* Improved tap targets for accessibility (min 36px) */
    .product-card__qty-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .product-card__qty-value {
        width: 22px;
        font-size: 12px;
    }

    .product-card__add-btn {
        height: 32px;
        font-size: 10px;
        border-radius: 6px;
    }

    .cart-fly svg {
        width: 32px;
        height: 32px;
    }

    /* Shop layout */
    .shop-header__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .shop-header__title {
        font-size: 24px;
    }

    .shop-layout__container {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        order: -1;
    }

    .shop-products ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Categorias */
    .sa-categorias {
        padding: 35px 0;
    }

    .sa-categorias__title {
        font-size: 20px;
    }

    .sa-categorias__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* Marcas */
    .sa-marcas {
        padding: 35px 0;
    }

    .sa-marcas__title {
        font-size: 20px;
    }

    .sa-marcas__track {
        gap: 20px;
    }

    .sa-marca-card {
        flex: 0 0 140px;
        height: 80px;
        padding: 15px;
    }

    .sa-marca-card img {
        max-height: 45px;
    }

    .sa-marcas__slider::before,
    .sa-marcas__slider::after {
        width: 80px;
    }

    /* Ofertas */
    .sa-ofertas-slider {
        padding: 20px;
        margin: 20px 0;
    }

    .sa-oferta-card {
        flex: 0 0 150px;
    }

    .sa-oferta-card__add {
        font-size: 11px;
        padding: 8px 10px;
    }

    /* Cart */
    .woocommerce-cart table.shop_table thead {
        display: none;
    }

    .woocommerce-cart table.shop_table tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
        align-items: center;
        gap: 10px;
    }

    .woocommerce-cart table.shop_table tbody tr td {
        border: none;
        padding: 0;
    }

    .woocommerce-cart td.product-remove {
        position: absolute;
        top: 15px;
        right: 15px;
        width: auto;
    }

    .woocommerce-cart td.product-thumbnail {
        width: 70px;
    }

    .woocommerce-cart td.product-thumbnail img {
        width: 60px;
        height: 60px;
    }

    .woocommerce-cart td.product-name {
        flex: 1;
        padding-right: 40px;
    }

    .woocommerce-cart td.product-price {
        display: none;
    }

    .woocommerce-cart td.product-quantity {
        order: 3;
    }

    .woocommerce-cart td.product-subtotal {
        order: 4;
        margin-left: auto;
    }

    .woocommerce-cart td.actions {
        flex-direction: column;
        gap: 12px;
    }

    .woocommerce-cart .coupon {
        width: 100%;
    }

    .woocommerce-cart #coupon_code {
        flex: 1;
        width: auto;
    }

    .woocommerce-cart button[name="update_cart"] {
        float: none;
        width: 100%;
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE SMALL (max-width: 640px)
   ========================================================================== */
@media (max-width: 640px) {
    .main-header__container {
        padding: 0 var(--space-4);
    }

    .header-actions {
        gap: var(--space-2);
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE EXTRA SMALL (max-width: 500px)
   ========================================================================== */
@media (max-width: 500px) {
    .shop-breadcrumb__container {
        font-size: 12px;
    }

    .shop-header__title {
        font-size: 20px;
    }

    .shop-sidebar {
        padding: 16px;
    }

    .filter-pill {
        padding: 6px 10px;
        font-size: 11px;
    }

    .sa-categorias__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE TINY (max-width: 400px)
   ========================================================================== */
@media (max-width: 400px) {

    /* Single column for products */
    .shop-products ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products {
        gap: 8px;
    }

    .product-card__content {
        padding: 12px;
    }

    .product-card__name {
        font-size: 12px;
        min-height: auto;
    }

    .product-card__price {
        font-size: 14px;
    }

    /* Horizontal scroll for variations on very small screens */
    .product-card__variations {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 4px;
        margin-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .product-card__variations::-webkit-scrollbar {
        display: none;
    }

    .product-card__variation-btn {
        flex-shrink: 0;
        min-width: 45px;
        font-size: 10px;
        padding: 6px 8px;
    }

    .product-card__variation-error {
        font-size: 9px;
    }

    /* Show icon instead of text on tiny screens */
    .btn-text-desktop {
        display: none;
    }

    .btn-text-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-card__add-btn {
        min-width: 36px;
        padding: 0 8px;
    }

    .btn-added .btn-text-desktop {
        display: none;
    }

    .btn-added .btn-text-mobile {
        display: inline;
    }

    .btn-loading .btn-text-desktop {
        display: none;
    }

    .spinner {
        width: 14px;
        height: 14px;
    }

    .product-card__variation-btn {
        padding: 4px 6px;
        font-size: 9px;
    }

    .product-card__price--old {
        font-size: 10px;
    }
}

/* ==========================================================================
   RESPONSIVE - CATEGORIES GRID (max-width: 1100px)
   ========================================================================== */
@media (max-width: 1100px) {
    .sa-categorias__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   RESPONSIVE - SHOP PRODUCTS (max-width: 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
    .shop-products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   TOUCH DEVICES
   ========================================================================== */
@media (hover: none) {
    .product-card:hover {
        box-shadow: var(--shadow-card);
        transform: none;
    }

    .product-card:hover .product-card__image {
        transform: none;
    }

    .product-card__add-btn:hover:not(:disabled):not(.is-added) {
        transform: none;
        box-shadow: none;
    }

    /* Active state for touch */
    .product-card__add-btn:active:not(:disabled):not(.is-added) {
        background: var(--gradient-primary-hover);
        transform: scale(0.98);
    }

    .product-card__qty-btn:active:not(:disabled) {
        background-color: var(--color-gray-200);
        color: var(--color-primary);
    }
}

/* ==========================================================================
   SEARCH RESULTS - GENERAL (Non-product searches)
   ========================================================================== */
.search-results-general {
    display: grid;
    gap: 20px;
}

.search-result-card {
    display: flex;
    gap: 20px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.search-result-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.search-result-card__image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-gray-100);
}

.search-result-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-card__content {
    flex: 1;
    min-width: 0;
}

.search-result-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 10px;
    line-height: 1.3;
}

.search-result-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.search-result-card__title a:hover {
    color: var(--color-primary);
}

.search-result-card__excerpt {
    font-size: 14px;
    color: var(--color-gray-550);
    line-height: 1.6;
    margin-bottom: 12px;
}

.search-result-card__excerpt p {
    margin: 0;
}

.search-result-card__link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.search-result-card__link:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .search-result-card {
        flex-direction: column;
        gap: 15px;
    }

    .search-result-card__image {
        width: 100%;
        height: 180px;
    }

    .search-result-card__title {
        font-size: 16px;
    }
}

/* ==========================================================================
   MINIMUM PURCHASE PROGRESS BAR
   ========================================================================== */
.min-purchase-bar {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-bottom: 1px solid rgba(255, 143, 0, 0.2);
    padding: 12px 0;
}

.min-purchase-bar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.min-purchase-bar__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.min-purchase-bar__text {
    font-size: 13px;
    color: var(--color-gray-700);
}

.min-purchase-bar__text strong {
    color: var(--color-accent);
    font-weight: 600;
}

.min-purchase-bar__amount {
    font-size: 12px;
    color: var(--color-gray-500);
    font-weight: 500;
}

.min-purchase-bar__progress {
    height: 8px;
    background: rgba(255, 143, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.min-purchase-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent) 0%, #f59e0b 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
}

.min-purchase-bar__fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Complete state */
.min-purchase-bar--complete {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom-color: rgba(8, 102, 51, 0.2);
}

.min-purchase-bar__message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.min-purchase-bar__message svg {
    color: var(--color-success);
}

/* Responsive */
@media (max-width: 640px) {
    .min-purchase-bar {
        padding: 10px 0;
    }

    .min-purchase-bar__info {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .min-purchase-bar__text {
        font-size: 12px;
    }

    .min-purchase-bar__progress {
        height: 6px;
    }

    .min-purchase-bar__message {
        font-size: 13px;
    }
}

/* Checkout Disabled Notice */
.checkout-disabled-notice {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 143, 0, 0.2);
    margin-top: 15px;
}

.checkout-disabled-notice__text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 15px 0;
    font-size: 14px;
    color: var(--color-gray-700);
}

.checkout-disabled-notice__text svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.checkout-disabled-notice__text strong {
    color: var(--color-accent);
}

.checkout-button--disabled {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: var(--color-gray-300);
    color: var(--color-gray-500);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: not-allowed;
    margin-bottom: 12px;
}

.checkout-continue-shopping {
    display: inline-block;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.checkout-continue-shopping:hover {
    color: var(--color-accent);
}

/* Ajustar posición de la barra en el carrito */
.woocommerce-cart .min-purchase-bar {
    margin-bottom: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 143, 0, 0.15);
}

/* ==========================================================================
   SITE FOOTER - Modern Green & Orange Design
   ========================================================================== */
.site-footer {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #d1fae5 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Pattern */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(8, 102, 51, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(62, 209, 161, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(255, 143, 0, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

/* Footer Top Wave */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--color-white);
    clip-path: ellipse(70% 100% at 50% 0%);
}

/* Orange accent line at top of footer */
.footer-wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 2px;
}

/* Footer Main */
.footer-main {
    position: relative;
    padding: 80px 0 50px;
}

.footer-main__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 50px;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 55px;
    width: auto;
}

.footer-logo__text {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.footer-logo__text::after {
    content: '.';
    color: var(--color-accent);
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin: 0 0 24px 0;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    color: var(--color-gray-600);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.footer-social__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.footer-social__link--whatsapp:hover {
    background: #25D366;
    color: var(--color-white);
}

.footer-social__link--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--color-white);
}

/* Footer Columns */
.footer-col__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-links a:hover::before {
    width: 12px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--color-gray-600);
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
}

.footer-contact a {
    color: var(--color-gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    background: var(--color-primary);
    padding: 20px 0;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 50%, var(--color-accent) 100%);
}

.footer-bottom__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Payments */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-payments span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-payments__icons {
    display: flex;
    gap: 8px;
}

.footer-payments__icons svg {
    border-radius: 4px;
    background: var(--color-white);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-main__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .footer-col--about {
        grid-column: 1 / -1;
    }

    .footer-main {
        padding: 70px 0 40px;
    }
}

@media (max-width: 640px) {
    .footer-wave {
        height: 40px;
    }

    .footer-main {
        padding: 60px 0 35px;
    }

    .footer-main__container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col--about {
        grid-column: auto;
    }

    .footer-col__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a::before {
        display: none;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom__container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-payments {
        flex-direction: column;
        gap: 8px;
    }

    .whatsapp-float {
        bottom: env(safe-area-inset-bottom, 15px);
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* Padding para que WhatsApp no bloquee productos */
    .shop-products,
    .woocommerce ul.products {
        padding-bottom: 70px;
    }
}