/* ==========================================================================
   ReachCoimbatore — Inner Pages Component Library
   Extends style.css. Same tokens: --primary #E53935, --secondary #FF5A3C,
   Poppins (headings/buttons) + Inter (body).
   ========================================================================== */

/* ===== Page hero / breadcrumb banner ===== */
.page-banner {
    background: var(--gradient-dark);
    padding: 46px 0 78px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.page-banner::after { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(229,57,53,.35), transparent 70%); }
.page-banner .breadcrumb-modern { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 14px; position: relative; z-index: 1; }
.page-banner .breadcrumb-modern a { color: rgba(255,255,255,.75); }
.page-banner .breadcrumb-modern a:hover { color: #fff; }
.page-banner .breadcrumb-modern i { font-size: .65rem; }
.page-banner h1 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.2rem; position: relative; z-index: 1; }
.page-banner p { color: rgba(255,255,255,.65); position: relative; z-index: 1; max-width: 560px; }
.page-banner-overlap { margin-bottom: -46px; }

/* ==========================================================================
   AUTH PAGES (Register / Login / Forgot Password)
   ========================================================================== */
.auth-shell { min-height: 100vh; display: flex; }
.auth-visual {
    flex: 1 1 46%;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: #fff;
}
.auth-visual::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%22120%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%221.6%22 fill=%22white%22 fill-opacity=%220.16%22/%3E%3C/svg%3E'); }
.auth-visual .av-blob { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.08); }
.auth-visual .av-blob.b1 { top: -100px; left: -100px; }
.auth-visual .av-blob.b2 { bottom: -140px; right: -90px; width: 260px; height: 260px; }
.auth-visual .av-content { position: relative; z-index: 1; text-align: center; max-width: 420px; }
.auth-visual .av-icon-ring { width: 96px; height: 96px; border-radius: 28px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; margin: 0 auto 28px; border: 1px solid rgba(255,255,255,.3); }
.auth-visual h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.8rem; margin-bottom: 12px; }
.auth-visual p { color: rgba(255,255,255,.85); font-size: .98rem; line-height: 1.7; }
.auth-visual .av-stats { display: flex; justify-content: center; gap: 32px; margin-top: 36px; }
.auth-visual .av-stats .n { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.5rem; }
.auth-visual .av-stats .l { font-size: .74rem; color: rgba(255,255,255,.75); }

.auth-form-side { flex: 1 1 54%; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg); }
.auth-box { width: 100%; max-width: 440px; }
.auth-box .auth-back-home { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 28px; }
.auth-box .auth-back-home:hover { color: var(--primary); }
.auth-box h1 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.85rem; color: var(--text); margin-bottom: 6px; }
.auth-box .auth-sub { color: var(--text-secondary); font-size: .95rem; margin-bottom: 30px; }

.form-group-modern { margin-bottom: 18px; }
.form-label-modern { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.input-modern-wrap { position: relative; }
.input-modern-wrap i.field-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); font-size: .92rem; }
.form-control-modern {
    width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--border); background: #fff;
    padding: 0 16px 0 44px; font-family: 'Inter', sans-serif; font-size: .92rem; color: var(--text);
    transition: .25s var(--ease); outline: none;
}
.form-control-modern:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(229,57,53,.1); }
.form-control-modern.no-icon { padding-left: 16px; }
.toggle-password { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); cursor: pointer; font-size: .92rem; background: none; border: none; }
.toggle-password:hover { color: var(--primary); }

textarea.form-control-modern { height: auto; padding: 14px 16px; min-height: 120px; resize: vertical; }
select.form-control-modern { padding-left: 16px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 36px; }

.form-check-modern { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--text-secondary); }
.form-check-modern input { width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; }

.auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--text-secondary); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.social-auth-row { display: flex; gap: 12px; }
.btn-social {
    flex: 1; height: 48px; border-radius: 14px; border: 1.5px solid var(--border); background: #fff;
    display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: .88rem;
    color: var(--text); transition: .25s var(--ease);
}
.btn-social:hover { border-color: var(--primary); background: rgba(229,57,53,.04); transform: translateY(-2px); }
.btn-social.google i { color: #EA4335; }
.btn-social.facebook i { color: #1877F2; }

.btn-block-modern { width: 100%; height: 50px; }

/* Stepper */
.stepper-modern { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 34px; }
.stepper-modern .step { display: flex; align-items: center; gap: 6px; }
.stepper-modern .step-circle { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; color: var(--text-secondary); transition: .3s var(--ease); }
.stepper-modern .step.active .step-circle { background: var(--gradient-primary); border-color: transparent; color: #fff; box-shadow: var(--shadow-primary); }
.stepper-modern .step.done .step-circle { background: var(--success); border-color: transparent; color: #fff; }
.stepper-modern .step-line { width: 40px; height: 2px; background: var(--border); }
.stepper-modern .step.done + .step-line { background: var(--success); }

.auth-step { display: none; }
.auth-step.active-step { display: block; animation: fadeUpIn .4s var(--ease); }
@keyframes fadeUpIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.otp-inputs { display: flex; gap: 12px; justify-content: center; margin: 8px 0 26px; }
.otp-inputs input {
    width: 54px; height: 60px; text-align: center; font-size: 1.4rem; font-weight: 700;
    border-radius: 14px; border: 1.5px solid var(--border); color: var(--text); transition: .25s var(--ease);
}
.otp-inputs input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(229,57,53,.1); outline: none; }
.otp-resend { text-align: center; font-size: .86rem; color: var(--text-secondary); }
.otp-resend a { color: var(--primary); font-weight: 600; }

.success-panel { text-align: center; padding: 10px 0 20px; }
.success-check-circle {
    width: 96px; height: 96px; border-radius: 50%; background: rgba(40,167,69,.1);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; position: relative;
}
.success-check-circle::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px dashed rgba(40,167,69,.35); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-check-circle i { font-size: 2.6rem; color: var(--success); }
.success-panel h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 8px; }
.success-panel p { color: var(--text-secondary); font-size: .95rem; margin-bottom: 26px; }

/* ==========================================================================
   DASHBOARD
   ========================================================================== */
.dash-wrapper { background: var(--bg); min-height: 70vh; padding: 32px 0 70px; }
.dash-grid { display: grid; grid-template-columns: 272px 1fr; gap: 26px; align-items: start; }

/* ===== Dashboard: Quick Action Cards ===== */
.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #fff;
    transition: all .3s var(--ease);
    height: 100%;
    text-decoration: none;
    color: var(--text);
}
.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(229,57,53,.2);
    text-decoration: none;
    color: var(--text);
}
.quick-action-card .qa-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 4px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.quick-action-card .qa-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text);
    line-height: 1.3;
}
.quick-action-card .qa-desc {
    font-size: .78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== Dashboard: Getting Started Steps ===== */
.getting-started-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.gs-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.gs-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.gs-step:first-child {
    padding-top: 0;
}
.gs-step .gs-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .82rem;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: all .3s var(--ease);
}
.gs-step.completed .gs-num {
    background: var(--success);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(40,167,69,.25);
}
.gs-step .gs-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
    margin-bottom: 2px;
}
.gs-step .gs-desc {
    font-size: .8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 6px;
}
.gs-step .gs-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary);
    transition: all .25s var(--ease);
}
.gs-step .gs-action:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* ===== Dashboard: Form Section Cards (Add/Edit Business) ===== */
.form-section-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    padding: 28px;
    margin-bottom: 20px;
    transition: box-shadow .3s var(--ease);
}
.form-section-card:hover {
    box-shadow: var(--shadow-sm);
}
.form-section-card h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-section-card h5 .fsc-num {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(229,57,53,.25);
}
.form-section-card .fsc-sub {
    font-size: .84rem;
    color: var(--text-secondary);
    margin: 0 0 20px;
    padding-left: 40px;
}

/* ===== Dashboard: Form Sticky Actions ===== */
.form-sticky-actions {
    position: sticky;
    bottom: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 -8px 30px rgba(20,20,43,.08);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    z-index: 10;
    margin-top: 8px;
}

/* ===== Dashboard: Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 24px;
}
.empty-state .empty-state-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: var(--bg);
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    color: var(--text-secondary);
}
.empty-state h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 8px;
}
.empty-state p {
    color: var(--text-secondary);
    font-size: .9rem;
    max-width: 420px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* ===== Dashboard: Profile Fields ===== */
.profile-field {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.profile-field .pf-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-secondary);
}
.profile-field .pf-value {
    font-size: .92rem;
    font-weight: 500;
    color: var(--text);
    word-break: break-word;
}

.dash-sidebar { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-xs); padding: 22px; position: sticky; top: 96px; }
.dash-profile-mini { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.dash-profile-mini img { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; }
.dash-profile-mini .n { font-weight: 700; font-size: .95rem; color: var(--text); }
.dash-profile-mini .e { font-size: .76rem; color: var(--text-secondary); }
.dash-nav { list-style: none; margin: 0; padding: 0; }
.dash-nav li { margin-bottom: 4px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-size: .89rem; font-weight: 500; color: var(--text-secondary); transition: .25s var(--ease); }
.dash-nav a i { width: 18px; text-align: center; font-size: .95rem; }
.dash-nav a:hover { background: var(--bg); color: var(--text); }
.dash-nav a.active { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-primary); }
.dash-nav .nav-badge { margin-left: auto; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 10px; }
.dash-nav a.active .nav-badge { background: rgba(255,255,255,.3); }
.dash-nav-divider { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary); opacity: .6; margin: 16px 4px 8px; }
.dash-logout { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-size: .89rem; font-weight: 600; color: var(--primary); margin-top: 8px; }
.dash-logout:hover { background: rgba(229,57,53,.06); }

.dash-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.dash-topbar h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--text); margin: 0; }
.dash-topbar p { font-size: .88rem; color: var(--text-secondary); margin: 0; }

.dash-stat-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-xs); padding: 22px; display: flex; align-items: center; gap: 16px; transition: .3s var(--ease); height: 100%; }
.dash-stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dash-stat-card .dsc-icon { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
.dash-stat-card .dsc-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--text); line-height: 1; }
.dash-stat-card .dsc-label { font-size: .8rem; color: var(--text-secondary); margin-top: 4px; }
.dash-stat-card .dsc-trend { font-size: .72rem; font-weight: 700; margin-top: 6px; }
.dash-stat-card .dsc-trend.up { color: var(--success); }
.dash-stat-card .dsc-trend.down { color: var(--primary); }

.dash-panel { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-xs); padding: 24px; }
.dash-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.dash-panel-head h5 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.02rem; margin: 0; color: var(--text); }

