:root {
    --prime: #fff0fa;
    --second: #f7239e;
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --yellow-light: #fde68a91;
    --yellow: #fde68a;
    --yellow-dark: #fbbf24;
    --yellow-low: #b7b945;
    --success: #10b981;   
    --orange: #f97316;
    --orange-dark: #ea580c;
    --text: #171717;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --bg: #f8fafc;
    --box: #f8fafc;
    --claro: #ffffff;
    --oscuro: #141414;
    --bg-dark: #0f172a;
    --bg-dark-card: #1e293b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
    --max-width: 1280px;
    --header-height: 72px;
    --sidebar-width: 280px;
    --sidebar-collapsed: 60px;
    --product-min: 220px;
    --gap: 1.25rem;
    --detail-gap: 3rem;
    --gallery-height: 500px;
    --thumb-size: 72px;
    --price-bg: #f0f9ff;
    --spec-border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow-md: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --prime: #f3b2dd;
    --second: #d3067e;
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --yellow-light: #fbbf2491;
    --yellow-dark: #e2a813;
    --yellow: #fbbf24;
    --text: #fafafa;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --bg: #0f172a;
    --box: #202027;
    --claro: #1e293b;
    --oscuro: #f8f3f3;
    --bg-dark: #020617;
    --bg-dark-card: #1e293b;
    --border: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --filter-bg: rgba(30, 41, 59, 0.8);
    --filter-border: rgba(51, 65, 85, 0.6);
    --price-bg: rgba(14, 165, 233, 0.08);
    --spec-border: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--box);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); } 50% { box-shadow: 0 0 0 12px rgba(251, 191, 36, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes wsp-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

.animate-fadeInUp { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.animate-fadeIn { animation: fadeIn 0.6s ease-out forwards; opacity: 0; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* HEADER */
.lc-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--prime); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(251, 191, 36, 0.1); transition: var(--transition); }
.lc-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.lc-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; transition: var(--transition); }
.lc-logo:hover { transform: scale(1.02); }
.lc-logo img { height: 44px; width: auto; filter: brightness(1.1); }
.lc-logo-text { font-family: sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--second); letter-spacing: -0.02em; }
.lc-nav { display: flex; align-items: center; gap: 8px; }
.lc-nav-link { position: relative; padding: 8px 16px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; border-radius: var(--radius-sm); transition: var(--transition); overflow: hidden; }
.lc-nav-link::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px; background: var(--second); transition: var(--transition); transform: translateX(-50%); }
.lc-nav-link:hover { color: var(--second); background: rgba(223, 19, 250, 0.08); }
.lc-nav-link:hover::after { width: 60%; }
.lc-icon-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--second); border-radius: 50%; background: none; border: 1px solid transparent;  cursor: pointer; transition: var(--transition); }
.lc-icon-btn:hover { background: rgba(223, 19, 250, 0.08); border: 1px solid rgba(223, 19, 250); transform: translateY(-2px); border-radius: 50%;}
.lc-icon-btn .badge { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; background: var(--orange); color: white; font-size: 0.7rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: pulse-glow 2s infinite; }
.lc-mobile-menu-btn { display: block; background: none; border: none; color: var(--second); cursor: pointer; padding：8px; }
   

