
/* IRANSAR 12.16.16 — public processed-product catalog pages */
.product-detail-page{background:var(--bg,#f5f9fc);color:var(--text,#17344e)}
.product-detail-page main{min-height:70vh}.product-hero{padding:54px 0 30px;background:linear-gradient(135deg,rgba(11,53,87,.08),rgba(15,143,138,.10))}.product-hero h1{font-size:clamp(1.9rem,4vw,3.15rem);margin:.45rem 0;color:var(--blue,#0b3557)}.product-hero p{max-width:900px;line-height:2;color:var(--muted,#607689)}.product-hero .facts{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.product-hero .facts span{background:#fff;border:1px solid var(--line,#d6e3eb);border-radius:999px;padding:8px 13px;font-weight:800}.product-back{display:inline-flex;margin-bottom:12px;font-weight:800;color:var(--teal,#0f8f8a);text-decoration:none}
.product-map-section,.product-files-section,.dem3d-section{padding:34px 0}.product-map-shell{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:18px}.product-map-card,.product-side-card,.product-file-card,.dem3d-card{background:var(--surface,#fff);border:1px solid var(--line,#d6e3eb);border-radius:24px;box-shadow:0 14px 36px rgba(11,53,87,.08)}.product-map-card{overflow:hidden}.product-map{height:560px;min-height:420px;background:#dce8ee}.product-map-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 14px;border-top:1px solid var(--line,#d6e3eb)}.product-map-tools label{font-weight:800}.product-map-tools input[type=range]{flex:1;min-width:160px}.product-map-tools select{border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:var(--surface,#fff);color:var(--text)}.product-side-card{padding:17px}.product-side-card h3{margin-top:0}.product-layer-list{display:grid;gap:8px;max-height:430px;overflow:auto}.product-layer-btn{width:100%;text-align:inherit;border:1px solid var(--line);background:color-mix(in srgb,var(--surface,#fff) 94%,var(--teal,#0f8f8a) 6%);color:var(--text);border-radius:14px;padding:11px 12px;cursor:pointer}.product-layer-btn b{display:block;margin-bottom:3px}.product-layer-btn small{display:block;color:var(--muted);line-height:1.55}.product-layer-btn.active{border-color:var(--teal,#0f8f8a);box-shadow:0 0 0 2px rgba(15,143,138,.13);background:rgba(15,143,138,.10)}.product-area-note{margin-top:12px;padding:10px;border-radius:14px;background:rgba(213,165,49,.10);line-height:1.8;text-align:center}
.product-files-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-file-card{overflow:hidden;display:grid;grid-template-columns:220px 1fr;min-height:200px}.product-file-card img{width:100%;height:100%;min-height:200px;object-fit:cover;background:#e8eef2}.product-file-copy{padding:18px;display:flex;flex-direction:column}.product-file-copy h3{margin:0 0 8px;color:var(--blue)}.product-file-copy p{line-height:1.85;color:var(--muted);margin:0 0 14px}.product-file-actions{margin-top:auto;display:flex;gap:10px;flex-wrap:wrap}.product-file-actions .btn{min-width:190px;text-align:center;justify-content:center}
.product-catalog-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:14px}.service-card .product-catalog-actions>a{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;margin:0!important}.processed-product-link{background:linear-gradient(135deg,#0b3557,#0f8f8a)!important;color:#fff!important;border-color:transparent!important}
.dem3d-card{padding:16px}.dem3d-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.dem3d-toolbar label{font-weight:800}.dem3d-toolbar input{width:180px}.dem3d-wrap{position:relative;border-radius:18px;overflow:hidden;background:linear-gradient(#dbeaf1,#f8fbfc);border:1px solid var(--line)}#dem3dCanvas{display:block;width:100%;height:520px;touch-action:none;cursor:grab}#dem3dCanvas:active{cursor:grabbing}.dem3d-hint{text-align:center;color:var(--muted);line-height:1.8;margin:10px 0 0}
.product-detail-page footer{margin-top:38px}
html[data-theme="dark"] .product-detail-page,body[data-theme="dark"].product-detail-page{--surface:#0e293a;--text:#eef6fb;--muted:#b8cbd7;--line:#29495c;--bg:#071d2a}.dark .product-hero h1,html[data-theme="dark"] .product-hero h1{color:#f6fbff}html[data-theme="dark"] .product-hero .facts span{background:#102e40}
@media(max-width:900px){.product-map-shell{grid-template-columns:1fr}.product-map{height:450px}.product-files-grid{grid-template-columns:1fr}.product-file-card{grid-template-columns:180px 1fr}}
@media(max-width:620px){.product-map{height:390px}.product-file-card{grid-template-columns:1fr}.product-file-card img{height:230px}.product-catalog-actions{grid-template-columns:1fr}.product-file-actions .btn{width:100%}#dem3dCanvas{height:400px}}

.processed-products-hub-link{margin-inline-start:auto;white-space:nowrap}.product-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-hub-card{background:var(--surface,#fff);border:1px solid rgba(13,85,110,.16);border-radius:22px;padding:24px;box-shadow:0 14px 36px rgba(10,48,73,.08);display:flex;flex-direction:column;gap:18px;align-items:stretch}.product-hub-card h2{margin:0;font-size:1.2rem}.product-hub-card .btn{width:100%;text-align:center;justify-content:center}@media(max-width:800px){.product-hub-grid{grid-template-columns:1fr}.processed-products-hub-link{margin-inline-start:0;width:100%;text-align:center}}

/* 12.16.17 theme parity + preview-only catalog + enhanced DEM controls */
.product-file-copy{justify-content:center}.product-file-actions{display:none!important}
.dem3d-toolbar{align-items:flex-end}.dem3d-toolbar label{display:grid;gap:6px;min-width:180px}.dem3d-toolbar label input[type=range]{width:100%}.dem3d-toolbar select{min-height:42px;border:1px solid var(--line);border-radius:12px;background:var(--bg2);color:var(--text);padding:8px 10px}.dem-control-value{display:inline-flex;justify-content:center;align-items:center;min-width:58px;padding:5px 9px;border-radius:999px;background:var(--card);color:var(--text);font-variant-numeric:tabular-nums}.dem3d-wrap{background:linear-gradient(180deg,color-mix(in srgb,var(--bg2) 86%,#cfe9f2 14%),var(--bg2))}html[data-theme="dark"] .dem3d-wrap{background:linear-gradient(180deg,#0c2637,#071d2a)}
@media(max-width:760px){.dem3d-toolbar>*{width:100%}.dem3d-toolbar label{min-width:0}.dem3d-toolbar select{width:100%}}


/* IRANSAR 12.16.18 — exact home shell parity on processed-product pages */
.product-detail-page header,.product-hub-page header{background:linear-gradient(100deg,var(--office-navy),var(--office-navy-2))!important;border-bottom:3px solid var(--office-gold)!important;box-shadow:0 10px 28px rgba(9,42,67,.18)!important;backdrop-filter:none!important}
.product-detail-page footer,.product-hub-page footer{background:linear-gradient(180deg,#0a2e4b,#082841)!important;border-top:3px solid var(--office-gold)!important;color:#fff!important}
.product-detail-page footer .brand,.product-hub-page footer .brand{color:#fff!important}
.product-detail-page footer .small,.product-hub-page footer .small,.product-detail-page footer .footergrid a,.product-hub-page footer .footergrid a,.product-detail-page footer .footer-rights,.product-hub-page footer .footer-rights{color:#bfd1dc!important}
.product-detail-page footer .footergrid b,.product-hub-page footer .footergrid b{color:#fff!important}
.product-detail-page footer .footergrid a:hover,.product-hub-page footer .footergrid a:hover{color:#fff!important}
.product-detail-page .navbar>.nav,.product-hub-page .navbar>.nav{flex-wrap:nowrap}
@media(max-width:1080px){
 .product-detail-page .navbar>.nav,.product-hub-page .navbar>.nav{flex-wrap:nowrap}
}

/* IRANSAR 12.16.23 — multiple processed examples inside one product family */
.product-sample-switcher{margin-top:20px;padding:15px 16px;border:1px solid rgba(10,120,130,.22);border-radius:18px;background:rgba(255,255,255,.56)}
.product-sample-switcher>strong{display:block;margin-bottom:10px}.product-sample-links{display:flex;gap:10px;flex-wrap:wrap}.product-sample-links .btn{min-width:220px;text-align:center;justify-content:center}.product-quality-note{margin-top:14px;padding:12px 14px;border-radius:14px;background:rgba(10,120,130,.08);line-height:1.9}.product-hub-note{margin:.35rem 0 .8rem;opacity:.72;font-size:.92rem}
@media(max-width:720px){.product-sample-links{flex-direction:column}.product-sample-links .btn{width:100%;min-width:0}}

/* 12.16.29 D06 technical note */
.product-technical-note{margin:18px 0 0;padding:14px 16px;border:1px solid rgba(13,148,136,.28);border-radius:14px;background:rgba(13,148,136,.06);line-height:2;color:var(--text,#17324a);font-size:.94rem}.product-technical-note:dir(rtl){text-align:right}.product-technical-note:dir(ltr){text-align:left}


/* 12.16.32 — processed 3D terrain + elevation report */
.elevation-report-section{padding:34px 0 8px}
.elevation-report-card{background:var(--surface,#fff);border:1px solid rgba(21,66,92,.16);border-radius:18px;padding:22px;box-shadow:0 14px 38px rgba(7,35,50,.06)}
.elevation-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.elevation-stat{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:14px;background:rgba(20,73,99,.055);border:1px solid rgba(20,73,99,.10)}
.elevation-stat span{font-size:.82rem;opacity:.74}
.elevation-stat b{font-size:1.03rem}
.product-level-note{margin-top:12px;padding:12px 14px;border-inline-start:3px solid #d5a531;background:rgba(213,165,49,.08);border-radius:10px;line-height:1.8}
.decision-product-sample-link{display:inline-flex;margin-top:10px;font-weight:700;text-decoration:none}
@media(max-width:900px){.elevation-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.elevation-report-grid{grid-template-columns:1fr}}
