/*
Theme Name: FHAP Industrial Engineering
Theme URI: https://fhap.ir
Author: FHAP Engineering Group
Author URI: https://fhap.ir
Description: قالب اختصاصی وردپرس برای گروه فنی مهندسی FHAP (فناوری هوشمند اتوماسیون پیشرفته). طراحی صنعتی، مدرن و کاملاً مدیریت‌پذیر از پیشخوان وردپرس شامل مدیریت خدمات، محصولات، پروژه‌ها، برندها و وبلاگ.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
Text Domain: fhap
Tags: industrial, dark, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, rtl-language-support, blog, one-column, two-columns
*/

/* =========================================================
   0. RESET & BASE
========================================================= */
:root{
	--fhap-navy: #0b1220;
	--fhap-navy-2: #0e1a2e;
	--fhap-black: #060a12;
	--fhap-accent: #ff7a1a;
	--fhap-accent-2: #ffa143;
	--fhap-white: #ffffff;
	--fhap-text-muted: #a9b4c4;
	--fhap-border: rgba(255,255,255,.08);
	--fhap-card: #101b30;
	--fhap-radius: 14px;
	--fhap-font: 'B Nazanin','Vazirmatn','Tahoma',sans-serif;
	--fhap-container: 1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; max-width:100%; }
