#productPage[hidden]{display:none!important}
body.product-page-active>.hero,body.product-page-active>#roadScene,body.product-page-active>main:not(#productPage):not(#adminOverlay){display:none!important}
body.admin-page #productPage{display:none!important}
#productPage{max-width:1220px;margin:0 auto;padding:32px 28px 64px;color:#18344e;background:#fff;min-height:80vh}
.product-back{display:inline-flex;align-items:center;min-height:44px;border:1px solid #ccd9e4;border-radius:9px;background:#f7fafc;padding:10px 16px;color:#1b4f73;font-weight:700;cursor:pointer}
.product-breadcrumb{font-size:13px;color:#627386;margin:25px 0 18px;overflow-wrap:anywhere}.product-breadcrumb span{padding:0 10px}
.product-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#426b8d;text-transform:uppercase}
.product-heading h1{font-size:clamp(25px,3.4vw,40px);line-height:1.18;margin:10px 0;overflow-wrap:anywhere;outline:none}
.product-heading>p{color:#5e7183;margin:0 0 30px;font-size:15px}
.product-page-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:30px 40px;align-items:start}
.product-gallery{min-width:0}.product-gallery .product-sheet{display:block!important}
#productPage .sheet-photo{display:flex;align-items:center;justify-content:center;min-height:300px;height:400px;background:#f7f9fb;border:1px solid #e0e7ed;border-radius:16px;overflow:hidden}
#productPage .sheet-photo img{width:100%;height:100%;max-height:360px;object-fit:contain}
.product-photo-count{font-size:13px;color:#61788d;margin:14px 0 10px}
.product-thumbnails{display:flex;gap:9px;flex-wrap:wrap}.product-thumbnails button{width:72px;height:72px;border:2px solid #dce5ed;background:#fff;border-radius:10px;padding:5px;cursor:pointer}.product-thumbnails button[aria-pressed=true]{border-color:#1d6595;box-shadow:0 0 0 2px #e4f1fa}.product-thumbnails img{width:100%;height:100%;object-fit:contain}
.product-data-section{border:1px solid #dce5ed;border-radius:14px;padding:22px;margin-bottom:18px;background:#fff}
#productPage h2{font-size:19px;line-height:1.35;margin:0 0 18px}
.product-data-section dl{margin:0;display:grid;gap:18px}.product-data-section dt{font-size:12px;color:#64798b;margin-bottom:6px}.product-data-section dd{margin:0;font-size:15px;color:#1b344a;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.product-identification{grid-template-columns:1fr 1fr}.product-identification dd{font-weight:700}
.product-contact{background:#eff5fa;border-radius:14px;padding:22px;margin:18px 0}.product-contact p{font-size:14px;color:#526d83;line-height:1.6}.product-contact .quote-product-actions{display:flex;gap:10px;flex-wrap:wrap}.product-contact .sheet-cta,.product-contact .quote-add{display:inline-flex;align-items:center;justify-content:center;background:#154f7a;color:white;border:0;border-radius:9px;padding:13px 18px;font-size:14px;text-decoration:none;min-height:46px;cursor:pointer}.product-contact .quote-add{background:#efb64b;color:#18344e;font-weight:800}
.product-full-details{grid-column:1/-1;min-width:0}.product-full-details .product-data-section dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.product-admin-edit{border:1px solid #bccfdf;border-radius:8px;min-height:44px;background:white;padding:10px 16px;cursor:pointer}
.admin-photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:16px 0}.admin-photo-gallery figure{margin:0;border:1px solid #d7e2eb;border-radius:12px;padding:10px;background:#fff}.admin-photo-gallery img{width:100%;height:110px;object-fit:contain}.admin-photo-gallery figcaption{font-size:13px;font-weight:700;margin:7px 0}.admin-photo-gallery button{font-size:12px!important;display:block;width:100%;margin:5px 0!important;padding:8px!important}.admin-photo-gallery button:disabled{opacity:.55;cursor:default}
@media(max-width:700px){#productPage{padding:22px 16px 90px}.product-page-grid{grid-template-columns:1fr;gap:22px}.product-heading h1{font-size:26px}.product-heading>p{line-height:1.6;margin-bottom:20px}#productPage .sheet-photo{height:300px;min-height:240px}#productPage .sheet-photo img{max-height:260px}.product-data-section{padding:18px}.product-full-details .product-data-section dl{grid-template-columns:1fr}.product-contact .quote-product-actions>*{flex:1}.product-thumbnails button{width:64px;height:64px}}

#productPage .product-heading{background:transparent;color:#18344e;padding:0;box-shadow:none;position:static}#productPage .product-heading h1{color:#18344e!important}#productPage .product-heading .product-eyebrow{color:#426b8d!important}#productPage .product-heading>p{color:#5e7183!important}#productPage .product-contact .sheet-cta{color:#fff!important}

/* Ficha organizada según la referencia de PAI. */
.product-identification{display:block!important}.product-identification>div,.product-data-section dl>div{display:grid!important;grid-template-columns:minmax(120px,32%) 1fr;gap:18px;padding:12px 0;border-bottom:1px solid #e5eaf0}.product-identification dt{font-weight:700;text-transform:uppercase;font-size:12px}.product-identification dd{margin:0}.product-full-details{display:block}.product-data-section{margin-bottom:22px}.product-data-section dd{white-space:pre-line;overflow-wrap:anywhere}.quote-product-quantity{display:flex;align-items:center;gap:12px;margin:14px 0;font-weight:700}.quote-product-quantity input,.quote-quantity{width:95px;min-height:44px;border:1px solid #bac9d9;border-radius:8px;padding:8px;font-size:16px}.quote-cart-row label{display:flex;align-items:center;gap:12px;margin-top:12px}.actions .quote-add{flex:1}.cross-reference-table{overflow-x:auto}.cross-reference-table table{min-width:320px}.cross-reference-table details{font-size:12px}.featured-toggle{display:flex;align-items:center;gap:10px}.featured-toggle input{width:22px!important;height:22px}.admin-featured-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ddd}.admin-featured-row span{flex:1}.admin-featured-row button{min-width:120px}
@media(max-width:600px){.product-data-section dl>div{grid-template-columns:1fr!important;gap:6px}.product-page-grid{gap:18px}.quote-cart-row{align-items:flex-start;gap:10px}.product-heading h1{font-size:24px}.cross-reference-table th,.cross-reference-table td{padding:10px}}

/* Fotografías, búsqueda de destacados y cotización visual. */
.featured-search-toolbar{display:flex;align-items:stretch;gap:12px}.featured-search-toolbar input{flex:1;min-width:0;margin:0!important}.featured-search-toolbar button{margin:0!important;white-space:nowrap;padding:12px 20px!important}.admin-featured-row .featured-photo{flex:0 0 76px;width:76px;height:76px;display:grid;place-items:center;border:1px solid #e0e7ee;border-radius:12px;background:#fff;overflow:hidden;font-size:11px;color:#718096}.featured-photo img{width:100%;height:100%;object-fit:contain;padding:5px}.admin-featured-row .featured-copy{min-width:0;line-height:1.5}.admin-featured-row{padding:14px 0!important;gap:16px!important}.admin-featured-row>input{flex:none;margin:0!important}.modal:has(.quote-cart-layout),.modal:has(.quote-empty){width:min(1120px,96vw)!important;max-width:1120px!important;padding:28px!important;border-radius:20px!important}.modal:has(.quote-cart-layout)>h2{margin:0 0 8px!important;font-size:28px}.quote-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.quote-cart-products{min-width:0}.quote-cart-list{max-height:none!important;overflow:visible!important}.quote-visual-row{display:grid!important;grid-template-columns:140px minmax(0,1fr)!important;gap:22px!important;padding:22px 0!important;align-items:start!important;border-bottom:1px solid #e1e7ee!important}.quote-item-photo{width:140px;height:140px;border:1px solid #e5eaf0;border-radius:14px;background:#fff;display:grid;place-items:center;overflow:hidden;color:#8291a3;font-size:12px}.quote-item-photo img{width:100%;height:100%;object-fit:contain;padding:9px}.quote-item-info{min-width:0}.quote-item-index{display:block;font-size:10px;letter-spacing:.1em;font-weight:800;color:#75879a;margin:0 0 8px}.quote-item-info>strong{display:block;font-size:16px;line-height:1.5;color:#102c48}.quote-item-codes{display:flex;flex-wrap:wrap;gap:5px 18px;margin:9px 0 16px;color:#627589}.quote-item-codes small{font-size:12px;display:block}.quote-item-tools{display:flex;align-items:center;flex-wrap:wrap;gap:20px}.quote-stepper{display:flex;align-items:center;border:1px solid #bdcbd9;border-radius:9px;overflow:hidden;height:42px}.quote-stepper button{border:0!important;border-radius:0!important;width:40px;min-height:40px;margin:0!important;padding:0!important;background:#f0f5fa!important;color:#153e61!important;font-size:22px}.quote-stepper button:disabled{opacity:.4;cursor:default}.quote-stepper label{margin:0!important;display:block!important}.quote-stepper .quote-quantity{width:62px!important;min-height:40px!important;border:0!important;border-radius:0!important;text-align:center;padding:5px!important;margin:0!important;appearance:textfield}.quote-stepper input::-webkit-inner-spin-button{appearance:none}.quote-visual-row .quote-remove{background:transparent!important;color:#a63737!important;padding:8px 0!important;font-weight:700;font-size:12px;text-decoration:underline;border:0!important;min-width:0!important}.quote-summary{background:#f3f7fb;border:1px solid #dce6ef;border-radius:16px;padding:23px;position:sticky;top:0}.quote-summary h3{font-size:20px;margin:10px 0 22px;color:#102c48}.quote-summary dl{margin:0}.quote-summary dl>div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #dce6ef}.quote-summary dd{font-weight:800;margin:0}.quote-summary p,.quote-summary small{font-size:12px;line-height:1.6;color:#63778a}.quote-summary .quote-cart-send{margin:18px 0 12px!important;display:flex!important;align-items:center;justify-content:center;text-align:center;min-height:50px;font-size:14px!important;padding:12px!important;background:#12834c!important;color:#fff!important}.quote-continue{border:0!important;background:transparent!important;color:#174b77!important;font-weight:700;padding:16px 0!important}.quote-empty{text-align:center;padding:38px 15px}.quote-empty>span{font-size:42px}.quote-empty p{color:#667d93}.quote-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.modal:has(.quote-cart-layout)>.close{margin-top:16px}
@media(max-width:760px){.quote-cart-layout{grid-template-columns:1fr;gap:20px}.quote-summary{position:static}.modal:has(.quote-cart-layout),.modal:has(.quote-empty){padding:18px!important}.quote-visual-row{grid-template-columns:90px minmax(0,1fr)!important;gap:14px!important;padding:18px 0!important}.quote-item-photo{width:90px;height:100px}.quote-item-info>strong{font-size:14px}.quote-item-codes{display:block}.quote-item-codes small{margin-bottom:4px}.quote-item-tools{gap:12px}.quote-stepper button{width:32px}.quote-stepper .quote-quantity{width:45px!important}.featured-search-toolbar{gap:8px}.featured-search-toolbar button{white-space:normal;font-size:12px!important;padding:10px!important;width:125px;flex-shrink:0}.admin-featured-row .featured-photo{width:60px;height:60px;flex-basis:60px}.admin-featured-row{gap:10px!important}.featured-copy b{font-size:12px}}

.audit-entry{border:1px solid #dbe4ed;border-radius:12px;padding:18px;margin:14px 0;background:white}.audit-entry header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.audit-entry>p{font-size:12px;color:#5f7387;overflow-wrap:anywhere}.audit-state{font-size:11px;color:#1c6745;background:#e8f4ed;border-radius:15px;padding:5px 9px}.audit-entry summary{cursor:pointer;font-size:13px;font-weight:700;color:#154d78}.audit-details>div{margin:12px 0;padding:12px;background:#f4f7fb;border-radius:8px;overflow-wrap:anywhere}.audit-details small{display:block;color:#60768d}.audit-details p{font-size:12px;margin:6px 0;white-space:pre-wrap}.audit-details p span{font-weight:700}

/* Contacto y cotización alineados con el azul de la página. */
#quoteCartFab{background:#123f64!important;color:#fff!important}#quoteCartFab:hover{background:#0c2d49!important}#quoteCartFab b{color:#123f64!important}.quote-cart-send,.quote-summary .quote-cart-send{background:#123f64!important}.quote-cart-send:hover,.quote-summary .quote-cart-send:hover{background:#0c2d49!important}#whatsappContactFab{position:fixed;right:18px;bottom:calc(env(safe-area-inset-bottom,0px) + 86px);z-index:28;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#16834e;color:#fff;box-shadow:0 5px 20px #061a2b40;text-decoration:none;border:2px solid #fff}#whatsappContactFab svg{width:28px;height:28px}#whatsappContactFab:hover{background:#116d40;transform:translateY(-1px)}#whatsappContactFab:focus-visible{outline:3px solid #f4b94f;outline-offset:3px}.quote-cart-status{bottom:calc(env(safe-area-inset-bottom,0px) + 148px)!important}@media(max-width:950px){#whatsappContactFab{right:14px;bottom:calc(env(safe-area-inset-bottom,0px) + 82px);width:46px;height:46px}#whatsappContactFab svg{width:26px;height:26px}}
