/* DronHubPart visual layer, 2026. Load AFTER /assets/css/main.css. */
:root{--dhp-ink:#142b40;--dhp-blue:#1c5dcf;--dhp-muted:#697f91;--dhp-line:#dce5eb;--dhp-bg:#f5f8fa;--dhp-surface:#fff;--dhp-radius:10px}
html{scroll-behavior:smooth}body{background:var(--dhp-bg);color:var(--dhp-ink);font-family:Inter,Manrope,Arial,sans-serif}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #f39450;outline-offset:3px}
.container{max-width:1320px}.site-header{background:#fff;border-bottom:1px solid #e2e8ee;box-shadow:0 5px 24px #0c283609;position:relative;z-index:15}
.header-inner{min-height:76px}.header-logo{display:flex;align-items:center;gap:9px}.header-logo::before{content:'D';display:grid;place-items:center;background:var(--dhp-blue);color:#fff;font-size:23px;font-weight:800;line-height:1;width:38px;height:38px;border-radius:9px;flex:none}
.header-logo img{max-width:128px;height:auto}.header-nav a{font-size:13px;font-weight:700}.header-nav a.active{color:var(--dhp-blue)}
.header-cta,.btn-primary{background:var(--dhp-blue);border-color:var(--dhp-blue);color:#fff;border-radius:7px;font-weight:700}.header-cta:hover,.btn-primary:hover{background:#134bb0;border-color:#134bb0}
.site-footer{background:#102b42;color:#dceaf1}.site-footer a{color:inherit}.site-footer a:hover{color:#fff}
.section,.section--sm{background:transparent}.section--gray{background:#eaf0f5}.section-title h2{letter-spacing:-.04em;color:var(--dhp-ink)}
.breadcrumbs{color:#718596;border-bottom:1px solid #e7ecf0;background:#fff}.breadcrumbs a{color:#66809a}
/* Home: image-first hero, the actual server-rendered content remains intact. */
.hero{min-height:540px;background-image:linear-gradient(90deg,rgba(229,239,249,.96) 0%,rgba(229,239,249,.84) 35%,rgba(229,239,249,.06) 70%),url('../img/hero-engineering.webp');background-size:cover;background-position:center center;color:var(--dhp-ink);display:flex;align-items:center}
.hero .container{position:relative;z-index:1}.hero h1{max-width:720px;font-size:clamp(40px,4.8vw,66px);line-height:1.07;letter-spacing:-.055em;color:#102840}
.hero__eyebrow{color:var(--dhp-blue)!important;letter-spacing:.16em;font-weight:800}.hero__sub{max-width:605px;color:#47657b!important;font-size:16px;line-height:1.65}
.hero__actions .btn-outline-white{color:var(--dhp-ink);border-color:#8da7ba;background:#ffffffb5}.hero__actions .btn-outline-white:hover{background:#fff}
/* New featured category cards are added before the original full category list. */
.dhp-featured-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:24px 0 25px}
.dhp-featured-card{border:1px solid var(--dhp-line);background:#fff;border-radius:var(--dhp-radius);overflow:hidden;color:var(--dhp-ink);display:block;text-decoration:none;transition:transform .18s,box-shadow .18s}
.dhp-featured-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px #15324b18}.dhp-featured-card__img{display:grid;place-items:center;height:150px;background:#eaf1f6}.dhp-featured-card__img img{max-width:91%;max-height:91%;object-fit:contain;mix-blend-mode:multiply}
.dhp-featured-card__text{padding:15px 17px;min-height:82px}.dhp-featured-card__text strong{display:block;font-size:14px;line-height:1.35}.dhp-featured-card__text small{font-size:11px;color:var(--dhp-muted)}
.dhp-all-cats{background:#fff;border:1px solid var(--dhp-line);border-radius:8px;padding:0 17px;margin-top:15px}.dhp-all-cats summary{padding:15px 0;font-weight:700;font-size:13px;color:var(--dhp-blue);cursor:pointer}.dhp-all-cats[open] summary{border-bottom:1px solid var(--dhp-line);margin-bottom:16px}
.dhp-all-cats .cat-grid{padding-bottom:15px}.cat-card{border-radius:6px}
/* Catalog and category templates. Existing search, pagination and product links remain in place. */
.dhp-catalog-hero{background-image:linear-gradient(90deg,rgba(227,238,249,.95) 0%,rgba(227,238,249,.85) 38%,rgba(227,238,249,.08) 77%),url('../img/hero-engineering.webp');background-position:center;background-size:cover;border-radius:12px;min-height:245px;display:flex;align-items:center;padding:32px 42px;margin:0 0 22px;overflow:hidden}
.dhp-catalog-hero h1{font-size:clamp(32px,3.5vw,49px);line-height:1.08;letter-spacing:-.05em;max-width:650px;color:#12314a;margin:0 0 13px!important}
.dhp-catalog-hero .text-muted{color:#46667c!important;font-size:13px}.catalog-search-wrap{background:#fff;border:1px solid #cddbe6;border-radius:8px;box-shadow:0 10px 28px #173c5412;margin-bottom:26px}.catalog-search{border:0!important;min-height:54px;background:transparent}.catalog-search:focus{box-shadow:none!important}
.catalog-layout{gap:24px}.catalog-sidebar{background:#fff;border:1px solid var(--dhp-line);border-radius:9px;align-self:start;padding:16px}.sidebar-block{border-radius:5px}.sidebar-filter-list{max-height:510px;overflow:auto;scrollbar-color:#b4c8d7 transparent;scrollbar-width:thin}.sidebar-filter-list a{border-radius:5px;font-size:12px}.sidebar-filter-list a.active{background:#e9f2ff;color:#185bc9;font-weight:700}
.product-grid{gap:15px}.product-card{border:1px solid var(--dhp-line);border-radius:9px;overflow:hidden;background:#fff;box-shadow:none;transition:transform .18s,box-shadow .18s}.product-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px #1a334e1a}
.product-card__img{background:#eef3f6;display:grid;place-items:center}.product-card__img img{object-fit:contain;mix-blend-mode:multiply}.product-card__name{font-weight:700;color:#1b3042}.product-card__art{font-size:10px;color:#7890a1}.product-card__desc{color:#6e8191}.product-card__price strong{color:#132d42}.product-card__footer .btn{background:var(--dhp-blue);color:#fff;border-radius:5px}
.pagination{display:flex;flex-wrap:wrap;gap:5px}.pagination a{border-radius:5px}.product-table-wrap{margin-top:35px;max-height:430px;overflow:auto;border:1px solid var(--dhp-line);border-radius:8px;background:#fff}
.dhp-category-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin:0 0 29px}.dhp-category-strip .dhp-featured-card__img{height:105px}.dhp-category-strip .dhp-featured-card__text{padding:10px;min-height:58px}.dhp-category-strip .dhp-featured-card__text strong{font-size:11px}.dhp-category-strip .dhp-featured-card__text small{display:none}
/* Product template. */
.product-detail-layout{gap:38px}.product-detail-gallery{background:#eef3f6;border-radius:12px;border:1px solid var(--dhp-line)}.product-detail-img{object-fit:contain}.product-detail-name{font-size:clamp(31px,3vw,45px);line-height:1.15;letter-spacing:-.045em;color:#142e45}.product-detail-art{font-size:12px;color:#72889a}.product-detail-price .price-value{color:#174ca9}.product-detail-quick-specs,.specs-table,.request-card{background:#fff;border:1px solid var(--dhp-line);border-radius:10px}.request-section{background:#e8f0f6}.request-form .btn-primary{min-height:44px}
/* News, company, contacts retain their content and working forms. */
.news-card{border:1px solid var(--dhp-line);border-radius:9px;overflow:hidden;background:#fff}.news-card:hover{box-shadow:0 12px 27px #132f4118}.news-card__title{font-weight:700;color:#1a354a}
.contacts-grid{gap:25px}.contacts-info,.contact-block{border-radius:9px}.contact-block__value{color:#1a354a}
.cookie-banner{z-index:20}
@media(max-width:1020px){.dhp-featured-cats{grid-template-columns:repeat(2,minmax(0,1fr))}.dhp-category-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.hero{min-height:560px;background-position:61% center;background-image:linear-gradient(90deg,rgba(231,241,249,.96),rgba(231,241,249,.72) 65%,rgba(231,241,249,.18)),url('../img/hero-engineering.webp')}.hero h1{font-size:40px}.hero__sub{font-size:14px}.dhp-featured-cats{gap:8px}.dhp-featured-card__img{height:116px}.dhp-featured-card__text{padding:10px;min-height:72px}.dhp-featured-card__text strong{font-size:12px}.dhp-featured-card__text small{font-size:10px}.dhp-catalog-hero{min-height:220px;padding:22px;background-position:60% center}.dhp-catalog-hero h1{font-size:31px}.dhp-category-strip{display:flex;overflow-x:auto;gap:8px}.dhp-category-strip .dhp-featured-card{flex:0 0 145px}.catalog-sidebar{position:static}.product-grid{gap:8px}.product-detail-layout{gap:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-card,.dhp-featured-card{transition:none}}

/* 05.10.2026: production compatibility. Keep the requested drone video,
   original poster, shade and lower fade; never replace catalog/form logic. */
:root{--header-h:76px;--c-muted:#596d7e;--dhp-muted:#51697d}
.site-header{height:auto}
.product-card__art,.product-detail-art,.breadcrumbs,.breadcrumbs a{color:#51697d}
.product-card__desc{color:#526576}
.footer-bottom,.footer-bottom a{color:#b4c7d5}
.dhp-featured-card__text{display:block}
.dhp-featured-card__img{overflow:hidden}
.dhp-featured-card__img img{width:91%;height:91%}
.hero{background:var(--c-dark) url('/assets/hero/hero_poster.jpg') center 30%/cover;color:#fff;border-bottom-color:var(--dhp-blue)}
.hero h1{color:#fff}
.hero__eyebrow{color:#b8d7ff!important}
.hero__sub{color:#e2e9f0!important}
.hero__actions .btn-outline-white{color:#fff;border-color:#b6c6d5;background:#142b4066}
.hero__actions .btn-outline-white:hover{background:#142b40}
@media(max-width:680px){.hero{min-height:560px;background-image:url('/assets/hero/hero_poster.jpg')}}
.request-form .form-checkbox label{display:block;line-height:1.6}
.request-form .form-checkbox input{display:inline-block;vertical-align:middle;margin:0 7px 0 0}

/* News pagination has text labels, unlike numeric catalog pages. */
.pagination .pagination__info,.pagination a.btn{width:auto;height:auto;min-height:36px;white-space:nowrap;padding:8px 14px}
.pagination .pagination__info{border:0;color:var(--dhp-muted)}
