/* ════════════════════════════════════════════════════════════════ */
/* PREMIUM MEDICARE NAVBAR — Glassmorphism SaaS Design              */
/* ════════════════════════════════════════════════════════════════ */

:root {
    /* ── Core healthcare palette ── */
    --mc-primary: #0ea5e9;
    --mc-secondary: #06b6d4;
    --mc-text: #0f172a;
    --mc-text-muted: #64748b;
    --mc-bg: #ffffff;
    --mc-bg-soft: #f8fafc;
    --mc-border: rgba(0, 0, 0, 0.08);
    --mc-gradient: linear-gradient(135deg, #0ea5e9, #06b6d4);

    /* ── Inherited tokens ── */
    --primary-color: #0ea5e9;
    --secondary-color: #64748b;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #0f172a;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;

    /* ── Shared ecommerce UI tokens ── */
    --hc-surface: #ffffff;
    --hc-surface-muted: #f5f9ff;
    --hc-border: #e2ecfb;
    --hc-border-strong: #c8defc;
    --hc-text: #0f172a;
    --hc-text-muted: #64748b;
    --hc-accent: #0ea5e9;
    --hc-accent-2: #06b6d4;
    --hc-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    --hc-shadow-hover: 0 18px 34px rgba(15, 23, 42, 0.12);
    --hc-radius-lg: 18px;
    --hc-radius-md: 14px;
    --hc-radius-sm: 10px;
}

body {
    font-family: var(--font-family);
    padding-top: 72px;
    color: var(--mc-text);
    background-color: var(--mc-bg-soft);
}

/* ─────────────────────────────────────────────────────────────── */
/*  Navbar Container                                               */
/* ─────────────────────────────────────────────────────────────── */

.mc-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--mc-border);
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

/* Gradient bottom glow line */
.mc-nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--mc-gradient);
    opacity: 0.45;
    transition: opacity 0.35s ease;
}

.mc-nav.mc-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mc-nav.mc-scrolled::after {
    opacity: 0.7;
}

.mc-nav__inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ─────────────────────────────────────────────────────────────── */
/*  Logo                                                           */
/* ─────────────────────────────────────────────────────────────── */

.mc-nav__logo-img {
    height: 72px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.mc-nav__logo:hover .mc-nav__logo-img {
    opacity: 0.88;
}

.mc-nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mc-nav__logo:hover {
    transform: translateY(-1px);
}

.mc-nav__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.08);
    transition: background 0.3s ease;
}

.mc-nav__logo:hover .mc-nav__logo-icon {
    background: rgba(14, 165, 233, 0.14);
}

.mc-nav__logo-text {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--mc-text);
    letter-spacing: -0.5px;
}

