/*
Theme Name: Princesa Importados — diseño original para WooCommerce
Theme URI: https://princesaimportados.com.ar/
Author: Princesa Importados
Description: Adaptación del storefront original de Princesa Importados para usar WooCommerce como catálogo, carrito y checkout.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: princesa-importados-original
Tags: e-commerce, custom-logo, accessibility-ready
*/

:root {
            --princesa-pink: #e90069;
            --princesa-deep: #af0049;
            --princesa-gold: #b5852b;
            --princesa-gold-dark: #714210;
            --princesa-action: linear-gradient(135deg, #dc0064 0%, #c80058 55%, #b00049 100%);
            --princesa-action-hover: linear-gradient(135deg, #c80058, #a90045);
            /* Verde "comprar": igual que la etiqueta de descuento de oferta */
            --princesa-green: #16a34a;
            --princesa-green-deep: #15803d;
            --princesa-green-action: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
            --princesa-green-hover: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
        }
        /* ========== RESET & BASE ========== */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; scroll-padding-top: 108px; }
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: #111111;
            background: #ffffff;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        button { cursor: pointer; border: none; font-family: inherit; }

        /* ========== UTILITY ========== */
        .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

        /* ========== ANNOUNCEMENT BAR ========== */
        .announcement-bar {
            background: linear-gradient(90deg, #111111 0%, #1a0a14 50%, #111111 100%);
            color: #ffffff;
            font-size: 13px;
            font-weight: 500;
            overflow: hidden;
            position: relative;
            height: 38px;
            display: flex;
            align-items: center;
        }
        .announcement-track {
            display: flex;
            animation: marquee 20s linear infinite;
            white-space: nowrap;
        }
        .announcement-track span {
            padding: 0 60px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        @keyframes marquee {
            0%   { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* ========== HEADER ========== */
        .header {
            background: #ffffff;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06);
        }
        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 84px;
        }
        .logo-area {
            --brand-size: 23px;
            flex-shrink: 0;
            display: inline-block;
            padding: 7px 0;
        }
        .brand-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
        .brand-lockup { display: inline-flex; flex-direction: column; align-items: center; font-family: 'Montserrat', 'Inter', sans-serif; }
        .brand-crown {
            display: block;
            width: calc(var(--brand-size) * 1.65);
            height: calc(var(--brand-size) * 0.88);
            margin-bottom: calc(var(--brand-size) * 0.15);
            filter: drop-shadow(0 1px 0 rgba(99,54,0,0.16));
        }
        .brand-name {
            display: block;
            font-size: var(--brand-size);
            font-weight: 700;
            line-height: 1.08;
            letter-spacing: 0.07em;
            text-indent: 0.07em;
            white-space: nowrap;
            color: #bd0053;
        }
        @supports (background-clip: text) {
            .brand-name {
                background: linear-gradient(180deg, #97003d 4%, #f10b75 34%, #dc0064 57%, #a40040 100%);
                background-clip: text;
                -webkit-background-clip: text;
                color: transparent;
            }
        }
        .brand-subtitle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.9em;
            width: 100%;
            margin-top: 0.48em;
            font-size: calc(var(--brand-size) * 0.245);
            font-weight: 600;
            letter-spacing: 0.38em;
            line-height: 1.25;
            color: var(--princesa-gold-dark);
        }
        .brand-subtitle::before, .brand-subtitle::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #8c5812, #d3ac5d); }
        .brand-subtitle span { padding-left: 0.38em; }
        .brand-signature { font-family: 'Caveat', cursive; font-size: 27px; font-weight: 600; line-height: 1.15; }
        .logo-area:focus-visible { outline: 2px solid var(--princesa-pink); outline-offset: 5px; }
        @media (min-width: 769px) {
            .header-inner { height: 98px; }
            .logo-area { --brand-size: 28px; }
        }
        .nav-desktop { display: flex; align-items: center; gap: 26px; }
        .nav-desktop :is(a, button) {
            font-size: 14px;
            font-weight: 500;
            color: #333;
            padding: 0;
            background: none;
            transition: color 0.2s;
            position: relative;
        }
        .nav-desktop :is(a, button):hover { color: var(--princesa-deep); }
        .nav-desktop :is(a, button)::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--princesa-action);
            transition: width 0.25s;
        }
        .nav-desktop :is(a, button):hover::after { width: 100%; }
        .header-actions { display: flex; align-items: center; gap: 16px; }
        .cart-btn {
            position: relative;
            background: none;
            padding: 8px;
            border-radius: 50%;
            transition: background 0.2s;
        }
        .cart-btn:hover { background: #f3f4f6; }
        .cart-btn svg { width: 22px; height: 22px; stroke: #111; fill: none; stroke-width: 1.8; }
        .cart-count {
            position: absolute;
            top: 2px;
            right: 2px;
            background: var(--princesa-action);
            color: #fff;
            box-shadow: 0 2px 6px rgba(233,0,105,0.2);
            font-size: 10px;
            font-weight: 700;
            min-width: 17px;
            padding: 0 4px;
            height: 17px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Mobile menu button */
        .menu-toggle { display: none; background: none; padding: 8px; }
        .menu-toggle svg { width: 24px; height: 24px; stroke: #111; fill: none; stroke-width: 2; }

        /* Mobile nav overlay */
        .mobile-nav {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.4);
            z-index: 2000;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .mobile-nav.open { opacity: 1; }
        .mobile-nav-panel {
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 280px;
            background: #fff;
            padding: 24px;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }
        .mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
        .mobile-nav-panel .close-btn {
            background: none;
            font-size: 24px;
            color: #111;
            margin-bottom: 24px;
        }
        .mobile-nav-panel :is(a, .mobile-credit-link) {
            display: block;
            padding: 14px 0;
            font-size: 16px;
            font-weight: 500;
            color: #111;
            border-bottom: 1px solid #f0f0f0;
        }
        .mobile-credit-link { width: 100%; background: none; text-align: left; }

        /* ========== HERO / SLIDER ========== */
        .hero-section {
            position: relative;
            width: 100%;
            overflow: hidden;
            background: #fcf2f5;
        }
        .hero-slider {
            display: flex;
            transition: transform 0.7s cubic-bezier(0.22,0.68,0,1);
        }
        .hero-slide {
            flex: 0 0 100%;
            min-width: 100%;
            position: relative;
            min-height: 650px;
            isolation: isolate;
        }
        .hero-photo {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 67% center;
            z-index: -2;
        }
        .hero-slide::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,249,252,0.98) 0%, rgba(255,249,252,0.96) 46%, rgba(255,249,252,0.67) 70%, rgba(255,249,252,0.08) 100%); }
        .hero-shell { max-width: 1200px; margin: 0 auto; padding: 36px 20px 90px; }
        .hero-content {
            position: relative;
            text-align: center;
            max-width: 590px;
            margin: 0 auto;
            color: #24171d;
        }
        .hero-brand { --brand-size: clamp(39px, 11.8vw, 76px); margin: 0; }
        .hero-brand .brand-crown { animation: crown-reveal 0.8s ease-out both; }
        .hero-signature { display: table; position: relative; margin: 16px auto 0; padding: 0 4px 7px; font-size: clamp(26px, 7.5vw, 40px); }
        .hero-signature::after { content: ''; position: absolute; left: 7%; right: 2%; bottom: 0; height: 8px; border-top: 2px solid var(--princesa-deep); border-radius: 50%; transform: rotate(-3deg); }
        .hero-campaign { margin-top: 28px; animation: campaign-reveal 0.8s 0.12s ease-out both; }
        .hero-campaign h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(27px, 7vw, 42px); font-weight: 800; line-height: 1.14; letter-spacing: -1.1px; color: var(--princesa-deep); }
        .hero-campaign h2 span { display: block; margin-top: 7px; font-size: 0.7em; font-weight: 600; letter-spacing: -0.5px; color: var(--princesa-gold-dark); }
        .hero-campaign p { max-width: 385px; margin: 14px auto 0; font-size: 14px; line-height: 1.65; color: #594a53; }
        .hero-home .hero-campaign h2 { font-size: clamp(25px, 6vw, 36px); }
        .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 24px; }
        .hero-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            min-height: 48px;
            padding: 13px 25px;
            border-radius: 5px;
            background: var(--princesa-action);
            color: #fff;
            font-size: 14px;
            font-weight: 650;
            box-shadow: 0 4px 18px rgba(196,0,83,0.15), inset 0 1px 0 rgba(255,255,255,0.26);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
        .hero-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform 0.25s ease; }
        .hero-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(196,0,83,0.24); }
        .hero-btn:hover svg { transform: translateX(3px); }
        .hero-link { padding: 12px 0; font-size: 14px; font-weight: 600; color: #4d343e; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #c5a0b0; }
        .hero-link:hover { color: var(--princesa-deep); text-decoration-color: currentColor; }
        .hero-controls { position: absolute; bottom: 17px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; z-index: 2; }
        .slider-dots { display: flex; align-items: center; gap: 4px; }
        .slider-dot { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: transparent; }
        .slider-dot::after { content: ''; width: 7px; height: 7px; border-radius: 20px; background: #9a717f; transition: width 0.3s ease, background 0.3s ease; }
        .slider-dot.active::after { width: 28px; background: var(--princesa-deep); }
        .hero-playback { display: grid; place-items: center; width: 36px; height: 36px; background: transparent; color: #683145; }
        .hero-playback svg { width: 14px; height: 14px; fill: currentColor; }
        .hero-section :is(a, button):focus-visible { outline: 2px solid var(--princesa-deep); outline-offset: 4px; }
        @keyframes crown-reveal { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes campaign-reveal { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
        @media (min-width: 769px) {
            .hero-slide { min-height: 610px; }
            .hero-slide::before { background: linear-gradient(90deg, #fff8fc 0%, rgba(255,248,252,0.97) 32%, rgba(255,248,252,0.82) 48%, rgba(255,248,252,0.12) 69%, rgba(255,248,252,0) 100%); }
            .hero-shell { padding: 45px 24px 78px; }
            .hero-content { width: 54%; max-width: 600px; margin: 0; }
            .hero-brand { --brand-size: clamp(49px, 6.1vw, 76px); }
            .hero-signature { font-size: clamp(29px, 3.5vw, 40px); }
            .hero-campaign h2 { font-size: clamp(30px, 3.2vw, 42px); }
            .hero-controls { left: max(27%, calc((100vw - 1200px) / 2 + 320px)); }
        }
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            .hero-section *, .brand-lockup { animation: none !important; transition: none !important; }
        }

        /* La consulta informa condiciones; no aprueba creditos ni solicita datos financieros. */
        .credit-dialog { width: min(500px, calc(100% - 32px)); max-height: 90dvh; margin: auto; padding: 26px; border: 0; border-radius: 12px; background: #fff; color: #281a21; }
        .credit-dialog::backdrop { background: rgba(39,12,28,0.52); }
        .credit-dialog[open] { animation: campaign-reveal 0.25s ease-out; }
        .credit-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
        .credit-dialog-mark { --brand-size: 30px; width: 50px; height: 28px; margin: 0; }
        .credit-dialog-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #4e3440; background: #fff1f7; }
        .credit-dialog-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
        .credit-dialog h2 { margin: 17px 0 12px; font-family: 'Montserrat', sans-serif; font-size: 27px; font-weight: 750; line-height: 1.2; color: var(--princesa-deep); }
        .credit-dialog-copy { font-size: 14px; line-height: 1.7; color: #5e4c57; }
        .credit-dialog-terms { margin-top: 14px; font-size: 12px; line-height: 1.7; color: #79616e; }
        .credit-dialog label { display: block; margin-top: 20px; font-size: 12px; font-weight: 600; }
        .credit-dialog textarea { display: block; width: 100%; margin-top: 7px; padding: 12px; min-height: 140px; border: 1px solid #e5d8e0; border-radius: 6px; background: #fffbfd; color: #49353f; font: inherit; font-size: 13px; line-height: 1.6; resize: vertical; }
        .credit-whatsapp { width: 100%; margin-top: 18px; }
        .credit-whatsapp:disabled { background: #eee8ec; box-shadow: none; color: #76646f; cursor: not-allowed; transform: none; }
        .credit-pending, .credit-feedback { margin-top: 12px; font-size: 12px; line-height: 1.65; color: #9b1e55; }
        .credit-copy { display: block; width: 100%; margin-top: 6px; min-height: 44px; background: none; color: var(--princesa-deep); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
        .credit-dialog :is(a, button, textarea):focus-visible { outline: 2px solid var(--princesa-pink); outline-offset: 3px; }
        body.credit-dialog-open { overflow: hidden; }
        @media (prefers-reduced-motion: reduce) { .credit-dialog[open] { animation: none; } }

        /* ========== TRUST BANNER ========== */
        .trust-banner {
            background: #f8fafc;
            border-bottom: 1px solid #e5e7eb;
            padding: 20px 0;
        }
        .trust-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            text-align: center;
        }
        .trust-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }
        .trust-item .trust-icon { font-size: 24px; }
        .trust-item .trust-title { font-weight: 700; font-size: 13px; color: #111; }
        .trust-item .trust-sub { font-size: 12px; color: #6b7280; }

        /* ========== CATEGORIES ========== */
        .categories-section {
            padding: 32px 0 36px;
            background: #f5f6fc;
            scroll-margin-top: 80px;
        }
        .section-title {
            font-size: clamp(20px, 3vw, 28px);
            font-weight: 800;
            text-align: center;
            margin-bottom: 32px;
            letter-spacing: -0.5px;
            color: #111;
        }
        .categories-section .section-title {
            margin: 0 0 32px;
            font-size: clamp(20px, 3vw, 24px);
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.3px;
        }
        .categories-grid {
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: min(76vw, 280px);
            gap: 16px;
            overflow-x: auto;
            overscroll-behavior-x: contain;
            scroll-snap-type: x proximity;
            scroll-padding-inline: 16px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            margin-inline: -16px;
            padding: 4px 16px 8px;
        }
        .categories-grid::-webkit-scrollbar { display: none; }
        .category-card {
            position: relative;
            display: block;
            min-width: 0;
            aspect-ratio: 4 / 5;
            overflow: hidden;
            scroll-snap-align: start;
            border-radius: 0;
            background: #111111;
            color: #ffffff;
        }
        .category-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: filter 0.25s ease;
        }
        .category-card:focus-visible {
            outline: 3px solid var(--princesa-pink);
            outline-offset: 4px;
        }
        .category-fallback {
            display: none;
            position: absolute;
            inset: 24px 16px auto;
            font-size: clamp(24px, 2.7vw, 36px);
            font-weight: 800;
            line-height: 1.3;
        }
        .category-card.image-unavailable img { display: none; }
        .category-card.image-unavailable .category-fallback { display: block; }
        @media (hover: hover) {
            .category-card:hover img { filter: brightness(1.08); }
        }
        @media (min-width: 769px) {
            .categories-grid {
                grid-auto-flow: row;
                grid-auto-columns: auto;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 18px;
                overflow: visible;
                margin: 0;
                padding: 0;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            .category-card img { transition: none; }
        }

        /* ========== PRODUCTS ========== */
        .products-section { padding: 32px 0 60px; scroll-margin-top: 80px; }
        [hidden] { display: none !important; }
        .products-empty { text-align: center; color: #555; padding: 24px 0; }
        .products-reset {
            display: block;
            margin: 24px auto 0;
            padding: 10px 16px;
            color: #b81070;
            background: transparent;
            font-size: 14px;
            font-weight: 600;
            text-decoration: underline;
            text-underline-offset: 4px;
        }
        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .product-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #f0f0f0;
            transition: all 0.3s;
            position: relative;
        }
        .product-card:hover {
            box-shadow: 0 8px 30px rgba(0,0,0,0.08);
            transform: translateY(-3px);
        }
        .product-img-wrap {
            position: relative;
            background: #f9fafb;
            aspect-ratio: 1;
            overflow: hidden;
        }
        .product-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .product-photo-track {
            display: flex;
            width: 100%;
            height: 100%;
            overflow-x: auto;
            overscroll-behavior-x: contain;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }
        .product-photo-track::-webkit-scrollbar { display: none; }
        .product-image-button {
            position: relative;
            flex: 0 0 100%;
            width: 100%;
            height: 100%;
            display: block;
            scroll-snap-align: start;
            background: none;
            padding: 0;
            text-align: left;
            overflow: hidden;
        }
        .product-image-button img { transition: transform 4s ease; }
        /* Como en Argo: la segunda foto aparece en rollover; una foto hace un zoom tenue. */
        @media (hover: hover) and (prefers-reduced-motion: no-preference) {
            .product-card.has-multiple-photos:hover .product-photo-track { scroll-behavior: smooth; }
            .product-card.has-multiple-photos:hover .product-image-button img { transform: scale(1.025); }
            .product-card:not(.has-multiple-photos):hover .product-image-button img { transform: scale(1.045); }
        }
        .product-carousel-arrow {
            position: absolute;
            z-index: 3;
            top: 50%;
            transform: translateY(-50%);
            display: grid;
            place-items: center;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            color: #33252d;
            background: rgba(255,255,255,.95);
            border: 1px solid rgba(50,25,40,.12);
            box-shadow: 0 2px 8px rgba(30,10,20,.14);
            opacity: 1;
            transition: opacity .2s, background .2s, color .2s, transform .2s;
        }
        .product-carousel-arrow.prev { left: 9px; }
        .product-carousel-arrow.next { right: 9px; }
        .product-carousel-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
        .product-carousel-arrow:hover:not(:disabled) { background: var(--princesa-action); color: #fff; }
        .product-carousel-arrow:disabled { opacity: .32; cursor: default; }
        @media (hover: hover) {
            .product-carousel-arrow { opacity: 0; }
            .product-img-wrap:hover .product-carousel-arrow,
            .product-img-wrap:focus-within .product-carousel-arrow { opacity: 1; }
        }
        .product-photo-count {
            position: absolute;
            z-index: 3;
            right: 10px;
            bottom: 10px;
            padding: 4px 9px;
            border-radius: 14px;
            background: rgba(24,17,21,.72);
            color: #fff;
            font-size: 10.5px;
            line-height: 1.35;
            font-weight: 650;
            pointer-events: none;
            backdrop-filter: blur(3px);
        }
        @media (prefers-reduced-motion: reduce) {
            .product-image-button img { transition: none; }
            .product-photo-track { scroll-behavior: auto !important; }
        }
        .product-image-button:focus-visible { outline: 3px solid #c80058; outline-offset: -3px; }
        .catalog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 25px; }
        .catalog-filters button { padding: 8px 13px; border: 1px solid #eadce4; border-radius: 20px; color: #6a4355; background: #fff; font-size: 12px; font-weight: 600; }
        .catalog-filters button[aria-pressed="true"] { background: #c80058; border-color: #c80058; color: #fff; }
        .gallery-viewer { width: min(680px, calc(100% - 24px)); max-height: 92dvh; margin: auto; padding: 16px; border: 0; border-radius: 12px; background: #fff; }
        .gallery-viewer::backdrop { background: rgba(20,8,18,.8); }
        .gallery-viewer header { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
        .gallery-viewer h2 { font-size: 16px; }
        .gallery-viewer .gallery-main { display: block; width: 100%; height: min(55dvh,470px); object-fit: contain; background: #faf7f9; }
        .gallery-thumbs { display: flex; gap: 9px; overflow-x: auto; margin: 10px 0; }
        .gallery-thumbs button { flex: 0 0 66px; height: 66px; padding: 2px; border: 2px solid transparent; border-radius: 7px; background: #fff; }
        .gallery-thumbs button[aria-pressed="true"] { border-color: #c80058; }
        .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
        .gallery-description { max-height: 95px; overflow-y: auto; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
        .product-description { margin: 3px 0 10px; font-size: 12px; line-height: 1.45; color: #6a5a63; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .product-gallery-action { display: block; padding: 3px 0; margin: 0 0 8px; background: none; color: #a0004f; font-size: 12px; font-weight: 650; text-decoration: underline; }
        .badge-free-shipping {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--princesa-green);
            color: #fff;
            box-shadow: 0 2px 8px rgba(22,163,74,0.35);
            font-size: 11px;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 4px;
            z-index: 2;
        }
        .product-info { padding: 16px; }
        .product-title {
            font-size: 13px;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 36px;
        }
        .product-price-block {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 4px 8px;
            margin-bottom: 6px;
        }
        .product-price-main {
            font-size: 20px;
            font-weight: 800;
            color: #111;
            line-height: 1.2;
        }
        .product-price-compare {
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
        }
        .product-price-list {
            font-size: 13px;
            color: #9ca3af;
            text-decoration: line-through;
            line-height: 1.2;
        }
        .badge-discount {
            display: inline-flex;
            align-items: center;
            background: #16a34a;
            color: #fff;
            font-size: 11px;
            font-weight: 800;
            padding: 3px 8px;
            border-radius: 6px;
            letter-spacing: 0.2px;
            line-height: 1.2;
            white-space: nowrap;
        }
        .product-installments {
            font-size: 12px;
            color: var(--princesa-deep);
            font-weight: 600;
            margin-bottom: 3px;
        }
        .product-transfer {
            font-size: 12px;
            color: var(--princesa-gold-dark);
            font-weight: 700;
            margin-bottom: 14px;
        }
/* ========== BOTÓN COMPRAR — VERDE (igual que la etiqueta de descuento de oferta) ========== */
/* Botón Comprar: verde (#16a34a), igual que la etiqueta de oferta verde. */
        .btn-buy {
            display: block;
            width: 100%;
            padding: 11px;
            background: var(--princesa-green);
            color: #fff;
            font-weight: 700;
            font-size: 14px;
            border-radius: 8px;
            text-align: center;
            transition: all 0.25s;
            letter-spacing: 0.3px;
            box-shadow: 0 2px 8px rgba(22,163,74,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
            text-shadow: 0 1px 2px rgba(0,0,0,0.15);
        }
        .btn-buy:hover {
            background: var(--princesa-green-deep);
            box-shadow: 0 4px 16px rgba(22,163,74,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
            transform: translateY(-1px);
        }
        .btn-buy.added {
            background: var(--princesa-green-deep);
            pointer-events: none;
        }

        /* ========== CART ========== */
        body.cart-open { overflow: hidden; }
        .cart-dialog {
            position: fixed;
            inset: 0 0 0 auto;
            width: min(100%, 500px);
            max-width: 100vw;
            height: 100vh;
            height: 100dvh;
            max-height: 100dvh;
            margin: 0;
            padding: 0;
            border: 0;
            background: #ffffff;
            color: #111111;
            overflow: hidden;
            box-shadow: -8px 0 40px rgba(30,10,25,0.12);
        }
        .cart-dialog[open] { display: flex; flex-direction: column; animation: cart-enter 0.25s ease-out; }
        .cart-dialog::backdrop { background: rgba(25,12,22,0.48); }
        .cart-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-bottom: 1px solid #eee8ed; }
        .cart-brand { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: #ab096c; text-transform: uppercase; }
        .cart-head h2 { margin-top: 3px; font-size: 24px; font-weight: 750; letter-spacing: -0.6px; }
        .cart-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; background: #faf5f8; color: #111; border-radius: 50%; }
        .cart-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
        .cart-body { flex: 1; min-height: 0; padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
        .cart-preview-note { font-size: 12px; color: #71676f; line-height: 1.6; }
        .cart-connection-note { margin-top: 10px; font-size: 12px; color: #ab096c; line-height: 1.6; }
        .cart-empty { padding: 48px 0; text-align: center; }
        .cart-empty svg { width: 48px; height: 48px; margin: 0 auto 18px; fill: none; stroke: #bd087d; stroke-width: 1.2; }
        .cart-empty h3 { font-size: 21px; font-weight: 700; }
        .cart-empty p { max-width: 290px; margin: 10px auto 22px; font-size: 14px; color: #71676f; }
        .cart-items { margin-top: 8px; }
        .cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-bottom: 1px solid #eee8ed; }
        .cart-item-image { width: 64px; height: 80px; object-fit: cover; background: #f7f7f8; border-radius: 5px; }
        .cart-item-heading { display: flex; align-items: flex-start; gap: 8px; justify-content: space-between; }
        .cart-item-title { font-size: 14px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
        .cart-remove { display: grid; place-items: center; flex: 0 0 44px; width: 44px; min-height: 44px; margin-top: -8px; background: none; color: #756b73; }
        .cart-remove:hover { color: #bd087d; }
        .cart-remove svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
        .cart-unit-price { margin-top: 6px; color: #71676f; font-size: 12px; }
        .cart-line-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
        .cart-stepper { display: inline-flex; align-items: center; border: 1px solid #e7dfe5; border-radius: 5px; }
        .cart-stepper button { display: grid; place-items: center; width: 44px; height: 44px; background: none; color: #111; font-size: 21px; }
        .cart-stepper button:hover:not(:disabled) { background: #fff1f9; color: #bd087d; }
        .cart-stepper button:disabled { color: #c7bfc5; cursor: not-allowed; }
        .cart-stepper output { min-width: 28px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
        .cart-line-total { font-size: 14px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
        .cart-payment { margin-top: 24px; }
        .cart-payment label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
        .cart-payment select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #ddd4db; border-radius: 5px; color: #111; background: #fff; font: inherit; font-size: 15px; }
        .cart-payment p { margin-top: 7px; font-size: 11px; color: #71676f; }
        .cart-order-preview { margin-top: 18px; }
        .cart-order-preview summary { width: fit-content; padding: 8px 0; cursor: pointer; font-size: 13px; color: #ab096c; }
        .cart-order-preview textarea { width: 100%; min-height: 210px; padding: 12px; margin-top: 5px; resize: vertical; border: 1px solid #e7dfe5; border-radius: 5px; font: inherit; font-size: 13px; line-height: 1.6; color: #393238; background: #fdfafd; }
        .cart-storage-note { margin-top: 22px; font-size: 11px; color: #71676f; }
        .cart-customer { margin-top: 20px; }
        .cart-customer-btn {
            display: flex;
            align-items: center;
            gap: 13px;
            width: 100%;
            padding: 13px 15px;
            background: #fdf7fa;
            border: 1px dashed #e3cbd8;
            border-radius: 8px;
            text-align: left;
            transition: border-color 0.2s, background 0.2s;
        }
        .cart-customer-btn:hover { border-color: var(--princesa-pink); background: #fdf1f7; }
        .cart-customer-btn.is-complete { border-style: solid; background: #fbf4f8; }
        .cart-customer-icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--princesa-deep); border: 1px solid #eedde6; }
        .cart-customer-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
        .cart-customer-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
        .cart-customer-text strong { font-size: 13px; font-weight: 650; color: #3a2a33; }
        .cart-customer-text span { font-size: 11px; color: #8a7681; }
        .cart-customer-action { flex-shrink: 0; font-size: 12px; font-weight: 650; color: var(--princesa-deep); text-decoration: underline; text-underline-offset: 3px; }
        .cart-footer { flex-shrink: 0; padding: 18px 20px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid #eee8ed; background: #fff; }
        .cart-total-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
        .cart-total-row span { font-size: 14px; }
        .cart-total-row strong { font-size: 24px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -0.6px; }
        .cart-savings { margin-top: 4px; color: #ab096c; font-size: 12px; }
        .cart-shipping-note { margin-top: 4px; color: #71676f; font-size: 11px; line-height: 1.6; }
        .cart-primary { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 6px; background: var(--princesa-action); color: #ffffff; font-size: 14px; font-weight: 700; text-align: center; transition: box-shadow 0.2s ease, transform 0.2s ease; }
        .cart-primary:hover:not(:disabled) { box-shadow: 0 4px 16px rgba(213,0,164,0.2); transform: translateY(-1px); }
        .cart-primary:disabled { background: #ece7eb; color: #756b73; cursor: not-allowed; }
        .cart-checkout { width: 100%; margin-top: 16px; }
        .cart-secondary-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; margin-top: 6px; }
        .cart-secondary-actions button { min-height: 40px; padding: 7px 0; background: none; color: #65565f; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
        .cart-secondary-actions button:hover { color: #bd087d; }
        .cart-status { padding: 0 20px; font-size: 12px; color: #ab096c; background: #fff; line-height: 1.6; }
        .cart-status:not(:empty) { padding-top: 10px; padding-bottom: 12px; }
        .cart-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
        .cart-dialog :is(a, button, select, textarea, summary):focus-visible { outline: 2px solid #bd087d; outline-offset: 3px; }
        @keyframes cart-enter { from { transform: translateX(100%); opacity: 0.5; } to { transform: translateX(0); opacity: 1; } }
        @media (min-width: 480px) {
            .cart-head, .cart-body { padding: 24px; }
            .cart-footer { padding-inline: 24px; }
            .cart-item { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
            .cart-item-image { width: 76px; height: 90px; }
        }
        @media (max-height: 550px) {
            .cart-head { padding-block: 10px; }
            .cart-footer { padding-block: 10px; }
            .cart-head h2 { font-size: 20px; }
            .cart-brand { display: none; }
        }
        @media (prefers-reduced-motion: reduce) {
            .cart-dialog[open], .cart-primary { animation: none; transition: none; }
        }

        /* ========== CUSTOMER REVIEWS ========== */
        .reviews-section {
            --review-gap: 28px;
            --review-accent: var(--princesa-deep);
            padding: 48px 0 32px;
            background: #f5f6fc;
            scroll-margin-top: 84px;
        }
        .reviews-section .section-title {
            margin-bottom: 18px;
            font-size: clamp(21px, 3vw, 24px);
            font-weight: 700;
        }
        .reviews-summary {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px 16px;
        }
        .reviews-rating-summary { display: flex; align-items: center; gap: 10px; }
        .reviews-google-logo { width: 92px; height: 30px; object-fit: contain; }
        .reviews-score { font-size: 28px; font-weight: 750; line-height: 1; }
        .reviews-total { font-size: 12px; color: #696973; }
        .review-stars {
            --star-size: 18px;
            position: relative;
            display: inline-block;
            flex-shrink: 0;
            width: calc(var(--star-size) * 5);
            height: var(--star-size);
            vertical-align: middle;
        }
        .review-stars svg {
            display: block;
            width: calc(var(--star-size) * 5);
            height: var(--star-size);
            max-width: none;
            fill: #d5d6de;
        }
        .review-stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
        .review-stars-fill svg { fill: #ffb900; }
        .reviews-rating-summary .review-stars { --star-size: 24px; }
        .reviews-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: 10px 23px;
            border-radius: 999px;
            background: var(--princesa-action);
            color: #ffffff;
            font-size: 13px;
            font-weight: 700;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .reviews-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 16px rgba(255,20,147,0.2);
        }
        .reviews-preview-note, .reviews-connection-note {
            max-width: 650px;
            margin: 14px auto 0;
            font-size: 12px;
            line-height: 1.7;
            text-align: center;
            color: #65616b;
        }
        .reviews-preview-note strong { color: #4d4050; }
        .reviews-connection-note a { color: var(--review-accent); text-decoration: underline; }
        .reviews-carousel { position: relative; margin-top: 40px; }
        .reviews-track {
            display: flex;
            align-items: flex-start;
            gap: var(--review-gap);
            overflow-x: auto;
            overscroll-behavior-x: contain;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
            padding: 4px 0 10px;
        }
        .reviews-track::-webkit-scrollbar { display: none; }
        .review-item {
            flex: 0 0 88%;
            min-width: 0;
            scroll-snap-align: start;
            overflow-wrap: anywhere;
        }
        .review-person { display: flex; align-items: center; gap: 12px; }
        .review-avatar {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 40px;
            width: 40px;
            height: 40px;
            overflow: hidden;
            border-radius: 50%;
            background: #f8deef;
            color: #a30c6d;
            font-size: 13px;
            font-weight: 700;
        }
        .review-item:nth-child(3n + 2) .review-avatar { background: #e5e2ef; color: #625276; }
        .review-item:nth-child(3n) .review-avatar { background: #efe5de; color: #815e48; }
        .review-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .review-person-info { min-width: 0; }
        .review-author { font-size: 14px; font-weight: 700; line-height: 1.4; }
        .review-author a:hover { text-decoration: underline; }
        .review-date { margin-top: 3px; font-size: 11px; color: #76727c; }
        .review-content { display: flow-root; min-height: 166px; }
        .review-rating { margin-top: 15px; line-height: 1; }
        .review-copy { margin-top: 7px; font-size: 15px; line-height: 1.55; white-space: pre-line; }
        .review-copy:not(.is-expanded) {
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .review-more, .review-source {
            display: block;
            width: fit-content;
            min-height: 32px;
            padding: 4px 0;
            background: none;
            color: var(--review-accent);
            font-size: 14px;
            line-height: 1.5;
            text-align: left;
        }
        .review-more:hover, .review-source:hover { text-decoration: underline; text-underline-offset: 3px; }
        .review-source { margin-top: 4px; font-size: 12px; }
        .review-figure { margin-top: 23px; }
        .review-photo {
            display: block;
            width: 100%;
            aspect-ratio: 1;
            overflow: hidden;
            border-radius: 8px;
            background: #e9e9ee;
            cursor: zoom-in;
        }
        .review-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
        .review-photo:hover img { transform: scale(1.035); }
        .review-figure figcaption { margin-top: 6px; font-size: 11px; color: #77727b; }
        .review-nav {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 46%;
            z-index: 1;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: #545257;
            color: #ffffff;
            box-shadow: 0 3px 10px rgba(0,0,0,0.16);
            transition: background 0.2s ease, opacity 0.2s ease;
        }
        .review-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
        .review-nav.previous { left: -10px; }
        .review-nav.next { right: -10px; }
        .review-nav:hover:not(:disabled) { background: var(--review-accent); }
        .review-nav:disabled { opacity: 0; pointer-events: none; }
        .reviews-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 20px; }
        .review-dot { display: grid; place-items: center; width: 32px; height: 32px; background: transparent; }
        .review-dot::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: #a4a0a8;
            transition: width 0.25s ease, background 0.25s ease;
        }
        .review-dot[aria-current="true"]::before { width: 18px; background: var(--review-accent); }
        .reviews-attribution { margin-top: 14px; text-align: center; font-size: 12px; color: #69636e; }
        .reviews-attribution a { display: inline-block; margin-right: 8px; color: #5e5e5e; font-size: 14px; white-space: nowrap; }
        .reviews-attribution a:hover { text-decoration: underline; }
        .review-sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip-path: inset(50%);
            white-space: nowrap;
        }
        .reviews-section :is(a, button, [tabindex]):focus-visible,
        .review-lightbox :is(a, button):focus-visible {
            outline: 2px solid #bd087d;
            outline-offset: 3px;
        }
        .reviews-track:focus-visible, .review-photo:focus-visible { outline-offset: -2px; }
        .review-lightbox {
            width: min(720px, calc(100% - 32px));
            max-height: 90dvh;
            margin: auto;
            padding: 16px;
            border: 0;
            border-radius: 12px;
            background: #fff;
            color: #111;
        }
        .review-lightbox::backdrop { background: rgba(18,10,18,0.75); }
        .review-lightbox[open] { animation: review-dialog-in 0.2s ease-out; }
        .review-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
        .review-lightbox-bar h2 { font-size: 16px; font-weight: 700; }
        .review-lightbox-close { display: grid; place-items: center; width: 40px; height: 40px; background: #f5f0f5; border-radius: 50%; }
        .review-lightbox-close svg { width: 20px; height: 20px; fill: none; stroke: #111; stroke-width: 2; }
        .review-lightbox-image { width: 100%; max-height: 66dvh; object-fit: contain; }
        .review-lightbox-caption { margin-top: 12px; font-size: 13px; color: #615c65; }
        .review-lightbox-source { font-size: 13px; color: #bd087d; text-decoration: underline; }
        body.review-lightbox-open { overflow: hidden; }
        @keyframes review-dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
        @media (min-width: 640px) {
            .review-item { flex-basis: calc((100% - var(--review-gap)) / 2); }
            .reviews-section { padding: 48px 0 36px; }
        }
        @media (min-width: 1024px) {
            .reviews-section { --review-gap: 40px; }
            .review-item { flex-basis: calc((100% - 3 * var(--review-gap)) / 4); }
        }
        @media (min-width: 1280px) {
            .review-nav.previous { left: -48px; }
            .review-nav.next { right: -48px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .reviews-section *, .review-lightbox[open] { transition: none !important; animation: none !important; }
        }

        /* ========== FAQ ========== */
        .faq-section {
            padding: 60px 0;
            background: #f8fafc;
        }
        .faq-list {
            max-width: 760px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: #fff;
            border-radius: 10px;
            border: 1px solid #e5e7eb;
            overflow: hidden;
            transition: box-shadow 0.3s;
        }
        .faq-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
        .faq-question {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 20px;
            background: none;
            font-size: 15px;
            font-weight: 600;
            color: #111;
            text-align: left;
            gap: 12px;
        }
        .faq-question .faq-icon {
            width: 28px;
            height: 28px;
            min-width: 28px;
            border-radius: 50%;
            background: #f3f4f6;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            font-size: 16px;
            color: #6b7280;
        }
        .faq-item.open .faq-icon {
            background: var(--princesa-action);
            color: #fff;
            transform: rotate(45deg);
            box-shadow: 0 2px 10px rgba(233,0,105,0.2);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s;
        }
        .faq-answer-inner {
            padding: 0 20px 18px;
            font-size: 14px;
            color: #555;
            line-height: 1.7;
        }

        /* ========== NEWSLETTER ========== */
        .newsletter-section {
            padding: 48px 0 40px;
            background: #c80058;
            background: linear-gradient(115deg, #b6004b 0%, #d60061 48%, #b8004d 100%);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
            color: #ffffff;
            text-align: center;
            scroll-margin-top: 80px;
        }
        .newsletter-inner { max-width: 680px; margin: 0 auto; padding: 0 20px; }
        .newsletter-title {
            font-size: clamp(23px, 3.2vw, 28px);
            font-weight: 750;
            line-height: 1.25;
            letter-spacing: -0.5px;
            text-wrap: balance;
        }
        .newsletter-intro { margin-top: 12px; font-size: 14px; line-height: 1.6; }
        .newsletter-form { max-width: 520px; margin: 22px auto 0; }
        .newsletter-label {
            position: absolute;
            width: 1px;
            height: 1px;
            overflow: hidden;
            clip-path: inset(50%);
            white-space: nowrap;
        }
        .newsletter-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
        .newsletter-email {
            width: 100%;
            min-width: 0;
            min-height: 48px;
            padding: 12px 15px;
            border: 1px solid rgba(255,255,255,0.85);
            border-radius: 4px;
            background: rgba(255,255,255,0.06);
            color: #ffffff;
            font: inherit;
            font-size: 16px;
            line-height: 1.4;
            transition: background 0.2s ease, box-shadow 0.2s ease;
        }
        .newsletter-email::placeholder { color: rgba(255,255,255,0.9); opacity: 1; }
        .newsletter-email:focus { background: rgba(255,255,255,0.13); box-shadow: inset 0 0 0 1px #fff; }
        .newsletter-email[aria-invalid="true"] { box-shadow: inset 0 -3px 0 #fff; }
        .newsletter-submit {
            min-height: 48px;
            padding: 12px 18px;
            border: 1px solid #ffffff;
            border-radius: 4px;
            background: #ffffff;
            color: #aa086e;
            font-size: 14px;
            font-weight: 700;
            white-space: nowrap;
            transition: background 0.2s ease, box-shadow 0.2s ease;
        }
        .newsletter-submit:hover:not(:disabled) { background: #fff2fa; box-shadow: 0 3px 12px rgba(60,0,36,0.12); }
        .newsletter-submit:disabled { opacity: 0.7; cursor: not-allowed; }
        .newsletter-consent {
            display: flex;
            align-items: flex-start;
            gap: 9px;
            margin-top: 14px;
            text-align: left;
            font-size: 12px;
            line-height: 1.6;
            cursor: pointer;
        }
        .newsletter-consent input {
            flex: 0 0 16px;
            width: 16px;
            height: 16px;
            margin-top: 2px;
            accent-color: #ffffff;
            cursor: pointer;
        }
        .newsletter-error { margin-top: 7px; text-align: left; font-size: 12px; font-weight: 650; }
        .newsletter-status { font-size: 13px; line-height: 1.6; }
        .newsletter-status:not(:empty) { margin-top: 14px; animation: newsletter-message-in 0.2s ease-out; }
        .newsletter-preview { margin: 14px auto 0; font-size: 11px; line-height: 1.6; }
        .newsletter-privacy { max-width: 520px; margin: 8px auto 0; font-size: 12px; scroll-margin-top: 84px; }
        .newsletter-privacy summary {
            display: inline-block;
            padding: 5px 0;
            cursor: pointer;
            text-decoration: underline;
            text-underline-offset: 3px;
            list-style: none;
        }
        .newsletter-privacy summary::-webkit-details-marker { display: none; }
        .newsletter-privacy-copy { margin-top: 10px; text-align: left; line-height: 1.7; }
        .newsletter-privacy-copy p + p { margin-top: 8px; }
        .newsletter-section :is(input, button, summary):focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
        @keyframes newsletter-message-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
        @media (min-width: 560px) {
            .newsletter-fields { grid-template-columns: minmax(0, 1fr) auto; gap: 0; }
            .newsletter-email { border-radius: 4px 0 0 4px; border-right: 0; }
            .newsletter-submit { border-radius: 0 4px 4px 0; }
        }
        @media (prefers-reduced-motion: reduce) {
            .newsletter-section * { animation: none !important; transition: none !important; }
        }

        /* ========== BOTÓN MI CUENTA ========== */
        .account-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 44px;
            padding: 10px 14px;
            background: #fff;
            color: #3d2b34;
            font-size: 13px;
            font-weight: 600;
            border: 1px solid #e6dbe1;
            border-radius: 6px;
            transition: border-color 0.2s, color 0.2s, background 0.2s;
        }
        .account-btn:hover { border-color: var(--princesa-pink); color: var(--princesa-deep); background: #fffafc; }
        .account-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
        .account-btn.is-active { background: var(--princesa-action); border-color: transparent; color: #fff; }
        .account-btn.is-active:hover { background: var(--princesa-action-hover); color: #fff; }
        @media (max-width: 900px) { .account-btn-label { display: none; } .account-btn { padding: 10px; } }
        @media (max-width: 480px) { .header-actions { gap: 0; } }

        /* ========== DIÁLOGOS COMPARTIDOS ========== */
        .sheet-dialog {
            width: min(560px, calc(100% - 24px));
            max-height: 92dvh;
            margin: auto;
            padding: 0;
            border: 0;
            border-radius: 12px;
            background: #fff;
            color: #2a1a22;
            overflow: hidden;
        }
        .sheet-dialog[open] { display: flex; flex-direction: column; animation: sheet-in 0.24s ease-out; }
        .sheet-dialog::backdrop { background: rgba(40,14,30,0.5); }
        .sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; border-bottom: 1px solid #f0e7ec; }
        .sheet-head h2 { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 750; letter-spacing: -0.4px; }
        .sheet-head p { margin-top: 3px; font-size: 12px; color: #7d6a74; }
        .sheet-close { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; background: #fbf4f7; color: #4a3340; border-radius: 50%; }
        .sheet-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
        .sheet-body { flex: 1; min-height: 0; padding: 22px; overflow-y: auto; overscroll-behavior: contain; }
        .sheet-foot { flex-shrink: 0; padding: 16px 22px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid #f0e7ec; background: #fffdfe; }
        @keyframes sheet-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        body.sheet-open { overflow: hidden; }
        @media (prefers-reduced-motion: reduce) { .sheet-dialog[open] { animation: none; } }

        /* Cuenta del cliente: compras y seguimiento del envío */
        .customer-orders { margin-top: 24px; padding-top: 19px; border-top: 1px solid #f0e7ec; }
        .customer-orders > h3 { font-size: 15px; font-weight: 750; margin-bottom: 5px; }
        .customer-orders > p { font-size: 11.5px; line-height: 1.6; color: #806d78; margin-bottom: 14px; }
        .customer-order-list { display: grid; gap: 11px; }
        .customer-order { padding: 14px; border: 1px solid #eee2e9; border-radius: 10px; background: #fff; }
        .customer-order-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; }
        .customer-order-code { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: #99134d; }
        .customer-order-date { margin-top: 3px; font-size: 10.5px; color: #8a7681; }
        .customer-order-total { margin-top: 9px; font-size: 15px; font-weight: 750; }
        .customer-order-items { margin-top: 5px; font-size: 12px; line-height: 1.55; color: #665660; }
        .customer-order-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
        .customer-order-actions button { min-height: 38px; padding: 7px 11px; border: 1px solid #ecdce5; border-radius: 7px; background: #fff; color: #92204f; font-size: 11.5px; font-weight: 650; }
        .customer-order-actions button:hover { background: #fff4f9; border-color: #d7afc2; }
        .customer-order-status { margin-top: 12px; }
        .customer-track-mini { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 11px; }
        .customer-track-mini span { height: 4px; border-radius: 5px; background: #ebdfe6; }
        .customer-track-mini span.done { background: var(--princesa-pink); }
        .tracking-demo-note { margin: 8px 0 12px; padding: 9px 11px; border-radius: 7px; color: #705521; background: #fff8e9; font-size: 11px; line-height: 1.6; }
        .tracking-demo-note.info { color: #5f4e68; background: #f7f3f8; }
        .tracking-dialog { width: min(530px, calc(100% - 24px)); }
        .tracking-card { padding: 15px; border: 1px solid #efdee7; border-radius: 10px; background: #fdf9fb; }
        .tracking-code { font-family: 'JetBrains Mono', monospace; color: #a0004f; font-weight: 750; }
        .tracking-current { margin-top: 9px; font-size: 15px; font-weight: 750; color: #32232b; }
        .tracking-updated { margin-top: 3px; font-size: 11px; color: #84717c; }
        .tracking-events { position: relative; display: grid; gap: 0; margin: 19px 0; }
        .tracking-event { position: relative; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 9px; min-height: 53px; }
        .tracking-event:not(:last-child)::before { content: ''; position: absolute; left: 9px; top: 20px; bottom: -1px; width: 2px; background: #e5dbe2; }
        .tracking-event.is-done:not(:last-child)::before { background: #c80058; }
        .tracking-dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d9cdd5; background: #fff; }
        .tracking-event.is-done .tracking-dot { border-color: #c80058; background: #c80058; box-shadow: inset 0 0 0 4px #fff; }
        .tracking-event.is-current .tracking-dot { border-color: #c80058; box-shadow: 0 0 0 4px #fdeef5; }
        .tracking-event strong { display: block; font-size: 12.5px; line-height: 1.4; }
        .tracking-event small { display: block; margin-top: 2px; font-size: 10.5px; color: #86747e; line-height: 1.5; }
        .tracking-shipdata { padding: 12px 14px; border-radius: 8px; background: #f7f3f6; font-size: 11.5px; line-height: 1.7; }
        .tracking-shipdata a { color: #9f124d; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
        .tracking-qr { display: grid; justify-items: center; gap: 7px; padding: 14px 0 2px; text-align: center; }
        .tracking-qr img { width: 112px; height: 112px; object-fit: contain; background: white; border: 1px solid #eee2e9; border-radius: 7px; }
        .tracking-qr p { max-width: 300px; font-size: 10px; line-height: 1.55; color: #84717c; }
        .tracking-qr[hidden] { display: none !important; }
        .tracking-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 16px; }
        @media (max-width:520px) { .tracking-admin-grid { grid-template-columns: 1fr; } }

        /* ========== FORMULARIOS ========== */
        .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
        .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
        .field.full { grid-column: 1 / -1; }
        .field label { font-size: 12px; font-weight: 650; color: #4d3844; }
        .field label .req { color: var(--princesa-pink); }
        .field :is(input, select, textarea) {
            width: 100%;
            min-height: 44px;
            padding: 10px 12px;
            border: 1px solid #e0d5db;
            border-radius: 6px;
            background: #fff;
            color: #2a1a22;
            font: inherit;
            font-size: 14px;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .field textarea { min-height: 78px; resize: vertical; line-height: 1.6; }
        .field :is(input, select, textarea):focus { border-color: var(--princesa-pink); box-shadow: 0 0 0 3px rgba(233,0,105,0.12); outline: none; }
        .field :is(input, select, textarea)[aria-invalid="true"] { border-color: #c62828; }
        .field-error { font-size: 11px; color: #c62828; min-height: 14px; }
        .field-hint { font-size: 11px; color: #8a7681; line-height: 1.5; }
        .consent-row {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 12px 14px;
            background: #f9f2f6;
            border: 1px solid #eddfe7;
            border-radius: 7px;
            font-size: 12px;
            font-weight: 500;
            line-height: 1.6;
            color: #4d3844;
            cursor: pointer;
        }
        .consent-row input { flex-shrink: 0; width: 17px; height: 17px; min-height: 0; margin-top: 1px; accent-color: var(--princesa-pink); cursor: pointer; }
        .consent-row:hover { border-color: #e0c6d6; }
        @media (max-width: 520px) { .field-grid { grid-template-columns: 1fr; } }

        /* ========== OPERACIONES OMNICANAL (nativo en el admin) ========== */
        .ops-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
        .ops-kpi { background: #fff; border: 1px solid #eee5ea; border-radius: 11px; padding: 16px 18px; }
        .ops-kpi .ok-label { font-size: 11.5px; font-weight: 600; color: #7d6a74; text-transform: uppercase; letter-spacing: .4px; }
        .ops-kpi .ok-val { font-family: 'Montserrat', sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -.5px; margin: 6px 0 3px; }
        .ops-kpi .ok-sub { font-size: 11.5px; color: #7d6a74; }
        .ops-kpi .ok-sub b { color: #111; }
        .ops-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding-top: 8px; }
        .ops-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; justify-content: flex-end; }
        .ops-bar-pair { display: flex; gap: 3px; align-items: flex-end; height: 100%; }
        .ops-bar { width: 14px; border-radius: 4px 4px 0 0; min-height: 2px; }
        .ops-bar.loc { background: linear-gradient(180deg, #c80058, #a0004f); }
        .ops-bar.web { background: linear-gradient(180deg, #4f8cff, #2563eb); }
        .ops-bar-lbl { font-size: 10.5px; color: #7d6a74; font-weight: 600; }
        .ops-legend { display: flex; gap: 14px; font-size: 11.5px; color: #7d6a74; font-weight: 600; margin-top: 10px; }
        .ops-legend .lg { display: flex; align-items: center; gap: 6px; }
        .ops-legend .sw { width: 11px; height: 11px; border-radius: 3px; }
        .ops-grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
        .ops-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
        .ops-card { background: #fff; border: 1px solid #eee5ea; border-radius: 11px; padding: 16px 18px; }
        .ops-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
        .ops-hbar { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
        .ops-hbar .hb-name { width: 40%; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .ops-hbar .hb-track { flex: 1; height: 11px; background: #f6f0f3; border-radius: 6px; overflow: hidden; }
        .ops-hbar .hb-fill { height: 100%; border-radius: 6px; }
        .ops-hbar .hb-val { width: auto; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
        .ops-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 20px; font-size: 10.5px; font-weight: 700; }
        .ops-badge.loc { background: #f3e9f9; color: #6b2d8a; }
        .ops-badge.web { background: #eef3ff; color: #1d4ed8; }
        .ops-badge.both { background: #fdeef5; color: #a0004f; }
        .ops-badge.ok { background: #e9f7ef; color: #16683a; }
        .ops-badge.low { background: #fff6e5; color: #a06a06; }
        .ops-badge.out { background: #fdecec; color: #b3261e; }
        .ops-ch-toggle { display: inline-flex; border: 1px solid #e5d5df; border-radius: 7px; overflow: hidden; }
        .ops-ch-toggle button { padding: 4px 8px; font-size: 10.5px; font-weight: 700; color: #9b8792; background: #fff; border: none; cursor: pointer; }
        .ops-ch-toggle button.active { background: #c80058; color: #fff; }
        /* POS · Caja */
        .pos2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 380px); gap: 16px; align-items: start; }
        .pos2-list { background: #fff; border: 1px solid #eee5ea; border-radius: 11px; padding: 14px; }
        .pos2-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
        .pos2-cats button { padding: 6px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 650; background: #fff; border: 1px solid #e5d5df; color: #6b5a64; cursor: pointer; }
        .pos2-cats button.active { background: #c80058; color: #fff; border-color: #c80058; }
        .pos2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
        .pos2-item { background: #fff; border: 1px solid #eee5ea; border-radius: 10px; padding: 11px; text-align: left; cursor: pointer; transition: .14s; font-family: inherit; }
        .pos2-item:hover:not(:disabled) { border-color: #c80058; box-shadow: 0 4px 14px rgba(200,0,88,.12); }
        .pos2-item:disabled { opacity: .45; cursor: not-allowed; }
        .pos2-item .pi-n { font-size: 12px; font-weight: 650; line-height: 1.35; margin-bottom: 4px; }
        .pos2-item .pi-c { font-size: 10px; color: #9b8792; margin-bottom: 4px; }
        .pos2-item .pi-p { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px; color: #c80058; }
        .pos2-item .pi-s { font-size: 10px; font-weight: 650; color: #9b8792; }
        .pos2-item .pi-s.low { color: #a06a06; }
        .pos2-item .pi-s.out { color: #b3261e; }
        .pos2-cart { background: #fff; border: 1px solid #eee5ea; border-radius: 11px; position: sticky; top: 12px; }
        .pos2-cart h4 { padding: 14px 16px; border-bottom: 1px solid #f4ecf0; font-size: 14px; font-weight: 700; margin: 0; }
        .pos2-lines { padding: 8px 16px; min-height: 90px; max-height: 300px; overflow-y: auto; }
        .pos2-line { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f7f1f4; }
        .pos2-line:last-child { border-bottom: none; }
        .pos2-line .ln-n { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; line-height: 1.35; }
        .pos2-line .ln-n small { display: block; font-weight: 500; color: #9b8792; font-size: 10.5px; }
        .pos2-qty { display: inline-flex; align-items: center; border: 1px solid #e5d5df; border-radius: 7px; overflow: hidden; }
        .pos2-qty button { width: 25px; height: 27px; background: #fff; border: none; color: #c80058; font-size: 15px; font-weight: 700; cursor: pointer; }
        .pos2-qty button:hover { background: #fdeef5; }
        .pos2-qty span { min-width: 25px; text-align: center; font-size: 12.5px; font-weight: 700; }
        .pos2-foot { border-top: 1px solid #f4ecf0; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
        .pos2-pays { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
        .pos2-pays button { padding: 8px 10px; border: 1px solid #e5d5df; border-radius: 8px; font-size: 11.5px; font-weight: 650; color: #4d3844; background: #fff; cursor: pointer; }
        .pos2-pays button.active { border-color: #c80058; background: #fdeef5; color: #a0004f; }
        .pos2-tot { display: flex; justify-content: space-between; font-size: 13px; }
        .pos2-tot.big { font-size: 17px; font-weight: 800; font-family: 'Montserrat', sans-serif; }
        .pos2-tot.big span:last-child { color: #c80058; }
        .pos2-change { font-size: 12.5px; font-weight: 700; color: #16683a; background: #e9f7ef; border-radius: 8px; padding: 8px 12px; display: none; }
        .pos2-empty { text-align: center; padding: 30px 10px; color: #9b8792; font-size: 12.5px; }
        .pos2-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid #f4ecf0; }
        .pos2-cart .pos2-cart-head h4 { padding: 0; border: 0; margin: 0; }
        /* Tickets recientes del local (para reimprimir) */
        .pos2-recent { margin-top: 16px; background: #fff; border: 1px solid #eee5ea; border-radius: 11px; padding: 14px 16px; }
        .pos2-recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
        .pos2-recent-head h4 { font-size: 14px; font-weight: 700; margin: 0; }
        .pos2-recent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
        .pos2-recent-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid #f0e6ec; border-radius: 9px; background: #fff; cursor: pointer; text-align: left; font-family: inherit; transition: border-color .14s, background .14s; }
        .pos2-recent-row:hover { border-color: #c80058; background: #fdf6f9; }
        .pos2-recent-row .rr-main { flex: 1; min-width: 0; }
        .pos2-recent-row .rr-top { font-size: 12.5px; font-weight: 700; color: #2a1a22; }
        .pos2-recent-row .rr-sub { font-size: 11px; color: #8a7681; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .pos2-recent-row .rr-total { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13px; color: #2a1a22; white-space: nowrap; }
        .pos2-recent-row .rr-act { font-size: 11px; font-weight: 700; color: #a0004f; white-space: nowrap; }
        .cash-session-panel { margin-bottom: 16px; }
        .cash-session-panel h3 { font-size: 17px; margin-bottom: 6px; }
        .cash-session-panel .cash-help { font-size: 12px; color: #756574; line-height: 1.6; margin-bottom: 14px; }
        .cash-open-form, .cash-close-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
        .cash-open-form .field, .cash-close-form .field { min-width: min(100%, 190px); }
        .cash-open-form input, .cash-close-form input { min-height: 44px; }
        .cash-session-summary { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 12px 0; font-size: 13px; }
        .cash-session-summary b { color: #a0004f; }
        .cash-close-info { background: #fcf6f9; border: 1px solid #f0dbe6; padding: 13px; border-radius: 8px; margin: 12px 0; font-size: 12px; line-height: 1.7; }
        .cash-close-info .cash-amount { font-size: 18px; font-weight: 800; color: #a0004f; }
        .cash-history { margin-top: 16px; }
        .cash-history h3 { margin-bottom: 10px; font-size: 15px; }
        .cash-history .admin-table-wrap { background: #fff; }
        .cash-warning { margin-top: 10px; font-size: 12px; font-weight: 650; color: #9b500d; }

        /* ========== TICKET DE VENTA (vista previa + impresión) ========== */
        .tk { width: 100%; max-width: 300px; margin: 0 auto; padding: 16px 14px; background: #fff; color: #000; border: 1px dashed #cdbfc7; border-radius: 6px; font-family: 'Courier New', ui-monospace, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.45; }
        .tk-c { text-align: center; }
        .tk-logo { font-size: 26px; line-height: 1; }
        .tk-brand { font-weight: 700; font-size: 14px; letter-spacing: 2px; margin-top: 4px; }
        .tk-small { font-size: 11px; }
        .tk-title { font-weight: 700; margin-bottom: 4px; }
        .tk-sep { border-top: 1px dashed #000; margin: 8px 0; }
        .tk-row { display: flex; justify-content: space-between; gap: 10px; }
        .tk-row > span:last-child { text-align: right; overflow-wrap: anywhere; }
        .tk-item { margin-bottom: 5px; }
        .tk-item-name { font-weight: 700; overflow-wrap: anywhere; }
        .tk-total { font-size: 15px; font-weight: 700; margin: 4px 0; }
        .tk-legal { font-weight: 700; font-size: 10.5px; letter-spacing: .5px; margin-top: 8px; }
        .tk-reprint { font-weight: 700; font-size: 11px; border: 1px solid #000; padding: 3px; margin-top: 8px; }
        #ticketPreviewWrap { background: #f3eef1; border-radius: 10px; padding: 18px 10px; }
        #ticketPrintArea { display: none; }
        @media print {
            /* Al imprimir un ticket solo sale el ticket, nunca el resto de la página */
            body.print-ticket { background: #fff !important; overflow: visible !important; }
            body.print-ticket > *:not(#ticketPrintArea) { display: none !important; }
            body.print-ticket #ticketPrintArea { display: block !important; }
            body.print-ticket #ticketPrintArea .tk { width: 72mm; max-width: none; margin: 0 auto; padding: 0; border: 0; border-radius: 0; }
            body.print-cash { background: #fff !important; overflow: visible !important; }
            body.print-cash > *:not(#cashPrintArea) { display: none !important; }
            body.print-cash #cashPrintArea { display: block !important; }
            body.print-cash #cashPrintArea .tk { width: 72mm; max-width: none; margin: 0 auto; padding: 0; border: 0; border-radius: 0; }
        }
        @media (max-width: 1000px) { .pos2 { grid-template-columns: 1fr; } .ops-grid2, .ops-grid3 { grid-template-columns: 1fr; } .ops-kpis { grid-template-columns: 1fr 1fr; } }

        /* ========== PANEL DE ADMINISTRACIÓN ========== */
        .admin-overlay {
            position: fixed;
            inset: 0;
            z-index: 6000;
            background: #f7f4f6;
            display: flex;
            flex-direction: column;
        }
        .admin-overlay[hidden] { display: none; }
        .admin-login { flex: 1; display: grid; place-items: center; padding: 24px; }
        .admin-login-card { width: min(400px, 100%); padding: 32px; background: #fff; border: 1px solid #eee5ea; border-radius: 14px; box-shadow: 0 12px 40px rgba(70,20,45,0.06); }
        .admin-login-card .brand-lockup { --brand-size: 26px; margin-bottom: 20px; }
        .admin-login-card h1 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 750; letter-spacing: -0.4px; }
        .admin-login-card > p { margin: 6px 0 22px; font-size: 13px; color: #7d6a74; line-height: 1.6; }
        .admin-demo-warning {
            display: flex;
            gap: 10px;
            padding: 12px 14px;
            margin-bottom: 20px;
            background: #fff6e5;
            border: 1px solid #f2dcae;
            border-radius: 8px;
            font-size: 12px;
            line-height: 1.6;
            color: #7a5410;
        }
        .admin-demo-warning svg { flex-shrink: 0; width: 17px; height: 17px; fill: none; stroke: #b57e12; stroke-width: 1.8; margin-top: 1px; }
        .admin-shell { flex: 1; display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 0; }
        .admin-side { background: #2b1220; color: #f3e6ee; padding: 22px 16px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto; }
        .admin-side .brand-lockup { --brand-size: 19px; }
        .admin-side .brand-name { background: none; color: #fbe9f2; }
        .admin-side .brand-subtitle { color: #dcbb70; }
        .admin-side .brand-subtitle::before, .admin-side .brand-subtitle::after { background: linear-gradient(90deg, #a97c22, #dcbb70); }
        .admin-nav { display: flex; flex-direction: column; gap: 2px; }
        .admin-nav button {
            display: flex;
            align-items: center;
            gap: 11px;
            min-height: 44px;
            padding: 10px 12px;
            background: none;
            color: #d9c3d1;
            font-size: 13px;
            font-weight: 550;
            text-align: left;
            border-radius: 7px;
            transition: background 0.2s, color 0.2s;
        }
        .admin-nav button svg { flex-shrink: 0; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
        .admin-nav button:hover { background: rgba(255,255,255,0.07); color: #fff; }
        .admin-nav button[aria-current="page"] { background: var(--princesa-action); color: #fff; }
        .admin-nav .admin-nav-badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 20px; background: rgba(255,255,255,0.16); }
        .admin-nav button[aria-current="page"] .admin-nav-badge { background: rgba(255,255,255,0.26); }
        .admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
        .admin-side-foot .admin-store-note { font-size: 11px; color: #a98fa0; line-height: 1.6; }
        .admin-main { display: flex; flex-direction: column; min-height: 0; }
        .admin-topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 24px; background: #fff; border-bottom: 1px solid #eee5ea; }
        .admin-topbar h2 { font-family: 'Montserrat', sans-serif; font-size: 19px; font-weight: 750; letter-spacing: -0.3px; }
        .admin-topbar p { font-size: 12px; color: #7d6a74; margin-top: 2px; }
        .admin-topbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
        .admin-content { flex: 1; min-height: 0; padding: 24px; overflow-y: auto; overscroll-behavior: contain; }
        .admin-view[hidden] { display: none; }
        .admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 22px; }
        .admin-card { padding: 18px; background: #fff; border: 1px solid #eee5ea; border-radius: 11px; }
        .admin-card dt { font-size: 12px; color: #7d6a74; font-weight: 550; }
        .admin-card dd { margin: 7px 0 0; font-family: 'Montserrat', sans-serif; font-size: 25px; font-weight: 750; letter-spacing: -0.7px; color: var(--princesa-deep); }
        .admin-card .admin-card-note { display: block; margin-top: 5px; font-size: 11px; color: #8a7681; }
        .admin-panel { padding: 20px; background: #fff; border: 1px solid #eee5ea; border-radius: 11px; }
        .admin-panel + .admin-panel { margin-top: 18px; }
        .admin-panel h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
        .admin-panel > p { font-size: 12px; color: #7d6a74; margin-bottom: 16px; line-height: 1.6; }
        .admin-table-wrap { overflow-x: auto; border: 1px solid #f0e7ec; border-radius: 9px; }
        .admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
        .admin-table :is(th, td) { padding: 11px 13px; text-align: left; border-bottom: 1px solid #f4ecf0; vertical-align: top; }
        .admin-table th { background: #fdf9fb; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #7d6a74; white-space: nowrap; }
        .admin-table tbody tr:last-child td { border-bottom: 0; }
        .admin-table tbody tr:hover { background: #fdf9fb; }
        .admin-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
        .admin-table .actions { display: flex; gap: 6px; flex-wrap: wrap; }
        .admin-empty { padding: 34px 20px; text-align: center; color: #8a7681; font-size: 13px; }
        .admin-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 650; white-space: nowrap; }
        .admin-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
        .admin-chip[data-status="pendiente"] { background: #fff4e0; color: #8a5b06; }
        .admin-chip[data-status="confirmado"] { background: #e8f1fd; color: #14508c; }
        .admin-chip[data-status="enviado"] { background: #f3e9fd; color: #5f2a94; }
        .admin-chip[data-status="entregado"] { background: #e6f7ec; color: #136c38; }
        .admin-chip[data-status="cancelado"] { background: #fdeaea; color: #a02020; }
        .admin-chip[data-status="completado"] { background: #f3e9f9; color: #6b2d8a; }
        .admin-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-height: 38px;
            padding: 8px 14px;
            background: var(--princesa-action);
            color: #fff;
            font-size: 12px;
            font-weight: 650;
            border-radius: 6px;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .admin-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(220,0,100,0.22); }
        .admin-btn.ghost { background: #fff; color: #4d3844; border: 1px solid #e0d5db; }
        .admin-btn.ghost:hover { border-color: var(--princesa-pink); color: var(--princesa-deep); box-shadow: none; }
        .admin-btn.danger { background: #fdeaea; color: #a02020; }
        .admin-btn.small { min-height: 32px; padding: 5px 10px; font-size: 11px; }
        .admin-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
        .admin-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
        .admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
        .admin-toolbar .field { min-width: 190px; }
        .admin-search { position: relative; flex: 1; min-width: 200px; }
        .admin-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: none; stroke: #9b8792; stroke-width: 1.8; pointer-events: none; }
        .admin-search input { padding-left: 36px; }
        /* ---- Gestión de productos ---- */
        .admin-thumb { width:52px;height:52px;border-radius:8px;object-fit:cover;background:#f3f0f5;border:1px solid var(--line);display:block }
        .admin-thumb-missing { width:52px;height:52px;border-radius:8px;background:repeating-linear-gradient(45deg,#f5f2f7,#f5f2f7 6px,#efeaf2 6px,#efeaf2 12px);display:grid;place-items:center;color:#b3a9bd;font-size:9.5px;font-weight:600 }
        .admin-stock { display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;padding:3px 9px;border-radius:20px;white-space:nowrap }
        .admin-stock::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
        .admin-stock.ok{background:var(--ok-soft);color:var(--ok)}
        .admin-stock.low{background:var(--warn-soft);color:var(--warn)}
        .admin-stock.out{background:var(--crit-soft);color:var(--crit)}
        .admin-photo-cell{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
        .admin-photo-url{width:150px}
        .admin-del{width:32px;height:32px;border-radius:7px;background:var(--crit-soft);color:var(--crit);display:grid;place-items:center;transition:.15s}
        .admin-del:hover{background:var(--crit);color:#fff}
        .admin-del svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
        .np-preview-img{width:100%;height:100%;object-fit:cover}
        .admin-gallery { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
        .admin-gallery-slot { width: 86px; }
        .admin-gallery-slot img { width: 86px; height: 74px; object-fit: cover; background: #f9f3f7; border: 1px solid #eadce4; border-radius: 7px; }
        .admin-gallery-slot button { width: 100%; padding: 5px 0; background: #fdecec; color: #a02020; font-size: 11px; }
        .admin-photo-upload{width:40px;height:32px;border-radius:7px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;transition:.15s}
        .admin-photo-upload:hover{background:var(--blue);color:#fff}
        .admin-photo-upload svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
        .np-upload-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
        .admin-note { display: flex; gap: 10px; padding: 13px 15px; background: #fff6e5; border: 1px solid #f2dcae; border-radius: 9px; font-size: 12px; line-height: 1.65; color: #7a5410; margin-bottom: 18px; }
        .admin-note svg { flex-shrink: 0; width: 17px; height: 17px; fill: none; stroke: #b57e12; stroke-width: 1.8; margin-top: 1px; }
        .admin-note.ok { background: #e9f7ef; border-color: #bfe6cd; color: #16683a; }
        .admin-note.ok svg { stroke: #1c8a4c; }
        .admin-note.info { background: #eef3ff; border-color: #cfdcf8; color: #1a3f8f; }
        .admin-note.info svg { stroke: #1d4ed8; }
        .admin-note .note-body { min-width: 0; }

        /* Voz (TTS) en el chat */
        .chat-voice-btn.active { background: rgba(255,255,255,.28); color: #ffd9ec; }
        .chat-msg .chat-speak {
            display: inline-grid; place-items: center;
            width: 22px; height: 22px; margin-top: 5px;
            border-radius: 6px; background: #fdeef5; color: #a0004f;
            cursor: pointer; transition: .15s;
        }
        .chat-msg .chat-speak:hover { background: #fdeef5; transform: scale(1.08); }
        .chat-msg .chat-speak svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
        .chat-msg.speaking .chat-speak { background: #c80058; color: #fff; }
        input[type=range].chat-range { width: 100%; accent-color: #c80058; }
        .admin-order-lines { margin: 0; padding: 0; list-style: none; }
        .admin-order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 12px; }
        .admin-order-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
        .admin-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 18px; }
        .admin-detail-grid h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #7d6a74; margin-bottom: 7px; }
        .admin-detail-grid p { font-size: 13px; line-height: 1.7; color: #3a2a33; }
        @media (max-width: 860px) {
            .admin-shell { grid-template-columns: 1fr; }
            .admin-side { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; overflow-x: auto; }
            .admin-side .brand-lockup { --brand-size: 16px; flex-shrink: 0; }
            .admin-nav { flex-direction: row; gap: 4px; }
            .admin-nav button { white-space: nowrap; }
            .admin-nav button span:not(.admin-nav-badge) { display: none; }
            .admin-side-foot { margin-top: 0; flex-direction: row; align-items: center; }
            .admin-side-foot .admin-store-note, .admin-side-foot .admin-btn span { display: none; }
            .admin-content { padding: 16px; }
            .admin-topbar { padding: 14px 16px; }
        }
        @media (prefers-reduced-motion: reduce) { .admin-btn { transition: none; } }

        /* ========== MODO MANTENIMIENTO ========== */
        .maintenance-overlay {
            position: fixed;
            inset: 0;
            z-index: 4500;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background:
                radial-gradient(circle at 20% 15%, rgba(255,255,255,.08), transparent 40%),
                linear-gradient(150deg, #2b0f1e 0%, #571136 55%, #8d1150 100%);
            text-align: center;
            color: #fff;
        }
        .maintenance-overlay.open { display: flex; }
        .maintenance-crown {
            font-size: 64px;
            line-height: 1;
            margin-bottom: 14px;
            filter: drop-shadow(0 4px 14px rgba(0,0,0,.3));
        }
        .maintenance-brand {
            font-family: 'Montserrat', sans-serif;
            font-weight: 750;
            letter-spacing: 3px;
            font-size: 15px;
            color: #ffd9ec;
            margin-bottom: 26px;
        }
        .maintenance-card {
            background: rgba(255,255,255,.06);
            border: 1px solid rgba(255,255,255,.14);
            border-radius: 18px;
            padding: 34px 30px;
            max-width: 460px;
            width: 100%;
            backdrop-filter: blur(4px);
        }
        .maintenance-card h1 {
            font-size: 26px;
            font-weight: 800;
            letter-spacing: -.5px;
            margin-bottom: 12px;
        }
        .maintenance-card p {
            font-size: 14.5px;
            line-height: 1.7;
            color: #f0d3e2;
            margin-bottom: 22px;
        }
        .maintenance-wa {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            background: #fff;
            color: #a0004f;
            font-weight: 700;
            font-size: 14px;
            padding: 12px 22px;
            border-radius: 30px;
            transition: transform .2s, box-shadow .2s;
        }
        .maintenance-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
        .maintenance-wa svg { width: 18px; height: 18px; fill: currentColor; }
        .maintenance-wa[hidden] { display: none; }
        .maintenance-staff {
            margin-top: 34px;
            background: none;
            border: none;
            color: rgba(255,255,255,.55);
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            text-decoration: underline;
            text-underline-offset: 3px;
            transition: color .2s;
        }
        .maintenance-staff:hover { color: #fff; }
        .admin-maint-toggle.active { background: var(--pink); color: #fff; border-color: var(--pink); }

        /* ========== FOOTER ========== */
        .footer {
            background: #111111;
            color: #d1d5db;
            padding: 48px 0 0;
        }
        .footer-identity { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid #34262e; text-align: center; }
        .footer-brand { --brand-size: 30px; }
        .footer-brand .brand-name { background: none; color: #f8e5ee; }
        .footer-brand .brand-subtitle { color: #dfbb70; }
        .footer-identity .brand-signature { color: #f5d6e4; font-size: 30px; }
        .footer-col .footer-credit-link { display: block; padding: 0; font-size: 13px; line-height: 2; color: #e7a7c2; background: none; text-align: inherit; }
        .footer-col .footer-credit-link:hover { color: #fff; }
        @media (min-width: 769px) { .footer-identity { justify-content: space-between; } }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            padding-bottom: 40px;
        }
        .footer-col h4 {
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 18px;
            letter-spacing: -0.3px;
        }
        .footer-col p, .footer-col a {
            font-size: 13px;
            color: #9ca3af;
            line-height: 2;
            display: block;
            transition: color 0.2s;
        }
        .footer-col a:hover { color: #fff; }
        .footer-bottom {
            border-top: 1px solid #1f2937;
            padding: 20px 0;
            text-align: center;
            font-size: 12px;
            color: #6b7280;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1100px) {
            .nav-desktop { display: none; }
            .menu-toggle { display: block; }
            .mobile-nav { display: block; pointer-events: none; }
            .mobile-nav.open { pointer-events: all; }
        }
        @media (max-width: 1024px) {
            .products-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 768px) {
            .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
            .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
            .trust-grid { grid-template-columns: 1fr; gap: 10px; }
            .product-info { padding: 12px; }
            .product-price-main { font-size: 17px; }
            .btn-buy { font-size: 13px; padding: 10px; }
        }
        @media (max-width: 480px) {
            .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .product-card { border-radius: 8px; }
            .header-actions { gap: 0; flex-shrink: 0; }
        }

        /* ========== ANIMATIONS ========== */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s, transform 0.6s;
        }
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ========== SCROLL TO TOP ========== */
        .scroll-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 44px;
            height: 44px;
            background: var(--princesa-action);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            box-shadow: 0 4px 16px rgba(233,0,105,0.22), inset 0 1px 0 rgba(255,255,255,0.3);
            z-index: 900;
        }
        .scroll-top.show { opacity: 1; visibility: visible; }
        .scroll-top:hover {
            background: var(--princesa-action-hover);
            transform: translateY(-3px);
            box-shadow: 0 6px 22px rgba(233,0,105,0.3);
        }
        .scroll-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.5; }

        /* ========== SEARCH OVERLAY ========== */
        .search-btn {
            background: none;
            padding: 8px;
            border-radius: 50%;
            transition: background 0.2s;
        }
        .search-btn:hover { background: #f3f4f6; }
        .search-btn svg { width: 20px; height: 20px; stroke: #111; fill: none; stroke-width: 1.8; }

        /* ========== ASISTENTE IA (CHAT FLOTANTE) ========== */
        #chatWidget { position: fixed; inset: 0; z-index: 4000; pointer-events: none; }
        #chatWidget :is(button, input, #chatWindow) { pointer-events: auto; }
        body.sheet-open #chatWidget { display: none; }
        #chatToggle {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background: linear-gradient(135deg, #e0006f, #af0049);
            color: #fff;
            font-size: 25px;
            display: grid;
            place-items: center;
            cursor: pointer;
            box-shadow: 0 6px 24px rgba(200,0,90,.42), inset 0 1px 0 rgba(255,255,255,.3);
            transition: transform .25s, box-shadow .25s;
            z-index: 2;
        }
        #chatToggle:hover { transform: scale(1.07); box-shadow: 0 8px 30px rgba(200,0,90,.55); }
        #chatToggle .chat-badge[hidden] { display: none; }
        #chatToggle .chat-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            min-width: 19px;
            height: 19px;
            padding: 0 4px;
            border-radius: 12px;
            background: #fff;
            color: #c80058;
            font-size: 11px;
            font-weight: 800;
            display: grid;
            place-items: center;
            border: 2px solid #fff;
        }
        #chatWindow {
            position: fixed;
            bottom: 96px;
            right: 24px;
            width: 360px;
            max-width: calc(100vw - 32px);
            height: 520px;
            max-height: calc(100dvh - 116px);
            background: #fff;
            border-radius: 16px;
            border: 1px solid #f0dfe8;
            box-shadow: 0 18px 60px rgba(30,8,24,.3);
            display: none;
            flex-direction: column;
            overflow: hidden;
            z-index: 3;
        }
        #chatWindow.open { display: flex; animation: chatPop .28s ease-out; }
        @keyframes chatPop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
        .chat-head { background: linear-gradient(135deg, #2b0f1e, #571136); color: #fff; padding: 13px 14px; display: flex; align-items: center; gap: 11px; }
        .chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
        .chat-head-info { flex: 1; min-width: 0; }
        .chat-head-info strong { display: block; font-size: 14.5px; line-height: 1.25; }
        .chat-head-info span { font-size: 10.5px; color: #d9a8c2; }
        .chat-head-actions { display: flex; gap: 5px; flex-shrink: 0; }
        .chat-icon-btn { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
        .chat-icon-btn:hover { background: rgba(255,255,255,.24); }
        .chat-icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
        .chat-body { flex: 1; min-height: 0; overflow-y: auto; padding: 15px 14px; background: #faf7fa; display: flex; flex-direction: column; gap: 9px; }
        .chat-msg { max-width: 84%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; overflow-wrap: break-word; }
        .chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid #f0e3ec; border-bottom-left-radius: 4px; color: #332833; }
        .chat-msg.user { align-self: flex-end; background: linear-gradient(135deg, #e0006f, #b8004f); color: #fff; border-bottom-right-radius: 4px; }
        .chat-msg .chat-time { display: block; margin-top: 4px; font-size: 9.5px; opacity: .6; }
        .chat-typing { align-self: flex-start; background: #fff; border: 1px solid #f0e3ec; border-radius: 14px; border-bottom-left-radius: 4px; padding: 12px 14px; display: flex; gap: 5px; }
        .chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: #d9a8c2; animation: chatBlink 1.2s infinite; }
        .chat-typing span:nth-child(2) { animation-delay: .2s; }
        .chat-typing span:nth-child(3) { animation-delay: .4s; }
        @keyframes chatBlink { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
        #chatQuick[hidden] { display: none; }
        .chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 14px; background: #faf7fa; border-top: 1px dashed #f0e3ec; }
        .chat-quick button { border: 1px solid #e8cfdc; background: #fff; color: #a0004f; font-size: 11.5px; font-weight: 600; padding: 6px 11px; border-radius: 20px; cursor: pointer; transition: .2s; }
        .chat-quick button:hover { background: #fdeef5; border-color: #d9a8c2; }
        .chat-form { display: flex; gap: 8px; padding: 11px 12px; background: #fff; border-top: 1px solid #f0e3ec; }
        .chat-form input { flex: 1; min-width: 0; border: 1px solid #e5d5df; border-radius: 22px; padding: 10px 15px; font: inherit; font-size: 13.5px; }
        .chat-form input:focus { outline: none; border-color: #c80058; box-shadow: 0 0 0 3px rgba(200,0,90,.08); }
        .chat-send { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #e0006f, #b8004f); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
        .chat-send:hover:not(:disabled) { transform: scale(1.06); }
        .chat-send:disabled { opacity: .5; cursor: not-allowed; }
        .chat-send svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
        .chat-footer-note { text-align: center; font-size: 9.5px; color: #b3a0ab; padding: 0 12px 7px; background: #fff; }
        @media (max-width: 480px) {
            #chatToggle { bottom: 16px; right: 16px; width: 54px; height: 54px; }
            #chatWindow { left: 12px; right: 12px; bottom: 14px; width: auto; height: min(560px, calc(100dvh - 84px)); }
        }
        @media (prefers-reduced-motion: reduce) {
            #chatWindow.open, .chat-typing span { animation: none; }
            #chatToggle { transition: none; }
        }

/* ========== INTEGRACIÓN WOOCOMMERCE ========== */
.woocommerce .woocommerce-breadcrumb { max-width: 1200px; margin: 0 auto 18px; padding: 0 16px; color: #6b5561; font-size: 12px; }
.woocommerce .woocommerce-breadcrumb a { color: #a0004f; }
.woocommerce .woocommerce-products-header, .woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.woocommerce ul.products { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:24px auto 40px !important; padding:0 16px !important; max-width:1200px; }
.woocommerce ul.products::before,.woocommerce ul.products::after { display:none !important; content:none !important; }
.woocommerce ul.products li.product { float:none !important; width:auto !important; margin:0 !important; padding:0 0 14px; overflow:hidden; background:#fff; border:1px solid #f0e8ec; border-radius:12px; }
.woocommerce ul.products li.product a img { width:100%; aspect-ratio:1; object-fit:cover; margin:0 0 12px; background:#f9f6f8; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height:40px; padding:0 14px; color:#333; font-size:13px; font-weight:650; line-height:1.4; }
.woocommerce ul.products li.product .price { padding:0 14px; margin:10px 0; color:#a0004f; font-size:19px; font-weight:800; }
.woocommerce ul.products li.product .button { display:block; margin:12px 14px 0; padding:12px 16px; color:#fff !important; background:linear-gradient(135deg,#dc0064,#b00049) !important; border:0; border-radius:8px; text-align:center; font-size:13px; font-weight:700; }
.woocommerce span.onsale { min-width:auto; min-height:auto; padding:6px 10px; color:#fff; background:#16a34a; border-radius:20px; font-size:11px; line-height:1; }
.woocommerce div.product { max-width:1200px; margin:30px auto; padding:0 16px; }
.woocommerce div.product .product_title { color:#3b2631; font-family:'Montserrat',sans-serif; font-size:clamp(26px,4vw,38px); }
.woocommerce div.product p.price,.woocommerce div.product span.price { color:#a0004f; font-size:24px; font-weight:800; }
.woocommerce div.product form.cart .button,.woocommerce button.button.alt,.woocommerce a.button.alt { color:#fff !important; background:linear-gradient(135deg,#dc0064,#b00049) !important; border-radius:8px !important; }
.woocommerce table.shop_table { border-color:#eee1e8; border-radius:10px; }
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce .select2-container .select2-selection--single { min-height:42px; border:1px solid #e3d7de; border-radius:7px; }
.woocommerce .woocommerce-info,.woocommerce .woocommerce-message { border-top-color:#c80058; }
.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-message::before { color:#c80058; }
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button { color:#fff; background:#c80058; border-radius:8px; }
.woocommerce .quantity .qty { min-height:42px; border:1px solid #e3d7de; border-radius:7px; }
.woocommerce-page .container { max-width:1200px; margin:0 auto; padding:0 16px; }
.pi-wc-page { min-height:45vh; padding:36px 0 60px; }
.pi-empty-store { max-width:800px; margin:18px auto 0; padding:24px; text-align:center; border:1px solid #f0dce6; border-radius:14px; background:#fff9fc; color:#5a4a52; }
.pi-empty-store p { margin:0; }
.pi-review-pending { max-width:680px; margin:25px auto 0; padding:22px; background:#fff; border:1px dashed #d9b6c6; border-radius:14px; color:#665761; text-align:center; }
.pi-review-pending p { margin:0; }
.pi-footer-contact a { overflow-wrap:anywhere; }
@media (max-width: 900px) { .woocommerce ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width: 600px) { .woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } }
.catalog-filters .catalog-filter-link { display:inline-flex; align-items:center; justify-content:center; padding:8px 13px; border:1px solid #eadce4; border-radius:20px; color:#6a4355; background:#fff; font-size:12px; font-weight:600; }
.catalog-filters .catalog-filter-link:hover,.catalog-filters .catalog-filter-link.is-active { color:#fff; background:#c80058; border-color:#c80058; }
.product-image-link { display:block; width:100%; height:100%; }
.product-img-wrap .product-image-link img { display:block; width:100%; height:100%; object-fit:cover; }
.product-category-label { margin:0 0 5px; color:#8b6878; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.products-reset-wrap { margin:30px 0 0; text-align:center; }
.products-reset { display:inline-block; padding:12px 22px; border:1px solid #c80058; border-radius:6px; color:#a0004f; font-size:14px; font-weight:700; }
.products-reset:hover { color:#fff; background:#c80058; }
.products-empty { max-width:700px; margin:22px auto 0; padding:24px; border:1px dashed #d9b6c6; border-radius:12px; color:#665761; text-align:center; line-height:1.7; }
.pi-wc-page .entry-content { line-height:1.7; }
.pi-wc-page .entry-content > * { margin-bottom:1em; }
.pi-wc-page .entry-content a { color:#a0004f; text-decoration:underline; text-underline-offset:3px; }
@media (max-width: 600px) { .products-reset-wrap { margin-top:22px; } .products-reset { width:100%; } }
.pi-search-dialog { position:fixed; inset:90px 16px auto; width:min(600px,calc(100% - 32px)); max-width:600px; margin:0 auto; padding:22px; border:1px solid #eadce4; border-radius:12px; background:#fff; color:#281a21; box-shadow:0 14px 50px rgba(40,12,30,.18); }
.pi-search-dialog::backdrop { background:rgba(34,14,25,.4); }
.pi-search-dialog-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:15px; }
.pi-search-dialog-head h2 { color:#3b2631; font-family:'Montserrat',sans-serif; font-size:20px; }
.pi-search-close { width:38px; height:38px; border-radius:50%; background:#faf3f7; color:#4d3440; font-size:18px; }
.pi-product-search { display:flex; gap:9px; }
.pi-product-search input[type="search"] { flex:1; min-width:0; min-height:46px; padding:10px 13px; border:1px solid #e3d7de; border-radius:7px; font:inherit; }
.pi-product-search button { min-width:90px; padding:10px 17px; border-radius:7px; background:#c80058; color:#fff; font-weight:700; }
.pi-search-dialog :is(button,input):focus-visible { outline:2px solid #c80058; outline-offset:3px; }
@media (max-width: 480px) { .pi-search-dialog { inset:70px 10px auto; width:calc(100% - 20px); padding:17px; } .pi-product-search { flex-direction:column; } }
