/**
 * =========================================================================
 * UMIVA CARE - MASTER WEB PORTAL STYLESHEET
 * =========================================================================
 */

:root {
    --primary: #007A87;
    --primary-hover: #006672;
    --primary-dark: #075E68;
    --primary-light: #E6F4F6;
    --primary-subtle: #F0F9FA;
    --primary-gradient: linear-gradient(135deg, #007A87 0%, #0A6B7E 60%, #059669 100%);
    --secondary-green: #10B981;
    --secondary-green-dark: #059669;
    --secondary-light: #ECFDF5;
    --coral-red: #E11D48;
    --coral-light: #FFF1F2;
    --amber-gold: #D97706;
    --amber-light: #FEF3C7;
    --dark: #0F172A;
    --dark-muted: #334155;
    --muted: #64748B;
    --light-muted: #94A3B8;
    --border-color: #E2E8F0;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --card-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    --card-hover-shadow: 0 12px 28px rgba(0, 122, 135, 0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

html {
    /* Master Fluid Root Typography: Smooth Auto-scaling across phones, tablets, laptops, & 4K screens */
    font-size: clamp(13.5px, 0.85rem + 0.35vw, 17.5px) !important;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--dark);
    margin: 0;
    padding: 0;
    overflow-x: clip;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================================================
   FLUID & AUTO-ADJUSTING TYPOGRAPHY ENGINE (Desktop & Mobile)
   ========================================================================= */

/* Headings auto-scale gracefully to prevent wrapping and layout breakage */
h1, .h1 {
    font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.25rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    word-break: break-word;
}

h2, .h2 {
    font-size: clamp(1.25rem, 1.05rem + 1vw, 1.85rem);
    line-height: 1.3;
    letter-spacing: -0.015em;
    word-break: break-word;
}

h3, .h3 {
    font-size: clamp(1.12rem, 0.98rem + 0.7vw, 1.45rem);
    line-height: 1.35;
    word-break: break-word;
}

h4, .h4 {
    font-size: clamp(1.02rem, 0.94rem + 0.4vw, 1.25rem);
    line-height: 1.4;
    word-break: break-word;
}

h5, .h5 {
    font-size: clamp(0.92rem, 0.88rem + 0.25vw, 1.1rem);
    line-height: 1.4;
    word-break: break-word;
}

h6, .h6 {
    font-size: clamp(0.82rem, 0.8rem + 0.15vw, 0.95rem);
    line-height: 1.4;
    word-break: break-word;
}

/* Display hero titles auto-adjust seamlessly */
.display-4 {
    font-size: clamp(1.85rem, 1.35rem + 2.2vw, 2.85rem) !important;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.display-5 {
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.35rem) !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.display-6 {
    font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.85rem) !important;
    line-height: 1.25;
}

/* Fluid paragraphs & leads */
p, .lead {
    overflow-wrap: break-word;
}

.lead {
    font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.125rem);
    line-height: 1.6;
}

/* Responsive font utilities (.font-8 to .font-40) */
.font-8  { font-size: clamp(8px, 0.5rem, 8.5px) !important; }
.font-9  { font-size: clamp(8.5px, 0.54rem, 9.5px) !important; }
.font-10 { font-size: clamp(9px, 0.58rem, 10px) !important; }
.font-11 { font-size: clamp(10px, 0.65rem, 11px) !important; }
.font-12 { font-size: clamp(11px, 0.72rem, 12px) !important; }
.font-13 { font-size: clamp(12px, 0.78rem, 13px) !important; }
.font-14 { font-size: clamp(12.5px, 0.82rem, 14px) !important; }
.font-15 { font-size: clamp(13px, 0.88rem, 15px) !important; }
.font-16 { font-size: clamp(14px, 0.95rem, 16px) !important; }
.font-17 { font-size: clamp(14.5px, 1rem, 17px) !important; }
.font-18 { font-size: clamp(15px, 1.05rem, 18px) !important; }
.font-19 { font-size: clamp(15.5px, 1.1rem, 19px) !important; }
.font-20 { font-size: clamp(16px, 1.15rem, 20px) !important; }
.font-22 { font-size: clamp(17px, 1.25rem, 22px) !important; }
.font-24 { font-size: clamp(18px, 1.35rem, 24px) !important; }
.font-26 { font-size: clamp(19px, 1.45rem, 26px) !important; }
.font-28 { font-size: clamp(20px, 1.55rem, 28px) !important; }
.font-30 { font-size: clamp(21px, 1.68rem, 30px) !important; }
.font-32 { font-size: clamp(22px, 1.8rem, 32px) !important; }
.font-40 { font-size: clamp(26px, 2.2rem, 40px) !important; }

/* Fractional Spacing, Typography & Card Layout Utilities */
.p-1\.5  { padding: 0.375rem !important; }
.p-2\.5  { padding: 0.75rem 0.875rem !important; }
.p-3\.5  { padding: 1.25rem !important; }
.pt-2\.5 { padding-top: 0.75rem !important; }
.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.px-2\.5 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-3\.5 { padding-left: 1.15rem !important; padding-right: 1.15rem !important; }
.py-0\.5 { padding-top: 0.2rem !important; padding-bottom: 0.2rem !important; }
.py-1\.5 { padding-top: 0.425rem !important; padding-bottom: 0.425rem !important; }
.py-2\.5 { padding-top: 0.65rem !important; padding-bottom: 0.65rem !important; }

.mt-0\.5 { margin-top: 0.175rem !important; }
.mt-2\.5 { margin-top: 0.75rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.mb-2\.5 { margin-bottom: 0.75rem !important; }
.me-0\.5 { margin-right: 0.2rem !important; }

.gap-1\.5 { gap: 0.375rem !important; }
.gap-2\.5 { gap: 0.65rem !important; }

.fw-black { font-weight: 800 !important; }
.line-height-1 { line-height: 1 !important; }
.line-height-1\.3 { line-height: 1.38 !important; }
.leading-relaxed { line-height: 1.6 !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.inset-0 { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; }
.min-w-0 { min-width: 0 !important; }
.cursor-pointer { cursor: pointer !important; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Extended Opacity Utilities */
.bg-opacity-5  { --bs-bg-opacity: 0.05 !important; }
.bg-opacity-15 { --bs-bg-opacity: 0.15 !important; }
.bg-opacity-20 { --bs-bg-opacity: 0.20 !important; }
.bg-opacity-80 { --bs-bg-opacity: 0.80 !important; }
.bg-opacity-90 { --bs-bg-opacity: 0.90 !important; }
.bg-opacity-95 { --bs-bg-opacity: 0.95 !important; }

/* Master Responsive Device Auto-Scaling Typography Ladder */
@media (max-width: 360px) {
    html { font-size: 12.5px !important; }
    body { font-size: 12.5px !important; }
    .card-umiva:not(.p-0):not(.card-bleed) { padding: 12px !important; }
    .btn { font-size: 11px !important; padding: 5px 9px !important; }
    .badge { font-size: 9.5px !important; }
}

@media (min-width: 361px) and (max-width: 576px) {
    html { font-size: 13.5px !important; }
    body { font-size: 13.5px !important; }
    .card-umiva:not(.p-0):not(.card-bleed) { padding: 16px !important; }
    .btn { font-size: clamp(11.5px, 3.2vw, 13.5px); }
    .badge { font-size: clamp(9.5px, 2.7vw, 11px); }
    .breadcrumb { font-size: 11.5px; }
}

@media (min-width: 577px) and (max-width: 768px) {
    html { font-size: 14.5px !important; }
    body { font-size: 14.5px !important; }
}

@media (min-width: 769px) and (max-width: 991px) {
    html { font-size: 15px !important; }
    body { font-size: 15px !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    html { font-size: 15.5px !important; }
    body { font-size: 15.5px !important; }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    html { font-size: 16px !important; }
    body { font-size: 16px !important; }
}

@media (min-width: 1600px) {
    html { font-size: 17px !important; }
    body { font-size: 17px !important; }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary);
}

/* =========================================================================
   1. TOP EMERGENCY & UTILITY BAR
   ========================================================================= */
.top-utility-bar {
    background: linear-gradient(90deg, #07383F 0%, #005662 50%, #07383F 100%);
    color: #E2E8F0;
    font-size: 12px;
    padding: 7px 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-city-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF !important;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.22);
    margin: 0;
    vertical-align: middle;
    outline: none;
    box-shadow: none;
}

.topbar-city-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    color: #FFFFFF !important;
}

.topbar-city-btn:focus,
.topbar-city-btn:active {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
    display: inline-block;
    vertical-align: middle;
    align-self: center;
    margin: 0 2px;
}

.topbar-link {
    color: #CBD5E1 !important;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    padding: 2px 4px;
    text-decoration: none !important;
}

.topbar-link:hover {
    color: #FFFFFF !important;
}

/* 24x7 SOS Pill with Animated Pulse */
.topbar-sos-pill {
    background: #FFFFFF;
    color: #DC2626 !important;
    border-radius: 20px;
    padding: 3px 13px;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.topbar-sos-pill:hover {
    background: #FEF2F2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    color: #B91C1C !important;
}

.pulse-dot-sos {
    width: 7px;
    height: 7px;
    background: #DC2626;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-sos 1.6s infinite;
}

@keyframes pulse-sos {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

/* Topbar App Download Button */
.topbar-app-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.topbar-app-btn:hover {
    background: #FFFFFF;
    color: #007A87 !important;
    border-color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* =========================================================================
   2. MAIN NAVBAR & LOGO
   ========================================================================= */
.site-header-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease;
    width: 100%;
}

.site-header-wrapper.is-sticky {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.main-header {
    background: #FFFFFF;
    position: relative;
    z-index: 1041;
}

/* Desktop: site-header-wrapper (Main Navbar + Category Ribbon) stays cleanly pinned on scroll */
@media (min-width: 992px) {
    .top-utility-bar {
        position: static;
    }
    .site-header-wrapper {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1040;
        background: #FFFFFF;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }
    .site-header-wrapper .main-header {
        position: static;
        box-shadow: none;
    }
    .site-header-wrapper .category-ribbon {
        border-top: 1px solid #F1F5F9;
        border-bottom: 1px solid var(--border-color);
        background: #FFFFFF;
    }
    /* Sticky sidebar cards stay below sticky header */
    .sticky-top,
    .card-umiva.sticky-top {
        top: 140px !important;
        z-index: 20 !important;
    }
}

/* Mobile: Top Utility Bar + Main Header pinned on scroll */
@media (max-width: 991px) {
    .top-utility-bar {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1045;
        min-height: 38px;
    }
    .site-header-wrapper {
        position: -webkit-sticky;
        position: sticky;
        top: 38px;
        z-index: 1040;
        background: #FFFFFF;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    }
    .site-header-wrapper .main-header {
        position: static;
        box-shadow: none;
    }
    .sticky-top,
    .card-umiva.sticky-top {
        position: static !important;
        top: auto !important;
    }
}

.brand-logo-img {
    height: 52px;
    max-width: 235px;
    object-fit: contain;
}

/* Global Search Input Box */
.header-search-wrap {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.header-search-input {
    border-radius: var(--radius-full);
    padding: 10px 45px 10px 42px;
    font-size: 14px;
    border: 1.5px solid var(--border-color);
    background: #F8FAFC;
    transition: all 0.2s;
    width: 100%;
}

.header-search-input:focus {
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 135, 0.12);
    outline: none;
}

.header-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 18px;
    pointer-events: none;
}

.header-search-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.header-search-submit:hover {
    background: var(--primary-hover);
}

/* Live Search Suggestions Dropdown (Practo / Tata 1mg modern style) */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 16px 45px -8px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(0, 122, 135, 0.12);
    border: none;
    z-index: 1060;
    max-height: 430px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F8FAFC;
}

.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: #F8FAFC;
    border-radius: 8px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 8px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Category Section Header */
.search-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px 6px;
    margin-top: 4px;
    background: #F8FAFC;
    border-top: 1px solid #EDF2F7;
    border-bottom: 1px solid #EDF2F7;
}

.search-cat-header:first-child {
    border-top: none;
    margin-top: 0;
}

.search-cat-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.search-cat-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.search-cat-icon.is-doc {
    background: rgba(0, 122, 135, 0.12);
    color: var(--primary);
}

.search-cat-icon.is-prod {
    background: rgba(225, 29, 72, 0.12);
    color: #E11D48;
}

.search-cat-icon.is-hosp {
    background: rgba(2, 132, 199, 0.12);
    color: #0284C7;
}

.search-cat-icon.is-serv {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
}

.search-cat-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: #EDF2F7;
    color: #64748B;
}

/* Search Result Item Card */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    margin: 3px 8px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: transparent;
}

.search-result-item:hover {
    background: #F0F9FA;
    transform: translateX(3px);
}

.search-item-thumb {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1.5px solid #F1F5F9;
    background: #F8FAFC;
    flex-shrink: 0;
}

.search-item-thumb.is-doc {
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.search-item-thumb.is-prod {
    border-radius: 10px;
    background: #FFFFFF;
    object-fit: contain;
    padding: 2px;
}

.search-item-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.search-item-info {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}

.search-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-meta {
    font-size: 11.5px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    gap: 3px;
}

.search-price-val {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.search-action-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    background: #F1F5F9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.15s ease;
}

.search-result-item:hover .search-action-pill {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 122, 135, 0.25);
}

.search-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    margin-top: 6px;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.search-footer-kbd {
    background: #E2E8F0;
    color: #475569;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid #CBD5E1;
}

/* User & Cart Navigation Buttons */
.nav-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    cursor: pointer;
    border: 1px solid transparent;
}

.nav-action-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-action-btn.active {
    background: var(--primary);
    color: #FFFFFF !important;
}

.cart-count-badge {
    position: absolute;
    top: 0;
    right: 4px;
    background: var(--coral-red);
    color: white;
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: var(--radius-full);
    border: 2px solid white;
    padding: 0 4px;
    display: none;
}

.btn-primary-umiva {
    background: var(--primary-gradient);
    color: white !important;
    border-radius: var(--radius-full);
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 122, 135, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary-umiva:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 135, 0.35);
}

/* =========================================================================
   3. CATEGORY RIBBON BAR (UNDER MAIN NAVBAR)
   ========================================================================= */
.category-ribbon {
    background: #FFFFFF;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
}

.category-ribbon-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    min-width: 0;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.category-ribbon-scroll::-webkit-scrollbar {
    display: none;
}

.ribbon-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark-muted);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.ribbon-link i {
    font-size: 17px;
    color: var(--primary);
}