.mc-nav__logo-accent {
    background: var(--mc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─────────────────────────────────────────────────────────────── */
/*  Desktop Navigation Links                                       */
/* ─────────────────────────────────────────────────────────────── */

.mc-nav__links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 0.5rem;
}

.mc-nav__link {
    position: relative;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--mc-text-muted);
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    transition: color 0.25s ease, background 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.mc-nav__link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    right: 50%;
    height: 2px;
    border-radius: 2px;
    background: var(--mc-gradient);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc-nav__link:hover {
    color: var(--mc-primary);
    background: rgba(14, 165, 233, 0.06);
}

.mc-nav__link:hover::after {
    left: 20%;
    right: 20%;
}

.mc-nav__link.mc-active {
    color: var(--mc-primary);
    font-weight: 600;
}

.mc-nav__link.mc-active::after {
    left: 20%;
    right: 20%;
    background: var(--mc-primary);
}

.mc-nav__chevron {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.mc-nav__dropdown-wrap:hover .mc-nav__chevron {
    transform: rotate(180deg);
}

/* ─────────────────────────────────────────────────────────────── */
/*  Mega Dropdown                                                  */
/* ─────────────────────────────────────────────────────────────── */

.mc-nav__dropdown-wrap {
    position: relative;
}

.mc-mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    pointer-events: none;
    z-index: 100;

    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 1.2rem;
    width: 520px;
    padding: 1.4rem;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(14, 165, 233, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mc-nav__dropdown-wrap:hover .mc-mega,
.mc-mega.mc-show {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.mc-mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.mc-mega__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--mc-text);
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.mc-mega__item:hover {
    background: rgba(14, 165, 233, 0.08);
    color: var(--mc-primary);
    transform: translateX(3px);
}

.mc-mega__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(14, 165, 233, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--mc-primary);
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.mc-mega__item:hover .mc-mega__icon {
    background: rgba(14, 165, 233, 0.15);
}

.mc-mega__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-mega__empty {
    grid-column: 1/-1;
    text-align: center;
    color: var(--mc-text-muted);
    font-size: 0.85rem;
    padding: 1rem;
}

/* Aside promo */
/* Aside promo - Premium Card Style */
.mc-mega__aside {
    border-left: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mc-mega__promo {
    text-align: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.mc-mega__promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.3);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(6, 182, 212, 0.12));
}

.mc-mega__promo-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mc-primary);
    background: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.25rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.mc-mega__promo-text {
    font-size: 0.88rem;
    color: var(--mc-text);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.mc-mega__promo-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mc-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
}

.mc-mega__promo-link::after {
    content: '→';
    font-size: 1.1em;
    transition: transform 0.2s ease;
}

.mc-mega__promo-link:hover {
    color: var(--mc-secondary);
    background: #fff;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.mc-mega__promo-link:hover::after {
    transform: translateX(4px);
}

/* ─────────────────────────────────────────────────────────────── */
/*  Search Bar                                                     */
/* ─────────────────────────────────────────────────────────────── */

.mc-nav__search {
    position: relative;
    flex: 1;
    min-width: 180px;
    max-width: 300px;
    margin-left: auto;
}

.mc-nav__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.82rem;
    color: var(--mc-text-muted);
    pointer-events: none;
    transition: color 0.3s ease;
}

.mc-nav__search-input {
    width: 100%;
    border: 1.5px solid rgba(14, 165, 233, 0.18);
    border-radius: 999px;
    padding: 0.55rem 1rem 0.55rem 2.4rem;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--mc-text);
    background: rgba(248, 250, 252, 0.7);
    transition: width 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
}

.mc-nav__search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.mc-nav__search-input:focus {
    border-color: var(--mc-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12), 0 2px 8px rgba(14, 165, 233, 0.08);
}

.mc-nav__search-input:focus~.mc-nav__search-icon,
.mc-nav__search:focus-within .mc-nav__search-icon {
    color: var(--mc-primary);
}

/* ─────────────────────────────────────────────────────────────── */
/*  Right Actions                                                  */
/* ─────────────────────────────────────────────────────────────── */

.mc-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.mc-nav__location {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(14, 165, 233, 0.18);
    background: rgba(255, 255, 255, 0.95);
    color: var(--mc-text);
    border-radius: 999px;
    padding: 0.38rem 0.62rem;
    text-decoration: none;
    max-width: 250px;
}

.mc-nav__location i {
    color: var(--mc-primary);
    font-size: 0.82rem;
}

.mc-nav__location-text {
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-nav__location-status {
    font-size: 0.64rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.15rem 0.4rem;
    white-space: nowrap;
}

.mc-nav__location-status.ok {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.mc-nav__location-status.no {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

/* ── Cart Button ── */
.mc-nav__cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.06);
    color: var(--mc-text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (max-width: 1199px) {
    .mc-nav__location {
        display: none !important;
    }
}

.mc-nav__cart:hover {
    background: rgba(14, 165, 233, 0.12);
    color: var(--mc-primary);
    transform: scale(1.08);
}

.mc-nav__cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--mc-gradient);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
    animation: mc-badge-pulse 2.5s ease-in-out infinite;
}

@keyframes mc-badge-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* ── User Dropdown ── */
.mc-nav__user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.7rem 0.3rem 0.3rem;
    border-radius: 999px;
    border: 1.5px solid rgba(14, 165, 233, 0.15);
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--mc-text);
}

.mc-nav__user-btn::after {
    /* Override Bootstrap caret */
    margin-left: 0.15rem;
    font-size: 0.55rem;
}

.mc-nav__user-btn:hover {
    border-color: var(--mc-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.08);
}

.mc-nav__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--mc-primary);
    object-fit: cover;
}

