/*
Theme Name: The PC Room
Theme URI: https://the-pc-room.com
Author: The PC Room
Description: Tema corporativo de The PC Room con gestión de productos en oferta.
Version: 8.7.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: the-pc-room
*/
.tpc-watermarked{position:relative;display:block;overflow:hidden;max-width:100%;min-width:0;background:#fff}
.tpc-watermarked img,main img{-webkit-user-drag:none}
.tpc-watermarked>img{position:relative;z-index:2;display:block;width:92%;max-width:92%;height:78%;margin:0 auto;object-fit:contain;transform:none}
.tpc-watermarked:after{content:"";position:absolute;z-index:3;bottom:1%;left:50%;width:38%;height:18%;background:transparent url('assets/images/logo-the-pc-room.jpg') center/contain no-repeat;opacity:.76;transform:translateX(-50%);pointer-events:none}
.offer>.tpc-watermarked{width:100%;height:220px;flex:0 0 220px;padding:12px}
.offer>.tpc-watermarked>img{height:78%;padding:0}
.featured-card>.tpc-watermarked{display:block;align-self:stretch;width:100%;height:190px;padding:0;background:#fff;color:inherit;font-size:inherit;font-weight:400;text-transform:none}
.detail-gallery>.tpc-watermarked{width:100%;height:470px}
.similar-card>.tpc-watermarked{width:100%;height:150px}
.detail-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;overflow:hidden}
.detail-grid>.detail-gallery,.detail-grid>.detail-summary{min-width:0;max-width:100%}
.detail-gallery{overflow:hidden}
.detail-gallery>.tpc-watermarked{box-sizing:border-box;max-width:100%;padding:24px}
.detail-gallery>.tpc-watermarked>img{max-width:100%;max-height:100%}
.detail-summary{position:relative;z-index:4;background:#fff}
.detail-summary .detail-zone{text-align:center;margin-top:0}
.detail-summary h1{max-width:100%;overflow-wrap:anywhere;word-break:normal;font-size:clamp(1.4rem,2vw,2.05rem)!important;text-align:center}
.detail-price .request-quote{font-size:1.8rem;color:#0f52ba}
.service-information .service-copy{max-width:880px;margin:20px auto;line-height:1.75;color:#314f5d;text-align:left}
.featured-price .featured-quote{font-size:1rem;line-height:1.25;color:#0f52ba}
.commercial-notes{margin:12px 0 0;padding:0;list-style:none;color:#0b6840;font-size:.8rem;font-weight:700;line-height:1.35}
.commercial-notes li+li{margin-top:5px}
.detail-commercial-notes{margin:14px 0;padding:14px 18px;list-style:none;border:1px solid #b9dfed;border-radius:7px;background:#eef8fc;color:#0b6840;font-weight:700;line-height:1.45}
.detail-commercial-notes li+li{margin-top:6px}
.price-notice span+span{margin-top:4px}
.nav{flex-wrap:wrap}.navlinks{min-width:0}.site-search{display:flex;flex:0 0 100%;justify-content:center;gap:8px;margin:-12px 0 14px}.site-search input{width:min(400px,75vw);height:39px;padding:8px 12px;border:1px solid #9bbdca;border-radius:4px;font-size:.9rem}.site-search button{height:39px;padding:0 17px;border:0;border-radius:4px;background:#0f52ba;color:#fff;font-weight:800;cursor:pointer}.site-search input:focus-visible,.site-search button:focus-visible{outline:3px solid #0f52ba;outline-offset:2px}@media(max-width:850px){.site-search{margin:4px 0 12px}}
.search-page{min-height:60vh;background:#c4ebf7;padding:55px 0}.search-page h1{text-align:center;color:#073d5c;font-size:clamp(1.4rem,3vw,2rem);overflow-wrap:anywhere}.search-results{display:grid;gap:16px;max-width:950px;margin:28px auto}.search-result{display:flex;gap:20px;align-items:center;padding:18px;background:#fff;border:1px solid #b9dfed;border-radius:7px}.search-result img{width:145px;height:120px;object-fit:contain;flex:none}.search-result h2{margin:3px 0;font-size:1.1rem;line-height:1.35;overflow-wrap:anywhere}.search-result h2 a:hover,.search-link:hover{text-decoration:underline}.search-result p{margin:5px 0;color:#526c79;font-size:.9rem}.search-type{font-size:.72rem;font-weight:800;color:#0f52ba}.search-price{display:inline-block;margin:5px 15px 5px 0;color:#0f52ba}.search-link{display:inline-block;color:#0f52ba;font-weight:800}.search-empty{padding:28px;background:#fff;text-align:center}.search-pagination{text-align:center;margin:25px auto}.search-pagination .page-numbers{display:inline-block;padding:8px 12px;margin:3px;background:#fff;border-radius:4px;color:#0f52ba;font-weight:800}.search-pagination .current{background:#0f52ba;color:#fff}@media(max-width:570px){.search-result{align-items:flex-start;flex-direction:column}.search-result img{width:100%;height:160px}}
.search-order{text-align:center;color:#385766;font-weight:700;margin:0 auto}
/* Logotipo y opciones del menú en una misma fila; el buscador queda debajo. */
.nav{display:grid;grid-template-columns:80px max-content;justify-content:center;column-gap:12px;row-gap:4px;align-items:center;min-height:0;padding:10px 0}
.nav>a:first-child{display:block;grid-column:1;grid-row:1;justify-self:start}
.nav .logo{display:block;width:80px;height:80px;object-fit:contain;margin:0}
.navlinks{grid-column:2;grid-row:1;display:flex;justify-content:flex-start;gap:clamp(7px,1vw,16px);font-size:clamp(.75rem,.95vw,.94rem);min-width:0;overflow:visible}
.navlinks>a,.navlinks .nav-dropdown{flex:none}
.navlinks a{padding:9px 0}
.navlinks .navbtn{padding:10px 12px!important}
.site-search{grid-column:1/-1;grid-row:2;margin:0 0 5px}
@media(max-width:850px){.nav{display:grid;grid-template-columns:70px minmax(0,1fr);justify-content:stretch;column-gap:8px;row-gap:5px;padding:7px 0}.nav .logo{width:70px;height:70px}.navlinks{justify-content:flex-start;gap:12px;font-size:.82rem;padding:0;max-width:100%;white-space:nowrap}.site-search{margin:0 0 6px}}
@media(max-width:850px){.navlinks{overflow-x:auto;overflow-y:hidden}}
@media(max-width:850px){.detail-gallery>.tpc-watermarked{height:340px}}
@media(max-width:570px){.detail-gallery>.tpc-watermarked{height:270px}}