/* Fade In Animation */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Toast */
.toast-container {
    position: fixed; top: calc(var(--header-height) + 1rem); right: 1rem; z-index: 100;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.toast {
    padding: 1rem 1.5rem; border-radius: var(--radius); background: var(--claro);
    box-shadow: var(--shadow-xl); border-left: 4px solid var(--primary);
    display: flex; align-items: center; gap: 0.75rem;
    animation: toastIn 0.4s ease, toastOut 0.4s ease 2.6s forwards;
    max-width: 320px;
}
.toast.success { border-left-color: #22c55e; }
.toast.error { border-left-color: #ef4444; }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* Responsive */
@media (max-width: 640px) {
    .container { padding: 0 1rem; }
    .section { padding: 3rem 0; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 0 1rem; }
    .product-image { height: 160px; }
    .services-grid { grid-template-columns: 1fr; }
    .cta-banner { height: 200px; margin: 2rem 1rem; }
    .cart-sidebar { max-width: 100%; }
}
@media (max-width: 480px) {
    .slide-content {flex-direction: column; align-items: start;}
    .products-grid { grid-template-columns: 1fr; }
    .slide-cta { padding: 1rem; font-size: 1rem; }
    .slider-arrows { bottom: 1rem; right: 1rem; }
    .slider-dots { bottom: 1rem; }
}

.no-results-message {
    grid-column: span 5;
    width: 100%; padding: 2rem; background: var(--claro);
    display: block;
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 1.25rem;
}

.no-results {
    width: 100%; padding: 2rem; background: var(--claro);
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-top: 2rem !important;
    margin-left: auto;
}

/* menu categorias */
.sidebar__accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.247);
}

.sidebar__accordion-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 0; 
  color: var(--gray-300);
  font-size: 1rem; 
  font-weight: 600; 
  transition: var(--transition);
  user-select: none;
}

.sidebar__accordion-header:hover {
  color: var(--yellow); padding-left: 12px;
}

.sidebar__accordion-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.sidebar__accordion-icon.active {
  transform: rotate(90deg);
}

.sidebar__accordion-body {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Menú de categorías principales */
.sidebar__menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 8px 16px 8px;
}

.sidebar__link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 14px;
  position: relative;
}

.sidebar__link--main {
  font-weight: 500;
  color: #333;
  border-left: 3px solid transparent;
}

.sidebar__link-icon {
  margin-right: 10px;
  font-size: 16px;
}

.sidebar__link--all {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  justify-content: center;
  padding-top: 12px;
}


/* Spinner */
.sidebar__loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.sidebar__error {
  color: #dc3545;
  padding: 12px;
  text-align: center;
  font-size: 14px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Estilos del sidebar principal */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar > a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.247);
  transition: all 0.2s ease;
  font-size: 14px;
  position: relative;
}

/* ─── Loader ─── */
.loader-wrap {
    display: none;
    padding: 2rem;
    text-align: center;
}

.loader-wrap.active {
    display: block;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── Load More ─── */
.load-more-wrap {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.btn-load-more i {
    font-size: 0.9rem;
}

/* ─── Empty State ─── */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--claro);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
    margin: 0 auto 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .gallery-layout {
        gap: 1.5rem;
        padding-top: calc(var(--header-height) + 1.5rem);
    }

    .filters-sidebar {
        width: 240px;
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .gallery-layout {
        flex-direction: column;
        padding: calc(var(--header-height) + 1rem) 1rem 2rem;
    }

    .filters-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 85%;
        max-width: 320px;
        z-index: 43;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 1.5rem;
        padding-top: calc(var(--header-height) + 1rem);
    }

    .filters-sidebar.active {
        transform: translateX(0);
    }

    .filters-toggle {
        display: flex;
        z-index: 44;
    }

    .filters-overlay {
        display: block;
    }

    .filters-overlay.active {
        opacity: 1;
    }

    .products-grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-img-wrap {
        height: 160px;
    }

    .product-name-gallery {
        font-size: 0.9rem;
        min-height: auto;
    }

    .product-price-main {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .products-grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .product-img-wrap {
        height: 140px;
    }

    .product-info-gallery {
        padding: 0.75rem;
    }

    .btn-add-cart {
        width: 36px;
        height: 36px;
    }
}

/* Show product */

/* ─── Layout Principal ─── */
.product-detail-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--detail-gap);
    align-items: start;
}

/* ─── Galería ─── */
.gallery-section {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}

.gallery-main {
    width: 100%;
    height: var(--gallery-height, 500px);
    position: relative;
    overflow: hidden;
}

/* Swiper Custom */
.swiper-gallery-main {
    width: 100%;
    height: var(--gallery-height);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.swiper-gallery-main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    position: relative;
}

.swiper-gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.4s ease;
}

.swiper-gallery-main .swiper-slide:hover img {
    transform: scale(1.03);
}