.mc-nav__user-name {
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-nav__user-menu {
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: mc-slideDown 0.25s ease-out;
    min-width: 200px;
}

@keyframes mc-slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.mc-nav__user-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--mc-text);
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.mc-nav__user-item i {
    width: 18px;
    text-align: center;
    color: var(--mc-text-muted);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.mc-nav__user-item:hover {
    background: rgba(14, 165, 233, 0.07);
    color: var(--mc-primary);
}

.mc-nav__user-item:hover i {
    color: var(--mc-primary);
}

.mc-nav__user-item--admin {
    background: rgba(14, 165, 233, 0.04);
}

.mc-nav__user-item--admin:hover {
    background: rgba(14, 165, 233, 0.1);
}

.mc-nav__user-item--logout {
    color: var(--danger-color);
}

.mc-nav__user-item--logout i {
    color: var(--danger-color);
}

.mc-nav__user-item--logout:hover {
    background: rgba(220, 53, 69, 0.08);
    color: var(--danger-color);
}

.mc-nav__divider {
    height: 1px;
    background: rgba(14, 165, 233, 0.1);
    margin: 0.35rem 0.5rem;
}

/* ─────────────────────────────────────────────────────────────── */
/*  Auth Buttons                                                   */
/* ─────────────────────────────────────────────────────────────── */

.mc-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.15rem;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.mc-nav__btn--outline {
    color: var(--mc-primary);
    border: 1.5px solid rgba(14, 165, 233, 0.35);
    background: transparent;
}

.mc-nav__btn--outline:hover {
    background: var(--mc-primary);
    border-color: var(--mc-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.mc-nav__btn--primary {
    color: #fff;
    border: none;
    background: var(--mc-gradient);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.mc-nav__btn--primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.4);
}

/* ─────────────────────────────────────────────────────────────── */
/*  Animated Hamburger (mobile)                                    */
/* ─────────────────────────────────────────────────────────────── */

.mc-hamburger {
    display: none;
    /* shown in responsive */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 7px;
    border-radius: 8px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.mc-hamburger:hover {
    background: rgba(14, 165, 233, 0.08);
}

.mc-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--mc-text);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mc-hamburger.mc-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mc-hamburger.mc-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mc-hamburger.mc-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────────────────────── */
/*  Mobile Overlay                                                 */
/* ─────────────────────────────────────────────────────────────── */

.mc-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mc-mobile-overlay.mc-show {
    opacity: 1;
    pointer-events: all;
}

/* ─────────────────────────────────────────────────────────────── */
/*  Mobile Slide-in Panel                                          */
/* ─────────────────────────────────────────────────────────────── */

.mc-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    z-index: 1060;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-left: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: -8px 0 32px rgba(14, 165, 233, 0.08);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mc-mobile-panel.mc-show {
    transform: translateX(0);
}

.mc-mobile-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(14, 165, 233, 0.08);
}

.mc-mobile-panel__close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(14, 165, 233, 0.06);
    border-radius: 8px;
    color: var(--mc-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mc-mobile-panel__close:hover {
    background: rgba(220, 53, 69, 0.08);
    color: var(--danger-color);
}

.mc-mobile-panel__search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1rem 1.25rem;
    padding: 0.55rem 0.9rem;
    border: 1.5px solid rgba(14, 165, 233, 0.18);
    border-radius: 12px;
    background: var(--mc-bg-soft);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mc-mobile-panel__search:focus-within {
    border-color: var(--mc-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.mc-mobile-panel__search i {
    color: var(--mc-text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mc-mobile-panel__search input {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--mc-text);
    width: 100%;
    outline: none;
}

.mc-mobile-panel__search input::placeholder {
    color: #94a3b8;
}

.mc-mobile-panel__nav {
    flex: 1;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mc-mobile-panel__link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--mc-text);
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.mc-mobile-panel__link i {
    width: 20px;
    text-align: center;
    color: var(--mc-text-muted);
    font-size: 0.88rem;
}

.mc-mobile-panel__link:hover,
.mc-mobile-panel__link.mc-active {
    background: rgba(14, 165, 233, 0.07);
    color: var(--mc-primary);
}

.mc-mobile-panel__link.mc-active i,
.mc-mobile-panel__link:hover i {
    color: var(--mc-primary);
}

.mc-mobile-panel__link--cat {
    font-size: 0.85rem;
    padding: 0.55rem 0.9rem 0.55rem 1.6rem;
    color: var(--mc-text-muted);
}

.mc-mobile-panel__link--logout {
    color: var(--danger-color);
}

.mc-mobile-panel__link--logout i {
    color: var(--danger-color);
}

.mc-mobile-panel__divider {
    height: 1px;
    background: rgba(14, 165, 233, 0.08);
    margin: 0.5rem 0.9rem;
}

.mc-mobile-panel__heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mc-text-muted);
    padding: 0.3rem 0.9rem;
    margin: 0;
}

.mc-mobile-panel__footer {
    padding: 0.75rem;
    border-top: 1px solid rgba(14, 165, 233, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mc-mobile-panel__auth {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

/* ─────────────────────────────────────────────────────────────── */
/*  Legacy compatibility aliases (keep old selectors working)      */
/* ─────────────────────────────────────────────────────────────── */

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.3;
}



/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0099ff 100%);
    padding: 100px 0;
    margin-bottom: 3rem;
    border-radius: 0 0 3rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.search-box {
    margin: 2rem 0;
}

.search-box .input-group {
    max-width: 500px;
}

.search-box .btn {
    padding: 0.75rem 1.5rem;
}

.btn {
    font-weight: var(--font-weight-semibold);
    border-radius: 6px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #0099ff;
    border-color: #0099ff;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}


footer {
    margin-top: 3rem;
}

/* ════════════════════════════════════════════════════════════════ */
/* PREMIUM FOOTER — Modern, Glass-morphic Design                     */
/* ════════════════════════════════════════════════════════════════ */

.mc-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
.mc-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mc-footer::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ─ Trust Badges Section ─ */
.mc-footer__badges {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
    z-index: 2;
}

.mc-footer__badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.mc-footer__badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    transition: transform 0.3s ease;
}

.mc-footer__badge:hover {
    transform: translateX(5px);
}

.mc-footer__badge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-secondary) 100%);
    border-radius: 12px;
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
}

.mc-footer__badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mc-footer__badge-text strong {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
}

.mc-footer__badge-text span {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ─ Main Footer Content ─ */
.mc-footer__main {
    padding: 3.5rem 0;
    position: relative;
    z-index: 2;
}

.mc-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

/* Brand Column */
.mc-footer__brand {
    grid-column: span 1;
}

.mc-footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.mc-footer__logo:hover {
    opacity: 0.85;
}

.mc-footer__logo-img {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    padding: 4px 8px;
}

.mc-footer__desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.mc-footer__socials {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mc-footer__social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.mc-footer__social:hover {
    background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-secondary) 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* Footer Column */
.mc-footer__column {
    display: flex;
    flex-direction: column;
}

.mc-footer__heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-bottom: 0.75rem;
}

.mc-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-secondary) 100%);
    border-radius: 3px;
}