.ribbon-link:hover, .ribbon-link.active {
    background: var(--primary-light);
    color: var(--primary);
}

.ribbon-link.active i {
    color: var(--primary);
}

.ribbon-link.emergency-link {
    color: var(--coral-red);
    background: var(--coral-light);
}

.ribbon-link.emergency-link i {
    color: var(--coral-red);
}

/* Desktop "More" Dropdown Menu in Category Ribbon */
.ribbon-more-dropdown .dropdown-toggle::after {
    display: none !important;
}

.ribbon-more-btn {
    background: #F8FAFC;
    border: 1px solid #E2E8F0 !important;
    color: var(--dark) !important;
    cursor: pointer;
    padding: 6px 14px;
}

.ribbon-more-btn:hover,
.ribbon-more-btn[aria-expanded="true"],
.ribbon-more-btn.active {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
    border-color: rgba(0, 122, 135, 0.25) !important;
}

.ribbon-more-menu {
    min-width: 480px;
    border-radius: 18px !important;
    margin-top: 10px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.06) !important;
    z-index: 1080;
}

.ribbon-more-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

.ribbon-more-item {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 9px 12px !important;
    border-radius: 12px !important;
    white-space: normal !important;
    transition: all 0.18s ease;
    color: var(--dark) !important;
}

