/* ==========================================
   CSS VARIABLES  — single source of truth
   Referenced by style.css AND includes/header.php
========================================== */
:root {
    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    /* Brand */
    --orange:       #ff6a00;
    --orange-dark:  #e05a00;
    --orange-light: #fff3ec;
    --orange-tint:  rgba(255, 106, 0, .08);
    --yellow:       #ffc107;
    --yellow-dark:  #e0a800;

    /* Neutrals */
    --dark:   #1a1a2e;
    --text:   #2d2d2d;
    --muted:  #7a7a8c;
    --border: #e8e8f0;
    --light:  #f8f9fa;

    /* Shape */
    --radius: 12px;
}

/* ==========================================
   1. GLOBAL LAYOUT
========================================== */
html, body { height: 100%; margin: 0; }

body {
    display: flex;
    flex-direction: column;
    background-color: var(--light);
    font-family: var(--font-body);
    color: var(--text);
}

.container { flex: 1; }

/* ==========================================
   2. BRAND UTILITIES
========================================== */
.bg-orange       { background-color: var(--orange) !important; color: #fff !important; }
.bg-yellow       { background-color: var(--yellow) !important; color: var(--dark) !important; }
.bg-orange-light { background-color: var(--orange-light) !important; }
.text-orange     { color: var(--orange) !important; }
.text-yellow     { color: var(--yellow) !important; }

/* ==========================================
   3. BUTTONS
   Double-class selectors (specificity 0-2-0) beat Bootstrap's
   single .btn rule (0-1-0) regardless of load order.
========================================== */

/* ── Yellow: light base, dark hover ── */
.btn.btn-yellow {
    background-color: var(--yellow);
    color:            var(--dark);
    border-color:     transparent;
    font-weight:      600;
}
.btn.btn-yellow:hover,
.btn.btn-yellow:focus-visible,
.btn.btn-yellow:active {
    background-color: var(--yellow-dark);
    color:            var(--dark);
    border-color:     transparent;
}

/* ── Orange ── */
.btn.btn-orange {
    background-color: var(--orange);
    color:            #fff;
    border-color:     var(--orange);
}
.btn.btn-orange:hover,
.btn.btn-orange:focus-visible,
.btn.btn-orange:active {
    background-color: var(--orange-dark);
    color:            #fff;
    border-color:     var(--orange-dark);
}

/* ── Primary (override Bootstrap's blue) ── */
.btn.btn-primary {
    background-color: var(--orange);
    color:            #fff;
    border-color:     var(--orange);
}
.btn.btn-primary:hover,
.btn.btn-primary:focus-visible,
.btn.btn-primary:active {
    background-color: var(--orange-dark);
    color:            #fff;
    border-color:     var(--orange-dark);
}

/* ── Outline orange ── */
.btn.btn-outline-orange {
    background-color: transparent;
    color:            var(--orange);
    border:           1px solid var(--orange);
}
.btn.btn-outline-orange:hover,
.btn.btn-outline-orange:focus-visible,
.btn.btn-outline-orange:active {
    background-color: var(--orange);
    color:            #fff;
    border-color:     var(--orange);
}

.badge.bg-orange { background-color: var(--orange) !important; }

.form-control:focus,
.form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 .2rem rgba(255, 106, 0, .15);
}

/* ==========================================
   4. TOP BAR
========================================== */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, .65);
    font-family: var(--font-body);
    font-size: .8rem;
    padding: .45rem 0;
}
.top-bar a         { color: rgba(255, 255, 255, .65); text-decoration: none; transition: color .18s; margin-left: 1.2rem; }
.top-bar a:hover   { color: var(--orange); }
.top-bar i         { color: var(--orange); }

/* ==========================================
   5. MAIN HEADER
========================================== */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .85rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