.mc-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mc-footer__links li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mc-footer__links li a i {
    font-size: 0.7rem;
    color: var(--mc-primary);
    transition: all 0.3s ease;
}

.mc-footer__links li a:hover {
    color: var(--mc-primary);
    padding-left: 0.5rem;
}

.mc-footer__links li a:hover i {
    transform: translateX(3px);
}

/* Contact Section */
.mc-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mc-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.mc-footer__contact-item i {
    color: var(--mc-primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.mc-footer__contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mc-footer__contact-item a:hover {
    color: var(--mc-primary);
}

/* ─ Footer Bottom ─ */
.mc-footer__bottom {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
    z-index: 2;
}

.mc-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.mc-footer__copyright {
    flex: 1;
    min-width: 250px;
}

.mc-footer__copyright p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
}

.mc-footer__copyright strong {
    color: #ffffff;
    font-weight: 700;
}

.mc-footer__payments {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.mc-footer__payments-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-footer__payments-icons {
    display: flex;
    gap: 0.75rem;
    font-size: 1.8rem;
    color: #cbd5e1;
}

.mc-footer__payments-icons i {
    transition: all 0.3s ease;
}

.mc-footer__payments-icons i:hover {
    color: var(--mc-primary);
    transform: scale(1.1);
}

/* ─ Back to Top Button ─ */
.mc-footer__back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-secondary) 100%);
    color: #ffffff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    font-size: 1.1rem;
}