/* Loading spinner */
.img-loading-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.loading-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: var(--claro);
}

.loading-spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.img-loaded .loading-spinner {
    display: none;
}

/* Thumbnails */
.gallery-thumbs-wrap {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gallery-thumbs-wrap::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs-wrap::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.thumb-item {
    width: var(--thumb-size);
    height: var(--thumb-size);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    background: var(--bg);
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(233, 218, 12, 0.301);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

/* Swiper nav buttons custom */
.swiper-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    cursor: pointer;
}

.swiper-nav-btn:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.swiper-nav-btn.prev {
    left: 1rem;
}

.swiper-nav-btn.next {
    right: 1rem;
    transform: translateY(-50%) rotate(180deg);
}

/* ─── Info Producto ─── */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--orange);
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Título */
.product-title-detail {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

/* Specs grid */
.specs-grid {
    display: grid;
    gap: 0.75rem;
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--spec-border);
    transition: var(--transition);
}

.spec-row:hover {
    border-color: var(--yellow);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.spec-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--yellow);
    color: var(--yellow-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.spec-content {
    flex: 1;
    min-width: 0;
}

.spec-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.spec-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

/* Descripción */
.description-box {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid var(--border);
}

.description-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description-title svg {
    color: var(--orange);
}

.description-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-line;
}

/* Precios */
.prices-box {
    display: grid;
    gap: 1rem;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.price-row:hover {
    border-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.price-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-label svg {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--yellow);
    color: var(--yellow-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    flex-shrink: 0;
}

[data-theme="dark"] .spec-icon, .price-label svg {
    background: #fbbe2498;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--yellow-low);
}

.price-value.transfer {
    color: var(--orange);
}

/* Acciones */
.actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-add-cart-detail {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
    border: none;
    cursor: pointer;
}

.btn-add-cart-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.btn-add-cart-detail:active {
    transform: translateY(0);
}

.btn-add-cart-detail svg {
    width: 24px;
    height: 24px;
}

/* Compartir */
.share-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.share-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.share-btn.wsp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.share-btn.wsp:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Botón volver */
.back-section {
    margin: 2rem;
    display: flex;
    justify-content: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--claro);
    color: var(--text);
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid var(--oscuro);
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-back:hover {
    border-color: var(--yellow-dark);
    color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ─── Zoom Modal ─── */
.zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem;
}

.zoom-modal.active {
    opacity: 1;
    visibility: visible;
}

.zoom-modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.zoom-modal.active img {
    transform: scale(1);
}

.zoom-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 101;
}

.zoom-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .product-detail-layout {
        gap: 2rem;
    }

    .swiper-gallery-main {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        padding: calc(var(--header-height) + 1rem) 1rem 2rem;
        gap: 1.5rem;
    }

    .gallery-section {
        position: relative;
        top: 0;
    }

    .swiper-gallery-main {
        height: 350px;
    }

    .product-title-detail {
        font-size: 1.5rem;
    }

    .price-value {
        font-size: 1.25rem;
    }

    .actions-row {
        flex-direction: column;
    }

    .btn-add-cart-detail {
        width: 100%;
    }

    .share-box {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .swiper-gallery-main {
        height: 280px;
    }

    .spec-row {
        padding: 0.75rem;
    }

    .price-row {
        padding: 0.875rem 1rem;
    }

    .description-box, .attribute-group {
        padding: 1rem;
    }
}

.lc-hero-cta { display: inline-flex; align-items: center; gap: 12px; padding: 16px 40px; background: linear-gradient(135deg, var(--yellow-dark) 0%, var(--orange) 100%); color: var(--oscuro); font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; text-decoration: none; border-radius: 100px; box-shadow: 0 8px 32px rgba(251, 191, 36, 0.3); transition: var(--transition); position: relative; overflow: hidden; color: var(--claro); }
.lc-hero-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); background-size: 200% 100%; animation: shimmer 3s infinite; }
.lc-hero-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(251, 191, 36, 0.4); }
.lc-hero-cta svg { transition: var(--transition); }
.lc-hero-cta:hover svg { transform: translateX(4px); }