.ribbon-more-item:hover,
.ribbon-more-item.active {
    background: #F0F9FA !important;
    color: var(--primary) !important;
    transform: translateX(2px);
}

.more-item-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .category-ribbon-scroll {
        gap: 4px;
    }
    .ribbon-link {
        font-size: 12.5px;
        padding: 5px 10px;
        gap: 5px;
    }
    .ribbon-link i {
        font-size: 15px;
    }
}

/* Homepage Specialty Tabs Filter */
.home-spec-tab {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border-color: #E2E8F0;
    color: #475569;
    font-size: 13px;
    cursor: pointer;
}

.home-spec-tab:hover {
    background: #E6F4F6;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.home-spec-tab.active,
.home-spec-tab.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 122, 135, 0.25);
}

/* =========================================================================
   4. CARDS & GENERAL UI
   ========================================================================= */
.card-umiva {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.card-umiva:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(0, 122, 135, 0.3);
}

.section-title-wrap {
    margin-bottom: 28px;
}

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.section-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.section-subheading {
    font-size: 15px;
    color: var(--muted);
    margin-top: 4px;
}

/* Quick Service Feature Box */
.service-feature-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 22px 18px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.service-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 122, 135, 0.15);
    border-color: var(--primary);
}

.service-feature-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 32px;
    transition: transform 0.3s;
}