.mc-footer__back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.4);
}

.mc-footer__back-to-top:active {
    transform: translateY(-2px);
}

.mc-footer__back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Container Utility */
.container-lg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.form-control,
.form-select {
    border-color: #e5e5e5;
    border-radius: 6px;
    font-family: inherit;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.badge {
    padding: 1rem 2rem;
    font-size: 0.875rem;
}

.badge.bg-light {
    background: #f8f9fa !important;
    color: var(--dark-color) !important;
    font-weight: 500;
    border: 1px solid #e5e5e5;
}

/* Shared ecommerce building blocks */
.hc-ecom-card {
    background: var(--hc-surface);
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-lg);
    box-shadow: var(--hc-shadow);
}

.hc-ecom-card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hc-ecom-card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--hc-shadow-hover);
    border-color: #bfd7fb;
}

.hc-ecom-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.26rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.hc-ecom-btn-primary {
    border: 0;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--hc-accent), var(--hc-accent-2));
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.22);
}

.hc-ecom-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════════ */
/* NEWSLETTER SECTION — Premium Medical Ecommerce                   */
/* ════════════════════════════════════════════════════════════════ */

.mc-newsletter {
    position: relative;
    overflow: hidden;
    padding: 70px 0 60px;
    background: linear-gradient(180deg, #eaf4ff 0%, #f0f7ff 40%, #ffffff 100%);
    border-top: 1px solid #dbe8fb;
}

.mc-newsletter-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Floating decorative medical icons */
.mc-nl-float {
    position: absolute;
    color: rgba(13, 110, 253, 0.08);
    font-size: 2.2rem;
    pointer-events: none;
    z-index: 1;
    animation: mc-float 6s ease-in-out infinite;
}

.mc-nl-float--1 {
    top: 18%;
    left: 6%;
    animation-delay: 0s;
    font-size: 2.8rem;
}

.mc-nl-float--2 {
    top: 25%;
    right: 8%;
    animation-delay: 1.5s;
    font-size: 2rem;
}

.mc-nl-float--3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
    font-size: 1.8rem;
}

.mc-nl-float--4 {
    bottom: 15%;
    right: 6%;
    animation-delay: 4.5s;
    font-size: 2.4rem;
}

@keyframes mc-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-14px) rotate(8deg);
        opacity: 1;
    }
}

/* Icon badge */
.mc-nl-icon-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0d6efd, #1a9ad7);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 10px 28px rgba(13, 110, 253, 0.3);
}

.mc-nl-title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.6rem;
    letter-spacing: -0.02em;
}

.mc-nl-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 1.8rem;
    line-height: 1.7;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
}

/* Input group */
.mc-nl-form {
    max-width: 520px;
    margin: 0 auto 1rem;
}

.mc-nl-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #dbe8fb;
    border-radius: 12px;
    padding: 5px 5px 5px 16px;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.mc-nl-input-group:focus-within {
    border-color: #6ea8fe;
    box-shadow: 0 8px 30px rgba(13, 110, 253, 0.14), 0 0 0 4px rgba(13, 110, 253, 0.08);
    transform: translateY(-1px);
}

.mc-nl-input-icon {
    color: #94a3b8;
    font-size: 1rem;
    flex-shrink: 0;
}

.mc-nl-input {
    border: 0;
    background: transparent;
    font-size: 0.95rem;
    color: #0f172a;
    width: 100%;
    padding: 0.7rem 0.3rem;
    font-family: inherit;
}

.mc-nl-input:focus {
    outline: none;
}

.mc-nl-input::placeholder {
    color: #94a3b8;
}

.mc-nl-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 10px;
    padding: 0.75rem 1.4rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd 0%, #1a9ad7 100%);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.mc-nl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(13, 110, 253, 0.38);
}

.mc-nl-btn:active {
    transform: translateY(0);
}

