.hg-swiper-wrapper {
    position: relative;
    overflow: hidden;
    padding-block: 8px;
}

.hg-swiper-wrapper .swiper {
    padding-inline: 48px;
}

.hg-product-slide {
    height: auto;
}

.hg-product-card {
    height: 100%;
    min-height: 280px;
    border: none;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
}

.hg-product-card .card-img-top {
    padding: 20px 20px 0;
}

.hg-product-card .card-img-top img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.hg-product-card .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.hg-product-card .nav-link {
    font-size: 0.9rem;
    font-weight: 600;
}

.hg-product-card .h5 {
    font-size: 1rem;
    font-weight: 700;
}

.hg-app-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hg-app-section {
    background: #f5f7fb;
    padding: 90px 0 86px;
    overflow: hidden;
}

.hg-app-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
    align-items: center;
    gap: 48px;
    min-height: 500px;
}

.hg-app-copy {
    text-align: right;
    justify-self: end;
    max-width: 620px;
    order: 1;
}

.hg-app-title {
    color: #1f2933;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 18px;
}

.hg-app-desc {
    color: #8a97a8;
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 2.1;
    margin: 0 0 28px;
}

.hg-app-desc span {
    color: #f5b400;
    font-weight: 900;
}

.hg-app-links {
    display: grid;
    gap: 18px;
}

.hg-app-group strong {
    display: block;
    color: #1f2933;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hg-app-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(145px, 1fr));
    gap: 16px;
}

.hg-app-group + .hg-app-group .hg-app-buttons {
    grid-template-columns: repeat(2, minmax(145px, 1fr));
    max-width: 372px;
}

.hg-store-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid #e7ebf0;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font-size: .96rem;
    font-weight: 800;
    box-shadow: 0 7px 20px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hg-store-btn:hover {
    color: #111827;
    border-color: #f2bd12;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
}

.hg-store-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.hg-store-btn i {
    color: #111827;
    font-size: 1.45rem;
    line-height: 1;
}

.hg-pwa-mark {
    color: #5b32d6;
    font-weight: 900;
    line-height: 1;
}

.hg-app-visual {
    position: relative;
    order: 2;
    min-height: 470px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hg-app-visual-placeholder {
    /*border: 1px dashed rgba(148, 163, 184, .48);*/
    border-radius: 28px;
    /*background: rgba(255, 255, 255, .22);*/
}

@media (max-width: 991px) {
    .hg-app-section {
        padding: 64px 0 58px;
    }

    .hg-app-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 0;
    }

    .hg-app-copy {
        justify-self: center;
        text-align: center;
    }

    .hg-app-buttons,
    .hg-app-group + .hg-app-group .hg-app-buttons {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .hg-app-visual {
        min-height: 330px;
        order: 0;
    }

}

@media (max-width: 575px) {
    .hg-app-title {
        font-size: 1.45rem;
    }

    .hg-app-desc {
        font-size: .92rem;
        line-height: 2;
    }
}

.input-group-modern{
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
}

.input-group-modern input{
    border: none;
    flex: 1;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
    outline: none;
}

.input-group-modern span{
    padding: 12px 15px;
    background: #f0f0f0;
    font-size: 0.95rem;
    color: #777;
}

/* ============================================================
   Live price board  (.price-bar-compact* / .pb-*)
   Shared by home, chart pages & price-table. Consolidated +
   redesigned on brand tokens. .pb-item[data-type] + .active are
   toggled by the calculator buy/sell tabs (home/scripts.blade.php).
   ============================================================ */
.price-bar-compact-card,
.price-bar-compact {
    background: #fff;
    border-radius: 20px;
    padding: 16px 18px;
    border: 1px solid #eef1f6;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

.pb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eef1f6;
}

.pb-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 800;
    color: var(--text-dark, #1d1f23);
}

.pb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
    animation: pb-dot-pulse 1.8s infinite ease-out;
}

@keyframes pb-dot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.pb-time {
    font-size: .7rem;
    color: var(--text-muted, #94a3b8);
}

.pb-content {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.pb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f7f9fc;
    border: 1px solid #eef1f6;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

/* divider no longer needed (tiles + gap); kept harmless for markup */
.pb-divider { display: none; }

.pb-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pb-label {
    font-size: .74rem;
    font-weight: 700;
    color: var(--text-muted, #64748b);
}

.pb-change {
    font-size: .72rem;
    font-weight: 900;
}

.pb-change.up   { color: #16a34a; }
.pb-change.down { color: #dc2626; }

.pb-price {
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: .2px;
    color: var(--text-dark, #1e293b);
}

.pb-price small {
    font-size: .66rem;
    font-weight: 700;
    color: #9ca3af;
}

.pb-price.buy  { color: #0f8a5f; }
.pb-price.sell { color: #dc2626; }

/* highlighted tile (matches the active calculator mode) */
.pb-item.active {
    background: #fff;
    border-color: var(--brand-border, rgba(35, 101, 168, .25));
    box-shadow: 0 12px 26px rgba(35, 101, 168, .14);
    transform: translateY(-2px);
}

@media (max-width: 350px) {
    .pb-price { font-size: 1rem; }
    .pb-label { font-size: .66rem; }
}

.chart-tabs{
    display:flex;
    gap:10px;
    background:#f5f7fa;
    padding:6px;
    border-radius:14px;
    width:fit-content;
}

.chart-tab-btn{
    border:none;
    background:transparent;
    padding:8px 18px;
    border-radius:10px;
    font-family:YekanBakh;
    font-size:14px;
    cursor:pointer;
    transition:all .25s ease;
    color:#555;
}

.chart-tab-btn:hover{
    background:#e9edf5;
}

.chart-tab-btn.active{
    background:#2f55d4;
    color:#fff;
    box-shadow:0 4px 12px rgba(47,85,212,0.3);
    transform:translateY(-1px);
}

.chart-wrapper{
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 10px 35px rgba(0,0,0,0.05);
}

.chart-tabs{
    display:flex;
    gap:8px;
}

.chart-tab-btn{
    border:none;
    padding:8px 16px;
    border-radius:10px;
    background:#f1f4f9;
    cursor:pointer;
    font-size:13px;
    transition:.25s;
}

.chart-tab-btn:hover{
    background:#e6ebf5;
}

.chart-tab-btn.active{
    background:#2962ff;
    color:#fff;
    box-shadow:0 4px 12px rgba(41,98,255,.35);
}

:root {
    --chart-color: #3b82f6;
    --chart-color-light: rgba(59, 130, 246, 0.1);
}

.chart-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    font-family: 'YekanBakh', Tahoma, sans-serif;
}

.chart-box{
    position: relative;
    width: 100%;
    min-height: 300px;
}


.apex-chart{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-tabs {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.chart-tab-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.chart-tab-btn.active {
    background: #ffffff;
    color: var(--chart-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.chart-loader{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.spinner{
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--chart-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.apexcharts-tooltip {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    padding: 10px !important;
}


:root{
    --gold: #ffc300;
    --gold-dark: #ffb300;
    --gold-soft: rgba(255,195,0,.12);
    --text-dark: #111827;
}

.ultra-license-section{
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255,195,0,.18), transparent 25%),
        radial-gradient(circle at bottom left, rgba(255,195,0,.12), transparent 25%),
        linear-gradient(to bottom, #fffdf7, #ffffff);
}

.license-bg-blur{
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.blur-1{
    width: 280px;
    height: 280px;
    background: rgba(255,195,0,.12);
    top: -80px;
    right: -80px;
}

.blur-2{
    width: 240px;
    height: 240px;
    background: rgba(255,195,0,.10);
    bottom: -60px;
    left: -60px;
}

.premium-badge{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,195,0,.12);
    border: 1px solid rgba(255,195,0,.25);
    color: #b88400;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.premium-badge span{
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold);
}

.ultra-license-title{
    font-size: 48px;
    font-weight: 900;
    line-height: 1.4;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.ultra-license-title::after{
    content: "";
    display: block;
    width: 120px;
    height: 5px;
    border-radius: 999px;
    margin: 20px auto 0;
    background: linear-gradient(to left, #ffe082, var(--gold));
}

.ultra-license-desc{
    max-width: 760px;
    margin: 30px auto 0;
    font-size: 16px;
    color: #6b7280;
    line-height: 2.2;
}

.ultra-license-card{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 30px 20px;
    border-radius: 30px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,195,0,.16);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: .45s ease;
    text-decoration: none;
    box-shadow:
        0 10px 30px rgba(0,0,0,.05),
        0 2px 10px rgba(255,195,0,.06);
}

.ultra-license-card:hover{
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255,195,0,.45);
    box-shadow:
        0 25px 60px rgba(0,0,0,.08),
        0 10px 35px rgba(255,195,0,.18);
}

.card-shine{
    position: absolute;
    top: -120%;
    left: -40%;
    width: 80px;
    height: 280%;
    background: rgba(255,255,255,.45);
    transform: rotate(25deg);
    transition: .9s;
}

.ultra-license-card:hover .card-shine{
    left: 130%;
}

.license-image-box{
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg,#ffffff,#fff8e1);
    border: 1px solid rgba(255,195,0,.18);
    box-shadow:
        inset 0 2px 12px rgba(255,255,255,.9),
        0 8px 25px rgba(255,195,0,.12);
    padding: 14px;
    margin-bottom: 26px;
    transition: .4s ease;
}

.ultra-license-card:hover .license-image-box{
    transform: scale(1.08) rotate(-2deg);
}

.license-image-box::before{
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg,
    rgba(255,255,255,.9),
    rgba(255,195,0,.18));
    z-index: -1;
}

.license-image-box img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.license-content h5{
    font-size: 16px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.8;
}

.license-content span{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b88400;
    font-size: 13px;
    font-weight: 800;
    transition: .3s ease;
}

.license-content span::before{
    content: "↖";
    font-size: 12px;
    transition: .3s ease;
}

.ultra-license-card:hover .license-content span{
    letter-spacing: .3px;
}

.ultra-license-card:hover .license-content span::before{
    transform: translate(-3px,-2px);
}

.col-xl-custom{
    width: 20%;
}

@media(max-width:1200px){
    .col-xl-custom{
        width: 25%;
    }
}

@media(max-width:992px){
    .col-xl-custom{
        width: 33.333%;
    }

    .ultra-license-title{
        font-size: 38px;
    }
}

@media(max-width:768px){

    .ultra-license-section{
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .ultra-license-title{
        font-size: 30px;
        line-height: 1.7;
    }

    .ultra-license-desc{
        font-size: 14px;
        line-height: 2;
    }

    .ultra-license-card{
        border-radius: 24px;
        padding: 22px 14px;
    }

    .license-image-box{
        width: 90px;
        height: 90px;
        border-radius: 22px;
    }

    .license-content h5{
        font-size: 14px;
    }

    .col-xl-custom{
        width: 50%;
    }
}

:root{
    --brand-main:#2365A8;
    --brand-main-2:#3E8DD2;
    --brand-border:rgba(35,101,168,.20);
    --text-dark:#1D1F23;
    --text-muted:#647184;
    --bg-light:#F7F9FC;
}

/* ============================================================
   Home · Licenses & Certifications  (.finalboss-section / .fb-*)
   Light #F5F7F6 background, gold palette, RTL Bootstrap row.
   Slider: track translates on JS, 5 visible desktop / 3 tablet / 2 mobile.
   ============================================================ */
.finalboss-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(60px, 8vw, 100px) 0;
    background: #F5F7F6;
}

/* ambient orbs */
.finalboss-section::before,
.finalboss-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
}
.finalboss-section::before {
    top: -120px; inset-inline-start: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(252,190,13,.16), transparent 70%);
    animation: fbOrb 13s ease-in-out infinite;
}
.finalboss-section::after {
    bottom: -100px; inset-inline-end: -60px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(249,219,129,.12), transparent 70%);
    animation: fbOrb 17s ease-in-out infinite reverse;
}
@keyframes fbOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(20px, 16px) scale(1.08); }
}

/* ── image column (right in RTL) ── */
.fb-img-col {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.fb-cert-img {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 52px rgba(15,23,42,.16));
    transition: transform .4s ease;
}
.fb-img-col:hover .fb-cert-img { transform: translateY(-8px) scale(1.02); }

/* ── content column (left in RTL) ── */
.fb-content {
    position: relative;
    z-index: 1;
    padding: 8px 0;
}

/* badge */
.fb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(252,190,13,.35);
    background: rgba(252,190,13,.08);
    color: #B8860B;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.fb-badge-dot {
    width: 8px; height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #FCBE0D;
    box-shadow: 0 0 0 0 rgba(252,190,13,.55);
    animation: fbBadgePulse 2s ease-out infinite;
}
@keyframes fbBadgePulse {
    0%   { box-shadow: 0 0 0 0   rgba(252,190,13,.55); }
    70%  { box-shadow: 0 0 0 9px rgba(252,190,13,0); }
    100% { box-shadow: 0 0 0 0   rgba(252,190,13,0); }
}

.fb-title {
    margin: 0 0 12px;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.5;
    color: #2F3235;
}
.fb-desc {
    margin: 0 0 28px;
    font-size: 14.5px;
    line-height: 2;
    color: #939598;
}

/* ── slider ── */
.fb-slider {
    overflow: hidden;
    direction: rtl;   /* match track direction so right-side is the overflow anchor */
    padding: 8px 0 16px;
    /* fade edges to hint at more cards (peek effect) */
    -webkit-mask-image: linear-gradient(to left,
    transparent 0%,
    #000 48px,
    #000 calc(100% - 48px),
    transparent 100%
    );
    mask-image: linear-gradient(to left,
    transparent 0%,
    #000 48px,
    #000 calc(100% - 48px),
    transparent 100%
    );
}
.fb-slider-track {
    display: flex;
    flex-direction: row;
    direction: rtl;    /* RTL: card[0] anchors to the right edge */
    gap: 16px;
    transition: transform .4s cubic-bezier(.22,1,.36,1);
    will-change: transform;
    cursor: grab;
    user-select: none;
}
.fb-slider-track.fb-grabbing { cursor: grabbing; }
.fb-slider-track.fb-no-anim  { transition: none !important; }

.fb-card {
    flex: 0 0 148px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1.5px solid rgba(252,190,13,.14);
    box-shadow: 0 6px 20px rgba(15,23,42,.06);
    text-decoration: none;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    height: 180px;
    justify-content: space-between;
}
.fb-card:hover {
    transform: translateY(-6px);
    border-color: rgba(252,190,13,.40);
    box-shadow: 0 18px 40px rgba(252,190,13,.16);
}

.fb-icon {
    width: 76px; height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #f8f9fa;
    padding: 8px;
}
.fb-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform .24s ease;
}
.fb-card:hover .fb-icon img { transform: scale(1.08); }

.fb-card-label {
    font-size: 11px;
    font-weight: 800;
    color: #2F3235;
    text-align: center;
    line-height: 1.6;
    direction: rtl;
    flex: 1;
    margin: 10px auto;
}

/* ── nav: prev | dots | next ── */
.fb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    direction: ltr;
}
.fb-nav-btn {
    width: 42px; height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1.5px solid rgba(252,190,13,.30);
    background: #fff;
    color: #2F3235;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15,23,42,.06);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}
.fb-nav-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(252,190,13,.55);
    box-shadow: 0 10px 24px rgba(252,190,13,.18);
}
.fb-nav-btn:active { transform: scale(.96); }
.fb-nav-btn.fb-nav-btn--gold {
    border-color: transparent;
    background: linear-gradient(135deg, #FCBE0D, #F9DB81);
    color: #2F3235;
    box-shadow: 0 10px 24px rgba(252,190,13,.32);
}
.fb-nav-btn.fb-nav-btn--gold:hover {
    box-shadow: 0 14px 32px rgba(252,190,13,.40);
    transform: translateY(-2px);
}
.fb-nav-btn.is-disabled {
    opacity: .35;
    pointer-events: none;
}

/* dots */
.fb-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}
.fb-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(147,149,152,.30);
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, transform .2s ease, width .25s ease;
}
.fb-dot.is-active {
    background: #FCBE0D;
    width: 22px;
    border-radius: 4px;
    transform: none;
}

/* cursor spotlight (JS-driven) */
.fb-spotlight {
    position: fixed;
    width: 320px; height: 320px;
    margin: -160px 0 0 -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252,190,13,.07), transparent 65%);
    pointer-events: none;
    z-index: 9999;
    transition: opacity .2s ease;
}

