.product-page{width:min(1100px,calc(100% - 32px));margin:0 auto;padding:28px 0 64px}.product-breadcrumb{font-size:12px;color:#718197;margin:0 0 18px}.product-breadcrumb a{color:#1170CE}.product-hero-card{display:grid;grid-template-columns:220px 1fr;gap:30px;align-items:center;background:#fff;border:1px solid #dbe5f0;border-radius:20px;padding:28px;box-shadow:0 12px 36px rgba(28,64,105,.07)}.product-page-image{width:220px;height:220px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:#f7f9fc}.product-page-image img{width:100%;height:100%;object-fit:contain}.product-kicker{font-size:11px;font-weight:850;letter-spacing:.12em;color:#1170CE}.product-hero-card h1{font-size:34px;line-height:1.12;margin:8px 0 10px;letter-spacing:-.035em}.product-identifiers{font-size:13px;color:#718197}.product-intro{font-size:16px;line-height:1.65;color:#44556b;margin-top:18px}.product-offers,.product-content{margin-top:20px;background:#fff;border:1px solid #dbe5f0;border-radius:18px;padding:22px}.product-offers h2,.product-content h2{margin:0 0 16px}.product-offer{display:grid;grid-template-columns:1fr auto 120px;gap:18px;align-items:center;padding:14px 12px;border-top:1px solid #edf2f7}.product-offer:first-of-type{border-top:0}.product-offer.best{background:#effbf3;border-radius:10px}.product-offer span:first-child{display:flex;gap:9px;align-items:center}.product-offer em{font-style:normal;font-size:10px;font-weight:800;color:#16803c;background:#dcf7e5;padding:4px 7px;border-radius:999px}.product-offer strong{color:#16a34a;font-size:18px}.product-offer>span:last-child{text-align:right;color:#1170CE;font-weight:750;font-size:13px}.product-content{font-size:15px;line-height:1.75;color:#3d4e63}.product-content p{margin:0 0 14px}.product-content li{margin:7px 0}.product-content details{border-top:1px solid #edf2f7;padding:14px 0}.product-content summary{cursor:pointer;font-weight:750;color:#26384e}.product-content details p{margin:10px 0 0}.product-page .site-footer{margin-top:auto}@media(max-width:700px){.product-hero-card{grid-template-columns:1fr;padding:20px}.product-page-image{width:160px;height:160px;margin:auto}.product-hero-card h1{font-size:27px}.product-offer{grid-template-columns:1fr auto}.product-offer>span:last-child{display:none}}
.product-price-from{margin:10px 0;color:#44556b}.product-price-from strong{font-size:22px;color:#0b7a3b}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.history-tabs{display:flex;gap:6px}.history-tabs button{border:1px solid #bcd3ef;background:#fff;border-radius:6px;padding:7px 10px;color:#1170CE;font-weight:700;cursor:pointer}.history-tabs button.active{background:#1170CE;color:#fff}.price-chart{height:240px;margin-top:10px;color:#ff6b35}.price-chart svg{width:100%;height:100%;overflow:visible}.price-chart text{fill:#718197;font-size:12px}.history-note{font-size:12px;color:#718197}.spec-grid{display:grid;grid-template-columns:1fr 1fr;margin:0}.spec-grid div{display:grid;grid-template-columns:1fr 1fr;padding:10px;border-bottom:1px solid #edf2f7}.spec-grid dt{font-weight:750}.spec-grid dd{margin:0}.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pros-cons>div{border:1px solid #e2eaf3;border-radius:12px;padding:16px}.pros-cons h3{margin-top:0}.review{border-top:1px solid #edf2f7;padding:16px 0}.review strong{color:#8a6200}.review small{color:#718197}.review-form{display:grid;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid #edf2f7}.review-form label{display:grid;gap:6px;font-weight:700}.review-form input,.review-form select,.review-form textarea{font:inherit;padding:10px;border:1px solid #ccd9e7;border-radius:8px}.review-form textarea{min-height:120px}@media(max-width:700px){.pros-cons,.spec-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}}

/* V4: lectura editorial de la ficha SEO */
.product-editorial .product-long-description p,
.product-editorial .product-description-sections p{line-height:1.75;margin:0 0 1.05rem}
.product-editorial .product-description-sections h3{margin-top:1.65rem;margin-bottom:.55rem}
.product-editorial strong{font-weight:700}

/* Product page UI refinements */
.product-search-header-inner{width:min(1100px,calc(100% - 32px));margin:0 auto;padding:0;justify-content:flex-start;gap:12px}.product-header-search{flex:1;min-width:0;max-width:1100px;display:flex;align-items:center;gap:8px}.product-header-query-wrap{position:relative;flex:1;min-width:0}.product-header-query-wrap>input{width:100%;height:42px;border:1px solid #d7e1ec;border-radius:11px;background:#fff;padding:0 16px 0 42px;font:inherit;color:#172b45;outline:none;box-shadow:0 2px 8px rgba(18,68,145,.03)}.product-header-query-wrap>input:focus{border-color:#9fc4f4;box-shadow:0 0 0 3px rgba(17,112,206,.08)}.product-header-search-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:22px;color:#718197;pointer-events:none}.product-header-action{height:42px;border:0;border-radius:10px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;white-space:nowrap;text-decoration:none;box-sizing:border-box}.product-header-action svg{flex:0 0 auto}.product-header-scan{background:#f1f5f9;color:#1170CE;font-weight:600}.product-header-scan:hover{background:#e8f0f8}.product-header-submit{background:#1170CE;color:#fff;font-weight:600}.product-header-submit:hover{background:#0d62b7}.product-header-login{background:#fff;color:#1170CE;border:1px solid #cfe0f4;font-weight:600}.product-header-login:hover{background:#f7fbff}.product-header-suggestions{position:absolute;z-index:70;left:0;right:0;top:48px;background:#fff;border:1px solid #dbe5f0;border-radius:12px;padding:6px;box-shadow:0 16px 40px rgba(15,42,75,.14);max-height:360px;overflow:auto}.product-header-suggestions button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:10px 12px;border-radius:8px;color:#172b45}.product-header-suggestions button:hover{background:#f5f8fc}.product-header-suggestions span{display:flex;justify-content:space-between;gap:12px;align-items:center}.product-header-suggestions small{color:#8190a5;font-size:11px}.pros-cons li{padding-left:2px}.review-form select{padding-right:42px;appearance:auto;background-color:#fff}.review-form input,.review-form select,.review-form textarea{border-color:#d9e3ee;background:#fff;transition:border-color .15s,box-shadow .15s}.review-form input:focus,.review-form select:focus,.review-form textarea:focus{outline:none;border-color:#a9c8ee;box-shadow:0 0 0 3px rgba(17,112,206,.07)}.review-form input::placeholder,.review-form textarea::placeholder{color:#9aa8b9}.review-submit{height:44px;border:0;border-radius:10px;background:#eef2f6;color:#26384e;font:inherit;font-weight:750;transition:.15s}.review-submit:hover{background:#e4eaf0;color:#1170CE}.product-footer .site-footer-inner{display:flex;justify-content:center;padding:28px 32px}.product-footer .site-footer-inner small{text-align:center}.product-scanner[hidden]{display:none}.product-scanner{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}.product-scanner-backdrop{position:absolute;inset:0;background:rgba(5,18,34,.62);backdrop-filter:blur(4px)}.product-scanner-card{position:relative;width:min(560px,100%);background:#fff;border-radius:20px;padding:24px;box-shadow:0 28px 90px rgba(0,0,0,.24)}.product-scanner-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px;color:#64748b}.product-scanner-card h2{margin:0 36px 4px 0}.product-scanner-card p{color:#64748b}.product-scanner-video{height:300px;background:#0f172a;border-radius:14px;overflow:hidden;position:relative}.product-scanner-video video{width:100%;height:100%;object-fit:cover}.product-scanner-video>div{position:absolute;left:12%;right:12%;top:34%;height:32%;border:2px solid rgba(255,255,255,.9);border-radius:12px}
@media(max-width:700px){.product-search-header-inner{width:calc(100% - 16px);padding:0;gap:6px}.product-header-search{gap:6px}.product-header-query-wrap>input{padding-left:36px;padding-right:10px}.product-header-search-icon{left:12px}.product-header-action{width:42px;min-width:42px;padding:0;gap:0}.product-header-action-label{display:none}.product-header-suggestions span{display:block}.product-header-suggestions small{display:block;margin-top:2px}}

.price-history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}.price-history-stats span{background:#f7f9fc;border-radius:10px;padding:10px 12px}.price-history-stats small,.price-history-stats strong{display:block}.price-history-stats small{font-size:10px;color:#8190a5;margin-bottom:2px}.price-history-stats strong{font-size:13px;color:#26384e}@media(max-width:700px){.price-history-stats{grid-template-columns:repeat(2,1fr)}}




.product-search-header .header-brand-logo{flex:0 0 auto}
@media(max-width:700px){.product-search-header .header-brand-logo img{height:28px;max-width:78px}}


/* Cabecera unificada en todas las páginas públicas */
.site-header.product-search-header{
  background:#fff;
  border-bottom:1px solid #e2eaf3;
}
.site-header.product-search-header .product-search-header-inner{
  min-height:72px;
}
.site-header.product-search-header .header-brand-logo{
  margin-right:2px;
}
@media(max-width:700px){
  .site-header.product-search-header .product-search-header-inner{
    min-height:62px;
  }
}

/* Select de puntuación: espacio correcto para el indicador nativo */
.review-form select{
    width:100%;
    box-sizing:border-box;
    padding-left:13px !important;
    padding-right:48px !important;
    background-color:#fff;
}

/* ===== Acciones guardar / alerta en ficha ===== */

.product-user-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin-top:18px;
}

.product-user-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:0 16px;
    border:1px solid #b9d6f5;
    border-radius:10px;
    background:#fff;
    color:#0969c8;
    font:inherit;
    font-weight:700;
    cursor:pointer;
    transition:.15s ease;
}

.product-user-action:hover{
    background:#f3f8fe;
    border-color:#1170CE;
}

.product-user-action.saved{
    background:#1170CE;
    border-color:#1170CE;
    color:#fff;
}

.product-user-action:disabled{
    opacity:.55;
    cursor:not-allowed;
}

.product-action-msg{
    flex-basis:100%;
    font-size:14px;
    color:#53657d;
}

.product-alert-box{
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
    max-width:430px;
    margin-top:2px;
}

.product-alert-box[hidden]{
    display:none;
}

.product-alert-box input{
    width:150px;
    min-height:44px;
    padding:0 12px;
    border:1px solid #c9d9ec;
    border-radius:10px;
    background:#fff;
    font:inherit;
}

.product-alert-box button{
    min-height:44px;
    padding:0 15px;
    border:0;
    border-radius:10px;
    background:#1170CE;
    color:#fff;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}

@media(max-width:600px){
    .product-user-actions{
        align-items:stretch;
    }

    .product-user-action{
        flex:1 1 calc(50% - 5px);
    }

    .product-alert-box{
        max-width:none;
    }

    .product-alert-box input{
        flex:1;
        min-width:0;
    }
}

/* ===== Estilo moderno botones Guardar / Alerta ===== */

.product-user-action{
    border:0 !important;
    background:#eef2f6 !important;
    color:#334155 !important;
    font-weight:500 !important;
    font-size:14px !important;
    min-height:42px !important;
    padding:0 15px !important;
    border-radius:9px !important;
    box-shadow:none !important;
}

.product-user-action:hover{
    background:#e3e9ef !important;
    color:#1f2937 !important;
}

.product-user-action.saved{
    background:#e2e8f0 !important;
    color:#1170CE !important;
}

.product-user-action:disabled{
    opacity:.55;
    cursor:not-allowed;
}



/* =========================================================
   REPORTES
   ========================================================= */

.product-offer-wrap{
    margin-bottom:10px;
}

.product-offer-wrap .product-offer{
    margin-bottom:0;
}

.product-offer-report-actions{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    padding:6px 8px 0;
}

.report-link{
    appearance:none;
    border:0;
    background:transparent;
    padding:2px;
    font:inherit;
    font-size:12px;
    color:#64748b;
    cursor:pointer;
}

.report-link:hover{
    color:#1170CE;
    text-decoration:underline;
}

.report-modal[hidden]{
    display:none!important;
}

.report-modal{
    position:fixed;
    inset:0;
    z-index:1000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
}

.report-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.55);
}