/* ==========================================
   6. NAV-TIER  (white two-row nav)
========================================== */
.nav-tier {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.nav-tier .navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 500;
    color: var(--text);
    padding: .7rem 1rem;
    transition: color .18s;
    position: relative;
}
.nav-tier .navbar-nav .nav-link:hover,
.nav-tier .navbar-nav .nav-link.active { color: var(--orange); background: transparent; }
.nav-tier .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--orange);
    border-radius: 2px;
}
@media (max-width: 991px) {
    .nav-tier .navbar-collapse { border-top: 1px solid var(--border); padding: .5rem 0; }
    .nav-tier .navbar-nav .nav-link.active::after { display: none; }
}

/* ==========================================
   7. HERO SLIDER
========================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 480px;
    background: var(--dark);
    -webkit-user-select: none;
    user-select: none;
}

/* ── Each slide ── */
.hs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity .75s ease;
}
.hs-slide.hs-active { opacity: 1; z-index: 1; }

/* ── Background image ── */
.hs-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Dark gradient — left text zone stays readable ── */
.hs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,.78) 0%,
        rgba(0,0,0,.44) 50%,
        rgba(0,0,0,.18) 100%
    );
}

/* ── Content block — bottom-left ── */
.hs-content {
    position: absolute;
    bottom: 56px;
    left: 40px;
    z-index: 2;
    max-width: 500px;
}
.hs-slide.hs-active .hs-content {
    animation: hsIn .65s .1s both;
}
@keyframes hsIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ── Badge ── */
.hs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 0 16px rgba(255,106,0,.55);
}

/* ── Headline ── */
.hs-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.7rem;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 2px 14px rgba(0,0,0,.55);
    margin: 0 0 10px;
}
.hs-title span { color: var(--orange); text-shadow: 0 0 22px rgba(255,106,0,.6); }

/* ── Subtitle ── */
.hs-sub {
    color: rgba(255,255,255,.88);
    font-size: 1rem;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
    margin: 0 0 22px;
}

/* ── CTA ── */
.hs-cta {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: 11px 34px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(255,106,0,.45);
    transition: background .18s, transform .18s, box-shadow .18s;
}
.hs-cta:hover {
    background: var(--orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(255,106,0,.55);
}

/* ── Dot indicators ── */
.hs-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 7px;
    align-items: center;
}
.hs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    padding: 0;
    transition: background .22s, width .25s, border-radius .25s;
}
.hs-dot.hs-dot-active {
    background: var(--orange);
    width: 26px;
    border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-slider { height: 360px; }
    .hs-content  { bottom: 44px; left: 24px; max-width: calc(100% - 48px); }
    .hs-title    { font-size: 1.85rem; }
    .hs-sub      { font-size: .88rem; margin-bottom: 16px; }
    .hs-cta      { font-size: .85rem; padding: 9px 24px; }
}
@media (max-width: 480px) {
    .hero-slider { height: 260px; }
    .hs-content  { bottom: 32px; left: 16px; }
    .hs-title    { font-size: 1.45rem; }
    .hs-sub      { display: none; }
    .hs-dots     { bottom: 12px; }
}

/* ==========================================
   8. SEARCH
========================================== */
.search-container {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
}

/* ==========================================
   9. PRODUCT CARDS
========================================== */
.product-card {
    padding: 10px;
    border-radius: var(--radius);
    transition: transform .2s, box-shadow .2s;
    background: #fff;
    overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, .10) !important; }

.card-img-top { height: 140px; object-fit: contain; transition: transform .3s; }
.product-card:hover .card-img-top { transform: scale(1.05); }