/* FOOTER */
.lc-footer { background: linear-gradient(0deg, #eff0d3 0.000%, #ffe5e6 20.000%, #f5cce8 40.000%, #d9a3db 60.000%, #d76cbd 80.000%, #f3288f 100.000%); color: var(--font); padding: 80px 24px 40px; }
.lc-footer-inner { max-width: 1280px; margin: 0 auto; }
.lc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 64px; }
.lc-footer-brand img { height: 48px; margin-bottom: 20px; filter: brightness(1.2); }
.lc-footer-brand p { font-size: 0.95rem; line-height: 1.7; color: var(--text); max-width: 300px; }
.lc-footer-title { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.05em; }
.lc-footer-links { list-style: none; }
.lc-footer-links li { margin-bottom: 12px; }
.lc-footer-links a { color: var(--text); text-decoration: none; font-size: 0.95rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.lc-footer-links a:hover { color: var(--yellow); transform: translateX(4px); }
.lc-footer-links span { color: var(--text); text-decoration: none; font-size: 0.75rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.lc-footer-socials { display: flex; gap: 12px; margin-bottom: 24px; }
.lc-social-link { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.212); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--light); text-decoration: none; transition: var(--transition); }
.lc-social-link:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateY(-3px); }
.lc-payment-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.lc-payment-badge { padding: 6px 12px; background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; font-size: 0.75rem; font-weight: 600; color: var(--light); }
.lc-footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.lc-footer-bottom p { font-size: 0.875rem; color: var(--gray-500); }
.lc-footer-bottom a { color: var(--text); text-decoration: none; font-weight: 600; }
.lc-footer-bottom a:hover { text-decoration: underline; }

/* WHATSAPP */
.lc-wsp-float { position: fixed; bottom: 40px; left: 25px; z-index: 40; width: 60px; height: 60px; background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); transition: var(--transition); animation: float 3s ease-in-out infinite; }
.lc-wsp-float::before, .lc-wsp-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; }
.lc-wsp-float::before { animation: wsp-ring 2s ease-out infinite; }
.lc-wsp-float::after { animation: wsp-ring 2s ease-out 1s infinite; }
.lc-wsp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5); }

/* SCROLL TOP */
.lc-scroll-top { position: fixed; bottom: 40px; right: 25px; z-index: 40; width: 48px; height: 48px; background: var(--white); border: 2px solid var(--gray-200); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-600); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); box-shadow: var(--shadow); }
.lc-scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.lc-scroll-top:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: #000; transform: translateY(-4px); }

/* MOBILE MENU */
.lc-mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 45; opacity: 0; visibility: hidden; transition: var(--transition); }
.lc-mobile-overlay { opacity: 1; visibility: visible; }
.lc-mobile-menu { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw; background: var(--prime); z-index: 46; padding: 80px 32px 32px; overflow-y: auto; }
.lc-mobile-menu a { width: 100%; display: block; padding: 10px 0; color: var(--font); text-decoration: none; font-size: 1rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.247); transition: var(--transition); }
.lc-mobile-menu a:hover { color: var(--yellow); padding-left: 12px; }
.lc-mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--yellow); cursor: pointer; }
/* Alpine */
.fade-enter {transition: opacity 300ms ease-out;}
.fade-enter-start {opacity: 0;}
.fade-enter-end {opacity: 1;}
.fade-leave {transition: opacity 200ms ease-in;}
.fade-leave-start {opacity: 1;}
.fade-leave-end {opacity: 0;}
/* Cloak para evitar parpadeos */
[x-cloak] {display: none !important;}
.slide-enter {transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);}
.slide-enter-start {transform: translateX(-100%);}
.slide-enter-start-right {transform: translateX(100%);}
.slide-enter-end {transform: translateX(0);}
.slide-leave {transition: transform 300ms ease-in;}
.slide-leave-start {transform: translateX(0);}
.slide-leave-end {transform: translateX(-100%);}
.slide-leave-end-right {transform: translateX(100%);}