.service-feature-card:hover .service-feature-icon-wrap {
    transform: scale(1.1);
}

/* =========================================================================
   5. DOCTOR CARD
   ========================================================================= */
.doctor-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 20px;
    transition: all 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(0, 122, 135, 0.3);
}

.doctor-avatar-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
}

.doctor-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-verified-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: var(--secondary-green);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid white;
}

.doctor-spec-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    display: inline-block;
}

/* =========================================================================
   6. PHARMACY MEDICINE CARD
   ========================================================================= */
.product-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 16px;
    transition: all 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 122, 135, 0.15);
}

.product-discount-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.product-img-wrap {
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid #EDF2F7;
}

.product-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

/* Umiva Theme Add to Cart & Quantity Stepper */
.btn-add-to-cart {
    background: #EBF8F9;
    color: #007A87 !important;
    border: 1.5px solid #007A87;
    font-weight: 700;
    font-size: 12.5px;
    padding: 4px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    height: 32px;
    user-select: none;
    text-decoration: none !important;
}

.btn-add-to-cart:hover {
    background: #007A87;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 122, 135, 0.3);
    transform: translateY(-1px);
}

.cart-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #007A87;
    border-radius: 8px;
    color: #FFFFFF;
    overflow: hidden;
    height: 32px;
    box-shadow: 0 2px 8px rgba(0, 122, 135, 0.25);
    user-select: none;
    transition: all 0.2s ease;
}