.product-card p          { font-size: 12px; line-height: 1.4; max-height: 33px; overflow: hidden; color: #666; }
.product-card .price     { font-size: 18px; font-weight: 800; color: var(--orange); }
.product-card .card-body { padding: 12px 10px; }
.product-card .btn       { padding: 8px; font-size: 14px; font-weight: 600; border-radius: 8px; text-transform: uppercase; }

/* Mobile — merged from two duplicate @media blocks */
@media (max-width: 576px) {
    .card-img-top        { height: 120px; }
    .product-card h5     { font-size: 13px; }
    .product-card h6     { font-size: 13px; margin-bottom: 4px; }
    .product-card p      { font-size: 11px; max-height: 32px; margin-bottom: 6px; }
    .product-card .price { font-size: 16px; }
    .product-card .btn   { font-size: 12px; padding: 6px; }
}
/* Desktop */
@media (min-width: 992px) {
    .product-card h6 { font-size: 14px; }
    .product-card p  { font-size: 12px; }
}

/* ==========================================
   10. CATEGORY LIST
========================================== */
.category-title { background-color: var(--orange); color: #fff; font-weight: 600; }

.section-bar { display: inline-block; width: 5px; height: 28px; border-radius: 4px; flex-shrink: 0; }

.list-group-item:hover { background-color: #f1f1f1; }

/* ==========================================
   11. PRODUCT GALLERY (THUMBNAILS)
========================================== */
#thumbCol .img-thumbnail { border-color: #ddd; transition: .3s; }
#thumbCol .img-thumbnail:hover,
#thumbCol .img-thumbnail.active-thumb {
    border-color: var(--yellow) !important;
    border-width: 2px;
    box-shadow: 0 0 6px rgba(255, 193, 7, .4);
}
.vertical-thumb { padding: .25rem; }

.logo            { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }
.navbar-brand img { max-width: 40px; height: auto; }

.thumb-col img { width: 65px; height: 65px; object-fit: cover; cursor: pointer; border: 1px solid #ddd; transition: .2s; }
.thumb-col img:hover,
.thumb-col img.active-thumb { border-color: var(--yellow); box-shadow: 0 0 6px rgba(255, 193, 7, .3); }

.main-product-img { max-height: 420px; object-fit: contain; }
.product-desc     { line-height: 1.6; font-size: .95rem; }

/* ==========================================
   12. TABLE
========================================== */
.table thead { background-color: var(--dark); color: #fff; }

/* ==========================================
   13. WHATSAPP FLOAT
========================================== */
.whatsapp-float {
    position: fixed;
    width: 55px; height: 55px;
    bottom: 20px; right: 20px;
    background-color: #25D366; color: #fff;
    border-radius: 50%; font-size: 28px;
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    text-decoration: none;
    transition: background .3s, transform .3s;
}
.whatsapp-float:hover { background-color: #1ebe5d; transform: scale(1.1); color: #fff; }

/* ==========================================
   14. TRUST STRIP
========================================== */
.trust-strip { background: #fff; border-bottom: 1px solid var(--border); padding: .55rem 0; }
.trust-item {
    display: flex; align-items: center; justify-content: center;
    gap: .4rem; font-size: .78rem; font-weight: 600; color: #555;
    padding: .35rem .5rem; border-right: 1px solid #f0f0f0;
}
.trust-item:last-child { border-right: none; }
.trust-item i { color: var(--orange); font-size: 1rem; flex-shrink: 0; }

/* ==========================================
   15. FILTER BAR
========================================== */
.filter-bar {
    background: #fff; border-bottom: 1px solid var(--border);
    padding: .75rem 0; position: sticky; top: var(--header-h, 0px); z-index: 100;
}
.filter-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: .28rem .85rem; border-radius: 999px; font-size: .78rem;
    font-weight: 600; border: 1.5px solid #e0e0e0;
    color: #555; background: #fff; text-decoration: none;
    transition: border-color .14s, background .14s, color .14s;
    white-space: nowrap;
}
.filter-pill:hover          { border-color: var(--orange); color: var(--orange); }
.filter-pill.active         { background: var(--orange); border-color: var(--orange); color: #fff; }
.filter-pill.active-section { background: var(--dark); border-color: var(--dark); color: #fff; }

.sort-select {
    border: 1.5px solid #e0e0e0; border-radius: 8px;
    font-size: .8rem; font-weight: 600; color: #333;
    padding: .3rem .75rem; cursor: pointer; background: #fff;
}
.sort-select:focus { outline: none; border-color: var(--orange); }

.shop-search-wrap { position: relative; }
.shop-search-wrap input {
    border: 1.5px solid #e0e0e0; border-radius: 8px;
    padding: .35rem .75rem .35rem 2.1rem;
    font-size: .8rem; width: 200px;
    transition: border-color .15s, width .2s;
}
.shop-search-wrap input:focus { border-color: var(--orange); outline: none; width: 240px; }
.shop-search-wrap .bi-search {
    position: absolute; left: .6rem; top: 50%; transform: translateY(-50%);
    color: #aaa; font-size: .85rem; pointer-events: none;
}
.result-count { font-size: .8rem; color: #888; }

/* ==========================================
   16. EMPTY STATE
========================================== */
.empty-shop { padding: 5rem 0; text-align: center; color: #aaa; }
.empty-shop i { font-size: 3rem; display: block; margin-bottom: .75rem; }

/* ==========================================
   17. SHARE WIDGET
========================================== */
.share-wrap { position: absolute; top: 8px; right: 8px; z-index: 2; }
.share-btn {
    width: 30px; height: 30px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.92); color: #555; font-size: .78rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.13);
    transition: background .15s, color .15s, transform .15s; padding: 0;
}
.share-btn:hover { background: var(--orange); color: #fff; transform: scale(1.08); }
.share-menu {
    position: absolute; top: 36px; right: 0; background: #fff;
    border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,.15);
    padding: 6px; display: none; flex-direction: row; gap: 6px; z-index: 3;
}
.share-menu.show { display: flex; }
.share-item {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; text-decoration: none;
    transition: transform .15s, opacity .15s;
}
.share-item:hover { transform: scale(1.12); opacity: .9; }
.share-wa { background: #25D366; color: #fff; }
.share-fb { background: #1877F2; color: #fff; }

/* ==========================================
   18. PRODUCT BADGES & QUICK-ADD
========================================== */
.product-badge {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    font-size: .62rem; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase; padding: 2px 8px;
    border-radius: 20px; line-height: 1.6; pointer-events: none;
}
.badge-deal    { background: var(--orange); color: #fff; box-shadow: 0 0 8px rgba(255,106,0,.35); }
.badge-popular { background: var(--dark);   color: #fff; }
.badge-new     { background: var(--yellow); color: var(--dark); }
.badge-stock   {
    position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
    font-size: .6rem; font-weight: 700; color: #c0392b;
    background: rgba(255,255,255,.92); border: 1px solid #f5c6cb;
    padding: 1px 7px; border-radius: 20px; white-space: nowrap;
    z-index: 2; pointer-events: none;
}

.cart-quick-btn {
    width: 36px; height: 36px; padding: 0; flex-shrink: 0;
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; font-size: .95rem;
    position: relative; z-index: 3;
}

/* ==========================================
   19. SHOP PAGE HERO
========================================== */
.shop-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 60%, #0f3460 100%);
    padding: 2.2rem 0 1.8rem;
    color: #fff;
}
.shop-hero h2 { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; }

/* ==========================================
   20. HOMEPAGE LAYOUT — Left Category Sidebar
========================================== */

/* ── Page wrapper (sidebar + content) ── */
.home-wrapper {
    display: flex;
    align-items: flex-start;
    position: relative;
    background: var(--light);
}

/* ── Sidebar shell ── */
.cat-sidebar {
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid var(--border);
    position: sticky;
    top: var(--header-h, 68px);
    max-height: calc(100vh - var(--header-h, 68px));
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
}
.cat-sidebar::-webkit-scrollbar { width: 4px; }
.cat-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── Sidebar header ── */
.cat-sidebar-hd {
    background: var(--dark);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .86rem;
    padding: .9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    letter-spacing: .3px;
    position: sticky;
    top: 0;
    z-index: 2;
}
.cat-sidebar-hd .cat-hd-icon { font-size: 1.05rem; color: var(--orange); flex-shrink: 0; }
.cat-sidebar-hd span { flex: 1; }

/* Close btn — mobile only */
.cat-sidebar-close {
    margin-left: auto;
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .85rem;
    flex-shrink: 0;
    transition: background .14s;
    padding: 0;
}
.cat-sidebar-close:hover { background: rgba(255,255,255,.25); }

/* ── Menu list ── */
.cat-menu-list {
    list-style: none;
    margin: 0;
    padding: .45rem 0;
}
.cat-menu-item { display: block; }

/* ── Menu links ── */
.cat-menu-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .54rem 1rem .54rem .95rem;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .83rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background .12s, color .12s, padding-left .12s, border-left-color .12s;
    line-height: 1.3;
}
.cat-menu-link .cat-icon {
    font-size: .95rem;
    color: var(--muted);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: color .12s;
}
.cat-menu-link .cat-label {
    flex: 1;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
}
.cat-menu-link .cat-arrow {
    font-size: .62rem;
    color: #ccc;
    flex-shrink: 0;
    transition: transform .12s, color .12s;
}

.cat-menu-link:hover {
    background: var(--orange-light);
    color: var(--orange);
    border-left-color: var(--orange);
    padding-left: 1.2rem;
}
.cat-menu-link:hover .cat-icon  { color: var(--orange); }
.cat-menu-link:hover .cat-arrow { transform: translateX(3px); color: var(--orange); }

.cat-menu-link.is-active {
    background: var(--orange-light);
    color: var(--orange);
    border-left-color: var(--orange);
    font-weight: 600;
}
.cat-menu-link.is-active .cat-icon  { color: var(--orange); }
.cat-menu-link.is-active .cat-arrow { color: var(--orange); }

/* Separator rule */
.cat-menu-sep {
    height: 1px;
    background: var(--border);
    margin: .4rem .85rem;
}

/* ── Main content column ── */
.home-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* ── Mobile "All Categories" bar ── */
.cat-mobile-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .5rem 1rem;
}
.cat-mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .42rem 1rem;
    font-size: .82rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: background .15s;
}
.cat-mobile-btn:hover { background: var(--orange); }

/* ── Mobile overlay ── */
.cat-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,10,30,.48);
    z-index: 1039;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.cat-sidebar-overlay.show { display: block; }

/* ── Responsive: collapse sidebar on <lg ── */
@media (max-width: 991px) {
    .home-wrapper { display: block; }

    .cat-sidebar {
        position: fixed;
        left: -295px;
        top: 0;
        height: 100vh;
        max-height: 100vh;
        width: 265px;
        min-width: 265px;
        z-index: 1040;
        transition: left .26s cubic-bezier(.4,0,.2,1);
        box-shadow: none;
    }
    .cat-sidebar.open {
        left: 0;
        box-shadow: 6px 0 36px rgba(0,0,0,.2);
    }
    .cat-sidebar-close { display: flex; }
    .home-content { width: 100%; }
}

/* ==========================================
   21. HOMEPAGE NAV BAR (above hero, desktop)
   Left section aligns with .cat-sidebar (230px)
   Right section aligns with .home-content
========================================== */
.homepage-nav {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-bottom: 1.5px solid var(--border);
    position: relative;
    z-index: 80;
}

/* Left "All Categories" block — same width as sidebar */
.hp-nav-cat {
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    background: var(--dark);
    color: #fff;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 0 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .2px;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
}
.hp-nav-cat i:first-child { color: var(--orange); font-size: .95rem; flex-shrink: 0; }
.hp-nav-cat span { flex: 1; }
.hp-nav-chevron { font-size: .62rem; color: rgba(255,255,255,.55); }

/* Right nav links */
.hp-nav-links {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 .25rem;
    gap: 0;
    overflow-x: auto;
}

.hp-nav-link {
    display: flex;
    align-items: center;
    padding: .78rem 1.05rem;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .87rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color .14s;
}
.hp-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2.5px;
    background: var(--orange);
    border-radius: 2px;
    transition: width .18s;
}
.hp-nav-link:hover          { color: var(--orange); }
.hp-nav-link:hover::after   { width: 65%; }
.hp-nav-link.hp-active      { color: var(--orange); font-weight: 600; }
.hp-nav-link.hp-active::after { width: 65%; }