/* ── responsive ── */
@media (max-width: 991px) {
    .finalboss-section { padding: 64px 0; }
    .fb-card { flex: 0 0 140px; }
}
@media (max-width: 767px) {
    .finalboss-section { padding: 52px 0; }
    .fb-title { font-size: 22px; }
    .fb-desc  { font-size: 13.5px; margin-bottom: 20px; }
    .fb-card  { flex: 0 0 132px; }
}
@media (max-width: 575px) {
    .finalboss-section { padding: 44px 0; }
    .fb-card  { flex: 0 0 124px; }
    .fb-spotlight { display: none; }
    .finalboss-section::before,
    .finalboss-section::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .finalboss-section::before,
    .finalboss-section::after,
    .fb-badge-dot { animation: none; }
    .fb-card, .fb-nav-btn, .fb-icon img,
    .fb-dot, .fb-slider-track,
    .fb-cert-img { transition: none; }
}


.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
    transition: all 1s cubic-bezier(.22,1,.36,1);
    will-change: transform, opacity;
}
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-fade.is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .25s; }
.delay-3 { transition-delay: .4s; }
.delay-4 { transition-delay: .55s; }
.delay-5 { transition-delay: .7s; }
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade{
    opacity:0;
    transition:
        opacity 1s cubic-bezier(.22,1,.36,1),
        transform 1s cubic-bezier(.22,1,.36,1),
        filter 1s cubic-bezier(.22,1,.36,1);
    will-change:transform, opacity, filter;
    filter:blur(8px);
}

.reveal-up{
    transform:translateY(55px);
}

.reveal-left{
    transform:translateX(-70px) scale(.96);
}

.reveal-right{
    transform:translateX(70px) scale(.96);
}

.reveal-scale{
    transform:scale(.9) translateY(30px);
}

.reveal-fade{
    transform:translateY(20px);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-fade.is-visible{
    opacity:1;
    transform:none;
    filter:blur(0);
}

.delay-1{ transition-delay: .15s; }
.delay-2{ transition-delay: .35s; }
.delay-3{ transition-delay: .55s; }
.delay-4{ transition-delay: .75s; }
.delay-5{ transition-delay: .95s; }
.delay-6{ transition-delay: 1.15s; }
.delay-7{ transition-delay: 1.35s; }
.delay-8{ transition-delay: 1.55s; }
.chart-price-range{
    display:flex;
    gap:16px;
    margin-top:15px;
}

.chart-price-range__item{
    flex:1;
    background:#fff;
    border-radius:12px;
    padding:12px 14px;
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
    display:flex;
    flex-direction:column;
    gap:6px;
    transition:all .25s ease;
    border:1px solid #f1f1f1;
}

.chart-price-range__item:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.chart-price-range__item span{
    font-size:12px;
    color:#777;
}

.chart-price-range__item strong{
    font-size:15px;
    font-weight:700;
    color:#222;
}

#chartMaxPrice{
    color:#16a34a;
}

#chartMinPrice{
    color:#dc2626;
}

/* ============================================================
   Site Footer  (.hg-foot)
   ============================================================ */
.hg-foot {
    /* palette: golden amber + deep navy-teal */
    --foot-bg-1: #123a45;
    --foot-bg-2: #0b242c;
    --foot-ink: #ffffff;
    --foot-muted: rgba(232, 240, 243, .62);
    --foot-line: rgba(255, 255, 255, .10);
    --foot-gold: #f6b92d;
    --foot-gold-2: #ffce4d;

    background: #ffffff;
    padding: 0 0 24px;
}

.hg-foot-panel {
    position: relative;
    margin-top: 24px;
    padding: 56px clamp(20px, 5vw, 64px) 67px;
    border-radius: 32px;
    /*background: linear-gradient(180deg, var(--foot-bg-1) 0%, var(--foot-bg-2) 100%);*/
    background: linear-gradient(  180deg,  #353A40 0%,  #272B30 50%,  #1E2226 100%);
}

/* --- brand / CTA --- */
.hg-foot-cta {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.hg-foot-mark {
    display: inline-block;
    margin-bottom: 22px;
}

.hg-foot-mark img {
    height: 200px;
    width: auto;
    /* render the dark/gold mark as a clean monochrome on the dark panel */
    filter: brightness(0) invert(1);
}

.hg-foot-cta-title {
    margin: 0 0 14px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.6;
    color: var(--foot-ink);
}

.hg-foot-cta-desc {
    margin: 0 auto 26px;
    max-width: 460px;
    font-size: 15px;
    line-height: 2;
    color: var(--foot-muted);
}

.hg-foot-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--foot-gold), var(--foot-gold-2));
    color: var(--foot-bg-2);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(246, 185, 45, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hg-foot-cta-btn:hover {
    color: var(--foot-bg-2);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(246, 185, 45, .42);
}

.hg-foot-divider {
    height: 1px;
    margin: 44px 0;
    background: linear-gradient(90deg, transparent, var(--foot-line) 18%, var(--foot-line) 82%, transparent);
}

/* --- link columns --- */
.hg-foot-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px clamp(48px, 9vw, 130px);
    text-align: center;
}

.hg-foot-col {
    min-width: 150px;
}

.hg-foot-heading {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 900;
    color: var(--foot-ink);
}

.hg-foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 13px;
}

.hg-foot-links a {
    color: var(--foot-muted);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, padding-inline-end .2s ease;
}

.hg-foot-links a:hover {
    color: var(--foot-gold);
    padding-inline-end: 5px;
}

/* --- contact (own centered section) --- */
.hg-foot-contact {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--foot-line);
}

.hg-foot-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px clamp(20px, 4vw, 44px);
}

.hg-foot-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--foot-muted);
    font-size: 14px;
    line-height: 1.9;
}

.hg-foot-contact-list a {
    color: var(--foot-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.hg-foot-contact-list a:hover {
    color: var(--foot-gold);
}

.hg-foot-ic {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--foot-gold);
    background: rgba(246, 185, 45, .14);
    border: 1px solid rgba(246, 185, 45, .28);
}

/* --- trust badges --- */
.hg-foot-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid var(--foot-line);
}

.hg-foot-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 8px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hg-foot-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(246, 185, 45, .22);
}

.hg-foot-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- bottom bar --- */
.hg-foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--foot-line);
}

.hg-foot-copy {
    margin: 0;
    font-size: 13.5px;
    color: var(--foot-muted);
}

.hg-foot-legal {
    display: flex;
    gap: 22px;
}

.hg-foot-legal a {
    color: var(--foot-muted);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.hg-foot-legal a:hover {
    color: var(--foot-gold);
}

/* --- responsive --- */
@media (max-width: 991px) {
    .hg-foot-grid { gap: 28px clamp(36px, 8vw, 80px); }
    .hg-foot-cta-title { font-size: 26px; }
}

@media (max-width: 575px) {
    .hg-foot-panel { margin-top: 16px; padding: 40px 20px 82px; border-radius: 24px; }
    .hg-foot-cta-title { font-size: 21px; }
    .hg-foot-divider { margin: 32px 0; }
    .hg-foot-grid { gap: 24px 32px; }
    .hg-foot-contact-list { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hg-foot-badge { width: 56px; height: 56px; border-radius: 14px; }
    .hg-foot-bottom { flex-direction: column; text-align: center; }
    .hg-foot-legal { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .hg-foot-cta-btn,
    .hg-foot-badge,
    .hg-foot-links a { transition: none; }
}

/* ============================================================
   Site Navbar  (.hg-nav)
   Floating sticky bar: brand + centered pill menu (active item
   highlighted) + actions group with a primary CTA. RTL, brand
   tokens. Overrides theme #topnav.
   ============================================================ */
#topnav.hg-nav {
    position: fixed;
    top: 0;
    z-index: 1030;
    width: 100%;
    padding: 10px 0px;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.hg-nav--pill {
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    _backdrop-filter: saturate(180%) blur(12px);
    border: 1px solid #e2e8f0;
    border-radius: 20px 20px 0 0;
    margin: 12px 16px 0;
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.05), 0 1px 0 rgba(255,255,255,0.8) inset;
}

.hg-nav--pill .hg-nav-inner {
    min-height: 58px;
}

.hg-nav--pill .hg-nav-brand img {
    height: 48px;
}

.hg-nav--pill .hg-nav-menu {
    padding: 4px;
    gap: 2px;
}

.hg-nav--pill .hg-nav-link {
    padding: 7px 14px;
    font-size: 13.5px;
}

.hg-nav--pill .hg-nav-cta {
    padding: 8px 18px;
    font-size: 13px;
}

.hg-nav--pill.nav-sticky {
    border-radius: 20px 20px 0 0;
}

@media (max-width: 991px) {
    .hg-nav--pill {
        margin: 8px 10px 0;
        border-radius: 16px 16px 0 0;
    }

    .hg-nav--pill .hg-nav-inner {
        min-height: 54px;
    }

    .hg-nav--pill .hg-nav-brand img {
        height: 42px;
    }
}

/* theme adds .nav-sticky on scroll — deepen the floating pill shadow */
#topnav.hg-nav.nav-sticky {
    box-shadow: none;
}

#topnav.hg-nav.nav-sticky .hg-nav-inner {
    _box-shadow: 0 14px 40px rgba(15, 23, 42, .12);
}