.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-secondary); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.dash-table td { padding: 14px; border-bottom: 1px solid var(--border); font-size: .88rem; color: var(--text); vertical-align: middle; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--bg); }
.status-pill { font-size: .7rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); display: inline-block; }
.status-pill.active { background: rgba(40,167,69,.1); color: var(--success); }
.status-pill.pending { background: rgba(255,193,7,.14); color: #a16207; }
.status-pill.expired { background: rgba(102,102,102,.1); color: var(--text-secondary); }
.status-pill.rejected { background: rgba(229,57,53,.1); color: var(--primary); }
.table-row-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.table-action-btn { width: 32px; height: 32px; border-radius: 8px; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: .8rem; transition: .25s var(--ease); }
.table-action-btn:hover { background: var(--primary); color: #fff; }

.avatar-upload-box { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.avatar-upload-box .au-img-wrap { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.avatar-upload-box img { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; border: 3px solid var(--bg); }
.avatar-upload-box .au-edit { position: absolute; bottom: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .72rem; border: 3px solid #fff; }

.file-drop-zone { border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 34px 20px; text-align: center; transition: .25s var(--ease); cursor: pointer; background: var(--bg); }
.file-drop-zone:hover { border-color: var(--primary); background: rgba(229,57,53,.03); }
.file-drop-zone i { font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; }
.file-drop-zone .fdz-title { font-weight: 600; font-size: .92rem; color: var(--text); }
.file-drop-zone .fdz-sub { font-size: .78rem; color: var(--text-secondary); margin-top: 4px; }
.file-thumb-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.file-thumb { position: relative; width: 82px; height: 82px; border-radius: 12px; overflow: hidden; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb .ft-remove { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .6rem; }

.toggle-switch-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.toggle-switch-row:last-child { border-bottom: none; }
.toggle-switch-row .tsr-title { font-weight: 600; font-size: .9rem; color: var(--text); }
.toggle-switch-row .tsr-sub { font-size: .78rem; color: var(--text-secondary); }
.toggle-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.toggle-switch .ts-track { position: absolute; inset: 0; background: var(--border); border-radius: 20px; transition: .3s; }
.toggle-switch .ts-track::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .3s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.toggle-switch input:checked ~ .ts-track { background: var(--gradient-primary); }
.toggle-switch input:checked ~ .ts-track::before { transform: translateX(20px); }

/* Business / listing management cards */
.manage-card { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border); background: #fff; transition: .3s var(--ease); align-items: center; }
.manage-card:hover { box-shadow: var(--shadow-sm); border-color: transparent; }
.manage-card img { width: 88px; height: 88px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.manage-card .mc-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .98rem; color: var(--text); }
.manage-card .mc-meta { font-size: .8rem; color: var(--text-secondary); margin-top: 3px; }
.manage-card .mc-stats { display: flex; gap: 16px; margin-top: 8px; font-size: .76rem; color: var(--text-secondary); }
.manage-card .mc-stats span { display: inline-flex; align-items: center; gap: 4px; }
.manage-card .mc-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Reviews */
.review-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-item img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-item .ri-name { font-weight: 700; font-size: .9rem; color: var(--text); }
.review-item .ri-biz { font-size: .78rem; color: var(--text-secondary); }
.review-item .ri-stars { color: var(--warning); font-size: .8rem; margin: 4px 0; }
.review-item .ri-text { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; }
.review-item .ri-date { font-size: .74rem; color: var(--text-secondary); opacity: .8; }

/* Notifications */
.notif-item { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius-md); transition: .25s var(--ease); align-items: flex-start; }
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: rgba(229,57,53,.04); }
.notif-item .ni-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; font-size: .95rem; }
.notif-item .ni-title { font-weight: 600; font-size: .88rem; color: var(--text); }
.notif-item .ni-desc { font-size: .82rem; color: var(--text-secondary); margin-top: 2px; }
.notif-item .ni-time { font-size: .74rem; color: var(--text-secondary); opacity: .8; margin-top: 4px; }
.notif-item .ni-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 6px; }

/* Messages / Inbox */
.chat-shell { display: grid; grid-template-columns: 320px 1fr; height: 640px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-xs); overflow: hidden; }
.chat-list { border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.chat-list-search { padding: 16px; border-bottom: 1px solid var(--border); }
.chat-list-items { overflow-y: auto; flex: 1; }
.chat-list-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: .2s; position: relative; }
.chat-list-item:hover, .chat-list-item.active { background: var(--bg); }
.chat-list-item.active { border-left: 3px solid var(--primary); }
.chat-list-item img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-list-item .cli-name { font-weight: 700; font-size: .87rem; color: var(--text); }
.chat-list-item .cli-msg { font-size: .78rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.chat-list-item .cli-time { font-size: .68rem; color: var(--text-secondary); position: absolute; top: 14px; right: 16px; }
.chat-list-item .cli-unread { position: absolute; bottom: 14px; right: 16px; background: var(--primary); color: #fff; font-size: .65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.chat-window { display: flex; flex-direction: column; }
.chat-window-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.chat-window-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat-window-head .cwh-name { font-weight: 700; font-size: .92rem; color: var(--text); }
.chat-window-head .cwh-status { font-size: .74rem; color: var(--success); }
.chat-body { flex: 1; padding: 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.chat-bubble { max-width: 68%; padding: 12px 16px; border-radius: 18px; font-size: .87rem; line-height: 1.5; }
.chat-bubble.in { background: var(--bg); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-bubble.out { background: var(--gradient-primary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-bubble .cb-time { display: block; font-size: .65rem; opacity: .65; margin-top: 5px; }
.chat-input-row { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--border); align-items: center; }
.chat-input-row input { flex: 1; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 11px 18px; font-size: .87rem; outline: none; }
.chat-input-row input:focus { border-color: var(--primary); }
.chat-input-row .chat-send-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ==========================================================================
   DIRECTORY / LISTING PAGES (Search Results, Category, Directory)
   ========================================================================== */
.listing-search-bar { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--border); padding: 10px; display: flex; gap: 8px; flex-wrap: wrap; margin-top: -50px; position: relative; z-index: 5; }
.listing-search-bar .search-field { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.listing-search-bar .search-field i { color: var(--primary); }
.listing-search-bar .search-field input, .listing-search-bar .search-field select { border: none; outline: none; background: transparent; width: 100%; font-size: .9rem; }
.listing-search-bar .divider-v { width: 1px; background: var(--border); margin: 8px 0; }

.filters-sidebar { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-xs); padding: 22px; position: sticky; top: 96px; }
.filters-sidebar .fs-block { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.filters-sidebar .fs-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filters-sidebar .fs-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .92rem; margin-bottom: 14px; display: flex; justify-content: between; align-items: center; }
.filter-check { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: .86rem; color: var(--text-secondary); cursor: pointer; }
.filter-check input { width: 17px; height: 17px; accent-color: var(--primary); }
.filter-check .fc-count { font-size: .74rem; color: var(--text-secondary); opacity: .7; }
.filter-check:hover { color: var(--text); }
.price-range-inputs { display: flex; gap: 10px; align-items: center; }
.price-range-inputs input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--border); padding: 0 12px; font-size: .84rem; }
.star-filter { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .84rem; color: var(--text-secondary); cursor: pointer; }
.star-filter .stars { color: var(--warning); }

.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; background: #fff; padding: 14px 18px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.listing-toolbar .result-count { font-size: .88rem; color: var(--text-secondary); }
.listing-toolbar .result-count b { color: var(--text); }
.listing-toolbar-right { display: flex; align-items: center; gap: 10px; }
.sort-select-modern { height: 40px; border-radius: 10px; border: 1px solid var(--border); padding: 0 14px; font-size: .84rem; color: var(--text); background: #fff; }
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.view-toggle button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--text-secondary); border: none; }
.view-toggle button.active { background: var(--gradient-primary); color: #fff; }

.listing-row-card { display: flex; gap: 18px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-xs); padding: 16px; transition: .3s var(--ease); }
.listing-row-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.listing-row-card .lrc-img { width: 220px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.listing-row-card .lrc-img img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
.listing-row-card .lrc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.listing-row-card .lrc-cat { font-size: .72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.listing-row-card .lrc-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.08rem; color: var(--text); margin: 4px 0; }
.listing-row-card .lrc-desc { font-size: .86rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 10px; }
.listing-row-card .lrc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: auto; }
.listing-row-card .lrc-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }

.pagination-modern { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; }
.pagination-modern a, .pagination-modern span { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: .88rem; color: var(--text-secondary); transition: .25s var(--ease); }
.pagination-modern a:hover { border-color: var(--primary); color: var(--primary); }
.pagination-modern .active { background: var(--gradient-primary); border-color: transparent; color: #fff; box-shadow: var(--shadow-primary); }
.pagination-modern .dots { border: none; box-shadow: none; }

/* ==========================================================================
   BUSINESS DETAIL PAGE
   ========================================================================== */
.detail-cover-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 340px; }
.detail-cover-wrap img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.65) 100%); }
.detail-cover-actions { position: absolute; top: 18px; right: 18px; display: flex; gap: 10px; z-index: 2; }
.detail-cover-actions .icon-btn { background: rgba(255,255,255,.9); }

