/*
Theme Name: Techouse
Theme URI: https://techouse.ca
Author: Techouse Technology
Author URI: https://techouse.ca
Description: Custom theme for Techouse — professional ODM/OEM manufacturer of access control readers, facial recognition systems, and smart security solutions. Converted from the static Techouse marketing site.
Version: 1.3.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techouse
*/

:root {
    --th-primary:#0672cb;
    --th-primary-dark:#03589f;
    --th-primary-soft:#eaf5ff;
    --th-accent:#74b7ea;
    --th-ink:#203647;
    --th-text:#34495e;
    --th-muted:#64748b;
    --th-line:#d9e5f2;
    --th-surface:#ffffff;
    --th-surface-alt:#f7fafd;
    --th-footer:#f6f9fc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', 'Segoe UI', sans-serif; color: var(--th-text); background: #fff; line-height: 1.6; }
h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-weight: 700; color: var(--th-ink); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-bottom: 1px solid var(--th-line); padding: 14px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
header .container { display: flex; align-items: center; justify-content: space-between; }
header .logo img,
header .logo .custom-logo { height: 52px !important; width: auto !important; max-width: 240px; max-height: 52px; object-fit: contain; }
header .logo .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
header nav { display: flex; gap: 30px; align-items: center; }
header nav a { font-size: 15px; color: #334155; font-weight: 500; transition: color 0.2s; }
header nav a:hover, header nav a.active { color: var(--th-primary); }
.btn-quote { background: var(--th-primary); color: #fff !important; padding: 10px 24px; border-radius: 4px; font-weight: 600; font-size: 14px; transition: background 0.2s, box-shadow 0.2s; box-shadow: 0 6px 14px rgba(6,114,203,0.18); }
.btn-quote:hover { background: var(--th-primary-dark); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; background: none; border: 1px solid var(--th-line); border-radius: 4px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--th-ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Footer */
footer { background: var(--th-footer); color: var(--th-muted); padding: 60px 0 30px; border-top: 1px solid var(--th-line); }
footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer .footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; color: var(--th-muted); }
footer .footer-col h4 { color: var(--th-ink); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
footer .footer-col a { display: block; font-size: 14px; color: var(--th-muted); margin-bottom: 10px; transition: color 0.2s; }
footer .footer-col a:hover { color: var(--th-primary); }
footer .footer-bottom { border-top: 1px solid var(--th-line); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; color: #6c7f92; }
footer .logo-footer { height: 32px; margin-bottom: 12px; filter: none; }

/* Hero sections */
.hero { padding: 84px 0; background: linear-gradient(135deg, #ffffff 0%, #f5f8fb 48%, #eaf4ff 100%); border-bottom: 1px solid var(--th-line); }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--th-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.hero-tag::before { content: ''; width: 40px; height: 2px; background: var(--th-primary); }
.hero h1 { font-size: 52px; line-height: 1.1; margin-bottom: 20px; color: var(--th-ink); }
.hero h1 span { color: var(--th-primary); }
.hero p { font-size: 18px; color: var(--th-muted); max-width: 560px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--th-primary); color: #fff; padding: 13px 28px; border-radius: 4px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s, box-shadow 0.2s; box-shadow: 0 8px 18px rgba(6,114,203,0.18); }
.btn-primary:hover { background: var(--th-primary-dark); }
.btn-secondary { border: 1px solid var(--th-primary); color: var(--th-primary); background: #fff; padding: 12px 28px; border-radius: 4px; font-weight: 600; font-size: 15px; transition: all 0.2s; }
.btn-secondary:hover { background: var(--th-primary-soft); }
.hero-image img { border-radius: 6px; box-shadow: 0 18px 48px rgba(29,43,58,0.12); background:#fff; }

/* Section styles */
.section { padding: 80px 0; }
.section-alt { padding: 80px 0; background: var(--th-surface-alt); }
.section-dark { padding: 68px 0; background: #f0f6fc; color: var(--th-text); border-top: 1px solid var(--th-line); border-bottom: 1px solid var(--th-line); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title .tag { color: var(--th-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-title h2 { font-size: 36px; color: var(--th-ink); }
.section-title h2 span { color: var(--th-primary); }
.section-dark .section-title h2 { color: var(--th-ink); }
.section-title p { color: var(--th-muted); font-size: 16px; max-width: 680px; margin: 12px auto 0; }

/* Product cards - lighter enterprise listing */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: stretch; }
.product-card { background: #fff; border: 1px solid var(--th-line); border-radius: 4px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; min-height: 100%; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(29,43,58,0.10); border-color: #9ecbf0; }
.product-card .card-image { background: #f7f9fb; padding: 28px 24px; text-align: center; height: 235px; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--th-line); }
.product-card .card-image img { max-height: 185px; object-fit: contain; mix-blend-mode: multiply; }
.product-card .card-body { padding: 22px; display:flex; flex-direction:column; flex:1; }
.product-card .card-category { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--th-primary); font-weight: 700; margin-bottom: 8px; }
.product-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--th-ink); line-height:1.25; }
.product-card p { font-size: 13px; color: var(--th-muted); line-height: 1.55; margin-bottom: 14px; }
.product-card .features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.product-card .feature-tag { font-size: 11px; background: #eef6fd; color: #335f87; padding: 4px 10px; border-radius: 3px; border: 1px solid #d8e9f7; }
.product-card .card-actions { display: flex; gap: 10px; margin-top:auto; }
.product-card .card-actions a { flex: 1; text-align: center; padding: 9px; border-radius: 4px; font-size: 13px; font-weight: 700; transition: all 0.2s; }
.product-card .btn-view { background: var(--th-primary); color: #fff; }
.product-card .btn-view:hover { background: var(--th-primary-dark); }
.product-card .btn-rq { border: 1px solid var(--th-primary); color: var(--th-primary); background:#fff; }
.product-card .btn-rq:hover { background: var(--th-primary-soft); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item { background:#fff; border:1px solid var(--th-line); border-radius:4px; padding:28px 18px; }
.stat-item .stat-number { font-size: 42px; font-weight: 700; color: var(--th-primary); font-family: 'Space Grotesk', sans-serif; }
.stat-item .stat-label { font-size: 14px; color: var(--th-muted); margin-top: 4px; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; background:#fff; border:1px solid var(--th-line); }
.specs-table tr { border-bottom: 1px solid var(--th-line); }
.specs-table td { padding: 14px 16px; font-size: 14px; }
.specs-table td:first-child { font-weight: 700; color: var(--th-ink); width: 35%; background: #f7f9fb; }
.specs-table td:last-child { color: var(--th-text); }

/* Installation steps */
.install-steps { display: flex; flex-direction: column; gap: 16px; }
.install-step { background: #fff; border: 1px solid var(--th-line); border-radius: 4px; padding: 24px; display: flex; gap: 20px; align-items: flex-start; }
.step-number { background: var(--th-primary); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.step-content h4 { font-size: 16px; margin-bottom: 4px; }
.step-content p { font-size: 14px; color: var(--th-muted); }
.install-notes { background: #f5f8fb; border: 1px solid var(--th-line); border-radius: 4px; padding: 24px; margin-top: 24px; }
.install-notes h4 { color: var(--th-ink); margin-bottom: 12px; }
.install-notes ul { padding-left: 20px; }
.install-notes li { font-size: 14px; color: var(--th-text); margin-bottom: 6px; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--th-line); margin-bottom: 32px; }
.tab { padding: 12px 24px; font-size: 14px; font-weight: 700; color: var(--th-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.2s; }
.tab.active { color: var(--th-primary); border-bottom-color: var(--th-primary); }

/* Product detail hero */
.product-hero { padding: 64px 0; background: #f5f8fb; border-bottom:1px solid var(--th-line); }
.product-hero .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-hero .image-box { background: #fff; border-radius: 4px; padding: 44px; text-align: center; border: 1px solid var(--th-line); box-shadow:0 8px 24px rgba(29,43,58,0.05); }
.product-hero .image-box img { max-height: 350px; object-fit: contain; mix-blend-mode:multiply; }
.product-hero .category-badge { display: inline-block; background: var(--th-primary-soft); color: var(--th-primary); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 6px 14px; border-radius: 3px; margin-bottom: 16px; border:1px solid #cfe5f7; }
.product-hero h1 { font-size: 36px; margin-bottom: 16px; }
.product-hero .description { font-size: 16px; color: var(--th-muted); line-height: 1.7; margin-bottom: 20px; }
.product-hero .features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.product-hero .feature-tag { font-size: 12px; background: #eef6fd; color: #335f87; padding: 6px 12px; border-radius: 3px; border:1px solid #d8e9f7; font-weight: 600; }
.quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.quick-spec { background: #fff; border: 1px solid var(--th-line); border-radius: 4px; padding: 14px; }
.quick-spec .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--th-muted); margin-bottom: 4px; }
.quick-spec .value { font-size: 14px; font-weight: 700; color: var(--th-ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap:wrap; }

/* CTA banner */
.cta-banner { padding: 64px 0; background: linear-gradient(135deg, #f7fbff 0%, #e9f4ff 100%); text-align: center; border-top: 1px solid var(--th-line); border-bottom: 1px solid var(--th-line); }
.cta-banner h2 { color: var(--th-ink); font-size: 30px; margin-bottom: 12px; }
.cta-banner p { color: var(--th-muted); margin-bottom: 24px; }
.cta-banner .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap:wrap; }
.cta-banner .btn-secondary { border-color: var(--th-primary) !important; color: var(--th-primary) !important; background:#fff; }

/* Breadcrumb */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--th-muted); }
.breadcrumb a { color: var(--th-muted); }
.breadcrumb a:hover { color: var(--th-primary); }
.breadcrumb span { margin: 0 8px; }

/* About page */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--th-primary); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before { content: ''; position: absolute; left: -33px; top: 4px; width: 14px; height: 14px; background: var(--th-primary); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--th-primary); }
.timeline-item h4 { font-size: 18px; color: var(--th-primary); }
.timeline-item p { font-size: 14px; color: var(--th-muted); }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value-card { background: #fff; border: 1px solid var(--th-line); border-radius: 4px; padding: 32px; text-align: center; transition: all 0.2s; }
.value-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(29,43,58,0.08); }
.value-card .icon { width: 56px; height: 56px; background: var(--th-primary-soft); color: var(--th-primary); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--th-muted); }

/* Certifications */
.cert-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cert-badge { background: #fff; border: 1px solid var(--th-line); border-radius: 4px; padding: 20px 32px; text-align: center; }
.cert-badge .cert-name { color: var(--th-ink); font-weight: 700; font-size: 16px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--th-ink); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--th-line); border-radius: 4px; font-size: 14px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--th-primary); box-shadow:0 0 0 3px rgba(6,114,203,0.10); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-card { background: #f5f8fb; border:1px solid var(--th-line); border-radius: 4px; padding: 32px; margin-bottom: 20px; }
.contact-info-card h3 { font-size: 20px; margin-bottom: 16px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; color: var(--th-text); }
.contact-info-item .icon { color: var(--th-primary); font-size: 18px; }

/* Form notices */
.form-notice { border-radius: 4px; padding: 14px 18px; margin-bottom: 24px; font-size: 14px; }
.form-notice--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-notice--err { background: #eef6fd; border: 1px solid #bfdbfe; color: #1e3a5f; }

/* Learning articles */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: #fff; border: 1px solid var(--th-line); border-radius: 4px; padding: 28px; transition: all 0.2s; }
.article-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(29,43,58,0.08); }
.article-card h3 { font-size: 17px; margin-bottom: 12px; color: var(--th-ink); }
.article-card p { font-size: 14px; color: var(--th-muted); line-height: 1.6; }



/* Dell-inspired light theme refresh + Avigilon-style product listing */
body { background: #ffffff; color: var(--th-text); }
header { background: rgba(255,255,255,0.96); border-bottom: 1px solid #dce7f3; box-shadow: 0 2px 12px rgba(32,54,71,0.04); }
header nav a { color: #2f4154; }
.btn-quote, .btn-primary, .product-card .btn-view, .step-number { background: #0672cb; box-shadow: none; }
.btn-quote:hover, .btn-primary:hover, .product-card .btn-view:hover { background: #03589f; }
.btn-secondary, .product-card .btn-rq { border-color: #0672cb; color: #0672cb; background: #ffffff; }
.hero { background: linear-gradient(180deg, #ffffff 0%, #f7fbff 62%, #eef7ff 100%); padding: 92px 0; }
.hero h1 { color:#203647; letter-spacing:-0.03em; font-weight:700; }
.hero h1 span { color:#0672cb; }
.hero-tag { color:#0672cb; letter-spacing:1.8px; }
.hero-image img { box-shadow: 0 18px 42px rgba(32,54,71,0.10); border: 1px solid #e3edf7; }
.section, .section-alt { background:#ffffff; }
.section-alt { background:#f7fafd; border-top:1px solid #e3edf7; border-bottom:1px solid #e3edf7; }
.section-dark { background:#f4f9fe; color:#34495e; }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.product-card { border: 1px solid #d9e5f2; border-radius: 2px; background:#ffffff; box-shadow: 0 1px 2px rgba(32,54,71,0.04); }
.product-card:hover { transform:none; border-color:#8dc4ef; box-shadow: 0 8px 24px rgba(32,54,71,0.10); }
.product-card .card-image { background: linear-gradient(180deg,#ffffff 0%,#f6f9fc 100%); border-bottom: 1px solid #e3edf7; height: 250px; }
.product-card .card-body { padding:24px; }
.product-card .card-category { color:#0672cb; }
.product-card h3 { color:#203647; font-size:18px; min-height:46px; }
.product-card p { color:#64748b; }
.product-card .feature-tag { background:#f2f8fd; border:1px solid #d7eaf9; color:#315b7f; border-radius: 2px; }
.product-card .card-actions a { border-radius:2px; }
.stats-grid .stat-item, .value-card, .article-card, .quick-spec, .specs-table, .install-step, .contact-info-card, .product-hero .image-box { border-color:#d9e5f2; box-shadow:none; }
.stat-item .stat-number, .section-title .tag, .timeline-item h4 { color:#0672cb; }
.product-hero { background:#f7fafd; }
.product-hero h1 { color:#203647; }
.product-hero .category-badge { background:#eaf5ff; color:#0672cb; border-color:#cfe5f7; }
.cta-banner { background: linear-gradient(180deg,#ffffff 0%,#eef7ff 100%); }
footer { background:#f6f9fc; color:#64748b; }
footer .footer-col h4 { color:#203647; }
footer .footer-bottom { color:#64748b; }

/* TECHouse alignment refinements */
.hero .container > h1, .hero .container > p { max-width: 780px; }
@media (min-width: 769px) { .hero .container > h1 { line-height: 1.12; } }

/* Responsive */
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .hero-split, .product-hero .hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    footer .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 36px; }
    .nav-toggle { display: flex; }
    header .container { flex-wrap: wrap; }
    header nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; align-items: stretch; padding-top: 8px; }
    header.nav-open nav { display: flex; }
    header nav a { padding: 14px 4px; border-top: 1px solid var(--th-line); }
    header nav a.btn-quote { border-top: none; margin-top: 10px; text-align: center; }
    .quick-specs { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    footer .footer-grid { grid-template-columns: 1fr; }
}

/* TECHouse enterprise content system v1.1 */
.page-hero { padding: 64px 0; }
.page-hero h1 { font-size: clamp(36px,5vw,56px); }
.align-left { text-align:left; margin-left:0; }
.solution-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.solution-card { display:block; padding:28px; border:1px solid var(--th-line); background:#fff; min-height:220px; transition:.2s ease; }
.solution-card:hover { border-color:#8dc4ef; box-shadow:0 10px 28px rgba(32,54,71,.08); transform:translateY(-2px); }
.solution-card span { display:inline-block; color:var(--th-primary); font-weight:700; font-size:13px; margin-bottom:32px; }
.solution-card h3 { color:var(--th-ink); font-size:20px; margin-bottom:12px; }
.solution-card p { color:var(--th-muted); font-size:14px; line-height:1.65; }
.feature-split { display:grid; grid-template-columns:1.15fr .85fr; gap:64px; align-items:center; }
.feature-panel { border:1px solid var(--th-line); background:#fff; padding:24px; }
.feature-panel img { width:100%; height:330px; object-fit:contain; background:#f7fafd; }
.feature-panel-copy { display:flex; flex-direction:column; gap:4px; padding:18px 4px 0; }
.feature-panel-copy span { color:var(--th-muted); font-size:14px; }
.check-list { list-style:none; padding:0; margin:24px 0 30px; }
.check-list li { position:relative; padding-left:28px; margin:12px 0; color:var(--th-text); }
.check-list li:before { content:'✓'; position:absolute; left:0; color:var(--th-primary); font-weight:700; }
.resource-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.resource-card { display:block; background:#fff; border:1px solid var(--th-line); padding:30px; min-height:190px; }
.resource-card h3 { margin-bottom:12px; color:var(--th-ink); }
.resource-card p { color:var(--th-muted); font-size:14px; line-height:1.65; margin-bottom:18px; }
.resource-card strong { color:var(--th-primary); font-size:14px; }
.case-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.case-card { border-top:3px solid var(--th-primary); background:#f7fafd; padding:28px; min-height:180px; }
.case-card small { color:var(--th-primary); font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.case-card h3 { margin:24px 0 10px; }
.case-card p { color:var(--th-muted); font-size:14px; }
.process-card { background:#f7fafd; border:1px solid var(--th-line); padding:32px; }
.process-card h3 { margin-bottom:18px; }
.process-card ol { padding-left:22px; }
.process-card li { margin:12px 0; color:var(--th-text); }
.top-gap { margin-top:64px; }
.policy-copy { max-width:820px; }
.policy-copy h2 { margin:30px 0 10px; }
.policy-copy p { color:var(--th-muted); line-height:1.75; }
.footer-legal { display:flex; gap:22px; flex-wrap:wrap; padding:22px 0; border-top:1px solid var(--th-line); font-size:13px; }
.footer-legal a { color:var(--th-muted); }
.form-group small { display:block; color:var(--th-muted); margin-top:6px; }
@media(max-width:980px){.solution-grid{grid-template-columns:repeat(2,1fr)}.resource-grid,.case-grid{grid-template-columns:1fr 1fr}.feature-split{gap:36px}}
@media(max-width:768px){.feature-split,.resource-grid,.case-grid{grid-template-columns:1fr}.solution-grid{grid-template-columns:1fr}.feature-panel img{height:260px}}


/* TECHouse enterprise v6 product catalogue refinements */
.compact-hero { padding: 54px 0; background: linear-gradient(90deg,#ffffff 0%,#f6fbff 55%,#e8f4ff 100%); border-bottom:1px solid var(--th-line); }
.hero-two-col { display:grid; grid-template-columns: 1.1fr 1fr; gap:40px; align-items:center; }
.hero-architecture { min-height:150px; border-radius:4px; background: linear-gradient(135deg, rgba(6,114,203,.08), rgba(255,255,255,.2)), repeating-linear-gradient(60deg, #d6e7f7 0, #d6e7f7 1px, transparent 1px, transparent 34px); border:1px solid #d9e5f2; }
.catalog-layout { display:grid; grid-template-columns: 260px 1fr; gap:32px; align-items:start; }
.catalog-sidebar { position:sticky; top:96px; }
.catalog-sidebar h3 { font-size:17px; margin-bottom:12px; }
.cat-link { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-radius:4px; color:#203647; font-weight:600; font-size:14px; }
.cat-link:after { content:'›'; color:#64748b; }
.cat-link.active, .cat-link:hover { background:#eef7ff; color:#0672cb; }
.catalog-download-card { border:1px solid var(--th-line); border-radius:6px; padding:18px; margin-top:18px; background:#fff; }
.catalog-download-card p { font-size:13px; color:var(--th-muted); margin:8px 0 12px; }
.catalog-toolbar { display:flex; gap:12px; margin-bottom:24px; align-items:center; flex-wrap:wrap; }
.catalog-toolbar select { border:1px solid var(--th-line); background:#fff; color:#203647; border-radius:4px; padding:10px 14px; min-width:150px; }
.toolbar-spacer { flex:1; }
.catalog-grid.product-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap:18px; }
.catalog-product .card-image { height:190px; padding:14px; display:flex; align-items:center; justify-content:center; }
.catalog-product .card-image img { max-height:165px; max-width:88%; object-fit:contain; }
.catalog-product h3 { min-height:auto; font-size:16px; }
.catalog-product p { min-height:54px; }
.split-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.custom-note { margin-top:18px; border:1px solid var(--th-line); background:#fff; border-radius:6px; padding:14px; text-align:center; color:#203647; }
.table-scroll { overflow-x:auto; }
.comparison-table td { white-space:nowrap; }
.detail-two-col { display:grid; grid-template-columns: 1fr 340px; gap:42px; align-items:start; }
.download-panel { background:#fff; border:1px solid var(--th-line); border-radius:6px; padding:24px; box-shadow:0 8px 24px rgba(32,54,71,0.06); }
.download-panel h3 { margin-bottom:8px; }
.download-panel p { color:var(--th-muted); font-size:14px; margin-bottom:16px; }
.download-panel .btn-primary, .download-panel .btn-secondary { display:block; text-align:center; margin-top:10px; }
.consultant-strip { display:flex; justify-content:space-between; gap:24px; align-items:center; border:1px solid var(--th-line); border-radius:6px; padding:26px; background:#fff; }
.consultant-strip p { color:var(--th-muted); }
.resource-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; }
.resource-card { background:#fff; border:1px solid var(--th-line); border-radius:6px; padding:24px; box-shadow:0 1px 2px rgba(32,54,71,.04); }
.resource-card h3 { font-size:18px; margin-bottom:8px; color:#203647; }
.resource-card p { color:var(--th-muted); font-size:14px; margin-bottom:12px; }
@media (max-width: 900px) { .hero-two-col, .catalog-layout, .detail-two-col, .product-hero .hero-grid { grid-template-columns:1fr; } .catalog-sidebar { position:static; } .toolbar-spacer { display:none; } .consultant-strip { flex-direction:column; align-items:flex-start; } }

/* TECHouse v7 quote-cart and custom elevator refinements */
button.btn-primary, button.btn-secondary { font-family: inherit; }
.btn-cart { display:block; width:100%; margin-top:12px; border:1px solid #0b63ce; background:#fff; color:#0b63ce; font-weight:700; border-radius:4px; padding:10px 12px; cursor:pointer; transition:.18s ease; }
.btn-cart:hover { background:#eef7ff; transform:translateY(-1px); }
.quote-cart-mini { margin-top:22px; border:1px solid #cfe5f7; background:linear-gradient(90deg,#fff,#f5fbff); border-radius:6px; padding:16px; display:flex; align-items:center; justify-content:space-between; gap:18px; box-shadow:0 6px 20px rgba(32,54,71,.06); }
.quote-cart-mini div { display:flex; flex-direction:column; gap:2px; color:var(--th-ink); }
.quote-cart-mini span { color:var(--th-muted); font-size:13px; }
.quote-cart-toast { position:fixed; right:22px; bottom:24px; background:#062b56; color:#fff; padding:12px 16px; border-radius:4px; box-shadow:0 14px 36px rgba(0,0,0,.22); opacity:0; transform:translateY(10px); transition:.2s ease; z-index:9999; font-weight:700; }
.quote-cart-toast.show { opacity:1; transform:translateY(0); }
.quote-cart-hero-card, .quote-cart-review { border:1px solid var(--th-line); background:#fff; border-radius:6px; padding:20px; box-shadow:0 8px 28px rgba(32,54,71,.06); }
.quote-cart-hero-card > strong { display:block; font-size:22px; margin-bottom:6px; color:var(--th-ink); }
.quote-cart-hero-card > p { color:var(--th-muted); margin-bottom:14px; }
.quote-cart-line { display:grid; grid-template-columns:1fr 72px auto; gap:10px; align-items:center; border-top:1px solid var(--th-line); padding:12px 0; }
.quote-cart-line:first-child { border-top:0; }
.quote-cart-line strong { display:block; color:var(--th-ink); font-size:14px; }
.quote-cart-line span { display:block; color:var(--th-muted); font-size:12px; margin-top:2px; }
.quote-cart-line input { width:72px; border:1px solid var(--th-line); border-radius:4px; padding:8px; }
.quote-cart-line button { border:0; background:#eef7ff; color:#0b63ce; border-radius:4px; padding:8px 10px; cursor:pointer; font-weight:700; }
.empty-cart { color:var(--th-muted); font-size:14px; padding:8px 0; }
.custom-main-hero img, .custom-hero-image img { width:100%; height:100%; object-fit:cover; border-radius:8px; border:1px solid var(--th-line); box-shadow:0 16px 40px rgba(32,54,71,.12); }
.custom-main-hero img { height:auto; object-fit:contain; background:#fff; }
.custom-main-hero { display:flex; align-items:center; }
.custom-hero-image { height:360px; }
.elevator-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:18px; align-items:stretch; }
.elevator-gallery article { background:#fff; border:1px solid var(--th-line); border-radius:6px; padding:14px; box-shadow:0 8px 24px rgba(32,54,71,.06); }
.elevator-gallery img { width:100%; height:260px; object-fit:contain; background:#f7fafd; border-radius:4px; }
.elevator-gallery h3 { font-size:17px; color:var(--th-ink); margin:14px 0 6px; }
.elevator-gallery p { font-size:14px; color:var(--th-muted); line-height:1.55; }
.quote-request-grid .contact-info-card { position:relative; }
.catalog-product .btn-cart { font-size:13px; }
header nav a.btn-quote span { color:inherit; }
@media(max-width:768px){.quote-cart-mini{align-items:flex-start;flex-direction:column}.quote-cart-line{grid-template-columns:1fr}.quote-cart-line input{width:100%}.custom-hero-image{height:260px}.elevator-gallery img{height:220px}}


/* Reader comparison tools */
.compare-toggle { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:10px; font-size:13px; font-weight:700; color:var(--th-ink); }
.compare-toggle input { width:16px; height:16px; accent-color:var(--th-primary); }
.compare-builder { margin-top:34px; background:#fff; border:1px solid var(--th-line); border-radius:6px; padding:24px; box-shadow:0 10px 28px rgba(32,54,71,.06); }
.compare-builder h3 { margin-bottom:8px; }
.compare-builder p { color:var(--th-muted); font-size:14px; margin-bottom:18px; }
.compare-empty { border:1px dashed var(--th-line); color:var(--th-muted); padding:18px; border-radius:6px; background:#f8fbfe; }
.compare-table th, .compare-table td { vertical-align:top; min-width:170px; }
.compare-table th { background:#eef6fd; color:var(--th-ink); padding:14px 16px; text-align:left; border-bottom:1px solid var(--th-line); }
.compare-table td { padding:12px 16px; border-bottom:1px solid var(--th-line); font-size:14px; }
.compare-table td:first-child { font-weight:700; color:var(--th-ink); background:#f7f9fb; min-width:150px; }
.compare-help { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
.btn-clear-compare { border:1px solid var(--th-primary); color:var(--th-primary); background:#fff; border-radius:4px; padding:9px 14px; font-weight:700; cursor:pointer; }
.product-card .card-image img[src*="magic-iii"] { max-height:205px; mix-blend-mode:normal; }

.reader-module-showcase { display:grid; grid-template-columns: 1.05fr .95fr; gap:28px; align-items:center; background:#fff; border:1px solid var(--th-line); border-radius:8px; padding:28px; box-shadow:0 10px 30px rgba(32,54,71,.06); }
.reader-module-showcase img { width:100%; max-height:360px; object-fit:contain; background:#f7fafd; border:1px solid var(--th-line); border-radius:6px; padding:10px; }
.module-spec-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top:20px; }
.module-spec-grid .quick-spec { background:#fff; }
@media(max-width:900px){.reader-module-showcase{grid-template-columns:1fr}.module-spec-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.module-spec-grid{grid-template-columns:1fr}}