.cart-qty-stepper button {
    background: transparent;
    border: none;
    color: #FFFFFF;
    width: 28px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
    padding: 0;
}

.cart-qty-stepper button:hover {
    background: rgba(0, 0, 0, 0.18);
}

.cart-qty-stepper button:active {
    background: rgba(0, 0, 0, 0.3);
}

.cart-qty-stepper .qty-val {
    min-width: 24px;
    text-align: center;
    font-weight: 800;
    font-size: 13px;
    color: #FFFFFF;
    padding: 0 2px;
}

/* Pharmacy Categories Sidebar Pills (Umiva Theme) */
.pharmacy-cat-item {
    border: 1px solid #E2E8F0 !important;
    background: #FFFFFF;
    color: #334155 !important;
    font-weight: 600;
    transition: all 0.2s;
    margin-bottom: 6px;
    border-radius: 20px !important;
    padding: 7px 16px;
    text-decoration: none !important;
    display: block;
}

.pharmacy-cat-item:hover {
    background: #F0F9FA !important;
    color: var(--primary) !important;
    border-color: rgba(0, 122, 135, 0.3) !important;
}

.pharmacy-cat-item.active {
    background: linear-gradient(135deg, #007A87 0%, #005662 100%) !important;
    border-color: #007A87 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 122, 135, 0.28);
}

/* =========================================================================
   7. FOOTER (Apollo 24/7 & Tata 1mg Standard)
   ========================================================================= */
.footer-umiva {
    background: linear-gradient(180deg, #05262B 0%, #031B1F 100%);
    color: #E2E8F0 !important;
    padding: 45px 0 24px;
    margin-top: 0;
    border-top: 1px solid rgba(0, 168, 150, 0.25);
    position: relative;
}

/* 1. Trust & Highlights Strip */
.footer-trust-strip {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 28px;
    margin-bottom: 38px;
}

.footer-trust-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
    height: 100%;
}

.footer-trust-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 168, 150, 0.4);
    transform: translateY(-2px);
}