.detail-header-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 24px 28px; margin-top: -70px; position: relative; z-index: 3; }
.detail-logo-lg { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; border: 5px solid #fff; box-shadow: var(--shadow-sm); margin-top: -58px; background: #fff; }
.detail-header-card h1 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.55rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.detail-header-card .dh-cat { font-size: .9rem; color: var(--text-secondary); }
.detail-header-card .dh-rating { display: flex; align-items: center; gap: 8px; font-size: .9rem; margin-top: 8px; }
.detail-header-card .dh-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.detail-tabs { display: flex; gap: 6px; overflow-x: auto; background: #fff; border-radius: var(--radius-pill); border: 1px solid var(--border); padding: 6px; margin: 24px 0; }
.detail-tabs button { white-space: nowrap; padding: 10px 22px; border-radius: var(--radius-pill); font-weight: 600; font-size: .86rem; color: var(--text-secondary); border: none; background: transparent; transition: .25s var(--ease); }
.detail-tabs button.active { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-primary); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { border-radius: var(--radius-sm); overflow: hidden; height: 140px; display: block; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: .4s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a.more-overlay::after { content: attr(data-more); position: absolute; inset: 0; background: rgba(20,20,43,.6); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }

.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 11px 4px; font-size: .88rem; }
.hours-table td:first-child { font-weight: 600; color: var(--text); }
.hours-table td:last-child { text-align: right; color: var(--text-secondary); }
.hours-table tr.today td { color: var(--primary); font-weight: 700; }

.map-embed-box { border-radius: var(--radius-md); overflow: hidden; height: 260px; position: relative; background: linear-gradient(135deg, #dfe9f3, #f8f9fb); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.map-embed-box .map-pin { width: 54px; height: 54px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--shadow-primary); }

.rating-summary { display: flex; gap: 30px; align-items: center; padding: 22px; background: var(--bg); border-radius: var(--radius-md); margin-bottom: 22px; flex-wrap: wrap; }
.rating-summary .rs-score { text-align: center; }
.rating-summary .rs-score .num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--text); line-height: 1; }
.rating-summary .rs-score .stars { color: var(--warning); margin: 6px 0; }
.rating-summary .rs-score .count { font-size: .78rem; color: var(--text-secondary); }
.rating-bar-row { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--text-secondary); margin-bottom: 6px; }
.rating-bar-row .bar-track { flex: 1; height: 7px; border-radius: 10px; background: var(--border); overflow: hidden; }
.rating-bar-row .bar-fill { height: 100%; background: var(--warning); border-radius: 10px; }

.enquiry-form-card { background: var(--gradient-dark); border-radius: var(--radius-lg); padding: 26px; color: #fff; position: sticky; top: 96px; }
.enquiry-form-card h5 { font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 4px; }
.enquiry-form-card p { color: rgba(255,255,255,.6); font-size: .82rem; margin-bottom: 18px; }
.enquiry-form-card .form-control-modern { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.enquiry-form-card .form-control-modern::placeholder { color: rgba(255,255,255,.4); }
.enquiry-form-card .field-icon { color: rgba(255,255,255,.5); }

.share-row { display: flex; gap: 8px; }
.share-row a { width: 38px; height: 38px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: .25s var(--ease); }
.share-row a:hover { background: var(--gradient-primary); color: #fff; }

/* ==========================================================================
   BUSINESS LISTING PAGE — Premium Professional Design
   ========================================================================== */
.biz-listing-filter {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(20,20,43,.06), 0 1px 3px rgba(20,20,43,.04);
    border: 1px solid rgba(20,20,43,.06);
    padding: 8px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
    transition: all .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.biz-listing-filter:focus-within {
    box-shadow: 0 12px 48px rgba(229,57,53,.12), 0 2px 4px rgba(20,20,43,.04);
    border-color: rgba(229,57,53,.08);
}
.biz-listing-filter-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 6px;
}
.biz-listing-filter-field {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    transition: all .25s ease;
    position: relative;
}
.biz-listing-filter-field:focus-within {
    background: rgba(229,57,53,.03);
}
.biz-listing-filter-field i {
    color: var(--primary); font-size: .95rem; opacity: .6;
    width: 18px; text-align: center; flex-shrink: 0;
    transition: opacity .25s ease;
}
.biz-listing-filter-field:focus-within i { opacity: 1; }
.biz-listing-filter-field input,
.biz-listing-filter-field select {
    border: none; outline: none; background: transparent; width: 100%;
    font-family: 'Inter', sans-serif; font-size: .92rem; color: var(--text);
    font-weight: 450;
    letter-spacing: -0.01em;
}
.biz-listing-filter-field input::placeholder { color: #b0b5bc; font-weight: 400; }
.biz-listing-filter-divider {
    width: 1px; height: 36px; background: var(--border); flex-shrink: 0;
    opacity: .6;
}
.biz-listing-filter-btn {
    width: 48px; height: 48px; border-radius: 14px; border: none;
    background: var(--gradient-primary); color: #fff; display: flex;
    align-items: center; justify-content: center; font-size: 1.05rem;
    cursor: pointer; transition: all .35s cubic-bezier(0.22, 1, 0.36, 1); flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(229,57,53,.25);
}
.biz-listing-filter-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 28px rgba(229,57,53,.35);
}
.biz-listing-filter-btn:active { transform: translateY(0) scale(.98); }

.biz-listing-results {
    display: flex; justify-content: space-between; align-items: center;
    margin: 24px 0 20px; padding: 0 4px;
}
.biz-listing-count { display: flex; align-items: baseline; gap: 10px; }
.biz-listing-count-num {
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem;
    color: var(--text); background: var(--bg); padding: 4px 14px;
    border-radius: 10px; min-width: 32px; text-align: center;
    letter-spacing: -0.02em;
}
.biz-listing-count-label {
    font-size: .88rem; color: var(--text-secondary); font-weight: 450;
    letter-spacing: -0.01em;
}

.biz-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    padding-bottom: 100px;
}

.biz-listing-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    box-shadow: 0 1px 3px rgba(20,20,43,.04);
}
.biz-listing-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(229,57,53,.03) 0%, transparent 50%);
    opacity: 0; transition: opacity .35s ease; pointer-events: none; z-index: 1;
}
.biz-listing-card:hover {
    box-shadow: 0 16px 48px rgba(20,20,43,.1);
    transform: translateY(-6px);
    border-color: rgba(20,20,43,.08);
}
.biz-listing-card:hover::before { opacity: 1; }
.biz-listing-card-link {
    display: block; color: inherit; text-decoration: none;
    position: relative; z-index: 2;
}
.biz-listing-card-media {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%);
}
.biz-listing-card-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}
.biz-listing-card:hover .biz-listing-card-media img { transform: scale(1.12); }
.biz-listing-card-media-fallback {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--text-secondary); opacity: .15;
}
.biz-listing-card-badge-featured {
    position: absolute; top: 12px; left: 12px;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gradient-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem;
    box-shadow: 0 6px 16px rgba(229,57,53,.35);
    z-index: 3;
    border: 2px solid #fff;
}
.biz-listing-card-body {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px; position: relative;
}
.biz-listing-card-info { flex: 1; min-width: 0; }
.biz-listing-card-title {
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem;
    color: var(--text); margin: 0; line-height: 1.35;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    letter-spacing: -0.01em;
}
.biz-listing-card-cat {
    font-size: .8rem; color: var(--text-secondary); margin-top: 3px;
    display: flex; align-items: center; gap: 5px;
    font-weight: 500;
}
.biz-listing-card-cat i { font-size: .72rem; color: var(--primary); opacity: .7; }
.biz-listing-card-rating {
    display: flex; align-items: center; gap: 5px; margin-top: 6px; flex-wrap: wrap;
}
.biz-listing-card-stars { color: var(--warning); font-size: .72rem; letter-spacing: 1.5px; }
.biz-listing-card-rate {
    font-weight: 700; font-size: .84rem; color: var(--text);
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
}
.biz-listing-card-reviews { font-size: .74rem; color: var(--text-secondary); font-weight: 450; }
.biz-listing-card-verified {
    color: var(--blue); font-size: .8rem; margin-left: 2px;
    filter: drop-shadow(0 1px 2px rgba(66,133,244,.2));
}
.biz-listing-card-meta {
    display: flex; gap: 12px; margin-top: 6px; font-size: .76rem; color: var(--text-secondary); flex-wrap: wrap;
    font-weight: 450;
}
.biz-listing-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.biz-listing-card-meta i { font-size: .72rem; color: var(--primary); opacity: .6; }
.biz-listing-card-arrow {
    color: var(--border); font-size: .9rem; flex-shrink: 0; transition: all .3s cubic-bezier(0.22, 1, 0.36, 1);
    margin-top: 8px;
}
.biz-listing-card:hover .biz-listing-card-arrow {
    color: var(--primary); transform: translateX(4px);
}

.biz-listing-empty { text-align: center; padding: 80px 20px; }
.biz-listing-empty-icon {
    width: 96px; height: 96px; border-radius: 24px; background: var(--bg);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
    font-size: 2.5rem; color: var(--text-secondary);
    border: 2px dashed var(--border);
}
.biz-listing-empty h4 {
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.25rem;
    margin-bottom: 10px; color: var(--text); letter-spacing: -0.01em;
}
.biz-listing-empty p {
    color: var(--text-secondary); font-size: .92rem; max-width: 420px;
    margin: 0 auto 24px; line-height: 1.6;
}

/* ==========================================================================
   BUSINESS DETAIL PAGE — Premium Professional Redesign
   ========================================================================== */
.biz-detail-hero {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 48px;
}
.biz-detail-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.7) 60%, rgba(0,0,0,.85) 100%);
    backdrop-filter: saturate(1.2);
}
.biz-detail-hero-solid {
    background: linear-gradient(145deg, #0F1117 0%, #1A1B2F 35%, #2D1B69 70%, #1A1B2F 100%);
    position: relative; overflow: hidden;
}
.biz-detail-hero-solid::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 75% 25%, rgba(229,57,53,.18) 0%, transparent 50%),
        radial-gradient(ellipse at 25% 75%, rgba(99,102,241,.15) 0%, transparent 50%);
    pointer-events: none;
}
.biz-detail-hero-solid::after {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='15' cy='15' r='1' fill='white' fill-opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}
.biz-detail-hero-content { position: relative; z-index: 2; color: #fff; padding-bottom: 10%; }
.biz-detail-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.2);
    padding: 8px 18px; border-radius: 50px; margin-bottom: 16px; font-size: .88rem;
    font-weight: 500; letter-spacing: -0.01em;
}
.biz-detail-hero-title {
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.8rem;
    margin: 0; text-shadow: 0 4px 12px rgba(0,0,0,.3);
    letter-spacing: -0.03em; line-height: 1.15;
    max-width: 800px;
}
.biz-detail-hero-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.biz-detail-hero-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: .94rem;
    background: #fff; color: var(--text); transition: all .35s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,.1);
    letter-spacing: -0.01em;
}
.biz-detail-hero-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.biz-detail-hero-btn-wa { background: #25D366; color: #fff; }
.biz-detail-hero-btn-wa:hover { background: #1da851; color: #fff; }

.biz-detail-breadcrumb {
    display: flex; align-items: center; gap: 10px; font-size: .86rem;
    color: var(--text-secondary); margin-bottom: 24px; padding: 16px 22px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(20,20,43,.04);
    border: 1px solid rgba(20,20,43,.06);
    flex-wrap: wrap;
}
.biz-detail-breadcrumb a { color: var(--text-secondary); transition: color .25s ease; }
.biz-detail-breadcrumb a:hover { color: var(--primary); }
.biz-detail-breadcrumb i { font-size: .6rem; opacity: .5; }
.biz-detail-breadcrumb .active { color: var(--text); font-weight: 600; }

.biz-detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.biz-detail-main { min-width: 0; }
.biz-detail-sidebar { position: sticky; top: 100px; }

.biz-detail-badges { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.biz-detail-badge {
    display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700;
    padding: 7px 16px; border-radius: 50px; letter-spacing: -0.01em;
}
.biz-detail-badge-featured { background: linear-gradient(135deg, rgba(229,57,53,.12), rgba(229,57,53,.08)); color: var(--primary); border: 1px solid rgba(229,57,53,.15); }
.biz-detail-badge-verified { background: linear-gradient(135deg, rgba(66,133,244,.12), rgba(66,133,244,.08)); color: var(--blue); border: 1px solid rgba(66,133,244,.15); }

.biz-detail-section {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(20,20,43,.04);
    padding: 24px; margin-bottom: 20px;
    transition: box-shadow .3s ease;
}
.biz-detail-section:hover { box-shadow: 0 4px 12px rgba(20,20,43,.06); }
.biz-detail-section-title {
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.08rem;
    color: var(--text); margin: 0 0 14px; display: flex; align-items: center; gap: 10px;
    letter-spacing: -0.01em;
}
.biz-detail-section-title i {
    width: 32px; height: 32px; border-radius: 10px;
    background: var(--gradient-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; box-shadow: 0 4px 12px rgba(229,57,53,.2);
}
.biz-detail-desc { font-size: .94rem; color: var(--text-secondary); line-height: 1.75; margin: 0; }

.biz-detail-gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.biz-detail-gallery-item {
    border-radius: var(--radius-md); overflow: hidden; height: 130px;
    display: block; position: relative; box-shadow: 0 2px 8px rgba(20,20,43,.04);
}
.biz-detail-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: all .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.biz-detail-gallery-item:hover img { transform: scale(1.1); }
.biz-detail-gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(20,20,43,.5), rgba(20,20,43,.3));
    display: flex; align-items: center; justify-content: center;
    color: #fff; opacity: 0; transition: all .35s ease;
    backdrop-filter: blur(1px);
}
.biz-detail-gallery-item:hover .biz-detail-gallery-overlay { opacity: 1; }
.biz-detail-gallery-overlay i {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.95); color: var(--text);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    transform: scale(.8); transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.biz-detail-gallery-item:hover .biz-detail-gallery-overlay i { transform: scale(1); }
.biz-detail-gallery-more-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(20,20,43,.75), rgba(229,57,53,.4));
    display: flex; align-items: center; justify-content: center;
    transition: all .35s ease;
}
.biz-detail-gallery-more-text {
    color: #fff; font-weight: 700; font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
    letter-spacing: -0.01em;
}