.report-modal-card{
    position:relative;
    z-index:1;
    width:min(560px,100%);
    max-height:calc(100vh - 36px);
    overflow:auto;
    box-sizing:border-box;
    padding:26px;
    background:#fff;
    border-radius:16px;
    box-shadow:0 24px 70px rgba(15,23,42,.28);
}

.report-modal-close{
    position:absolute;
    top:12px;
    right:14px;
    width:36px;
    height:36px;
    border:0;
    border-radius:50%;
    background:#f1f5f9;
    font-size:24px;
    cursor:pointer;
}

.report-modal-card form{
    display:grid;
    gap:16px;
    margin-top:18px;
}

.report-modal-card label{
    display:grid;
    gap:7px;
    font-weight:600;
}

.report-modal-card label small{
    color:#64748b;
    font-weight:400;
}

.report-modal-card select,
.report-modal-card textarea{
    width:100%;
    box-sizing:border-box;
    padding:11px 12px;
    border:1px solid #d8e2ec;
    border-radius:9px;
    background:#fff;
    font:inherit;
}

.report-submit{
    min-height:44px;
    border:0;
    border-radius:9px;
    background:#1170CE;
    color:#fff;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}

.report-submit:disabled{
    opacity:.6;
    cursor:default;
}

.report-message{
    min-height:20px;
    font-size:14px;
    font-weight:600;
    color:#b42318;
}

.report-message.ok{
    color:#16733a;
}

@media(max-width:600px){

    .product-offer-report-actions{
        justify-content:flex-start;
        padding-left:4px;
    }

    .report-modal-card{
        padding:22px 18px;
    }
}