/* the whole bar is one floating rounded-pill */
.hg-nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
    min-height: 64px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #eef1f6;
    _box-shadow: 0 10px 34px rgba(15, 23, 42, .08);
    transition: box-shadow .25s ease;
}

/* --- brand --- */
.hg-nav-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.hg-nav-brand img {
    height: 44px;
    width: auto;
}

/* --- centered plain-text menu --- */
.hg-nav-menu {
    position: absolute;
    inset-inline: 0;
    width: max-content;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hg-nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.hg-nav-link:hover {
    color: var(--text-dark);
    background: #f5f7fa;
}

.hg-nav-link.active {
    background: transparent;
    color: var(--gold-dark);
    font-weight: 800;
    box-shadow: none;
}

/* --- actions --- */
.hg-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hg-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d2733, #0e1620);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hg-nav-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .30);
}

/* reskin the livewire install-app button as a plain (ghost) text link */
.hg-nav-install .btn,
.hg-nav-install > a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-height: 0 !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--text-dark) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition: color .2s ease, background .2s ease !important;
}

.hg-nav-install .btn:hover,
.hg-nav-install > a:hover {
    background: #f5f7fa !important;
    color: var(--brand-main) !important;
}

.hg-nav-burger {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e6eaf0;
    border-radius: 14px;
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hg-nav-burger:hover {
    border-color: var(--brand-border);
    box-shadow: 0 8px 20px rgba(35, 101, 168, .12);
}

/* --- responsive --- */
@media (max-width: 991px) {
    .hg-nav-menu { display: none; }
    .hg-nav-cta { display: none; }
    .hg-nav-burger { display: inline-flex; }
    .hg-nav-inner { min-height: 64px; }
}

@media (max-width: 575px) {
    .hg-nav-install { display: none; }
    .hg-nav-brand img { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    #topnav.hg-nav,
    .hg-nav-cta,
    .hg-nav-link,
    .hg-nav-burger { transition: none; }
}

/* --- products mega-dropdown (desktop navbar) --- */
.hg-nav-dd {
    position: relative;
    display: inline-flex;
}

.hg-nav-dd-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hg-nav-dd-caret {
    font-size: 16px;
    transition: transform .2s ease;
}

.hg-nav-dd:hover .hg-nav-dd-caret,
.hg-nav-dd:focus-within .hg-nav-dd-caret {
    transform: rotate(180deg);
}

.hg-nav-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 560px;
    max-width: 90vw;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #eef1f6;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 1040;
}

/* hover bridge so the gap to the pill doesn't drop the hover */
.hg-nav-panel::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.hg-nav-dd:hover .hg-nav-panel,
.hg-nav-dd:focus-within .hg-nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.hg-nav-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.hg-nav-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.hg-nav-cat:hover {
    background: #f5f7fa;
    border-color: var(--brand-border);
    transform: translateY(-2px);
}

.hg-nav-cat.is-active {
    background: rgba(35, 101, 168, .06);
    border-color: var(--brand-border);
}

.hg-nav-cat-img {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    overflow: hidden;
    background: #f1f4f9;
}

.hg-nav-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hg-nav-cat-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hg-nav-cat-text strong {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hg-nav-cat-text small {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hg-nav-panel-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 11px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-main), var(--brand-main-2));
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hg-nav-panel-all:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(35, 101, 168, .28);
}

.hg-nav-panel-all i { font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
    .hg-nav-panel, .hg-nav-dd-caret, .hg-nav-cat, .hg-nav-panel-all { transition: none; }
}

/* ============================================================
   Mobile menu drawer  (.hg-menu — Bootstrap offcanvas)
   Clean white sidebar: brand header, CTA card, grouped rows
   with muted line icons, active row as a raised white card,
   pinned app-download footer. RTL, brand tokens.
   ============================================================ */
.offcanvas.hg-menu {
    width: 332px;
    max-width: 86vw;
    border: 0;
    background: #fff;
    box-shadow: -24px 0 60px rgba(15, 23, 42, .14);
}

.hg-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #eef1f6;
}

.hg-menu-brand img {
    display: block;
    height: 40px;
    width: auto;
}

.hg-menu-close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    background: #fff;
    color: var(--text-dark, #1d1f23);
    font-size: 20px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.hg-menu-close:hover {
    background: #f5f7fa;
    color: var(--brand-main, #2365A8);
    border-color: var(--brand-border, rgba(35, 101, 168, .2));
}

.hg-menu-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px;
}

/* highlighted CTA card (top) */
.hg-menu-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    background: linear-gradient(135deg, #ffc300, #ffb300);
    color: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hg-menu-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(35, 101, 168, .36);
}

.hg-menu-cta-ic {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    font-size: 22px;
}

.hg-menu-cta-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.hg-menu-cta-text small { font-size: 11px; opacity: .85; }
.hg-menu-cta-text strong { font-size: 15px; font-weight: 800; }
.hg-menu-cta-arrow { font-size: 20px; opacity: .9; }

/* section label */
.hg-menu-section {
    display: block;
    margin-top: 10px;
    padding: 8px 12px 4px;
    font-size: 11.5px;
    font-weight: 800;
    color: #9aa6b4;
}

/* nav rows */
.hg-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hg-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 14px;
    color: var(--text-muted, #647184);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hg-menu-link i {
    font-size: 20px;
    line-height: 1;
    color: #9aa6b4;
    transition: color .2s ease;
}

.hg-menu-link:hover {
    background: #f5f7fa;
    color: var(--text-dark, #1d1f23);
}

.hg-menu-link:hover i { color: var(--brand-main, #2365A8); }

.hg-menu-link.active {
    background: #fff;
    color: var(--text-dark, #1d1f23);
    border-color: #eef1f6;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
}

.hg-menu-link.active i { color: #ffc300; }

/* pinned footer (app downloads) */
.hg-menu-footer {
    flex-shrink: 0;
    padding: 12px 16px 18px;
    border-top: 1px solid #eef1f6;
}

.hg-menu-footer .hg-menu-section { margin-top: 0; }

.hg-menu-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hg-menu-app {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e6eaf0;
    background: #fff;
    color: var(--text-dark, #1d1f23);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hg-menu-app:hover {
    color: var(--text-dark, #1d1f23);
    border-color: var(--brand-border, rgba(35, 101, 168, .2));
    box-shadow: 0 6px 16px rgba(35, 101, 168, .10);
}

.hg-menu-app img { height: 18px; width: auto; }
.hg-menu-app i { font-size: 16px; color: var(--brand-main, #2365A8); }

@media (prefers-reduced-motion: reduce) {
    .hg-menu-cta,
    .hg-menu-link,
    .hg-menu-close,
    .hg-menu-app { transition: none; }
}

/* --- badge --- */
.hg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(252, 190, 13, .14);
    border: 1px solid rgba(252, 190, 13, .35);
    color: #b38600;
    font-size: 13px;
    font-weight: 800;
    width: fit-content;
}

.hg-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FCBE0D;
    box-shadow: 0 0 0 0 rgba(252, 190, 13, .5);
    animation: hgHero2Pulse 2s ease-out infinite;
    flex-shrink: 0;
}

@keyframes hgHeroPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 195, 0, .5); }
    70%  { box-shadow: 0 0 0 9px rgba(255, 195, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 195, 0, 0); }
}

/* --- headline --- */
.hg-hero-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1.4;
    font-weight: 900;
    letter-spacing: -.5px;
    color: var(--text-dark);
}

.hg-hero-title-accent {
    background: var(--gold-dark);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hg-hero-desc {
    max-width: 620px;
    margin: 0 auto 32px;
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 2.1;
    color: var(--text-muted);
}

.hg-hero-desc strong {
    color: var(--text-dark);
    font-weight: 800;
}

/* --- CTAs --- */
.hg-hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
}

.hg-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

.hg-hero-btn-primary {
    background: linear-gradient(135deg, #1d2733, #0e1620);
    color: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .22);
}

.hg-hero-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, .30);
}

.hg-hero-btn-ghost {
    background: rgba(255, 255, 255, .8);
    color: var(--text-dark);
    border: 1px solid var(--brand-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.hg-hero-btn-ghost:hover {
    color: var(--brand-main);
    border-color: var(--brand-main);
    transform: translateY(-2px);
}

/* --- feature chips --- */
.hg-hero-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hg-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid #e9edf3;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
}

.hg-hero-chip-ic {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
}

.hg-hero-chip-ic i {
    font-size: 16px;
    line-height: 1;
}

.hg-hero-chip-ic-gold   { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.hg-hero-chip-ic-blue   { background: linear-gradient(135deg, var(--brand-main), var(--brand-main-2)); }
.hg-hero-chip-ic-green  { background: linear-gradient(135deg, #16a34a, #22c55e); }
.hg-hero-chip-ic-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }

/* --- responsive --- */
@media (max-width: 575px) {
    .hg-hero-cta { flex-direction: column; align-items: stretch; }
    .hg-hero-btn { justify-content: center; }
    .hg-hero-orb { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hg-hero-badge-dot { animation: none; }
    .hg-hero-btn { transition: none; }
}

/* ============================================================
   Floating widget · Gold purchase calculator (.hg-purchase-calculator)
   Moved from components/gold-purchase-calculator.blade.php
   ============================================================ */

/* --- modal mode (opened from the hero via [data-open-gold-calc]) --- */
.hg-purchase-calculator__backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, .55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: hgCalcFade .2s ease;
}

.hg-purchase-calculator__backdrop[hidden] {
    display: none;
}

@keyframes hgCalcFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hg-purchase-calculator.is-modal .hg-purchase-calculator__panel {
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 10000;
    width: min(420px, calc(100vw - 32px));
    height: -moz-max-content;
    height: max-content;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    transform-origin: center;
}

.hg-purchase-calculator.is-modal .hg-purchase-calculator__panel[hidden] {
    transform: translateY(8px) scale(.96);
}

/* keep the floating launcher out of the way while the modal is open */
.hg-purchase-calculator.is-modal .hg-purchase-calculator__launcher {
    visibility: hidden;
}

body.hg-modal-open {
    overflow: hidden;
}

.hg-purchase-calculator {
    --hg-calc-gold: #e3ad3b;
    --hg-calc-gold-light: #f8d981;
    --hg-calc-ink: #17130c;
    position: fixed;
    left: 18px;
    bottom: 164px;
    z-index: 9999;
    display: flex;
    max-width: calc(100vw - 24px);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    color: var(--hg-calc-ink);
    font-family: YekanBakh, Tahoma, "Segoe UI", sans-serif;
}

.hg-purchase-calculator,
.hg-purchase-calculator * {
    box-sizing: border-box;
}

.hg-purchase-calculator__panel {
    width: min(390px, calc(100vw - 24px));
    overflow: hidden;
    border: 1px solid rgba(227, 173, 59, .28);
    border-radius: 24px;
    background: #fff;
    box-shadow:
        0 32px 70px rgba(27, 20, 8, .22),
        0 8px 20px rgba(27, 20, 8, .08);
    transform-origin: bottom left;
    transition: opacity 200ms cubic-bezier(.22, 1, .36, 1), transform 200ms cubic-bezier(.22, 1, .36, 1), visibility 200ms ease;
}

.hg-purchase-calculator__panel[hidden] {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px) scale(.98);
    pointer-events: none;
}

/* hide Alpine-controlled elements until Alpine initializes (no flash on load) */
[x-cloak] { display: none !important; }

/* centered modal (opened from hero / toolbar via open-gold-calc) */
.hg-gc--modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(420px, calc(100vw - 32px));
    height: -moz-max-content;
    height: max-content;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    z-index: 10000;
    transform-origin: center;
    border-radius: 24px;
    box-shadow:
        0 32px 80px rgba(15, 23, 42, .28),
        0 8px 24px rgba(15, 23, 42, .12);
}

.hg-gc--modal[hidden] {
    visibility: hidden;
    opacity: 0;
    transform: scale(.95) translateY(8px);
    pointer-events: none;
}

.hg-purchase-calculator__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 0, rgba(248, 217, 129, .3), transparent 42%),
        linear-gradient(135deg, #2b2110, #0f0d09 72%);
}

.hg-purchase-calculator__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--hg-calc-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
}

.hg-purchase-calculator__header h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.hg-purchase-calculator__close {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
}

.hg-purchase-calculator__close svg,
.hg-purchase-calculator__action svg,
.hg-purchase-calculator__launcher svg,
.hg-purchase-calculator__swap svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hg-purchase-calculator__price {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 43px;
    padding: 10px 20px;
    border-bottom: 1px solid #f0ece4;
    background: #fffcf5;
    color: #756b5b;
    font-size: 11px;
}

.hg-purchase-calculator__price strong {
    margin-right: auto;
    color: #312817;
    font-size: 12px;
    font-weight: 800;
}

.hg-purchase-calculator__price.is-error strong {
    color: #b42318;
}

.hg-purchase-calculator__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #21b573;
    box-shadow: 0 0 0 0 rgba(33, 181, 115, .45);
    animation: hgCalcPulse 2s ease-out infinite;
}