.biz-detail-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.biz-detail-contact-item { display: flex; gap: 14px; align-items: flex-start; }
.biz-detail-contact-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--bg), rgba(229,57,53,.06));
    border: 1px solid rgba(229,57,53,.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: .95rem; flex-shrink: 0;
    transition: all .3s ease;
}
.biz-detail-contact-item:hover .biz-detail-contact-icon {
    background: var(--gradient-primary); color: #fff;
    transform: scale(1.05);
}
.biz-detail-contact-content { flex: 1; }
.biz-detail-contact-content strong {
    display: block; font-size: .78rem; color: var(--text-secondary);
    margin-bottom: 3px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
}
.biz-detail-contact-content p { margin: 0; font-size: .92rem; color: var(--text); font-weight: 500; }
.biz-detail-contact-content a {
    font-size: .92rem; color: var(--primary); font-weight: 500;
    text-decoration: none; transition: all .25s ease;
}
.biz-detail-contact-content a:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 2px; }

.biz-detail-hours {
    background: linear-gradient(135deg, var(--bg), rgba(229,57,53,.02));
    border-radius: var(--radius-md); padding: 18px; border: 1px solid var(--border);
}
.biz-detail-hours-status {
    display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem;
    margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.biz-detail-hours-status.open { color: #16a34a; }
.biz-detail-hours-status.closed { color: var(--primary); }
.biz-detail-hours-dot {
    width: 10px; height: 10px; border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
.biz-detail-hours-status.open .biz-detail-hours-dot {
    background: #16a34a; animation: pulse-dot 2s ease infinite;
}
.biz-detail-hours-status.closed .biz-detail-hours-dot {
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(229,57,53,.15);
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .7; transform: scale(1.15); }
}
.biz-detail-hours-today { font-weight: 400; font-size: .84rem; color: var(--text-secondary); }
.biz-detail-hours-table { display: flex; flex-direction: column; gap: 2px; }
.biz-detail-hours-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 12px; border-radius: 10px; font-size: .86rem;
    transition: background .2s ease;
}
.biz-detail-hours-row.is-today {
    background: #fff; font-weight: 600;
    box-shadow: 0 1px 3px rgba(20,20,43,.06);
    border: 1px solid var(--border);
}
.biz-detail-hours-day { display: flex; align-items: center; gap: 8px; color: var(--text); }
.biz-detail-hours-today-badge {
    font-size: .66rem; font-weight: 700; color: var(--primary);
    background: linear-gradient(135deg, rgba(229,57,53,.12), rgba(229,57,53,.06));
    padding: 3px 10px; border-radius: 10px; letter-spacing: -0.01em;
}
.biz-detail-hours-time { color: var(--text-secondary); font-variant-numeric: tabular-nums; font-family: 'Inter', sans-serif; }
.biz-detail-hours-time.closed { color: var(--primary); font-weight: 600; }
.biz-detail-hours-closed { font-weight: 600; }
.biz-detail-hours-sep { margin: 0 6px; opacity: .5; }

.biz-detail-social { display: flex; gap: 10px; flex-wrap: wrap; }
.biz-detail-social-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 50px; font-weight: 600; font-size: .85rem;
    transition: all .35s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none; letter-spacing: -0.01em;
}
.biz-detail-social-link.facebook { background: #1877F2; color: #fff; box-shadow: 0 4px 12px rgba(24,119,242,.25); }
.biz-detail-social-link.instagram { background: #E4405F; color: #fff; box-shadow: 0 4px 12px rgba(228,64,95,.25); }
.biz-detail-social-link.youtube { background: #FF0000; color: #fff; box-shadow: 0 4px 12px rgba(255,0,0,.25); }
.biz-detail-social-link.linkedin { background: #0A66C2; color: #fff; box-shadow: 0 4px 12px rgba(10,102,194,.25); }
.biz-detail-social-link.twitter { background: #1DA1F2; color: #fff; box-shadow: 0 4px 12px rgba(29,161,242,.25); }
.biz-detail-social-link:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* Sidebar */
.biz-detail-sidebar-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(20,20,43,.04);
    padding: 24px; margin-bottom: 20px;
    transition: box-shadow .3s ease;
}
.biz-detail-sidebar-card:hover { box-shadow: 0 4px 16px rgba(20,20,43,.07); }
.biz-detail-sidebar-card-dark {
    background: linear-gradient(145deg, #0F1117 0%, #1A1B2F 35%, #2D1B69 70%, #1A1B2F 100%);
    color: #fff;
    border: 1px solid rgba(99,102,241,.12);
    position: relative; overflow: hidden;
}
.biz-detail-sidebar-card-dark::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(229,57,53,.12) 0%, transparent 50%);
    pointer-events: none;
}
.biz-detail-sidebar-card-dark > * { position: relative; z-index: 1; }
.biz-detail-sidebar-logo {
    width: 100%; max-width: 200px; height: auto; display: block;
    margin: 0 auto 18px; border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.biz-detail-sidebar-logo-placeholder {
    width: 110px; height: 110px; border-radius: 24px;
    background: linear-gradient(135deg, var(--bg), rgba(229,57,53,.06));
    border: 2px dashed var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem; color: var(--text-secondary); margin: 0 auto 18px;
}
.biz-detail-sidebar-name {
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.15rem;
    text-align: center; margin: 0 0 6px; color: var(--text); letter-spacing: -0.01em;
}
.biz-detail-sidebar-card-dark .biz-detail-sidebar-name {
    background: linear-gradient(135deg, #fff, rgba(255,255,255,.85));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.biz-detail-sidebar-cat {
    text-align: center; font-size: .86rem; color: var(--text-secondary); margin: 0;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.biz-detail-sidebar-title {
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.05rem;
    margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.biz-detail-sidebar-card-dark .biz-detail-sidebar-title { color: #fff; }

.biz-detail-actions { display: flex; flex-direction: column; gap: 10px; }
.biz-detail-action {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 18px; border-radius: 14px; font-weight: 600; font-size: .9rem;
    text-decoration: none; transition: all .35s cubic-bezier(0.22, 1, 0.36, 1);
    letter-spacing: -0.01em;
}
.biz-detail-action-call {
    background: var(--gradient-primary); color: #fff;
    box-shadow: 0 6px 20px rgba(229,57,53,.25);
}
.biz-detail-action-wa {
    background: #25D366; color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,.25);
}
.biz-detail-action-email {
    background: var(--bg); color: var(--text); border: 1px solid var(--border);
}
.biz-detail-action-dir {
    background: var(--bg); color: var(--text); border: 1px solid var(--border);
}
.biz-detail-action:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 24px rgba(20,20,43,.1);
}
.biz-detail-action-call:hover { box-shadow: 0 10px 28px rgba(229,57,53,.4); }
.biz-detail-action-wa:hover { box-shadow: 0 10px 28px rgba(37,211,102,.35); }

.biz-detail-enquiry-form { display: flex; flex-direction: column; gap: 14px; }
.biz-detail-form-group label {
    display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px;
    color: inherit; letter-spacing: -0.01em;
}
.biz-detail-form-control {
    width: 100%; padding: 12px 16px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.07); color: #fff; font-size: .9rem;
    outline: none; font-family: 'Inter', sans-serif;
    transition: all .3s ease; backdrop-filter: blur(8px);
}
.biz-detail-form-control::placeholder { color: rgba(255,255,255,.35); font-weight: 400; }
.biz-detail-form-control:focus {
    border-color: rgba(255,255,255,.3);
    box-shadow: 0 0 0 4px rgba(255,255,255,.06);
    background: rgba(255,255,255,.1);
}
.biz-detail-form-control option { color: var(--text); background: #fff; }
textarea.biz-detail-form-control { resize: vertical; min-height: 90px; }
.biz-detail-submit {
    width: 100%; padding: 13px; border-radius: 14px; border: none;
    background: var(--gradient-primary); color: #fff;
    font-weight: 700; font-size: .95rem;
    cursor: pointer; transition: all .35s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 6px 20px rgba(229,57,53,.3);
    letter-spacing: -0.01em;
}
.biz-detail-submit:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 32px rgba(229,57,53,.45);
}
.biz-detail-submit:active { transform: translateY(-1px) scale(.99); }

.biz-detail-info { display: flex; flex-direction: column; gap: 10px; }
.biz-detail-info-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid var(--border);
}
.biz-detail-info-row:last-child { border-bottom: none; }
.biz-detail-info-label {
    font-size: .82rem; color: var(--text-secondary); font-weight: 500;
}
.biz-detail-info-value {
    font-size: .9rem; color: var(--text); font-weight: 600;
    letter-spacing: -0.01em;
}

/* Responsive */
@media (max-width: 992px) {
    .biz-detail-hero { height: 360px; padding-bottom: 44px; }
    .biz-detail-hero-title { font-size: 2rem; }
    .biz-detail-layout { grid-template-columns: 1fr; gap: 20px; }
    .biz-detail-sidebar { position: static; }
    .biz-detail-contact-grid { grid-template-columns: 1fr; }
    .biz-detail-gallery { grid-template-columns: repeat(3, 1fr); }
    .biz-listing-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 768px) {
    .biz-detail-hero { height: 300px; padding-bottom: 36px; }
    .biz-detail-hero-title { font-size: 1.65rem; }
    .biz-detail-hero-btn { padding: 10px 20px; font-size: .85rem; }
    .biz-detail-section { padding: 18px; }
    .biz-detail-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .biz-detail-gallery-item { height: 110px; }
}
@media (max-width: 576px) {
    .biz-detail-hero { height: 260px; padding-bottom: 28px; }
    .biz-detail-hero-title { font-size: 1.4rem; }
    .biz-detail-hero-badge { font-size: .78rem; padding: 6px 14px; }
    .biz-detail-hero-btn { padding: 8px 16px; font-size: .8rem; gap: 6px; }
}

/* ==========================================================================
   BLOG FRONTEND
   ========================================================================== */

/* Blog Categories Page */
.blog-categories-page {
    padding: 30px 0 60px;
}

.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.blog-category-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all .3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.blog-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--cat-color, var(--primary));
    opacity: 0;
    transition: opacity .3s;
}

.blog-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(20,20,43,.1);
    border-color: var(--cat-color, var(--primary));
}

.blog-category-card:hover::before {
    opacity: 1;
}

.blog-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--cat-color, var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.blog-category-info {
    flex: 1;
    min-width: 0;
}

.blog-category-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 4px;
}

.blog-category-count {
    font-size: .8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-category-arrow {
    color: var(--border);
    font-size: .9rem;
    flex-shrink: 0;
    transition: all .3s;
}

.blog-category-card:hover .blog-category-arrow {
    color: var(--cat-color, var(--primary));
    transform: translateX(4px);
}

/* Blog Posts Grid */
.blog-category-posts-page {
    padding: 30px 0 60px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.blog-posts-grid-related {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.blog-post-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all .3s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(20,20,43,.1);
    border-color: var(--primary);
}

.blog-post-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-post-card-media img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-post-card:hover .blog-post-card-media img {
    transform: scale(1.08);
}

.blog-post-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(229,57,53,.3);
}

.blog-post-card-badge-breaking {
    background: #dc2626;
    left: auto;
    right: 12px;
    box-shadow: 0 4px 12px rgba(220,38,38,.3);
}

.blog-post-card-body {
    padding: 20px;
}

.blog-post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.blog-post-card-cat {
    font-size: .75rem;
    font-weight: 600;
    color: var(--cat-color, var(--primary));
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-post-card-cat i {
    font-size: .7rem;
}

.blog-post-card-date {
    font-size: .75rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-post-card-date i {
    font-size: .7rem;
}

.blog-post-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-card-excerpt {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.blog-post-card-read {
    font-size: .78rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-post-card-read i {
    font-size: .7rem;
    color: var(--primary);
}

.blog-post-card-arrow {
    color: var(--border);
    font-size: .85rem;
    transition: all .3s;
}

.blog-post-card:hover .blog-post-card-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* Blog Detail Page */
.blog-detail-page {
    padding: 30px 0 60px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-detail-article {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(20,20,43,.05);
}

.blog-detail-featured {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
}

.blog-detail-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.blog-detail-meta-item {
    font-size: .82rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-meta-item i {
    color: var(--primary);
    font-size: .75rem;
}

.blog-detail-content {
    padding: 28px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    margin-top: 1.5em;
    margin-bottom: .5em;
}

.blog-detail-content p {
    margin-bottom: 1em;
}

.blog-detail-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
}

.blog-detail-content a {
    color: var(--primary);
}

.blog-detail-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 28px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.blog-detail-tags-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-tag {
    background: var(--gray-100);
    color: var(--text-secondary);
    font-size: .78rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-detail-tag i {
    font-size: .65rem;
    color: var(--primary);
}

/* Blog Detail Gallery */
.blog-detail-gallery-section {
    padding: 28px;
    border-top: 1px solid var(--border);
}

.blog-detail-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-detail-section-title i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}

.blog-detail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.blog-detail-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 130px;
    position: relative;
    display: block;
}

.blog-detail-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.blog-detail-gallery-item:hover img {
    transform: scale(1.1);
}

.blog-detail-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,20,43,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

.blog-detail-gallery-item:hover .blog-detail-gallery-overlay {
    opacity: 1;
}

.blog-detail-gallery-overlay i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transform: scale(.8);
    transition: transform .3s;
}

.blog-detail-gallery-item:hover .blog-detail-gallery-overlay i {
    transform: scale(1);
}

.blog-detail-gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,20,43,.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-detail-gallery-more-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Related Posts */
.blog-detail-related {
    margin-top: 30px;
}

/* Empty State */
.blog-empty-state {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.blog-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 16px;
}

.blog-empty-state h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 8px;
}

.blog-empty-state p {
    color: var(--text-secondary);
    font-size: .9rem;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-categories-grid {
        grid-template-columns: 1fr;
    }
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    .blog-detail-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .blog-detail-gallery-item {
        height: 110px;
    }
    .blog-detail-meta {
        gap: 12px;
        padding: 16px 20px;
    }
    .blog-detail-content {
        padding: 20px;
    }
    .blog-detail-tags {
        padding: 16px 20px;
    }
    .blog-detail-gallery-section {
        padding: 20px;
    }
}

/* ==========================================================================
   DASHBOARD — COMPREHENSIVE RESPONSIVE BREAKPOINTS
   Mobile-first strategy covering all device categories
   ========================================================================== */

/* ---- Ultra-wide monitors (≥1920px) ---- */
@media (min-width: 1920px) {
    .dash-grid { grid-template-columns: 300px 1fr; gap: 32px; }
    .dash-wrapper { padding: 40px 0 80px; }
    .dash-sidebar { padding: 26px; }
    .dash-panel { padding: 28px; }
    .form-section-card { padding: 32px; }
    .dash-stat-card { padding: 26px; }
    .dash-stat-card .dsc-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .dash-stat-card .dsc-num { font-size: 1.7rem; }
    .quick-action-card { padding: 24px 20px; }
    .quick-action-card .qa-icon { width: 54px; height: 54px; font-size: 1.3rem; }
}

/* ---- Large desktop (≥1600px) ---- */
@media (min-width: 1600px) {
    .dash-grid { grid-template-columns: 290px 1fr; gap: 30px; }
    .dash-topbar h2 { font-size: 1.6rem; }
}

/* ---- Small desktop / large tablet (≤1199.98px) ---- */
@media (max-width: 1199.98px) {
    .dash-grid { grid-template-columns: 240px 1fr; gap: 20px; }
    .dash-sidebar { padding: 18px; }
    .dash-nav a { padding: 10px 12px; font-size: .85rem; }
    .dash-nav a i { width: 16px; font-size: .88rem; }
    .dash-stat-card { padding: 18px; gap: 12px; }
    .dash-stat-card .dsc-icon { width: 46px; height: 46px; font-size: 1.1rem; }
    .dash-stat-card .dsc-num { font-size: 1.3rem; }
    .form-section-card { padding: 24px; }
    .form-section-card .fsc-sub { padding-left: 0; }
    .form-section-card h5 { flex-wrap: wrap; }
}

/* ---- Tablet landscape (≤991.98px) ---- */
@media (max-width: 991.98px) {
    .dash-wrapper { padding: 24px 0 56px; }
    .dash-grid { grid-template-columns: 1fr; gap: 20px; }
    .dash-sidebar { position: static; top: auto; padding: 16px; border-radius: var(--radius-md); }
    .dash-profile-mini { padding-bottom: 14px; margin-bottom: 12px; }
    .dash-nav { display: flex; flex-wrap: wrap; gap: 4px; }
    .dash-nav li { margin-bottom: 0; }
    .dash-nav a { padding: 8px 14px; font-size: .82rem; border-radius: 10px; white-space: nowrap; }
    .dash-nav a i { width: 14px; font-size: .82rem; }
    .dash-nav-divider { width: 100%; margin: 8px 4px 4px; }
    .dash-logout { padding: 8px 14px; font-size: .82rem; margin-top: 0; }
    .dash-topbar { margin-bottom: 18px; }
    .dash-topbar h2 { font-size: 1.35rem; }
    .dash-panel { padding: 20px; }
    .form-section-card { padding: 22px; margin-bottom: 16px; }
    .form-sticky-actions { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; }
    .form-sticky-actions .d-flex { justify-content: flex-end; }
    .form-sticky-actions .btn { flex: 1; }
    .business-hours-grid .bh-day-row { flex-wrap: wrap; gap: 10px; }
    .bh-day-name { min-width: 90px; }
    .bh-time-fields { flex: 1 1 100%; }
    .bh-time-input { max-width: none; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .manage-card { flex-wrap: wrap; }
    .manage-card .mc-actions { width: 100%; justify-content: flex-end; }
    .chat-shell { grid-template-columns: 1fr; height: auto; min-height: 600px; }
    .chat-list { border-right: none; border-bottom: 1px solid var(--border); max-height: 300px; }
    .chat-window { min-height: 400px; }
}

/* ---- Tablet portrait (≤820px) ---- */
@media (max-width: 820px) {
    .dash-stat-card { padding: 16px; }
    .dash-stat-card .dsc-icon { width: 42px; height: 42px; font-size: 1rem; }
    .dash-stat-card .dsc-num { font-size: 1.2rem; }
    .dash-stat-card .dsc-label { font-size: .74rem; }
    .quick-action-card { padding: 16px 14px; }
    .quick-action-card .qa-icon { width: 42px; height: 42px; font-size: 1rem; }
    .quick-action-card .qa-title { font-size: .88rem; }
    .quick-action-card .qa-desc { font-size: .74rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .avatar-upload-box { flex-direction: column; align-items: flex-start; gap: 14px; }
    .avatar-upload-box .au-img-wrap { width: 80px; height: 80px; }
    .avatar-upload-box img { width: 80px; height: 80px; }
    .listing-row-card { flex-direction: column; }
    .listing-row-card .lrc-img { width: 100%; height: 180px; }
    .listing-row-card .lrc-img img { min-height: 180px; }
    .biz-listing-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
}

/* ---- Mobile landscape / large phone (≤767.98px) ---- */
@media (max-width: 767.98px) {
    .dash-wrapper { padding: 16px 0 40px; }
    .dash-topbar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .dash-topbar h2 { font-size: 1.2rem; }
    .dash-topbar p { font-size: .82rem; }
    .dash-topbar .btn { width: 100%; }
    .dash-panel { padding: 16px; border-radius: var(--radius-md); }
    .dash-panel-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .dash-panel-head h5 { font-size: .95rem; }
    .dash-stat-card { padding: 14px; gap: 10px; }
    .dash-stat-card .dsc-icon { width: 38px; height: 38px; border-radius: 12px; font-size: .9rem; }
    .dash-stat-card .dsc-num { font-size: 1.1rem; }
    .dash-stat-card .dsc-label { font-size: .7rem; }
    .dash-stat-card .dsc-trend { font-size: .65rem; }
    .form-section-card { padding: 18px; border-radius: var(--radius-md); }
    .form-section-card h5 { font-size: .95rem; }
    .form-section-card h5 .fsc-num { width: 26px; height: 26px; font-size: .74rem; }
    .form-section-card .fsc-sub { font-size: .8rem; margin-bottom: 16px; }
    .form-sticky-actions { padding: 12px 14px; }
    .form-sticky-actions .d-flex { flex-direction: column; gap: 8px; }
    .form-sticky-actions .btn { width: 100%; }
    .form-sticky-actions > span { font-size: .78rem; text-align: center; }
    .business-hours-grid .bh-day-row { flex-direction: column; align-items: flex-start; padding: 12px 0; }
    .bh-day-name { min-width: auto; font-size: .84rem; }
    .bh-closed-check { min-width: auto; }
    .bh-time-fields { width: 100%; }
    .bh-time-input { max-width: none; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gallery-slot { aspect-ratio: 1/1; }
    .service-cat-grid { gap: 6px; }
    .service-cat-check { padding: 6px 10px; font-size: .78rem; }
    .empty-state { padding: 40px 16px; }
    .empty-state .empty-state-icon { width: 72px; height: 72px; font-size: 1.8rem; }
    .empty-state h4 { font-size: 1.05rem; }
    .empty-state p { font-size: .84rem; }
    .profile-field { padding: 12px 14px; }
    .profile-field .pf-label { font-size: .66rem; }
    .profile-field .pf-value { font-size: .86rem; }
    .dash-table { min-width: 600px; }
    .table-responsive { margin: -16px; padding: 16px; }
    .manage-card { flex-direction: column; align-items: flex-start; gap: 12px; }
    .manage-card img { width: 72px; height: 72px; }
    .manage-card .mc-actions { width: 100%; justify-content: flex-start; }
    .review-item { flex-direction: column; gap: 10px; }
    .notif-item { padding: 12px; }
    .toggle-switch-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .toggle-switch { align-self: flex-end; }
    .chat-shell { min-height: 500px; }
    .chat-bubble { max-width: 85%; }
    .chat-input-row { padding: 12px 14px; }
    .biz-listing-grid { grid-template-columns: 1fr; gap: 14px; padding-bottom: 60px; }
    .biz-listing-filter { margin-top: -40px; border-radius: 16px; }
    .biz-listing-filter-inner { flex-direction: column; align-items: stretch; }
    .biz-listing-filter-field { min-width: 100%; padding: 10px 14px; }
    .biz-listing-filter-divider { display: none; }
    .biz-listing-filter-btn { width: 100%; height: 44px; border-radius: 12px; }
    .biz-listing-results { flex-direction: column; align-items: flex-start; gap: 10px; }
    .listing-toolbar { flex-direction: column; align-items: flex-start; }
    .listing-toolbar-right { width: 100%; justify-content: space-between; }
    .pagination-modern { gap: 4px; }
    .pagination-modern a, .pagination-modern span { width: 36px; height: 36px; font-size: .8rem; }
}

/* ---- Small mobile (≤640px) ---- */
@media (max-width: 640px) {
    .dash-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .dash-nav a { white-space: nowrap; flex-shrink: 0; }
    .dash-nav-divider { display: none; }
    .dash-profile-mini { flex-direction: column; align-items: flex-start; gap: 8px; }
    .dash-profile-mini img { width: 44px; height: 44px; }
    .dash-profile-mini .n { font-size: .88rem; }
    .dash-profile-mini .e { font-size: .7rem; word-break: break-all; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .form-section-card .row.g-3 > [class*="col-"] { padding-left: 8px; padding-right: 8px; }
    .form-section-card .row.g-3 { margin-left: -8px; margin-right: -8px; }
    .biz-detail-contact-grid { grid-template-columns: 1fr; }
    .biz-detail-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .biz-detail-gallery-item { height: 100px; }
    .biz-detail-hero { height: 240px; }
    .biz-detail-hero-title { font-size: 1.3rem; }
    .biz-detail-hero-btn { padding: 8px 14px; font-size: .78rem; }
    .biz-detail-section { padding: 16px; }
    .biz-detail-sidebar-card { padding: 18px; }
    .biz-detail-hours-row { flex-wrap: wrap; gap: 4px; }
    .biz-detail-hours-time { font-size: .8rem; }
    .biz-detail-social-link { padding: 8px 14px; font-size: .8rem; }
    .biz-detail-action { padding: 11px 14px; font-size: .85rem; }
    .biz-detail-info-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .biz-detail-info-value { font-size: .85rem; }
    .biz-detail-breadcrumb { padding: 12px 16px; font-size: .8rem; }
    .biz-detail-badges { gap: 6px; }
    .biz-detail-badge { padding: 5px 12px; font-size: .74rem; }
    .biz-detail-section-title { font-size: .98rem; }
    .biz-detail-section-title i { width: 28px; height: 28px; font-size: .78rem; }
    .biz-detail-desc { font-size: .88rem; }
    .biz-detail-contact-item { gap: 10px; }
    .biz-detail-contact-icon { width: 38px; height: 38px; font-size: .85rem; }
    .biz-detail-contact-content p, .biz-detail-contact-content a { font-size: .86rem; }
    .biz-detail-hours { padding: 14px; }
    .biz-detail-hours-status { font-size: .86rem; }
    .biz-detail-hours-row { padding: 6px 8px; font-size: .8rem; }
    .biz-detail-hours-day { gap: 6px; }
    .biz-detail-hours-today-badge { font-size: .6rem; padding: 2px 8px; }
    .biz-detail-hours-sep { margin: 0 3px; }
    .biz-detail-form-control { padding: 10px 14px; font-size: .86rem; }
    .biz-detail-submit { padding: 11px; font-size: .9rem; }
    .biz-detail-sidebar-logo { max-width: 160px; }
    .biz-detail-sidebar-logo-placeholder { width: 90px; height: 90px; font-size: 2.2rem; }
    .biz-detail-sidebar-name { font-size: 1rem; }
    .biz-detail-sidebar-cat { font-size: .8rem; }
    .biz-detail-sidebar-title { font-size: .95rem; }
    .biz-detail-actions { gap: 8px; }
    .biz-detail-action { padding: 10px 12px; font-size: .82rem; }
    .biz-detail-enquiry-form { gap: 10px; }
    .biz-detail-form-group label { font-size: .78rem; }
    .biz-detail-info-label { font-size: .78rem; }
    .biz-detail-info-value { font-size: .84rem; }
    .biz-detail-gallery-overlay i { width: 36px; height: 36px; font-size: .8rem; }
    .biz-detail-gallery-more-text { font-size: 1rem; }
    .biz-detail-hero-badge { font-size: .72rem; padding: 5px 12px; }
    .biz-detail-hero-actions { gap: 8px; }
    .biz-detail-hero-btn { padding: 7px 12px; font-size: .76rem; gap: 6px; }
    .biz-detail-hero-btn i { font-size: .8rem; }
    .biz-detail-breadcrumb { margin-bottom: 16px; }
    .biz-detail-breadcrumb i { font-size: .55rem; }
    .biz-detail-breadcrumb .active { font-size: .78rem; }
    .biz-detail-breadcrumb a { font-size: .78rem; }
    .biz-detail-badges { margin-bottom: 14px; }
    .biz-detail-badge { padding: 4px 10px; font-size: .7rem; }
    .biz-detail-badge i { font-size: .7rem; }
    .biz-detail-section { margin-bottom: 14px; }
    .biz-detail-section-title { font-size: .92rem; margin-bottom: 10px; }
    .biz-detail-section-title i { width: 26px; height: 26px; font-size: .72rem; }
    .biz-detail-desc { font-size: .84rem; line-height: 1.65; }
    .biz-detail-contact-grid { gap: 10px; }
    .biz-detail-contact-item { gap: 8px; }
    .biz-detail-contact-icon { width: 34px; height: 34px; font-size: .78rem; }
    .biz-detail-contact-content strong { font-size: .72rem; }
    .biz-detail-contact-content p, .biz-detail-contact-content a { font-size: .82rem; }
    .biz-detail-hours { padding: 12px; }
    .biz-detail-hours-status { font-size: .82rem; margin-bottom: 10px; padding-bottom: 10px; }
    .biz-detail-hours-dot { width: 8px; height: 8px; }
    .biz-detail-hours-today { font-size: .78rem; }
    .biz-detail-hours-row { padding: 5px 6px; font-size: .78rem; }
    .biz-detail-hours-day { gap: 4px; }
    .biz-detail-hours-today-badge { font-size: .56rem; padding: 2px 6px; }
    .biz-detail-hours-time { font-size: .76rem; }
    .biz-detail-hours-sep { margin: 0 2px; }
    .biz-detail-social { gap: 6px; }
    .biz-detail-social-link { padding: 7px 12px; font-size: .76rem; gap: 6px; }
    .biz-detail-social-link i { font-size: .8rem; }
    .biz-detail-sidebar-card { padding: 16px; margin-bottom: 14px; }
    .biz-detail-sidebar-logo { max-width: 140px; }
    .biz-detail-sidebar-logo-placeholder { width: 80px; height: 80px; font-size: 2rem; }
    .biz-detail-sidebar-name { font-size: .95rem; }
    .biz-detail-sidebar-cat { font-size: .76rem; }
    .biz-detail-sidebar-title { font-size: .9rem; margin-bottom: 14px; }
    .biz-detail-actions { gap: 6px; }
    .biz-detail-action { padding: 9px 10px; font-size: .8rem; gap: 8px; }
    .biz-detail-action i { font-size: .85rem; }
    .biz-detail-enquiry-form { gap: 8px; }
    .biz-detail-form-group label { font-size: .74rem; }
    .biz-detail-form-control { padding: 9px 12px; font-size: .82rem; }
    .biz-detail-submit { padding: 10px; font-size: .86rem; }
    .biz-detail-info { gap: 6px; }
    .biz-detail-info-row { padding: 6px 0; }
    .biz-detail-info-label { font-size: .74rem; }
    .biz-detail-info-value { font-size: .8rem; }
    .biz-detail-gallery { gap: 6px; }
    .biz-detail-gallery-item { height: 90px; }
    .biz-detail-gallery-overlay i { width: 32px; height: 32px; font-size: .72rem; }
    .biz-detail-gallery-more-text { font-size: .9rem; }
    .biz-detail-hero { height: 220px; padding-bottom: 24px; }
    .biz-detail-hero-title { font-size: 1.2rem; }
    .biz-detail-hero-badge { font-size: .68rem; padding: 4px 10px; margin-bottom: 10px; }
    .biz-detail-hero-actions { gap: 6px; margin-top: 12px; }
    .biz-detail-hero-btn { padding: 6px 10px; font-size: .72rem; gap: 4px; }
    .biz-detail-hero-btn i { font-size: .72rem; }
    .biz-detail-breadcrumb { padding: 10px 14px; font-size: .76rem; margin-bottom: 14px; }
    .biz-detail-breadcrumb i { font-size: .5rem; }
    .biz-detail-breadcrumb .active { font-size: .74rem; }
    .biz-detail-breadcrumb a { font-size: .74rem; }
    .biz-detail-badges { gap: 4px; margin-bottom: 12px; }
    .biz-detail-badge { padding: 3px 8px; font-size: .66rem; }
    .biz-detail-badge i { font-size: .66rem; }
    .biz-detail-section { padding: 14px; margin-bottom: 12px; border-radius: 16px; }
    .biz-detail-section-title { font-size: .88rem; margin-bottom: 8px; }
    .biz-detail-section-title i { width: 24px; height: 24px; font-size: .68rem; }
    .biz-detail-desc { font-size: .8rem; line-height: 1.6; }
    .biz-detail-contact-grid { gap: 8px; }
    .biz-detail-contact-item { gap: 6px; }
    .biz-detail-contact-icon { width: 30px; height: 30px; font-size: .72rem; }
    .biz-detail-contact-content strong { font-size: .68rem; }
    .biz-detail-contact-content p, .biz-detail-contact-content a { font-size: .78rem; }
    .biz-detail-hours { padding: 10px; }
    .biz-detail-hours-status { font-size: .78rem; margin-bottom: 8px; padding-bottom: 8px; }
    .biz-detail-hours-dot { width: 7px; height: 7px; }
    .biz-detail-hours-today { font-size: .74rem; }
    .biz-detail-hours-row { padding: 4px 4px; font-size: .74rem; }
    .biz-detail-hours-day { gap: 3px; }
    .biz-detail-hours-today-badge { font-size: .52rem; padding: 1px 5px; }
    .biz-detail-hours-time { font-size: .72rem; }
    .biz-detail-hours-sep { margin: 0 1px; }
    .biz-detail-social { gap: 4px; }
    .biz-detail-social-link { padding: 6px 10px; font-size: .72rem; gap: 4px; }
    .biz-detail-social-link i { font-size: .74rem; }
    .biz-detail-sidebar-card { padding: 14px; margin-bottom: 12px; }
    .biz-detail-sidebar-logo { max-width: 120px; }
    .biz-detail-sidebar-logo-placeholder { width: 70px; height: 70px; font-size: 1.8rem; }
    .biz-detail-sidebar-name { font-size: .9rem; }
    .biz-detail-sidebar-cat { font-size: .72rem; }
    .biz-detail-sidebar-title { font-size: .86rem; margin-bottom: 12px; }
    .biz-detail-actions { gap: 4px; }
    .biz-detail-action { padding: 8px 8px; font-size: .76rem; gap: 6px; }
    .biz-detail-action i { font-size: .8rem; }
    .biz-detail-enquiry-form { gap: 6px; }
    .biz-detail-form-group label { font-size: .7rem; }
    .biz-detail-form-control { padding: 8px 10px; font-size: .78rem; }
    .biz-detail-submit { padding: 9px; font-size: .82rem; }
    .biz-detail-info { gap: 4px; }
    .biz-detail-info-row { padding: 5px 0; }
    .biz-detail-info-label { font-size: .7rem; }
    .biz-detail-info-value { font-size: .76rem; }
    .biz-detail-gallery { gap: 4px; }
    .biz-detail-gallery-item { height: 80px; }
    .biz-detail-gallery-overlay i { width: 28px; height: 28px; font-size: .66rem; }
    .biz-detail-gallery-more-text { font-size: .8rem; }
    .biz-detail-hero { height: 200px; padding-bottom: 20px; }
    .biz-detail-hero-title { font-size: 1.1rem; }
    .biz-detail-hero-badge { font-size: .64rem; padding: 3px 8px; margin-bottom: 8px; }
    .biz-detail-hero-actions { gap: 4px; margin-top: 10px; }
    .biz-detail-hero-btn { padding: 5px 8px; font-size: .68rem; gap: 3px; }
    .biz-detail-hero-btn i { font-size: .68rem; }
    .biz-detail-breadcrumb { padding: 8px 12px; font-size: .72rem; margin-bottom: 12px; }
    .biz-detail-breadcrumb i { font-size: .45rem; }
    .biz-detail-breadcrumb .active { font-size: .7rem; }
    .biz-detail-breadcrumb a { font-size: .7rem; }
    .biz-detail-badges { gap: 3px; margin-bottom: 10px; }
    .biz-detail-badge { padding: 2px 6px; font-size: .62rem; }
    .biz-detail-badge i { font-size: .62rem; }
    .biz-detail-section { padding: 12px; margin-bottom: 10px; border-radius: 14px; }
    .biz-detail-section-title { font-size: .84rem; margin-bottom: 6px; }
    .biz-detail-section-title i { width: 22px; height: 22px; font-size: .64rem; }
    .biz-detail-desc { font-size: .76rem; line-height: 1.55; }
    .biz-detail-contact-grid { gap: 6px; }
    .biz-detail-contact-item { gap: 4px; }
    .biz-detail-contact-icon { width: 28px; height: 28px; font-size: .68rem; }
    .biz-detail-contact-content strong { font-size: .64rem; }
    .biz-detail-contact-content p, .biz-detail-contact-content a { font-size: .74rem; }
    .biz-detail-hours { padding: 8px; }
    .biz-detail-hours-status { font-size: .74rem; margin-bottom: 6px; padding-bottom: 6px; } 
}

/* ==========================================================================
   CLASSIFIEDS PAGE — UI-ONLY REDESIGN (3-column directory layout)
   Scoped with `cls-` prefix. Presentation only; no functionality changes.
   ========================================================================== */

/* --- Banner typography --- */
.page-banner.cls-banner { padding: 46px 0 92px; }
.page-banner.cls-banner h1.cls-banner-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}
.page-banner.cls-banner p.cls-banner-sub {
    font-size: clamp(.95rem, 1.2vw, 1.05rem);
    margin-top: 10px;
}

/* --- Layout spacing: breathing room above & below the content --- */
.page-banner-overlap.cls-wrap {
    padding-top: 30px;
    padding-bottom: 96px;
}

/* --- Full-width filter bar above the content grid --- */
.biz-listing-filter.cls-filter-bar {
    width: 100%;
    max-width: 100%;
    margin-top: -62px;
    margin-bottom: 28px;
}
@media (max-width: 991.98px) {
    .biz-listing-filter.cls-filter-bar { margin-top: -48px; margin-bottom: 20px; }
}

/* --- 3-column layout: Sidebar | Listings | Advertisement --- */
.cls-layout {
    display: grid;
    grid-template-columns: 262px minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}
.cls-layout > * { min-width: 0; }

/* --- Sidebar cards --- */
.cls-side-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(20, 20, 43, .05);
}
.cls-side-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 15px 18px;
    background: var(--primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.cls-side-heading i { font-size: .85rem; opacity: .9; }

/* --- Related categories list --- */
.cls-cat-list {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cls-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 11px;
    text-decoration: none;
    color: var(--text);
    font-size: .89rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all .22s ease;
}
.cls-cat-item:hover {
    background: rgba(229, 57, 53, .04);
    border-color: rgba(229, 57, 53, .1);
    transform: translateX(3px);
}
.cls-cat-item:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.cls-cat-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(229, 57, 53, .08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .74rem;
    flex-shrink: 0;
    transition: all .22s ease;
}
.cls-cat-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cls-cat-count {
    font-size: .7rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--text-secondary);
    background: var(--bg);
    padding: 3px 9px;
    border-radius: 20px;
    flex-shrink: 0;
}
.cls-cat-item.active {
    background: rgba(229, 57, 53, .07);
    border-color: rgba(229, 57, 53, .22);
    color: var(--primary);
}
.cls-cat-item.active .cls-cat-icon { background: var(--primary); color: #fff; }

/* --- Main listing column --- */
.cls-main .biz-listing-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 18px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
}
/* Single, full-width item per row — cards stack vertically, uniformly aligned */
.cls-main .biz-listing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 40px;
    align-items: stretch;
}
.biz-listing-card.cls-biz-card { height: 100%; }

/* --- Premium business card (cover image removed by design) --- */
.biz-listing-card.cls-biz-card {
    display: flex;
    flex-direction: column;
}
.biz-listing-card.cls-biz-card::before { display: none; }
.biz-listing-card.cls-biz-card:hover { transform: translateY(-4px); }

/* Icon-only featured badge (compact, clutter-free) */
.cls-card-flag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: .72rem;
    border-radius: 9px;
    box-shadow: 0 5px 12px rgba(229, 57, 53, .3);
    transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1);
}
.cls-card-head {
    position: relative;
    padding: 13px 18px 9px;
    border-bottom: none;
    background: none;
}
/* Title: max 2 lines so it never dominates the card */
.cls-biz-card .biz-listing-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.05rem;
    line-height: 1.38;
    letter-spacing: -0.01em;
    padding-right: 36px; /* clears the corner badge */
}
.cls-biz-card .biz-listing-card-cat { margin-top: 4px; font-size: .78rem; }

/* Info rows flow directly beneath the title (head has no bottom border) */
.cls-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 18px 12px;
    flex: 1;
}
.cls-info-row { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.cls-info-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    flex-shrink: 0;
    margin-top: 1px;
    transition: background .25s ease, transform .25s ease;
}
.cls-info-text {
    color: var(--text-secondary);
    font-size: .85rem;
    line-height: 1.5;
    word-break: break-word;
    margin: 0;
    padding-top: 4px;
}
a.cls-info-text.cls-phone-link { color: var(--text); font-weight: 600; text-decoration: none; transition: color .2s ease; }
a.cls-info-text.cls-phone-link:hover { color: var(--primary); }

.cls-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px;
    border-top: 1px dashed var(--border);
    background: #fcfcfd;
}
.cls-foot-spacer { flex: 1; }
.biz-listing-card.cls-biz-card .biz-listing-card-rating { margin: 0; }

