:root{--ts-ui-navy:#123247;--ts-ui-blue:#2563eb;--ts-ui-teal:#0f827e;--ts-ui-bg:#f3f6f8;--ts-ui-line:#dce6ec;--ts-ui-muted:#607181}
.ts-global-header{position:sticky;top:0;z-index:999;background:#fff;box-shadow:0 1px 0 var(--ts-ui-line)}
.admin-bar .ts-global-header{top:32px}
.ts-global-header>div{min-height:74px!important;max-width:none!important;padding:0 clamp(24px,5vw,72px)!important;border:0!important;background:#fff!important}
.ts-global-header .alignwide{width:100%!important;max-width:1500px!important;margin:auto!important;gap:26px!important}
.ts-global-header .wp-block-site-title{margin:0!important;line-height:1!important}
.ts-global-header .wp-block-site-title a{display:flex;align-items:center;gap:11px;color:var(--ts-ui-navy)!important;text-decoration:none!important}
.ts-global-logo-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:11px;background:var(--ts-ui-navy);color:#fff;font-size:21px}
.ts-global-logo-copy{display:grid;gap:4px;white-space:nowrap}
.ts-global-logo-copy>span{font-size:22px;line-height:1}
.ts-global-logo-copy strong{font-weight:800}
.ts-global-logo-copy b{color:var(--ts-ui-teal);font-weight:600}
.ts-global-logo-copy small{color:#7890a2;font-size:8px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.ts-global-header .wp-block-navigation{margin-left:auto;gap:clamp(15px,1.8vw,27px)!important;color:var(--ts-ui-navy)}
.ts-global-header .wp-block-navigation-item__content{display:flex;min-height:73px;align-items:center;border-bottom:3px solid transparent;font-size:14px;font-weight:700;text-decoration:none!important}
.ts-global-header .wp-block-navigation-item__content:hover,.ts-global-header .wp-block-navigation-item__content:focus-visible,.ts-global-header .wp-block-navigation-item__content.is-active{color:var(--ts-ui-blue)!important;border-bottom-color:var(--ts-ui-blue)}
.ts-global-compare{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:0 18px;border-radius:9px;background:var(--ts-ui-navy);color:#fff!important;font-size:14px;text-decoration:none!important;white-space:nowrap}
.ts-global-compare:hover,.ts-global-compare:focus-visible{background:#1a4964;box-shadow:0 6px 16px rgba(18,50,71,.18)}
.ts-global-rail{display:flex;gap:7px;overflow-x:auto;padding:9px clamp(24px,5vw,72px);border-bottom:1px solid var(--ts-ui-line);background:#fff;scrollbar-width:none}
.ts-global-rail::-webkit-scrollbar{display:none}
.ts-global-rail a{flex:0 0 auto;padding:8px 13px;border-radius:999px;background:#edf3f6;color:#344c60;font-size:12px;font-weight:800;text-decoration:none}
.ts-global-rail a:hover,.ts-global-rail a:focus-visible,.ts-global-rail a.is-active{background:var(--ts-ui-navy);color:#fff}
.ts-global-header a:focus-visible,.ts-global-rail a:focus-visible{outline:3px solid rgba(37,99,235,.35);outline-offset:2px}

/* Ajustes comunes de cabecera, portada interior y tarjetas del catálogo. */
.ts-global-header .ts-global-logo-mark{width:48px;height:48px;font-size:24px}
.ts-global-header .ts-global-logo-copy>span{font-size:clamp(23px,2vw,30px);font-weight:800;letter-spacing:-.035em}
.ts-global-header .ts-global-logo-copy small{font-size:9px;letter-spacing:.14em}
body.wp-singular:not(.ts-brands-template) main.wp-block-group{margin-top:18px!important}
body.wp-singular:not(.ts-brands-template) main.wp-block-group>.wp-block-group.alignfull{padding-top:24px!important}
body.wp-singular .wp-block-post-title{line-height:1.1!important;letter-spacing:-.025em}
.tc-card .tc-media{height:250px!important;padding:16px!important}
.tc-card .tc-media img{width:100%!important;height:100%!important;max-height:220px!important;object-fit:contain!important}
.tc-card .tc-body{padding:18px 18px 16px!important}
.tc-card .tc-body>strong{font-size:clamp(19px,1.75vw,25px)!important;line-height:1.16!important}
.tc-card .tc-brand{font-size:12px!important}
.tc-card .tc-spec{font-size:15px!important;font-weight:800}
.tc-card .tc-desc{display:block!important;font-size:14px!important;line-height:1.4!important;color:#526778!important}
.tc-card .tsac-card-actions{margin-top:auto}
@media(max-width:760px){
 .ts-global-header .ts-global-logo-mark{width:38px;height:38px;font-size:20px}
 .ts-global-header .ts-global-logo-copy>span{font-size:19px}
 body.wp-singular:not(.ts-brands-template) main.wp-block-group{margin-top:12px!important}
 body.wp-singular:not(.ts-brands-template) main.wp-block-group>.wp-block-group.alignfull{padding-top:18px!important}
 .tc-card .tc-media{height:160px!important;padding:8px!important}
 .tc-card .tc-media img{max-height:146px!important}
 .tc-card .tc-body{padding:10px!important}
 .tc-card .tc-body>strong{font-size:clamp(14px,4.2vw,18px)!important}
 .tc-card .tc-brand{font-size:10px!important}
 .tc-card .tc-spec{font-size:12px!important}
 .tc-card .tc-desc{font-size:11px!important;line-height:1.3!important}
}

.ts-product-picker{margin:0 0 24px;padding:20px;border:1px solid #d5e2e8;border-radius:18px;background:#fff;box-shadow:0 14px 36px rgba(18,50,71,.08)}
.ts-product-picker__head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}
.ts-product-picker__eyebrow,.ts-comparison-step{display:block;margin-bottom:5px;color:var(--ts-ui-teal);font-size:.68rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.ts-product-picker__head h2{margin:0;color:var(--ts-ui-navy);font-size:1.42rem;line-height:1.2}
.ts-product-picker__head p{max-width:650px;margin:5px 0 0;color:#607181;font-size:.86rem}
.ts-product-picker__selected{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#e3f3f1;color:#0d6865;font-size:.76rem;white-space:nowrap}
.ts-selection-tray{margin:0 0 15px;padding:12px;border:1px solid #dbe6eb;border-radius:13px;background:#f3f7f8}
.ts-selection-tray>header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:9px}.ts-selection-tray>header strong{color:var(--ts-ui-navy);font-size:.82rem}.ts-selection-tray>header span{color:#6b7c86;font-size:.7rem}
.ts-selection-tray__items{display:flex;gap:9px;overflow-x:auto;padding:1px 1px 6px;scrollbar-width:thin;scrollbar-color:#a8bbc4 transparent}
.ts-selection-tray__empty{display:flex;min-height:64px;flex:1;align-items:center;gap:10px;padding:10px 12px;border:1px dashed #b9cbd4;border-radius:10px;background:#fff;color:#607181}.ts-selection-tray__empty>span{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:9px;background:#e5f0f1;color:var(--ts-ui-teal);font-size:1.2rem}.ts-selection-tray__empty strong,.ts-selection-tray__empty small{display:block}.ts-selection-tray__empty strong{color:var(--ts-ui-navy);font-size:.78rem}.ts-selection-tray__empty small{margin-top:2px;font-size:.68rem}
.ts-selection-chip{position:relative;display:grid;grid-template-columns:48px minmax(145px,1fr) 26px;flex:0 0 270px;align-items:center;gap:8px;min-height:68px;padding:8px;border:1px solid #d5e2e8;border-radius:10px;background:#fff}.ts-selection-chip>img{width:46px;height:52px;object-fit:contain}.ts-selection-chip>div{min-width:0}.ts-selection-chip strong,.ts-selection-chip span{display:block;overflow:hidden;text-overflow:ellipsis}.ts-selection-chip strong{color:var(--ts-ui-navy);font-size:.74rem;white-space:nowrap}.ts-selection-chip span{margin-top:3px;color:#667985;font-size:.62rem;line-height:1.3}.ts-selection-chip button{display:grid;width:25px;height:25px;place-items:center;border:0;border-radius:50%;background:#edf3f5;color:#375464;cursor:pointer;font-size:1rem}.ts-selection-chip button:hover,.ts-selection-chip button:focus-visible{background:#173f59;color:#fff}
.ts-product-picker__viewport{max-height:440px;overflow-y:auto;padding:3px 8px 3px 3px;overscroll-behavior:contain;scrollbar-color:#9fb5c0 #edf3f6;scrollbar-width:thin}
.ts-product-picker__viewport::-webkit-scrollbar{width:8px}.ts-product-picker__viewport::-webkit-scrollbar-track{background:#edf3f6;border-radius:999px}.ts-product-picker__viewport::-webkit-scrollbar-thumb{background:#9fb5c0;border-radius:999px}
.ts-product-picker #cmp-count{margin:5px 0 10px;color:#607181;font-size:.76rem;font-weight:750}
.ts-comparator-enhanced .cmp-panel{padding:22px;border-color:#d5e2e8;background:linear-gradient(180deg,#eef5f7 0,#e8f0f4 100%);box-shadow:0 12px 30px rgba(18,50,71,.06)}
.ts-comparator-enhanced .cmp-head h2{color:var(--ts-ui-navy);font-weight:800}
.ts-comparator-enhanced .cmp-hint{display:inline-flex;padding:6px 10px;border-radius:999px;background:#dce9ee;color:#365565;font-weight:700}
.ts-compare-empty-state{display:flex;align-items:center;justify-content:center;gap:14px;min-height:210px;margin-top:14px;padding:28px;border:1px dashed #b9cbd4;border-radius:14px;background:rgba(255,255,255,.58);color:#607181;text-align:left}
.ts-compare-empty-state[hidden]{display:none!important}
.ts-compare-empty-state>span{display:grid;width:46px;height:46px;place-items:center;border-radius:13px;background:#dfecef;color:var(--ts-ui-teal);font-size:24px;font-weight:900}
.ts-compare-empty-state strong{display:block;color:var(--ts-ui-navy);font-size:1rem}.ts-compare-empty-state p{max-width:520px;margin:4px 0 0;font-size:.82rem;line-height:1.45}
.ts-comparator-enhanced .cmp-scroll{border:1px solid #dce6eb;box-shadow:0 6px 18px rgba(18,50,71,.05)}
.ts-comparator-enhanced .cmp-scroll[hidden],.ts-mobile-compare[hidden]{display:none!important}
.ts-comparator-enhanced .cmp-table{width:max-content;min-width:100%}
.ts-comparator-enhanced .cmp-table thead th:first-child,.ts-comparator-enhanced .cmp-table tbody th[scope="row"]{position:sticky;left:0;z-index:2;min-width:145px;box-shadow:1px 0 0 #dce6eb}
.ts-comparator-enhanced .cmp-table thead th:not(:first-child){padding:16px 12px;background:#fff}
.ts-comparator-enhanced .cmp-table thead img{height:116px;max-width:130px}
.ts-comparator-enhanced .cmp-table thead strong{color:var(--ts-ui-navy);font-size:.94rem}
.ts-compare-amazon{display:inline-flex;align-items:center;justify-content:center;min-height:30px;margin-top:7px;padding:0 10px;border-radius:7px;background:#ff9900;color:#111827!important;font-size:.7rem;font-weight:850;text-decoration:none!important}
.ts-compare-amazon:hover{background:#e88b00}
.ts-comparator-enhanced .cmp-table tbody tr:nth-child(even) td{background:#fbfcfd}
.ts-comparator-enhanced .cmp-table tr[data-ts-editorial] th{background:#e9f2f3;color:#244b5b}
.ts-comparator-enhanced .cmp-table tr[data-ts-editorial] td{min-width:210px;color:#3f5663;font-size:.79rem;line-height:1.45}
.ts-comparator-enhanced .cmp-table tr[data-ts-editorial="pro"] td{color:#176747}
.ts-comparator-enhanced .cmp-table tr[data-ts-editorial="con"] td{color:#7c4a20}
.ts-comparator-enhanced .cmp-table tr[data-ts-group] th{position:static;padding:10px 13px;background:#dce9ee;color:#244b5b;box-shadow:none;font-size:.71rem;letter-spacing:.08em;text-align:left;text-transform:uppercase}
.ts-comparator-enhanced .cmp-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ts-comparator-enhanced .cmp-item{grid-template-columns:68px minmax(0,1fr);padding:9px;border:1px solid #dce6ec;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(18,50,71,.04);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.ts-comparator-enhanced .cmp-item:hover{border-color:#9fb8c4;box-shadow:0 8px 20px rgba(18,50,71,.08);transform:translateY(-1px)}
.ts-comparator-enhanced .cmp-item.is-selected{border-color:var(--ts-ui-teal);box-shadow:0 0 0 2px rgba(15,130,126,.12),0 8px 20px rgba(18,50,71,.08)}
.ts-comparator-enhanced .cmp-item>img,.ts-comparator-enhanced .cmp-noimg{width:64px;height:76px}
.ts-comparator-enhanced .cmp-item>div>span{display:block;min-height:32px;line-height:1.35}
.ts-comparator-enhanced .tsac-compare-actions{grid-column:1/-1;grid-template-columns:1fr}
.ts-comparator-enhanced .cmp-add{min-height:36px!important}
.ts-comparator-enhanced .cmp-item.is-selected .cmp-add{border-color:var(--ts-ui-teal)!important;background:var(--ts-ui-teal)!important;color:#fff!important}
.ts-comparator-enhanced .cmp-item .cmp-amazon{display:none!important}
.ts-mobile-compare{display:none}

@media(max-width:1120px){
  .ts-global-header .wp-block-navigation{gap:14px!important}
  .ts-global-header .wp-block-navigation-item__content{font-size:13px}
  .ts-global-logo-copy small{display:none}
  .ts-comparator-enhanced .cmp-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .ts-global-header>div{min-height:66px!important;padding:0 15px!important}
  .admin-bar .ts-global-header{top:46px}
  .ts-global-logo-mark{width:36px;height:36px}
  .ts-global-logo-copy>span{font-size:19px}
  .ts-global-header .alignwide{gap:10px!important}
  .ts-global-header .wp-block-navigation{order:3;margin-left:0}
  .ts-global-header .wp-block-navigation__responsive-container-open{display:flex!important;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #d8e3e9;border-radius:9px}
  .ts-global-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .ts-global-header .wp-block-navigation__responsive-container.is-menu-open{display:flex!important;padding:18px;background:#fff!important;color:var(--ts-ui-navy)!important}
  .ts-global-header .wp-block-navigation__responsive-container-content{padding-top:56px!important}
  .ts-global-header .wp-block-navigation__container{width:100%;gap:0!important}
  .ts-global-header .wp-block-navigation-item{width:100%}
  .ts-global-header .wp-block-navigation-item__content{width:100%;min-height:50px;border-bottom:1px solid #e7eef2;font-size:16px}
  .ts-global-compare{order:2;margin-left:auto;min-height:40px;padding:0 12px;font-size:12px}
  .ts-global-rail{padding:8px 12px}
  .ts-comparator-enhanced .cmp-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .ts-global-logo-copy>span{font-size:17px}
  .ts-global-compare strong{display:none}
  .ts-global-compare{width:40px;padding:0;font-size:18px}
  .ts-home-header-enhanced{grid-template-columns:1fr auto auto!important;gap:8px!important}
  .ts-home-header-enhanced .ts-header-compare{display:inline-flex!important;width:40px;height:40px;padding:0!important;font-size:0!important}
  .ts-home-header-enhanced .ts-header-compare:before{content:'▥';font-size:18px}
  .ts-comparator-enhanced .cmp-panel{padding:11px;border-radius:14px}
  .ts-comparator-enhanced .cmp-head{align-items:center}
  .ts-comparator-enhanced .cmp-head h2{font-size:1.18rem}
  .ts-comparator-enhanced .cmp-head button{min-height:38px;padding:0 8px;border:1px solid #bdd0d8;border-radius:8px;background:#fff}
  .ts-comparator-enhanced .cmp-hint{font-size:.74rem;line-height:1.35}
  .ts-product-picker{margin-bottom:15px;padding:12px;border-radius:14px}
  .ts-product-picker__head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:10px}
  .ts-product-picker__head h2{font-size:1.12rem}
  .ts-product-picker__head p{grid-column:1/-1;font-size:.73rem;line-height:1.4}
  .ts-product-picker__selected{padding:6px 8px;font-size:.66rem}
  .ts-product-picker__viewport{max-height:430px;padding-right:4px}
  .ts-selection-tray{padding:9px}.ts-selection-tray>header span{display:none}.ts-selection-chip{grid-template-columns:40px minmax(125px,1fr) 24px;flex-basis:230px;min-height:60px}.ts-selection-chip>img{width:38px;height:44px}.ts-selection-chip span{font-size:.58rem}
  .ts-compare-empty-state{min-height:170px;padding:20px 14px}.ts-compare-empty-state>span{display:none}.ts-compare-empty-state p{font-size:.75rem}
  .ts-comparator-enhanced .cmp-scroll{display:none}
  .ts-mobile-compare{display:flex;gap:10px;overflow-x:auto;margin:10px -1px 0;padding:1px 1px 9px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .ts-mobile-compare::-webkit-scrollbar{display:none}
  .ts-mobile-compare__card{flex:0 0 min(82vw,310px);overflow:hidden;border:1px solid #d7e3e8;border-radius:13px;background:#fff;box-shadow:0 6px 18px rgba(18,50,71,.07);scroll-snap-align:start}
  .ts-mobile-compare__top{display:grid;grid-template-columns:82px 1fr;gap:10px;align-items:center;padding:11px;border-bottom:1px solid #e5ecef}
  .ts-mobile-compare__top img{width:78px;height:88px;object-fit:contain}
  .ts-mobile-compare__top strong{display:block;color:var(--ts-ui-navy);font-size:.9rem;line-height:1.25}
  .ts-mobile-compare__top a{display:inline-block;margin-top:5px;color:#176747;font-size:.76rem;font-weight:800}
  .ts-mobile-compare__top .ts-mobile-compare__amazon{margin-left:7px;padding:5px 7px;border-radius:6px;background:#ff9900;color:#111827;font-size:.68rem;text-decoration:none}
  .ts-mobile-compare__specs{display:grid;grid-template-columns:1fr 1.15fr;margin:0}
  .ts-mobile-compare__specs dt,.ts-mobile-compare__specs dd{margin:0;padding:8px 10px;border-bottom:1px solid #edf1f3;font-size:.73rem}
  .ts-mobile-compare__specs dt{background:#f3f7f8;color:#46606d;font-weight:800}
  .ts-mobile-compare__specs dd{color:#263946}
  .ts-mobile-compare__details{border-bottom:1px solid #e5ecef}.ts-mobile-compare__details summary{padding:11px 12px;color:#173f59;cursor:pointer;font-size:.76rem;font-weight:850;list-style-position:inside}.ts-mobile-compare__details[open] summary{border-bottom:1px solid #e5ecef;background:#f7fafb}
  .ts-mobile-compare__remove{width:calc(100% - 20px);min-height:38px;margin:10px;border:1px solid #c8d8df;border-radius:8px;background:#fff;color:#375464;font-size:.75rem;font-weight:800}
  .ts-mobile-compare__empty{padding:18px;color:var(--ts-ui-muted);font-size:.84rem}
  .ts-comparator-enhanced .cmp-tools{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 10px;padding:9px;border:1px solid #dce6eb;border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 6px 18px rgba(18,50,71,.06);backdrop-filter:blur(8px)}
  .ts-comparator-enhanced .cmp-tools input{grid-column:1/-1;width:100%}
  .ts-comparator-enhanced .cmp-tools select{width:100%;min-width:0;font-size:.75rem}
  .ts-comparator-enhanced .cmp-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ts-comparator-enhanced .cmp-item{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:8px}
  .ts-comparator-enhanced .cmp-item>img,.ts-comparator-enhanced .cmp-noimg{width:100%;height:92px}
  .ts-comparator-enhanced .cmp-item strong{min-height:34px;font-size:.78rem}
  .ts-comparator-enhanced .cmp-item span{font-size:.66rem}
  .ts-comparator-enhanced .tsac-compare-actions{grid-template-columns:1fr;gap:5px;margin:5px 0 0}
  .ts-comparator-enhanced .cmp-add{width:100%;min-height:36px!important;font-size:.68rem!important}
}
@media(max-width:380px){
  .ts-global-logo-mark{display:none}
  .ts-global-header>div{padding-inline:10px!important}
  .ts-comparator-enhanced .cmp-list{gap:6px}
  .ts-mobile-compare__card{flex-basis:86vw}
}

/* Presentación fotográfica compartida: misma información y acciones existentes. */
.tc-card .tc-media,.ts-product-image,.tb-product-image,.tsac-expansion-card__media{background:linear-gradient(150deg,#fff 12%,#edf4f7 100%)!important}
.tc-card .tc-media img,.ts-product-image img,.tb-product-image img,.tsac-expansion-card__media img{object-fit:contain!important;mix-blend-mode:normal!important;filter:drop-shadow(0 10px 10px rgba(18,50,71,.12))}

/* Señalamos la única foto editada para que no se confunda con la original. */
.xp-photo--image:has(img[src*="leitz-iq-optimax-office-p5-35l-edited"]),
.thu-product__media:has(img[src*="leitz-iq-optimax-office-p5-35l-edited"]),
.tb-product-image:has(img[src*="leitz-iq-optimax-office-p5-35l-edited"]){position:relative}
.xp-photo--image:has(img[src*="leitz-iq-optimax-office-p5-35l-edited"])::after,
.thu-product__media:has(img[src*="leitz-iq-optimax-office-p5-35l-edited"])::after,
.tb-product-image:has(img[src*="leitz-iq-optimax-office-p5-35l-edited"])::after{content:"Imagen editada";position:absolute;right:8px;bottom:6px;padding:2px 5px;border-radius:4px;background:#f5f7fa;color:#526778;font-size:10px;line-height:1.3}
/* Las fichas antiguas fuerzan 100vw dentro del contenido: corrige el desborde del scrollbar. */
.tx-product{width:100%!important;margin-left:0!important;box-sizing:border-box}
.tx-product .tx-inner{max-width:calc(100% - 24px)}
/* La foto destacada del tema repetía la foto de las tres fichas restauradas. */
.tsac-product-repaired .wp-block-post-featured-image{display:none!important}
.tsac-product-detail .wp-block-post-featured-image{display:none!important}
.tsac-accessory-visual{box-sizing:border-box;max-width:410px;margin:18px auto 26px;padding:18px;border:1px solid #dce6ec;border-radius:16px;background:#f5f7fa;text-align:center}
.tsac-accessory-visual img{display:block;width:100%;max-height:260px;object-fit:contain}
.tsac-accessory-visual figcaption{margin-top:10px;color:#52616b;font-size:.8rem;line-height:1.45}
/* El 404 del tema Twenty Twenty-Five muestra una foto de un árbol ajena al sitio. */
body.error404 main .wp-block-columns>.wp-block-column:first-child{display:none}
body.error404 main .wp-block-columns>.wp-block-column:last-child{flex-basis:100%;max-width:760px;margin-inline:auto}