/* Privacy note */
.mc-nl-privacy {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0.8rem 0 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.mc-nl-privacy i {
    color: #0d6efd;
    font-size: 0.8rem;
}

/* Trust badges */
.mc-nl-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.mc-nl-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #ffffff;
    border: 1px solid #e2ecfb;
    border-radius: 12px;
    padding: 0.65rem 1rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mc-nl-trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.09);
}

.mc-nl-trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, #eaf3ff, #d8e9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Section divider */
.mc-section-divider {
    padding: 0;
}

.mc-divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8defc, transparent);
}

/* ════════════════════════════════════════════════════════════════ */
/* CART SIDEBAR — Modern Ecommerce Drawer                           */
/* ════════════════════════════════════════════════════════════════ */

.mc-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mc-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mc-cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -12px 0 44px rgba(15, 23, 42, 0.14);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc-cart-sidebar.active {
    transform: translateX(0);
}

/* Header */
.mc-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid #eef2f9;
    flex-shrink: 0;
}

.mc-cart-header-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.mc-cart-header-title h5 {
    margin: 0;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
}

.mc-cart-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #eaf3ff, #d8e9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-size: 1rem;
}

.mc-cart-count-badge {
    background: linear-gradient(135deg, #0d6efd, #1a9ad7);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}

.mc-cart-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mc-cart-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

/* Cart items area */
.mc-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.4rem;
}

/* Empty state */
.mc-cart-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.mc-cart-empty-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f0f7ff, #e4efff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: #93c5fd;
    font-size: 2rem;
}

.mc-cart-empty h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    margin: 0 0 0.4rem;
}

.mc-cart-empty p {
    color: #94a3b8;
    font-size: 0.88rem;
    margin: 0 0 1.3rem;
    line-height: 1.6;
}

.mc-btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.3rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.2);
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.mc-btn-continue:hover {
    background: rgba(13, 110, 253, 0.14);
    color: #0d6efd;
    transform: translateY(-1px);
}

/* Cart item row */
.mc-cart-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.mc-cart-item:hover {
    background: #fafcff;
    border-radius: 10px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.mc-cart-item:last-child {
    border-bottom: 0;
}

.mc-cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #f5f8ff;
    border: 1px solid #e8eff9;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mc-cart-item-details {
    flex: 1;
    min-width: 0;
}

.mc-cart-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-cart-item-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
}

.mc-cart-item-qty {
    color: #64748b;
    font-weight: 500;
}

.mc-cart-item-price {
    color: #0f172a;
    font-weight: 700;
}

.mc-cart-item-remove {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #cbd5e1;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.mc-cart-item-remove:hover {
    background: #fef2f2;
    color: #ef4444;
}

/* Footer */
.mc-cart-footer {
    padding: 0 1.4rem 1.4rem;
    flex-shrink: 0;
}

.mc-cart-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #dbe8fb, transparent);
    margin-bottom: 1rem;
}

.mc-cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.mc-cart-subtotal-label {
    font-size: 0.92rem;
    color: #64748b;
    font-weight: 500;
}

.mc-cart-subtotal-value {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}

/* View Cart button — outline */
.mc-btn-view-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.78rem 1rem;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0d6efd;
    background: transparent;
    border: 2px solid #0d6efd;
    text-decoration: none;
    margin-bottom: 0.65rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mc-btn-view-cart:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.25);
}

/* Checkout button — gradient CTA */
.mc-btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.88rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd 0%, #1a9ad7 100%);
    border: 0;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(13, 110, 253, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mc-btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.4);
    color: #fff;
}

.mc-btn-checkout:active {
    transform: translateY(0);
}

.mc-cart-secure-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #22c55e;
    font-weight: 600;
    margin: 0.75rem 0 0;
}

.mc-cart-secure-text i {
    font-size: 0.76rem;
}

/* ════════════════════════════════════════════════════════════════ */
/* FLASH MESSAGES — Floating Notification                           */
/* ════════════════════════════════════════════════════════════════ */
.mc-flash-wrapper {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
    pointer-events: none;
    width: 100%;
    max-width: 450px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mc-flash-alert {
    pointer-events: auto;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    margin: 0;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: mc-flash-slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mc-flash-alert .btn-close {
    position: static;
    padding: 0;
    margin-left: 1rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.mc-flash-alert .btn-close:hover {
    opacity: 1;
}

@keyframes mc-flash-slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}