/* --- Single-column, row-based layout at every breakpoint ---
   The card is always a vertical stack: title → info rows → footer.
   Info rows sit directly beneath the title (no divider between). */

/* --- VIEW button --- */
.cls-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 22px;
    border: none;
    border-radius: 24px;
    background: var(--primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 6px 16px rgba(229, 57, 53, .22);
    flex-shrink: 0;
}
.cls-view-btn i { font-size: .72rem; transition: transform .25s ease; }
.cls-view-btn:hover {
    background: #c62f2b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(229, 57, 53, .32);
}
.cls-view-btn:hover i { transform: translateX(3px); }
.cls-view-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.cls-view-btn-block { width: 100%; margin-top: 14px; }

/* --- Advertisement sidebar --- */
.cls-ad-box {
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 16px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(20, 20, 43, .04);
}
.cls-ad-label {
    display: block;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.cls-ad-slot {
    min-height: 300px;
    border-radius: 12px;
    background: linear-gradient(160deg, #fafafa 0%, #f1f2f4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #b4bac2;
    font-size: .84rem;
    font-weight: 500;
}
.cls-ad-slot i { font-size: 1.7rem; opacity: .7; }
.cls-side-cta { margin-top: 20px; }
.cls-side-note { font-size: .84rem; color: var(--text-secondary); line-height: 1.65; margin: 12px 18px 0; }

/* --- Responsive: tablet = Sidebar | Listings --- */
@media (max-width: 1199.98px) {
    .cls-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
    .cls-ads { display: none; }
}

/* --- Responsive: mobile = stacked (Header > Categories > Cards > Ads) --- */
@media (max-width: 991.98px) {
    .cls-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .cls-cat-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding: 12px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .cls-cat-list li { flex-shrink: 0; }
    .cls-cat-item { padding: 8px 12px; }
    .cls-cat-name { white-space: nowrap; }
    .page-banner.cls-banner { padding: 40px 0 84px; }
}

@media (max-width: 575.98px) {
    .cls-main .biz-listing-grid { gap: 12px; }
    .cls-card-head { padding: 11px 14px 7px; }
    .cls-card-body { padding: 0 14px 10px; gap: 7px; }
    .cls-card-foot { padding: 9px 14px; }
    .cls-biz-card .biz-listing-card-title { font-size: .98rem; }
    .page-banner-overlap.cls-wrap { padding-top: 22px; padding-bottom: 64px; }
}

/* --- Aesthetic polish: card base refinement --- */
.biz-listing-card.cls-biz-card {
    border-radius: 16px;
    transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow .28s ease,
                border-color .28s ease;
}
.biz-listing-card.cls-biz-card:hover {
    border-color: rgba(229, 57, 53, .22);
    box-shadow: 0 12px 32px rgba(20, 20, 43, .08);
}

/* --- Subtle interactivity & engagement cues --- */
/* Keyboard focus ring on the whole card when any inner control is focused */
.biz-listing-card.cls-biz-card:focus-within {
    border-color: rgba(229, 57, 53, .35);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .1), 0 12px 32px rgba(20, 20, 43, .08);
}
/* Info icons tint + lift as the card is hovered */
.biz-listing-card.cls-biz-card:hover .cls-info-ico {
    background: rgba(229, 57, 53, .1);
    transform: translateY(-1px);
}
/* Title gains brand color on hover for a gentle affordance */
.biz-listing-card.cls-biz-card:hover .biz-listing-card-title {
    color: var(--primary);
}
/* Phone link: animated underline reveal */
a.cls-info-text.cls-phone-link {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1.5px;
    background-repeat: no-repeat;
    background-position: left calc(100% - 2px);
    transition: color .2s ease, background-size .3s ease;
}
.biz-listing-card.cls-biz-card:hover a.cls-info-text.cls-phone-link { background-size: 100% 1.5px; }
/* Featured badge micro-pop on card hover */
.biz-listing-card.cls-biz-card:hover .cls-card-flag {
    transform: scale(1.08) rotate(-4deg);
}
@media (prefers-reduced-motion: reduce) {
    .biz-listing-card.cls-biz-card,
    .cls-view-btn,
    .cls-cat-item,
    .cls-info-ico,
    .cls-card-flag,
    a.cls-info-text.cls-phone-link {
        transition: none !important;
    }
}

/* --- Prominent, interactive results counter --- */
.cls-page .biz-listing-count-num {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary, #FF5A3C) 100%);
    padding: 7px 16px;
    border-radius: 12px;
    letter-spacing: -0.02em;
    box-shadow: 0 6px 16px rgba(229, 57, 53, .28);
    transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .25s ease;
}
.cls-page .biz-listing-count-num:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(229, 57, 53, .34);
}
.cls-page .biz-listing-count-label {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-secondary);
}
/* Pop cue whenever the count changes via filtering */
.biz-listing-count-num.is-updated { animation: clsCountPop .45s ease; }
@keyframes clsCountPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* --- Footer VIEW button: brighter outline style (light, not heavy) --- */
.cls-card-foot .cls-view-btn {
    background: rgba(229, 57, 53, .07);
    color: var(--primary);
    border: 1.5px solid rgba(229, 57, 53, .4);
    box-shadow: none;
}
.cls-card-foot .cls-view-btn i { color: var(--primary); transition: transform .25s ease, color .25s ease; }
.cls-card-foot .cls-view-btn:hover,
.cls-card-foot .cls-view-btn:focus-visible {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(229, 57, 53, .26);
    transform: translateY(-2px);
}
.cls-card-foot .cls-view-btn:hover i,
.cls-card-foot .cls-view-btn:focus-visible i { color: #fff; }

/* ==========================================================================
   JOBS MODULE — Homepage Featured Cards + Job Detail Page
   Scoped with `jb-` prefix. Presentation only.
   ========================================================================== */

/* --- Homepage: featured job card --- */
.jb-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    text-decoration: none;
    transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow .28s ease,
                border-color .28s ease;
}
.jb-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 57, 53, .25);
    box-shadow: 0 16px 38px rgba(20, 20, 43, .1);
}
.jb-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.jb-card:hover .jb-title { color: var(--primary); }
.jb-card .jb-title { transition: color .22s ease; }
.jb-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary, #FF5A3C) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.jb-card-headings { flex: 1; min-width: 0; }
.jb-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jb-company {
    font-size: .84rem;
    color: var(--text-secondary);
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jb-flag {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255, 193, 7, .14);
    color: #eab308;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    flex-shrink: 0;
}
.jb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: .8rem;
    color: var(--text-secondary);
}
.jb-meta span { display: inline-flex; align-items: center; gap: 6px; }
.jb-meta i { color: var(--primary); opacity: .75; font-size: .74rem; }
.jb-salary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    margin-top: auto;
}
.jb-salary {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
/* --- Apply Now button (links to the job detail page) --- */
.jb-apply-now {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 22px;
    background: var(--primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(229, 57, 53, .22);
    transition: all .25s cubic-bezier(0.22, 1, 0.36, 1);
}
.jb-apply-now i { font-size: .68rem; transition: transform .25s ease; }
.jb-apply-now:hover,
.jb-apply-now:focus-visible {
    background: #c62f2b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 57, 53, .3);
}
.jb-apply-now:hover i { transform: translateX(3px); }
.jb-apply-now:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* --- Job detail page layout --- */
.page-banner.jb-banner { padding: 46px 0 92px; }
.page-banner.jb-banner h1.jb-banner-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}
.page-banner.jb-banner p.jb-banner-sub { font-size: clamp(.95rem, 1.2vw, 1.05rem); margin-top: 10px; }

.page-banner-overlap.jb-wrap { padding-top: 30px; padding-bottom: 96px; }
.jb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
.jb-layout > * { min-width: 0; }

/* Hero card overlapping the banner */
.jb-hero-card {
    position: relative;
    z-index: 5;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(20, 20, 43, .07);
    padding: 20px 24px;
    margin-bottom: 22px;
}
.jb-hero-top { display: flex; align-items: center; gap: 16px; }
.jb-logo-lg { width: 62px; height: 62px; border-radius: 16px; font-size: 1.6rem; }
.jb-hero-company {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    margin: 0 0 8px;
}
.jb-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg);
    padding: 5px 12px;
    border-radius: 20px;
}
.jb-tag i { color: var(--primary); font-size: .72rem; }
.jb-hero-salary {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Content sections */
.jb-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 4px 18px rgba(20, 20, 43, .04);
}
.jb-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.jb-section-title i {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(229, 57, 53, .08);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    flex-shrink: 0;
}
.jb-prose {
    color: var(--text-secondary);
    font-size: .94rem;
    line-height: 1.75;
}
.jb-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-skill-chip {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all .22s ease;
}
.jb-skill-chip:hover {
    color: var(--primary);
    border-color: rgba(229, 57, 53, .35);
    background: rgba(229, 57, 53, .05);
}
.jb-experience {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin: 0;
}