.footer-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.footer-trust-icon.is-doc { background: rgba(0, 122, 135, 0.25); color: #2DD4BF; }
.footer-trust-icon.is-med { background: rgba(225, 29, 72, 0.2); color: #FB7185; }
.footer-trust-icon.is-lab { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.footer-trust-icon.is-sos { background: rgba(239, 68, 68, 0.2); color: #F87171; }

.footer-trust-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.footer-trust-sub {
    font-size: 11.5px;
    color: #94A3B8;
    line-height: 1.35;
    margin: 0;
}

/* 2. Logo Card & Brand Meta */
.footer-logo-card {
    background: #FFFFFF;
    padding: 7px 16px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    margin-bottom: 16px;
    transition: transform 0.2s ease;
}

.footer-logo-card:hover {
    transform: scale(1.02);
}

.footer-brand-logo {
    height: 48px;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.footer-desc {
    color: #94A3B8 !important;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 16px;
}

/* Footer Trust Certification Pills */
.footer-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #F1F5F9 !important;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.footer-trust-pill:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF !important;
}

.footer-trust-pill i {
    font-size: 14px;
}

/* 3. Section Headings */
.footer-heading {
    color: #FFFFFF !important;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: linear-gradient(90deg, #00A896, #38BDF8);
    border-radius: 2px;
}

/* 4. Links List */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 9px;
}

.footer-links-list a {
    color: #CBD5E1 !important;
    font-size: 13px;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.footer-links-list a:hover {
    color: #38BDF8 !important;
    transform: translateX(4px);
}

/* 5. Emergency & Help Center Box */
.footer-emergency-box {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.16) 0%, rgba(185, 28, 28, 0.06) 100%);
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.footer-sos-button {
    background: #DC2626;
    color: #FFFFFF !important;
    font-weight: 800;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.footer-sos-button:hover {
    background: #B91C1C;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

/* 6. Social Media Icons */
.footer-social-pill {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none !important;
}

.footer-social-pill:hover {
    background: #007A87;
    border-color: #007A87;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 135, 0.3);
}

/* 7. Footer Bottom Strip & Developer Credit */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 26px;
    padding-bottom: 8px;
    margin-top: 40px;
    font-size: 13px;
    color: #94A3B8 !important;
}

.footer-bottom a {
    color: #CBD5E1 !important;
    text-decoration: none;
    transition: color 0.18s;
}

.footer-bottom a:hover {
    color: #38BDF8 !important;
}

/* Footer Credit & Make In India Enhanced Styling */
.footer-credit {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0 28px;
    margin-top: 18px;
    font-size: 13px;
    color: #94A3B8;
}

.make-in-india-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
    user-select: none;
}

.make-in-india-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.flag-dots-wrap {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.flag-dots-wrap .f-dot {
    width: 8.5px;
    height: 8.5px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.flag-dots-wrap .f-saffron { background: #FF9933; }
.flag-dots-wrap .f-white { background: #FFFFFF; }
.flag-dots-wrap .f-green { background: #138808; }

.make-in-india-badge .badge-text {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.2px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.footer-credit-right {
    font-size: 13px;
    line-height: 1.6;
}

.footer-credit-right .dev-label {
    color: #94A3B8;
    font-weight: 500;
}

.dev-brand-link {
    color: #CBD5E1;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.dev-brand-link .dev-highlight {
    color: #F59E0B;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.dev-brand-link .dev-subtext {
    color: #E2E8F0;
    font-weight: 500;
    opacity: 0.92;
}

.dev-brand-link .dev-ext-icon {
    font-size: 13px;
    color: #F59E0B;
    opacity: 0.75;
    margin-left: 3px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.dev-brand-link:hover .dev-highlight {
    color: #FBBF24;
    text-decoration: underline;
}

.dev-brand-link:hover .dev-ext-icon {
    opacity: 1;
    transform: translate(1px, -1px);
}

/* =========================================================================
   8. CITY MODAL CARDS
   ========================================================================= */
.city-select-card {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FFFFFF;
}

.city-select-card:hover, .city-select-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.city-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #F1F5F9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.city-select-card.active .city-card-icon {
    background: var(--primary);
    color: white;
}

/* =========================================================================
   9. MOBILE OFFCANVAS SIDEBAR STYLING (Practo / 1mg standard)
   ========================================================================= */
.mobile-sidebar-offcanvas {
    width: 320px !important;
    max-width: 86vw !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    z-index: 1060;
}

.mobile-sidebar-offcanvas .offcanvas-body {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F8FAFC;
}

.mobile-sidebar-offcanvas .offcanvas-body::-webkit-scrollbar {
    width: 4px;
}

.mobile-sidebar-offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

/* Sidebar Header & Brand Elements */
.sidebar-drawer-header {
    background: linear-gradient(135deg, #053339 0%, #007A87 100%);
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand-badge {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sidebar-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.sidebar-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.sidebar-user-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--primary);
    font-size: 26px;
    flex-shrink: 0;
}

.sidebar-login-pill {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 11.5px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.sidebar-login-pill:hover {
    background: #FFFFFF;
    color: var(--primary) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Sidebar City Switcher */
.sidebar-city-strip {
    background: #F0F9FA;
    border-bottom: 1px solid rgba(0, 122, 135, 0.14);
    padding: 10px 16px;
}

.sidebar-city-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 122, 135, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.sidebar-city-btn {
    background: var(--primary);
    color: #FFFFFF !important;
    border: none;
    font-weight: 700;
    font-size: 11.5px;
    padding: 5px 13px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0, 122, 135, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-city-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 10px rgba(0, 122, 135, 0.35);
    transform: translateY(-1px);
}

.sidebar-menu-list {
    margin: 0;
    padding: 6px 10px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    color: #1E293B;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 3px;
    border-left: 3px solid transparent;
}

.sidebar-nav-link:hover,
.sidebar-nav-link:focus {
    background: #F1F5F9;
    color: var(--primary);
    transform: translateX(2px);
}

.sidebar-nav-link.active {
    background: rgba(0, 122, 135, 0.08);
    color: var(--primary) !important;
    font-weight: 700;
    border-left-color: var(--primary);
}

.sidebar-icon-box {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Mobile Offcanvas / Responsive tweaks */
@media (max-width: 991px) {
    .header-brand-group {
        order: 1;
        min-width: 0;
    }
    .header-actions-group {
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
    }
    .header-search-wrap {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100% !important;
        margin: 6px 0 2px 0 !important;
    }
    .top-utility-bar {
        font-size: 11.5px;
        padding: 4px 0;
        min-height: 36px;
        display: flex;
        align-items: center;
    }
    .site-header-wrapper {
        top: 36px;
    }
    .category-ribbon {
        padding: 5px 0;
    }
    .category-ribbon-scroll {
        gap: 6px;
    }
    .ribbon-link {
        padding: 5px 11px;
        font-size: 12px;
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .brand-logo-img {
        height: 32px !important;
        max-width: 132px !important;
    }
    .main-header {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
    .nav-action-btn {
        width: 34px;
        height: 34px;
        padding: 0 !important;
        justify-content: center;
        font-size: 13px;
    }
    .header-actions-group .btn-primary-umiva {
        padding: 5px 11px !important;
        font-size: 12px !important;
        gap: 4px;
    }
    .header-search-input {
        padding: 8px 40px 8px 36px;
        font-size: 13px;
    }
    .header-search-icon {
        left: 13px;
        font-size: 16px;
    }
    .header-search-submit {
        width: 28px;
        height: 28px;
        right: 5px;
    }
    .display-5 {
        font-size: 1.55rem !important;
        line-height: 1.22 !important;
    }
}

/* =========================================================================
   BACK TO TOP FLOATING BUTTON
   ========================================================================= */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007A87 0%, #053B42 100%);
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 6px 20px rgba(0, 122, 135, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1048;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    padding: 0;
    text-decoration: none !important;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #005662 0%, #032126 100%);
    box-shadow: 0 8px 24px rgba(0, 122, 135, 0.55);
    transform: translateY(-3px) scale(1.06);
    color: #FFFFFF !important;
}

.back-to-top-btn:active {
    transform: scale(0.94);
}

@media (max-width: 991px) {
    .back-to-top-btn {
        bottom: 22px;
        right: 18px;
        width: 42px;
        height: 42px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }
}

