/* ============================================================
   estilos2026.css - Ecamisetas.com
   Hoja de estilos unificada v4 2026
   UNICO fichero CSS externo para toda la web
   NO modifica estilos.css legacy
   ============================================================ */

/* ============================================================
   SECCION 1: OVERRIDES GLOBALES
   Neutraliza estilos.css legacy sin tocarlo
   (body, links, td, th, font, ul, hr, layout principal)
   ============================================================ */
    body {
        background: #f1f5f9 !important;
        background-image: none !important;
        height: auto !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 14px !important;
        color: #333 !important;
    }
    /* A global de estilos.css: color:#900, 8pt, bold, Verdana -- inherit para anularlo */
    #header-final a,
    .tablacontenido a,
    #footer-black a {
        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        color: inherit !important;
    }
    /* Restaurar colores que el inherit borra (necesitan #id para ganar especificidad) */
    #header-final .strip-right a       { color: #d1d5db !important; font-size: 10px !important; font-weight: 600 !important; }
    #header-final .strip-right a:hover  { color: #fff !important; }
    #header-final .link-offer           { color: #fb923c !important; }
    #header-final .nav-a                { color: #334155 !important; font-size: 15px !important; font-weight: 700 !important; }
    #header-final .nav-a:hover          { color: #005a9c !important; }
    #header-final .nav-special          { color: #005a9c !important; }
    #header-final .drop-link            { color: #64748b !important; font-size: 12px !important; font-weight: 500 !important; }
    #header-final .drop-link:hover      { color: #005a9c !important; }
    #header-final .wa-trigger-clean     { color: #374151 !important; font-size: 11px !important; font-weight: 700 !important; }
    #header-final .wd-btn-grey          { color: #374151 !important; font-size: 11px !important; font-weight: 700 !important; }
    #header-final .ph-label             { color: #005a9c !important; font-weight: 800 !important; font-size: 10px !important; }
    #header-final .ph-num               { color: #111 !important; font-weight: 800 !important; font-size: 16px !important; }
    #header-final .ph-sub               { color: #666 !important; font-size: 10px !important; }
    /* PRESUPUESTO: restaurar EXACTO el original */
    #header-final .btn-quote            { color: #fff !important; background-color: #005a9c !important; font-size: 12px !important; font-weight: 700 !important; }
    #header-final .btn-quote:hover      { background-color: #00447a !important; }
    #header-final .quote-count          { color: #fff !important; background: #dc2626 !important; font-size: 11px !important; font-weight: 800 !important; }
    #header-final .icon-cart            { fill: #fff !important; }
    /* Contenido */
    .tablacontenido .pro-card-link      { color: inherit !important; text-decoration: none !important; }
    .tablacontenido .pro-title          { color: #1e293b !important; }
    .tablacontenido .pro-title:hover    { color: #005a9c !important; }
    .tablacontenido .cat-link           { color: #475569 !important; }
    .tablacontenido .cat-link:hover     { color: #005a9c !important; }
    .tablacontenido .svc-link           { color: #334155 !important; }
    .tablacontenido .seo-block a        { color: #005a9c !important; font-weight: 700 !important; text-decoration: underline !important; }
    .tablacontenido .brand-btn          { color: #475569 !important; }
    .tablacontenido .brand-btn:hover    { color: #005a9c !important; }
    .tablacontenido .opinion-highlight a { color: #d32f2f !important; }
    /* Footer */
    #footer-black .f-links a           { color: #b0b0b0 !important; font-size: 13px !important; font-weight: 400 !important; }
    #footer-black .f-links a:hover     { color: #fff !important; }
    /* A:hover underline global -- anular */
    .tablacontenido a:hover,
    #header-final a:hover,
    #footer-black a:hover              { text-decoration: none !important; }
    .tablacontenido .seo-block a:hover { text-decoration: underline !important; }
    /* h1-h4 de estilos.css: Arial 12px -- anular dentro del contenido nuevo */
    .contenidoprincipal h1,
    .contenidoprincipal h2,
    .contenidoprincipal h3,
    .contenidoprincipal h4 { font-family: 'Roboto Condensed', sans-serif !important; }
    /* TD/TH/FONT de estilos.css: 10px geneva -- anular */
    .tablacontenido td, .tablacontenido th, .tablacontenido font {
        font-family: 'Inter', sans-serif !important; font-size: inherit !important; color: inherit !important;
    }
    /* ul margin de estilos.css */
    .tablacontenido ul, #header-final ul, #footer-black ul { margin: 0 !important; }
    /* hr de estilos.css: dotted #999 */
    .tablacontenido hr { border: none !important; border-top: 1px solid #e2e8f0 !important; margin: 10px 0 !important; }
    /* Layout */
    .tablacontenido {
        width: 1100px !important; max-width: 100% !important;
        margin: 0 auto !important; padding: 0 !important;
        background-color: #fff !important;
        box-shadow: 0 0 30px rgba(0,0,0,0.08);
        overflow: hidden !important;
    }
    .menuizquierda { float: left !important; width: 170px !important; margin: 0 !important; padding: 0 5px !important; }
    .contenidoprincipal {
        float: left !important; width: calc(100% - 180px) !important;
        margin: 0 !important; padding: 5px !important; box-sizing: border-box !important;
    }
    .pie { width: 100% !important; background-color: transparent !important; clear: both !important; height: auto !important; }


/* ============================================================
   SECCION 2: COMPONENTES (paginas de contenido)
   Breadcrumbs, titulos, colores, tallas, precios, tablas,
   tarjetas producto, formularios, detalles, presupuesto, etc.
   ============================================================ */
/* --- RESET GLOBAL TAG OVERRIDES --- */
.contenidoprincipal { padding-right: 45px !important; padding-top: 20px !important; font-family: 'Segoe UI', system-ui, Arial, sans-serif !important; font-size: 13px !important; color: #333 !important; line-height: 1.5 !important; }
.contenidoprincipal a { color: #005a9c !important; font-family: inherit !important; font-size: inherit !important; font-weight: 700 !important; text-decoration: none !important; }
.contenidoprincipal .pv-page a,
.contenidoprincipal .tb-page a,
.contenidoprincipal .cc-how-text a,
.contenidoprincipal .cc-tecnicas a,
.contenidoprincipal .cc-steps a { color: #005a9c !important; font-weight: bold !important; }
.contenidoprincipal a:hover { color: #003d73 !important; text-decoration: none !important; }
.contenidoprincipal h1 { font-family: 'Segoe UI', Arial, sans-serif !important; font-size: 22px !important; font-weight: 700 !important; margin: 0 !important; padding: 0 !important; }
.contenidoprincipal h2 { font-family: 'Segoe UI', Arial, sans-serif !important; font-size: 13px !important; margin: 0 !important; padding: 0 !important; }
.contenidoprincipal h3 { font-family: 'Segoe UI', Arial, sans-serif !important; font-size: 13px !important; margin: 0 !important; padding: 0 !important; }
.contenidoprincipal img { border: 0 !important; }
.contenidoprincipal td, .contenidoprincipal th { font: inherit !important; }
.contenidoprincipal input, .contenidoprincipal select { font-family: inherit !important; font-size: 13px !important; }
.contenidoprincipal ul, .contenidoprincipal ol { margin: 0 !important; padding: 0 !important; list-style: none !important; }
body { height: auto !important; }

/* --- BREADCRUMBS --- */
.ec26-breadcrumbs { margin-top: 5px !important; margin-bottom: 16px !important; }
.ec26-breadcrumbs ol { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 4px !important; font-size: 12px !important; }
.ec26-breadcrumbs li { display: flex !important; align-items: center !important; gap: 4px !important; color: #888 !important; float: none !important; width: auto !important; height: auto !important; border: none !important; background: none !important; padding: 0 !important; margin: 0 !important; }
.ec26-breadcrumbs li:not(:last-child)::after { content: '\203A' !important; color: #bbb !important; font-size: 14px !important; margin-left: 2px !important; }
.ec26-breadcrumbs a { color: #666 !important; font-size: 12px !important; font-weight: 400 !important; }
.ec26-breadcrumbs a:hover { color: #005a9c !important; }
.ec26-breadcrumbs .bc-current { color: #333 !important; font-weight: 600 !important; }
.ec26-breadcrumbs .bc-home-icon { width: 13px !important; height: 13px !important; fill: #888 !important; vertical-align: -2px !important; margin-right: 2px !important; }
/* Breadcrumbs (buscar/ofertas style) */
.contenidoprincipal .breadcrumbs { font-family:'Inter','Segoe UI',sans-serif !important; font-size:12px !important; color:#64748b !important; margin-bottom:16px !important; padding-top:12px !important; }
.contenidoprincipal .breadcrumbs a { color:#005a9c !important; font-size:12px !important; font-weight:400 !important; }
.contenidoprincipal .breadcrumbs a:hover { text-decoration:underline !important; }
.breadcrumbs .sep { margin:0 6px !important; color:#cbd5e1 !important; }

/* --- SECTION TITLES --- */
.ec26-section-title { font-size: 12px !important; font-weight: 700 !important; text-transform: uppercase !important; color: #333 !important; border-bottom: 1px solid #ccc !important; border-top: none !important; border-left: none !important; border-right: none !important; padding: 0 0 10px 0 !important; margin: 0 0 18px 0 !important; letter-spacing: 0.5px !important; display: block !important; width: 100% !important; background: none !important; background-image: none !important; height: auto !important; }

/* --- COLOR SECTION (bordered box) --- */
.ec26-colors-section { border: 1px solid #ddd !important; border-radius: 10px !important; padding: 16px 14px !important; margin-bottom: 24px !important; background: #fff !important; }
.ec26-colors-section .ec26-section-title { margin-bottom: 14px !important; border-bottom-color: #ccc !important; }

/* --- COLOR GRID (uniform rectangles, contain, no crop) --- */
.ec26-color-grid { display: flex !important; flex-wrap: wrap !important; gap: 4px !important; width: 100% !important; }
.ec26-color-swatch { text-align: center !important; cursor: pointer !important; float: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; width: 68px !important; padding: 5px 3px !important; border-radius: 6px !important; transition: background 0.15s !important; border: none !important; background: none !important; margin: 0 !important; position: relative !important; }
.ec26-color-swatch:hover { background: #f0f4ff !important; }
.ec26-color-rect { width: 56px !important; height: 56px !important; border-radius: 6px !important; border: 1px solid #ddd !important; margin: 0 auto 4px !important; display: block !important; cursor: pointer !important; transition: border-color 0.2s !important; }
.ec26-color-swatch:hover .ec26-color-rect { border-color: #005a9c !important; }
.ec26-color-img { width: 56px !important; height: 56px !important; object-fit: contain !important; border-radius: 6px !important; border: 1px solid #eee !important; display: block !important; margin: 0 auto 4px !important; cursor: pointer !important; transition: border-color 0.2s !important; background: #fff !important; }
.ec26-color-swatch:hover .ec26-color-img { border-color: #005a9c !important; }
.ec26-color-name { display: block !important; font-size: 9px !important; color: #444 !important; line-height: 1.15 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; max-width: 68px !important; margin: 0 auto !important; font-weight: 500 !important; }

/* --- PRODUCT CARDS (grid, homologadas) --- */
.ec26-card-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)) !important; gap: 14px !important; width: 100% !important; }
.ec26-card-link { display: block !important; text-decoration: none !important; color: inherit !important; min-width: 0 !important; overflow: hidden !important; font-weight: 400 !important; }
.ec26-card-link:hover { text-decoration: none !important; }
.ec26-card { background: #fff !important; border-radius: 8px !important; box-shadow: none !important; transition: all .25s !important; height: 100% !important; display: flex !important; flex-direction: column !important; border: none !important; }
.ec26-card:hover { transform: translateY(-3px) !important; box-shadow: none !important; }
.ec26-card-img { background: #f5f5f5 !important; display: flex !important; align-items: center !important; justify-content: center !important; position: relative !important; padding: 10px !important; height: 120px !important; margin: 8px 8px 0 !important; border-radius: 6px !important; overflow: hidden !important; }
.ec26-card-img img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; transition: transform .3s !important; display: block !important; border: 0 !important; border-radius: 4px !important; }
.ec26-card:hover .ec26-card-img img { transform: scale(1.04) !important; }
.ec26-card-badge { position: absolute !important; top: 6px !important; left: 6px !important; background: #d32f2f !important; color: #fff !important; font-size: 9px !important; font-weight: 800 !important; padding: 2px 7px !important; border-radius: 3px !important; text-transform: uppercase !important; z-index: 1 !important; }
.ec26-card-badge.brand { background: #005a9c !important; }
.ec26-card-info { padding: 8px 10px 10px !important; flex-grow: 1 !important; display: flex !important; flex-direction: column !important; overflow: hidden !important; }
.ec26-card-ref { font-size: 10px !important; color: #94a3b8 !important; margin-bottom: 2px !important; font-weight: 400 !important; display: block !important; }
.ec26-card-name { font-size: 12px !important; font-weight: 600 !important; color: #1e293b !important; line-height: 1.3 !important; margin-bottom: 4px !important; overflow: hidden !important; text-overflow: ellipsis !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; }
.ec26-card-price { font-size: 14px !important; font-weight: 700 !important; color: #dc2626 !important; margin-top: auto !important; display: block !important; }
.ec26-card-price small { font-size: 10px !important; color: #999 !important; font-weight: 400 !important; margin-right: 2px !important; }

/* --- CARDS ARTICULOS (sistema compartido buscar.asp / ofertas.asp) --- */
.results-grid { display:grid !important; grid-template-columns:repeat(4,1fr) !important; gap:18px !important; margin-bottom:30px !important; max-width:100% !important; overflow:hidden !important; }
.contenidoprincipal .result-card-link { display:block !important; text-decoration:none !important; color:inherit !important; min-width:0 !important; overflow:hidden !important; font-weight:400 !important; }
.contenidoprincipal .result-card-link:hover { color:inherit !important; text-decoration:none !important; }
.result-card { background:#fff !important; border-radius:12px !important; overflow:hidden !important; box-shadow:0 1px 8px rgba(0,0,0,.06) !important; transition:all .25s !important; height:100% !important; display:flex !important; flex-direction:column !important; }
.result-card:hover { transform:translateY(-4px) !important; box-shadow:0 8px 25px rgba(0,90,156,.13) !important; }
.result-img-box { height:240px !important; overflow:hidden !important; background:#f8fafc !important; display:flex !important; align-items:center !important; justify-content:center !important; position:relative !important; padding:8px !important; border-radius:12px !important; }
.result-img { max-width:100% !important; max-height:100% !important; object-fit:contain !important; transition:transform .3s !important; border-radius:8px !important; border:0 !important; }
.result-card:hover .result-img { transform:scale(1.05) !important; }
.result-badges { position:absolute !important; top:8px !important; left:8px !important; display:flex !important; flex-direction:column !important; gap:4px !important; z-index:2 !important; transition:opacity .25s !important; }
.result-card:hover .result-badges { opacity:0 !important; }
.badge-brand { display:inline-block !important; background:#005a9c !important; color:#fff !important; font-size:9px !important; font-weight:700 !important; padding:3px 8px !important; border-radius:4px !important; text-transform:uppercase !important; letter-spacing:.3px !important; font-family:'Inter','Segoe UI',sans-serif !important; }
.badge-oferta { display:inline-block !important; background:#d32f2f !important; color:#fff !important; font-size:9px !important; font-weight:700 !important; padding:3px 8px !important; border-radius:4px !important; text-transform:uppercase !important; letter-spacing:.3px !important; font-family:'Inter','Segoe UI',sans-serif !important; }
.result-info { padding:12px 14px !important; flex-grow:1 !important; display:flex !important; flex-direction:column !important; overflow:hidden !important; }
.result-ref { font-family:'Inter','Segoe UI',sans-serif !important; font-size:10px !important; color:#94a3b8 !important; margin-bottom:6px !important; font-weight:400 !important; }
.result-name { font-family:'Inter','Segoe UI',sans-serif !important; font-size:13px !important; font-weight:700 !important; color:#1e293b !important; margin-bottom:2px !important; line-height:1.3 !important; max-height:2.6em !important; overflow:hidden !important; word-break:break-word !important; }
.result-name mark { background:#fef3c7 !important; color:inherit !important; padding:0 1px !important; border-radius:2px !important; }
.result-colors { display:flex !important; flex-wrap:wrap !important; gap:4px !important; margin-bottom:8px !important; }
.color-dot { width:22px !important; height:22px !important; border-radius:50% !important; overflow:hidden !important; border:2px solid #e2e8f0 !important; transition:all .2s !important; cursor:pointer !important; flex-shrink:0 !important; }
.color-dot:hover { border-color:#005a9c !important; transform:scale(1.15) !important; }
.color-dot img { width:100% !important; height:100% !important; object-fit:cover !important; display:block !important; border:0 !important; }
.color-more { font-family:'Inter','Segoe UI',sans-serif !important; font-size:10px !important; color:#64748b !important; font-weight:700 !important; align-self:center !important; white-space:nowrap !important; margin-left:2px !important; }
.result-price-row { display:flex !important; align-items:center !important; gap:8px !important; margin-top:auto !important; }
.result-price { font-family:'Inter','Segoe UI',sans-serif !important; font-size:16px !important; font-weight:700 !important; color:#dc2626 !important; }
.result-price small { font-size:11px !important; color:#999 !important; font-weight:400 !important; margin-right:2px !important; }
.result-price-old { font-family:'Inter','Segoe UI',sans-serif !important; font-size:11px !important; color:#94a3b8 !important; text-decoration:line-through !important; font-weight:400 !important; }
.result-no-img { width:100% !important; height:100% !important; flex-direction:column !important; align-items:center !important; justify-content:center !important; background:linear-gradient(135deg,#f1f5f9 0%,#e2e8f0 100%) !important; border-radius:8px !important; }
.result-no-img svg { width:48px !important; height:48px !important; opacity:.3 !important; }
.result-no-img span { font-family:'Inter','Segoe UI',sans-serif !important; font-size:11px !important; color:#94a3b8 !important; margin-top:8px !important; font-weight:500 !important; }
@media(max-width:1000px){ .results-grid { grid-template-columns:repeat(3,1fr) !important; } }
@media(max-width:650px){ .results-grid { grid-template-columns:repeat(2,1fr) !important; } }
@media(max-width:420px){ .results-grid { grid-template-columns:1fr !important; } }

/* --- Ofertas header --- */
.of-header { margin-bottom:16px !important; }
.of-header h1 { font-size:22px !important; color:#002147 !important; margin:0 0 6px !important; font-weight:800 !important; }
.of-header p { font-size:13px !important; color:#475569 !important; line-height:1.6 !important; margin:0 !important; }
.of-count { display:inline-block !important; background:#fef2f2 !important; color:#dc2626 !important; font-size:11px !important; font-weight:700 !important; padding:3px 12px !important; border-radius:20px !important; margin-top:8px !important; }
.of-empty { text-align:center !important; padding:60px 20px !important; color:#64748b !important; font-size:14px !important; }

/* --- SOCIAL SHARE --- */
.ec26-social { margin-top: 12px !important; padding-top: 0 !important; border-top: none !important; display: block !important; width: 100% !important; margin-bottom: 6px !important; }
.ec26-social-title { font-size: 10px !important; color: #999 !important; text-transform: uppercase !important; font-weight: 600 !important; margin-bottom: 6px !important; letter-spacing: 0.5px !important; text-align: left !important; }
.ec26-social-btns { display: flex !important; gap: 6px !important; flex-wrap: wrap !important; justify-content: flex-start !important; }
.ec26-share-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 32px !important; height: 32px !important; border-radius: 50% !important; border: 1px solid #ddd !important; background: #fff !important; cursor: pointer !important; color: #777 !important; padding: 0 !important; font-size: 14px !important; font-weight: 400 !important; transition: all 0.2s !important; }
.ec26-share-btn:hover { border-color: transparent !important; color: #fff !important; transform: translateY(-2px) !important; box-shadow: 0 3px 8px rgba(0,0,0,0.15) !important; }
.ec26-share-btn:hover.s-wa { background: #25D366 !important; }
.ec26-share-btn:hover.s-fb { background: #1877F2 !important; }
.ec26-share-btn:hover.s-tw { background: #1DA1F2 !important; }
.ec26-share-btn:hover.s-em { background: #EA4335 !important; }
.ec26-share-btn:hover.s-ig { background: #E4405F !important; }
.ec26-share-btn:hover.s-cp { background: #555 !important; }
.ec26-share-btn svg { width: 14px !important; height: 14px !important; fill: currentColor !important; }

/* --- PILLS (tecnicas personalizacion) --- */
.ec26-pills { padding: 12px 14px !important; background: #f8f9fa !important; border-radius: 8px !important; border: 1px solid #e9ecef !important; display: block !important; width: 100% !important; background-image: none !important; box-sizing: border-box !important; }

/* --- OUTLINE BUTTON (for "Ver tabla de medidas" etc) --- */
.contenidoprincipal a.ec26-btn-outline { display: inline-flex !important; align-items: center !important; gap: 4px !important; background: #fff !important; border: 1px solid #bbb !important; color: #555 !important; font-size: 11px !important; padding: 5px 14px !important; border-radius: 20px !important; font-weight: 600 !important; cursor: pointer !important; transition: all 0.2s !important; }
.contenidoprincipal a.ec26-btn-outline:hover { background: #005a9c !important; border-color: #005a9c !important; color: #fff !important; }
.ec26-pills-title { font-size: 10px !important; font-weight: 700 !important; text-transform: uppercase !important; color: #666 !important; margin-bottom: 8px !important; letter-spacing: 0.5px !important; }
.ec26-pills-list { display: flex !important; flex-wrap: wrap !important; gap: 5px !important; }
.ec26-pill { display: inline-flex !important; align-items: center !important; gap: 3px !important; font-size: 10px !important; padding: 4px 10px !important; background: #fff !important; border: 1px solid #bbb !important; border-radius: 20px !important; color: #555 !important; white-space: nowrap !important; float: none !important; font-weight: 600 !important; background-image: none !important; transition: all 0.2s !important; cursor: pointer !important; }
.contenidoprincipal a.ec26-pill:hover { background: #005a9c !important; color: #fff !important; border-color: #005a9c !important; }
.ec26-pill svg { width: 9px !important; height: 9px !important; fill: currentColor !important; flex-shrink: 0 !important; }

/* --- TABS (related + offers) --- */
.ec26-tabs-bar { display: flex !important; gap: 4px !important; margin-bottom: 0 !important; border-bottom: 1px solid #ccc !important; }
.ec26-tab { background: #f0f0f0 !important; border: 1px solid #ddd !important; border-bottom: none !important; padding: 9px 18px !important; font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase !important; color: #777 !important; cursor: pointer !important; transition: all 0.2s !important; letter-spacing: 0.3px !important; font-family: 'Segoe UI', Arial, sans-serif !important; border-radius: 6px 6px 0 0 !important; margin-bottom: 0 !important; }
.ec26-tab:hover { background: #e8e8e8 !important; color: #555 !important; }
.ec26-tab.active { background: #005a9c !important; color: #fff !important; border-color: #005a9c !important; }
.ec26-tab-panel { min-height: 40px !important; padding-top: 14px !important; }

/* --- SCROLL TO TOP --- */
.ec26-scroll-top { display: none; position: fixed; bottom: 30px; right: 10px; z-index: 900; width: 40px; height: 40px; border-radius: 50%; background: #005a9c; color: #fff; border: none; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.2); font-size: 16px; line-height: 40px; text-align: center; }
.ec26-scroll-top:hover { background: #004080; }

/* --- MODAL ISOLATION (undo contenidoprincipal overrides) --- */
.contenidoprincipal .modal-overlay,
.contenidoprincipal .alert-overlay,
.contenidoprincipal .confirm-overlay { padding-right: 0 !important; padding-top: 0 !important; }
.contenidoprincipal .modal-overlay h2,
.contenidoprincipal .modal-overlay h3 { font-size: revert !important; font-weight: revert !important; color: revert !important; margin: revert !important; padding: revert !important; }
.contenidoprincipal .modal-overlay a { color: inherit !important; text-decoration: none !important; }
.contenidoprincipal .modal-overlay a:hover { color: inherit !important; text-decoration: none !important; }
.contenidoprincipal .modal-overlay input,
.contenidoprincipal .modal-overlay select,
.contenidoprincipal .modal-overlay textarea { font-size: inherit !important; font-family: 'Segoe UI', sans-serif !important; }
.contenidoprincipal .modal-overlay td,
.contenidoprincipal .modal-overlay th { font: inherit !important; }
.contenidoprincipal .modal-overlay ul,
.contenidoprincipal .modal-overlay ol { margin: revert !important; padding: revert !important; list-style: revert !important; }
.contenidoprincipal .modal-overlay img { border: 0 !important; }
.contenidoprincipal .modal-overlay .modal-header h3 { font-size: 20px !important; font-weight: 700 !important; color: #fff !important; margin: 0 !important; padding: 0 !important; }

/* --- TIENDA / ABOUT PAGE --- */
.tc-hero { position:relative; border-radius:12px; overflow:hidden; margin-bottom:28px; background:#005a9c; }
.tc-hero img { width:100%; height:220px; object-fit:cover; display:block; opacity:0.35; }
.tc-hero-text { position:absolute; bottom:0; left:0; right:0; padding:24px 28px; color:#fff; }
.tc-hero-text h1 { font-size:24px !important; font-weight:800 !important; margin:0 0 6px !important; text-shadow:0 2px 8px rgba(0,0,0,0.3); }
.tc-hero-text p { font-size:13px; margin:0; opacity:0.92; line-height:1.5; max-width:550px; }
.tc-stats { display:flex; gap:12px; margin-bottom:28px; flex-wrap:wrap; }
.tc-stat { flex:1; min-width:120px; background:#f8f9fa; border:1px solid #e9ecef; border-radius:10px; padding:16px; text-align:center; }
.tc-stat-num { font-size:24px; font-weight:800; color:#005a9c; display:block; line-height:1.2; }
.tc-stat-label { font-size:11px; color:#666; margin-top:4px; display:block; }
.tc-section { margin-bottom:28px; }
.tc-section-title { font-size:14px !important; font-weight:700 !important; color:#1e293b !important; margin:0 0 12px !important; padding:0 0 8px !important; border-bottom:2px solid #005a9c !important; display:inline-block !important; text-transform:uppercase !important; letter-spacing:0.3px !important; }
.tc-services { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:14px; margin-bottom:28px; }
.tc-service { background:#fff; border:1px solid #e9ecef; border-radius:10px; padding:18px 16px; transition:all 0.25s; }
.tc-service:hover { border-color:#005a9c; transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,90,156,0.1); }
.tc-service-icon { width:40px; height:40px; background:#e8f0fe; border-radius:8px; display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.tc-service-icon svg { width:20px; height:20px; stroke:#005a9c; fill:none; stroke-width:2; }
.tc-service h3 { font-size:12px !important; font-weight:700 !important; color:#1e293b !important; margin:0 0 5px !important; }
.tc-service p { font-size:11px; color:#666; line-height:1.5; margin:0; }
.tc-philosophy { background:linear-gradient(135deg, #f0f7ff 0%, #f8f9fa 100%); border:1px solid #d0e3f5; border-radius:10px; padding:22px 24px; margin-bottom:28px; }
.tc-philosophy p { font-size:12px; color:#444; line-height:1.7; margin:0 0 10px; }
.tc-philosophy p:last-child { margin-bottom:0; }
.tc-clients { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.tc-client { background:#fff; border:1px solid #ddd; border-radius:6px; padding:5px 12px; font-size:10px; font-weight:600; color:#555; white-space:nowrap; }
.tc-contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:20px; }
.tc-contact-card { background:#fff; border:1px solid #e9ecef; border-radius:10px; padding:18px; }
.tc-contact-card h3 { font-size:12px !important; font-weight:700 !important; color:#005a9c !important; margin:0 0 10px !important; text-transform:uppercase !important; letter-spacing:0.3px !important; }
.tc-contact-card p { font-size:12px; color:#444; line-height:1.7; margin:0; }
.tc-contact-card .tc-phone { font-weight:700; color:#1e293b; font-size:14px; }
.tc-photos { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; margin-top:14px; }
.tc-photos img { width:100%; height:120px; object-fit:cover; border-radius:8px; border:1px solid #eee; transition:transform 0.3s; cursor:pointer; }
.tc-photos img:hover { transform:scale(1.03); }
.tc-map { border-radius:10px; overflow:hidden; border:1px solid #e9ecef; margin-top:14px; }
.tc-map iframe { width:100%; height:280px; border:0; display:block; }
.tc-departments { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.tc-dept { display:flex; gap:14px; background:#fff; border:1px solid #e9ecef; border-radius:10px; overflow:hidden; transition:all 0.25s; }
.tc-dept:hover { border-color:#005a9c; box-shadow:0 4px 12px rgba(0,90,156,0.08); }
.tc-dept-img { width:140px; min-height:120px; flex-shrink:0; background:#f0f4f8; overflow:hidden; }
.tc-dept-img img { width:100%; height:100%; object-fit:cover; display:block; }
.tc-dept-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:#f0f4f8; }
.tc-dept-info { padding:14px 16px 14px 0; flex:1; display:flex; flex-direction:column; justify-content:center; }
.tc-dept-info h3 { font-size:12px !important; font-weight:700 !important; color:#1e293b !important; margin:0 0 5px !important; }
.tc-dept-info p { font-size:11px; color:#666; line-height:1.5; margin:0; }
.tc-why-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.tc-why { display:flex; gap:12px; align-items:flex-start; padding:16px; background:#f8f9fa; border:1px solid #e9ecef; border-radius:10px; }
.tc-why-icon { width:36px; height:36px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.tc-why-icon svg { width:22px; height:22px; }
.tc-why h3 { font-size:12px !important; font-weight:700 !important; color:#1e293b !important; margin:0 0 4px !important; }
.tc-why p { font-size:11px; color:#666; line-height:1.5; margin:0; }
@media (max-width: 640px) {
    .tc-hero-text h1 { font-size:18px !important; }
    .tc-stats { gap:8px; }
    .tc-stat { min-width:80px; padding:10px; }
    .tc-stat-num { font-size:18px; }
    .tc-services { grid-template-columns:1fr; }
    .tc-contact-grid { grid-template-columns:1fr; }
    .tc-photos { grid-template-columns:1fr 1fr; }
    .tc-departments { grid-template-columns:1fr; }
    .tc-dept-img { width:100px; min-height:90px; }
    .tc-why-grid { grid-template-columns:1fr; }
}


/* --- CONTACT FORM (contactar.asp) --- */
.cform{max-width:100%;margin:0 auto;}
.cform h1{font-size:22px !important;color:#002147 !important;margin:0 0 6px !important;font-weight:800 !important;}
.cform .subtitle{font-size:13px;color:#475569;margin-bottom:20px;line-height:1.5;}
.cform .row{display:flex;gap:16px;margin-bottom:14px;}
.cform .field{flex:1;display:flex;flex-direction:column;}
.cform label{font-size:11px !important;font-weight:700 !important;color:#475569 !important;margin-bottom:5px;text-transform:uppercase;letter-spacing:.4px;}
.cform label .req{color:#dc2626;}
.cform input[type=text],.cform input[type=email],.cform input[type=tel],.cform select,.cform textarea{
    width:100%;padding:10px 14px;border:1px solid #d1d5db;border-radius:8px;font-size:14px !important;font-family:inherit;
    background:#fff;color:#1e293b;box-sizing:border-box;transition:all .2s;}
.cform input:focus,.cform textarea:focus,.cform select:focus{border-color:#005a9c;outline:none;box-shadow:0 0 0 3px rgba(0,90,156,.12);}
.cform input::placeholder,.cform textarea::placeholder{color:#b0b8c4;}
.cform textarea{resize:vertical;min-height:100px;}
.cform .section-title{font-size:13px !important;font-weight:700 !important;color:#002147 !important;margin:22px 0 10px !important;padding-bottom:8px !important;border-bottom:2px solid #005a9c !important;display:flex !important;align-items:center;gap:7px;}
.cform .section-title svg{width:17px;height:17px;fill:#005a9c;}
/* Upload box */
.cform .cf-upload-box{background:#f8fafc;border:2px dashed #cbd5e1;border-radius:10px;padding:16px 18px;margin-bottom:6px;}
.cform .cf-upload-area{display:flex;align-items:center;gap:14px;}
.cform .cf-upload-btn{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#005a9c;border:2px solid #005a9c;padding:9px 20px;border-radius:8px;font-size:13px !important;font-weight:700;cursor:pointer;text-transform:uppercase;letter-spacing:.4px;transition:all .2s;}
.cform .cf-upload-btn:hover{background:#005a9c;color:#fff;}
.cform .cf-upload-btn:hover svg{fill:#fff;}
.cform .cf-file-name{font-size:13px;color:#94a3b8;}
.cform .file-row{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.cform .file-row:last-of-type{margin-bottom:0;}
.cform .file-label{font-size:12px;font-weight:600;color:#475569;min-width:140px;}
.cform input[type=file]{font-size:13px !important;color:#475569;}
.cform .note{font-size:11px;color:#94a3b8;margin-top:4px;}
/* Bottom bar: captcha + privacy */
.cform .cf-bottom-bar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px 18px;margin-top:22px;}
.cform .cf-captcha-box{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #e9ecef;}
.cform .cf-captcha-icon{font-size:22px;line-height:1;}
.cform .privacy-row{display:flex;align-items:center;gap:8px;font-size:13px;}
.cform .privacy-row input{margin:0;width:18px;height:18px;cursor:pointer;accent-color:#005a9c;}
.cform .privacy-row a{color:#005a9c !important;font-weight:700 !important;}
/* Submit button */
.cform .btn-send{background:linear-gradient(135deg,#005a9c 0%,#003d73 100%);color:#fff;border:none;padding:14px 36px;border-radius:8px;font-size:15px !important;font-weight:700;
    cursor:pointer;text-transform:uppercase;letter-spacing:.5px;display:inline-flex;align-items:center;gap:8px;transition:all .2s;box-shadow:0 2px 8px rgba(0,90,156,.25);}
.cform .btn-send:hover{transform:translateY(-1px);box-shadow:0 4px 16px rgba(0,90,156,.35);}
.cform .btn-send:disabled{background:#94a3b8;cursor:not-allowed;transform:none;box-shadow:none;}
.bot-check{position:absolute;left:-9999px;top:-9999px;}
/* Info bar -- two columns */
.cform .info-bar{display:none;}
/* Contact hero banner */
.cf-hero{background:linear-gradient(135deg,#002147 0%,#005a9c 60%,#0078d4 100%) !important;border-radius:14px !important;padding:28px 30px 24px !important;margin-bottom:20px !important;color:#fff !important;display:flex !important;align-items:center !important;justify-content:space-between !important;gap:20px !important;position:relative !important;overflow:hidden !important;}
.cf-hero::before{content:'' !important;position:absolute !important;top:-40px !important;right:-40px !important;width:200px !important;height:200px !important;background:rgba(255,255,255,.04) !important;border-radius:50% !important;}
.cf-hero::after{content:'' !important;position:absolute !important;bottom:-60px !important;left:30% !important;width:300px !important;height:300px !important;background:rgba(255,255,255,.03) !important;border-radius:50% !important;}
.cf-hero-text{position:relative !important;z-index:1 !important;flex:1 !important;}
.cf-hero-text h1{font-family:'Inter','Segoe UI',sans-serif !important;font-size:22px !important;font-weight:800 !important;color:#fff !important;margin:0 0 6px !important;}
.cf-hero-text p{font-size:13px !important;color:rgba(255,255,255,.85) !important;margin:0 !important;line-height:1.5 !important;}
.cf-hero-badges{display:flex !important;gap:8px !important;position:relative !important;z-index:1 !important;flex-shrink:0 !important;}
.cf-badge{background:rgba(255,255,255,.12) !important;backdrop-filter:blur(4px) !important;border:1px solid rgba(255,255,255,.2) !important;border-radius:8px !important;padding:8px 12px !important;text-align:center !important;font-size:10px !important;color:rgba(255,255,255,.85) !important;line-height:1.3 !important;white-space:nowrap !important;}
.cf-badge strong{display:block !important;font-size:16px !important;color:#fff !important;font-weight:800 !important;}
/* Contact info cards */
.cf-cards{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:10px !important;margin-bottom:24px !important;}
.cf-card{display:flex !important;align-items:center !important;gap:12px !important;padding:14px 16px !important;background:#fff !important;border:1px solid #e2e8f0 !important;border-radius:10px !important;transition:all .25s ease !important;}
.cf-card:hover{border-color:#005a9c !important;box-shadow:0 4px 12px rgba(0,90,156,.1) !important;transform:translateY(-1px) !important;}
.cf-card-icon{width:42px !important;height:42px !important;border-radius:10px !important;background:linear-gradient(135deg,#005a9c,#0078d4) !important;display:flex !important;align-items:center !important;justify-content:center !important;flex-shrink:0 !important;}
.cf-card-icon-alt{background:linear-gradient(135deg,#16a34a,#22c55e) !important;}
.cf-card-icon-mail{background:linear-gradient(135deg,#f59e0b,#f97316) !important;}
.cf-card-icon-wa{background:linear-gradient(135deg,#25d366,#128c7e) !important;}
.cf-card a{text-decoration:none !important;color:inherit !important;}
.cf-card-wa{cursor:pointer !important;}
.cf-card-wa:hover{border-color:#25d366 !important;box-shadow:0 4px 12px rgba(37,211,102,.15) !important;}
.cf-card-body{display:flex !important;flex-direction:column !important;gap:1px !important;min-width:0 !important;}
.cf-card-label{font-size:10px !important;font-weight:700 !important;color:#94a3b8 !important;text-transform:uppercase !important;letter-spacing:.4px !important;}
.cf-card-phone{font-family:'Inter','Segoe UI',sans-serif !important;font-size:17px !important;font-weight:800 !important;color:#1e293b !important;letter-spacing:.3px !important;}
.cf-card-detail{font-size:11px !important;color:#64748b !important;}
@media(max-width:768px){
  .cf-hero{flex-direction:column !important;padding:20px !important;text-align:center !important;}
  .cf-hero-badges{justify-content:center !important;}
  .cf-cards{grid-template-columns:repeat(2,1fr) !important;gap:8px !important;}
  .cf-hero-text h1{font-size:18px !important;}
  .cform .row{flex-direction:column !important;gap:0 !important;}
  .cform .field{margin-bottom:12px !important;flex:1 1 100% !important;min-width:0 !important;}
  .cform .cf-upload-area{flex-direction:column !important;text-align:center !important;}
  .cform .cf-captcha-box{flex-direction:column !important;text-align:center !important;}
  .cform .btn-send{width:100% !important;}
  .cform .file-row{flex-direction:column !important;align-items:flex-start !important;}
  .cform .file-label{min-width:auto !important;}
  .cf-modal-btn-sec{display:block !important;margin-left:0 !important;margin-top:8px !important;}
}
@media(max-width:480px){
  .cf-cards{grid-template-columns:1fr !important;gap:8px !important;}
  .cf-card{padding:12px !important;}
  .cf-card-phone{font-size:15px !important;}
  .cf-hero-badges{flex-wrap:wrap !important;gap:6px !important;}
  .cf-badge{font-size:11px !important;padding:4px 10px !important;}
  .cform h1{font-size:18px !important;}
  .cform .section-title{font-size:12px !important;}
  .cform .cf-bottom-bar{padding:12px !important;}
  .cform .privacy-row{font-size:11px !important;flex-wrap:wrap !important;}
  .cform input[type=text],.cform input[type=email],.cform input[type=tel],.cform select,.cform textarea{font-size:16px !important;}
  .contenidoprincipal{padding-left:10px !important;padding-right:10px !important;}
}
/* Toast notification */
.cf-toast{position:fixed;top:20px;left:50%;transform:translateX(-50%);z-index:99999;padding:14px 28px;border-radius:10px;font-size:13px;font-weight:600;font-family:'Segoe UI',Arial,sans-serif;box-shadow:0 6px 24px rgba(0,0,0,.18);opacity:0;transition:opacity .3s;max-width:520px;text-align:center;}
.cf-toast-error{background:#fef2f2;color:#991b1b;border:1px solid #fca5a5;}
.cf-toast-ok{background:#f0fdf4;color:#166534;border:1px solid #86efac;}
.cf-toast-close{margin-left:12px;cursor:pointer;font-size:18px;font-weight:700;opacity:.6;vertical-align:middle;}
.cf-toast-close:hover{opacity:1;}
/* Success modal */
.cf-modal-overlay{position:fixed;inset:0;background:rgba(0,20,50,.6);z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;}
.cf-modal{background:#fff;border-radius:20px;padding:44px 40px;max-width:460px;width:100%;text-align:center;box-shadow:0 24px 64px rgba(0,0,0,.22);animation:cfModalIn .4s ease;}
@keyframes cfModalIn{from{opacity:0;transform:scale(.9) translateY(16px);}to{opacity:1;transform:scale(1) translateY(0);}}
.cf-modal-icon{margin-bottom:18px;}
.cf-modal h2{font-size:22px !important;color:#16a34a !important;margin:0 0 10px !important;font-weight:800 !important;}
.cf-modal p{font-size:14px;color:#334155;line-height:1.6;margin:0 0 6px;}
.cf-modal .cf-modal-ref{background:#e8f0fe;border:1px solid #bfdbfe;border-radius:8px;padding:10px 14px;margin:14px 0 8px;font-size:14px;color:#005a9c;letter-spacing:.5px;}
.cf-modal .cf-modal-email{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:10px 14px;margin:14px 0;font-size:13px;}
.cf-modal .cf-modal-note{font-size:12px;color:#64748b;margin-top:10px;}
.cf-modal-btn{display:inline-block;margin-top:18px;padding:12px 30px;border-radius:8px;font-weight:700;text-decoration:none !important;font-size:13px !important;transition:all .2s;}
.cf-modal-btn-pri{background:#005a9c;color:#fff !important;box-shadow:0 2px 8px rgba(0,90,156,.3);}
.cf-modal-btn-pri:hover{background:#004680;transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,90,156,.4);}
.cf-modal-btn-sec{background:#f1f5f9;color:#334155 !important;margin-left:10px;box-shadow:none;border:1px solid #d1d5db;}
.cf-modal-btn-sec:hover{background:#e2e8f0;transform:translateY(-1px);}
/* Spinner */
@keyframes cfSpin{to{transform:rotate(360deg);}}
.cf-spin{animation:cfSpin .7s linear infinite;}
@media(max-width:600px){
    .cform .row{flex-direction:column;gap:10px;}
    .cform .file-row{flex-direction:column;align-items:flex-start;}
    .cform .info-bar{flex-direction:column;}
    .cform .info-bar .info-col+.info-col{border-left:none;border-top:1px solid #d0e3f5;}
    .cf-modal{padding:28px 20px;border-radius:14px;}
    .cform .cf-bottom-bar{padding:12px 14px;}
}

/* ============================================================
   TARIFAS - Paginas de tarifa (bordado, serigrafia, sublimacion)
   ============================================================ */
.tb-page{max-width:900px;margin:0 auto;}
.tb-page h1{font-size:22px !important;color:#002147 !important;margin:0 0 6px !important;font-weight:800 !important;}
.tb-page .tb-intro{font-size:13px;color:#475569;line-height:1.7;margin-bottom:24px;}
.tb-page h2{font-size:16px !important;color:#1e293b !important;font-weight:700 !important;margin:28px 0 10px !important;padding-bottom:8px !important;border-bottom:2px solid #005a9c !important;}
.tb-page p{font-size:13px;color:#475569;line-height:1.7;margin:0 0 14px;}
.tb-page strong{color:#1e293b;}

/* Galeria con figcaption */
.tb-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 24px;}
.tb-gallery figure{margin:0;border-radius:6px;overflow:hidden;border:1px solid #e2e8f0;transition:transform .2s,box-shadow .2s;}
.tb-gallery figure:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.12);}
.tb-gallery a{display:block;text-decoration:none !important;}
.tb-gallery img{width:100%;height:160px;object-fit:cover;display:block;}
.tb-gallery figcaption{font-size:11px;color:#475569;text-align:center;padding:6px 8px;background:#f8fafc;line-height:1.3;}
.tb-gallery-label{font-size:11px;color:#94a3b8;text-align:right;margin-bottom:6px;}
@media(max-width:600px){.tb-gallery{grid-template-columns:repeat(2,1fr);}}

/* Tabla precios tarifas */
.tb-precios{width:100%;border-collapse:collapse;margin:16px 0;font-size:13px;}
.tb-precios caption{font-weight:700;font-size:14px;color:#002147;padding:12px;text-transform:uppercase;letter-spacing:.3px;}
.tb-precios th{background:#f0f7ff;color:#002147;font-weight:700;padding:10px 14px;text-align:center;border:1px solid #d0e3f5;font-size:12px;}
.tb-precios td{padding:10px 14px;text-align:center;border:1px solid #e2e8f0;color:#475569;}
.tb-precios tfoot td{background:#f8fafc;font-size:12px;color:#64748b;}

/* Alertas y notas tarifas */
.tb-alert{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:12px 16px;font-size:12px;color:#991b1b;font-weight:600;text-align:center;margin:16px 0;}
.tb-note{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px 16px;font-size:12px;color:#64748b;text-align:center;margin:12px 0;}

/* ============================================================
   MODAL DE IMAGENES - Galeria lightbox propio
   ============================================================ */
.modal-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.85);z-index:99999;justify-content:center;align-items:center;cursor:pointer;}
.modal-overlay.active{display:flex;}
.modal-overlay img{max-width:90vw;max-height:85vh;border-radius:8px;box-shadow:0 8px 40px rgba(0,0,0,.5);cursor:default;}
.modal-close{position:fixed;top:16px;right:20px;z-index:100000;background:rgba(255,255,255,.15);border:2px solid rgba(255,255,255,.5);color:#fff;font-size:28px;width:44px;height:44px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;transition:background .2s;}
.modal-close:hover{background:rgba(255,255,255,.3);}
.modal-title{position:fixed;bottom:20px;left:0;right:0;text-align:center;color:#fff;font-size:14px;z-index:100000;text-shadow:0 1px 4px rgba(0,0,0,.6);}
.modal-nav{position:fixed;top:50%;z-index:100000;background:rgba(255,255,255,.15);border:2px solid rgba(255,255,255,.4);color:#fff;font-size:24px;width:44px;height:44px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s;transform:translateY(-50%);}
.modal-nav:hover{background:rgba(255,255,255,.3);}
.modal-prev{left:16px;}
.modal-next{right:16px;}
/* --- Banners titulo seccion --- */
.tb-h1{background:linear-gradient(135deg,#001a38 0%,#002147 40%,#005a9c 100%) !important;color:#fff !important;padding:22px 24px 20px !important;border-radius:8px !important;margin:0 0 20px !important;font-size:22px !important;font-weight:800 !important;letter-spacing:.4px;line-height:1.3 !important;box-shadow:0 3px 12px rgba(0,33,71,.25);position:relative;overflow:visible !important;border:none !important;display:block !important;height:auto !important;width:auto !important;visibility:visible !important;text-indent:0 !important;}
.tb-h1 h1{color:#fff !important;font-size:22px !important;font-weight:800 !important;margin:0 !important;padding:0 !important;letter-spacing:.4px;line-height:1.3 !important;}
.tb-h1 p{color:rgba(255,255,255,.85) !important;font-size:13px !important;margin:6px 0 0 !important;font-weight:500 !important;}
.tb-h1::before{content:'';position:absolute;top:-50%;right:-20%;width:200px;height:200px;background:radial-gradient(circle,rgba(255,255,255,.07) 0%,transparent 70%);border-radius:50%;}
.tb-banner-img{width:100%;max-height:220px;object-fit:cover;border-radius:8px;margin:0 0 20px;display:block;box-shadow:0 2px 8px rgba(0,0,0,.1);}
.tb-h1::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#3b9eff,#00d4ff,#3b9eff);}
.tb-banner{background:#f8fafc;color:#1e293b;padding:14px 20px;border-radius:0 6px 6px 0;display:flex;align-items:center;gap:12px;margin:24px 0 16px;box-shadow:none;border-left:4px solid #005a9c;}
.tb-banner span{font-size:18px;font-weight:700;letter-spacing:.3px;}
.tb-banner svg{flex-shrink:0;opacity:.85;fill:#005a9c !important;}
.tb-banner-amber{background:#fffbeb;border-left-color:#d97706;color:#78350f;box-shadow:none;}
.tb-banner-amber svg{fill:#d97706 !important;}

/* Tabla precios - cabecera oscura (usado en tampografia, dtf-uvi, etc) */
.tb-precios th.th-dark{background:#002147 !important;color:#fff !important;}
/* Tabla precios - box precios azul */
.tb-box-precios{background:#f0f7ff;border:1px solid #c7ddf2;border-radius:8px;padding:20px 24px;margin:24px 0;}
.tb-box-precios .tb-banner{margin:-20px -24px 16px;border-radius:6px 6px 0 0;background:#002147;color:#fff;border-left:none !important;}.tb-box-precios .tb-banner svg{fill:#fff !important;}
.tb-box-precios .tb-precios{background:#fff;}
/* Tabla precios - box recargos ambar */
.tb-box-recargos{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:20px 24px;margin:24px 0;}
.tb-box-recargos .tb-banner{margin:-20px -24px 16px;border-radius:6px 6px 0 0;background:#92400e;color:#fff;border-left:none !important;}.tb-box-recargos .tb-banner svg{fill:#fff !important;}
.tb-box-recargos .tb-precios{background:#fff;}
/* Tabla pasos proceso */
.tb-precios td[style*="text-align:left"]{text-align:left;}

/* ============================================================
   PAGINAS LEGALES / INFORMATIVAS (privacidad, presupuestos, etc)
   Prefijo: pv- (page view)
   ============================================================ */
.pv-page{max-width:760px;margin:0 auto;}
.pv-page h1{font-size:22px !important;color:#002147 !important;margin:0 0 6px !important;font-weight:800 !important;}
.pv-page .pv-updated{font-size:11px;color:#94a3b8;margin-bottom:20px;}
.pv-page h2{font-size:15px !important;color:#1e293b !important;font-weight:700 !important;margin:28px 0 10px !important;padding-bottom:8px !important;border-bottom:2px solid #005a9c !important;}
.pv-page p{font-size:13px;color:#475569;line-height:1.7;margin:0 0 12px;}
.pv-page ul{list-style:disc !important;margin:0 0 16px 20px !important;padding:0 !important;}
.pv-page li{font-size:13px;color:#475569;line-height:1.7;margin-bottom:6px;}
.pv-page a{color:#005a9c !important;font-weight:700 !important;}
.pv-page a:hover{text-decoration:underline !important;}
.pv-page strong{color:#1e293b;}
/* Tarjeta identificativa / contacto */
.pv-id-card{background:#f0f7ff;border:1px solid #d0e3f5;border-radius:10px;padding:20px 24px;margin:16px 0 24px;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;font-size:13px;color:#334155;}
.pv-id-card .pv-label{font-weight:700;color:#002147;font-size:11px;text-transform:uppercase;letter-spacing:.3px;margin-bottom:2px;}
.pv-id-card .pv-item{display:flex;flex-direction:column;padding:6px 0;}
@media(max-width:550px){.pv-id-card{grid-template-columns:1fr;}}
/* Tabla RGPD */
.pv-rgpd{width:100%;border-collapse:collapse;margin:20px 0 24px;font-size:13px;}
.pv-rgpd th{background:#f0f7ff;color:#002147;font-weight:700;text-align:left;padding:12px 16px;font-size:12px;text-transform:uppercase;letter-spacing:.3px;width:160px;vertical-align:top;border:1px solid #d0e3f5;}
.pv-rgpd td{padding:12px 16px;border:1px solid #e2e8f0;color:#475569;vertical-align:top;line-height:1.6;}
.pv-rgpd td ul{list-style:disc !important;margin:4px 0 0 18px !important;padding:0 !important;}
.pv-rgpd td li{margin-bottom:4px;font-size:12px;}
.pv-rgpd tr:nth-child(even) td{background:#f8fafc;}
@media(max-width:600px){.pv-rgpd th,.pv-rgpd td{display:block;width:100% !important;}.pv-rgpd th{border-bottom:0;}.pv-rgpd td{border-top:0;}}

/* ============================================================
   COMO COMPRAR (presupuestos.asp)
   Prefijo: cc-
   ============================================================ */
/* Pasos numerados */
.cc-steps{counter-reset:step;margin:16px 0 24px;padding:0;list-style:none !important;}
.cc-steps li{counter-increment:step;position:relative;padding:14px 16px 14px 56px;margin-bottom:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;color:#475569;line-height:1.6;}
.cc-steps li::before{content:counter(step);position:absolute;left:14px;top:12px;width:30px;height:30px;background:#005a9c;color:#fff;font-weight:800;font-size:14px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.cc-steps li strong{color:#1e293b;}
/* Tabla tecnicas */
.cc-tecnicas{width:100%;border-collapse:collapse;margin:16px 0 24px;font-size:13px;}
.cc-tecnicas th{background:#f0f7ff;color:#002147;font-weight:700;text-align:left;padding:10px 14px;font-size:12px;text-transform:uppercase;letter-spacing:.3px;border:1px solid #d0e3f5;}
.cc-tecnicas td{padding:10px 14px;border:1px solid #e2e8f0;color:#475569;vertical-align:top;line-height:1.6;}
.cc-tecnicas tr:nth-child(even) td{background:#f8fafc;}
.cc-tecnicas td:first-child{font-weight:700;color:#1e293b;white-space:nowrap;width:160px;}
.cc-tecnicas a{color:#005a9c !important;font-weight:700 !important;text-decoration:none;}
.cc-tecnicas a:hover{text-decoration:underline !important;}
@media(max-width:600px){.cc-tecnicas th,.cc-tecnicas td{display:block;width:100% !important;}.cc-tecnicas th{border-bottom:0;}.cc-tecnicas td{border-top:0;}.cc-tecnicas td:first-child{white-space:normal;}}
/* Boxes informativos */
.cc-highlight{background:#fffbeb;border:1px solid #fde68a;border-left:4px solid #f59e0b;border-radius:8px;padding:16px 20px;margin:16px 0 24px;font-size:13px;color:#92400e;line-height:1.7;}
.cc-highlight strong{color:#78350f;}
.cc-info{background:#f0f7ff;border:1px solid #d0e3f5;border-left:4px solid #005a9c;border-radius:8px;padding:16px 20px;margin:16px 0 24px;font-size:13px;color:#1e40af;line-height:1.7;}
.cc-info strong{color:#1e3a5f;}
/* Boton CTA */
.cc-cta{display:inline-block;background:#005a9c;color:#ffffff !important;padding:12px 32px;border-radius:6px;font-size:14px;font-weight:700;text-decoration:none !important;border:2px solid #004a80;letter-spacing:.3px;transition:background .2s;}
.cc-cta:hover{background:#004a80;color:#ffffff !important;}
.contenidoprincipal a.cc-cta{color:#ffffff !important;}
/* Pasos visuales (como comprar - cabecera) */
.cc-how{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 28px;}
.cc-how-step{display:flex;align-items:flex-start;gap:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:18px 16px;transition:border-color .2s,box-shadow .2s;}
.cc-how-step:hover{border-color:#005a9c;box-shadow:0 4px 12px rgba(0,90,156,.08);}
.cc-how-alt{background:#fffdf5;border-color:#fde68a;}
.cc-how-alt:hover{border-color:#f59e0b;box-shadow:0 4px 12px rgba(245,158,11,.1);}
.cc-how-icon{flex-shrink:0;width:48px;height:48px;background:#e8f0fe;border-radius:10px;display:flex;align-items:center;justify-content:center;}
.cc-how-alt .cc-how-icon{background:#fef3c7;}
.cc-how-num{position:relative;flex-shrink:0;width:26px;height:26px;background:#005a9c;color:#fff;font-weight:800;font-size:13px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:2px;}
.cc-how-text{font-size:13px;color:#475569;line-height:1.6;}
.cc-how-text strong{color:#1e293b;display:block;margin-bottom:2px;}
.cc-how-text a{color:#005a9c !important;font-weight:700 !important;}
@media(max-width:600px){.cc-how{grid-template-columns:1fr;}}

/* ============================================================
   ESTAMPACION (estampacion-camisetas.asp)
   Prefijo: ep-
   ============================================================ */
.ep-page{max-width:900px;margin:0 auto;}
.ep-page h1{font-size:22px !important;color:#002147 !important;margin:0 0 6px !important;font-weight:800 !important;}
.ep-page .ep-intro{font-size:13px;color:#475569;line-height:1.7;margin-bottom:24px;}
.ep-page h2{font-size:16px !important;color:#1e293b !important;font-weight:700 !important;margin:32px 0 10px !important;padding-bottom:8px !important;border-bottom:2px solid #005a9c !important;}
.ep-page h3{font-size:14px !important;color:#002147 !important;font-weight:700 !important;margin:20px 0 8px !important;}
.ep-page p{font-size:13px;color:#475569;line-height:1.7;margin:0 0 12px;}
.ep-page strong{color:#1e293b;}
/* Tabla comparativa (transpuesta: tecnicas como filas) */
.ep-cmp{width:100%;border-collapse:collapse;margin:20px 0 30px;font-size:12px;}
.ep-cmp th{background:#f0f7ff;color:#002147;font-weight:700;text-align:center;padding:8px 6px;font-size:10px;text-transform:uppercase;letter-spacing:.3px;border:1px solid #d0e3f5;}
.ep-cmp td{padding:7px 6px;border:1px solid #e2e8f0;color:#475569;text-align:center;vertical-align:middle;line-height:1.4;font-size:11px;}
.ep-cmp td:first-child{background:#f0f7ff;color:#002147;font-weight:700;text-align:left;white-space:nowrap;font-size:11px;padding-left:10px;}
.ep-cmp tbody tr:nth-child(even) td{background:#f8fafc;}
.ep-cmp tbody tr:nth-child(even) td:first-child{background:#e8f0fe;}
.ep-cmp tbody tr:hover td{background:#e8f0fe;}
.ep-cmp tbody tr:hover td:first-child{background:#d0e3f5;}
.ep-cmp .ep-yes{color:#16a34a;font-weight:700;}
.ep-cmp .ep-no{color:#dc2626;}
@media(max-width:768px){.ep-cmp-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:16px -10px;padding:0 10px;}.ep-cmp{min-width:600px;}}
/* Cards tecnicas (clickables) */
.ep-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0 30px;}
@media(max-width:600px){.ep-cards{grid-template-columns:1fr;}}
a.ep-card{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;transition:border-color .2s,box-shadow .2s;text-decoration:none !important;color:inherit !important;cursor:pointer;}
a.ep-card:hover{border-color:#005a9c;box-shadow:0 4px 16px rgba(0,90,156,.1);}
.contenidoprincipal a.ep-card{color:inherit !important;font-weight:inherit !important;}
.contenidoprincipal a.ep-card:hover{color:inherit !important;}
.ep-card .ep-tag{display:inline-block;background:#005a9c;color:#fff;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding:3px 10px;border-radius:20px;margin-bottom:10px;}
.ep-card .ep-img{width:100%;height:160px;object-fit:cover;border-radius:8px;margin-bottom:12px;}
.ep-card h3{margin:0 0 8px !important;border:none !important;padding:0 !important;color:#002147 !important;font-size:14px !important;font-weight:700 !important;}
.ep-card p{font-size:12px;margin:0 0 8px;color:#475569 !important;}
.ep-card .ep-feat{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}
.ep-card .ep-feat span{font-size:10px;background:#f0f7ff;color:#005a9c;padding:3px 8px;border-radius:4px;font-weight:700;}
.ep-card .ep-arrow{display:block;margin-top:14px;font-size:12px;color:#005a9c;font-weight:700;}

/* ===== SUBFAMILIAS 2026 ===== */
.sf-header.tb-banner{margin:0 0 18px;}
.sf-header h1{margin:0;font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:18px;font-weight:700;color:#1e293b;letter-spacing:.3px;}
.sf-header .sf-count{font-size:11px;color:#94a3b8;font-weight:500;margin-top:2px;}
.sf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px;}
.sf-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;transition:all .25s ease;text-decoration:none !important;display:block;}
.sf-card:hover{border-color:#005a9c;box-shadow:0 4px 16px rgba(0,90,156,.12);transform:translateY(-2px);}
.sf-card-img-box{width:100%;height:105px;display:flex;align-items:center;justify-content:center;background:#fff;padding:6px;}
.sf-card-img{max-width:100%;max-height:100%;object-fit:contain;display:block;}
.sf-card-name{padding:8px 10px 4px;font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:11.5px;font-weight:700;color:#1e293b;text-align:center;line-height:1.3;border-top:1px solid #f1f5f9;}
.sf-card-count{font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:10px;color:#94a3b8;text-align:center;padding:0 10px 8px;font-weight:500;}
.sf-card:hover .sf-card-name{color:#005a9c;}
.sf-seo-header.tb-banner{margin:24px 0 14px;}
.sf-seo-header h2{margin:0;font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:16px;font-weight:700;color:#1e293b;letter-spacing:.2px;}
.sf-seo{font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:13px;line-height:1.6;color:#475569;text-align:left;margin:0 0 20px;}
.sf-seo p,.sf-seo div,.sf-seo li{text-align:left !important;}
.contenidoprincipal .sf-seo p,.contenidoprincipal .sf-seo div,.contenidoprincipal .sf-seo li{text-align:left !important;}
.tablacontenido .contenidoprincipal .sf-seo p{text-align:left !important;}
.sf-seo h2,.sf-seo h3{background:#f8fafc;color:#1e293b;padding:10px 16px 10px 22px;border-radius:0 6px 6px 0;display:flex;align-items:center;gap:10px;margin:18px 0 10px;border-left:4px solid #005a9c;font-family:'Segoe UI',system-ui,Arial,sans-serif;font-weight:700;letter-spacing:.2px;}
.sf-seo h2{font-size:15px;}
.sf-seo h3{font-size:14px;border-left-color:#64748b;}
nav.breadcrumbs[aria-label]{font-family:'Segoe UI',system-ui,Arial,sans-serif !important;font-size:12px !important;color:#64748b !important;margin-bottom:16px !important;padding-top:14px !important;}
nav.breadcrumbs[aria-label] a{color:#005a9c !important;font-size:12px !important;font-weight:400 !important;text-decoration:none !important;}
nav.breadcrumbs[aria-label] a:hover{text-decoration:underline !important;}
nav.breadcrumbs[aria-label] .sep{margin:0 6px !important;color:#cbd5e1 !important;}
@media(max-width:600px){
    .sf-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
    .sf-card-img-box{height:85px;padding:4px;}
    .sf-card-name{font-size:11px;padding:6px 6px 2px;}
    .sf-card-count{font-size:9px;padding:0 6px 6px;}
    .sf-header.tb-banner{padding:10px 14px;margin:0 0 12px;}
    .sf-header h1{font-size:15px;}
    .sf-header .sf-count{font-size:10px;}
    .sf-seo-header.tb-banner{padding:10px 14px;margin:18px 0 10px;}
    .sf-seo-header h2{font-size:14px;}
    .sf-seo{font-size:12px;text-align:left;}
    .sf-seo h2{font-size:13px;padding:8px 12px 8px 20px;}
    .sf-seo h3{font-size:12px;padding:8px 12px 8px 20px;}
}

/* ==========================================
   CATALOGO + BUSCAR - Result Cards compartidas
   ========================================== */
/* Grid */
.results-grid{display:grid !important;grid-template-columns:repeat(4,1fr) !important;gap:18px !important;margin-bottom:30px !important;max-width:100% !important;overflow:hidden !important;}
@media(max-width:1000px){.results-grid{grid-template-columns:repeat(3,1fr) !important;}}
@media(max-width:650px){.results-grid{grid-template-columns:repeat(2,1fr) !important;}}
@media(max-width:420px){.results-grid{grid-template-columns:1fr !important;}}
/* Card */
.result-card-link{display:block !important;text-decoration:none !important;color:inherit !important;min-width:0 !important;overflow:hidden !important;}
.result-card{background:#fff !important;border-radius:12px !important;overflow:hidden !important;box-shadow:0 1px 8px rgba(0,0,0,.06) !important;transition:all .25s !important;height:100% !important;display:flex !important;flex-direction:column !important;}
.result-card:hover{transform:translateY(-4px) !important;box-shadow:0 8px 25px rgba(0,90,156,.13) !important;}
/* Image */
.result-img-box{height:240px !important;overflow:hidden !important;background:#f8fafc !important;display:flex !important;align-items:center !important;justify-content:center !important;position:relative !important;padding:8px !important;border-radius:12px !important;}
.result-img{max-width:100% !important;max-height:100% !important;object-fit:contain !important;transition:transform .3s !important;border-radius:8px !important;border:0 !important;}
.result-card:hover .result-img{transform:scale(1.05) !important;}
.result-no-img{display:none;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#94a3b8;font-size:11px;height:100%;}
.result-no-img svg{width:40px;height:40px;}
/* Badges */
.result-badges{position:absolute !important;top:8px !important;left:8px !important;display:flex !important;flex-direction:column !important;gap:4px !important;z-index:2 !important;transition:opacity .25s !important;}
.result-card:hover .result-badges{opacity:0 !important;}
.badge-brand{display:inline-block !important;background:#005a9c !important;color:#fff !important;font-size:9px !important;font-weight:700 !important;padding:3px 8px !important;border-radius:4px !important;text-transform:uppercase !important;letter-spacing:.3px !important;}
.badge-oferta{display:inline-block !important;background:#d32f2f !important;color:#fff !important;font-size:9px !important;font-weight:700 !important;padding:3px 8px !important;border-radius:4px !important;text-transform:uppercase !important;letter-spacing:.3px !important;}
/* Info */
.result-info{padding:12px 14px !important;flex-grow:1 !important;display:flex !important;flex-direction:column !important;overflow:hidden !important;}
.result-ref{font-size:10px !important;color:#94a3b8 !important;margin-bottom:6px !important;font-weight:400 !important;}
.result-name{font-size:13px !important;font-weight:700 !important;color:#1e293b !important;margin-bottom:2px !important;line-height:1.3 !important;max-height:2.6em !important;overflow:hidden !important;word-break:break-word !important;}
/* Colors */
.result-colors{display:flex !important;flex-wrap:wrap !important;gap:4px !important;margin-bottom:8px !important;}
.color-dot{width:22px !important;height:22px !important;border-radius:50% !important;overflow:hidden !important;border:2px solid #e2e8f0 !important;transition:all .2s !important;cursor:pointer !important;flex-shrink:0 !important;}
.color-dot:hover{border-color:#005a9c !important;transform:scale(1.15) !important;}
.color-dot img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;}
.color-more{font-size:10px !important;color:#64748b !important;font-weight:600 !important;align-self:center !important;white-space:nowrap !important;margin-left:2px !important;}
/* Price */
.result-price-row{display:flex !important;align-items:center !important;gap:8px !important;margin-top:auto !important;}
.result-price{font-size:16px !important;font-weight:700 !important;color:#dc2626 !important;}
.result-price small{font-size:11px !important;color:#999 !important;font-weight:400 !important;margin-right:2px !important;}
/* No results */
.no-results{text-align:center !important;padding:60px 20px !important;}
.no-results-icon{font-size:48px !important;margin-bottom:15px !important;}
.no-results-title{font-size:20px !important;font-weight:700 !important;color:#1e293b !important;margin-bottom:8px !important;}
.no-results-text{font-size:14px !important;color:#64748b !important;max-width:400px !important;margin:0 auto !important;}
/* Search results header */
.search-results-header{display:flex !important;align-items:center !important;justify-content:space-between !important;padding:12px 0 !important;border-bottom:2px solid #e2e8f0 !important;margin-bottom:20px !important;}
.search-results-count{font-size:11px !important;color:#94a3b8 !important;font-weight:500 !important;}
/* Catalog grid (3 cols in sidebar layout) - DEPRECADO, usar results-grid 4 cols */
/* Filter bar v4 (buscar.asp + catalogo.asp) */
.filter-bar{display:flex !important;flex-wrap:wrap !important;gap:8px !important;align-items:center !important;padding:10px 14px !important;margin-bottom:18px !important;background:linear-gradient(135deg,#f8fafc 0%,#eef2f7 100%) !important;border:1px solid #e2e8f0 !important;border-radius:12px !important;box-shadow:0 1px 3px rgba(0,0,0,.04) !important;}
.filter-bar::before{content:'\2699' !important;font-size:14px !important;color:#94a3b8 !important;margin-right:2px !important;}
.filter-group{display:flex !important;align-items:center !important;gap:0 !important;white-space:nowrap !important;position:relative !important;}
.filter-group label{display:none !important;}
.filter-select{height:34px !important;padding:0 30px 0 12px !important;border:1px solid #cbd5e1 !important;border-radius:8px !important;font-family:'Inter','Segoe UI',sans-serif !important;font-size:12px !important;color:#334155 !important;background:#fff !important;outline:none !important;transition:all .25s ease !important;cursor:pointer !important;appearance:none !important;-webkit-appearance:none !important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;background-repeat:no-repeat !important;background-position:right 10px center !important;box-shadow:0 1px 2px rgba(0,0,0,.05) !important;min-width:100px !important;}
.filter-select:hover{border-color:#94a3b8 !important;background:#f8fafc !important;box-shadow:0 2px 4px rgba(0,0,0,.08) !important;}
.filter-select:focus{border-color:#005a9c !important;box-shadow:0 0 0 3px rgba(0,90,156,.12) !important;background:#fff !important;}
.filter-select.is-active{border-color:#005a9c !important;background:#eff6ff !important;color:#005a9c !important;font-weight:700 !important;box-shadow:0 0 0 2px rgba(0,90,156,.1),inset 0 1px 2px rgba(0,90,156,.06) !important;}
.filter-clear{height:34px !important;padding:0 12px !important;border:1px solid #e2e8f0 !important;border-radius:8px !important;background:#fff !important;color:#64748b !important;font-family:'Inter','Segoe UI',sans-serif !important;font-size:12px !important;font-weight:600 !important;cursor:pointer !important;transition:all .25s ease !important;text-decoration:none !important;display:flex !important;align-items:center !important;flex-shrink:0 !important;gap:4px !important;box-shadow:0 1px 2px rgba(0,0,0,.05) !important;}
.filter-clear:hover{border-color:#dc2626 !important;color:#dc2626 !important;background:#fef2f2 !important;box-shadow:0 2px 4px rgba(220,38,38,.1) !important;}
@media(max-width:768px){.filter-bar{padding:8px !important;gap:6px !important;}.filter-bar::before{display:none !important;}.filter-select{font-size:11px !important;height:32px !important;min-width:80px !important;padding:0 26px 0 10px !important;}.filter-clear{height:32px !important;font-size:11px !important;}}
/* CATALOGO button mobile overflow fix */
.catalog-toggle{box-sizing:border-box !important;}
@media(max-width:1120px){.menuizquierda{overflow:hidden !important;box-sizing:border-box !important;}}
/* Page info (pagination count) - unified across all listing pages */
.page-info{font-family:'Inter','Segoe UI',sans-serif !important;font-size:11px !important;color:#94a3b8 !important;font-weight:500 !important;white-space:nowrap !important;}
/* Catalog header (cat-title + count) */
.cat-header{display:flex !important;align-items:baseline !important;gap:10px !important;margin:2px 0 8px !important;flex-wrap:wrap !important;}
.cat-title{font-family:'Inter','Segoe UI',sans-serif !important;font-size:18px !important;font-weight:700 !important;color:#1e293b !important;margin:0 !important;padding:0 !important;border:none !important;}
.marca-topbar{display:flex !important;align-items:center !important;gap:14px !important;padding:10px 14px !important;margin:2px 0 14px !important;background:#f8fafc !important;border:1px solid #e2e8f0 !important;border-radius:10px !important;}
.marca-topbar-logo{width:48px !important;height:48px !important;object-fit:contain !important;border-radius:6px !important;border:1px solid #e2e8f0 !important;padding:3px !important;background:#fff !important;flex-shrink:0 !important;}
.marca-topbar-brand{display:flex !important;flex-direction:column !important;gap:0 !important;line-height:1.15 !important;flex:1 !important;min-width:0 !important;}
.marca-topbar-label{font-family:'Inter','Segoe UI',sans-serif !important;font-size:10px !important;font-weight:600 !important;color:#94a3b8 !important;text-transform:uppercase !important;letter-spacing:.6px !important;}
.marca-topbar-name{font-family:'Inter','Segoe UI',sans-serif !important;font-size:22px !important;font-weight:700 !important;color:#1e293b !important;margin:0 !important;padding:0 !important;border:none !important;background:none !important;line-height:1.2 !important;}
.marca-topbar-filter{display:flex !important;align-items:center !important;gap:6px !important;flex-shrink:0 !important;padding-left:14px !important;border-left:1px solid #e2e8f0 !important;}
.marca-topbar-count{font-family:'Inter','Segoe UI',sans-serif !important;font-size:11px !important;color:#94a3b8 !important;font-weight:500 !important;white-space:nowrap !important;flex-shrink:0 !important;padding-left:14px !important;border-left:1px solid #e2e8f0 !important;}
.marcas-grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr)) !important;gap:16px !important;padding:20px 0 !important;}
.marca-card{display:flex !important;flex-direction:column !important;align-items:center !important;padding:16px 10px !important;background:#fff !important;border:1px solid #e2e8f0 !important;border-radius:10px !important;text-decoration:none !important;color:#1a202c !important;transition:all .2s ease !important;box-shadow:0 1px 3px rgba(0,0,0,0.06) !important;}
.marca-card:hover{border-color:#005a9c !important;box-shadow:0 4px 12px rgba(0,90,156,0.15) !important;transform:translateY(-2px) !important;}
.marca-logo{width:80px !important;height:80px !important;object-fit:contain !important;margin-bottom:10px !important;}
.marca-nombre{font-family:'Inter','Segoe UI',sans-serif !important;font-weight:700 !important;font-size:13px !important;text-align:center !important;color:#1a202c !important;}
@media(max-width:768px){.marcas-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr)) !important;gap:10px !important;}.marca-card{padding:12px 8px !important;}.marca-logo{width:60px !important;height:60px !important;}.marca-total{font-family:'Inter','Segoe UI',sans-serif !important;font-size:11px !important;color:#718096 !important;margin-top:4px !important;}
.marca-nombre{font-size:12px !important;}.marca-topbar{flex-wrap:wrap !important;gap:8px !important;padding:8px 10px !important;}.marca-topbar-logo{width:36px !important;height:36px !important;}.marca-topbar-name{font-size:17px !important;}.marca-topbar-filter{width:100% !important;order:10 !important;border-left:none !important;padding-left:0 !important;border-top:1px solid #e2e8f0 !important;padding-top:8px !important;}.marca-topbar-count{font-size:10px !important;border-left:none !important;padding-left:0 !important;margin-left:auto !important;}}
.cat-count{font-family:'Inter','Segoe UI',sans-serif !important;font-size:11px !important;color:#94a3b8 !important;font-weight:500 !important;white-space:nowrap !important;margin-left:auto !important;}
/* Catalog SEO H2 */
.contenidoprincipal .cat-seo-section h2{font-family:'Inter','Segoe UI',sans-serif !important;font-size:16px !important;color:#1e293b !important;font-weight:700 !important;margin:0 0 12px !important;padding:0 !important;background:none !important;border:none !important;line-height:1.4 !important;}
.contenidoprincipal .cat-seo-section p{font-family:'Inter','Segoe UI',sans-serif !important;font-size:13px !important;color:#475569 !important;line-height:1.7 !important;margin:0 0 8px !important;text-align:left !important;}
/* Pagination (numbered) */
.pagination{display:flex !important;justify-content:center !important;align-items:center !important;gap:4px !important;margin:30px 0 !important;flex-wrap:wrap !important;}
.page-link{display:inline-flex !important;align-items:center !important;justify-content:center !important;min-width:36px !important;height:36px !important;padding:0 10px !important;border-radius:8px !important;border:1px solid #e2e8f0 !important;font-size:13px !important;font-weight:600 !important;color:#475569 !important;text-decoration:none !important;transition:all .2s !important;background:#fff !important;}
.page-link:hover{border-color:#005a9c !important;color:#005a9c !important;background:#f0f7ff !important;}
.page-link.active{background:#005a9c !important;color:#fff !important;border-color:#005a9c !important;}
.page-link.disabled{opacity:.4 !important;pointer-events:none !important;}
.page-dots{color:#94a3b8 !important;padding:0 4px !important;font-size:14px !important;}
/* SEO section */
.cat-seo-section{margin-top:28px !important;padding-top:20px !important;border-top:1px solid #e2e8f0 !important;}
.cat-seo-db{font-size:13px;color:#475569;line-height:1.7;margin-top:12px;text-align:left !important;}
.cat-seo-db h2{font-size:15px !important;color:#1e293b !important;font-weight:700 !important;padding:10px 16px 10px 22px !important;margin:20px 0 10px !important;background:#f8fafc !important;border-left:4px solid #005a9c !important;border-radius:4px !important;}
.cat-seo-db h3{font-size:14px !important;color:#334155 !important;font-weight:600 !important;padding:8px 14px 8px 22px !important;margin:16px 0 8px !important;border-left:3px solid #64748b !important;border-radius:3px !important;}
.cat-seo-db p{text-align:left !important;}
/* WhatsApp floating widget */
.wa-widget{position:fixed !important;bottom:24px !important;right:24px !important;z-index:99998 !important;font-family:'Inter','Segoe UI',sans-serif !important;}
.wa-btn{width:60px !important;height:60px !important;border-radius:50% !important;background:#25d366 !important;border:none !important;cursor:pointer !important;box-shadow:0 4px 16px rgba(37,211,102,.4) !important;display:flex !important;align-items:center !important;justify-content:center !important;transition:all .3s ease !important;position:relative !important;}
.wa-btn:hover{transform:scale(1.08) !important;box-shadow:0 6px 24px rgba(37,211,102,.5) !important;}
.wa-btn-badge{position:absolute !important;top:-2px !important;right:-2px !important;width:18px !important;height:18px !important;border-radius:50% !important;background:#22c55e !important;border:2px solid #fff !important;font-size:0 !important;}
.wa-panel{display:none;flex-direction:column !important;position:absolute !important;bottom:72px !important;right:0 !important;width:320px !important;background:#fff !important;border-radius:16px !important;box-shadow:0 12px 40px rgba(0,0,0,.18) !important;overflow:hidden !important;animation:waSlideUp .3s ease !important;}
@keyframes waSlideUp{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}
.wa-panel-header{background:linear-gradient(135deg,#075e54,#128c7e) !important;padding:16px 18px !important;display:flex !important;align-items:center !important;gap:10px !important;color:#fff !important;}
.wa-panel-header strong{font-size:14px !important;display:block !important;}
.wa-panel-header span{font-size:11px !important;display:flex !important;align-items:center !important;gap:4px !important;opacity:.9 !important;}
.wa-panel-close{background:none !important;border:none !important;color:#fff !important;font-size:22px !important;cursor:pointer !important;opacity:.7 !important;margin-left:auto !important;padding:0 !important;line-height:1 !important;}
.wa-panel-close:hover{opacity:1 !important;}
.wa-panel-agents{padding:8px !important;}
.wa-agent{display:flex !important;align-items:center !important;gap:12px !important;padding:12px !important;border-radius:10px !important;text-decoration:none !important;color:#1e293b !important;transition:all .2s ease !important;}
.wa-agent:hover{background:#f0fdf4 !important;}
.wa-agent-avatar{width:40px !important;height:40px !important;border-radius:50% !important;background:#25d366 !important;color:#fff !important;display:flex !important;align-items:center !important;justify-content:center !important;font-weight:800 !important;font-size:16px !important;flex-shrink:0 !important;}
.wa-agent-info{flex:1 !important;min-width:0 !important;}
.wa-agent-name{font-weight:700 !important;font-size:14px !important;display:block !important;color:#1e293b !important;}
.wa-agent-role{font-size:11px !important;color:#64748b !important;}
.wa-agent-arrow{width:18px !important;height:18px !important;color:#94a3b8 !important;flex-shrink:0 !important;transition:transform .2s !important;}
.wa-agent:hover .wa-agent-arrow{transform:translateX(3px) !important;color:#25d366 !important;}
.wa-panel-footer{padding:10px 18px !important;background:#f8fafc !important;font-size:11px !important;color:#64748b !important;text-align:center !important;border-top:1px solid #e2e8f0 !important;}
.wa-tooltip{cursor:pointer !important;position:absolute !important;bottom:72px !important;right:0 !important;background:#1e293b !important;color:#fff !important;padding:10px 14px !important;border-radius:10px !important;font-size:13px !important;font-weight:600 !important;white-space:nowrap !important;box-shadow:0 4px 12px rgba(0,0,0,.15) !important;animation:waSlideUp .3s ease !important;display:flex !important;align-items:center !important;gap:8px !important;}
.wa-tooltip::after{content:'' !important;position:absolute !important;bottom:-6px !important;right:22px !important;width:12px !important;height:12px !important;background:#1e293b !important;transform:rotate(45deg) !important;pointer-events:none !important;}
.wa-tooltip-close{background:none !important;border:none !important;color:rgba(255,255,255,.6) !important;font-size:20px !important;cursor:pointer !important;padding:4px 6px !important;line-height:1 !important;margin:-4px -6px -4px 0 !important;}
/* WhatsApp CTA button (detalles + presupuesto) */
.wa-cta{display:flex !important;align-items:center !important;justify-content:center !important;gap:8px !important;width:100% !important;padding:10px !important;background:#25d366 !important;color:#fff !important;border:none !important;border-radius:8px !important;font-family:'Inter','Segoe UI',sans-serif !important;font-size:13px !important;font-weight:700 !important;cursor:pointer !important;text-decoration:none !important;transition:all .25s ease !important;margin-top:6px !important;}
.wa-cta:hover{background:#1fb855 !important;box-shadow:0 4px 12px rgba(37,211,102,.3) !important;transform:translateY(-1px) !important;}
.wa-cta svg{flex-shrink:0 !important;}
@media(max-width:768px){
  .wa-widget{bottom:16px !important;right:16px !important;}
  .wa-panel{width:290px !important;}
  .wa-btn{width:54px !important;height:54px !important;}
  /* Scroll-to-top: subir encima del boton WhatsApp (16+54+12=82) */
  #scrollTopBtn{right:20px !important;left:auto !important;bottom:82px !important;}
  /* Tooltip: subir encima del scroll button (82+40+12=134) */
  #waTooltip{bottom:134px !important;right:16px !important;font-size:12px !important;padding:8px 12px !important;}
}

/* Alert strip (cabecera - anuncios/festivos/promos) */
.alert-strip{display:flex !important;align-items:center !important;justify-content:center !important;gap:10px !important;padding:8px 16px !important;font-family:'Inter','Segoe UI',sans-serif !important;font-size:13px !important;font-weight:600 !important;text-align:center !important;line-height:1.4 !important;position:relative !important;}
.alert-text{flex:1 !important;text-align:center !important;}
.alert-close{background:none !important;border:none !important;font-size:20px !important;cursor:pointer !important;opacity:.6 !important;line-height:1 !important;padding:0 4px !important;flex-shrink:0 !important;transition:opacity .2s !important;}
.alert-close:hover{opacity:1 !important;}
a.alert-strip{cursor:pointer !important;text-decoration:none !important;color:inherit !important;}
a.alert-strip:hover{filter:brightness(.95) !important;}
.alert-info{background:#eff6ff !important;color:#1e40af !important;border-bottom:1px solid #bfdbfe !important;}.alert-info .alert-close{color:#1e40af !important;}
.alert-aviso{background:#fffbeb !important;color:#92400e !important;border-bottom:1px solid #fde68a !important;}.alert-aviso .alert-close{color:#92400e !important;}
.alert-promo{background:#f0fdf4 !important;color:#166534 !important;border-bottom:1px solid #bbf7d0 !important;}.alert-promo .alert-close{color:#166534 !important;}
.alert-urgente{background:#fef2f2 !important;color:#991b1b !important;border-bottom:1px solid #fecaca !important;}.alert-urgente .alert-close{color:#991b1b !important;}
@media(max-width:768px){.alert-strip{font-size:11px !important;padding:6px 12px !important;}}


/* Footer trust bar (menu_inferior.asp) */
/* --- ESTILOS FOOTER DARK --- */
    #footer-black {
        background-color: #111111;
        color: #b0b0b0;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        line-height: 1.5;
        margin-top: 20px; /* Reducido para acercar al contenido */
        border-top: 4px solid #005a9c;
        padding-top: 30px; /* Optimizado verticalmente */
        padding-bottom: 10px; /* Optimizado verticalmente */
        text-align: left;
    }

    /* CONTENEDOR 4 COLUMNAS - EQUILIBRADO */
    .footer-wrapper {
        max-width: 1100px;
        margin: 0 auto; /* Centrado perfecto */
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px; /* Espacio uniforme entre columnas */
        padding: 0 40px; /* Mismo margen interior a izq y der */
        margin-bottom: 20px; /* Reducido espacio antes del copyright */
    }

    /* Columnas Individuales */
    .f-col {
        flex: 1 1 200px;
        margin-bottom: 15px; /* Reducido */
    }

    /* Titulos */
    .f-title {
        color: #ffffff;
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 10px; /* Mas pegado al contenido */
        letter-spacing: 0.5px;
        position: relative;
        padding-bottom: 6px;
    }
    
    .f-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 25px;
        height: 2px;
        background-color: #005a9c;
    }

    /* Enlaces */
    .f-links { list-style: none; padding: 0; margin: 0; }
    .f-links li { margin-bottom: 4px; /* Lista mas compacta */ }
    
    .f-links a {
        color: #b0b0b0;
        text-decoration: none;
        transition: all 0.2s ease;
        display: block;
    }
    
    .f-links a:hover {
        color: #ffffff;
        padding-left: 5px;
    }

    /* Datos de contacto */
    .f-phone {
        font-size: 16px;
        color: #fff;
        font-weight: 700;
        display: block;
        margin-bottom: 4px;
        margin-top: 8px;
    }

    /* Redes Sociales */
    .social-box {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }
    .social-box a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 6px;
        background: rgba(255,255,255,0.06);
        transition: all 0.3s;
    }
    .social-box a:hover {
        background: rgba(255,255,255,0.15);
        transform: translateY(-2px);
    }
    .social-box a svg {
        width: 16px;
        height: 16px;
        fill: rgba(255,255,255,0.5);
        transition: fill 0.3s;
    }
    .social-box a:hover svg {
        fill: #ffffff;
    }


    /* Pagos y confianza */
    .footer-trust {
        max-width: 1100px;
        margin: 0 auto;
        padding: 18px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
        border-top: 1px solid #222;
    }
    .footer-trust-label {
        font-size: 11px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: .5px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .footer-trust-label svg { width: 16px; height: 16px; fill: #22c55e; }
    .footer-pay-icons {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    .pay-icon {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 6px;
        padding: 6px 12px;
        display: flex;
        align-items: center;
        gap: 6px;
        color: #999;
        font-size: 11px;
        font-weight: 600;
        transition: all .2s;
    }
    .pay-icon:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
    .pay-icon svg { height: 20px; width: auto; }
    @media(max-width:768px) { .footer-trust { padding: 16px 20px; gap: 14px; } .pay-icon { padding: 5px 8px; font-size: 10px; } }
    /* ZONA INFERIOR (Impuestos y Copyright) */
    .footer-bottom-zone {
        max-width: 1100px;
        margin: 0 auto;
        padding: 15px 20px; /* Vertical optimizado */
        border-top: 1px solid #222;
        text-align: center; 
    }

    /* Texto Impuestos */
    .tax-line {
        font-size: 11px;
        color: #777;
        margin-bottom: 8px; /* Pegado al copyright */
        display: block;
    }

    /* Copyright */
    .copyright-text {
        font-size: 12px;
        color: #666;
    }
    .copyright-text strong { color: #888; }

    /* Responsive Movil */
    @media only screen and (max-width: 768px) {
        .footer-wrapper { 
            flex-direction: column; 
            gap: 20px; 
            text-align: center;
            padding: 0 20px; /* Margen movil estandar */
        }
        .f-title::after { left: 50%; transform: translateX(-50%); }
        .social-box { justify-content: center; }
        .f-links a:hover { padding-left: 0; color: #fff; }
    }

/* =============================================================
   DTF / SUBLIMACION POR METROS (dtf-sublimacion-metros.asp)
   ============================================================= */
*{box-sizing:border-box}
.dtf-wrap{max-width:860px;margin:0 auto;padding:10px 0 40px}
.dtf-svc-hdr{background:#002147;color:#fff;padding:12px 18px;border-radius:10px;margin-bottom:12px;display:none;justify-content:space-between;align-items:center}
.dtf-svc-hdr .sh-t{font-size:16px;font-weight:800;letter-spacing:.5px}.dtf-svc-hdr .sh-s{font-size:11px;opacity:.7}
.dtf-steps{display:flex;gap:4px;margin-bottom:16px}
.dtf-step{flex:1;text-align:center;padding:8px 4px;border-radius:8px;font-size:10px;font-weight:700;color:#94a3b8;background:#fff;border:2px solid #e2e8f0;cursor:default;transition:.2s}
.dtf-step.active{background:#005a9c;color:#fff;border-color:#005a9c}.dtf-step.done{background:#f0fdf4;color:#16a34a;border-color:#bbf7d0}
.dtf-step .sn{display:block;font-size:14px;font-weight:800;margin-bottom:1px}
.dtf-panel{display:none}.dtf-panel.show{display:block}
.dtf-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;margin-bottom:12px;box-shadow:0 1px 4px rgba(0,0,0,.03)}
.dtf-card h2{font-size:14px;color:#002147;margin:0 0 4px;font-weight:800}.dtf-card .desc{font-size:13px;color:#64748b;margin:0 0 10px;line-height:1.4}
.dtf-grid{display:grid;gap:8px}.dtf-g2{grid-template-columns:1fr 1fr}.dtf-g3{grid-template-columns:1fr 1fr 1fr}
@media(max-width:640px){.dtf-g2,.dtf-g3{grid-template-columns:1fr}.dtf-price-tbl{display:block;overflow-x:auto}.dtf-sueltos-wrap{flex-direction:column !important}}
.dtf-opt{border:2px solid #e2e8f0;border-radius:8px;padding:10px;cursor:pointer;transition:.15s;text-align:center}
.dtf-opt:hover{border-color:#005a9c;background:#eff6ff}.dtf-opt.sel{border-color:#005a9c;background:#eff6ff}
.dtf-opt.dis{opacity:.4;pointer-events:none}
.dtf-opt .tit{font-size:12px;font-weight:800;color:#002147}.dtf-opt .sub{font-size:10px;color:#64748b;margin-top:2px}
.dtf-label{font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.3px;margin-bottom:3px;display:block}
.dtf-input{width:100%;padding:8px 10px;border:2px solid #e2e8f0;border-radius:8px;font-size:13px;font-family:inherit;outline:none;box-sizing:border-box}.dtf-input:focus{border-color:#005a9c}
.dtf-select{width:100%;padding:8px 10px;border:2px solid #e2e8f0;border-radius:8px;font-size:12px;font-family:inherit;outline:none;box-sizing:border-box;background:#fff}
.dtf-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border:none;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:.15s}
.dtf-btn-p{background:#005a9c;color:#fff}.dtf-btn-p:hover{background:#004680}
.dtf-btn-s{background:#f1f5f9;color:#334155}.dtf-btn-s:hover{background:#e2e8f0}
.dtf-btn-g{background:#16a34a;color:#fff}.dtf-btn-g:hover{background:#15803d}
.dtf-btn-d{background:#dc2626;color:#fff;padding:5px 10px;font-size:11px;border-radius:5px}.dtf-btn-d:hover{background:#b91c1c}
.dtf-btn-e{background:#005a9c;color:#fff;padding:5px 10px;font-size:11px;border-radius:5px}.dtf-btn-e:hover{background:#00447a}
.dtf-btns{display:flex;gap:8px;justify-content:space-between;margin-top:16px}
.dtf-drop{border:2px dashed #cbd5e1;border-radius:10px;padding:18px 14px;text-align:center;cursor:pointer;transition:.2s;background:#fafbfc}
.dtf-drop:hover,.dtf-drop.over{border-color:#005a9c;background:#eff6ff}
.dtf-drop .txt{font-size:12px;color:#64748b}.dtf-drop .hint{font-size:10px;color:#94a3b8;margin-top:4px}
.dtf-checks{margin-top:6px;display:flex;flex-wrap:wrap;gap:3px}
.dtf-chk{padding:3px 8px;border-radius:5px;font-size:11px;font-weight:700}.chk-ok{background:#f0fdf4;color:#16a34a}.chk-warn{background:#fffbeb;color:#d97706}
.dtf-preview{margin-top:8px;background:#1e293b;border-radius:8px;padding:10px;position:relative;text-align:center}
.dtf-preview canvas{max-width:100%;border-radius:4px;background:repeating-conic-gradient(#e8e8e8 0% 25%, #fff 0% 50%) 50% / 16px 16px;cursor:zoom-in}
.dtf-rot-btn{position:absolute;bottom:6px;right:6px;background:rgba(255,255,255,.9);border:none;border-radius:6px;padding:4px 10px;font-size:11px;cursor:pointer;font-weight:700;color:#002147}
.dtf-price-tbl{width:100%;border-collapse:collapse;margin-top:10px}
.dtf-price-tbl th{background:#fff;color:#64748b;padding:10px 8px;text-align:center;font-size:10px;font-weight:600;border-bottom:2px solid #002147}
.dtf-price-tbl td{padding:10px 8px;text-align:center;font-size:13px;color:#334155;border-bottom:1px solid #f1f5f9}
.dtf-price-tbl td:first-child{font-weight:700;font-size:11px;color:#005a9c;text-align:left}
.dtf-price-tbl td.sel{background:#fef9c3;color:#92400e;font-weight:800;font-size:15px;border-bottom:2px solid #f59e0b}
.dtf-sum-card{background:linear-gradient(135deg,#f8fafc,#eff6ff);border:2px solid #e2e8f0;border-radius:12px;padding:18px;margin-top:12px}
.dtf-sum-row{display:flex;justify-content:space-between;padding:4px 0;font-size:13px}.dtf-sum-row .lbl{color:#64748b}.dtf-sum-row .val{font-weight:700;color:#334155}
.dtf-sum-row.big{font-size:22px;font-weight:800;color:#002147;padding:10px 0;border-top:2px solid #002147;margin-top:8px}
.dtf-pay-opt{border:2px solid #e2e8f0;border-radius:8px;padding:12px;cursor:pointer;transition:.15s;display:flex;align-items:center;gap:10px}
.dtf-pay-opt:hover{border-color:#005a9c}.dtf-pay-opt.sel{border-color:#005a9c;background:#eff6ff}
.dtf-pay-opt .info h3{margin:0;font-size:12px;font-weight:700;color:#002147}.dtf-pay-opt .info p{margin:2px 0 0;font-size:10px;color:#64748b}
.dtf-info{background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:10px 14px;font-size:11px;color:#1e40af;margin-top:8px;line-height:1.5}
.dtf-warn{background:#fffbeb;border:1px solid #fde68a;border-radius:6px;padding:10px 14px;font-size:11px;color:#92400e;margin-top:8px}
.dtf-ok-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:24px;text-align:center;font-size:14px;color:#166534;font-weight:700}.dtf-ok-box .big{font-size:36px;margin-bottom:8px}
.pv-chk{display:flex;align-items:center;gap:8px;min-height:28px;cursor:pointer;user-select:none}
.pv-chk input[type="checkbox"],.pv-chk input[type="radio"]{flex-shrink:0;width:16px;height:16px;margin:0;cursor:pointer;accent-color:#005a9c}
.pv-chk span{font-size:11px;color:#334155;font-weight:500;line-height:1.4}
.ds-item{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;margin-bottom:4px;font-size:12px;cursor:pointer;transition:.1s}
.ds-item:hover{background:#eff6ff;border-color:#005a9c}
.ds-item .ds-info{flex:1;min-width:0}.ds-item .ds-name{font-weight:700;color:#002147;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ds-item .ds-meta{font-size:11px;color:#64748b}
.dtf-modal{display:none;position:fixed;inset:0;z-index:9999;background:rgba(0,33,71,.6);backdrop-filter:blur(4px);align-items:center;justify-content:center;padding:16px}
.dtf-modal.show{display:flex}
.dtf-modal-box{background:#fff;border-radius:14px;max-width:420px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.25);overflow:hidden}
.dtf-modal-head{padding:14px 20px;background:#002147;color:#fff;font-size:14px;font-weight:700}
.dtf-modal-body{padding:20px;font-size:13px;color:#334155;line-height:1.5}
.dtf-modal-foot{padding:12px 20px;text-align:right;border-top:1px solid #e2e8f0}
.just-drop{border:2px dashed #bbf7d0;border-radius:8px;padding:10px;text-align:center;cursor:pointer;background:#f0fdf4;margin-top:8px}
.just-drop:hover{border-color:#16a34a}
.dtf-zoom{display:none;position:fixed;inset:0;z-index:9998;background:rgba(0,0,0,.9);padding:0;overflow:auto}
.dtf-zoom.show{display:flex;flex-direction:column;align-items:center;justify-content:center}
.dtf-zoom canvas{border-radius:4px;transform-origin:center center;transition:transform .2s}
.zm-bar{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:rgba(255,255,255,.95);border-radius:10px;padding:6px 14px;display:flex;gap:10px;align-items:center;z-index:9999;box-shadow:0 4px 20px rgba(0,0,0,.3)}
.zm-bar button{background:none;border:2px solid #002147;border-radius:6px;width:36px;height:36px;font-size:18px;font-weight:800;cursor:pointer;color:#002147}
.zm-bar button:hover{background:#002147;color:#fff}
.zm-bar span{font-size:13px;font-weight:700;color:#002147;min-width:50px;text-align:center}
.envio-opt{flex:1;min-width:140px;padding:10px 12px;border:2px solid #e2e8f0;border-radius:8px;display:flex;align-items:center;gap:8px;cursor:pointer;transition:.15s}
.envio-opt:hover{border-color:#005a9c}.envio-opt.eo-free{border-color:#bbf7d0;background:#f0fdf4}


/* ============================================================
   SECCION 3: CABECERA + NAVEGACION + RESPONSIVE
   Header, top bar, buscador, menu nav, dropdowns,
   footer, mobile breakpoints
   ============================================================ */
    /* --- RESPONSIVE TABLET --- */
    @media only screen and (max-width: 1120px) {
        .tablacontenido { width: 100% !important; padding: 0 !important; box-shadow: none !important; }
        .contenidoprincipal { width: 100% !important; float: none !important; padding: 10px !important; margin: 0 !important; }
        .menuizquierda { width: 100% !important; float: none !important; padding: 10px !important; display: block !important; }
        .sidebar-wrapper { width: 100% !important; padding: 0 !important; }
        #header-final { max-width: 100% !important; }
        .nav-ul { flex-wrap: wrap; justify-content: flex-start; }
        .nav-li { width: 50%; border-bottom: 1px solid #f0f0f0; }
        .nav-label-li { display: none; }
        .nav-a { text-align: center; border-bottom: none !important; padding: 12px; }
        .sep { display: none; }

        .dropdown-brands { columns: 1; min-width: auto; }
        .contenidoprincipal img, .menuizquierda img { max-width: 100% !important; height: auto !important; }
    }

    /* --- RESPONSIVE MOVIL --- */
    @media only screen and (max-width: 768px) {
        /* Top bar: portes gratis + enlaces (Blog oculto en movil) */
        .top-strip { height: auto !important; padding: 6px 12px !important; flex-wrap: wrap !important; justify-content: center !important; gap: 2px 0 !important; }
        .strip-left { width: 100% !important; justify-content: center !important; font-size: 10px !important; }
        .strip-right { display: flex !important; width: 100% !important; justify-content: center !important; gap: 0 !important; border-top: 1px solid rgba(255,255,255,.1) !important; padding-top: 4px !important; margin-top: 2px !important; }
        .strip-right a { margin-left: 0 !important; padding: 2px 10px !important; font-size: 9px !important; }
        .strip-right .link-blog { display: none !important; }

        /* Mid zone: logo + presupuesto en fila, buscador debajo */
        .mid-zone { flex-direction: row !important; flex-wrap: wrap !important; padding: 8px 12px !important; gap: 0 !important; align-items: center !important; text-align: left !important; }

        /* Logo pequeno */
        .logo-box { order: 1 !important; flex: 0 0 auto !important; }
        .logo-box img { width: 110px !important; }

        /* Ocultar WA dropdown + telefono + tagline */
        .wa-dropdown-wrapper { display: none !important; }
        .phone-inline { display: none !important; }
        .header-tagline { display: none !important; }

        /* Presupuesto: a la derecha del logo */
        .actions-stack { order: 2 !important; flex: 0 0 auto !important; margin-left: auto !important; width: auto !important; align-items: center !important; gap: 0 !important; }
        .btn-quote { padding: 8px 16px !important; font-size: 12px !important; }

        /* Buscador: ancho completo debajo */
        .search-container { order: 3 !important; width: 100% !important; max-width: 100% !important; flex: 1 0 100% !important; margin-top: 8px !important; }
        .ac-dropdown { border-radius: 8px; }

        /* Nav: DESTACADOS full width, rest aligned 50/50 */
        .nav-label-li { width: 100% !important; }
        .nav-a { padding: 10px 12px !important; }

        /* Dropdowns: full-width panel like CATALOGO */
        .nav-ul { position: relative !important; }
        .nav-li { position: static !important; }
        .dropdown-box { display: none !important; position: absolute !important; left: 0 !important; right: 0 !important; width: 100% !important; box-shadow: none !important; border: none !important; min-width: auto !important; columns: initial !important; z-index: 100 !important; }
        .dropdown-box.mob-open { display: grid !important; gap: 0 !important; padding: 0 !important; background: #fff !important; border-top: 2px solid #005a9c !important; border-bottom: 2px solid #e2e8f0 !important; box-shadow: 0 8px 24px rgba(0,0,0,.1) !important; }
        .dropdown-print.mob-open { grid-template-columns: 1fr 1fr !important; }
        .dropdown-brands.mob-open { grid-template-columns: 1fr 1fr 1fr !important; }
        .dropdown-box .drop-link { font-size: 12px !important; padding: 10px 12px !important; text-align: left !important; border-bottom: 1px solid #f1f5f9 !important; color: #334155 !important; }
        .dropdown-box .drop-link:hover { background: #f0f7ff !important; color: #005a9c !important; }
        .nav-li:hover .dropdown-box { display: none !important; }
        .nav-li:hover .dropdown-box.mob-open { display: grid !important; }
    }

    /* --- ESTILOS GENERALES --- */
    #header-final {
        font-family: 'Inter', sans-serif;
        background-color: #ffffff;
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        position: relative;
        z-index: 900;
    }

    #header-final * {
        box-sizing: border-box;
        text-decoration: none !important;
    }

    /* 1. TOP BAR */
    .top-strip {
        background-color: #111;
        color: #fff;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        font-size: 11px;
        font-weight: 500;
    }
    
    .strip-left { display: flex; align-items: center; color: #facc15; }
    .icon-truck { width: 14px; height: 14px; fill: currentColor; margin-right: 6px; }

    .strip-right a {
        color: #d1d5db; margin-left: 20px; text-transform: uppercase;
        font-size: 10px; font-weight: 600; transition: color 0.2s;
    }
    .strip-right a:hover { color: #fff; }
    .link-offer { color: #fb923c !important; }

    /* 2. ZONA CENTRAL */
    .mid-zone {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 30px;
        background-color: #ffffff;
        gap: 20px;
    }

    .logo-box img { display: block; border: 0; width: 180px; height: auto; }

    /* BUSCADOR + TAGLINE */
    .search-container { 
        flex-grow: 1; 
        max-width: 520px; 
        display: flex; 
        flex-direction: column; 
        justify-content: center; 
    }
    
    .header-tagline {
        font-size: 11px; color: #64748b; margin-bottom: 8px; margin-left: 2px;
        font-weight: 500; letter-spacing: 0px; line-height: 1.2;
    }

    .search-form-clean {
        display: flex; width: 100%; border: 1px solid #e2e8f0; border-radius: 99px;
        overflow: hidden; background: #f8fafc; height: 40px; transition: all 0.2s;
    }
    .search-form-clean:focus-within { background: #fff; border-color: #005a9c; box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1); }
    .inp-search {
        flex-grow: 1; border: none; padding: 0 20px; font-size: 13px;
        font-family: 'Inter', sans-serif; background: transparent; outline: none; color: #334155;
    }
    .btn-search {
        background: transparent; border: none; padding: 0 15px; cursor: pointer;
        display: flex; align-items: center; color: #64748b;
    }
    .btn-search:hover { color: #005a9c; }
    .icon-lens { width: 18px; height: 18px; fill: currentColor; }

    /* BTN LIMPIAR INPUT */
    .btn-clear {
        background: transparent; border: none; padding: 0 8px; cursor: pointer;
        display: none; align-items: center; color: #94a3b8; font-size: 18px; line-height: 1;
    }
    .btn-clear:hover { color: #64748b; }

    /* AUTOCOMPLETE DROPDOWN */
    .search-wrapper { position: relative; }
    .ac-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 4px);
        left: 0; right: 0;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.12);
        z-index: 9999;
        max-height: 420px;
        overflow-y: auto;
    }
    .ac-dropdown.ac-visible { display: block; }
    .ac-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 15px;
        text-decoration: none;
        color: #334155;
        transition: background 0.15s;
        border-bottom: 1px solid #f1f5f9;
    }
    .ac-item:last-child { border-bottom: none; }
    .ac-item:hover, .ac-item.ac-active { background: #f0f7ff; }
    .ac-thumb {
        width: 48px; height: 48px; object-fit: contain;
        border-radius: 6px; background: #f8fafc; border: 1px solid #f1f5f9; flex-shrink: 0;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: smooth;
        filter: contrast(1.03) brightness(1.01);
    }
    .ac-info { flex-grow: 1; min-width: 0; }
    .ac-name {
        font-size: 13px; font-weight: 600; color: #1e293b;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .ac-ref { font-size: 11px; color: #94a3b8; }
    .ac-brand {
        display: inline-block; background: #e0f2fe; color: #0369a1; font-size: 10px;
        font-weight: 700; padding: 1px 6px; border-radius: 3px; text-transform: uppercase;
    }
    .ac-price { font-size: 14px; font-weight: 700; color: #dc2626; white-space: nowrap; }


    .ac-empty { padding: 20px; text-align: center; color: #94a3b8; font-size: 13px; }
    .ac-footer {
        padding: 10px 15px; text-align: center; border-top: 1px solid #e2e8f0;
        font-size: 12px; font-weight: 600; color: #005a9c; cursor: pointer;
    }
    .ac-footer:hover { background: #f0f7ff; }


    /* --- COLUMNA DERECHA --- */
    .actions-stack {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 8px; 
        position: relative;
    }

    /* E1: BOT?N DESPLEGABLE HORARIOS/WA */
    .wa-dropdown-wrapper { position: relative; }
    
    .wa-trigger-clean {
        display: inline-flex; align-items: center;
        background-color: #ffffff;
        border: 1px solid #e5e7eb;
        color: #374151;
        font-size: 11px; font-weight: 700; text-transform: uppercase;
        padding: 6px 14px; border-radius: 20px;
        cursor: pointer; transition: all 0.2s;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .wa-trigger-clean:hover { border-color: #25d366; color: #111; background-color: #f0fdf4; }
    .wa-icon-unified { width: 15px; height: 15px; fill: #25d366; margin-right: 6px; }
    .arrow-trigger { font-size: 9px; margin-left: 4px; color: #9ca3af; }

    /* DESPLEGABLE */
    .wa-dropdown-content {
        position: absolute; top: 100%; right: 0; width: 340px;
        background: #fff; border: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-radius: 8px;
        padding: 15px; display: none; z-index: 2000; text-align: left;
        margin-top: 5px; cursor: default;
    }
    .wa-dropdown-content::before {
        content: ""; position: absolute; top: -6px; right: 20px;
        border-width: 0 6px 6px 6px; border-style: solid; border-color: transparent transparent #fff transparent;
    }
    .wa-dropdown-wrapper:hover .wa-dropdown-content { display: block; }

    .wd-section { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed #e5e7eb; }
    .wd-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
    
    .wd-header { font-size: 13px; font-weight: 800; color: #005a9c; text-transform: uppercase; margin-bottom: 4px; display: block; }
    .wd-info { font-size: 12px; color: #555; line-height: 1.5; margin-bottom: 8px; display: block; }
    .wd-info strong { color: #111; font-weight: 700; }
    
    .wd-buttons-grid { display: flex; gap: 6px; }
    
    .wd-btn-grey {
        flex: 1; display: flex; align-items: center; justify-content: center;
        background-color: #f3f4f6; border: 1px solid #e5e7eb;
        color: #374151; font-size: 11px; font-weight: 700; padding: 8px 10px;
        border-radius: 50px; text-decoration: none; transition: all 0.2s;
    }
    .wd-btn-grey:hover { background-color: #e5e7eb; border-color: #d1d5db; color: #000; }
    .wd-icon-green { width: 14px; height: 14px; fill: #25d366; margin-right: 5px; }

    /* E2: TEL?FONO */
    .phone-inline {
        display: flex; align-items: center; gap: 6px;
        color: #333; font-size: 13px; font-weight: 500;
        margin-right: 2px;
    }
    .ph-label { color: #005a9c; font-weight: 800; font-size: 10px; text-transform: uppercase; }
    .ph-num { font-weight: 800; font-size: 16px; color: #111; letter-spacing: -0.5px; }
    .ph-sub { font-size: 10px; color: #666; }

    /* E3: BOT?N PRESUPUESTO */
    .btn-quote {
        display: inline-flex; align-items: center; justify-content: center;
        background-color: #005a9c; color: #fff !important;
        padding: 8px 24px; border-radius: 50px; font-size: 12px;
        font-weight: 700; text-transform: uppercase; transition: background 0.2s;
        box-shadow: 0 4px 10px rgba(0, 90, 156, 0.25); white-space: nowrap; height: 36px;
    }
    .btn-quote:hover { background-color: #00447a; }
    .quote-count { background: #dc2626; color: #fff; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 6px; margin-left: 8px; }
    .icon-cart { width: 16px; height: 16px; fill: #fff; margin-right: 6px; }

    /* 3. MEN? DE NAVEGACI?N (CONDENSED & FIXED) */

    .nav-clean { background-color: #ffffff; border-top: 1px solid #f1f5f9; }
    .nav-ul { 
        list-style: none; margin: 0; padding: 0; 
        display: flex; justify-content: center; align-items: center; 
        width: 100%; /* Asegurar ancho */
    }
    .nav-li { position: relative; }

    /* ETIQUETA DESTACADOS */
    .nav-label-li {
        display: flex; align-items: center; padding-right: 15px; padding-left: 10px;
        border-right: 1px solid #f1f5f9; margin-right: 5px;
    }
    .nav-label {
        font-family: 'Roboto Condensed', sans-serif; /* Condensed */
        font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: 0.5px;
        text-transform: uppercase; display: flex; align-items: center;
    }
    .icon-star { width: 12px; height: 12px; fill: #fbbf24; margin-right: 4px; }

    /* ENLACES DEL MEN? (ROBOTO CONDENSED) */
    .nav-a {
        display: block; 
        padding: 14px 12px; /* Padding lateral reducido para que quepan */
        color: #334155; 
        
        /* FUENTE CONDENSADA Y FIJA */
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 15px; /* Un poco m?s grande pero condensed */
        font-weight: 700 !important; /* Bold fijo */
        
        text-transform: uppercase; 
        letter-spacing: 0.02em; 
        transition: color 0.1s; /* Transici?n r?pida */
        border-bottom: 3px solid transparent; /* Espacio reservado */
        cursor: pointer;
        text-decoration: none;
        white-space: nowrap; /* Evita rotura de l?nea */
    }
    
    /* ESTADOS HOVER / ACTIVE / FOCUS (Cero movimiento) */
    .nav-a:hover, .nav-a:active, .nav-a:focus { 
        color: #005a9c; 
        border-bottom: 3px solid #005a9c; 
        background-color: transparent; 
        outline: none;
        padding: 14px 12px; /* Forzar mismo padding */
        font-weight: 700 !important; /* Forzar mismo peso */
        transform: none !important; /* Anular transformaciones */
    }

    .sep { height: 18px; width: 1px; background: #e2e8f0; margin: 0 5px; }
    .nav-special { color: #005a9c; font-weight: 700 !important; }

    .dropdown-box {
        position: absolute; top: 100%; left: 0; background-color: #ffffff;
        min-width: 240px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
        border: 1px solid #e2e8f0; border-top: 3px solid #005a9c;
        display: none; z-index: 1000; padding: 8px 0; border-radius: 0 0 4px 4px;
    }
    .nav-li:hover .dropdown-box { display: block; }
    
    .drop-link {
        display: block; padding: 10px 24px; font-size: 13px; color: #64748b; font-weight: 500;
        border-bottom: 1px dashed #f1f5f9; transition: all 0.2s;
        font-family: 'Inter', sans-serif; /* Submen?s en Inter para legibilidad */
    }
    .drop-link:last-child { border-bottom: none; }
    .drop-link:hover { color: #005a9c; padding-left: 28px; background-color: #f8fafc; }

    /* Marcas dropdown: multi-columna */
    .dropdown-brands { min-width: 420px; columns: 3; column-gap: 0; right: 0; left: auto; }
    .dropdown-brands .drop-link { padding: 8px 18px; break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; white-space: nowrap; }
    .dropdown-print { min-width: 340px; columns: 2; column-gap: 0; right: 0; left: auto; }
    .dropdown-print .drop-link { break-inside: avoid; }
    .drop-count { font-size: 10px; font-weight: 400; color: #94a3b8; margin-left: 6px; flex-shrink: 0; }
    .drop-top { font-weight: 700 !important; }
    .drop-top .drop-count { color: #d97706; font-weight: 600; }

    .alert-strip {
        background: #fef9c3; color: #854d0e; text-align: center;
        padding: 8px; font-size: 12px; font-weight: 600; border-bottom: 1px solid #fde047;
    }


/* ============================================================
   SECCION 4: HOME PAGE
   Slider, grid productos, beneficios, servicios, logos,
   secciones SEO, banners
   ============================================================ */
/* 1. GRID DE PRODUCTOS */
    .pro-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }

    /* 2. TARJETA DE PRODUCTO */
    .pro-card {
        background: #fff;
        border: none;
        border-radius: 12px;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.35s ease, box-shadow 0.35s ease;
        height: 100%;
        box-sizing: border-box;
        overflow: hidden;
        position: relative;
        box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    }
    .pro-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.10);
        z-index: 2;
    }

    /* FOTO ALTA Y ADAPTABLE */
    .pro-img-box {
        width: 100%;
        height: 260px;
        overflow: hidden;
        position: relative;
        background-color: #f8fafc;
    }

    .pro-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        display: block;
        transition: transform 0.5s ease;
    }
    .pro-card:hover .pro-img { transform: scale(1.06); }

    /* INFO DEL PRODUCTO */
    .pro-info { 
        padding: 16px 14px 18px;
        text-align: center; 
        background-color: #fff;
    }
    
    .pro-details {
        font-size: 11px;
        color: #94a3b8;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        font-weight: 500;
    }
    
    .pro-price {
        color: #dc2626;
        font-weight: 800;
        font-size: 18px;
        display: block;
        margin-bottom: 0;
    }
    .pro-price small { font-size: 11px; color: #999; font-weight: normal; margin-right: 3px; }

    /* COLOR DOTS */
    .pro-colors { display:flex; align-items:center; gap:4px; justify-content:center; margin-bottom:6px; flex-wrap:wrap; }
    .pro-dot { width:16px; height:16px; border-radius:50%; overflow:hidden; border:1.5px solid #e2e8f0; flex-shrink:0; cursor:pointer; transition:all .2s; }
    .pro-dot:hover { border-color:#005a9c; transform:scale(1.15); }
    .pro-dot img { width:100%; height:100%; object-fit:cover; display:block; }
    .pro-dot-more { font-size:10px; color:#94a3b8; font-weight:600; margin-left:2px; }
    /* SIZE RANGE */
    .pro-sizes { font-size:10px; color:#94a3b8; margin-bottom:6px; letter-spacing:0.3px; }
    .pro-sizes span { display:inline-block; background:#f1f5f9; color:#64748b; padding:1px 5px; border-radius:3px; font-weight:500; font-size:9px; margin:0 1px; }

    /* 2b. BARRA DE BENEFICIOS */
    .benefits-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 12px 10px;
        margin: 20px 0 30px 0;
        gap: 8px;
    }
    .benefit-item {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
        justify-content: center;
    }
    .benefit-item + .benefit-item {
        border-left: 1px solid #e2e8f0;
        padding-left: 10px;
    }
    .benefit-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    .benefit-text {
        font-size: 12px;
        color: #475569;
        font-weight: 500;
        white-space: nowrap;
    }
    @media (max-width: 768px) {
        .benefits-bar {
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            padding: 15px;
        }
        .benefit-item + .benefit-item {
            border-left: none;
            padding-left: 0;
        }
        .benefit-item {
            flex: 0 0 calc(50% - 10px);
            justify-content: flex-start;
        }
    }
    @media (max-width: 420px) {
        .benefit-item {
            flex: 0 0 100%;
        }
    }

    /* T&Iacute;TULO */
    .pro-card-link {
        display: block;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }
    .pro-card-link:hover { text-decoration: none; }

    .pro-title {
        font-size: 14px;
        font-weight: 700;
        color: #1e293b;
        text-decoration: none !important;
        line-height: 1.5;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.2s ease;
        margin-bottom: 6px;
    }
    .pro-title:hover { color: #005a9c; }

    /* 3. SLOGAN PRINCIPAL DESTACADO */
    .hero-title-box {
        text-align: center;
        margin: 15px 0 20px 0;
        padding: 0 10px;
    }
    .super-title {
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
        font-size: 32px;
        font-weight: 800;
        color: #005a9c;
        text-transform: uppercase;
        margin: 0;
        letter-spacing: -1px;
        line-height: 1.1;
    }
    .super-subtitle {
        display: block;
        font-size: 18px;
        color: #334155;
        margin-top: 5px;
        font-weight: 600;
    }

    /* 4. T&Eacute;CNICAS DE IMPRESI&Oacute;N */
    .svc-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 25px 0;
    }
    .svc-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #fff;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        padding: 9px 14px;
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
        font-size: 12px;
        font-weight: 600;
        color: #1e293b;
        text-decoration: none;
        transition: all 0.15s;
    }
    .svc-pill:hover {
        background: #005a9c;
        border-color: #005a9c;
        color: #fff;
        text-decoration: none;
    }
    .svc-pill:hover svg { stroke: #fff; }
    .svc-pill svg { transition: stroke 0.15s; }

    /* 4b. LOGOS EMPRESAS */
    .logos-grid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 28px 36px;
        margin: 15px 0 25px;
        padding: 24px 20px;
        background: #f9fafb;
        border-radius: 8px;
    }
    .logo-item {
        height: auto;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: 0.5;
        transition: all 0.2s;
    }
    .logo-item:hover {
        filter: grayscale(0%);
        opacity: 1;
    }

    /* 5. T&Iacute;TULOS SECUNDARIOS */
    .section-header {
        background: linear-gradient(to right, #f1f5f9, #ffffff);
        border-left: 5px solid #005a9c;
        padding: 12px 20px;
        margin: 35px 0 20px 0;
        border-radius: 4px;
    }
    .section-header h2, .section-header h3 {
        margin: 0;
        font-size: 17px;
        font-weight: 800;
        color: #334155;
        text-transform: uppercase;
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
    }

    /* 6. TEXTOS SEO */
    .seo-block {
        font-size: 13px;
        line-height: 1.6;
        color: #475569;
        margin-top: 25px;
        text-align: justify;
    }
    .seo-block p { margin-bottom: 16px; }
    .seo-block a { color: #005a9c; font-weight: 700; text-decoration: underline; }
    .seo-block strong { color: #0f172a; font-weight: 700; }
    
    .seo-highlight {
        background-color: #f8fafc;
        padding: 20px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        margin: 20px 0;
    }

    /* BANNERS RESPONSIVE 100% */
    .banner-wrap {
        width: 100%;
        max-height: 300px;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    .banner-full { 
        width: 100%;
        height: auto; 
        display: block; 
        border-radius: 0; 
        box-shadow: none; 
        margin: 0;
        object-fit: cover;
        object-position: center;
    }

    /* LISTA DE INFORMACI&Oacute;N */
    .info-list {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 20px 25px;
        margin: 30px 0;
    }
    .info-list p {
        margin: 0 0 8px 0;
        font-size: 13px;
        color: #475569;
        line-height: 1.6;
    }
    .info-list p:last-child { margin-bottom: 0; }

    /* --- ESTILOS DEL SLIDER RESPONSIVO --- */
    :root {
        --color-texto-gris: #666;
        --color-acento-azul: #5a67b5;
    }
    
        .slider-container, .slider-container * {
        box-sizing: border-box;
    }
    
    .slider-container {
        width: 100%;
        max-width: 911px;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        margin: 0 auto 20px auto; 
    }

    .slider-track {
        display: flex;
        width: 100%;
        transition: transform 0.5s ease-in-out;
    }

    .slide-link {
        display: block;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }

    .slide {
        min-width: 100%;
        position: relative;
    }

    .slide img {
        width: 100%;
        height: auto;
        display: block;
    }

    .slide-content {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.55);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-radius: 0;
        display: flex;
        align-items: center;
        padding: 0;
        z-index: 2;
        
        overflow: hidden;
    }
    
    .slide-info-left {
        flex: 1;
        padding: 14px 22px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .txt-box-questions {
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
        font-size: clamp(10px, 1.3vw, 12px); 
        color: rgba(255,255,255,0.85);
        font-weight: 400;
        line-height: 1.4;
    }

    .txt-box-title {
        background: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: auto;
        display: block;
    }
    
    .txt-box-title h2 {
        margin: 0;
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
        font-size: clamp(15px, 2.8vw, 22px);
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 1.15; 
        color: #fff;
        font-weight: 800;
    }

    .txt-box-price {
        background: #9b1b30;
        padding: 14px 22px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 130px;
        flex-shrink: 0;
        align-self: stretch;
    }

    .txt-box-price .label {
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
        font-size: clamp(9px, 1.2vw, 11px); 
        color: rgba(255,255,255,0.7);
        letter-spacing: 1px;
        font-weight: 400;
        text-transform: uppercase;
    }
    
    .txt-box-price .price {
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
        font-size: clamp(24px, 4.5vw, 32px); 
        font-weight: 900;
        color: #fff;
        line-height: 1;
        letter-spacing: -0.5px;
    }

    .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.3);
        color: white;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 10;
        font-size: 24px;
        transition: background-color 0.3s;
    }
    
    .nav-btn:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }
    
    .prev-btn { left: 0; border-radius: 0 5px 5px 0; }
    .next-btn { right: 0; border-radius: 5px 0 0 5px; }

    /* DOTS INDICADORES SLIDER */
    .slider-dots {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 11;
    }
    .slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255,255,255,0.4);
        border: none;
        cursor: pointer;
        padding: 0;
        transition: background 0.3s;
    }
    .slider-dot.active {
        background: #fff;
    }


    /* RESPONSIVE */
    @media (max-width: 768px) {
        .pro-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
        .pro-img-box { height: 200px; } 
        .super-title { font-size: 24px; }
        .pro-price { font-size: 16px; }
        .svc-grid { flex-wrap: wrap; }
        .info-list { padding: 15px; }
        .pro-card-link {
        display: block;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }
    .pro-card-link:hover { text-decoration: none; }

    .pro-title { min-height: auto; }
        
        .nav-btn { padding: 8px; font-size: 18px; }
        .slide-content { bottom: 10px; }
        .slide-info-left { padding: 10px 14px; }
        .txt-box-price { min-width: 100px; padding: 10px 14px; }
        .txt-box-questions { font-size: 10px; }
    }


/* ============================================================
   SECCION 5: CSS MIGRADO DE PAGINAS INDIVIDUALES
   Extraido de bloques <style> inline de 18 ficheros
   ============================================================ */

/* --- presupuesto.asp --- */
.wiz-bar{display:none;align-items:center;justify-content:center;margin-bottom:20px;padding:0 8px;}
.wiz-bar.visible{display:flex;}
.wiz-st{display:flex;flex-direction:column;align-items:center;flex:1;max-width:140px;}
.wiz-st-c{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;border:2px solid #d1d5db;background:#f8fafc;color:#94a3b8;transition:all .3s;}
.wiz-st.done .wiz-st-c{background:#16a34a;border-color:#16a34a;color:#fff;}
.wiz-st.active .wiz-st-c{background:#005a9c;border-color:#005a9c;color:#fff;box-shadow:0 0 0 4px rgba(0,90,156,.15);}
.wiz-st-lb{font-size:10px;color:#94a3b8;margin-top:4px;font-weight:600;text-align:center;}
.wiz-st.active .wiz-st-lb{color:#005a9c;font-weight:800;}
.wiz-st.done .wiz-st-lb{color:#16a34a;}
.wiz-cn{flex:1;height:2px;background:#d1d5db;margin-bottom:18px;transition:background .3s;max-width:60px;}
.wiz-cn.done{background:#16a34a;}
.wiz-sec{display:none;}
.wiz-nav{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:14px;border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:10px;}
.wiz-btn-next{background:#005a9c;color:#fff!important;font-size:14px;font-weight:800;padding:11px 28px;border-radius:7px;border:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-family:'Inter',sans-serif;}
.wiz-btn-next:hover{background:#004a80;}
.wiz-btn-back{background:transparent;color:#64748b!important;border:1px solid #d1d5db;font-size:13px;font-weight:700;padding:9px 18px;border-radius:7px;cursor:pointer;display:inline-flex;align-items:center;gap:5px;font-family:'Inter',sans-serif;}
.wiz-btn-back:hover{background:#f8fafc;}
.wiz3-totalbox{background:#f0f7ff;border:1px solid #bfdbfe;border-radius:9px;padding:14px 18px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;}
.wiz3-tv{font-size:24px;font-weight:800;color:#002147;font-family:'Roboto Condensed',sans-serif;}
.wiz3-cards{display:flex!important;flex-direction:column!important;gap:10px;margin-bottom:16px;}
.wiz3-card{display:flex;border:2px solid #e2e8f0;border-radius:12px;padding:16px 20px;cursor:pointer;transition:all .2s;background:#fff;position:relative;flex-direction:row!important;align-items:center!important;gap:16px!important;}
.wiz3-card:hover{border-color:#93c5fd;background:#fafbff;}
.wiz3-card.sel0{border-color:#64748b;background:#f8fafc;box-shadow:0 2px 8px rgba(100,116,139,.1);}
.wiz3-card.sel50{border-color:#005a9c;background:#eff6ff;box-shadow:0 2px 12px rgba(0,90,156,.1);}
.wiz3-card.sel100{border-color:#16a34a;background:#f0fdf4;box-shadow:0 2px 12px rgba(22,163,74,.1);}
.wiz3-radio{width:22px;height:22px;border-radius:50%;border:2px solid #cbd5e1;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;transition:all .2s;}
.wiz3-radio-dot{width:12px;height:12px;border-radius:50%;transform:scale(0);transition:transform .2s;}
.wiz3-card.sel0 .wiz3-radio{border-color:#64748b;}.wiz3-card.sel0 .wiz3-radio-dot{background:#64748b;transform:scale(1);}
.wiz3-card.sel50 .wiz3-radio{border-color:#005a9c;}.wiz3-card.sel50 .wiz3-radio-dot{background:#005a9c;transform:scale(1);}
.wiz3-card.sel100 .wiz3-radio{border-color:#16a34a;}.wiz3-card.sel100 .wiz3-radio-dot{background:#16a34a;transform:scale(1);}
.wiz3-icbox{width:42px;height:42px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;transition:all .2s;}
.wiz3-card.sel0 .wiz3-icbox{background:rgba(100,116,139,.08);border-color:rgba(100,116,139,.2);}
.wiz3-card.sel50 .wiz3-icbox{background:rgba(0,90,156,.06);border-color:rgba(0,90,156,.2);}
.wiz3-card.sel100 .wiz3-icbox{background:rgba(22,163,74,.06);border-color:rgba(22,163,74,.2);}
.wiz3-info{flex:1!important;min-width:0!important;}
.wiz3-badge{display:inline-block;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;padding:2px 7px;border-radius:4px;margin-left:8px;vertical-align:middle;}
.wiz3-icon{font-size:32px;margin-bottom:6px;}
.wiz3-title{font-size:16px;font-weight:800;color:#002147;display:inline;}
.wiz3-imp{font-size:20px;font-weight:800;color:#002147;font-family:'Roboto Condensed',monospace;line-height:1;white-space:nowrap;flex-shrink:0!important;}
.wiz3-desc{font-size:12px;color:#64748b;line-height:1.4;margin-top:3px;}
.wiz4-blk{display:none;}
.wiz4-ok{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:24px;text-align:center;margin-bottom:16px;}
.wiz4-ok-icon{font-size:48px;margin-bottom:8px;}
.wiz4-ok h2{font-size:22px;font-weight:800;color:#002147;margin:0 0 6px;font-family:'Roboto Condensed',sans-serif;}
.wiz4-ok p{font-size:13px;color:#475569;margin:0 0 4px;}
.wiz4-ok .ref{font-size:13px;font-weight:700;color:#005a9c;margin-top:5px;}
.pv-spin{border:4px solid #e2e8f0;border-top:4px solid #005a9c;border-radius:50%;width:36px;height:36px;animation:pvs .8s linear infinite;margin:16px auto;}
@keyframes pvs{to{transform:rotate(360deg);}}
.wiz4-iban{background:#f0f7ff;border:1px solid #bfdbfe;border-radius:7px;padding:10px 14px;margin-bottom:7px;}
.wiz4-iban-bank{font-size:10px;font-weight:700;color:#005a9c;margin-bottom:2px;}
.wiz4-iban-num{font-size:14px;font-weight:800;color:#002147;letter-spacing:.3px;font-family:monospace;}
.wiz4-upload{border:2px dashed #93c5fd;border-radius:9px;padding:20px;text-align:center;cursor:pointer;background:#f8fbff;margin-top:10px;transition:border .2s;}
.wiz4-upload:hover{border-color:#005a9c;}
.wiz4-uploaded{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:7px;padding:9px 13px;display:flex;align-items:center;gap:7px;margin-top:8px;}
.wiz4-metodos{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:420px;}
.wiz4-metodo{cursor:pointer;border:2px solid #e2e8f0;border-radius:9px;padding:18px;text-align:center;background:#fff;transition:all .2s;}
.wiz4-metodo:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08);}
@media(max-width:768px){.wiz3-cards{gap:8px;}.wiz3-card{padding:14px 14px;gap:12px;}.wiz3-imp{font-size:16px;}.wiz-st-lb{display:none;}.wiz-cn{max-width:30px;}.wiz4-metodos{grid-template-columns:1fr;}}

.wiz3-card-sel{border-color:#005a9c!important;background:#eff6ff!important;box-shadow:0 4px 12px rgba(0,90,156,.12)!important;}
.wiz3-metodo{cursor:pointer;border:2px solid #e2e8f0;border-radius:10px;padding:16px;text-align:center;background:#fff;transition:all .2s;}
.wiz3-metodo:hover{border-color:#94a3b8;background:#f8fafc;}
.wiz3-metodo-sel{border-color:#005a9c!important;background:#f0f7ff!important;box-shadow:0 2px 8px rgba(0,90,156,.1)!important;}
.pv{font-family:'Inter',sans-serif;color:#1e293b;}

/* Header */
.pv-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap;gap:12px;}
.pv-title{margin:0;font-size:24px;font-weight:800;color:#002147;font-family:'Roboto Condensed',sans-serif;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:10px;}
.pv-title svg{width:28px;height:28px;fill:#005a9c;}
.pv-sub{font-size:13px;color:#64748b;margin-top:3px;}
.pv-hact{display:flex;gap:8px;flex-wrap:wrap;}

/* Buttons */
.pv-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 20px;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;transition:all .2s;border:none;text-decoration:none!important;font-family:'Inter',sans-serif;line-height:1.3;}
.pv-btn svg{width:14px;height:14px;fill:currentColor;flex-shrink:0;}
.pv-btn-pri{background:#005a9c;color:#fff!important;}
.pv-btn-pri:hover{background:#004a80;}
.pv-btn-dan{background:#fff;color:#dc2626!important;border:1px solid #fca5a5;}
.pv-btn-dan:hover{background:#fef2f2;border-color:#dc2626;}
.pv-btn-ghost{background:transparent;color:#64748b!important;border:1px solid #e2e8f0;}
.pv-btn-ghost:hover{background:#f8fafc;color:#334155!important;}
.pv-btn-send{background:linear-gradient(135deg,#28a745,#218838);color:#fff!important;font-size:17px;padding:15px 40px;border-radius:8px;box-shadow:0 4px 14px rgba(40,167,69,.3);text-transform:uppercase;letter-spacing:.5px;}
.pv-btn-send:hover{box-shadow:0 6px 20px rgba(40,167,69,.45);transform:translateY(-1px);}

/* Card */
.pv-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;margin-bottom:16px;box-shadow:0 1px 3px rgba(0,0,0,.04);}

/* ===== EMPTY STATE ===== */
.pv-empty-wrap{padding:60px 40px;text-align:center;}
.pv-empty-icon{width:120px;height:120px;margin:0 auto 24px;background:linear-gradient(135deg,#f0f7ff,#e0ecff);border-radius:50%;display:flex;align-items:center;justify-content:center;}
.pv-empty-icon svg{width:56px;height:56px;fill:#005a9c;opacity:.6;}
.pv-empty-wrap h2{font-size:22px;color:#002147;margin:0 0 10px;font-weight:800;font-family:'Roboto Condensed',sans-serif;}
.pv-empty-wrap p{color:#64748b;font-size:14px;margin:0 0 30px;max-width:400px;margin-left:auto;margin-right:auto;line-height:1.6;}
.pv-empty-steps{display:flex;gap:20px;justify-content:center;margin-bottom:32px;flex-wrap:wrap;}
.pv-es{text-align:center;max-width:160px;}
.pv-es-num{width:36px;height:36px;border-radius:50%;background:#005a9c;color:#fff;font-weight:800;font-size:14px;line-height:36px;margin:0 auto 8px;}
.pv-es-txt{font-size:12px;color:#475569;line-height:1.4;}

/* ===== TABLE ===== */
.pv-tbl{width:100%;border-collapse:collapse;font-size:13px;}
.pv-tbl>thead>tr>th{text-align:left;padding:12px 16px;font-size:10px;font-weight:700;color:#ffffff!important;text-transform:uppercase;letter-spacing:.7px;background:#005a9c!important;}
.pv-tbl>tbody>tr>td{padding:12px 16px;border-bottom:1px solid #e9eef4;vertical-align:middle;}
.pv-tbl>tbody>tr:last-child>td{border-bottom:none;}
/* Group header -- product info once */
.pv-tbl .grp-head>td{background:#dfe5ed!important;padding:10px 16px!important;border-top:2px solid #c2cdd9!important;border-bottom:none!important;}
.pv-tbl>tbody>.grp-head:first-child>td{border-top:none!important;}
.pv-tbl .grp-img{width:52px;height:52px;object-fit:contain;border-radius:5px;border:1px solid #dce3eb;background:#fff;transition:all .2s;cursor:pointer;vertical-align:middle;}
.pv-tbl .grp-img:hover{border-color:#005a9c;box-shadow:0 2px 8px rgba(0,90,156,.15);transform:scale(1.05);}
/* Line row -- color + sizes + data */
.pv-tbl>.grp>td,.pv-tbl>tbody>.grp>td{background:#f8fafb!important;padding:10px 16px!important;border-bottom:none!important;border-top:none!important;}
.pv-tbl .det>td{padding:6px 16px 6px 66px!important;border-bottom:none!important;vertical-align:top;}
.pv-tbl .det-last>td{border-bottom:1px solid #e9eef4!important;padding-bottom:12px!important;}
.pv-tbl>tbody>tr:not(.grp):not(.det):not(.grp-head):hover>td{background:#fafbfc;}
.pv-file{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:#16a34a;font-weight:600;}
.pv-file svg{width:11px;height:11px;fill:#16a34a;flex-shrink:0;}

/* Print mini-table */
.pv-prt{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed;}
/* Tinta Base tooltip */
.tb-tip{position:relative;display:inline-flex;align-items:center;cursor:help;}
.tb-tip .tb-ico{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:50%;background:#e0e7ff;color:#4338ca;font-size:10px;font-weight:800;margin-left:4px;line-height:1;flex-shrink:0;}
.tb-tip .tb-pop{display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);width:280px;padding:10px 12px;background:#1e293b;color:#f1f5f9;font-size:11px;line-height:1.5;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.25);z-index:100;font-weight:400;pointer-events:none;}
.tb-tip .tb-pop::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#1e293b;}
.tb-tip:hover .tb-pop{display:block;}
@media(max-width:600px){.tb-tip .tb-pop{width:220px;left:auto;right:-10px;transform:none;}.tb-tip .tb-pop::after{left:auto;right:16px;}}
.pv-prt col.c1{width:20%;}.pv-prt col.c2{width:35%;}.pv-prt col.c3{width:45%;}
.pv-prt th,.pv-prt td{text-align:left;padding:5px 10px!important;vertical-align:middle;border:none!important;}
.pv-prt thead th{font-size:10px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #c8d6e5!important;background:transparent!important;}
.pv-prt tbody td{color:#475569;}
.pv-prt tbody td:first-child{color:#005a9c;white-space:nowrap;}
.pv-prt tbody tr:last-child td{padding-bottom:0;}

/* Upload button in presupuesto table */
.pv-up-btn{display:inline-flex;align-items:center;gap:4px;background:#475569;color:#fff;border:none;padding:4px 10px;border-radius:4px;font-size:10px;font-weight:700;cursor:pointer;text-transform:uppercase;transition:background .2s;white-space:nowrap;}
.pv-up-btn:hover{background:#334155;}
.pv-up-btn svg{width:12px;height:12px;fill:#fff;}
.pv-file-del{display:inline-flex;align-items:center;gap:2px;background:none;border:none;color:#dc2626;font-size:10px;cursor:pointer;padding:2px 4px;font-weight:600;margin-left:6px;}
.pv-file-del:hover{text-decoration:underline;}
/* Color swatch mini */
.pv-swatch{display:inline-block;width:24px;height:24px;border-radius:4px;border:1px solid #d1d5db;vertical-align:middle;margin-right:6px;flex-shrink:0;}
.pv-sw-img{overflow:hidden;position:relative;}
.pv-sw-img img{width:100%;height:100%;object-fit:contain;display:block;}
.pv-sw-fb{width:100%;height:100%;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#94a3b8;background:#f8fafc;}
/* File preview tooltip */
.pv-file-wrap{position:relative;display:inline;cursor:pointer;}
.pv-file-wrap .pv-preview{display:none;position:absolute;bottom:calc(100% + 8px);left:0;background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,0.18);padding:6px;z-index:100;max-width:240px;}
.pv-file-wrap .pv-preview img{display:block;max-width:220px;max-height:180px;border-radius:4px;}
.pv-file-wrap .pv-preview-na{font-size:11px;color:#94a3b8;padding:8px 12px;white-space:nowrap;}
.pv-file-wrap:hover .pv-preview{display:block;}

/* Line actions */
.pv-acts{display:flex;gap:5px;align-items:center;}
.pv-act,.pv-act-del-btn{background:#fff;border:1px solid #e2e8f0;cursor:pointer;width:32px;height:32px;min-width:32px;min-height:32px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;transition:all .15s;padding:0;box-sizing:border-box;}
.pv-act svg,.pv-act-del-btn svg{width:14px;height:14px;fill:#64748b;}
.pv-act:hover{border-color:#005a9c;background:#f0f7ff;}
.pv-act:hover svg{fill:#005a9c;}
.pv-act-del-btn:hover{border-color:#dc2626;background:#fef2f2;}
.pv-act-del-btn:hover svg{fill:#dc2626;}

/* ===== SUMMARY - fixed layout ===== */
.pv-summary{display:grid;grid-template-columns:1fr 400px;gap:0;border-top:1px solid #e2e8f0;}
.pv-sum-left{padding:20px 22px;border-right:1px solid #e2e8f0;}
.pv-sum-right{padding:20px 24px;}

/* Delivery cards */
.pv-del-cards{display:flex;gap:12px;flex-wrap:wrap;}
.pv-del-opt{background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:16px 14px;text-align:center;cursor:pointer;transition:all .2s;flex:1;min-width:140px;position:relative;}
.pv-del-opt:hover{border-color:#93c5fd;box-shadow:0 4px 12px rgba(0,0,0,.06);}
.pv-del-opt.active{border-color:#005a9c;background:#f0f7ff;box-shadow:0 0 0 3px rgba(0,90,156,.15);}
.pv-del-opt svg{width:26px;height:26px;fill:#005a9c;margin:0 auto 6px;display:block;}
.pv-del-opt strong{display:block;font-size:14px;color:#005a9c;margin-bottom:2px;}
.pv-del-opt .del-date{display:block;font-size:14px;color:#002147;margin-top:6px;font-weight:800;line-height:1.3;}
.pv-del-opt .del-badge{position:absolute;top:-8px;right:-8px;background:#dc2626;color:#fff;font-size:9px;font-weight:800;padding:2px 7px;border-radius:10px;letter-spacing:.3px;}
.pv-dc-legal{font-size:11px;color:#94a3b8;margin-top:10px;line-height:1.5;}

/* Options - stable height */
.pv-opts{margin-top:16px;padding:14px 18px;background:#f0f7ff;border-radius:8px;border:1px solid #bfdbfe;}
.pv-chk{display:flex;align-items:center;gap:10px;min-height:32px;cursor:pointer;user-select:none;}
.pv-chk+.pv-chk{margin-top:2px;}
.pv-chk input[type="checkbox"]{flex-shrink:0;width:16px;height:16px;margin:0;cursor:pointer;accent-color:#005a9c;}
.pv-chk span{font-size:12px;color:#334155;font-weight:500;line-height:1.4;}

/* Totals - always same width */
.pv-tr{display:flex;justify-content:space-between;padding:6px 0;font-size:14px;color:#475569;}
.pv-tr span:last-child{font-weight:600;color:#1e293b;min-width:90px;text-align:right;}
.pv-tr-final{font-size:22px;font-weight:800;color:#002147;border-top:2px solid #002147;padding-top:14px;margin-top:10px;}
.pv-unitario{text-align:right;font-size:12px;color:#64748b;margin-top:2px;font-weight:600;}

/* Form */
.pv-section-head{padding:16px 22px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:14px;font-weight:800;color:#002147;text-transform:uppercase;letter-spacing:.4px;display:flex;align-items:center;gap:8px;}
.pv-section-head svg{width:18px;height:18px;fill:#005a9c;}
.pv-fgrid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;}
.pv-f label{display:block;font-size:10px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px;}
.pv-f input,.pv-f textarea,.pv-sel{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;font-family:'Inter',sans-serif;color:#1e293b;transition:border .2s;box-sizing:border-box;background:#fff;}
.pv-f input:focus,.pv-f textarea:focus,.pv-sel:focus{border-color:#005a9c;outline:none;box-shadow:0 0 0 3px rgba(0,90,156,.1);}
.pv-sel{appearance:auto;cursor:pointer;}
.pv-full{grid-column:1/-1;}

/* Privacy */
.pv-priv{margin-top:14px;padding:14px 0;border-top:1px solid #f1f5f9;}
.pv-priv-row{display:flex;align-items:flex-start;gap:10px;min-height:28px;}
.pv-priv-row+.pv-priv-row{margin-top:6px;}
.pv-priv-row input[type="checkbox"]{flex-shrink:0;width:16px;height:16px;margin:2px 0 0;cursor:pointer;accent-color:#005a9c;}
.pv-priv-row label{font-size:13px;color:#475569;line-height:1.5;cursor:pointer;}
.pv-priv-row label a{color:#005a9c;font-weight:600;text-decoration:underline;}

/* Express */
.pv-express{margin-top:16px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:20px 22px;}
.pv-express-title{font-size:13px;font-weight:800;color:#166534;text-transform:uppercase;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #e2e8f0;}
.pv-step{display:flex;align-items:flex-start;gap:12px;margin-bottom:10px;}
.pv-step:last-child{margin-bottom:0;}
.pv-step-n{background:#16a34a;color:#fff;min-width:24px;height:24px;border-radius:50%;text-align:center;line-height:24px;font-weight:800;flex-shrink:0;font-size:12px;}
.pv-step-t{font-size:13px;color:#374151;line-height:1.5;padding-top:2px;}
.pv-step-t strong{color:#166534;}

/* Send */
.pv-send{text-align:center;padding:28px 20px 32px;}
.pv-send-sub{font-size:11px;color:#94a3b8;margin-top:10px;}

/* ===== MODAL (alert + confirm + success) ===== */
.pv-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:99999;}
.pv-modal{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:12px;max-width:500px;width:92%;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.3);overflow:hidden;}
.pv-modal-body{padding:30px;}
.pv-modal-icon{margin:0 auto 16px;}
.pv-modal-icon svg{width:52px;height:52px;}
.pv-modal-msg{font-size:14px;color:#334155;line-height:1.5;margin-bottom:20px;}
.pv-modal-btn{background:#002147;color:#fff;border:none;padding:10px 28px;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;text-transform:uppercase;}
.pv-modal-btn:hover{background:#001a38;}
.pv-modal-btn-green{background:#16a34a;color:#fff;}
.pv-modal-btn-green:hover{background:#15803d;color:#fff;}
.pv-modal-actions{display:flex;gap:10px;justify-content:center;margin-top:4px;}
.pv-modal-btn-cancel{background:#f1f5f9;color:#334155;}
.pv-modal-btn-cancel:hover{background:#e2e8f0;}
.pv-modal-btn-red{background:#dc2626;color:#fff;}
.pv-modal-btn-red:hover{background:#b91c1c;}

/* Spinner */
.pv-spin{border:4px solid #e2e8f0;border-top:4px solid #005a9c;border-radius:50%;width:44px;height:44px;animation:pvs .8s linear infinite;margin:0 auto;}
@keyframes pvs{to{transform:rotate(360deg);}}

/* Responsive */
@media(max-width:900px){.pv-summary{grid-template-columns:1fr;}.pv-sum-left{border-right:none;border-bottom:1px solid #e2e8f0;}}
@media(max-width:768px){.pv-fgrid{grid-template-columns:1fr;}.pv-del-cards{flex-direction:column;}.pv-head{flex-direction:column;align-items:flex-start;}.pv-empty-steps{flex-direction:column;align-items:center;}}

/* Mobile: table to card layout */
@media(max-width:768px){
    .pv-tbl>thead{display:none;}
    .pv-tbl,.pv-tbl>tbody,.pv-tbl>tbody>tr,.pv-tbl>tbody>tr>td{display:block!important;width:100%!important;}
    .pv-tbl>tbody>tr>td{text-align:left!important;padding:6px 16px!important;border-bottom:none!important;}
    .pv-tbl>tbody>tr>td[data-label]:before{content:attr(data-label);display:block;font-size:9px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px;}
    .pv-tbl .grp-head>td{padding:14px 16px 8px!important;}
    .pv-tbl .grp>td:first-child{padding-top:10px!important;}
    .pv-tbl .grp{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;border-bottom:1px solid #e9eef4!important;padding:4px 0!important;}
    .pv-tbl .grp>td:nth-child(1){grid-column:1/-1;}
    .pv-tbl .grp>td:last-child{grid-column:1/-1;padding-top:4px!important;}
    .pv-tbl .grp>td:nth-child(2),.pv-tbl .grp>td:nth-child(3),.pv-tbl .grp>td:nth-child(4){text-align:left!important;}
    .pv-tbl .det>td{padding:6px 16px!important;}
    .pv-tbl .pv-prt{font-size:11px;}
    .pv-tbl .pv-prt col.c1,.pv-tbl .pv-prt col.c2,.pv-tbl .pv-prt col.c3{width:auto!important;}
    .pv-acts{justify-content:flex-start!important;}
    .pv-tbl .grp-img{width:44px!important;height:44px!important;}
    div[style*="overflow-x:auto"]{overflow-x:visible!important;}
}
/* Override .contenidoprincipal a from estilos2026.asp (color:#005a9c !important) */
.contenidoprincipal .pv a.pv-btn-pri,
.contenidoprincipal .pv a.pv-btn-pri:hover{color:#fff!important;background:#005a9c!important;text-decoration:none!important;}
.contenidoprincipal .pv a.pv-btn-ghost,
.contenidoprincipal .pv a.pv-btn-ghost:hover{color:#64748b!important;text-decoration:none!important;}
.contenidoprincipal .pv a.pv-btn-dan,
.contenidoprincipal .pv a.pv-btn-dan:hover{color:#dc2626!important;text-decoration:none!important;}
.contenidoprincipal .pv .pv-btn-send,
.contenidoprincipal .pv a.pv-btn-send{color:#fff!important;text-decoration:none!important;}
.contenidoprincipal .pv button.wiz-btn-next{color:#fff!important;}
.contenidoprincipal .pv button.wiz-btn-back{color:#64748b!important;}
.contenidoprincipal .pv button#btnS3Conf{color:#fff!important;}

/* --- detalles-presupuesto.asp --- */
#presupuestoModal * { box-sizing: border-box; }

    /* MODAL STRUCTURE -- bigger */
    .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 99990; overflow-y: auto; padding: 6px 0; }
    .modal-container { background: #fff; width: 98%; max-width: 1200px; margin: 0 auto; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.4); font-family: 'Segoe UI', Arial, sans-serif; display: flex; flex-direction: column; overflow: hidden; }
    .modal-header { background: #002147; color: #fff; padding: 10px 22px; display: flex; justify-content: space-between; align-items: center; border-radius: 8px 8px 0 0; }
    .modal-header h3 { margin: 0; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; }
    .modal-close-btn { background: none; border: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; opacity: 0.7; transition: opacity 0.2s; }
    .modal-close-btn:hover { opacity: 1; }
    .modal-body { padding: 0; background: #fff; border-radius: 0 0 8px 8px; overflow: hidden; }

    /* TWO-COLUMN LAYOUT */
    .modal-cols { display: grid; grid-template-columns: 58% 42%; min-height: 0; overflow: hidden; }
    .col-left { padding: 16px 18px 16px 22px; border-right: 1px solid #e2e8f0; overflow-y: auto; overflow-x: hidden; }
    .col-right { padding: 16px 22px 16px 18px; display: flex; flex-direction: column; background: #f8fafc; border-radius: 0 0 8px 0; overflow-y: auto; overflow-x: hidden; }

    /* REF BADGE -- same size as title */
    .ref-badge { display: inline-block; background: #fff; color: #002147; font-size: 16px; font-weight: 800; padding: 3px 16px; border-radius: 20px; margin-left: 10px; vertical-align: middle; letter-spacing: 0.3px; }

    /* PRODUCT TYPE BADGE */
    .type-badge { font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 10px; letter-spacing: 0.5px; text-transform: uppercase; color: #fff; }

    /* PRODUCT CARD */
    .product-card { display: flex; gap: 12px; align-items: center; padding: 8px 12px; background: #f8fafc; border-radius: 6px; margin-bottom: 12px; border: 1px solid #e2e8f0; }
    .product-card img { width: 52px; height: 52px; object-fit: contain; border-radius: 6px; border: 2px solid #e2e8f0; background: #fff; display: block; flex-shrink: 0; box-shadow: none; padding: 2px; }
    .product-card .info { min-width: 0; flex: 1; }
    .product-card .info .name { font-size: 14px; font-weight: 700; color: #1e293b; line-height: 1.2; }
    .product-card .info .meta { font-size: 11px; color: #64748b; margin-top: 2px; }

    /* SECTION BOXES */
    .section-box { border: 1px solid #d1d5db; border-radius: 6px; padding: 10px 14px; margin-bottom: 10px; }
    .section-box-title { font-size: 13px; font-weight: 800; text-transform: uppercase; color: #002147; margin: 0 0 8px 0; letter-spacing: 0.4px; display: flex; align-items: center; gap: 6px; }
    .section-box-title .step-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #002147; color: #fff; font-size: 11px; font-weight: 800; flex-shrink: 0; }

    /* COLORS */
    .color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 7px; margin-bottom: 6px; }
    .color-opt { width: 56px; height: 56px; border: 2px solid #e2e8f0; border-radius: 6px; cursor: pointer; position: relative; transition: transform 0.15s, border-color 0.15s; }
    .color-opt:hover { border-color: #94a3b8; transform: scale(1.06); }
    .color-opt.co-img { overflow: hidden; position: relative; }
    .color-opt.co-img img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: pointer; }
    .color-opt .co-fb { width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: #94a3b8; background: #f8fafc; }
    .color-opt.active { border-color: #005a9c; box-shadow: 0 0 0 2px rgba(0,90,156,0.25); transform: scale(1.08); }
    .color-info-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #333; flex-wrap: wrap; line-height: 1.4; padding: 6px 0; }
    .badge-dark { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; padding: 2px 10px; border-radius: 12px; font-size: 10px; white-space: nowrap; font-weight: 600; }
    .badge-light { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; padding: 2px 10px; border-radius: 12px; font-size: 10px; white-space: nowrap; font-weight: 600; }
    /* Tinta Base tooltip */
    .tb-tip{position:relative;display:inline-flex;align-items:center;cursor:help;}
    .tb-ico{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:50%;background:#e0e7ff;color:#4338ca;font-size:10px;font-weight:800;margin-left:4px;line-height:1;flex-shrink:0;}
    .tb-pop{display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);width:260px;padding:10px 12px;background:#1e293b;color:#f1f5f9;font-size:11px;line-height:1.5;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.25);z-index:100;font-weight:400;pointer-events:none;white-space:normal;}
    .tb-pop::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#1e293b;}
    .tb-tip:hover .tb-pop{display:block;}

    /* SIZES -- bigger */
    .size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 6px; }
    .size-input-group { border: 1px solid #d1d5db; border-radius: 5px; overflow: hidden; background: #fff; }
    .size-label { background: #f1f5f9; font-size: 13px; text-align: center; padding: 4px 2px; font-weight: 700; color: #475569; border-bottom: 1px solid #d1d5db; min-height: 32px; display: flex; align-items: center; justify-content: center; line-height: 1.2; }
    .size-input { width: 100%; border: none; text-align: center; padding: 10px 0; font-size: 22px; font-weight: bold; color: #1e293b; outline: none; background: transparent; }
    .size-input:focus { background: #eff6ff; }
    .size-input::-webkit-outer-spin-button, .size-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .size-input { -moz-appearance: textfield; }


    /* STOCK ROLY */
    .stock-row{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px;padding:8px 0 0;border-top:1px solid #f1f5f9}
    .stock-badge{display:flex;flex-direction:column;align-items:center;padding:3px 8px;border-radius:5px;font-size:10px;font-weight:600;min-width:38px}
    .stock-badge .sb-talla{color:#64748b;font-size:9px;text-transform:uppercase}
    .stock-badge .sb-qty{font-weight:800}
    .stock-ok{background:#f0fdf4;color:#16a34a}
    .stock-low{background:#fffbeb;color:#d97706}
    .stock-out{background:#fef2f2;color:#dc2626}
    .stock-loading{font-size:11px;color:#94a3b8;padding:8px 0}
    .stock-header{font-size:10px;color:#94a3b8;font-weight:600;text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px;display:flex;align-items:center;gap:6px}
    .stock-header svg{width:14px;height:14px;flex-shrink:0}

    /* QTY COUNTER -- inside cantidades box */
    .qty-counter { font-size: 13px; font-weight: 700; color: #005a9c; text-align: right; padding: 6px 2px 0 0; display: none; }

    /* RIGHT COLUMN TITLE -- reuse section-box inside col-right */
    .col-right .section-box { background: #fff; }
    .col-right .section-box-title { margin-bottom: 8px; }

    /* PERSONALIZATION CARDS -- bigger */
    .pers-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; margin-bottom: 8px; position: relative; }
    .pers-card-head { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; border-radius: 6px 6px 0 0; }
    .pers-card-head .pers-title { font-size: 12px; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: 0.3px; }
    .pers-card-head .pers-remove { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fee2e2; color: #dc2626; font-size: 14px; font-weight: bold; cursor: pointer; border: none; line-height: 1; transition: background 0.15s; }
    .pers-card-head .pers-remove:hover { background: #fca5a5; }
    .pers-card-body { padding: 10px 12px; }
    .pers-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .pers-field label { display: none; }

    .print-select { width: 100%; padding: 7px 10px; border: 1px solid #d1d5db; border-radius: 5px; font-size: 13px; height: 36px; background: #fff; color: #333; transition: background 0.2s; }
    .print-select.has-val { background: #eff6ff; border-color: #93c5fd; }
    .pdd-selected.has-val { background: #eff6ff; border-color: #93c5fd; }
    .inp-other { margin-top: 4px; width: 100%; font-size: 13px; padding: 7px 10px; border: 1px solid #d1d5db; border-radius: 5px; height: 36px; display: none; background: #fff; box-sizing: border-box; }

    /* PDD */
    .pdd-wrap { position: relative; width: 100%; }
    .pdd-selected { width: 100%; padding: 7px 28px 7px 10px; border: 1px solid #d1d5db; border-radius: 5px; font-size: 13px; height: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 10px center; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-sizing: border-box; color: #333; line-height: 20px; }
    .pdd-selected.placeholder { color: #94a3b8; }

    /* Print type modal */
    .ptm-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.55); z-index:100005; }
    .ptm-box { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); background:#fff; border-radius:10px; width:94%; max-width:520px; max-height:80vh; display:flex; flex-direction:column; box-shadow:0 10px 40px rgba(0,0,0,0.35); }
    .ptm-header { padding:12px 18px; border-bottom:1px solid #e2e8f0; display:flex; justify-content:space-between; align-items:center; }
    .ptm-header h4 { margin:0; font-size:15px; font-weight:800; color:#1e293b; text-transform:uppercase; }
    .ptm-close { background:none; border:none; font-size:24px; color:#64748b; cursor:pointer; padding:0 4px; line-height:1; }
    .ptm-body { overflow-y:auto; padding:6px 0; flex:1; }
    .ptm-opt { display:flex; justify-content:space-between; align-items:center; padding:11px 18px; cursor:pointer; border-bottom:1px solid #f1f5f9; transition:background 0.1s; }
    .ptm-opt:last-child { border-bottom:none; }
    .ptm-opt:hover { background:#eff6ff; }
    .ptm-opt.active { background:#f0fdf4; }
    .ptm-opt .ptm-name { font-size:14px; color:#333; font-weight:500; }
    .ptm-opt .ptm-price { font-size:14px; color:#005a9c; font-weight:700; white-space:nowrap; margin-left:12px; }
    .ptm-opt .ptm-consult { font-size:13px; color:#94a3b8; font-style:italic; white-space:nowrap; margin-left:12px; }
    .ptm-badge { display:inline-block; background:#16a34a; color:#fff; font-size:9px; font-weight:800; padding:2px 7px; border-radius:8px; margin-left:6px; vertical-align:middle; text-transform:uppercase; }
    .ptm-sep { border-top:2px solid #e2e8f0; margin:0; }
    .ptm-placeholder { padding:11px 18px; color:#94a3b8; font-size:14px; cursor:pointer; border-bottom:1px solid #f1f5f9; }
    .ptm-placeholder:hover { background:#f8fafc; }

    /* BUTTONS -- section box */
    .btn-section { margin-top: auto; border: 1px solid #d1d5db; border-radius: 6px; overflow: hidden; }
    .btn-section-title { font-size: 12px; font-weight: 800; text-transform: uppercase; color: #002147; padding: 8px 14px; background: #f1f5f9; border-bottom: 1px solid #d1d5db; letter-spacing: 0.4px; text-align: center; }
    .btn-section-body { display: flex; gap: 8px; padding: 10px 12px; }
    .btn-add-line { flex: 1; background: #005a9c; color: #fff; border: none; padding: 12px 8px; border-radius: 6px; cursor: pointer; font-weight: 800; text-transform: uppercase; font-size: 14px; box-shadow: 0 2px 8px rgba(0,90,156,0.2); transition: background 0.2s; letter-spacing: 0.3px; text-align: center; font-family: 'Segoe UI', Arial, sans-serif; }
    .btn-add-line:hover { background: #004680; }
    /* VER -- <button> not <a> -- estilos.css cannot override */
    .btn-ver-pres { flex: 1; background: #16a34a; color: #fff; border: none; padding: 12px 8px; border-radius: 6px; cursor: pointer; font-weight: 800; text-transform: uppercase; font-size: 14px; box-shadow: 0 2px 8px rgba(22,163,74,0.25); transition: background 0.2s; letter-spacing: 0.3px; text-align: center; font-family: 'Segoe UI', Arial, sans-serif; }
    .btn-ver-pres:hover { background: #15803d; }
    /* EDIT mode buttons */
    .btn-edit-body { display: flex; gap: 8px; padding: 10px 12px; }
    .btn-update-line { flex: 1; background: #d97706; color: #fff; border: none; padding: 12px 8px; border-radius: 6px; cursor: pointer; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: 0.3px; text-align: center; font-family: 'Segoe UI', Arial, sans-serif; }
    .btn-update-line:hover { background: #b45309; }
    .btn-cancel { flex: 1; background: #dc2626; color: #fff; border: none; padding: 12px 8px; border-radius: 6px; font-size: 13px; cursor: pointer; text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; font-family: 'Segoe UI', Arial, sans-serif; }
    .btn-cancel:hover { background: #b91c1c; }
    .btn-xs { background: #64748b; color: #fff; border: none; padding: 7px 16px; border-radius: 5px; cursor: pointer; font-size: 12px; margin-top: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; font-family: 'Segoe UI', Arial, sans-serif; }
    .btn-xs:hover { background: #475569; }

    /* MINI SUMMARY -- left column bottom */
    .mini-summary { background: #f1f5f9; border: 1px solid #d1d5db; border-radius: 6px; padding: 12px 16px; margin-top: 10px; font-size: 14px; color: #1e293b; display: none; line-height: 1.5; text-align: center; }
    .lines-summary { margin-top: 10px; border: 1px solid #d1d5db; border-radius: 6px; overflow: hidden; }
    .lines-summary-head { background: #002147; color: #fff; padding: 8px 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: flex; justify-content: space-between; align-items: center; }
    .lines-summary-body { max-height: 220px; overflow-y: auto; }
    .ls-line { padding: 8px 14px; border-bottom: 1px solid #e2e8f0; font-size: 12px; }
    .ls-line:last-child { border-bottom: none; }
    .ls-color { font-weight: 700; color: #002147; }
    .ls-sizes { color: #475569; margin-top: 2px; }
    .ls-prints { color: #64748b; font-size: 11px; margin-top: 2px; }
    .ls-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1px solid #d1d5db; vertical-align: middle; margin-right: 4px; }

    /* TOAST */
    .toast-ok { position: fixed; top: 20px; right: 20px; background: #16a34a; color: #fff; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 13px; z-index: 100010; box-shadow: 0 6px 20px rgba(0,0,0,0.25); display: flex; align-items: center; gap: 8px; animation: toastIn 0.3s ease-out; }
    .toast-ok .toast-icon { font-size: 18px; }
    @keyframes toastIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

    /* ALERT / CONFIRM */
    .alert-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 100002; }
    .alert-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; padding: 24px; border-radius: 10px; text-align: center; width: 90%; max-width: 420px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
    .alert-icon { font-size: 36px; color: #d97706; margin-bottom: 10px; display: block; }
    .alert-msg { font-size: 14px; color: #333; margin-bottom: 20px; line-height: 1.5; font-weight: 500; }
    .alert-btn { background: #002147; color: #fff; border: none; padding: 10px 25px; border-radius: 6px; font-weight: bold; cursor: pointer; text-transform: uppercase; font-size: 12px; }

    .confirm-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 100001; }
    .confirm-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 22px; border-radius: 10px; width: 92%; max-width: 380px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
    .confirm-title { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: #111; }
    .confirm-desc { font-size: 12px; color: #555; margin-bottom: 16px; }
    .confirm-actions { display: flex; gap: 10px; justify-content: center; }
    .confirm-btn { padding: 10px 18px; border: none; border-radius: 6px; cursor: pointer; font-weight: 900; text-transform: uppercase; font-size: 12px; }
    .btn-yes { background: #dc2626; color: #fff; }
    .btn-no { background: #f1f5f9; color: #333; }

    /* RESPONSIVE: stack columns on mobile */
    @media (max-width: 768px) {
        .modal-cols { grid-template-columns: 1fr; }
        .col-left { border-right: none; border-bottom: 1px solid #e2e8f0; padding: 14px; }
        .col-right { padding: 14px; border-radius: 0 0 8px 8px; }
        .pers-fields { grid-template-columns: 1fr; }
        .color-grid { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); }
        .color-opt { width: 48px; height: 48px; }
        .btn-section-body, .btn-edit-body { flex-direction: column; }
    }

/* --- menu.asp --- */
/* CONTENEDOR LATERAL */
    .sidebar-wrapper {
        width: 170px;
        padding-left: 5px;
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
        color: #333;
    }
    .sidebar-wrapper a { text-decoration: none !important; }

    /* T&Iacute;TULOS DE SECCI&Oacute;N */
    .side-header {
        font-size: 11px;
        font-weight: 800;
        color: #1e293b;
        text-transform: uppercase;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 5px;
        margin-top: 25px;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }
    .side-header:first-child { margin-top: 0; }

    /* LISTA CAT&Aacute;LOGO */
    .cat-vertical { list-style: none; padding: 0; margin: 0; }
    .cat-vertical li { margin: 0; }

    .cat-link {
        display: block;
        padding: 7px 10px;
        color: #475569 !important;
        font-size: 12px !important;
        font-weight: 500;
        border-bottom: 1px solid #f1f5f9;
        border-left: 3px solid transparent;
        border-radius: 0 4px 4px 0;
        transition: background-color .15s, color .15s, border-color .15s;
        outline: none;
    }
    .cat-link:visited { color: #475569 !important; }
    .cat-link:hover {
        background-color: #f1f5f9;
        color: #005a9c !important;
        border-left-color: #005a9c;
    }
    .cat-link:focus-visible {
        background-color: #f1f5f9;
        color: #005a9c !important;
        border-left-color: #005a9c;
    }
    .cat-link:active {
        background-color: #e8eef4;
        color: #003d7a !important;
        border-left-color: #003d7a;
    }

    /* USUARIOS EN L&Iacute;NEA */
    .online-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        padding: 6px 14px;
        margin-top: 15px;
        margin-bottom: 15px;
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
        font-size: 10.5px;
        color: #64748b;
        font-weight: 600;
        letter-spacing: 0.2px;
    }
    .online-dot {
        width: 7px;
        height: 7px;
        background: #22c55e;
        border-radius: 50%;
        flex-shrink: 0;
        animation: pulse-dot 2s ease-in-out infinite;
    }
    @keyframes pulse-dot {
        0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
        50% { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
    }
    .online-count { font-weight: 800; color: #334155; }

    /* DESTACADO OPINI&Oacute;N */
    .opinion-highlight {
        background-color: #fff8e1;
        border: 1px solid #ffecb3;
        border-radius: 4px;
        padding: 10px;
        text-align: center;
        margin-top: 20px;
        transition: background 0.2s;
    }
    .opinion-highlight a { color: #d32f2f !important; font-weight: 700; font-size: 11px !important; display: block; }
    .opinion-highlight:hover { background-color: #ffecb3; }

    /* HAMBURGER CAT&Aacute;LOGO (hidden desktop, shown mobile) */
    .catalog-toggle {
        display: none;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        cursor: pointer;
        padding: 12px 20px;
        gap: 10px;
        width: 100%;
        font-family: 'Segoe UI', system-ui, Arial, sans-serif;
        font-size: 13px;
        font-weight: 700;
        color: #334155;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 5px;
        transition: background-color .2s, color .2s, border-color .2s;
    }
    .catalog-toggle:hover { background: #f8fafc; border-color: #005a9c; color: #005a9c; }
    .catalog-toggle-icon { width: 20px; height: 20px; position: relative; }
    .catalog-toggle-icon span {
        display: block; width: 100%; height: 2px; background: #334155;
        border-radius: 2px; position: absolute; left: 0; transition: all 0.3s ease;
    }
    .catalog-toggle-icon span:nth-child(1) { top: 3px; }
    .catalog-toggle-icon span:nth-child(2) { top: 9px; }
    .catalog-toggle-icon span:nth-child(3) { top: 15px; }
    .catalog-toggle.active .catalog-toggle-icon span:nth-child(1) { top: 9px; transform: rotate(45deg); }
    .catalog-toggle.active .catalog-toggle-icon span:nth-child(2) { opacity: 0; }
    .catalog-toggle.active .catalog-toggle-icon span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
    .catalog-toggle.active { border-color: #005a9c; color: #005a9c; }

    /* Contenido colapsable */
    .sidebar-content { transition: max-height 0.3s ease; overflow: hidden; }

    @media only screen and (max-width: 1120px) {
        .sidebar-wrapper { width: 100% !important; }
        .catalog-toggle { display: flex; }
        .sidebar-content { display: none; }
        .sidebar-content.sidebar-open { display: block; }
        .cat-vertical { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
        .cat-vertical li { margin: 0; }
        .cat-link { font-size: 11px !important; padding: 8px 10px; }
    }

/* --- medidas.asp --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #333;
    padding: 0;
    -webkit-print-color-adjust: exact;
}
.med-header {
    background: #005a9c;
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.med-header h1 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}
.med-header .med-ref {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 400;
    margin-top: 2px;
}
.btn-print {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 7px 16px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}
.btn-print:hover { background: rgba(255,255,255,0.25); }
.med-body {
    padding: 20px 24px 24px;
}
.med-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f4f8;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    color: #555;
    font-weight: 600;
    margin-bottom: 16px;
}
.med-legend svg { flex-shrink: 0; }
.med-content {
    line-height: 1.6;
    font-size: 13px;
}
.med-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
}
.med-content table th,
.med-content table td {
    border: 1px solid #ddd;
    padding: 6px 10px;
    text-align: center;
    font-size: 12px;
}
.med-content table th {
    background: #f1f3f5;
    color: #333;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}
.med-content table td {
    background: #fff;
    color: #444;
}
.med-content table tr:nth-child(even) td {
    background: #fafbfc;
}
.med-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 8px 0;
}
.med-footer {
    background: #f8f9fa;
    border-top: 1px solid #eee;
    padding: 12px 24px;
    font-size: 11px;
    color: #888;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.med-footer .med-disclaimer {
    line-height: 1.5;
}
.btn-close {
    background: #e9ecef;
    color: #555;
    border: none;
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-close:hover { background: #dee2e6; }
@media print {
    .btn-print, .btn-close { display: none !important; }
    .med-header { background: #005a9c !important; }
    body { padding: 0; }
}
@media (max-width: 480px) {
    .med-header { padding: 12px 16px; }
    .med-header h1 { font-size: 14px; }
    .med-body { padding: 16px; }
    .med-footer { padding: 10px 16px; flex-direction: column; gap: 8px; text-align: center; }
}

/* --- politicacookies.asp --- */
/* Fondo oscuro que cubre toda la pantalla */
    #cookie-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7); /* Oscuro semitransparente */
        z-index: 99999; /* Por encima de todo */
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        font-family: 'Inter', sans-serif, Arial, sans-serif;
    }

    /* La caja de la modal */
    .cookie-modal {
        background-color: #ffffff;
        color: #333;
        width: 100%;
        max-width: 500px;
        border-radius: 12px;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        padding: 30px;
        text-align: center;
        position: relative;
        border-top: 5px solid #005a9c; /* Tu azul corporativo */
    }

    /* T&iacute;tulo */
    .cookie-title {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 15px;
        color: #1e293b;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    /* Icono SVG seguro para evitar caracteres raros */
    .cookie-icon {
        width: 24px;
        height: 24px;
        fill: #d97706; /* Color galleta */
    }

    /* Texto legal simplificado */
    .cookie-text {
        font-size: 13px;
        line-height: 1.6;
        color: #64748b;
        margin-bottom: 25px;
    }

    .cookie-text a {
        color: #005a9c;
        text-decoration: underline;
        font-weight: 600;
    }

    /* Botonera */
    .cookie-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
    }

    .btn-cookie {
        padding: 12px 24px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        border: none;
        transition: all 0.2s;
        text-transform: uppercase;
        flex: 1; /* Botones del mismo tama&ntilde;o */
    }

    /* Bot&oacute;n Aceptar (Destacado) */
    .btn-accept {
        background-color: #005a9c;
        color: #fff;
        box-shadow: 0 4px 6px rgba(0, 90, 156, 0.2);
    }
    .btn-accept:hover { background-color: #00447a; transform: translateY(-1px); }

    /* Bot&oacute;n Rechazar (Secundario) */
    .btn-reject {
        background-color: #f1f5f9;
        color: #475569;
        border: 1px solid #e2e8f0;
    }
    .btn-reject:hover { background-color: #e2e8f0; color: #1e293b; }

    /* Responsive m&oacute;vil */
    @media (max-width: 480px) {
        .cookie-buttons { flex-direction: column; }
        .cookie-modal { padding: 20px; }
    }

/* --- presupuesto-modal.inc.asp --- */
/* CSS SCOPED PARA EVITAR CONFLICTOS */
    #presupuestoModal { font-family: 'Segoe UI', sans-serif; text-align: left; }
    #presupuestoModal * { box-sizing: border-box; }

    /* MODAL */
    .pm-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 99990; overflow-y: auto; padding: 20px 0; }
    .pm-container { background: #fff; width: 95%; max-width: 1200px; margin: 0 auto; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); display: flex; flex-direction: column; min-height: 500px; }

    /* HEADER */
    .pm-header { background: #002147; color: #fff; padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; border-radius: 6px 6px 0 0; }
    .pm-header h3 { margin: 0; font-size: 18px; font-weight: 700; text-transform: uppercase; color:#fff; }
    .pm-close { cursor: pointer; font-size: 28px; color: #ccc; line-height: 20px; }

    /* BODY */
    .pm-body { padding: 25px; display: flex; flex-wrap: wrap; gap: 30px; background: #fff; position: relative; }
    .pm-col-L { flex: 0 0 40%; min-width: 320px; }
    .pm-col-R { flex: 1; min-width: 320px; display: flex; flex-direction: column; }

    /* COMPONENTS */
    .pm-title { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #333; border-bottom: 2px solid #007bff; padding-bottom: 5px; margin-bottom: 15px; }

    /* COLORS */
    .pm-grid-col { display: grid; grid-template-columns: repeat(auto-fill, minmax(35px, 1fr)); gap: 8px; margin-bottom: 10px; }
    .pm-opt-col { width: 35px; height: 35px; border: 2px solid #eee; border-radius: 4px; cursor: pointer; }
    .pm-opt-col.active { border-color: #007bff; box-shadow: 0 0 0 2px rgba(0,123,255,0.2); transform: scale(1.1); }

    .pm-info-col { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; font-size: 11px; color: #333; overflow:hidden; white-space:nowrap; }
    .pm-badge { padding: 2px 6px; border-radius: 10px; font-size: 9px; white-space: nowrap; }
    .bg-dark { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
    .bg-light { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

    /* SIZES */
    .pm-grid-siz { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; margin-bottom: 20px; }
    .pm-box-siz { border: 1px solid #ccc; border-radius: 4px; overflow: hidden; text-align: center; }
    .pm-lbl-siz { background: #f1f1f1; font-size: 10px; padding: 4px 0; font-weight: bold; color: #555; border-bottom: 1px solid #ccc; }
    .pm-inp-siz { width: 100%; border: none; text-align: center; padding: 8px 0; font-size: 14px; font-weight: bold; outline: none; }
    .pm-inp-siz:focus { background: #e8f0fe; }

    /* PRINTS */
    .pm-row-prt { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-bottom: 8px; align-items: center; }
    .pm-sel { width: 100%; padding: 6px; border: 1px solid #ccc; border-radius: 3px; font-size: 11px; }
    .pm-btn-xs { background: #666; color: #fff; border: none; padding: 5px 10px; border-radius: 3px; cursor: pointer; font-size: 11px; margin-top: 5px; }

    /* ACTIONS */
    .pm-btn-act { width: 100%; border: none; padding: 12px; border-radius: 4px; cursor: pointer; font-weight: bold; margin-top: 15px; text-transform: uppercase; font-size: 13px; }
    .btn-add { background: #007bff; color: white; }
    .btn-upd { background: #ffc107; color: #333; display: none; }
    .btn-can { background: #eee; color: #555; display: none; margin-top:5px; padding:8px; font-size:11px; }

    /* TABS */
    .pm-tabs { display: flex; background: #f8f9fa; border-bottom: 1px solid #ddd; }
    .pm-tab { flex: 1; padding: 12px; text-align: center; cursor: pointer; font-weight: bold; font-size: 11px; color: #666; border-right: 1px solid #ddd; }
    .pm-tab.active { background: #fff; color: #007bff; border-bottom: 3px solid #007bff; }
    .pm-pane { padding: 20px; display: none; }
    .pm-pane.active { display: block; }

    /* TABLE */
    .pm-table { width: 100%; border-collapse: collapse; font-size: 11px; margin-bottom: 15px; }
    .pm-table th { text-align: left; padding: 8px; background: #333; color: #fff; }
    .pm-table td { padding: 10px 8px; border-bottom: 1px solid #ddd; vertical-align: top; }
    .pm-icon { cursor: pointer; font-size: 16px; margin: 0 4px; color:#555; }

    /* UPLOAD BTN */
    .pm-up-btn { display: inline-block; background: #17a2b8; color: #fff; border: 1px solid #138496; padding: 3px 8px; border-radius: 3px; font-size: 10px; font-weight: bold; cursor: pointer; position: relative; overflow: hidden; margin-top:3px; }
    .pm-up-btn input { position: absolute; left: 0; top: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
    .pm-up-btn.ok { background: #28a745; border-color: #28a745; }

    /* SUMMARY */
    .pm-sum-box { background: #f9f9f9; padding: 15px; border-radius: 4px; border: 1px solid #eee; margin-top: 10px; font-size: 12px; }
    .pm-sum-row { display: flex; justify-content: space-between; padding: 3px 0; }
    .pm-sum-tot { display: flex; justify-content: space-between; border-top: 1px solid #ccc; margin-top: 8px; padding-top: 8px; font-size: 16px; font-weight: bold; color: #d9534f; }

    /* FORM */
    .pm-frm-row { display: flex; gap: 15px; margin-bottom: 10px; }
    .pm-frm-col { flex: 1; }
    .pm-frm-lbl { display: block; font-size: 10px; font-weight: bold; text-transform: uppercase; color: #555; margin-bottom: 3px; }
    .pm-frm-inp { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 3px; font-size: 12px; }

    .pm-checks { margin-top: 15px; background: #fff; padding: 15px; border: 1px solid #eee; border-radius: 4px; }
    .pm-chk-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 11px; font-weight: 600; }

    /* FOOTER */
    .pm-footer { padding: 20px 30px; border-top: 1px solid #eee; display: flex; justify-content: flex-end; }
    .pm-btn-main { background: #28a745; color: #fff; border: none; padding: 12px 30px; border-radius: 4px; font-weight: bold; font-size: 14px; cursor: pointer; }

    /* ALERTS */
    .pm-alert-bg { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 100000; }
    .pm-alert-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 25px; border-radius: 6px; width: 300px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
    .pm-alert-btn { background: #333; color: #fff; border: none; padding: 8px 20px; margin-top: 15px; border-radius: 3px; cursor: pointer; font-weight: bold; }

    /* LOADING */
    .pm-loader { display: none; text-align: center; padding: 40px; }
    .pm-spin { border: 4px solid #f3f3f3; border-top: 4px solid #007bff; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto; }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

    @media (max-width: 900px) { .pm-body { flex-direction: column; } }

/* --- buscar.asp --- */
.filter-group label{display:none}
    .search-results-header{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:2px solid #e2e8f0;margin-bottom:20px}
    .results-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:30px;max-width:100%;overflow:hidden}
    @media(max-width:1000px){.results-grid{grid-template-columns:repeat(3,1fr)}}
    @media(max-width:650px){.results-grid{grid-template-columns:repeat(2,1fr)}}
    @media(max-width:420px){.results-grid{grid-template-columns:1fr}}
    .result-card-link{display:block;text-decoration:none;color:inherit;min-width:0;overflow:hidden}
    .result-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 8px rgba(0,0,0,.06);transition:all .25s;height:100%;display:flex;flex-direction:column}
    .result-card:hover{transform:translateY(-4px);box-shadow:0 8px 25px rgba(0,90,156,.13)}
    .result-img-box{height:240px;overflow:hidden;background:#f8fafc;display:flex;align-items:center;justify-content:center;position:relative;padding:8px;border-radius:12px}
    .result-img{max-width:100%;max-height:100%;object-fit:contain;transition:transform .3s;border-radius:8px}
    .result-card:hover .result-img{transform:scale(1.05)}
    .result-badges{position:absolute;top:8px;left:8px;display:flex;flex-direction:column;gap:4px;z-index:2;transition:opacity .25s}
    .result-card:hover .result-badges{opacity:0}
    .badge-brand{display:inline-block;background:#005a9c;color:#fff;font-size:9px;font-weight:700;padding:3px 8px;border-radius:4px;text-transform:uppercase;letter-spacing:.3px;font-family:'Inter',sans-serif}
    .result-info{padding:12px 14px;flex-grow:1;display:flex;flex-direction:column;overflow:hidden}
    .result-name{font-family:'Inter',sans-serif;font-size:13px;font-weight:700;color:#1e293b;margin-bottom:2px;line-height:1.3;max-height:2.6em;overflow:hidden;word-break:break-word}
    .result-name mark{background:#fef3c7;color:inherit;padding:0 1px;border-radius:2px}
    .result-ref{font-family:'Inter',sans-serif;font-size:10px;color:#94a3b8;margin-bottom:6px}
    .result-colors{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
    .color-dot{width:22px;height:22px;border-radius:50%;overflow:hidden;border:2px solid #e2e8f0;transition:all .2s;cursor:pointer;flex-shrink:0}
    .color-dot:hover{border-color:#005a9c;transform:scale(1.15)}
    .color-dot img{width:100%;height:100%;object-fit:cover;display:block}
    .color-more{font-family:'Inter',sans-serif;font-size:10px;color:#64748b;font-weight:600;align-self:center;white-space:nowrap;margin-left:2px}
    .result-price-row{display:flex;align-items:center;gap:8px;margin-top:auto}
    .result-price{font-family:'Inter',sans-serif;font-size:16px;font-weight:700;color:#dc2626}
    .result-price small{font-size:11px;color:#999;font-weight:400;margin-right:2px}
    .result-no-img{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#f1f5f9 0%,#e2e8f0 100%);border-radius:8px}
    .result-no-img svg{width:48px;height:48px;opacity:.3}
    .result-no-img span{font-family:'Inter',sans-serif;font-size:11px;color:#94a3b8;margin-top:8px;font-weight:500}
    .no-results{text-align:center;padding:60px 20px;font-family:'Inter',sans-serif}
    .no-results-icon{font-size:48px;margin-bottom:15px}
    .no-results-title{font-size:20px;font-weight:700;color:#1e293b;margin-bottom:8px}
    .no-results-text{font-size:14px;color:#64748b;max-width:400px;margin:0 auto}
    .approx-notice{padding:10px 16px;margin-bottom:16px;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;font-family:'Inter',sans-serif;font-size:13px;color:#92400e;display:flex;align-items:center;gap:8px}
    .approx-notice b{color:#78350f}
    .pagination{display:flex;justify-content:center;align-items:center;gap:4px;margin:30px 0;flex-wrap:wrap}
    .contenidoprincipal{padding-right:20px !important;padding-top:10px !important;padding-left:20px !important}

/* --- opiniones-google.asp --- */
.grev-section{margin:0;padding:22px 20px 28px;border-top:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%);}
.grev-header{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap;}
.grev-header svg{flex-shrink:0;}
.grev-score{font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:24px;font-weight:800;color:#1e293b;letter-spacing:-0.5px;}
.grev-stars{color:#f59e0b;font-size:16px;letter-spacing:2px;}
.grev-count{font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:12px;color:#64748b;}
.grev-btn{margin-left:auto;display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #dadce0;border-radius:20px;padding:6px 16px;font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:11px;font-weight:600;color:#1a73e8;text-decoration:none;transition:all .2s;box-shadow:0 1px 3px rgba(0,0,0,.04);}
.grev-btn:hover{background:#eef4ff;border-color:#a8c7fa;text-decoration:none;}

.grev-wrap{position:relative;padding:0 40px;}
.grev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:8px 0;}
.grev-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:18px 18px 20px;box-shadow:0 2px 6px rgba(0,0,0,.06);display:none;}
.grev-card.active{display:block;}
.grev-card-top{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.grev-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#005a9c,#0074d4);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Segoe UI',Arial,sans-serif;font-weight:700;font-size:14px;flex-shrink:0;box-shadow:0 2px 4px rgba(0,90,156,.2);}
.grev-card-top strong{font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:13px;color:#1e293b;font-weight:700;}
.grev-card-stars{color:#f59e0b;font-size:13px;margin-left:auto;letter-spacing:1px;flex-shrink:0;}
.grev-text{font-family:'Segoe UI',system-ui,Arial,sans-serif;font-size:12.5px;color:#475569;line-height:1.55;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.grev-arrow{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:1px solid #e2e8f0;background:#fff;font-size:20px;color:#334155;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.06);z-index:2;padding:0;line-height:1;transition:all .15s;}
.grev-arrow:hover{background:#f0f4ff;border-color:#c7d2fe;box-shadow:0 2px 8px rgba(0,0,0,.1);}
.grev-prev{left:0;}
.grev-next{right:0;}
@media(max-width:700px){
    .grev-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:480px){
    .grev-section{padding:18px 12px 22px;}
    .grev-grid{grid-template-columns:1fr;}
    .grev-wrap{padding:0 34px;}
    .grev-btn{margin-left:0;margin-top:6px;}
}

/* --- ventas.asp --- */
.vt-page{max-width:760px;margin:0 auto;}
.vt-page h1{font-size:22px !important;color:#002147 !important;margin:0 0 6px !important;font-weight:800 !important;}
.vt-page .vt-sub{font-size:13px;color:#475569;line-height:1.6;margin-bottom:20px;}
.vt-page h2{font-size:15px !important;color:#1e293b !important;font-weight:700 !important;margin:28px 0 10px !important;padding-bottom:8px !important;border-bottom:2px solid #005a9c !important;}
.vt-page p{font-size:13px;color:#475569;line-height:1.7;margin:0 0 12px;}
.vt-page ul{list-style:disc !important;margin:0 0 16px 20px !important;padding:0 !important;}
.vt-page li{font-size:13px;color:#475569;line-height:1.7;margin-bottom:6px;}
.vt-page a{color:#005a9c !important;font-weight:600 !important;}
.vt-page a:hover{text-decoration:underline !important;}
.vt-page strong{color:#1e293b;}
.vt-alert{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:14px 18px;margin:12px 0;font-size:12px;color:#991b1b;line-height:1.6;}
.vt-alert strong{color:#7f1d1d;}
.vt-info{background:#f0f7ff;border:1px solid #d0e3f5;border-radius:8px;padding:14px 18px;margin:12px 0;font-size:12px;color:#1e40af;line-height:1.6;}
.vt-info strong{color:#1e3a5f;}
.vt-portes{width:100%;border-collapse:collapse;margin:12px 0 20px;font-size:12px;}
.vt-portes th{background:#f0f7ff;color:#002147;font-weight:700;text-align:left;padding:10px 14px;border:1px solid #d0e3f5;font-size:11px;text-transform:uppercase;letter-spacing:.3px;}
.vt-portes td{padding:9px 14px;border:1px solid #e2e8f0;color:#475569;vertical-align:top;}
.vt-portes tr:nth-child(even) td{background:#f8fafc;}
.vt-legal{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:16px 18px;margin:16px 0;font-size:11px;color:#92400e;line-height:1.7;}
.vt-legal strong{color:#78350f;}
.vt-legal ol{margin:8px 0 0 18px !important;padding:0 !important;}
.vt-legal li{margin-bottom:4px;}

/* --- privacidad.asp --- */
.pv-page{max-width:760px;margin:0 auto;}
.pv-page h1{font-size:22px !important;color:#002147 !important;margin:0 0 6px !important;font-weight:800 !important;}
.pv-page .pv-updated{font-size:11px;color:#94a3b8;margin-bottom:20px;}
.pv-page h2{font-size:15px !important;color:#1e293b !important;font-weight:700 !important;margin:28px 0 10px !important;padding-bottom:8px !important;border-bottom:2px solid #005a9c !important;}
.pv-page p{font-size:13px;color:#475569;line-height:1.7;margin:0 0 12px;}
.pv-page ul{list-style:disc !important;margin:0 0 16px 20px !important;padding:0 !important;}
.pv-page li{font-size:13px;color:#475569;line-height:1.7;margin-bottom:6px;}
.pv-page a{color:#005a9c !important;font-weight:600 !important;}
.pv-page a:hover{text-decoration:underline !important;}
.pv-id-card{background:#f0f7ff;border:1px solid #d0e3f5;border-radius:10px;padding:20px 24px;margin:16px 0 24px;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;font-size:13px;color:#334155;}
.pv-id-card .pv-label{font-weight:700;color:#002147;font-size:11px;text-transform:uppercase;letter-spacing:.3px;margin-bottom:2px;}
.pv-id-card .pv-item{display:flex;flex-direction:column;padding:6px 0;}
@media(max-width:550px){.pv-id-card{grid-template-columns:1fr;}}
.pv-rgpd{width:100%;border-collapse:collapse;margin:20px 0 24px;font-size:13px;}
.pv-rgpd th{background:#f0f7ff;color:#002147;font-weight:700;text-align:left;padding:12px 16px;font-size:12px;text-transform:uppercase;letter-spacing:.3px;width:160px;vertical-align:top;border:1px solid #d0e3f5;}
.pv-rgpd td{padding:12px 16px;border:1px solid #e2e8f0;color:#475569;vertical-align:top;line-height:1.6;}
.pv-rgpd td ul{list-style:disc !important;margin:4px 0 0 18px !important;padding:0 !important;}
.pv-rgpd td li{margin-bottom:4px;font-size:12px;}
.pv-rgpd tr:nth-child(even) td{background:#f8fafc;}
@media(max-width:600px){.pv-rgpd th,.pv-rgpd td{display:block;width:100% !important;}.pv-rgpd th{border-bottom:0;}.pv-rgpd td{border-top:0;}}

/* --- cookies.asp --- */
.ck-page{max-width:760px;margin:0 auto;}
.ck-page h1{font-size:22px !important;color:#002147 !important;margin:0 0 6px !important;font-weight:800 !important;}
.ck-page .ck-updated{font-size:11px;color:#94a3b8;margin-bottom:20px;}
.ck-page h2{font-size:15px !important;color:#1e293b !important;font-weight:700 !important;margin:28px 0 10px !important;padding-bottom:8px !important;border-bottom:2px solid #005a9c !important;}
.ck-page h3{font-size:13px !important;color:#334155 !important;font-weight:700 !important;margin:20px 0 8px !important;}
.ck-page p{font-size:13px;color:#475569;line-height:1.7;margin:0 0 12px;}
.ck-page ul{list-style:disc !important;margin:0 0 16px 20px !important;padding:0 !important;}
.ck-page li{font-size:13px;color:#475569;line-height:1.7;margin-bottom:8px;}
.ck-page li strong{color:#1e293b;}
.ck-table{width:100%;border-collapse:collapse;margin:16px 0 24px;font-size:12px;}
.ck-table th{background:#f0f7ff;color:#002147;font-weight:700;text-align:left;padding:10px 14px;border:1px solid #d0e3f5;font-size:11px;text-transform:uppercase;letter-spacing:.3px;}
.ck-table td{padding:9px 14px;border:1px solid #e2e8f0;color:#475569;vertical-align:top;}
.ck-table tr:nth-child(even) td{background:#f8fafc;}
.ck-table code{background:#f1f5f9;padding:1px 5px;border-radius:3px;font-size:11px;color:#334155;font-family:'Courier New',monospace;word-break:break-all;}
.ck-browsers{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:16px 0 20px;}
.ck-browser{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;color:#475569;transition:all .2s;}
.ck-browser:hover{border-color:#005a9c;background:#f0f7ff;}
.contenidoprincipal a.ck-browser{color:#475569 !important;text-decoration:none !important;font-weight:600 !important;}
.ck-browser svg{width:20px;height:20px;flex-shrink:0;fill:#64748b;}

/* --- privacidad-rrss.asp --- */
.pv-page{max-width:760px;margin:0 auto;}
.pv-page h1{font-size:22px !important;color:#002147 !important;margin:0 0 6px !important;font-weight:800 !important;}
.pv-page .pv-updated{font-size:11px;color:#94a3b8;margin-bottom:20px;}
.pv-page h2{font-size:15px !important;color:#1e293b !important;font-weight:700 !important;margin:28px 0 10px !important;padding-bottom:8px !important;border-bottom:2px solid #005a9c !important;}
.pv-page p{font-size:13px;color:#475569;line-height:1.7;margin:0 0 12px;}
.pv-page a{color:#005a9c !important;font-weight:600 !important;}
.pv-page a:hover{text-decoration:underline !important;}
.pv-rgpd{width:100%;border-collapse:collapse;margin:20px 0 24px;font-size:13px;}
.pv-rgpd th{background:#f0f7ff;color:#002147;font-weight:700;text-align:left;padding:12px 16px;font-size:12px;text-transform:uppercase;letter-spacing:.3px;width:160px;vertical-align:top;border:1px solid #d0e3f5;}
.pv-rgpd td{padding:12px 16px;border:1px solid #e2e8f0;color:#475569;vertical-align:top;line-height:1.6;}
.pv-rgpd td ul{list-style:disc !important;margin:4px 0 0 18px !important;padding:0 !important;}
.pv-rgpd td li{margin-bottom:4px;font-size:12px;}
.pv-rgpd tr:nth-child(even) td{background:#f8fafc;}
@media(max-width:600px){.pv-rgpd th,.pv-rgpd td{display:block;width:100% !important;}.pv-rgpd th{border-bottom:0;}.pv-rgpd td{border-top:0;}}
.pv-note{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:14px 18px;margin:16px 0;font-size:12px;color:#92400e;line-height:1.6;}
.pv-note strong{color:#78350f;}

/* --- aviso-legal.asp --- */
.lg-page{max-width:760px;margin:0 auto;}
.lg-page h1{font-size:22px !important;color:#002147 !important;margin:0 0 6px !important;font-weight:800 !important;}
.lg-page .lg-updated{font-size:11px;color:#94a3b8;margin-bottom:20px;}
.lg-page h2{font-size:15px !important;color:#1e293b !important;font-weight:700 !important;margin:28px 0 10px !important;padding-bottom:8px !important;border-bottom:2px solid #005a9c !important;}
.lg-page p{font-size:13px;color:#475569;line-height:1.7;margin:0 0 12px;}
.lg-page ul{list-style:disc !important;margin:0 0 16px 20px !important;padding:0 !important;}
.lg-page li{font-size:13px;color:#475569;line-height:1.7;margin-bottom:6px;}
.lg-page a{color:#005a9c !important;font-weight:600 !important;}
.lg-page a:hover{text-decoration:underline !important;}
.lg-id-card{background:#f0f7ff;border:1px solid #d0e3f5;border-radius:10px;padding:20px 24px;margin:16px 0 24px;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;font-size:13px;color:#334155;}
.lg-id-card .lg-label{font-weight:700;color:#002147;font-size:11px;text-transform:uppercase;letter-spacing:.3px;margin-bottom:2px;}
.lg-id-card .lg-item{display:flex;flex-direction:column;padding:6px 0;}
@media(max-width:550px){.lg-id-card{grid-template-columns:1fr;}}

/* --- detalles.asp --- */
/* Detalles.asp - Estilos especificos de esta pagina */
.det-product-grid { display: flex !important; gap: 16px !important; align-items: flex-start !important; margin-bottom: 20px !important; width: 100% !important; }
.det-col-left { flex: 0 0 290px !important; width: 290px !important; }
.det-col-right { flex: 1 1 auto !important; min-width: 0 !important; }
.det-product-image { overflow: hidden; background: #fff; margin-bottom: 14px; width: 290px !important; min-width: 290px !important; border-radius: 10px !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important; }
.det-product-image img { width: 290px !important; height: auto !important; display: block !important; border-radius: 10px !important; box-shadow: none !important; }
@media (max-width: 768px) {
    .det-product-grid { flex-direction: column !important; gap: 10px !important; }
    .det-col-left { flex: none !important; width: 100% !important; max-width: 290px !important; margin: 0 auto !important; }
    .det-col-right { width: 100% !important; }
}

/* --- transfer-plastisol.asp --- */
.tp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0;}
.tp-card{border-radius:6px;overflow:hidden;border:1px solid #e2e8f0;transition:transform .2s,box-shadow .2s;}
.tp-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.12);}
.tp-card a{display:block;}
.tp-card img{width:100%;height:auto;display:block;cursor:pointer;}
.tp-label{font-size:12px;font-weight:700;color:#002147;text-align:center;padding:8px;background:#f8fafc;}
@media(max-width:600px){.tp-cards{grid-template-columns:repeat(2,1fr);}}

/* --- vinilo-termico.asp --- */
.vn-color{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0;}
.vn-swatch{text-align:center;font-size:10px;line-height:1.2;}
.vn-swatch .box{height:32px;border-radius:3px;border:1px solid #ddd;margin-bottom:3px;}
.vn-swatch img{width:100%;height:32px;object-fit:cover;border-radius:3px;border:1px solid #ddd;margin-bottom:3px;}
.vn-swatch .lbl{color:#334155;}
.vn-swatch .agotado{color:#c00;font-weight:700;font-size:9px;}
@media(max-width:600px){.vn-color{grid-template-columns:repeat(3,1fr);}}

/* --- detalles-producto.asp --- */
.ec26-medidas-content { font-size:13px; line-height:1.6; }
    .ec26-medidas-content table { width:100%; border-collapse:collapse; margin:8px 0; }
    .ec26-medidas-content table th, .ec26-medidas-content table td { border:1px solid #ddd; padding:5px 8px; text-align:center; font-size:12px; }
    .ec26-medidas-content table th { background:#f1f3f5; color:#333; font-weight:700; font-size:11px; text-transform:uppercase; }
    .ec26-medidas-content table tr:nth-child(even) td { background:#fafbfc; }
    .ec26-medidas-content img { max-width:100%; height:auto; border-radius:4px; margin:6px 0; }

/* --- dtf.asp --- */
.dtf-feat{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;margin:16px 0;font-size:13px;}
.dtf-feat span{padding:8px 12px;background:#f0f7ff;border-radius:4px;border-left:3px solid #005a9c;}
@media(max-width:600px){.dtf-feat{grid-template-columns:1fr;}.dtf-imgs{grid-template-columns:1fr !important;}}
/* ============================================================
   SECCION: PRESUPUESTO RAPIDO (detalles-presupuesto-rapido.asp)
   v10 -- textos grandes, swatch derecha, mobile dropdown fix
   ============================================================ */
.qr-wrap *{box-sizing:border-box;}

/* --- Botones dobles --- */
.ec26-pres-btns{display:flex;gap:8px;margin-top:10px;margin-bottom:14px;padding-left:10px;padding-right:0;box-sizing:border-box;}
.ec26-pres-btns button{flex:1;padding:12px 8px;font-size:13px;font-weight:700;text-transform:uppercase;border:none;border-radius:5px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;letter-spacing:0.4px;transition:background 0.2s;font-family:'Segoe UI',Arial,sans-serif;}
.ec26-btn-rapido{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;}
.ec26-btn-rapido:hover{background:linear-gradient(135deg,#d97706,#b45309);}
.ec26-btn-completo{background:#005a9c;color:#fff;}
.ec26-btn-completo:hover{background:#004680;}
.ec26-btn-rapido svg,.ec26-btn-completo svg{width:16px;height:16px;fill:currentColor;flex-shrink:0;}

/* --- Modal overlay --- */
.qr-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.55);z-index:99988;overflow-y:auto;padding:10px 0;cursor:pointer;}
.qr-box{background:#fff;width:96%;max-width:920px;margin:0 auto;border-radius:12px;box-shadow:0 16px 48px rgba(0,0,0,0.3);font-family:'Segoe UI',Arial,sans-serif;cursor:default;overflow:hidden;animation:qrIn 0.25s ease-out;}
@keyframes qrIn{from{opacity:0;transform:translateY(-15px);}to{opacity:1;transform:translateY(0);}}

/* --- Header --- */
.qr-hd{background:linear-gradient(135deg,#f59e0b,#d97706);padding:11px 18px;display:flex;justify-content:space-between;align-items:center;}
.qr-hd-title{color:#fff;font-size:15px;font-weight:700;display:flex;align-items:center;gap:8px;}
.qr-hd-title svg{width:16px;height:16px;fill:#fff;}
.qr-x{background:rgba(255,255,255,0.2);border:none;color:#fff;width:28px;height:28px;border-radius:50%;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.15s;}
.qr-x:hover{background:rgba(255,255,255,0.35);}

/* --- Two columns --- */
.qr-cols{display:grid;grid-template-columns:minmax(0,60fr) minmax(0,40fr);min-height:0;}
.qr-left{padding:16px 18px;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;gap:12px;min-width:0;overflow:hidden;}
.qr-right{padding:16px 18px;background:#f8fafc;display:flex;flex-direction:column;gap:10px;border-radius:0 0 12px 0;min-width:0;overflow:visible;}

/* --- Title --- */
.qr-title{font-size:15px;font-weight:700;color:#002147;padding:2px 0;line-height:1.3;}

/* --- Section card --- */
.qr-card{border:1px solid #e2e8f0;border-radius:8px;padding:12px 14px;background:#fff;}
.qr-card-label{display:block;font-size:11px;font-weight:700;color:#64748b;margin-bottom:4px;text-transform:uppercase;letter-spacing:0.3px;}

/* --- Inputs y selects --- */
.qr-card select,.qr-card input[type="text"]{
  width:100%;padding:9px 11px;border:1px solid #d1d5db;border-radius:6px;
  font-size:14px;color:#1e293b;background:#fff;outline:none;box-sizing:border-box;
  font-family:'Segoe UI',Arial,sans-serif;transition:border-color 0.15s;
}
.qr-card select:focus,.qr-card input[type="text"]:focus{border-color:#005a9c;box-shadow:0 0 0 2px rgba(0,90,156,0.08);}
.qr-card select{cursor:pointer;}
.qr-card input[type="text"]{font-weight:700;}

/* --- Color swatch (derecha del select, grande) --- */
.qr-co-sw{width:32px;height:32px;border-radius:5px;border:1px solid #d1d5db;flex-shrink:0;display:inline-block;}

/* --- Pills --- */
.qr-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:14px;font-size:11px;font-weight:600;}
.qr-pill-dark{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;}
.qr-pill-light{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0;}
.qr-pill-dto{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0;}

/* --- Location cards --- */
.qr-loc-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.qr-lc{border:1px solid #e2e8f0;border-radius:8px;transition:border-color 0.15s;position:relative;}
.qr-lc .qr-lc-hd{border-radius:7px 7px 0 0;}
.qr-lc.on{border-color:#005a9c;border-width:2px;}
.qr-lc-hd{padding:7px 12px;background:#f8fafc;font-size:13px;font-weight:700;color:#1e293b;display:flex;justify-content:space-between;align-items:center;}
.qr-lc.on .qr-lc-hd{background:#eff6ff;}
.qr-lc-price{font-size:11px;font-weight:500;color:#005a9c;}

/* --- Custom dropdown --- */
.qr-dd{padding:6px 8px 8px;overflow:hidden;}
.qr-dd-sel{width:100%;padding:7px 28px 7px 10px;border:1px solid #d1d5db;border-radius:5px;font-size:13px;color:#1e293b;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E") no-repeat right 10px center;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:'Segoe UI',Arial,sans-serif;box-sizing:border-box;display:block;max-width:100%;}
.qr-dd-sel:hover{border-color:#94a3b8;}
.qr-dd-sel.has{background-color:#eff6ff;border-color:#005a9c;font-weight:700;color:#005a9c;}
/* Panel: position:fixed, JS calcula left/top/width clamped al viewport */
.qr-panel{display:none;position:fixed;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 8px 28px rgba(0,0,0,0.18);z-index:99999;}
.qr-panel.open{display:block;}
.qr-opt{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background 0.1s;font-size:13px;white-space:nowrap;gap:16px;}
.qr-opt:last-child{border-bottom:none;}
.qr-opt:hover{background:#f8fafc;}
.qr-opt.act{background:#eff6ff;}
.qr-opt.act span:first-child{font-weight:700;color:#005a9c;}
.qr-opt-price{font-weight:700;color:#005a9c;white-space:nowrap;}
.qr-opt-con{color:#b45309;font-style:italic;}
.qr-sep-line{border-top:2px solid #e2e8f0;margin:0;}

/* --- Resumen columna derecha --- */
.qr-sum-title{font-size:13px;font-weight:700;color:#002147;text-transform:uppercase;letter-spacing:.4px;padding-bottom:4px;}
.qr-prices{font-size:13px;}
.qr-pr{display:flex;justify-content:space-between;padding:4px 0;}
.qr-pr span:first-child{color:#64748b;}
.qr-pr span:last-child{color:#1e293b;}
.qr-pr-note{font-size:11px;opacity:0.6;}
.qr-div{border-top:1px solid #e2e8f0;margin:6px 0;}
.qr-tot{display:flex;justify-content:space-between;align-items:baseline;padding:4px 0;}
.qr-tot-l{font-size:16px;font-weight:800;color:#002147;}
.qr-tot-v{font-size:22px;font-weight:800;color:#005a9c;}
.qr-pu{display:flex;justify-content:space-between;padding:2px 0;font-size:12px;color:#94a3b8;}

/* --- Botones accion --- */
.qr-btns{display:flex;gap:6px;}
.qr-ba{flex:1;border:none;padding:11px 10px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:5px;position:relative;font-family:'Segoe UI',Arial,sans-serif;transition:opacity 0.15s;}
.qr-ba:hover{opacity:0.9;}
.qr-ba svg{width:14px;height:14px;fill:#fff;flex-shrink:0;}
.qr-btn-add{background:#16a34a;color:#fff;}
.qr-btn-wa{background:#25D366;color:#fff;}
.qr-btn-full{width:100%;border:none;padding:11px;border-radius:6px;cursor:pointer;background:#002147;color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px;position:relative;font-family:'Segoe UI',Arial,sans-serif;transition:opacity 0.15s;}
.qr-btn-full:hover{opacity:0.9;}
.qr-btn-full svg{width:14px;height:14px;fill:#fff;}

/* --- Tooltips --- */
.qr-tip{visibility:hidden;opacity:0;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);background:#1e293b;color:#f1f5f9;font-size:11px;line-height:1.3;padding:7px 12px;border-radius:6px;white-space:nowrap;pointer-events:none;transition:opacity 0.15s;z-index:110;font-weight:400;}
.qr-tip::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#1e293b;}
.qr-ba:hover .qr-tip,.qr-btn-full:hover .qr-tip{visibility:visible;opacity:1;}

/* --- Responsive --- */
@media(max-width:640px){
    .ec26-pres-btns{flex-direction:column;}
    .ec26-pres-btns button{width:100%;}
    .qr-box{width:98%;max-width:none;}
    .qr-cols{grid-template-columns:1fr;}
    .qr-left{border-right:none;border-bottom:1px solid #e2e8f0;}
    .qr-right{border-radius:0 0 12px 12px;}
    .qr-loc-grid{grid-template-columns:1fr;}
    .qr-btns{flex-direction:column;}
    .qr-ba{width:100%;}
    .qr-tip{white-space:normal;width:180px;text-align:center;}
}