@keyframes hgCalcPulse {
    0%   { box-shadow: 0 0 0 0 rgba(33, 181, 115, .45); }
    70%  { box-shadow: 0 0 0 7px rgba(33, 181, 115, 0); }
    100% { box-shadow: 0 0 0 0 rgba(33, 181, 115, 0); }
}

.hg-purchase-calculator__price.is-error .hg-purchase-calculator__status-dot {
    background: #d92d20;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, .1);
}

.hg-purchase-calculator__body {
    padding: 20px;
}

.hg-purchase-calculator__field {
    display: block;
    margin: 0;
    color: #423a2d;
    font-size: 13px;
    font-weight: 700;
}

.hg-purchase-calculator__input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 4px 12px 4px 5px;
    border: 1px solid #e7e0d4;
    border-radius: 14px;
    background: #fbfaf8;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.hg-purchase-calculator__input-wrap:focus-within {
    border-color: var(--hg-calc-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(227, 173, 59, .13);
}

.hg-purchase-calculator__input-wrap input {
    width: 100%;
    min-width: 0;
    height: 43px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1b1710;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    text-align: right;
}

.hg-purchase-calculator__input-wrap input::placeholder {
    color: #aaa195;
    font-size: 13px;
    font-weight: 500;
}

.hg-purchase-calculator__input-wrap small {
    min-width: 46px;
    padding: 7px 8px;
    border-radius: 9px;
    background: #eee9df;
    color: #746957;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.hg-purchase-calculator__swap {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin: 7px auto;
    border: 1px solid #eee6d8;
    border-radius: 50%;
    background: #fff9ed;
    color: #b47a0e;
}

.hg-purchase-calculator__swap svg {
    width: 16px;
}

.hg-purchase-calculator__hint {
    margin: 13px 0 16px;
    color: #8a8174;
    font-size: 10px;
    line-height: 1.8;
}

.hg-purchase-calculator__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dca32b, #f1c75b);
    box-shadow: 0 14px 28px rgba(180, 122, 14, .26), inset 0 1px 0 rgba(255, 255, 255, .4);
    color: #211707 !important;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 180ms cubic-bezier(.22, 1, .36, 1), box-shadow 180ms ease;
}

.hg-purchase-calculator__action:hover {
    color: #211707;
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(180, 122, 14, .32), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.hg-purchase-calculator__action svg {
    width: 18px;
    transform: rotate(180deg);
}

/* circular bubble that expands to reveal its label on hover */
.hg-purchase-calculator__launcher {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(240, 199, 104, .42);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(240, 199, 104, .18), transparent 46%),
        linear-gradient(135deg, #21190d, #0c0a07);
    box-shadow:
        0 18px 40px rgba(23, 17, 8, .26),
        0 0 0 5px rgba(240, 199, 104, .07);
    color: #fff8e8;
    font: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    animation: hgBubbleFloat 4.5s ease-in-out infinite;
    transition: gap .26s ease, padding .26s ease,
    transform 180ms cubic-bezier(.22, 1, .36, 1), box-shadow 180ms ease, border-color 180ms ease;
}

.hg-purchase-calculator__launcher > span:last-child {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    transition: max-width .28s ease, opacity .2s ease;
}

.hg-purchase-calculator__launcher:hover {
    gap: 11px;
    padding-inline-end: 20px;
    transform: translateY(-3px);
    animation: none;
    border-color: rgba(240, 199, 104, .6);
    box-shadow:
        0 24px 48px rgba(23, 17, 8, .32),
        0 0 0 6px rgba(240, 199, 104, .1);
}

.hg-purchase-calculator__launcher:hover > span:last-child {
    max-width: 180px;
    opacity: 1;
}

@keyframes hgBubbleFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

.hg-purchase-calculator__launcher-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, #f7d477, #c88b19);
    color: #241907;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.hg-purchase-calculator__launcher-icon svg {
    width: 23px;
    stroke-width: 1.7;
}

.hg-purchase-calculator__close:focus-visible,
.hg-purchase-calculator__launcher:focus-visible,
.hg-purchase-calculator__action:focus-visible {
    outline: 3px solid rgba(227, 173, 59, .35);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .hg-purchase-calculator {
        left: 10px;
        bottom: 142px;
    }

    .hg-purchase-calculator__panel {
        max-height: calc(100dvh - 150px);
        overflow-y: auto;
        border-radius: 18px;
    }

    .hg-purchase-calculator__launcher {
        width: 60px;
        padding: 8px;
        border-radius: 999px;
    }

    .hg-purchase-calculator__launcher > span:last-child {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hg-purchase-calculator__panel,
    .hg-purchase-calculator__launcher,
    .hg-purchase-calculator__action {
        transition: none;
    }

    .hg-purchase-calculator__status-dot,
    .hg-purchase-calculator__launcher {
        animation: none;
    }
}

/* ============================================================
   Floating widget · Chatbot assistant (.hg-chatbot-*)
   Moved from components/chatbot/widget.blade.php
   ============================================================ */
.hg-chatbot-shell {
    --hg-chatbot-ink: #fff8e8;
    --hg-chatbot-muted: rgba(255, 248, 232, 0.68);
    --hg-chatbot-panel: #12100c;
    --hg-chatbot-panel-2: #1b1710;
    --hg-chatbot-card: rgba(255, 255, 255, 0.08);
    --hg-chatbot-card-strong: rgba(255, 255, 255, 0.12);
    --hg-chatbot-line: rgba(244, 197, 87, 0.18);
    --hg-chatbot-gold: #d99a22;
    --hg-chatbot-gold-strong: #f0c768;
    --hg-chatbot-gold-deep: #7a510d;
    --hg-chatbot-gold-soft: #fff1c2;
    --hg-chatbot-green: #35d1a5;
    --hg-chatbot-online: #24e0b7;
    --hg-chatbot-dark: #090806;
    --hg-chatbot-shadow: 0 30px 70px rgba(0, 0, 0, 0.34), 0 8px 22px rgba(0, 0, 0, 0.18);
}

.hg-chatbot-shell, .hg-chatbot-shell * {
    box-sizing: border-box;
}

.hg-chatbot-shell {
    position: fixed;
    right: auto !important;
    left: 18px !important;
    bottom: 82px;
    z-index: 9998;
    width: auto;
    max-width: calc(100vw - 20px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-family: YekanBakh, Tahoma, "Segoe UI", sans-serif;
    color: var(--hg-chatbot-ink);
}

.hg-chatbot-widget {
    width: min(430px, calc(100vw - 20px));
    max-height: calc(100dvh - 128px);
    border-radius: 16px;
    border: 1px solid rgba(240, 199, 104, 0.24);
    background:
        linear-gradient(180deg, rgba(40, 31, 16, 0.72) 0%, rgba(18, 16, 12, 0.98) 42%, rgba(10, 9, 7, 0.98) 100%);
    box-shadow: var(--hg-chatbot-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(18px);
    outline: 1px solid rgba(255, 255, 255, 0.06);
    isolation: isolate;
    transform-origin: bottom left;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hg-chatbot-widget::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(240, 199, 104, 0.18), transparent 28%, rgba(53, 209, 165, 0.1) 76%, transparent);
    opacity: 0.72;
    pointer-events: none;
    z-index: -1;
}

.hg-chatbot-widget[hidden] {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
}

.hg-chatbot-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, .55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.hg-chatbot-widget--modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(560px, calc(100vw - 40px));
    height: max-content;
    max-height: calc(100dvh - 48px);
    z-index: 10000;
    border-radius: 22px;
    transform-origin: center;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, .42),
        0 8px 24px rgba(0, 0, 0, .3);
}

.hg-chatbot-widget--modal[hidden],
.hg-chatbot-widget--modal[x-show="false"] {
    visibility: hidden;
    opacity: 0;
    transform: scale(.95) translateY(8px);
}

.hg-chatbot-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 15px 15px 14px;
    border-bottom: 1px solid rgba(240, 199, 104, 0.14);
    background:
        linear-gradient(115deg, rgba(240, 199, 104, 0.18) 0%, transparent 38%),
        linear-gradient(135deg, #21170b 0%, var(--hg-chatbot-dark) 64%, #14100a 100%);
    color: #ffffff;
    overflow: hidden;
}

.hg-chatbot-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 48%, transparent 72%);
    transform: translateX(38%);
    opacity: 0.5;
    pointer-events: none;
}

.hg-chatbot-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(240, 199, 104, 0.9), transparent);
}

.hg-chatbot-title {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
}

.hg-chatbot-mark {
    position: relative;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background:
        radial-gradient(circle at 35% 20%, rgba(22, 199, 165, 0.2), transparent 46%),
        linear-gradient(145deg, rgba(255, 248, 224, 0.96), rgba(209, 145, 25, 0.82));
    border: 1px solid rgba(240, 199, 104, 0.42);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(240, 199, 104, 0.08);
    overflow: hidden;
    transform-origin: 50% 78%;
}

.hg-chatbot-widget.is-open .hg-chatbot-mark {
    animation: hgChatbotPremiumFloat 5.5s ease-in-out infinite;
}

.hg-chatbot-mark::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--hg-chatbot-online);
    border: 2px solid #ffffff;
    box-shadow: 0 0 12px rgba(22, 199, 165, 0.86);
}

.hg-chatbot-mark video {
    width: 62px;
    height: 62px;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
}

.hg-chatbot-title strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.hg-chatbot-title-copy {
    min-width: 0;
}

.hg-chatbot-title-copy span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.65;
}

.hg-chatbot-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hg-chatbot-scope {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 11px;
    background: rgba(225, 176, 74, 0.14);
    color: #f6d27a;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(225, 176, 74, 0.25);
}

.hg-chatbot-scope::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
    box-shadow: 0 0 10px currentColor;
}

.hg-chatbot-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.78);
    font: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.hg-chatbot-close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
}

.hg-chatbot-close:focus-visible,
.hg-chatbot-option:focus-visible,
.hg-chatbot-launcher:focus-visible {
    outline: 3px solid rgba(225, 176, 74, 0.34);
    outline-offset: 3px;
}

.hg-chatbot-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px 1px 0;
    background: rgba(240, 199, 104, 0.12);
}

.hg-chatbot-highlights span {
    min-width: 0;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
    color: rgba(255, 248, 232, 0.76);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.hg-chatbot-highlights i {
    color: var(--hg-chatbot-gold-strong);
    font-size: 15px;
    line-height: 1;
}

.hg-chatbot-messages {
    height: 438px;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 42%, rgba(240, 199, 104, 0.05) 100%);
    scrollbar-width: thin;
    scrollbar-color: rgba(24, 24, 27, 0.18) transparent;
}

.hg-chatbot-bubble {
    max-width: 91%;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.95;
    white-space: pre-wrap;
    animation: hgChatbotFadeIn 140ms ease-out;
}

.hg-chatbot-bubble.bot {
    align-self: flex-end;
    margin-left: 0;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 248, 232, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    border-bottom-right-radius: 4px;
}