body{
	margin:0;
	background:var(--fhap-navy);
	color:var(--fhap-white);
	font-family:var(--fhap-font);
	font-size:16px;
	line-height:1.9;
	direction:rtl;
	-webkit-font-smoothing:antialiased;
	overflow-x:hidden;
	max-width:100%;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5,h6{ margin:0 0 .5em; font-weight:800; line-height:1.4; }
p{ margin:0 0 1em; color:var(--fhap-text-muted); }
input,textarea,select,button{ font-family:inherit; }
.screen-reader-text{ position:absolute!important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }

.container{ max-width:var(--fhap-container); margin:0 auto; padding:0 20px; }
.section{ padding:80px 0; position:relative; }
.section--tight{ padding:56px 0; }
.section--alt{ background:var(--fhap-navy-2); }
.section-head{ text-align:center; max-width:720px; margin:0 auto 48px; }
.section-eyebrow{ display:inline-flex; align-items:center; gap:8px; color:var(--fhap-accent); font-weight:700; font-size:14px; letter-spacing:.5px; margin-bottom:10px; }
.section-eyebrow::before,.section-eyebrow::after{ content:''; width:24px; height:2px; background:var(--fhap-accent); }
.section-title{ font-size:clamp(24px,3.4vw,38px); margin-bottom:14px; }
.section-desc{ color:var(--fhap-text-muted); font-size:16px; }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 30px; border-radius:10px; font-weight:800; font-size:15px; border:2px solid transparent; cursor:pointer; transition:.25s; white-space:nowrap; }
.btn-primary{ background:linear-gradient(135deg,var(--fhap-accent),var(--fhap-accent-2)); color:#1a0f00; box-shadow:0 10px 24px rgba(255,122,26,.25); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(255,122,26,.35); }
.btn-outline{ border-color:rgba(255,255,255,.25); color:var(--fhap-white); background:transparent; }
.btn-outline:hover{ border-color:var(--fhap-accent); color:var(--fhap-accent); }
.btn-sm{ padding:9px 18px; font-size:13px; border-radius:8px; }
.btn-block{ width:100%; }

/* =========================================================
   1. HEADER
========================================================= */
.site-topbar{ background:var(--fhap-black); border-bottom:1px solid var(--fhap-border); font-size:13px; }
.site-topbar .container{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; padding-top:8px; padding-bottom:8px; color:var(--fhap-text-muted); }
.topbar-info{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar-info a{ display:inline-flex; align-items:center; gap:6px; }
.topbar-info a:hover{ color:var(--fhap-accent); }
.topbar-social a{ display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; border:1px solid var(--fhap-border); border-radius:50%; margin-inline-start:6px; }
.topbar-social a:hover{ background:var(--fhap-accent); border-color:var(--fhap-accent); color:#1a0f00; }

.site-header{ position:sticky; top:0; z-index:999; background:rgba(11,18,32,.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--fhap-border); }
.header-row{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:14px 0; }
.site-branding{ display:flex; align-items:center; gap:10px; }
.site-branding img{ height:52px; width:auto; }
.site-branding .site-title{ font-size:20px; margin:0; }
.site-branding .site-title a{ color:var(--fhap-white); }
.site-branding .site-tagline{ font-size:11px; color:var(--fhap-text-muted); margin:0; }

.primary-menu{ display:flex; align-items:center; gap:6px; }
.primary-menu li{ position:relative; }
.primary-menu>li>a{ display:block; padding:10px 14px; font-weight:700; font-size:15px; border-radius:8px; }
.primary-menu>li>a:hover, .primary-menu>li.current-menu-item>a{ color:var(--fhap-accent); background:rgba(255,122,26,.08); }
.primary-menu ul.sub-menu{ position:absolute; inset-inline-start:0; top:100%; background:var(--fhap-card); min-width:220px; border:1px solid var(--fhap-border); border-radius:10px; padding:8px; opacity:0; visibility:hidden; transform:translateY(6px); transition:.2s; box-shadow:0 20px 40px rgba(0,0,0,.4); z-index:20;}
.primary-menu li:hover>ul.sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.primary-menu ul.sub-menu a{ padding:9px 12px; display:block; border-radius:6px; font-size:14px; }
.primary-menu ul.sub-menu a:hover{ background:rgba(255,122,26,.1); color:var(--fhap-accent); }

.header-actions{ display:flex; align-items:center; gap:14px; }
.header-cart{ position:relative; display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:10px; border:1px solid var(--fhap-border); color:var(--fhap-white); flex-shrink:0; }
.header-cart:hover{ border-color:var(--fhap-accent); color:var(--fhap-accent); }
.cart-badge{ position:absolute; top:-6px; inset-inline-end:-6px; min-width:19px; height:19px; padding:0 4px; border-radius:999px; background:var(--fhap-accent); color:#1a0f00; font-size:11px; font-weight:800; align-items:center; justify-content:center; display:flex; }
.header-phone{ display:flex; align-items:center; gap:8px; font-weight:800; font-size:15px; }
.header-phone svg{ color:var(--fhap-accent); flex-shrink:0; }
.header-phone span{ display:flex; flex-direction:column; font-weight:400; font-size:11px; color:var(--fhap-text-muted); }
.header-phone strong{ font-size:16px; }

.menu-toggle{ display:none; background:none; border:1px solid var(--fhap-border); color:var(--fhap-white); width:44px; height:44px; border-radius:8px; align-items:center; justify-content:center; cursor:pointer; }

/* =========================================================
   2. HERO
========================================================= */
.hero{ position:relative; overflow:hidden; padding:70px 0 90px; background:radial-gradient(1200px 500px at 80% -10%, rgba(255,122,26,.14), transparent), linear-gradient(180deg,var(--fhap-navy),var(--fhap-black)); }
.hero::after{ content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size:34px 34px; opacity:.5; pointer-events:none; }
.hero-grid{ position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:50px; align-items:center; }
.hero-badge{ display:inline-flex; align-items:center; gap:8px; background:rgba(255,122,26,.1); border:1px solid rgba(255,122,26,.35); color:var(--fhap-accent-2); padding:8px 16px; border-radius:30px; font-size:13px; font-weight:700; margin-bottom:20px; }
.hero h1{ font-size:clamp(30px,4.4vw,50px); margin-bottom:16px; }
.hero h1 .accent{ color:var(--fhap-accent); }
.hero-lead{ font-size:18px; color:var(--fhap-text-muted); margin-bottom:14px; }
.hero-desc{ font-size:15px; color:var(--fhap-text-muted); max-width:560px; margin-bottom:30px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
.hero-stats{ display:flex; gap:0; border-top:1px solid var(--fhap-border); padding-top:24px; }
.hero-stats .stat{ flex:1; padding-inline-end:18px; }
.hero-stats .stat b{ display:block; font-size:26px; color:var(--fhap-accent); }
.hero-stats .stat span{ font-size:13px; color:var(--fhap-text-muted); }
.hero-media{ position:relative; }
.hero-media .frame{ position:relative; border-radius:20px; overflow:hidden; border:1px solid var(--fhap-border); box-shadow:0 30px 60px rgba(0,0,0,.45); }
.hero-media .frame img{ width:100%; height:520px; object-fit:cover; }
.hero-media .floating-logo{ position:absolute; bottom:-24px; inset-inline-start:-24px; background:var(--fhap-card); border:1px solid var(--fhap-border); border-radius:16px; padding:12px; box-shadow:0 20px 40px rgba(0,0,0,.5); }
.hero-media .floating-logo img{ height:64px; width:auto; }

/* =========================================================
   3. FEATURE / ADVANTAGE CARDS
========================================================= */
.features-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.feature-card{ background:var(--fhap-card); border:1px solid var(--fhap-border); border-radius:var(--fhap-radius); padding:30px 26px; transition:.25s; }
.feature-card:hover{ transform:translateY(-6px); border-color:rgba(255,122,26,.4); box-shadow:0 20px 40px rgba(0,0,0,.35); }
.feature-icon{ width:56px; height:56px; border-radius:14px; background:rgba(255,122,26,.12); color:var(--fhap-accent); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.feature-card h3{ font-size:18px; margin-bottom:8px; }
.feature-card p{ font-size:14px; margin:0; }

/* =========================================================
   4. SERVICE / PRODUCT / PROJECT CARDS
========================================================= */
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }

/* Horizontally scrollable single-row layout - used on the homepage Services
   and Products previews so a long list doesn't eat vertical space. */
.scroll-row-wrap{ position:relative; }
.scroll-row-wrap::after{ content:''; position:absolute; top:0; bottom:14px; inset-inline-end:0; width:56px; background:linear-gradient(to left, var(--fhap-navy), transparent); pointer-events:none; }
html[dir="rtl"] .scroll-row-wrap::after{ background:linear-gradient(to right, var(--fhap-navy), transparent); }
.section--alt .scroll-row-wrap::after{ background:linear-gradient(to left, var(--fhap-navy-2), transparent); }
html[dir="rtl"] .section--alt .scroll-row-wrap::after{ background:linear-gradient(to right, var(--fhap-navy-2), transparent); }
.scroll-row{ display:flex; gap:20px; overflow-x:auto; overscroll-behavior-x:contain; padding-bottom:14px; -webkit-overflow-scrolling:touch; scroll-behavior:smooth; }
.scroll-row .card{ flex:0 0 280px; }
.scroll-row::-webkit-scrollbar{ height:8px; }
.scroll-row::-webkit-scrollbar-thumb{ background:var(--fhap-accent); border-radius:8px; }
.scroll-row::-webkit-scrollbar-track{ background:var(--fhap-card); border-radius:8px; }
.scroll-hint{ display:flex; align-items:center; gap:8px; justify-content:center; font-size:12px; color:var(--fhap-text-muted); margin-top:10px; }
.scroll-hint svg{ animation:fhap-hint-nudge 1.6s ease-in-out infinite; }
@keyframes fhap-hint-nudge{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(-5px); } }
html[dir="rtl"] .scroll-hint svg{ animation-name:fhap-hint-nudge-rtl; }
@keyframes fhap-hint-nudge-rtl{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(5px); } }

.card{ background:var(--fhap-card); border:1px solid var(--fhap-border); border-radius:var(--fhap-radius); overflow:hidden; display:flex; flex-direction:column; transition:.25s; height:100%; }
.card:hover{ transform:translateY(-6px); border-color:rgba(255,122,26,.35); box-shadow:0 22px 44px rgba(0,0,0,.4); }
.card-media{ position:relative; height:200px; overflow:hidden; }
.card-media img{ width:100%; height:100%; object-fit:cover; transition:.4s; }
.card:hover .card-media img{ transform:scale(1.08); }
.card-icon-badge{ position:absolute; top:14px; inset-inline-start:14px; width:46px; height:46px; border-radius:12px; background:rgba(6,10,18,.75); backdrop-filter:blur(6px); color:var(--fhap-accent); display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,122,26,.3); }
.card-body{ padding:22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.card-body h3{ font-size:17px; margin:0; }
.card-body h3 a{ color:var(--fhap-white); }
.card-body h3 a:hover{ color:var(--fhap-accent); }
.card-body p{ font-size:13.5px; margin:0; flex:1; }
.card-more{ font-size:13px; font-weight:700; color:var(--fhap-accent); display:inline-flex; align-items:center; gap:6px; margin-top:6px; }
.card-cat{ font-size:11px; color:var(--fhap-accent); font-weight:700; }
.card-price{ font-weight:800; color:var(--fhap-accent-2); }

.section-foot{ text-align:center; margin-top:40px; }

/* =========================================================
   5. CUSTOM DEVICE / SPLIT SECTION
========================================================= */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.split img{ border-radius:var(--fhap-radius); border:1px solid var(--fhap-border); width:100%; height:420px; object-fit:cover; }
.split-steps{ display:flex; flex-wrap:wrap; gap:10px; margin:22px 0; }
.split-steps span{ background:rgba(255,122,26,.1); border:1px solid rgba(255,122,26,.3); color:var(--fhap-accent-2); padding:8px 14px; border-radius:20px; font-size:12.5px; font-weight:700; }

/* =========================================================
   6. BRANDS
========================================================= */
.brands-section{ position:relative; }
.brands-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
.brand-card{ background:#fff; border-radius:16px; padding:22px 18px; display:flex; align-items:center; justify-content:center; height:110px; text-decoration:none; box-shadow:0 10px 26px rgba(0,0,0,.14); transition:.25s; border:1px solid transparent; }
.brand-card:hover{ transform:translateY(-5px); box-shadow:0 18px 36px rgba(0,0,0,.3); border-color:rgba(255,122,26,.4); }
.brand-card-logo{ max-height:56px; max-width:100%; width:auto; height:auto; object-fit:contain; filter:grayscale(15%); transition:.25s; }
.brand-card:hover .brand-card-logo{ filter:grayscale(0); }
.brand-card-fallback{ font-family:Arial,Tahoma,sans-serif; font-weight:800; font-size:17px; letter-spacing:.5px; color:#0b1220; text-transform:uppercase; text-align:center; position:relative; padding-bottom:8px; }
.brand-card-fallback::after{ content:''; position:absolute; bottom:0; inset-inline-start:50%; transform:translateX(-50%); width:28px; height:3px; background:var(--fhap-accent); border-radius:2px; }

/* =========================================================
   7. CTA BANNER
========================================================= */
.cta-banner{ background:linear-gradient(120deg,#0e1a2e,#1a0f06); border:1px solid rgba(255,122,26,.3); border-radius:20px; padding:50px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.cta-banner h2{ font-size:26px; margin-bottom:8px; }
.cta-banner p{ margin:0; }
.cta-banner-actions{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.cta-phone{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:18px; color:var(--fhap-accent-2); }

/* =========================================================
   8. BLOG
========================================================= */
.post-meta{ display:flex; gap:14px; font-size:12px; color:var(--fhap-text-muted); flex-wrap:wrap; }
.post-meta span{ display:inline-flex; align-items:center; gap:5px; }

/* =========================================================
   9. CONTACT
========================================================= */
.contact-wrap{ display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; }
.contact-info-card{ background:var(--fhap-card); border:1px solid var(--fhap-border); border-radius:var(--fhap-radius); padding:32px; }
.contact-info-item{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--fhap-border); }
.contact-info-item:last-child{ border-bottom:none; }
.contact-info-item .ic{ width:44px; height:44px; border-radius:10px; background:rgba(255,122,26,.12); color:var(--fhap-accent); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-item b{ display:block; margin-bottom:2px; }
.contact-form-card{ background:var(--fhap-card); border:1px solid var(--fhap-border); border-radius:var(--fhap-radius); padding:32px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group{ margin-bottom:16px; }
.form-group label{ display:block; font-size:13px; margin-bottom:6px; color:var(--fhap-text-muted); }
.form-group input, .form-group textarea, .form-group select{ width:100%; background:var(--fhap-navy); border:1px solid var(--fhap-border); border-radius:10px; padding:13px 14px; color:var(--fhap-white); font-size:14px; }
.form-group input:focus, .form-group textarea:focus{ outline:none; border-color:var(--fhap-accent); }
.form-notice{ padding:14px 16px; border-radius:10px; margin-bottom:18px; font-size:14px; }
.form-notice.success{ background:rgba(34,197,94,.12); border:1px solid rgba(34,197,94,.4); color:#7ee2a8; }
.form-notice.error{ background:rgba(239,68,68,.12); border:1px solid rgba(239,68,68,.4); color:#ffb0b0; }
.contact-map{ margin-top:20px; border-radius:var(--fhap-radius); overflow:hidden; border:1px solid var(--fhap-border); }
.contact-map iframe{ width:100%; height:320px; border:0; display:block; filter:grayscale(.3) invert(.92) contrast(.9); }
.map-load-btn{ width:100%; height:320px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; background:var(--fhap-navy-2); border:none; cursor:pointer; color:var(--fhap-white); }
.map-load-btn:hover{ background:#152238; }
.map-load-btn span{ font-weight:800; font-size:15px; color:var(--fhap-accent); }
.map-load-btn small{ color:var(--fhap-text-muted); font-size:12.5px; max-width:80%; text-align:center; }

/* =========================================================
   10. FOOTER
========================================================= */
.site-footer{ background:var(--fhap-black); border-top:1px solid var(--fhap-border); padding-top:60px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; }
.footer-brand img{ height:50px; margin-bottom:16px; }
.footer-brand p{ font-size:13.5px; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; border:1px solid var(--fhap-border); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background:var(--fhap-accent); border-color:var(--fhap-accent); color:#1a0f00; }
.footer-col h4{ font-size:15px; margin-bottom:18px; color:var(--fhap-white); position:relative; padding-bottom:10px; }
.footer-col h4::after{ content:''; position:absolute; bottom:0; inset-inline-start:0; width:34px; height:2px; background:var(--fhap-accent); }
.footer-col ul li{ margin-bottom:10px; }
.footer-col ul li a{ font-size:13.5px; color:var(--fhap-text-muted); }
.footer-col ul li a:hover{ color:var(--fhap-accent); }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:var(--fhap-text-muted); margin-bottom:14px; }
.footer-contact li svg{ color:var(--fhap-accent); flex-shrink:0; margin-top:2px; }
.trust-badges{ display:flex; justify-content:center; align-items:center; gap:16px; padding:20px 0; border-top:1px solid var(--fhap-border); background:#fff; border-radius:12px; margin-top:10px; }
.trust-badges img{ height:70px; width:auto; }
.footer-bottom{ border-top:1px solid var(--fhap-border); padding:18px 0; text-align:center; font-size:12.5px; color:var(--fhap-text-muted); }
.footer-bottom a{ color:var(--fhap-accent); }

/* =========================================================
   11. PAGES: ARCHIVE / SINGLE / SIDEBAR / PAGINATION
========================================================= */
.page-hero{ padding:60px 0 40px; background:linear-gradient(180deg,var(--fhap-navy-2),var(--fhap-navy)); border-bottom:1px solid var(--fhap-border); }
.breadcrumb{ font-size:13px; color:var(--fhap-text-muted); display:flex; gap:8px; align-items:center; margin-bottom:12px; }
.breadcrumb a:hover{ color:var(--fhap-accent); }
.page-hero h1{ font-size:clamp(24px,3vw,36px); margin:0; }

.filters-bar{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px; }
.filters-bar a{ padding:8px 18px; border:1px solid var(--fhap-border); border-radius:20px; font-size:13px; font-weight:700; }
.filters-bar a:hover,.filters-bar a.active{ background:var(--fhap-accent); border-color:var(--fhap-accent); color:#1a0f00; }

.pagination{ display:flex; justify-content:center; gap:8px; margin-top:44px; flex-wrap:wrap;}
.pagination a, .pagination span{ min-width:40px; height:40px; display:flex; align-items:center; justify-content:center; border:1px solid var(--fhap-border); border-radius:8px; font-size:13px; }
.pagination .current{ background:var(--fhap-accent); border-color:var(--fhap-accent); color:#1a0f00; font-weight:800; }
.pagination a:hover{ border-color:var(--fhap-accent); color:var(--fhap-accent); }

.single-hero-media{ border-radius:var(--fhap-radius); overflow:hidden; border:1px solid var(--fhap-border); margin-bottom:32px; }
.single-hero-media img{ width:100%; max-height:460px; object-fit:cover; }
.single-content{ display:grid; grid-template-columns:2fr 1fr; gap:40px; align-items:start; }
.single-main .entry-content{ font-size:15.5px; color:#dbe2ec; }
.single-main .entry-content h2,.single-main .entry-content h3{ color:#fff; margin-top:1.4em; }
.single-main .entry-content img{ border-radius:12px; margin:14px 0; }
.spec-table{ width:100%; border-collapse:collapse; margin:20px 0; }
.spec-table th,.spec-table td{ padding:12px 14px; border:1px solid var(--fhap-border); font-size:14px; text-align:right; }
.spec-table th{ background:var(--fhap-navy-2); width:35%; color:var(--fhap-accent-2); }
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:20px 0; }
.gallery-grid img{ border-radius:10px; height:160px; object-fit:cover; }
.tag-list{ display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.tag-list a{ font-size:12px; padding:6px 12px; border:1px solid var(--fhap-border); border-radius:16px; }

.widget-box{ background:var(--fhap-card); border:1px solid var(--fhap-border); border-radius:var(--fhap-radius); padding:24px; margin-bottom:24px; }
.widget-box h3{ font-size:16px; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid var(--fhap-border); }
.widget-box ul li{ margin-bottom:12px; font-size:13.5px; }
.widget-box .search-form{ display:flex; gap:8px; }
.widget-box .search-form input{ flex:1; background:var(--fhap-navy); border:1px solid var(--fhap-border); border-radius:8px; padding:10px 12px; color:#fff; }
.sidebar-cta{ background:linear-gradient(135deg,var(--fhap-accent),var(--fhap-accent-2)); border-radius:var(--fhap-radius); padding:26px; color:#1a0f00; text-align:center; }
.sidebar-cta h3{ color:#1a0f00; }
.sidebar-cta .btn-outline{ border-color:#1a0f00; color:#1a0f00; }

.related-list li{ display:flex; gap:12px; align-items:center; }
.related-list img{ width:64px; height:64px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.related-list a{ font-size:13.5px; font-weight:700; }

.project-meta-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin:20px 0; }
.project-meta-grid .item{ background:var(--fhap-navy-2); border:1px solid var(--fhap-border); border-radius:10px; padding:14px; }
.project-meta-grid .item b{ display:block; color:var(--fhap-accent-2); font-size:12px; margin-bottom:4px; }

.about-values{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:20px; }

.error-404{ text-align:center; padding:110px 0; }
.error-404 .code{ font-size:110px; font-weight:900; color:var(--fhap-accent); line-height:1; }

/* comments */
.comment-list{ margin:0 0 30px; }
.comment-body{ background:var(--fhap-card); border:1px solid var(--fhap-border); border-radius:12px; padding:18px; margin-bottom:14px; }
.comment-respond input, .comment-respond textarea{ width:100%; background:var(--fhap-navy); border:1px solid var(--fhap-border); border-radius:8px; padding:10px; color:#fff; margin-bottom:10px; }

/* =========================================================
   12. RESPONSIVE
========================================================= */
@media (max-width:1024px){
	.brands-grid{ grid-template-columns:repeat(3,1fr); }
	.hero-grid{ grid-template-columns:1fr; }
	.hero-media .frame img{ height:360px; }
	.features-grid{ grid-template-columns:repeat(2,1fr); }
	.grid-3{ grid-template-columns:repeat(2,1fr); }
	.grid-4{ grid-template-columns:repeat(2,1fr); }
	.split{ grid-template-columns:1fr; }
	.contact-wrap{ grid-template-columns:1fr; }
	.single-content{ grid-template-columns:1fr; }
	.footer-grid{ grid-template-columns:1fr 1fr; }
	.about-values{ grid-template-columns:1fr; }
}
@media (max-width:782px){
	.site-topbar{ display:none; }
	.primary-menu{ position:fixed; inset-inline-end:-100%; top:0; height:100vh; width:80%; max-width:340px; background:var(--fhap-black); flex-direction:column; align-items:stretch; padding:90px 20px 20px; transition:.3s; z-index:1000; overflow-y:auto; border-inline-start:1px solid var(--fhap-border); }
	.primary-menu.is-open{ inset-inline-end:0; }
	.primary-menu ul.sub-menu{ position:static; opacity:1; visibility:visible; transform:none; display:none; background:transparent; border:none; padding-inline-start:14px; box-shadow:none; }
	.primary-menu li.menu-open>ul.sub-menu{ display:block; }
	.menu-toggle{ display:flex; }
	.header-phone span{ display:none; }
	.nav-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:998; display:none; }
	.nav-overlay.is-open{ display:block; }
	.features-grid, .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
	.footer-grid{ grid-template-columns:1fr; }
	.form-row{ grid-template-columns:1fr; }
	.cta-banner{ flex-direction:column; text-align:center; }
	.section{ padding:56px 0; }
	.gallery-grid{ grid-template-columns:repeat(2,1fr); }
	.project-meta-grid{ grid-template-columns:1fr; }
	.hero-stats{ flex-wrap:wrap; gap:16px 0; }
	.hero-stats .stat{ flex:0 0 50%; padding-inline-end:10px; }
	.scroll-row{ gap:14px; }
	.scroll-row .card{ flex-basis:240px; }
	.scroll-row::-webkit-scrollbar{ display:none; }
	.scroll-row{ scrollbar-width:none; }
}
@media (max-width:480px){
	.brands-grid{ grid-template-columns:repeat(2,1fr); }
	.container{ padding:0 14px; }
	.section{ padding:44px 0; }
	.hero{ padding:44px 0 60px; }
	.hero-media .frame img{ height:220px; }
	.hero-stats .stat{ flex:0 0 100%; }
	.header-row{ gap:10px; }
	.site-branding img{ height:40px; }
	.header-actions{ gap:8px; }
	.header-phone{ display:none; }
	.btn{ padding:12px 20px; font-size:14px; }
	.scroll-row .card{ flex-basis:200px; }
	.cta-banner{ padding:30px 20px; }
	.contact-map iframe, .map-load-btn{ height:220px; }
}

/* =========================================================
   13. PREMIUM PRODUCT DETAIL
========================================================= */
.product-page-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 80% 20%,rgba(255,122,26,.12),transparent 35%),linear-gradient(135deg,#07101d,#0b1728 60%,#070b12)}
.product-page-hero h1{max-width:900px;margin-top:12px}
.page-hero-lead{max-width:820px;margin:12px 0 0;color:var(--fhap-text-muted);font-size:16px;line-height:2}
.product-badge,.eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--fhap-accent-2);font-size:12px;font-weight:800;letter-spacing:.2px}
.product-badge{padding:7px 13px;border:1px solid rgba(255,122,26,.35);border-radius:999px;background:rgba(255,122,26,.08)}
.product-detail-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.7fr);gap:32px;align-items:start;margin-bottom:45px}
.product-gallery{min-width:0}
.product-main-image{background:#0a1422;border:1px solid var(--fhap-border);border-radius:22px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.28)}
.product-main-photo{display:block;width:100%;height:520px;object-fit:cover}
.product-image-placeholder{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--fhap-text-muted);gap:12px;text-align:center}
.product-image-placeholder span{color:var(--fhap-accent)}
.product-thumbs{display:flex;gap:10px;overflow:auto;padding-top:12px}
.product-thumb{border:2px solid transparent;padding:0;background:var(--fhap-card);border-radius:10px;overflow:hidden;cursor:pointer;flex:0 0 76px;height:60px}
.product-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.product-thumb.is-active,.product-thumb:hover{border-color:var(--fhap-accent)}
.product-buy-card{position:sticky;top:95px;background:linear-gradient(145deg,#101b2b,#09111d);border:1px solid var(--fhap-border);border-radius:22px;padding:28px;box-shadow:0 22px 55px rgba(0,0,0,.25)}
.product-buy-card h2{font-size:23px;margin:9px 0 14px;line-height:1.6}
.product-buy-card>p{font-size:14px;line-height:2;color:var(--fhap-text-muted)}
.product-price{font-size:24px;font-weight:900;color:var(--fhap-accent-2);margin-bottom:10px}
.product-actions{display:grid;gap:10px;margin:22px 0 18px}
.cart-add-form{display:flex;flex-direction:column;gap:8px}
.cart-qty-row{display:flex;gap:8px;align-items:stretch}
.cart-qty-input{width:70px;flex-shrink:0;background:var(--fhap-navy);border:1px solid var(--fhap-border);border-radius:10px;color:#fff;text-align:center;font-size:15px;}
.cart-add-feedback{display:inline-flex;align-items:center;gap:6px;color:#7ee2a8;font-size:12.5px;font-weight:700;}
.btn-full{width:100%;justify-content:center}
.product-trust{display:flex;gap:8px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--fhap-border);font-size:12px;color:var(--fhap-text-muted)}
.product-trust span{color:var(--fhap-accent);font-weight:900}
.product-content-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.75fr);gap:35px;align-items:start}
.product-main-content{display:grid;gap:22px}
.content-panel{background:rgba(12,22,36,.72);border:1px solid var(--fhap-border);border-radius:20px;padding:30px}
.section-head-left{text-align:right;margin-bottom:22px}
.section-head-left .section-title{margin-top:4px}
.spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.spec-item{display:flex;justify-content:space-between;gap:18px;padding:15px 16px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);border-radius:12px}
.spec-item span{font-size:12px;color:var(--fhap-text-muted)}
.spec-item strong{font-size:13px;color:#fff;text-align:left}
.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.check-item{display:flex;gap:10px;align-items:flex-start;padding:14px;background:rgba(255,122,26,.045);border:1px solid rgba(255,122,26,.12);border-radius:12px}
.check-item>span{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,122,26,.12);color:var(--fhap-accent);font-weight:900;flex:0 0 24px}
.check-item p{margin:0;font-size:13px;line-height:1.8;color:#dbe2ec}
.sticky-widget{position:sticky;top:95px}
.related-product-list{display:grid;gap:14px}
.related-product-list li{display:grid;grid-template-columns:64px 1fr;gap:11px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--fhap-border)}
.related-product-list li:last-child{border-bottom:0;padding-bottom:0}
.related-product-thumb{width:64px;height:54px;border-radius:8px;overflow:hidden;background:#09111d;display:flex;align-items:center;justify-content:center;color:var(--fhap-accent)}
.related-product-thumb img{width:100%;height:100%;object-fit:cover}
.related-product-title{font-size:12.5px;font-weight:800;line-height:1.7;color:#fff;display:block}
.related-product-link{font-size:11px;color:var(--fhap-accent);display:inline-block;margin-top:4px}
.product-final-cta{margin-top:42px;padding:30px 34px;border-radius:22px;border:1px solid rgba(255,122,26,.28);background:linear-gradient(110deg,rgba(255,122,26,.09),rgba(10,23,40,.8));display:flex;align-items:center;justify-content:space-between;gap:25px}
.product-final-cta h2{font-size:24px;margin:7px 0}
.product-final-cta p{margin:0;color:var(--fhap-text-muted);font-size:13px}
@media(max-width:900px){.product-detail-hero,.product-content-grid{grid-template-columns:1fr}.product-buy-card,.sticky-widget{position:static}.product-main-photo{height:430px}.product-final-cta{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){.product-main-photo{height:280px}.content-panel{padding:21px}.spec-grid,.check-grid{grid-template-columns:1fr}.product-final-cta{padding:24px}.product-buy-card{padding:22px}}

/* =========================================================
   14. CART PAGE
========================================================= */
.cart-table{width:100%;border-collapse:collapse}
.cart-table th{text-align:right;font-size:12px;color:var(--fhap-text-muted);padding:0 0 14px;border-bottom:1px solid var(--fhap-border)}
.cart-table td{padding:18px 0;border-bottom:1px solid var(--fhap-border);vertical-align:middle}
.cart-item-info{display:flex;align-items:center;gap:14px}
.cart-item-thumb{width:64px;height:64px;border-radius:10px;object-fit:cover;background:var(--fhap-card);flex-shrink:0}
.cart-item-title{font-weight:800;font-size:14px}
.cart-qty-cell input{width:64px;background:var(--fhap-navy);border:1px solid var(--fhap-border);border-radius:8px;color:#fff;text-align:center;padding:8px 4px}
.cart-remove-btn{background:none;border:none;color:#e06060;cursor:pointer;font-size:13px;display:flex;align-items:center;gap:4px}
.cart-remove-btn:hover{color:#ff8080}
.cart-empty{text-align:center;padding:60px 20px}
.cart-summary-card{background:var(--fhap-card);border:1px solid var(--fhap-border);border-radius:var(--fhap-radius);padding:26px;position:sticky;top:95px}
.cart-summary-row{display:flex;justify-content:space-between;padding:10px 0;font-size:14px;color:var(--fhap-text-muted)}
.cart-summary-row.total{border-top:2px solid var(--fhap-accent);margin-top:8px;padding-top:16px;font-size:17px;font-weight:800;color:#fff}
.cart-summary-row.total b{color:var(--fhap-accent-2)}
@media(max-width:900px){.cart-summary-card{position:static}.cart-table thead{display:none}.cart-table td{display:block;border-bottom:none;padding:6px 0}.cart-table tr{display:block;border-bottom:1px solid var(--fhap-border);padding:16px 0}}

/* =========================================================
   15. UNIQUE FEATURE CALLOUT (product/service single pages)
========================================================= */
.fhap-unique-feature-box{ display:flex; align-items:flex-start; gap:10px; flex-direction:column; background:linear-gradient(135deg,rgba(255,122,26,.12),rgba(255,161,67,.05)); border:1px solid rgba(255,122,26,.35); border-radius:12px; padding:14px 16px; margin:16px 0; }
.fhap-unique-feature-badge{ display:inline-block; font-size:11.5px; font-weight:800; color:var(--fhap-accent); background:rgba(255,122,26,.15); padding:4px 10px; border-radius:999px; }
.fhap-unique-feature-box p{ margin:0; font-size:14px; color:var(--fhap-white); font-weight:600; line-height:1.8; }