/* REVEAL */
.reveal { opacity: 1; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .lc-footer-grid { grid-template-columns: 1fr 1fr; }
    .lc-contact-grid { gap: 40px; }
}

@media (max-width: 880px) {
    .lc-nav-link { display: none; }
    .c-hero { min-height: 50vh; }
}
@media (max-width: 768px) {
    .lc-hero-stats { gap: 24px; }
    .lc-contact-grid { grid-template-columns: 1fr; }
    .lc-footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .lc-footer-bottom { flex-direction: column; text-align: center; }
    .lc-offers-content { flex-direction: column; text-align: center; }
    .lc-form-row { grid-template-columns: 1fr; }
    .lc-scroll-top { right: 32px; bottom: 25px; }
    .lc-wsp-float { bottom: 32px; left: 25px; }
}
@media (max-width: 480px) {
    .lc-hero { min-height: 70vh; }
    .lc-section { padding: 60px 20px; }
    .lc-offers { padding: 40px 24px; margin: 0 16px; }
    .lc-products-grid { grid-template-columns: 1fr; }
    .lc-hero-stats { flex-wrap: wrap; gap: 16px; }
    .lc-stat-number { font-size: 1.5rem; }
}

/* Carrito */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 110;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #202122;
    background: linear-gradient(0deg, #f799cd, #f0d271);
    z-index: 120;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
}

.cart-panel.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--claro);
    background: linear-gradient(135deg, var(--second) 0%, var(--prime) 100%); 
}

.cart-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    opacity: 0.4;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff28;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 1rem;
    position: relative;
}

.cart-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-right: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-control button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
    display: grid;
    place-items: center;
}

.qty-control input {
    width: 44px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.25rem;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
}

.cart-item-prices {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cart-item-prices span {
    color: var(--text-muted);
}

.cart-item-prices strong {
    color: var(--text);
}

.cart-item-remove {
    position: absolute;
    width: 36px;
    height: 36px;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.cart-item-remove:hover {
    color: var(--text-muted);
    background: rgba(239, 68, 68, 0.1);
}

.cart-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    /* background: var(--bg); */
}

.cart-summary {
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.summary-row.total {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border);
    margin-top: 0.5rem;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
}

.btn-whatsapp {
    width: 100%; padding: 1rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white; font-weight: 700; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: var(--transition); margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.4); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-muted);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-outline:hover { border-color: var(--yellow-dark); color: var(--yellow-low); background: var(--yellow-light); }

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow-dark) 0%, var(--orange) 100%); 
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.close-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--text-muted);
    color: var(--text);
    border: none;
    cursor: pointer;
    transition: all 0.2s, transform 0.15s ease;
}

.close-btn:hover {
    scale: 1.1; background: rgba(255,255,255,0.3); transform: rotate(90deg);
}

.close-btn:active {
    transform: scale(0.95);
}

.close-btn svg {
    width: 20px;
    height: 20px;
}

/* Toast notifications */
.alerts-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 0.75rem; max-width: calc(100vw - 40px); pointer-events: none; }
.alert { display: flex; align-items: center; gap: 0.75rem; max-width: 28rem; padding: 1rem; border-left: 4px solid; border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); pointer-events: auto; animation: alert-slide-in 0.3s ease-out; transition: opacity 0.3s ease-out, transform 0.3s ease-out; }
.alert.alert-exit { opacity: 0; transform: translateX(100%); }
.alert--success { background: #ecfdf5; border-color: #10b981; color: #065f46; }
.alert--error { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.alert--warning { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.alert--info { background: #eff6ff; border-color: #3b82f6; color: #1e40af; }
.alert__icon { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }
.alert__message { flex: 1; margin: 0; font-size: 0.875rem; font-weight: 500; line-height: 1.5; }
.alert__close { border: 0; background: transparent; color: currentColor; cursor: pointer; font-size: 1.25rem; line-height: 1; opacity: 0.7; }
.alert__close:hover { opacity: 1; }
@keyframes alert-slide-in { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }

.attributes-label {
    font-size: 1rem;
    font-weight: 700;
}

.attribute-group{
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid var(--border);
    margin: 8px auto;
}