.hg-chatbot-bubble.user {
    align-self: flex-start;
    margin-right: 0;
    margin-left: auto;
    background:
        linear-gradient(135deg, rgba(255, 238, 178, 0.22), transparent 46%),
        linear-gradient(135deg, #e9b84e 0%, #b77713 100%);
    color: #171008;
    border-bottom-left-radius: 4px;
    box-shadow: 0 9px 20px rgba(24, 19, 11, 0.14);
}

.hg-chatbot-bubble.typing {
    max-width: none;
    width: 56px;
    min-height: 34px;
    padding: 8px 11px;
    line-height: 1;
}

.hg-chatbot-bubble a {
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.hg-chatbot-bubble.bot a {
    color: #71f0cf;
}

.hg-chatbot-typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 34px;
    min-height: 18px;
    justify-content: center;
}

.hg-chatbot-typing span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 248, 232, 0.56);
    animation: hgChatbotTyping 900ms ease-in-out infinite;
}

.hg-chatbot-typing span:nth-child(2) {
    animation-delay: 120ms;
}

.hg-chatbot-typing span:nth-child(3) {
    animation-delay: 240ms;
}

.hg-chatbot-options {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 4px;
    animation: hgChatbotFadeIn 140ms ease-out;
}

.hg-chatbot-options.is-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hg-chatbot-option {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    padding: 9px 10px 9px 9px;
    background:
        linear-gradient(135deg, rgba(240, 199, 104, 0.12), transparent 46%),
        rgba(255, 255, 255, 0.07);
    color: rgba(255, 248, 232, 0.92);
    font: inherit;
    font-size: 13.25px;
    line-height: 1.75;
    text-align: right;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 9px;
    transition: transform 170ms cubic-bezier(.22, 1, .36, 1), box-shadow 170ms ease, border-color 170ms ease, background 170ms ease;
}

.hg-chatbot-options.is-main .hg-chatbot-option {
    min-height: 84px;
    grid-template-columns: 1fr 18px;
    grid-template-rows: 34px minmax(0, auto);
    align-content: start;
    padding: 12px;
    gap: 8px;
}

.hg-chatbot-option-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(145deg, rgba(255, 241, 194, 0.2), rgba(240, 199, 104, 0.08));
    color: var(--hg-chatbot-gold-strong);
    border: 1px solid rgba(240, 199, 104, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px rgba(0, 0, 0, 0.16);
    font-size: 18px;
    line-height: 1;
}

.hg-chatbot-options.is-main .hg-chatbot-option-icon {
    grid-column: 1;
    grid-row: 1;
}

.hg-chatbot-option-label {
    min-width: 0;
    color: inherit;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.hg-chatbot-options.is-main .hg-chatbot-option-label {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    max-width: calc(100% - 8px);
}

.hg-chatbot-option-arrow {
    justify-self: end;
    color: rgba(255, 248, 232, 0.42);
    font-size: 18px;
    line-height: 1;
}

.hg-chatbot-options.is-main .hg-chatbot-option-arrow {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.hg-chatbot-option:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 199, 104, 0.36);
    background:
        linear-gradient(135deg, rgba(240, 199, 104, 0.22), transparent 52%),
        rgba(255, 255, 255, 0.11);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.hg-chatbot-option:hover .hg-chatbot-option-icon {
    color: #ffffff;
    background: linear-gradient(145deg, var(--hg-chatbot-gold-strong), var(--hg-chatbot-gold));
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 18px rgba(196, 134, 18, 0.2);
}

.hg-chatbot-option:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.hg-chatbot-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.045);
}

.hg-chatbot-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--hg-chatbot-green);
    font-size: 11px;
    font-weight: 700;
}

.hg-chatbot-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(53, 209, 165, 0.12);
}

.hg-chatbot-status.warn {
    color: var(--hg-chatbot-gold-strong);
}

.hg-chatbot-footer {
    padding: 10px 16px 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(240, 199, 104, 0.045));
}

.hg-chatbot-note {
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(53, 209, 165, 0.18);
    border-radius: 11px;
    background: rgba(53, 209, 165, 0.08);
    color: var(--hg-chatbot-green);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 7px;
}

.hg-chatbot-note i {
    font-size: 16px;
    line-height: 1;
}

/* circular bubble that expands to reveal its label on hover */
.hg-chatbot-launcher {
    position: relative;
    height: 70px;
    padding: 7px;
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(240, 199, 104, 0.22), transparent 44%),
        linear-gradient(180deg, rgba(36, 29, 17, 0.98), rgba(12, 10, 7, 0.98));
    color: rgba(255, 248, 232, 0.94);
    border: 1px solid rgba(240, 199, 104, 0.34);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26), 0 0 0 5px rgba(240, 199, 104, 0.08);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(12px);
    animation: hgBubbleFloat 4.5s ease-in-out infinite;
    transition: gap .26s ease, padding .26s ease,
    transform 180ms cubic-bezier(.22, 1, .36, 1), box-shadow 180ms ease, border-color 180ms ease;
}

.hg-chatbot-launcher::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 999px;
    border: 1px solid rgba(240, 199, 104, 0.16);
    opacity: 0.7;
    pointer-events: none;
    animation: hgChatbotLauncherAura 3.8s ease-in-out infinite;
}

.hg-chatbot-launcher::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    left: auto;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--hg-chatbot-online);
    border: 2px solid #ffffff;
    box-shadow: 0 0 14px rgba(22, 199, 165, 0.86);
    z-index: 2;
}

.hg-chatbot-launcher:hover {
    gap: 11px;
    padding-inline-end: 18px;
    transform: translateY(-3px);
    animation: none;
    border-color: rgba(214, 154, 18, 0.52);
    box-shadow: 0 22px 48px rgba(30, 24, 12, 0.22), 0 0 0 6px rgba(214, 154, 18, 0.1);
}

.hg-chatbot-launcher-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 248, 224, 0.96), rgba(209, 145, 25, 0.82));
    box-shadow: inset 0 0 0 1px rgba(240, 199, 104, 0.36), 0 10px 22px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.hg-chatbot-launcher:not([aria-expanded="true"]) .hg-chatbot-launcher-icon {
    animation: hgChatbotIconGlow 4s ease-in-out infinite;
}

.hg-chatbot-launcher-icon img {
    width: 64px;
    height: 64px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.hg-chatbot-launcher-copy {
    min-width: 0;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    display: grid;
    gap: 3px;
    text-align: right;
    transition: max-width .28s ease, opacity .2s ease;
}

.hg-chatbot-launcher:hover .hg-chatbot-launcher-copy {
    max-width: 180px;
    opacity: 1;
}

.hg-chatbot-launcher-brand {
    color: rgba(240, 199, 104, 0.92);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.hg-chatbot-launcher-label {
    white-space: nowrap;
    color: rgba(255, 248, 232, 0.82);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.hg-chatbot-answer-screen {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 100%;
    animation: hgChatbotFadeIn 160ms ease-out;
}

.hg-chatbot-answer-card {
    width: 100%;
    background:
        linear-gradient(135deg, rgba(240, 199, 104, 0.13), transparent 42%),
        rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 11px;
    padding: 16px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.hg-chatbot-answer-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 248, 232, 0.94);
    margin-bottom: 10px;
}

.hg-chatbot-answer-title::before {
    content: "\F05E0";
    width: 24px;
    height: 24px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--hg-chatbot-gold-strong), var(--hg-chatbot-gold));
    color: #171008;
    font-family: "Material Design Icons";
    font-size: 16px;
    line-height: 1;
}

.hg-chatbot-answer-question {
    padding: 10px 12px;
    border-radius: 11px;
    background: rgba(240, 199, 104, 0.12);
    border: 1px solid rgba(240, 199, 104, 0.22);
    color: rgba(255, 248, 232, 0.82);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.9;
    margin-bottom: 12px;
}

.hg-chatbot-answer-text {
    padding: 12px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 248, 232, 0.9);
    font-size: 13.5px;
    line-height: 2;
    white-space: pre-wrap;
}

.hg-chatbot-answer-text a {
    color: #71f0cf;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.hg-chatbot-answer-actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.hg-chatbot-ticket-form {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
}

.hg-chatbot-ticket-field {
    display: grid;
    gap: 6px;
}

.hg-chatbot-ticket-field label {
    color: rgba(255, 248, 232, 0.78);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}

.hg-chatbot-ticket-field input,
.hg-chatbot-ticket-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 248, 232, 0.95);
    font: inherit;
    font-size: 13px;
    line-height: 1.8;
    outline: none;
    text-align: right;
}

.hg-chatbot-ticket-field textarea {
    min-height: 112px;
    resize: vertical;
}

.hg-chatbot-ticket-field input::placeholder,
.hg-chatbot-ticket-field textarea::placeholder {
    color: rgba(255, 248, 232, 0.42);
}

.hg-chatbot-ticket-field input:focus,
.hg-chatbot-ticket-field textarea:focus {
    border-color: rgba(240, 199, 104, 0.46);
    box-shadow: 0 0 0 3px rgba(240, 199, 104, 0.11);
}

.hg-chatbot-ticket-error {
    min-height: 21px;
    color: #ffb4a8;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.8;
}

.hg-chatbot-ticket-message {
    padding: 9px 11px;
    border-radius: 11px;
    background: rgba(53, 209, 165, 0.1);
    border: 1px solid rgba(53, 209, 165, 0.2);
    color: #71f0cf;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.8;
}

.hg-chatbot-support-thread {
    display: grid;
    gap: 9px;
    max-height: 330px;
    overflow-y: auto;
    padding: 4px 2px;
    margin-top: 12px;
    scrollbar-width: thin;
}

.hg-chatbot-support-message {
    width: fit-content;
    max-width: 88%;
    padding: 9px 11px;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.hg-chatbot-support-message.user {
    justify-self: end;
    background: rgba(240, 199, 104, 0.16);
    border: 1px solid rgba(240, 199, 104, 0.26);
    color: rgba(255, 248, 232, 0.94);
    border-bottom-right-radius: 3px;
}

.hg-chatbot-support-message.support {
    justify-self: start;
    background: rgba(53, 209, 165, 0.1);
    border: 1px solid rgba(53, 209, 165, 0.2);
    color: rgba(255, 248, 232, 0.94);
    border-bottom-left-radius: 3px;
}

.hg-chatbot-support-message strong {
    display: block;
    margin-bottom: 2px;
    color: #71f0cf;
    font-size: 10.5px;
}

.hg-chatbot-support-message.user strong {
    color: var(--hg-chatbot-gold-strong);
}

.hg-chatbot-support-compose {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 12px;
}

.hg-chatbot-support-compose textarea {
    min-height: 54px;
    max-height: 120px;
    resize: vertical;
}

.hg-chatbot-support-compose button {
    align-self: stretch;
    min-width: 52px;
    border: 1px solid rgba(240, 199, 104, 0.28);
    border-radius: 11px;
    background: linear-gradient(145deg, var(--hg-chatbot-gold-strong), var(--hg-chatbot-gold));
    color: #171008;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 640px) {
    .hg-chatbot-answer-card {
        padding: 12px;
        border-radius: 11px;
    }

    .hg-chatbot-answer-title {
        font-size: 13px;
    }

    .hg-chatbot-answer-question {
        font-size: 12px;
        line-height: 1.8;
    }

    .hg-chatbot-answer-text {
        font-size: 12.5px;
        line-height: 1.9;
        padding: 10px 12px;
    }

    .hg-chatbot-answer-actions {
        margin-top: 12px;
    }
}


@keyframes hgChatbotFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hgChatbotPremiumFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.015);
    }
}

@keyframes hgChatbotIconGlow {
    0%, 100% {
        box-shadow: inset 0 0 0 1px rgba(214, 154, 18, 0.34), 0 8px 18px rgba(24, 19, 11, 0.13);
    }

    50% {
        box-shadow: inset 0 0 0 1px rgba(214, 154, 18, 0.5), 0 10px 24px rgba(201, 143, 16, 0.22);
    }
}

@keyframes hgChatbotLauncherAura {
    0%, 100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.045);
        opacity: 0.95;
    }
}

