/*
 * Hisar Teknik ana sayfa stil dosyasi.
 * Sari, siyah ve beyaz renk paleti ile modern ve mobil uyumlu bir gorunum sunar.
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --yellow: #f6c85a;
    --yellow-soft: #ffebb8;
    --black: #161a23;
    --black-soft: #252d3d;
    --white: #ffffff;
    --gray: #e9e9e9;
    --whatsapp: #189d58;
    --whatsapp-dark: #117843;
    --call-light-start: #fff7de;
    --call-light-end: #f8dfaa;
    --card-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    --radius-lg: 22px;
    --radius-md: 14px;
}

/* Ana sayfa kamera ile hata kodu tarama alanı */
.home-page .scanner-panel{position:relative;width:min(1080px,calc(100% - 2rem));margin:0 auto;padding:clamp(1.4rem,3vw,2.2rem);border:1px solid #e2e8f0;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 18px 45px rgba(15,23,42,.1);text-align:center;z-index:4}.scanner-kicker{color:#987510;font-size:.72rem;font-weight:800;letter-spacing:.13em}.scanner-panel h1{margin:.45rem 0 0;color:#0f172a;font-size:clamp(1.7rem,4vw,2.55rem);line-height:1.15}.scanner-panel>p{margin:.7rem 0 1.25rem;color:#64748b}.scanner-filters{max-width:700px;display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:0 auto 1rem;text-align:left}.scanner-filters label{color:#344054;font-size:.78rem;font-weight:750}.scanner-filters select{width:100%;height:46px;margin-top:.35rem;padding:0 .75rem;border:1px solid #dbe2ea;border-radius:11px;background:#fff;color:#172033}.scanner-camera-button{min-width:220px;height:52px;border:0;border-radius:12px;background:#efc640;color:#172033;font-size:1rem;font-weight:800;cursor:pointer;box-shadow:0 7px 18px rgba(201,155,18,.2)}.scanner-camera-button:hover{background:#e6b927}.manual-search-block{max-width:560px;margin:1.15rem auto 0}.manual-search-block>span{display:block;margin-bottom:.5rem;color:#667085;font-size:.78rem;font-weight:700}.manual-search-row{display:grid;grid-template-columns:1fr auto;gap:.55rem}.manual-search-row .search-input{height:46px;padding:0 .9rem;border:1px solid #dbe2ea;border-radius:11px;background:#fff;box-shadow:none}.manual-search-row button{padding:0 1.25rem;border:0;border-radius:10px;background:#172033;color:#fff;font-weight:750;cursor:pointer}.scanner-panel .live-results{top:calc(100% + 8px);text-align:left}.camera-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.78);z-index:9999}.camera-modal.is-open{display:flex}.camera-dialog{width:min(720px,100%);max-height:calc(100vh - 2rem);overflow:auto;border-radius:18px;background:#fff;box-shadow:0 25px 80px rgba(0,0,0,.35)}.camera-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem;color:#172033}.camera-head button{width:36px;height:36px;border:0;border-radius:9px;background:#f1f5f9;font-size:1.5rem;cursor:pointer}.camera-stage{position:relative;aspect-ratio:16/9;background:#0f172a;overflow:hidden}.camera-stage video{width:100%;height:100%;object-fit:cover}.camera-guide{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(rgba(15,23,42,.35),rgba(15,23,42,.35))}.camera-guide span{width:72%;height:34%;border:2px solid #efc640;border-radius:12px;box-shadow:0 0 0 999px rgba(15,23,42,.25)}.camera-status{margin:0;padding:1rem 1.15rem;color:#475569;font-weight:650}.scan-result{display:grid;grid-template-columns:repeat(3,1fr);gap:.65rem;padding:0 1.15rem}.scan-result>button{display:flex;flex-direction:column;gap:.2rem;padding:.8rem;border:1px solid #d7b12e;border-radius:11px;background:#fffaf0;color:#172033;cursor:pointer}.scan-result>button.is-low{border-color:#dbe2ea;background:#fff}.scan-result strong{font-size:1.15rem}.scan-result span,.scan-result small{color:#64748b}.scan-matches{grid-column:1/-1;display:grid;gap:.4rem}.scan-matches a{padding:.65rem;border:1px solid #e2e8f0;border-radius:9px;color:#172033;text-decoration:none}.camera-actions{display:flex;justify-content:flex-end;gap:.6rem;padding:1rem 1.15rem}.camera-actions button{padding:.7rem 1rem;border:1px solid #dbe2ea;border-radius:9px;background:#fff;color:#172033;font-weight:700;cursor:pointer}.camera-actions button:first-child{background:#172033;color:#fff}@media(max-width:680px){.scanner-filters{grid-template-columns:1fr}.scanner-panel{width:calc(100% - 1rem);border-radius:16px}.scan-result{grid-template-columns:1fr}.camera-dialog{max-height:100vh;border-radius:12px}}

.scanner-privacy{display:block;max-width:560px;margin:.65rem auto 0;color:#667085;font-size:.72rem;line-height:1.45}.scan-matches a{display:flex;flex-direction:column;gap:.22rem;text-align:left}.scan-matches a strong{color:#172033;font-size:.95rem}.scan-matches a span{color:#475569;font-size:.85rem}.scan-matches a small{color:#64748b;font-size:.8rem}

/* Cihaz / marka listeleme sayfalari — ana sayfadan izole kurumsal arayuz */
.device-list-page{background:#f6f8fb;color:#0f172a}.device-list-page .page-bg{display:none}.device-list-page .top-nav{background:#fff}.device-list-page .content.device-list-main{width:min(1180px,calc(100% - 2rem));flex:1 0 auto;padding:clamp(1.5rem,3.5vw,3rem) 0 2.5rem}.device-list-page .device-list-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.device-list-page .breadcrumb{margin:0 0 1.8rem;gap:.6rem;color:#94a3b8;font-size:.82rem;font-weight:600}.device-list-page .breadcrumb a{color:#475569;border:0}.device-list-page .breadcrumb a:hover,.device-list-page .breadcrumb a:focus-visible{color:#0f172a;border:0}.device-list-page .device-list-heading{max-width:790px;margin-bottom:2rem}.device-list-page .device-category-label{display:inline-flex;align-items:center;gap:.55rem;color:#8a6b0b;font-size:.72rem;font-weight:800;letter-spacing:.13em}.device-list-page .device-category-label:before{content:'';width:22px;height:2px;border-radius:99px;background:#e3b932}.device-list-page .device-heading{margin:.65rem 0 0;font-family:'Manrope','Segoe UI',sans-serif;color:#0f172a;font-size:clamp(1.85rem,4vw,2.65rem);font-weight:800;line-height:1.15;letter-spacing:-.035em}.device-list-page .device-list-heading p{margin:.8rem 0 0;color:#64748b;font-size:1rem;line-height:1.7}.device-list-page .brand-grid{margin-top:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.device-list-page .brand-card{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border:1px solid #e2e8f0;border-radius:13px;background:#fff;color:#172033;text-align:left;box-shadow:0 3px 10px rgba(15,23,42,.035);transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease}.device-list-page .brand-card-name{width:auto;font-family:'Manrope','Segoe UI',sans-serif;color:#172033;font-size:.96rem;font-weight:700;letter-spacing:-.01em}.device-list-page .brand-card-arrow{flex:0 0 auto;color:#c79a12;font-size:1rem;line-height:1;transition:transform 180ms ease}.device-list-page .brand-card:hover,.device-list-page .brand-card:focus-visible{transform:translateY(-2px);border-color:rgba(207,166,34,.62);background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.07)}.device-list-page .brand-card:hover .brand-card-arrow,.device-list-page .brand-card:focus-visible .brand-card-arrow{transform:translateX(3px)}.device-list-page .empty-state{padding:1rem;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#64748b}.device-list-page .device-support-note{margin-top:1.5rem;display:flex;align-items:center;gap:.9rem;padding:1rem 1.1rem;border:1px solid #e2e8f0;border-left:3px solid #e3b932;border-radius:12px;background:rgba(255,255,255,.72)}.device-list-page .device-support-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:9px;background:#f8fafc;color:#8a6b0b;font-weight:800}.device-list-page .device-support-note strong,.device-list-page .device-support-note small{display:block}.device-list-page .device-support-note strong{color:#1e293b;font-size:.9rem}.device-list-page .device-support-note small{margin-top:.25rem;color:#64748b;font-size:.8rem;line-height:1.5}
@media(max-width:960px){.device-list-page .brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.device-list-page .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.device-list-page .content.device-list-main{width:min(100% - 1rem,1180px);padding-top:1.2rem}.device-list-page .breadcrumb{margin-bottom:1.35rem}.device-list-page .device-list-heading{margin-bottom:1.5rem}.device-list-page .device-list-heading p{font-size:.9rem}.device-list-page .brand-grid{gap:.55rem}.device-list-page .brand-card{min-height:56px;padding:.75rem .8rem}.device-list-page .brand-card-name{font-size:.86rem;overflow-wrap:anywhere}.device-list-page .device-support-note{align-items:flex-start}}

/* Marka / model hata kodu listeleri */
.error-list-page{background:#f6f8fb;color:#0f172a}.error-list-page .page-bg{display:none}.error-list-page .top-nav{background:#fff}.error-list-page .content.error-list-main{width:min(1180px,calc(100% - 2rem));flex:1 0 auto;padding:clamp(1.5rem,3.5vw,3rem) 0 2.5rem}.error-list-page .error-list-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.error-list-page .breadcrumb{margin:0 0 1.8rem;gap:.6rem;color:#94a3b8;font-size:.82rem;font-weight:600}.error-list-page .breadcrumb a{color:#475569;border:0}.error-list-page .breadcrumb a:hover,.error-list-page .breadcrumb a:focus-visible{color:#0f172a;border:0}.error-list-page .error-list-heading{max-width:900px;margin-bottom:1.6rem}.error-list-page .device-category-label{display:inline-flex;align-items:center;gap:.55rem;color:#8a6b0b;font-size:.72rem;font-weight:800;letter-spacing:.13em}.error-list-page .device-category-label:before{content:'';width:22px;height:2px;border-radius:99px;background:#e3b932}.error-list-page .device-heading{margin:.65rem 0 0;font-family:'Manrope','Segoe UI',sans-serif;color:#0f172a;font-size:clamp(1.75rem,4vw,2.5rem);font-weight:800;line-height:1.18;letter-spacing:-.035em}.error-list-page .error-list-heading p{margin:.8rem 0 0;color:#64748b;font-size:1rem;line-height:1.7}.error-list-page .search-section-inline{max-width:100%;margin:0 0 1.5rem;padding:0;background:transparent;border:0;box-shadow:none}.error-list-page .search-section-inline .search-input{height:52px;padding:0 1rem;border:1px solid #dbe2ea;border-radius:12px;background:#fff;color:#172033;box-shadow:0 3px 10px rgba(15,23,42,.035)}.error-list-page .search-section-inline .search-input:focus{border-color:#d1aa2d;box-shadow:0 0 0 3px rgba(227,185,50,.14)}.error-list-page .error-grid{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.error-list-page .error-card{min-height:92px;display:grid;grid-template-columns:auto minmax(0,1fr) 18px;align-items:center;gap:.9rem;padding:.9rem 1rem;border:1px solid #e2e8f0;border-radius:13px;background:#fff;color:#172033;text-align:left;box-shadow:0 3px 10px rgba(15,23,42,.035);transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease}.error-list-page .error-card:after{content:'→';color:#c79a12;font-size:1rem}.error-list-page .error-code{min-width:58px;display:inline-flex;align-items:center;justify-content:center;padding:.48rem .6rem;border:1px solid #ead88f;border-radius:9px;background:#fff9df;color:#725900;font-size:.88rem;font-weight:800;line-height:1}.error-list-page .error-title{color:#334155;font-size:.86rem;font-weight:600;line-height:1.45}.error-list-page .error-card:hover,.error-list-page .error-card:focus-visible{transform:translateY(-2px);border-color:rgba(207,166,34,.62);background:#fff;color:#172033;box-shadow:0 8px 18px rgba(15,23,42,.07)}.error-list-page .device-support-note{margin-top:1.5rem;display:flex;align-items:center;gap:.9rem;padding:1rem 1.1rem;border:1px solid #e2e8f0;border-left:3px solid #e3b932;border-radius:12px;background:rgba(255,255,255,.72)}.error-list-page .device-support-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:9px;background:#f8fafc;color:#8a6b0b;font-weight:800}.error-list-page .device-support-note strong,.error-list-page .device-support-note small{display:block}.error-list-page .device-support-note strong{color:#1e293b;font-size:.9rem}.error-list-page .device-support-note small{margin-top:.25rem;color:#64748b;font-size:.8rem;line-height:1.5}.error-list-page .empty-state{padding:1rem;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#64748b}
@media(max-width:900px){.error-list-page .error-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.error-list-page .content.error-list-main{width:min(100% - 1rem,1180px);padding-top:1.2rem}.error-list-page .breadcrumb{margin-bottom:1.35rem}.error-list-page .error-list-heading{margin-bottom:1.35rem}.error-list-page .error-list-heading p{font-size:.9rem}.error-list-page .error-grid{grid-template-columns:1fr;gap:.6rem}.error-list-page .error-card{min-height:78px}.error-list-page .device-support-note{align-items:flex-start}}

.error-list-page .error-desc{grid-column:2/3;color:#64748b;font-size:.75rem;line-height:1.4}.error-list-page .error-card:has(.error-desc) .error-code{grid-row:1/3}.error-list-page .error-card:has(.error-desc):after{grid-column:3;grid-row:1/3}

/* Hata kodu detay sayfalari */
.error-detail-page{background:#f6f8fb;color:#0f172a}.error-detail-page .page-bg{display:none}.error-detail-page .top-nav{background:#fff}.error-detail-page .content.error-detail-main{width:min(1180px,calc(100% - 2rem));flex:1 0 auto;padding:clamp(1.5rem,3.5vw,3rem) 0 2.5rem}.error-detail-page .error-detail-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.error-detail-page .breadcrumb{margin:0 0 1.8rem;gap:.6rem;color:#94a3b8;font-size:.82rem;font-weight:600}.error-detail-page .breadcrumb a{color:#475569;border:0}.error-detail-page .breadcrumb a:hover,.error-detail-page .breadcrumb a:focus-visible{color:#0f172a;border:0}.error-detail-page .error-detail-heading{margin-bottom:1.6rem}.error-detail-page .device-category-label{display:inline-flex;align-items:center;gap:.55rem;color:#8a6b0b;font-size:.72rem;font-weight:800;letter-spacing:.13em}.error-detail-page .device-category-label:before{content:'';width:22px;height:2px;border-radius:99px;background:#e3b932}.error-detail-page .device-heading{margin:.65rem 0 0;font-family:'Manrope','Segoe UI',sans-serif;color:#0f172a;font-size:clamp(1.8rem,4vw,2.65rem);font-weight:800;line-height:1.16;letter-spacing:-.035em}.error-detail-page .error-meta{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}.error-detail-page .error-meta>span{min-width:130px;display:grid;gap:.2rem;padding:.65rem .8rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.error-detail-page .error-meta small{color:#64748b;font-size:.68rem;font-weight:600}.error-detail-page .error-meta strong{color:#1e293b;font-size:.84rem}.error-detail-page .error-meta .error-meta-code{border-color:#ead88f;background:#fff9df}.error-detail-page .detail-grid{margin-top:0;gap:.85rem}.error-detail-page .detail-card{padding:1.15rem;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.045)}.error-detail-page .detail-card h3,.error-detail-page .media-title{font-family:'Manrope','Segoe UI',sans-serif;color:#172033;font-size:1rem;font-weight:750}.error-detail-page .detail-card p,.error-detail-page .detail-card li,.error-detail-page .rich-text p,.error-detail-page .rich-text li,.error-detail-page .rich-text ul,.error-detail-page .rich-text ol{color:#475569;font-size:.92rem;line-height:1.7}.error-detail-page .short-summary-card{padding-top:1.15rem}.error-detail-page .short-summary-card:before{top:-1px;left:20px;width:50px;height:3px;background:#e3b932;box-shadow:none}.error-detail-page .media-block{margin-top:1.2rem;padding-top:.2rem}.error-detail-page .media-sections-grid{gap:.85rem}.error-detail-page .media-detail-card{background:#fff}.error-detail-page .empty-state{margin:.35rem 0 0;padding:.8rem;border:1px dashed #dbe2ea;border-radius:10px;background:#f8fafc;color:#64748b;font-size:.84rem}.error-detail-page .part-card{border:1px solid #e2e8f0;background:#f8fafc;box-shadow:none}.error-detail-page .video-card{border-color:#e2e8f0;background:#f8fafc;box-shadow:none}.error-detail-page .related-code{border:1px solid #e2e8f0;background:#fff;color:#725900}.error-detail-page .related-code:hover,.error-detail-page .related-code:focus-visible{border-color:#d1aa2d;background:#fff9df;color:#5f4a00}.error-detail-page .warning-card{border-color:#f2d98a;background:#fff9df}.error-detail-page .warning-card h3,.error-detail-page .warning-card p{color:#54430b}
@media(max-width:720px){.error-detail-page .detail-grid,.error-detail-page .media-sections-grid{grid-template-columns:1fr}.error-detail-page .error-meta>span{min-width:calc(50% - .3rem);flex:1}.error-detail-page .parts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.error-detail-page .content.error-detail-main{width:min(100% - 1rem,1180px);padding-top:1.2rem}.error-detail-page .breadcrumb{margin-bottom:1.35rem}.error-detail-page .error-meta>span{min-width:100%}.error-detail-page .parts-grid{grid-template-columns:1fr}}

.error-detail-page .error-detail-title{max-width:860px;margin:.75rem 0 0;color:#475569;font-size:1.05rem;font-weight:600;line-height:1.6}.error-detail-page .error-detail-title:before{content:'—';margin-right:.45rem;color:#c79a12}

/* LED / isik kombinasyonu hata listesi ve detaylari */
.led-errors-section{margin-top:2rem;padding-top:1.7rem;border-top:1px solid #e2e8f0}.led-section-heading{display:flex;align-items:flex-start;gap:.8rem;margin-bottom:1rem}.led-section-heading h2{margin:0;color:#172033;font-size:1.2rem}.led-section-heading p{margin:.35rem 0 0;color:#64748b;font-size:.85rem}.led-section-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border:1px solid #ead88f;border-radius:9px;background:#fff9df;color:#8a6b0b}.led-error-list{display:grid;gap:.65rem}.led-error-card{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(260px,1fr) 24px;align-items:center;gap:1rem;padding:.9rem 1rem;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(15,23,42,.035);text-decoration:none;transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease}.led-error-card small,.led-error-card strong{display:block}.led-error-card small{margin-bottom:.25rem;color:#94a3b8;font-size:.67rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.led-error-card strong{color:#263248;font-size:.88rem}.led-error-card .led-arrow{color:#c79a12}.led-error-card:hover,.led-error-card:focus-visible{transform:translateY(-2px);border-color:#d1aa2d;box-shadow:0 8px 18px rgba(15,23,42,.07);outline:none}.led-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-bottom:1rem}.led-detail-summary>div{padding:1rem;border:1px solid #e2e8f0;border-left:3px solid #e3b932;border-radius:12px;background:#fff}.led-detail-summary small,.led-detail-summary strong{display:block}.led-detail-summary small{color:#64748b;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.led-detail-summary strong{margin-top:.35rem;color:#172033;font-size:1rem}
@media(max-width:720px){.led-error-card{grid-template-columns:1fr 24px}.led-fault{grid-column:1/2}.led-arrow{grid-column:2;grid-row:1/3}.led-detail-summary{grid-template-columns:1fr}}@media(max-width:460px){.led-error-card{padding:.8rem}.led-section-heading p{font-size:.78rem}}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--black);
    background: linear-gradient(180deg, #fffdf1 0%, #ffffff 52%, #fdfdfd 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 88px;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 204, 0, 0.14) 0, transparent 34%),
        radial-gradient(circle at 88% 22%, rgba(0, 0, 0, 0.09) 0, transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(255, 204, 0, 0.1) 0, transparent 45%);
    z-index: 0;
}

.top-nav {
    position: relative;
    z-index: 1;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}

.top-nav::before {
    content: none;
}

.top-nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(246, 200, 90, 0.3) 0%, rgba(246, 200, 90, 0.58) 50%, rgba(246, 200, 90, 0.3) 100%);
}

.top-nav-inner {
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.brand-block {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: 0;
}

.brand-logo,
.brand-logo-fallback {
    width: 66px;
    height: 66px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-logo-fallback {
    display: grid;
    place-items: center;
    background: #111827;
    color: #f6c85a;
    font-weight: 800;
    border-radius: 14px;
}

.brand-copy {
    display: grid;
    gap: 0.06rem;
    color: #0f172a;
    min-width: 0;
}

.brand-copy strong {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0.012em;
}

.brand-copy small {
    color: #b88200;
    font-size: 0.88rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero,
.content,
.site-footer {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.hero {
    padding-top: 2.5rem;
    text-align: center;
}

@media (max-width: 860px) {
    .top-nav-inner {
        min-height: 72px;
        flex-wrap: wrap;
        padding: 0.45rem 0;
    }
}

@media (max-width: 580px) {
    .top-nav-inner {
        width: calc(100% - 1rem);
    }

    .brand-logo,
    .brand-logo-fallback {
        width: 58px;
        height: 58px;
    }

    .brand-copy strong {
        font-size: 1.2rem;
    }
}

.logo-wrap {
    width: 130px;
    height: 130px;
    margin-inline: auto;
    border-radius: 50%;
    background: var(--black);
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.site-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-ring {
    position: absolute;
    inset: 10px;
    border: 3px solid var(--yellow);
    border-radius: 50%;
}

.logo-core {
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--yellow);
    font-size: 2rem;
}

.site-title {
    margin: 1.2rem 0 0;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.05;
    color: var(--black);
    letter-spacing: 0.04em;
}

.site-subtitle {
    margin: 0.45rem 0 0;
    font-size: clamp(1rem, 2.7vw, 1.35rem);
    font-weight: 700;
    color: #303030;
}

.hero-description {
    width: min(760px, 100%);
    margin: 1rem auto 0;
    font-size: clamp(0.98rem, 2.4vw, 1.12rem);
    line-height: 1.65;
    color: #2b2b2b;
}

.content {
    flex: 1 0 auto;
    padding: 2rem 0 2.4rem;
}

.site-footer {
    margin-top: auto;
}

.search-section {
    margin-bottom: 1.6rem;
    position: relative;
}

.search-input {
    width: 100%;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: 1rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    background: var(--white);
    box-shadow: var(--card-shadow);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.search-input::placeholder {
    color: #6a6a6a;
}

.search-input:focus {
    outline: none;
    border-color: var(--yellow);
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.2);
}

.live-results {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    background: #ffffff;
    border: 2px solid #ffefb8;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    max-height: min(520px, 62vh);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 5;
}

.live-results.is-open {
    display: block;
}

.live-result-item {
    display: block;
    padding: 0.78rem 0.95rem;
    text-decoration: none;
    color: #141414;
    border-bottom: 1px solid #f2f2f2;
    text-align: left;
}

.live-result-item:last-child {
    border-bottom: 0;
}

.live-result-item:hover,
.live-result-item:focus-visible {
    background: #fffbf0;
    outline: none;
}

.search-example {
    margin: .55rem .15rem 0;
    color: #64748b;
    font-size: .78rem;
    font-weight: 500;
}

.live-result-heading {
    display: block;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.35;
}

.live-result-code {
    display: inline-block;
    min-width: 52px;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-weight: 800;
    color: #101010;
}

.live-result-title {
	display: block;
	margin-top: .2rem;
	color: #334155;
	font-size: .9rem;
	font-weight: 600;
}

.live-result-meta {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.85rem;
    color: #535353;
}

.live-result-empty {
    padding: 0.9rem;
    color: #3f3f3f;
    font-weight: 600;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.device-card {
    appearance: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 1rem;
    min-height: 92px;
    background: linear-gradient(140deg, var(--white) 0%, #fffef5 100%);
    color: var(--black);
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.section-panel {
    background: linear-gradient(150deg, #ffffff 0%, #fffdf1 100%);
    border-radius: 24px;
    padding: clamp(1.1rem, 2vw, 1.6rem);
    box-shadow: var(--card-shadow);
}

.back-link {
    display: inline-block;
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    padding: 0.55rem 0.95rem;
    border: 2px solid var(--yellow);
    border-radius: 999px;
    background: #fffbee;
    transition: transform 180ms ease, background 180ms ease;
}

.back-link:hover {
    transform: translateY(-2px);
    background: var(--yellow-soft);
}

.back-link:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

.device-heading {
    margin: 1rem 0 0.35rem;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: 0.01em;
}

.panel-title {
    margin: 0;
    color: #2c2c2c;
    font-weight: 700;
}

.breadcrumb {
    margin: 0.75rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: #2a2a2a;
}

.breadcrumb a {
    color: #1d1d1d;
    text-decoration: none;
    border-bottom: 1px dashed #d4b94a;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: #000000;
    border-bottom-color: #111111;
    outline: none;
}

.brand-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.78rem;
}

.brand-card {
    border: 1px solid #efe6bf;
    border-radius: var(--radius-md);
    min-height: 76px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 0.55rem 0.65rem;
    background: linear-gradient(160deg, #ffffff 0%, #fff9de 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.11);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    text-decoration: none;
    color: var(--black);
}

.brand-card-logo {
    width: 100%;
    max-width: 120px;
    max-height: 34px;
    object-fit: contain;
    filter: saturate(1.05) contrast(1.02);
}

.brand-card-name {
    display: block;
    width: 100%;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: 1.03rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #1f2430;
    line-height: 1.2;
}

.brand-card:hover,
.brand-card:focus-visible {
    transform: translateY(-2px);
    border-color: #e0cb7e;
    background: linear-gradient(160deg, #ffffff 0%, #fff3c5 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
    outline: none;
}

.error-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.error-card {
    appearance: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    min-height: 112px;
    background: linear-gradient(140deg, #121212 0%, #2b2b2b 100%);
    color: var(--yellow);
    font-family: 'Sora', 'Segoe UI', sans-serif;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.85rem;
}

.error-code {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.error-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #f6e9aa;
    line-height: 1.45;
}

.error-card:hover,
.error-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--yellow);
    color: var(--white);
    outline: none;
}

.detail-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.detail-card {
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff 0%, #fff8dc 100%);
    box-shadow: var(--card-shadow);
    padding: 1rem;
}

.detail-card h3 {
    margin: 0 0 0.55rem;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: 1.02rem;
    color: #141414;
}

.short-summary-card {
    position: relative;
    padding-top: 1.15rem;
}

.short-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 128px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f6c85a 0%, #f2b632 55%, #1f1f1f 100%);
    box-shadow: 0 2px 10px rgba(246, 200, 90, 0.45);
}

.detail-card p,
.detail-card li {
    font-size: 0.97rem;
    line-height: 1.6;
    color: #1f1f1f;
}

.rich-text p,
.rich-text li,
.rich-text ul,
.rich-text ol {
    margin-top: 0;
    color: #1f1f1f;
    line-height: 1.6;
}

.rich-text ul,
.rich-text ol {
    padding-left: 1.1rem;
}

.detail-card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.warning-card {
    border-color: #212121;
    background: linear-gradient(145deg, #1b1b1b 0%, #353535 100%);
}

.warning-card h3,
.warning-card p {
    color: #ffecb2;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
}

.related-code {
    appearance: none;
    border: 2px solid transparent;
    border-radius: 12px;
    min-height: 54px;
    background: #111111;
    color: var(--yellow);
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 180ms ease, transform 180ms ease, color 180ms ease;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.related-code:hover,
.related-code:focus-visible {
    border-color: var(--yellow);
    color: #ffffff;
    transform: translateY(-2px);
    outline: none;
}

.no-select {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.empty-state {
    margin: 1rem 0 0;
    color: #202020;
    font-weight: 600;
}

.search-section-inline {
    margin-top: 1rem;
}

.media-block {
    margin-top: 1.2rem;
}

.media-sections-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.media-detail-card {
    display: block;
}

.media-detail-card .media-title {
    margin: 0 0 0.7rem;
}

.media-detail-card .empty-state {
    margin: 0.35rem 0 0;
}

.media-title {
    margin: 0 0 0.7rem;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: 1.08rem;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.part-card {
    border: 2px solid #f1e5af;
    border-radius: 14px;
    background: linear-gradient(145deg, #fffefb 0%, #fff9df 100%);
    box-shadow: var(--card-shadow);
    padding: 0.7rem;
    position: relative;
}

.part-card.with-divider {
    padding-top: 1rem;
}

.part-card.with-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(246, 200, 90, 0.15) 0%, rgba(246, 200, 90, 0.95) 50%, rgba(246, 200, 90, 0.15) 100%);
}

.part-image {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    background: #fafafa;
    cursor: zoom-in;
    display: block;
    margin: 0 auto;
}

.part-image:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.82);
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox img {
    max-width: min(1080px, 96vw);
    max-height: 90vh;
    border-radius: 12px;
    border: 2px solid #ffefb8;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: #111111;
    object-fit: contain;
}

.image-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    min-width: 42px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: #fff0b7;
    color: #111111;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 800;
}

.part-name {
    margin-top: 0.65rem;
    display: block;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.part-desc {
    margin: 0.45rem 0 0;
    color: #252525;
    line-height: 1.55;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.video-card {
    display: block;
    border: 2px solid #f1e5af;
    border-radius: 14px;
    background: linear-gradient(145deg, #fffef9 0%, #fff5c7 100%);
    box-shadow: var(--card-shadow);
    padding: 0.7rem;
    color: #131313;
    text-decoration: none;
}

.video-thumb-wrap {
    position: relative;
}

.video-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    background: #fafafa;
}

.video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 3rem;
    color: #ffcc00;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.video-title {
    margin-top: 0.65rem;
    display: block;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
}

.video-desc {
    margin: 0.45rem 0 0;
    color: #252525;
    line-height: 1.55;
}

.device-card:hover {
    transform: translateY(-3px);
    border-color: var(--yellow);
    background: linear-gradient(140deg, #ffffff 0%, var(--yellow-soft) 100%);
}

.device-card:focus-visible {
    outline: none;
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.site-footer {
    padding: 1.2rem 0 2rem;
    text-align: center;
    color: #3a3a3a;
    font-weight: 700;
}

.support-strip {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.support-cta {
    min-height: 56px;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: filter 180ms ease;
}

.support-cta:hover,
.support-cta:focus-visible {
    filter: brightness(1.08);
    outline: none;
}

.support-cta-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
    color: #ffffff;
}

.support-cta-call {
    background: linear-gradient(135deg, var(--call-light-start) 0%, var(--call-light-end) 100%);
    color: #2e2410;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .error-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .parts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .media-sections-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .hero {
        padding-top: 1.7rem;
    }

    .logo-wrap {
        width: 100px;
        height: 100px;
    }

    .logo-core {
        font-size: 1.5rem;
    }

    .content {
        padding-top: 1.4rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .device-card {
        min-height: 76px;
    }

    .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .error-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .error-card {
        min-height: 94px;
    }

    .parts-grid {
        grid-template-columns: 1fr;
    }

    .part-image,
    .video-thumb {
        height: 160px;
    }

    .support-strip {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .support-cta {
        min-height: 52px;
        font-size: 0.9rem;
    }
}

/* Home page redesign */
body.home-page {
    font-family: 'Poppins', Arial, sans-serif;
    color: #111827;
    background:
        radial-gradient(circle at 15% 20%, rgba(246, 200, 90, 0.05), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(15, 23, 42, 0.05), transparent 30%),
        #f8fafc;
    padding-bottom: 88px;
}

.home-page .home-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.home-page .top-nav,
.home-page .home-main,
.home-page .site-footer-modern {
    position: relative;
    z-index: 1;
}

.home-page .top-nav {
    position: relative;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}

.home-page .top-nav::before {
    content: none;
}

.home-page .top-nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(246, 200, 90, 0.3) 0%, rgba(246, 200, 90, 0.58) 50%, rgba(246, 200, 90, 0.3) 100%);
}

.home-page .top-nav-inner {
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.home-page .brand-block {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: 0;
}

.home-page .brand-logo,
.home-page .brand-logo-fallback {
    width: 66px;
    height: 66px;
    object-fit: contain;
    flex: 0 0 auto;
}

.home-page .brand-logo-fallback,
.home-page .hero-logo-fallback {
    display: grid;
    place-items: center;
    background: #111827;
    color: #f6c85a;
    font-weight: 800;
    border-radius: 14px;
}

.home-page .brand-copy {
    display: grid;
    gap: 0.06rem;
    color: #0f172a;
    min-width: 0;
}

.home-page .brand-copy strong {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0.012em;
}

.home-page .brand-copy small {
    color: #b88200;
    font-size: 0.88rem;
    line-height: 1.2;
    font-weight: 700;
}

.home-page .menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
}

.home-page .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    margin: 5px auto;
    background: #ffffff;
}

.home-page .nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.34rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.home-page .nav-links a {
    position: relative;
    text-decoration: none;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.5rem 0.82rem;
    border-radius: 999px;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-page .nav-links a:hover,
.home-page .nav-links a:focus-visible {
    color: #0f172a;
    background: #f8fafc;
    transform: translateY(-1px);
    outline: none;
}

.home-page .nav-links a.active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: #f2ca70;
}

.home-page .nav-links a.active {
    color: #0f172a;
    background: #f8fafc;
}

.home-page .home-main {
    flex: 1 0 auto;
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
    padding: 0.95rem 0 2rem;
}

.home-page .hero-modern {
    text-align: center;
    padding-top: 0;
}

.home-page .hero-logo-wrap {
    display: grid;
    place-items: center;
}

.home-page .hero-usta {
    width: min(260px, 64vw);
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-page .hero-usta svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.08));
}

.home-page .hero-logo,
.home-page .hero-logo-fallback {
    width: 118px;
    height: 118px;
    object-fit: contain;
}

.home-page .search-modern {
    width: min(800px, 100%);
    margin: 1rem auto 0;
    position: relative;
}

.home-page .search-modern::after {
    content: '';
    display: block;
    width: min(220px, 48%);
    height: 3px;
    margin: 0.8rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(246, 200, 90, 0.08) 0%, rgba(246, 200, 90, 0.72) 50%, rgba(246, 200, 90, 0.08) 100%);
}

.home-page .search-input-wrap {
    position: relative;
}

.home-page .search-modern .search-input {
    width: 100%;
    height: 60px;
    border-radius: 999px;
    border: 2px solid transparent;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    background: #ffffff;
    font-size: 1.03rem;
    font-weight: 500;
    color: #111827;
    padding: 0 62px 0 1.35rem;
}

.home-page .search-modern .search-input::placeholder {
    color: #94a3b8;
}

.home-page .search-modern .search-input:focus {
    border-color: rgba(246, 200, 90, 0.68);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
}

.home-page .search-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.home-page .search-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.home-page .home-categories {
    margin-top: 1.1rem;
}

.home-page .device-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-page .device-card-modern {
    min-height: 110px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: #111827;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1rem;
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.home-page .device-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fffcf1;
    border: 1.5px solid rgba(236, 196, 92, 0.45);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    color: #0f172a;
    display: grid;
    place-items: center;
}

.home-page .device-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.home-page .device-copy {
    display: grid;
    gap: 0.2rem;
    text-align: left;
}

.home-page .device-copy strong {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-page .device-copy small {
    color: #6b7280;
    font-size: 0.94rem;
}

.home-page .device-arrow {
    color: #f2ca70;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 700;
    transition: transform 250ms ease;
}

.home-page .device-card-modern:hover,
.home-page .device-card-modern:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    border-color: rgba(246, 200, 90, 0.58);
    outline: none;
}

.home-page .device-card-modern:hover .device-arrow,
.home-page .device-card-modern:focus-visible .device-arrow {
    transform: translateX(6px);
}

.home-page .site-footer-modern {
    margin-top: 1.4rem;
    background: #0f172a;
    border-top: 2px solid rgba(246, 200, 90, 0.3);
}

.home-page .site-footer-modern-inner {
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-page .site-footer-modern p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.94rem;
}

.home-page .site-footer-modern strong {
    color: #f2ca70;
}

@media (max-width: 1024px) {
    .home-page .device-grid-modern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .home-page .top-nav-inner {
        min-height: 72px;
        flex-wrap: wrap;
        padding: 0.45rem 0;
    }

    .home-page .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.28rem;
        border-radius: 14px;
        padding: 0.38rem;
    }

    .home-page .nav-links a {
        padding: 0.5rem 0.65rem;
    }

    .home-page .nav-links a.active::after {
        left: 10px;
        right: 10px;
        bottom: 4px;
    }
}

@media (max-width: 768px) {
    .home-page .home-main {
        padding-top: 1.4rem;
    }

    .home-page .site-footer-modern-inner {
        grid-template-columns: 1fr;
        display: grid;
    }

    .home-page .site-footer-modern-inner {
        min-height: 92px;
        align-items: center;
        padding: 0.8rem 0;
        text-align: center;
    }
}

@media (max-width: 580px) {
    .home-page .top-nav-inner,
    .home-page .home-main,
    .home-page .site-footer-modern-inner {
        width: calc(100% - 1rem);
    }

    .home-page .brand-logo,
    .home-page .brand-logo-fallback {
        width: 58px;
        height: 58px;
    }

    .home-page .brand-copy strong {
        font-size: 1.2rem;
    }

    .home-page .brand-copy small {
        font-size: 0.83rem;
    }

    .home-page .hero-logo,
    .home-page .hero-logo-fallback {
        width: 108px;
        height: 108px;
    }

    .home-page .hero-usta {
        width: min(220px, 74vw);
    }

    .home-page .search-modern .search-input {
        height: 56px;
        font-size: 0.95rem;
    }

    .home-page .device-grid-modern {
        grid-template-columns: 1fr;
    }

    .home-page .device-card-modern {
        min-height: 104px;
    }
}