/* Sidebar */
.jb-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.jb-side-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(20, 20, 43, .05);
}
.jb-apply-card {
    border-top: 3px solid var(--primary);
    box-shadow: 0 8px 26px rgba(20, 20, 43, .08);
}
.jb-side-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin: 0 0 14px;
}
.jb-side-heading-alt {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.jb-facts { list-style: none; margin: 0 0 16px; padding: 0; }
.jb-facts li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: .86rem;
}
.jb-facts li:last-child { border-bottom: none; }
.jb-facts li span { color: var(--text-secondary); }
.jb-facts li span i { color: var(--primary); width: 18px; text-align: left; margin-right: 4px; }
.jb-facts li strong { color: var(--text); font-family: 'Poppins', sans-serif; font-size: .84rem; text-align: right; }

.jb-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 26px;
    background: var(--primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .25s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 20px rgba(229, 57, 53, .25);
}
.jb-apply-btn:hover {
    background: #c62f2b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(229, 57, 53, .32);
}
.jb-apply-disabled {
    background: var(--bg);
    color: var(--text-secondary);
    box-shadow: none;
    cursor: default;
    font-size: .82rem;
}
.jb-apply-disabled:hover { transform: none; background: var(--bg); box-shadow: none; }

.jb-recent-list { display: flex; flex-direction: column; gap: 4px; }
.jb-recent-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 11px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .22s ease;
}
.jb-recent-item strong {
    font-size: .87rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}
.jb-recent-item span { font-size: .78rem; color: var(--text-secondary); }
.jb-recent-item:hover {
    background: rgba(229, 57, 53, .04);
    border-color: rgba(229, 57, 53, .12);
    transform: translateX(3px);
}

.jb-share-row { display: flex; gap: 10px; }
.jb-share-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 22px;
    background: var(--bg);
    color: var(--text-secondary);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all .22s ease;
}
.jb-share-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .jb-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .jb-sidebar { position: static; order: -1; }
    .page-banner-overlap.jb-wrap { padding-top: 24px; padding-bottom: 64px; }
}
@media (max-width: 575.98px) {
    .jb-hero-card { padding: 16px 18px; }
    .jb-hero-top { flex-direction: column; align-items: flex-start; gap: 12px; }
    .jb-section { padding: 18px 16px; }
    .jb-salary-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* --- Client-side rendered jobs panel (.jobs-panel / .job-row) --- */
.jb-meta-skills span {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 20px;
}
.jb-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.jb-loading { font-size: .9rem; }
.jb-loading i { color: var(--primary); }