@keyframes hgChatbotTyping {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@media (max-width: 640px) {
    .hg-chatbot-launcher {
        display: none;
    }

    .hg-chatbot-shell {
        right: auto !important;
        left: 12px !important;
        bottom: 76px;
        max-width: calc(100vw - 24px);
        gap: 8px;
    }

    .hg-chatbot-widget {
        width: min(342px, calc(100vw - 24px));
        max-height: min(620px, calc(100dvh - 168px));
        border-radius: 14px;
    }

    .hg-chatbot-header {
        padding: 11px 12px 10px;
    }

    .hg-chatbot-title {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 8px;
    }

    .hg-chatbot-mark {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .hg-chatbot-mark video {
        width: 53px;
        height: 53px;
        border-radius: 12px;
    }

    .hg-chatbot-title strong {
        font-size: 13.5px;
    }

    .hg-chatbot-title-copy span {
        font-size: 11px;
    }

    .hg-chatbot-scope {
        display: none;
    }

    .hg-chatbot-launcher {
        width: 68px;
        min-width: 68px;
        height: 68px;
        border-radius: 14px;
        padding: 7px;
        grid-template-columns: 1fr;
    }

    .hg-chatbot-launcher-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .hg-chatbot-launcher-copy {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .hg-chatbot-launcher-icon img {
        width: 63px;
        height: 63px;
    }

    .hg-chatbot-messages {
        height: min(348px, calc(100dvh - 304px));
        padding: 14px 14px 15px;
        gap: 8px;
    }

    .hg-chatbot-bubble {
        padding: 10px 12px;
        font-size: 12.5px;
        line-height: 1.85;
    }

    .hg-chatbot-option {
        border-radius: 11px;
        padding: 9px 10px 9px 9px;
        font-size: 12.5px;
        line-height: 1.65;
    }

    .hg-chatbot-options.is-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hg-chatbot-options.is-main .hg-chatbot-option {
        min-height: 82px;
        padding: 10px;
    }

    .hg-chatbot-option-icon {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    .hg-chatbot-meta {
        padding: 8px 14px;
    }

    .hg-chatbot-footer {
        padding: 10px 14px 12px;
    }

    .hg-chatbot-note {
        padding: 8px 10px;
        font-size: 11.5px;
        line-height: 1.7;
    }
}

@media (max-width: 360px) {
    .hg-chatbot-options.is-main {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hg-chatbot-widget.is-open .hg-chatbot-mark,
    .hg-chatbot-launcher:not([aria-expanded="true"]) .hg-chatbot-launcher-icon,
    .hg-chatbot-bubble,
    .hg-chatbot-options,
    .hg-chatbot-answer-screen,
    .hg-chatbot-typing span {
        animation: none;
    }

    .hg-chatbot-launcher::before,
    .hg-chatbot-launcher {
        animation: none;
    }
}

/* ============================================================
   Blog index  (.hg-blog)
   Header + featured hero, highlighted "best articles" panel,
   article grid cards, sidebar, CTA. RTL, brand tokens.
   ============================================================ */
.hg-blog {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px) 0;
}

.hg-blog.pt-0 { padding-top: 0; }

.hg-blog-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hg-blog-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.hg-blog-orb-1 { width: 360px; height: 360px; top: -140px; inset-inline-end: -90px; background: radial-gradient(circle, rgba(62,141,210,.20), transparent 70%); }
.hg-blog-orb-2 { width: 300px; height: 300px; top: -120px; inset-inline-start: -80px; background: radial-gradient(circle, rgba(255,195,0,.16), transparent 70%); }

/* --- header --- */
.hg-blog-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }

.hg-blog-badge {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 16px; padding: 8px 18px; border-radius: 999px;
    background: rgba(255,255,255,.75);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid var(--brand-border);
    color: var(--brand-main); font-size: 13px; font-weight: 800;
    box-shadow: 0 6px 22px rgba(35,101,168,.08);
}
.hg-blog-badge i { font-size: 17px; }

.hg-blog-h1 { margin: 0 0 12px; font-size: clamp(26px, 4.2vw, 42px); line-height: 1.4; font-weight: 900; color: var(--text-dark); }
.hg-blog-lead { max-width: 560px; margin: 0 auto; font-size: clamp(14px, 1.6vw, 16px); line-height: 2; color: var(--text-muted); }

/* --- featured hero --- */
.hg-blog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef1f6;
    box-shadow: 0 22px 56px rgba(15,23,42,.08);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.hg-blog-hero:hover { transform: translateY(-4px); box-shadow: 0 30px 64px rgba(35,101,168,.16); }

.hg-blog-hero-media { position: relative; min-height: 260px; overflow: hidden; }
.hg-blog-hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hg-blog-hero:hover .hg-blog-hero-media img { transform: scale(1.04); }

.hg-blog-hero-tag {
    position: absolute; inset-block-start: 16px; inset-inline-start: 16px;
    padding: 7px 14px; border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1d1f23; font-size: 12px; font-weight: 800;
    box-shadow: 0 8px 20px rgba(255,195,0,.32);
}

.hg-blog-hero-body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(22px, 3vw, 40px); }

.hg-blog-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; }
.hg-blog-cat { color: var(--gold-dark); }
.hg-blog-dot { width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; }
.hg-blog-date { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); font-weight: 700; }
.hg-blog-date i { font-size: 15px; }

.hg-blog-hero-title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; line-height: 1.7; color: var(--text-dark); }
.hg-blog-hero-excerpt { font-size: 14.5px; line-height: 2.1; color: var(--text-muted); }

.hg-blog-readmore {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
    color: #FCBE0D; font-size: 14px; font-weight: 700;
}
.hg-blog-readmore i { font-size: 18px; transition: transform .2s ease; }
.hg-blog-hero:hover .hg-blog-readmore i { transform: translateX(-4px); }
.hg-blog-readmore.sm { font-size: 13px; }

/* --- highlighted panel --- */
.hg-blog-panel {
    padding: clamp(22px, 3.4vw, 40px);
    border-radius: 28px;
    background:
        radial-gradient(70% 60% at 90% 0, rgba(62,141,210,.12), transparent 60%),
        linear-gradient(180deg, #eef4fb 0%, var(--bg-light) 100%);
    border: 1px solid #e6eef7;
}

.hg-blog-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.hg-blog-section-eyebrow { display: block; margin-bottom: 6px; color: var(--gold-dark); font-size: 12.5px; font-weight: 800; }
.hg-blog-section-title { margin: 0; font-size: clamp(20px, 3vw, 28px); font-weight: 900; color: var(--text-dark); }

.hg-blog-all {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; border-radius: 999px;
    background: #fff; border: 1px solid #FCBE0D;
    color: #FCBE0D; font-size: 13.5px; font-weight: 700; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    margin: auto 0;
}
.hg-blog-all:hover { color: var(--brand-main); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(35,101,168,.16); }
.hg-blog-all i { font-size: 16px; }

/* --- article cards grid --- */
.hg-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.hg-blog-card {
    display: flex; flex-direction: column;
    border-radius: 20px; overflow: hidden;
    background: #fff; border: 1px solid #eef1f6;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hg-blog-card:hover { transform: translateY(-6px); border-color: var(--brand-border); box-shadow: 0 22px 44px rgba(35,101,168,.14); }

.hg-blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f4f9; }
.hg-blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hg-blog-card:hover .hg-blog-card-media img { transform: scale(1.05); }

.hg-blog-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.hg-blog-card-cat { color: var(--gold-dark); font-size: 12px; font-weight: 800; }

.hg-blog-card-title {
    position: relative; padding-inline-start: 12px;
    font-size: 15.5px; font-weight: 800; line-height: 1.8; color: var(--text-dark);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hg-blog-card-title::before {
    content: ""; position: absolute; inset-inline-start: 0; top: 6px; bottom: 6px;
    width: 3px; border-radius: 999px; background: linear-gradient(180deg, #1d1f23, #1d1f2345);
}

.hg-blog-card-excerpt {
    font-size: 13px; line-height: 1.95; color: var(--text-muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.hg-blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid #f1f4f9; }

/* --- sidebar --- */
.hg-blog-aside { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid #eef1f6; box-shadow: 0 12px 30px rgba(15,23,42,.05); }
.hg-blog-aside-title { margin: 0 0 14px; font-size: 16px; font-weight: 800; color: var(--text-dark); }

/* --- CTA --- */
.hg-blog-cta {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 28px;
    background: linear-gradient(135deg, #123a45 0%, #0b242c 100%);
    box-shadow: 0 22px 56px rgba(11,36,44,.28);
}
.hg-blog-cta-copy h3 { margin: 0 0 8px; font-size: clamp(19px, 2.6vw, 26px); font-weight: 900; color: #fff; }
.hg-blog-cta-copy p { margin: 0; max-width: 520px; font-size: 14px; line-height: 2; color: rgba(232,240,243,.7); }
.hg-blog-cta-btn {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1d1f23; font-size: 15px; font-weight: 800; text-decoration: none;
    box-shadow: 0 14px 30px rgba(255,195,0,.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hg-blog-cta-btn:hover { color: #1d1f23; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(255,195,0,.4); }
.hg-blog-cta-btn i { font-size: 18px; }

/* --- responsive --- */
@media (max-width: 767px) {
    .hg-blog-hero { grid-template-columns: 1fr; }
    .hg-blog-hero-media { min-height: 200px; aspect-ratio: 16 / 9; }
    .hg-blog-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .hg-blog-cta-btn { justify-content: center; }
}

@media (max-width: 575px) {
    .hg-blog-orb { display: none; }
    .hg-blog-grid { grid-template-columns: 1fr; }
    .hg-blog-section-head { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
    .hg-blog-hero, .hg-blog-card, .hg-blog-all, .hg-blog-cta-btn,
    .hg-blog-hero-media img, .hg-blog-card-media img, .hg-blog-readmore i { transition: none; }
}

/* ============================================================
   Blog categories  (.hg-cat — livewire weblog-categories)
   "Explore by category" grid: pastel icon tiles, title, count,
   arrow link. RTL, brand tokens.
   ============================================================ */
.hg-cat-head { margin-bottom: clamp(20px, 3vw, 32px); }

.hg-cat-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-dark);
    font-size: 12.5px;
    font-weight: 800;
}

.hg-cat-title {
    margin: 0;
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 900;
    line-height: 1.5;
    color: var(--text-dark);
}

.hg-cat-title span {
    background: linear-gradient(transparent 72%, var(--gold-soft) 0);
}

.hg-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.hg-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 196px;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #eef1f6;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hg-cat-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-border);
    box-shadow: 0 24px 46px rgba(35, 101, 168, .14);
}

.hg-cat-ic {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    border-radius: 15px;
    font-size: 24px;
    line-height: 1;
    transition: transform .22s ease;
}

.hg-cat-card:hover .hg-cat-ic { transform: scale(1.06); }

.hg-cat-ic-blue   { background: rgba(35, 101, 168, .12); color: var(--brand-main); }
.hg-cat-ic-gold   { background: rgba(255, 195, 0, .18);  color: var(--gold-dark); }
.hg-cat-ic-green  { background: rgba(22, 163, 74, .12);  color: #16a34a; }
.hg-cat-ic-purple { background: rgba(124, 58, 237, .12); color: #7c3aed; }
.hg-cat-ic-rose   { background: rgba(244, 63, 94, .12);  color: #f43f5e; }

.hg-cat-name {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
    color: var(--text-dark);
}

.hg-cat-count {
    font-size: 12.5px;
    color: var(--text-muted);
}

.hg-cat-arrow {
    margin-top: auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(35, 101, 168, .08);
    color: var(--brand-main);
    font-size: 18px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hg-cat-card:hover .hg-cat-arrow {
    background: var(--brand-main);
    color: #fff;
    transform: translateX(-3px);
}

/* mobile: collapse to a compact single-column list */
@media (max-width: 575px) {
    .hg-cat-grid { grid-template-columns: 1fr; gap: 10px; }

    .hg-cat-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 12px;
        row-gap: 1px;
        min-height: 0;
        padding: 11px 14px;
        border-radius: 14px;
    }

    .hg-cat-ic {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 42px;
        height: 42px;
        margin-bottom: 0;
        border-radius: 11px;
        font-size: 19px;
    }

    .hg-cat-name {
        grid-column: 2;
        grid-row: 1;
        font-size: 14px;
        line-height: 1.45;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hg-cat-count {
        grid-column: 2;
        grid-row: 2;
        font-size: 11.5px;
    }

    .hg-cat-arrow {
        grid-column: 3;
        grid-row: 1 / 3;
        align-self: center;
        margin-top: 0;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .hg-cat-card:hover,
    .hg-cat-card:hover .hg-cat-arrow { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hg-cat-card, .hg-cat-ic, .hg-cat-arrow { transition: none; }
}

/* ============================================================
   Blog recent posts  (.hg-recent — livewire weblog.recent-post)
   Vertical mini-cards: cover, category pill, title, excerpt,
   author footer. RTL, brand tokens.
   ============================================================ */
.hg-recent {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hg-recent-card {
    display: flex;
    flex-direction: column;
}

.hg-recent-card + .hg-recent-card {
    padding-top: 22px;
    border-top: 1px solid #eef1f6;
}

.hg-recent-media {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f4f9;
}

.hg-recent-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.hg-recent-card:hover .hg-recent-media img {
    transform: scale(1.05);
}

.hg-recent-tag {
    align-self: flex-start;
    margin: 12px 0 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 195, 0, .16);
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
}

.hg-recent-title {
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.8;
    color: var(--text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}

.hg-recent-title:hover {
    color: var(--brand-main);
}

.hg-recent-excerpt {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 1.95;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hg-recent-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.hg-recent-avatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1d1f23;
    font-size: 18px;
}

.hg-recent-foot-text {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.hg-recent-foot-text strong {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-dark);
}

.hg-recent-foot-text small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
    .hg-recent-media img,
    .hg-recent-title { transition: none; }
}

/* ============================================================
   Blog latest posts  (.hg-latest — livewire latest-post)
   Card grid: cover, category pill, title, excerpt, author +
   stats footer, load-more. RTL, brand tokens.
   ============================================================ */
.hg-latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
    gap: 20px;
}

.hg-latest-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef1f6;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hg-latest-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-border);
    box-shadow: 0 22px 44px rgba(35, 101, 168, .14);
}

.hg-latest-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f4f9;
}

.hg-latest-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hg-latest-card:hover .hg-latest-media img { transform: scale(1.05); }

.hg-latest-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 18px;
}

.hg-latest-tag {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 195, 0, .16);
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
}

.hg-latest-title {
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.8;
    color: var(--text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}

.hg-latest-title:hover { color: var(--brand-main); }

.hg-latest-excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.95;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hg-latest-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f4f9;
}

.hg-latest-author { display: flex; align-items: center; gap: 9px; min-width: 0; }

.hg-latest-avatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-main), var(--brand-main-2));
    color: #fff;
    font-size: 18px;
}

.hg-latest-author-text { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.hg-latest-author-text strong { font-size: 12.5px; font-weight: 800; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-latest-author-text small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-muted); }

.hg-latest-stats { display: flex; gap: 10px; flex-shrink: 0; }
.hg-latest-stats span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--text-muted); }
.hg-latest-stats i { font-size: 16px; }
.hg-latest-stats span:first-child i { color: #ef4444; }
.hg-latest-stats span:last-child i { color: var(--brand-main); }

.hg-latest-more { text-align: center; margin-top: 28px; }

.hg-latest-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--brand-border);
    color: var(--brand-main);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.hg-latest-more-btn:hover {
    background: linear-gradient(135deg, var(--brand-main), var(--brand-main-2));
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(35, 101, 168, .26);
}

.hg-latest-more-btn[disabled] { opacity: .65; cursor: progress; }
.hg-latest-more-btn i { font-size: 17px; }

@media (max-width: 575px) {
    .hg-latest-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .hg-latest-card, .hg-latest-media img, .hg-latest-title, .hg-latest-more-btn { transition: none; }
}

/* ============================================================
   Blog search  (.sw — livewire weblog.search-widget)
   Command-palette style: search bar + clear, section label,
   result list with highlighted matches, skeleton, empty state.
   Sits inside .hg-blog-aside, so it stays borderless. RTL.
   ============================================================ */
.sw { display: block; }

/* search bar */
.sw-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border: 1px solid #e6eaf0;
    border-radius: 14px;
    background: #f7f9fc;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.sw-bar:focus-within {
    border-color: var(--brand-main, #2365A8);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(35, 101, 168, .1);
}

.sw-bar-ic {
    flex-shrink: 0;
    font-size: 20px;
    color: #9aa6b4;
}

.sw-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--text-dark, #1d1f23);
    font-family: YekanBakh, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    outline: none;
}

.sw-input::placeholder { color: #aab3c0; font-weight: 500; }

.sw-bar-end {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sw-clear {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #e6eaf0;
    border-radius: 9px;
    background: #fff;
    color: var(--text-muted, #647184);
    font-size: 16px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.sw-clear:hover {
    background: #f5f7fa;
    color: var(--brand-main, #2365A8);
    border-color: var(--brand-border, rgba(35, 101, 168, .2));
}

.sw-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #e6eaf0;
    border-top-color: var(--brand-main, #2365A8);
    border-radius: 50%;
    animation: sw-spin .8s linear infinite;
}

@keyframes sw-spin { to { transform: rotate(360deg); } }

/* body */
.sw-body { margin-top: 12px; }

.sw-section {
    display: block;
    padding: 0 4px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #9aa6b4;
}

/* results */
.sw-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.sw-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: background .15s ease;
}

.sw-item:hover { background: #f5f7fa; }

.sw-item-ic {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(35, 101, 168, .1);
    color: var(--brand-main, #2365A8);
    font-size: 19px;
}

.sw-item-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }

.sw-item-title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
    color: var(--text-dark, #1d1f23);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-mark {
    background: var(--gold-soft, rgba(255, 195, 0, .22));
    color: inherit;
    padding: 0 1px;
    border-radius: 3px;
}

.sw-item-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted, #647184);
}

.sw-item-arrow {
    flex-shrink: 0;
    font-size: 17px;
    color: #c2ccd8;
    transition: color .15s ease, transform .15s ease;
}

.sw-item:hover .sw-item-arrow { color: var(--brand-main, #2365A8); transform: translateX(-3px); }

/* empty */
.sw-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 12px;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px dashed #e6eaf0;
    color: #9aa6b4;
    font-size: 12px;
    font-weight: 700;
}

.sw-empty i { font-size: 28px; }

/* skeleton */
.sw-skel { display: flex; align-items: center; gap: 11px; padding: 9px 8px; }
.sw-skel-ic { width: 38px; height: 38px; border-radius: 11px; background: #eef1f6; flex-shrink: 0; }
.sw-skel-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.sw-skel-lines span { height: 9px; border-radius: 999px; background: #eef1f6; }
.sw-skel-lines span:first-child { width: 80%; }
.sw-skel-lines span:last-child { width: 45%; }
.sw-skel,
.sw-skel-ic,
.sw-skel-lines span { animation: sw-pulse 1.3s ease-in-out infinite; }

@keyframes sw-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

@media (prefers-reduced-motion: reduce) {
    .sw-bar, .sw-clear, .sw-item, .sw-item-arrow { transition: none; }
    .sw-spinner, .sw-skel, .sw-skel-ic, .sw-skel-lines span { animation: none; }
}

/* ============================================================
   Mobile bottom toolbar  (.tf-toolbar-bottom.hg-toolbar)
   Floating icon-only pill with an orange active indicator.
   Overrides the theme's full-width bar; stays mobile-only.
   ============================================================ */
.tf-toolbar-bottom.hg-toolbar {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    width: auto;
    max-width: calc(100vw - 24px);
    padding: 10px 14px;
    gap: 3px;
    overflow: visible;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border: 1px solid #eef1f6;
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .16);
}

.tf-toolbar-bottom.hg-toolbar .toolbar-item {
    flex: 0 0 auto;
    position: relative;
}

.tf-toolbar-bottom.hg-toolbar .toolbar-item a,
.tf-toolbar-bottom.hg-toolbar .toolbar-item button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 16px;
    color: var(--text-muted, #647184);
    font: inherit;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.tf-toolbar-bottom.hg-toolbar .toolbar-item a:hover,
.tf-toolbar-bottom.hg-toolbar .toolbar-item button:hover {
    color: var(--text-dark, #1d1f23);
    background: #f5f7fa;
    transform: translateY(-1px);
}

.tf-toolbar-bottom.hg-toolbar .toolbar-icon i,
.tf-toolbar-bottom.hg-toolbar .toolbar-icon svg {
    width: 23px;
    height: 23px;
    font-size: 23px;
    color: inherit;
    stroke: currentColor;
}

/* icon-only: keep labels for screen readers but hide visually */
.tf-toolbar-bottom.hg-toolbar .toolbar-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* active item: emphasized icon + gold indicator dot peeking below */
.tf-toolbar-bottom.hg-toolbar .toolbar-item.is-active a,
.tf-toolbar-bottom.hg-toolbar .toolbar-item.is-active button {
    color: var(--gold-dark, #ffb300);
}

.tf-toolbar-bottom.hg-toolbar .toolbar-item.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold-dark, #ffb300);
    box-shadow: 0 4px 10px rgba(255, 179, 0, .55);
}

@media (prefers-reduced-motion: reduce) {
    .tf-toolbar-bottom.hg-toolbar .toolbar-item a,
    .tf-toolbar-bottom.hg-toolbar .toolbar-item button { transition: none; }
}

/* ============================================================
   Gold calculator (livewire gold-calculator) — clean card
   Reskins the panel interior (.hg-gc-*) in a light, sectioned
   style. Keeps the shared .hg-purchase-calculator floating
   wrapper / launcher / backdrop. RTL, brand tokens.
   ============================================================ */
.hg-purchase-calculator__panel.hg-gc {
    padding: 0;
    background: #fff;
    border-color: #eef1f6;
}

.hg-gc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #f1f3f7;
}

.hg-gc-title { display: flex; align-items: center; gap: 11px; min-width: 0; }

.hg-gc-title-ic {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1d1f23;
}
.hg-gc-title-ic svg { width: 22px; height: 22px; }

.hg-gc-title-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hg-gc-title-copy strong { font-size: 15px; font-weight: 800; color: var(--text-dark); }
.hg-gc-title-copy small { font-size: 11.5px; color: var(--text-muted); }

.hg-gc-close {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #eef1f6;
    border-radius: 11px;
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hg-gc-close svg { width: 18px; height: 18px; }
.hg-gc-close:hover { background: #f5f7fa; color: var(--text-dark); }

/* live price bar */
.hg-gc-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 18px 0;
    padding: 11px 14px;
    border-radius: 14px;
    background: #f6f8fb;
    border: 1px solid #eef1f6;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
}
.hg-gc-price-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
    animation: hgGcPulse 1.8s ease-out infinite;
}
@keyframes hgGcPulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
    70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hg-gc-price-val { margin-inline-start: auto; font-size: 13px; font-weight: 800; color: var(--text-dark); }
.hg-gc-price.is-error .hg-gc-price-dot { background: #dc2626; animation: none; box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.hg-gc-price.is-error .hg-gc-price-val { color: #dc2626; }

/* conversion rows */
.hg-gc-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px 2px;
}

.hg-gc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #f6f8fb;
    border: 1px solid #eef1f6;
    cursor: text;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hg-gc-row:focus-within {
    background: #fff;
    border-color: var(--brand-main);
    box-shadow: 0 0 0 4px rgba(35, 101, 168, .1);
}

.hg-gc-row-ic {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
}
.hg-gc-row-ic svg { width: 20px; height: 20px; }
.hg-gc-row-ic-rial { background: linear-gradient(135deg, var(--brand-main), var(--brand-main-2)); }
.hg-gc-row-ic-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1d1f23; }

.hg-gc-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hg-gc-row-label { font-size: 11.5px; font-weight: 700; color: var(--text-muted); }

.hg-gc-input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: right;
}
.hg-gc-input::placeholder { color: #b6c0cd; font-weight: 600; font-size: .9rem; }

.hg-gc-row-unit {
    flex-shrink: 0;
    padding: 5px 11px;
    border-radius: 999px;
    background: #e9edf3;
    font-size: .78rem;
    font-weight: 800;
    color: #6b7280;
}

/* swap connector chip between the two rows */
.hg-gc-swap {
    align-self: center;
    z-index: 1;
    width: 34px;
    height: 34px;
    margin-block: -13px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e6eaf0;
    color: var(--brand-main);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}
.hg-gc-swap svg { width: 18px; height: 18px; }

/* footer */
.hg-gc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 14px 18px 18px;
    border-top: 1px solid #f1f3f7;
}
.hg-gc-hint { max-width: 52%; font-size: 11.5px; line-height: 1.7; color: var(--text-muted); }

.hg-gc-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d2733, #0e1620);
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hg-gc-action:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 23, 42, .3); }
.hg-gc-action svg { width: 17px; height: 17px; }

@media (prefers-reduced-motion: reduce) {
    .hg-gc-price-dot { animation: none; }
    .hg-gc-close, .hg-gc-row, .hg-gc-action { transition: none; }
}

/* ============================================================
   Chatbot · light theme (modal)  (.hg-chatbot-widget--modal)
   Reskins the dark-gold widget to the clean light card style.
   Scoped overrides — the floating dark variant is untouched.
   ============================================================ */
.hg-chatbot-widget--modal {
    background: #fff;
    border: 1px solid #eef1f6;
    color: var(--text-dark, #1d1f23);
    box-shadow: 0 32px 80px rgba(15, 23, 42, .24), 0 8px 24px rgba(15, 23, 42, .12);
}
.hg-chatbot-widget--modal::before { display: none; }

/* header */
.hg-chatbot-widget--modal .hg-chatbot-header {
    background: #fff;
    border-bottom: 1px solid #f1f3f7;
    color: var(--text-dark, #1d1f23);
}
.hg-chatbot-widget--modal .hg-chatbot-header::before,
.hg-chatbot-widget--modal .hg-chatbot-header::after { display: none; }
.hg-chatbot-widget--modal .hg-chatbot-mark {
    background: linear-gradient(145deg, #eaf1f9, #d7e6f5);
    border: 1px solid var(--brand-border, rgba(35, 101, 168, .2));
    box-shadow: none;
}
.hg-chatbot-widget--modal .hg-chatbot-title strong { color: var(--text-dark, #1d1f23); }
.hg-chatbot-widget--modal .hg-chatbot-title-copy span { color: var(--text-muted, #647184); }
.hg-chatbot-widget--modal .hg-chatbot-scope {
    background: rgba(34, 197, 94, .10);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, .22);
}
.hg-chatbot-widget--modal .hg-chatbot-close {
    background: #f5f7fa;
    color: var(--text-muted, #647184);
    border: 1px solid #eef1f6;
}
.hg-chatbot-widget--modal .hg-chatbot-close:hover { background: #eef1f6; color: var(--text-dark, #1d1f23); }

/* highlights bar */
.hg-chatbot-widget--modal .hg-chatbot-highlights { background: #eef1f6; }
.hg-chatbot-widget--modal .hg-chatbot-highlights span { background: #f7f9fc; color: var(--text-muted, #647184); }
.hg-chatbot-widget--modal .hg-chatbot-highlights i { color: var(--brand-main, #2365A8); }

/* messages area + bubbles */
.hg-chatbot-widget--modal .hg-chatbot-messages { background: #f6f8fb; }
.hg-chatbot-widget--modal .hg-chatbot-bubble.bot {
    background: #fff;
    color: var(--text-dark, #1d1f23);
    border: 1px solid #eef1f6;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}
.hg-chatbot-widget--modal .hg-chatbot-bubble.bot a { color: var(--brand-main, #2365A8); }
.hg-chatbot-widget--modal .hg-chatbot-bubble.user {
    background: linear-gradient(135deg, var(--brand-main, #2365A8), var(--brand-main-2, #3E8DD2));
    color: #fff;
}
.hg-chatbot-widget--modal .hg-chatbot-typing span { background: #b6c0cd; }

/* quick-reply chips */
.hg-chatbot-widget--modal .hg-chatbot-option {
    background: #fff;
    border: 1px solid #eef1f6;
    color: var(--text-dark, #1d1f23);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}
.hg-chatbot-widget--modal .hg-chatbot-option:hover {
    background: #fff;
    border-color: var(--brand-border, rgba(35, 101, 168, .2));
    box-shadow: 0 12px 26px rgba(35, 101, 168, .14);
}
.hg-chatbot-widget--modal .hg-chatbot-option-icon {
    background: rgba(35, 101, 168, .1);
    color: var(--brand-main, #2365A8);
    border: 0;
    box-shadow: none;
}
.hg-chatbot-widget--modal .hg-chatbot-option:hover .hg-chatbot-option-icon {
    background: linear-gradient(135deg, var(--brand-main, #2365A8), var(--brand-main-2, #3E8DD2));
    color: #fff;
}
.hg-chatbot-widget--modal .hg-chatbot-option-label { color: var(--text-dark, #1d1f23); }
.hg-chatbot-widget--modal .hg-chatbot-option-arrow { color: #c2ccd8; }

/* primary (submit) action — filled brand, like the reference's dark button */
.hg-chatbot-widget--modal .hg-chatbot-answer-actions button[type="submit"] {
    background: linear-gradient(135deg, var(--brand-main, #2365A8), var(--brand-main-2, #3E8DD2));
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(35, 101, 168, .28);
}
.hg-chatbot-widget--modal .hg-chatbot-answer-actions button[type="submit"] .hg-chatbot-option-label,
.hg-chatbot-widget--modal .hg-chatbot-answer-actions button[type="submit"] .hg-chatbot-option-arrow { color: #fff; }
.hg-chatbot-widget--modal .hg-chatbot-answer-actions button[type="submit"] .hg-chatbot-option-icon {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

/* answer card / ticket form */
.hg-chatbot-widget--modal .hg-chatbot-answer-card {
    background: #fff;
    border: 1px solid #eef1f6;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}
.hg-chatbot-widget--modal .hg-chatbot-answer-title { color: var(--text-dark, #1d1f23); }
.hg-chatbot-widget--modal .hg-chatbot-answer-title::before {
    background: linear-gradient(135deg, var(--brand-main, #2365A8), var(--brand-main-2, #3E8DD2));
    color: #fff;
}
.hg-chatbot-widget--modal .hg-chatbot-ticket-field label { color: var(--text-dark, #1d1f23); }
.hg-chatbot-widget--modal .hg-chatbot-ticket-field input,
.hg-chatbot-widget--modal .hg-chatbot-ticket-field textarea {
    background: #f7f9fc;
    border: 1px solid #e6eaf0;
    color: var(--text-dark, #1d1f23);
}
.hg-chatbot-widget--modal .hg-chatbot-ticket-field input::placeholder,
.hg-chatbot-widget--modal .hg-chatbot-ticket-field textarea::placeholder { color: #aab3c0; }
.hg-chatbot-widget--modal .hg-chatbot-ticket-field input:focus,
.hg-chatbot-widget--modal .hg-chatbot-ticket-field textarea:focus {
    border-color: var(--brand-main, #2365A8);
    box-shadow: 0 0 0 3px rgba(35, 101, 168, .1);
}
.hg-chatbot-widget--modal .hg-chatbot-ticket-message {
    background: rgba(34, 197, 94, .10);
    border: 1px solid rgba(34, 197, 94, .22);
    color: #16a34a;
}

/* support thread */
.hg-chatbot-widget--modal .hg-chatbot-support-message.user {
    background: rgba(35, 101, 168, .1);
    border: 1px solid var(--brand-border, rgba(35, 101, 168, .2));
    color: var(--text-dark, #1d1f23);
}
.hg-chatbot-widget--modal .hg-chatbot-support-message.support {
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .2);
    color: var(--text-dark, #1d1f23);
}
.hg-chatbot-widget--modal .hg-chatbot-support-message strong { color: var(--brand-main, #2365A8); }
.hg-chatbot-widget--modal .hg-chatbot-support-message.support strong { color: #16a34a; }
.hg-chatbot-widget--modal .hg-chatbot-support-compose textarea {
    background: #f7f9fc;
    border: 1px solid #e6eaf0;
    color: var(--text-dark, #1d1f23);
}
.hg-chatbot-widget--modal .hg-chatbot-support-compose button {
    background: linear-gradient(135deg, var(--brand-main, #2365A8), var(--brand-main-2, #3E8DD2));
    color: #fff;
    border: 0;
}

/* meta + footer */
.hg-chatbot-widget--modal .hg-chatbot-meta {
    background: #fff;
    border-top: 1px solid #f1f3f7;
    border-bottom: 0;
}
.hg-chatbot-widget--modal .hg-chatbot-status { color: #16a34a; }
.hg-chatbot-widget--modal .hg-chatbot-status.warn { color: var(--gold-dark, #ffb300); }
.hg-chatbot-widget--modal .hg-chatbot-footer {
    background: #f6f8fb;
    border-top: 1px solid #f1f3f7;
}
.hg-chatbot-widget--modal .hg-chatbot-note {
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .18);
    color: #16a34a;
}

/* ============================================================
   Chatbot · desktop bubble (.hg-chatbot-fab) + fullscreen modal
   Bubble is desktop-only (mobile uses the bottom toolbar trigger).
   ============================================================ */
.hg-chatbot-fab {
    position: fixed;
    z-index: 9997;
    right: 24px;
    bottom: 24px;
    width: 66px;
    height: 66px;
    display: none;                 /* shown on desktop only */
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-main, #2365A8), var(--brand-main-2, #3E8DD2));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(35, 101, 168, .42), 0 0 0 6px rgba(35, 101, 168, .08);
    animation: hgFabFloat 4.5s ease-in-out infinite;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hg-chatbot-fab i { font-size: 34px; line-height: 1; }

.hg-chatbot-fab:hover {
    transform: translateY(-3px) scale(1.04);
    animation: none;
    box-shadow: 0 22px 46px rgba(35, 101, 168, .5), 0 0 0 7px rgba(35, 101, 168, .1);
}

.hg-chatbot-fab-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(34, 197, 94, .8);
}

@keyframes hgFabFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

@media (min-width: 992px) {
    .hg-chatbot-fab { display: grid; }
}

/* fullscreen modal on mobile */
@media (max-width: 640px) {
    .hg-chatbot-widget--modal {
        inset: 0;
        margin: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .hg-chatbot-widget--modal .hg-chatbot-messages {
        height: auto;
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hg-chatbot-fab { animation: none; }
}

/* ============================================================
   Home · Product categories  (.hg-cats)
   White inner card container, gold palette, RTL.
   ============================================================ */
.hg-cats {
    position: relative;
    padding: clamp(40px, 6vw, 72px) 0;
    background: #F5F7F6;
}

/* white rounded card wrapping all content */
.hg-cats-inner {
    background: #fff;
    border-radius: 28px;
    padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 40px);
    box-shadow: 0 8px 40px rgba(15,23,42,.07), 0 0 0 1px rgba(252,190,13,.08);
}

.hg-cats-head {
    max-width: 560px;
    margin: 0 auto clamp(24px, 3vw, 40px);
    text-align: center;
}
.hg-cats-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #FCBE0D;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
}
.hg-cats-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 900;
    color: #2F3235;
}
.hg-cats-sub {
    margin: 0;
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.9;
    color: #939598;
}

/* 5-column grid */
.hg-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* card */
.hg-cats-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1.5px solid #f0f2f5;
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
    text-decoration: none;
    transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, border-color .22s ease;
}
.hg-cats-card:hover {
    transform: translateY(-6px);
    border-color: rgba(252,190,13,.35);
    box-shadow: 0 20px 44px rgba(252,190,13,.14);
}

/* image area */
.hg-cats-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    padding: 16px;
    background: linear-gradient(160deg, #fefefe 0%, rgba(252,190,13,.10) 100%);
}
.hg-cats-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    filter: drop-shadow(0 8px 16px rgba(15,23,42,.12));
    transition: transform .3s ease;
}
.hg-cats-card:hover .hg-cats-media img { transform: scale(1.06); }

/* body */
.hg-cats-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px 16px;
}
.hg-cats-name {
    font-size: 15px;
    font-weight: 900;
    color: #2F3235;
}
.hg-cats-desc {
    font-size: 11.5px;
    line-height: 1.75;
    color: #939598;
}
.hg-cats-foot {
    margin-top: auto;
    padding-top: 12px;
}
.hg-cats-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(252,190,13,.45);
    background: rgba(252,190,13,.08);
    color: #B8860B;
    font-size: 11.5px;
    font-weight: 800;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hg-cats-card:hover .hg-cats-btn {
    background: linear-gradient(135deg, #FCBE0D, #F9DB81);
    border-color: transparent;
    color: #2F3235;
    transform: translateX(-3px);
}
.hg-cats-btn i { font-size: 15px; }

/* ── responsive ── */
@media (max-width: 1100px) {
    .hg-cats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .hg-cats-inner { border-radius: 20px; padding: 24px 16px; }
    .hg-cats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 480px) {
    .hg-cats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hg-cats-name { font-size: 13.5px; }
    .hg-cats-btn { font-size: 11px; padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .hg-cats-card, .hg-cats-media img, .hg-cats-btn { transition: none; }
}

